@charset "utf-8";
/*
Theme Name: nikoniko child
Theme URI:https://tcd-theme.com/tcd105/
Description:WordPressテーマ「nikoniko」の子テーマ
Template:nikoniko
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/


/* ============================================================
   ヒーローエリア ボタンスタイル
   ============================================================ */

/* ボタンコンテナ */
#header_slider_content .link_button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* 共通ボタンスタイル */
#header_slider_content .link_button .main_button,
#header_slider_content .link_button .sub_button {
  width: 300px;
  height: 65px;
  border-radius: 65px;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0 1.5em;
  box-sizing: border-box;
}

/* メインボタン（塗りつぶし） */
#header_slider_content .link_button .main_button {
  margin: 0;
  background: var(--main_color);
  color: #fff;
  border: 2px solid var(--main_color);
}

#header_slider_content .link_button .main_button:hover {
  opacity: 0.8;
  color: #fff;
}

/* サブボタン（枠線） */
#header_slider_content .link_button .sub_button {
  margin: 0;
  background: transparent;
  color: #ED7D32;
  /* border: 2px solid #ED7D32; */
  background-color: #fff;
}

#header_slider_content .link_button .sub_button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

#header_slider_content .link_button {
  margin: 82px auto 0;
}

.design_header .catch {
  color: #ED7D32;
}

.container-s {
  max-width: 770px;
  margin: 0 auto;
}

/* top カルーセル */
.cb_image_slider .title strong {
  font-size: 20px;
}

.cb_image_slider .title {
  font-size: 15px;
  max-height: fit-content;
}

.cb_image_slider .title span {
  -webkit-line-clamp: none;
}

.cb_design_carousel {
  padding-bottom: 180px;
}

/* フリースペース */
.cb_free_space {
  padding: 120px 0 180px;
}

/* フッターコンタクトエリア */
.post_content #footer_contact a {
  color: #333;
}

.post_content #footer_contact a:hover {
  color: #ED7D32;
  text-decoration: none;
}

#footer_button_area.position_none {
  margin: 34px auto;
  position: static;
  transform: none;
}

.contact_info {
  margin: 0 auto;
  color: #fff;
  text-align: center;
  max-width: 770px;
}

.contact_info h3 {
  font-size: 20px;
}

.content_s {
  max-width: 800px;
  margin: 0 auto;
}

.post_content .f20 {
  font-size: 20px;
}

.tx-center {
  text-align: center;
}

.f18 {
  font-size: 18px;
}

.mt-64,
.cb_free_space .post_content .mt-64 {
  margin-top: 64px;
}

.mt-70 {
  margin-top: 70px;
}

.q_styled_ol {
  font-size: 18px;
}

.q_styled_ol li {
  margin-bottom: 0.8em;
  padding-left: 3em;
  display: flex;
  align-items: center;
}

.q_styled_ol li::before {
  width: 1.9em;
  height: 1.9em;
  line-height: 1.9em;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* flow */
#\#flow {
  padding-bottom: 120px;
}

.svc-flow {
  margin: 0 auto;
  padding: 0 50px;
  width: 100%;
  max-width: calc(1254px + 50px);
}

.svc-flow h3 {
  margin: 64px 0 24px;
  text-align: center;
  font-size: 19px;
}

.svc-flow__list {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.svc-flow__item {
  padding: 35px 18px;
  border: 4px solid #ED7D32;
  background: #F2E0D4;
  display: flex;
  flex-direction: column;
  line-height: 2;
}

.post_content h4.svc-flow__heading {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 13px;
}

.post_content .svc-flow__icon {
  margin: 0 auto 13px;
  width: 70px;
  height: 70px;
  /* display: grid;
  place-items: center;
  color: #f47b2a; */
}

.post_content .svc-flow p {
  line-height: 2;
}

@media screen and (max-width: 900px) {
  .svc-flow {
    padding: 45px 16px 30px;
  }

  .svc-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 560px) {
  .svc-flow__list {
    grid-template-columns: 1fr;
  }

  .svc-flow__item {
    min-height: 390px;
  }
}

/* end flow */

/* message_area */
.message_area h3 {
  margin-bottom: 15px;
  font-size: 28px;
}

.message_area p {
  font-size: 18px;
}

.message_area .post_row:first-child {
  margin-bottom: 88px;
}

.message_area .inner {
  padding: 0 0 0 57px;
}

/* スマホ対応 */
@media screen and (max-width: 750px) {
  #header_slider_content .link_button {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #header_slider_content .link_button .main_button,
  #header_slider_content .link_button .sub_button {
    width: 240px;
    height: 55px;
    font-size: 14px;
  }
}

/* タブレット対応 */
@media screen and (min-width: 751px) and (max-width: 1024px) {

  #header_slider_content .link_button .main_button,
  #header_slider_content .link_button .sub_button {
    width: 250px;
    height: 60px;
    font-size: 15px;
  }
}

/* FAQショートコード（アーカイブと同じカテゴリタブ表示） */
.show_faq_archive {
  position: relative;
  width: 100%;
  max-width: 1030px;
  margin: 0 auto;
}

.show_faq_archive .faq_sort_button_wrap {
  position: relative;
  width: 100%;
  min-height: 70px;
}

.show_faq_archive .faq_sort_button {
  width: 100%;
  display: flex;
}

.show_faq_archive .faq_sort_button a {
  min-height: 70px;
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 30px 0;
  border: 1px solid #ddd;
  border-right: none;
  background: #f6f6f6;
  color: #000;
  text-align: center;
  line-height: 1.5;
}

.show_faq_archive .faq_sort_button a:last-child {
  border-right: 1px solid #ddd;
}

.show_faq_archive .faq_sort_button a:hover,
.show_faq_archive .faq_sort_button a.active {
  color: var(--main_color);
}

.show_faq_archive .faq_sort_button a.active {
  background: #fff;
  pointer-events: none;
  border-bottom-color: #fff;
}

.show_faq_archive .faq_content_inner {
  border: 1px solid #ddd;
  border-top: none;
  padding: 70px 70px 60px;
}

.show_faq_archive .faq_content {
  display: none;
}

.show_faq_archive .faq_content.active {
  display: block;
}

@media screen and (max-width: 800px) {
  .show_faq_archive .faq_sort_button {
    overflow-x: auto;
  }

  .show_faq_archive .faq_sort_button a {
    min-width: 160px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .show_faq_archive .faq_content_inner {
    padding: 40px 20px;
  }
}

/* company */
#\#company {
  padding-bottom: 0;
}

.office-overview {
  margin: 0 auto;
  padding: 8px 0 54px;
  min-height: 100vh;
  width: 100%;
  max-width: 888px;
}

.office-overview p {
  line-height: 2.2;
}

.office-overview__table {
  margin: 0;
}

.office-overview__row {
  display: grid;
  padding: 0;
  min-height: 133px;
  border-bottom: 2px dotted #ddd;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
}

.office-overview__label {
  margin: 0;
  color: #ED7D32;
  font-weight: 700;
  font-size: 20px;
}

.office-overview__value {
  margin: 0;
  padding: 0 44px;
  line-height: 1.8;
}

.office-overview__row--area {
  padding-top: 34px;
  min-height: 446px;

  align-items: start;
}

.office-overview__map {
  display: grid;
  margin: 12px auto 0;
  width: min(640px, 100%);
  height: 280px;
  background: #ddd;
  color: #888;
  font-weight: 700;
  font-size: 20px;

  place-items: center;
}

.post_content .gmap {
  margin-bottom: 54px;
}

@media (max-width: 600px) {
  .office-overview {
    padding-top: 24px;
  }

  .office-overview__row {
    min-height: 110px;

    grid-template-columns: 110px minmax(0, 1fr);
  }

  .office-overview__value {
    padding: 0 18px;
  }

  .office-overview__row--area {
    min-height: 360px;
  }

  .office-overview__map {
    height: 220px;
  }
}

/* end company */

/* FAQ */
.home .faq_content .question .title {
  font-size: 24px;
  width: calc(100% - 60px);
  margin-top: 0;
  text-align: left;
}

.home .faq_content .question {
  margin-bottom: 32px;
}

/* footer_catchをfooter_contact内に移動した際の表示調整 */
#footer_contact #footer_catch {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  background: var(--main_color);
}

#footer_contact.fixed_image #footer_catch {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 3;
  transform: translateY(-90px);
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 22px;
}

#footer_contact.fixed_image #footer_catch p {
  color: #fff;
}

@media screen and (min-width: 1001px) {
  #container>#footer_contact.fixed_image {
    padding: 0 0 264px;
    height: fit-content;
  }

  #container>#footer_contact #footer_button_area {
    position: relative;
    top: 164px;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 1030px;
    margin: 150px auto 0;
  }

  #container>#footer_contact.fixed_image #footer_catch {
    top: 80px;
    transform: none;
  }
}

/* 結論（最簡易）レスポンシブ安全な流用：cta1と同様にフッターも通常フロー化 */
@media screen and (max-width: 1000px) {

  #footer_contact,
  #footer_contact.fixed_image,
  #footer_contact.no_background {
    height: auto !important;
    padding-top: 0 !important;
    position: relative;
    display: block;
  }

  #footer_contact .bg_image {
    position: relative !important;
    height: 200px !important;
    max-height: 200px !important;
    width: 100%;
  }

  #footer_contact .bg_image img {
    position: relative !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #footer_contact .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 2;
  }

  #footer_contact #footer_button_area,
  #footer_button_area {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: 1030px;
    margin: 34px auto !important;
    min-height: auto;
  }

  #footer_contact.fixed_image #footer_catch {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    background: var(--main_color) !important;
    color: #fff !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    margin: 0 !important;
  }

  #footer_contact.fixed_image #footer_catch p {
    color: #fff !important;
  }
}

@media screen and (max-width: 800px) {
  #footer_contact #footer_button_area {
    display: block !important;
  }

  #footer_contact #footer_button_area .item:last-of-type {
    border-left: none;
    border-top: 1px solid #ddd;
  }
}

.show_faq_archive .faq_content .item {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.show_faq_archive .faq_content .question {
  min-width: 0;
  max-width: 100%;
}

.show_faq_archive .faq_content .question .title {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.show_faq_archive .faq_content .post_content,
.show_faq_archive .faq_content .desc,
.show_faq_archive .faq_content .desc p {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 2.6;
}

.show_faq_archive .faq_content_inner {
  overflow: hidden;
  box-sizing: border-box;
}

.show_faq_archive .faq_list .desc_area {
  width: calc(100% + 140px);
  margin-left: -70px;
  overflow: hidden;
}

.show_faq_archive .faq_list .desc_area>.desc {
  width: calc(100% - 140px);
  margin-left: 70px;
}

@media screen and (max-width: 800px) {
  .show_faq_archive .faq_list .desc_area {
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .show_faq_archive .faq_list .desc_area>.desc {
    width: calc(100% - 40px);
    margin-left: 20px;
  }
}

/* end FAQ */

/* form */
.mw_wp_form h2 {
  font-size: 38px;
}

.contact-form {
  padding: 38px 3.75%;
  border-radius: 0 0 12px 12px;
  background-color: #ddd;
}

.contact-form__title {
  margin: 0 0 30px;
  color: #f47b2a;
  text-align: center;
  font-size: 40px
}

.contact-form__phones {
  display: flex;
  justify-content: center;
  margin-bottom: 24px justify-content: center;
  gap: 12px;
}

.contact-form__phones a {
  padding: 13px 25px;
  min-width: 220px;
  border: 2px solid #1761e8;
  border-radius: 8px;
  background: #fff;
  color: #1761e8;
  text-align: center;
  font-weight: 700
}

.contact-form__box {
  margin: 24px auto 0;
  padding: 34px 40px;
  max-width: 1184px;
  background-color: #fff;
  border-radius: 12px;
}

.contact-form__box h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 18px
}

.contact-form__lead,
.contact-form__note {
  color: #999;
  text-align: center;
  font-size: 13px
}

.contact-form__field {
  margin-bottom: 32px
}

.contact-form__field label {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 14px;
}

.contact-form__field input,
.contact-form__field textarea {
  padding: 11px;
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  font: inherit
}

.contact-form__field textarea {
  min-height: 100px;
  resize: vertical
}

.is-required,
.is-optional {
  display: inline-block;
  margin-left: 5px;
  padding: 4px 6px;
  border-radius: 3px;
  background: #ed4b4b;
  color: #fff;
  font-size: 11px
}

.is-optional {
  background: #ddd;
  color: #777
}

.contact-form__subheading {
  margin-top: 25px !important;
  margin-bottom: 4px !important
}

.contact-form__columns {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 0 24px
}

.contact-form__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  text-align: center;
}

.contact-form__submit .p-button {
  min-width: 200px;
  padding: 14px 28px;
  border: 0;
  border-radius: 8px;
  background: #f47b2a;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-form__submit .p-button:hover {
  opacity: 0.8;
}

.contact-form__submit .p-button[value="back"] {
  background: #999;
}

@media screen and (max-width: 560px) {
  .contact-form__submit {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form__submit .p-button {
    width: 100%;
    max-width: 260px;
  }
}

/* .contact-form__submit {
  margin-top: 28px text-align: center;
}

.contact-form__submit input {
  padding: 14px;
  width: 200px;
  border: 0;
  border-radius: 8px;
  background: #f47b2a;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer
} */

@media(max-width:700px) {
  .contact-form {
    padding: 30px 15px
  }

  .contact-form__title {
    font-size: 32px
  }

  .contact-form__phones {
    flex-direction: column;

    align-items: center
  }

  .contact-form__phones a {
    max-width: 280px width: 100%;
  }

  .contact-form__box {
    padding: 25px 18px
  }

  .contact-form__columns {
    grid-template-columns: 1fr
  }
}

/* end form */