@charset "UTF-8";
/*
Theme Name: IBK Theme (FREY-A)
Author: 
Author URI: 
Version: 1.0
*/

/*グローバルナビ*/
.gnav ul .current-cat a {
  color:var(--blue-deep);
}
.news-layout .cat {background:#f7e4ec;border-color:#f0d3de;color:#b15670}
.news-layout .cat.cat--1{background:#dce9f9;border-color:#c9dcf3;color:#3f6bab}
.news-layout .cat.cat--2{background:#e2f0e8;border-color:#cfe6d8;color:#2f8a68}
.news-layout .cat.cat--3{background:#e9e2f3;border-color:#dcd0ec;color:#6a5a98}
.news-layout .cat.cat--4{background:#fdf3d8;border-color:#f2e2b4;color:#a3822e}

/*トップページ*/
#top .column .thumb img {
  border-radius: 0.75rem;
}
.movie .splide__list {
  gap: 1.5rem;
  flex-wrap: wrap;
}
  @media screen and (max-width: 768px) {
    .movie .splide__list {
      gap: 0;
      flex-wrap: nowrap;
    }
  }

.movie .splide__list li {
  margin: 0!important;
}
  @media screen and (max-width: 768px) {
    .movie .splide__list li {
      margin-right: 1rem!important;
    }
  }

/*症例スライダー*/
.case-list .photo img,
.splide .photo img {
  border-radius: 0.875rem;
}

/*クリニック*/
.clinic .area dt {
  flex-shrink: 0;
  width: 9.25rem;
}
  @media screen and (max-width: 768px) {
    .clinic .area dt {
      width: 7.25rem;
    }
  }

#clinic-detail .info .step:last-child::after {
  display: none!important;
}
#clinic-detail .info .step .caption {
  align-items: flex-start!important;
}
#clinic-detail .info .route {
  margin-top: 2rem;
}
  @media screen and (max-width: 768px) {
    #clinic-detail .info .route {
      margin-top: 1.5rem;
    }
  }

/*フォーム調整*/
.p-contact__submit {
  width: 100%;
  position: relative;
}
.wpcf7-submit.wpcf7-submit {
  width: 20rem;
  max-width: 100%;
  height: 4rem;
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  cursor: pointer;
  background: var(--cta-gradient);
  border: none;
  border-radius: 9999px;
  box-shadow: 0 0.25rem 0.875rem rgba(243, 114, 122, 0.22);
  transition: filter var(--duration);
}
.wpcf7-submit.wpcf7-submit:hover {
  filter: brightness(1.04);
}
.wpcf7-submit.wpcf7-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wpcf7-spinner {
  position: absolute;
  left: 50%;
  bottom: -28px;
  margin: 0;
  transform: translateX(-50%);
}
  @media screen and (max-width: 767px) {

  }

.confirm_area,
.thanks_area {
  display: none;
}
.wpcf7-response-output {
  text-align: center;
}
.wpcf7-response-output:empty {
  display: none;
}
.confirm_lead {
  text-align: center;
}
.Form-Item--branch.is-empty {
  display: none;
}
  @media screen and (max-width: 767px) {

  }

.confirm_submit {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.confirm_submit > div {
  display: inline-flex!important;
  justify-content: center;
  width: auto;
  margin: 0.625rem 1rem;
}
  @media screen and (max-width: 767px) {

  }

.form_area {
  margin-top: 1.875rem;
}
.form_area table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.875rem;
}
.Form-Item th {
  width: 20rem;
  background: #eee;
  font-weight: 500;
  text-align: left;
  padding: 1.5625rem 1rem;
  border-top: solid 1px #fff;
  border-bottom: solid 1px #fff;
}
.Form-Item th span {
  position: relative;
  display: block;
  padding-right: 3.2rem;
}
.Form-Item th .require {
  right: 0;
  top: 0.1rem;
  font-style: normal;
  position: absolute;
  background-color: #F3727A;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.1875rem;
}
.Form-Item td {
  padding: 1.5625rem 1rem;
  border-top: solid 1px #eee;
  border-bottom: solid 1px #eee;
}
  @media screen and (max-width: 767px) {
    .form_area {
      margin-top: 1.5625rem;
    }
    .confirm_lead {
      font-size: 0.875rem;
    }
    .form_area table,
    .form_area tbody,
    .form_area tr,
    .form_area th,
    .form_area td {
      display: block;
      width: 100%!important;
    }
    .form_area table {
      margin-bottom: 1.5625rem;
    }
    .Form-Item th {
      padding: 1.25rem 1rem;
      border-top: none;
    }
    .Form-Item td {
      padding: 1.25rem 0;
      border-top: none;
    }
  }

.wpcf7-radio .wpcf7-list-item {
  margin: 0 1em 0 0;
}
.wpcf7-radio .wpcf7-list-item:last-child {
  margin-right: 0;
}
.js-not-valid-tip {
  color: #dc3232;
}
.is-invalid {
  border-color: #dc3232;
}
.return-btn {
  position: relative;
}
.return-btn input {
  width: 19rem;
  max-width: 100%;
  height: 4rem;
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  cursor: pointer;
  background: #999;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out 0s;
}
.return-btn input:hover {
  opacity: 0.9;
}
  @media screen and (max-width: 767px) {

  }

/*いびき相談室*/
.hcard-media img {
  aspect-ratio: 16/9;
}
.filter-pills .is-active a {
  color: var(--blue-deep);
}
.article-eyecatch img {
  border-radius: 0.875rem;
  aspect-ratio:16/9;
}
.supervisor-photo {
  overflow: hidden;
}
.supervisor-photo img {
  border-radius: 50%;
}
.supervisor-photo .figure-placeholder-tag {
  border: 2px dashed #aecbe8;
}
.article-card h3 {
  min-height: auto!important;
}
  @media screen and (max-width: 767px) {

  }

.article-body h1 {
  font-size: 1.9em;
  font-weight: bold;
  color: #1F4E79;
  border-bottom: 3px solid #1F4E79;
  padding-bottom: 10px;
  margin: 32px 0 20px;
}
.article-body h2 {
  font-size: 1.45em;
  font-weight: bold;
  color: #2E75B6;
  border-left: 6px solid #2E75B6;
  padding: 6px 0 6px 14px;
  margin: 40px 0 16px;
  background: #f5f9ff;
}
.article-body h3 {
  font-size: 1.15em;
  font-weight: bold;
  color: #2F5597;
  margin: 28px 0 10px;
  padding-left: 10px;
  border-left: 3px solid #7AABDB;
}
.article-body p:not(.ez-toc-title) {
  margin: 12px 0;
}
.article-body ul:not([class*="ez-toc"]) {
  margin: 0 0 1.6em;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.article-body ul:not([class*="ez-toc"]) > li {
  position: relative;
  padding-left: 24px;
  font-size: .98rem;
  line-height: 1.9;
  color: #3f4757;
}

.article-body ul:not([class*="ez-toc"]) > li:not(:last-child) {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.article-body ul:not([class*="ez-toc"]) > li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-mid);
}
.article-body ol {
  margin: 10px 0 10px 20px;
}
.article-body ol li {
  margin: 6px 0;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .95em;
}
.article-body table th {
  background: #2E75B6;
  color: #fff;
  font-weight: bold;
  padding: 10px 12px;
  border: 1px solid #AAA;
  text-align: left;
}
.article-body table td {
  padding: 8px 12px;
  border: 1px solid #CCC;
  vertical-align: top;
}
.article-body table tr:nth-child(even) td {
  background: #F5F8FF;
}
.article-body table tr:nth-child(odd) td {
  background: #FFF;
}
  @media (max-width: 767px) {
    .article-body table {
      display: block;
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
    }
  }

.article-body blockquote {
  background: #FFFDE7;
  border-left: 4px solid #F9A825;
  padding: 10px 16px;
  margin: 16px 0;
  font-size: .95em;
}
.article-body blockquote p {
  margin: 0;
}
.rc-cta{background:#FFF2CC;border:1px solid #F0C040;border-radius:6px;padding:16px 20px;margin:28px 0;text-align:center;font-weight:bold;color:#7B3F00;font-size:1.05em}
.rc-cta a{color:#C05000;font-weight:bold}
.rc-lead{background:#EBF4FB;border-left:4px solid #2E75B6;border-radius:4px;padding:16px 20px;margin:20px 0}
.rc-faq-q{font-weight:bold;color:#1F4E79;margin:20px 0 4px;font-size:1.05em}
.rc-faq-q::before{content:"Q："}
.rc-faq-a{color:#333;margin:0 0 16px;padding-left:20px;border-left:3px solid #DDD}
.rc-faq-a::before{content:"A：";font-weight:bold;color:#2E75B6}

/* 目次プラグイン */
#ez-toc-container {
  display: block;
  width: auto;
  margin: 28px 0;
  padding: 22px 24px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}
@media (max-width: 767px) {
  #ez-toc-container {
    padding: 18px;
  }
}

#ez-toc-container .ez-toc-title-container {
  display: block;
}
#ez-toc-container p.ez-toc-title {
  display: block;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-round);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}
#ez-toc-container .ez-toc-title-toggle {
  display: none;
}
#ez-toc-container ul {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  list-style: none;
}
#ez-toc-container li {
  position: static;
  margin: 0 !important;
  padding: 0;
  border: 0 !important;
  color: inherit;
}
#ez-toc-container > nav > ul.ez-toc-list {
  counter-reset: toc;
}
#ez-toc-container > nav > ul.ez-toc-list > li {
  display: block;
  counter-increment: toc;
  padding: 5px 0 !important;
  font-family: var(--f-round);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.6;
}
#ez-toc-container > nav > ul.ez-toc-list > li::before {
  content: counter(toc, decimal-leading-zero) !important;
  position: static;
  display: inline;
  width: auto;
  height: auto;
  margin-right: 10px;
  border-radius: 0;
  background: transparent;
  font-family: var(--f-en);
  font-weight: 700;
  color: var(--blue-mid);
}
#ez-toc-container a.ez-toc-link {
  color: inherit;
  text-decoration: none;
}
#ez-toc-container a.ez-toc-link:hover {
  color: var(--blue-deep);
}
#ez-toc-container ul.ez-toc-list ul {
  margin: 6px 0 2px !important;
  padding-left: 26px !important;
}
#ez-toc-container ul.ez-toc-list ul > li {
  display: block;
  padding: 5px 0 !important;
  font-family: var(--f-round);
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-soft);
}
#ez-toc-container ul.ez-toc-list ul > li::before {
  content: "└" !important;
  position: static;
  display: inline;
  width: auto;
  height: auto;
  margin-right: 7px;
  border-radius: 0;
  background: transparent;
  color: var(--blue-mid);
}


.case-modal .col .photo {
  aspect-ratio: 4/4.25!important;
}

/*クリニック一覧リンク調整*/
.clinic .area dd a {
  position: relative;
  display: inline-block;
  margin-right: 8px;
  padding-left: 12px;
}
.clinic .area dd a:hover {
  color: #051B90;
}
.clinic .area dd a:after { 
  position: absolute; 
  top: 50%; 
  left: 0; 
  width: 0.375rem;
  height: 0.6875rem;
  content: ""; 
  background-color: currentcolor; 
  mask-image: url("assets/images/arrow_chevron-BWv87600.svg"); 
  mask-repeat: no-repeat; 
  mask-size: contain; 
  translate: 0 -50%; 
}

/*症例写真調整*/
.case-modal .col .photo {
  width: 72%!important;
}
.case-modal .photos {
  background: url("assets/images/arrow_chevron-BWv87600.svg") center 60% no-repeat;
  background-size: 5% auto;
}
  @media (max-width: 767px) {
    .case-modal .photos {
      flex-direction: row!important;
    }
    .case-modal .col {
      width: 50%!important;
    }
    .case-modal .tab {
      width: 80%!important;
      min-width: 11rem!important;
    }
    .case-modal .tab .ja {
      font-feature-settings: "palt";
      
    }
    .case-modal .modal-head {
      flex-direction: column!important;
    }
    .case-modal .col .photo {
      width: 78%!important;
    }
    .case-modal .photos {
      background: url("assets/images/arrow_chevron-BWv87600.svg") center bottom 13.66vw no-repeat;
      background-size: 3.33vw auto;
    }
  }
  @media screen and (max-width: 499px) {
    .case-modal .tab {
      width: 100%!important;
      min-width: 100%!important;
    }
    .case-modal .tab .ja {
      font-size: 3.73vw;
    }
    .case-modal .tab .en {
      font-size: 3.46vw;
    }
    .case-modal .col .photo {
      width: 85%!important;
    }
  }

  @media screen and (max-width: 768px) {
    #contact .tel-block .guide {
      text-align: center!important;
    }
  }

  @media (max-width: 767px) {
    #line .pill {
	  text-align: center;
	  display: flex;
	  justify-content: center;
	  margin: 0 auto;
	  max-width: 300px;
	  width: 100%;
	  white-space: nowrap;
	  }
  }

/*コラム調整*/
.is-nav-open .nav-toggle {
  position: fixed;
  right: 24px;
}
  @media (max-width: 1180px) {
    .head-cta {
      position: absolute;
      right: 90px;
      top: 20px;
    }
    .head-cta .pill.pill--green {
      display: flex;
    }
  }
  @media (max-width: 768px) {
    .is-nav-open .nav-toggle {
      right: 18px;
    }
    .head-cta {
      right: 70px;
      top: 13px;
    }
    .head-cta .pill {
      padding: 10px 12px!important;
    }
    .pill {
      gap: 5px!important;
    }
  }

.gnav-line {
  display: none;
}
  @media (max-width: 1180px) {
    .gnav-line {
      width: 100%;
      max-width: 300px;
      display: block;
      margin: 25px auto 0 auto;
    }
    .gnav-line a {
      display: flex!important;
    }
    .gnav-line a:hover {
      color: #fff!important;
    }
  }

@media screen and (max-width: 768px) {
  #top .message .text {
    margin-left: 0!important;
    width: 100%!important;
  }
}
@media screen and (max-width: 768px) {
  #top .about .section-title .en {
    font-size: 2.375rem!important;
  }
}
@media screen and (max-width: 768px) {
  #top .about .section-title .ja {
    font-size: 1.25rem!important;
  }
}

  .case .splide__list {
    align-items: stretch;
  }
  .case .card {
    align-items: stretch;
  }
  .case .card .detail {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .case .card .modal-trigger.btn.btn-arrow.js-case-modal-open {
    margin-top: auto;
  }
  .case .card .note {
    margin-bottom: 0.875rem;
  }
