/* 受け口CSS */
/* common.cssで共通指定 */


/*受け口は治ります
=======================================================*/
.underbite-ttl{
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fd578e;
  color: #fff;
  padding: 15px 40px;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
  position: relative;
  font-size: 20px;
}
/* 吹き出しの三角形 */
.underbite-ttl::after{
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 18px 18px 0 18px;
  border-style: solid;
  border-color: #fd578e transparent transparent transparent;
}
.underbite-main{
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  padding: 6px 12px;
  border: 3px solid #fff;
  margin-right: 8px;
}
.underbite-text{
  display: inline-block;
}
.underbite-ttl span:last-child{
  display: block;
  font-size: 18px;
  margin-top: 8px;
}

/* 大人の受け口症例
=======================================================*/
#adult-case{
  padding-top: 40px;
}
.adult-case{
  background-color: #fff5fc;
}
.adult-case__title{
  position: relative;
  width: 90%;
  margin: 0 auto 30px;
  padding: 1.5rem 2.5rem;
  box-sizing: border-box;
  border: 4px solid #f48fb1;
  background: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.adult-case__title::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 4px dotted #f48fb1;
  box-sizing: border-box;
}
.adult-case__number{
  width: fit-content;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 2px 20px;
  background: #f48fb1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
}
.adult-case__images{
  width: 90%;
  margin: 0 auto;
}
.adult-case__image{
  display: block;
  width: 100%;
  margin: 0 auto 15px;
}
/* アコーディオン */
.adult-case__accordion{
  width: 90%;
  margin: 0 auto;
  word-break: break-all;
  position: relative;
  z-index: 1;
}
.adult-case__accordion-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eaf9ff;
  padding: 10px;
  cursor: pointer;
}
.adult-case__accordion-text{
  width: 90%;
  font-family: "NotoSansJP Medium";
  font-size: 14px;
  line-height: 1.5;
}
.adult-case__accordion-arrow{
  width: 15px;
  object-fit: contain;
  object-position: center;
  transition: transform .3s ease-in-out;
}
.adult-case__accordion-title.open .adult-case__accordion-arrow{
  transform: rotate(-180deg);
}
.adult-case__accordion-content{
  display: none;
}
.adult-case__accordion-body{
  background: #fff;
  padding: 10px;
  color: #616161;
  font-family: "NotoSansJP Medium";
}
.adult-case__detail{
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom:10px;
}

.overbite_surgery{
  width: fit-content;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 2px 20px;
  background: #f48fb1;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
}
.overbite_surgery__images{
  width: 90%;
  margin: 0 auto;
}
.overbite_surgery__image{
  display: block;
  width: 100%;
  margin: 0 auto 15px;
}


/* 手術が必要と言われた方へ
=======================================================*/
.nonsurgical-option {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 219, 231, 0.8) 0, rgba(249, 219, 231, 0) 28%),
    var(--surface-blue, #f4f8fb);
}

.nonsurgical-option::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -48px;
  width: 120px;
  height: 120px;
  border: 24px solid rgba(187, 219, 251, 0.32);
  border-radius: 50%;
  pointer-events: none;
}

.nonsurgical-option__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  margin: 0 auto;
  padding: 64px 0;
}

.nonsurgical-option__eyebrow {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: #49a2e8;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nonsurgical-option__title {
  margin: 0 0 32px;
  color: #1f4f70;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

/* 比較表
-------------------------------------------------------*/
.treatment-compare-table {
  margin-top: 24px;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  background: var(--surface, #ffffff);
}

.treatment-compare-table__header,
.treatment-compare-table__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.treatment-compare-table__col {
  padding: 16px 12px;
}

.treatment-compare-table__col + .treatment-compare-table__col {
  border-left: 1px solid var(--line, #e2e8f0);
}

.treatment-compare-table__header .treatment-compare-table__col {
  padding: 20px 12px 16px;
  text-align: center;
}

.treatment-compare-table__col--surgery {
  background: #fdf2f6;
}

.treatment-compare-table__col--aligner {
  background: #e0f5ff;
}

.treatment-compare-table__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.treatment-compare-table__col--surgery .treatment-compare-table__badge {
  background: var(--pink-500, #e95b8d);
}

.treatment-compare-table__col--aligner .treatment-compare-table__badge {
  background: var(--teal-600, #1299ce);
}

.treatment-compare-table__header h3 {
  margin: 0;
  color: var(--ink, #333333);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
}

/* 画像のレスポンシブ対応 */
.adult_case__image {
  display: block;
  max-width: 100%;
  height: auto;
}

.treatment-compare-table__body {
  border-top: 1px solid var(--line, #e2e8f0);
  background: #fff;
}

.treatment-compare-table__body .treatment-compare-table__col {
  padding: 20px 14px;
}

.treatment-compare-table__body ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.treatment-compare-table__body li {
  position: relative;
  padding-left: 16px;
  color: var(--ink, #333333);
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: left;
}

.treatment-compare-table__body li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.treatment-compare-table__col--surgery li::before {
  background: var(--pink-500, #e95b8d);
}

.treatment-compare-table__col--aligner li::before {
  background: var(--teal-600, #1299ce);
}

.treatment-compare-table__note {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #666666;
}

/* 手術を選ぶのが難しい理由
-------------------------------------------------------*/
.burden-panel {
  margin-top: 40px;
  padding: 24px 16px;
  border-radius: var(--radius-lg, 12px);
  background: var(--blue-700, #1f4f70);
  color: #fff;
}

.burden-panel__title {
  margin: 0 0 16px;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.burden-panel__tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.burden-panel__tags li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md, 8px);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.burden-panel__tags li::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.burden-panel__tags li.icon-anesthesia::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 12.572l-7.5 7.428m-2-2l7.5 -7.428m-2 -2l2 2m-5 -5l2 2m-7 1l1 1m-5 5l2 2m-2 -2l-3 3m11 -11l2.5 -2.5m-1 -1l3 3' /%3E%3C/svg%3E");
}

.burden-panel__tags li.icon-hospital::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 21h18M5 21V5a2 2 0 012-2h10a2 2 0 012 2v16M9 21v-4a2 2 0 012-2h2a2 2 0 012 2v4M10 9h4M12 7v4' /%3E%3C/svg%3E");
}

.burden-panel__tags li.icon-schedule::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z' /%3E%3C/svg%3E");
}

.burden-panel__tags li.icon-cost::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z' /%3E%3C/svg%3E");
}

/* 相談用ボックス
-------------------------------------------------------*/
.consultation-box {
  margin-top: 32px;
  padding: 24px 20px;
  border: 2px solid var(--pink-100, #f9dbe7);
  border-radius: var(--radius-lg, 12px);
  background: var(--surface-pink, #fff5fa);
}

.consultation-box__label {
  margin: 0 0 16px;
  color: #e95b8d;
  font-size: 1.7rem;
  font-weight: 600;
}

.consultation-box__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultation-box__list li {
  position: relative;
  padding-left: 30px;
  color: #425466;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: left;
}

.consultation-box__list li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--pink-500, #e95b8d);
  font-family: sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

/* CTAエリア・ボタン
-------------------------------------------------------*/
.nonsurgical-option__cta {
  margin-top: 40px;
  text-align: center;
}

.nonsurgical-option__button {
  position: relative;
  display: block;
  padding: 16px 42px 16px 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500, #e95b8d), var(--pink-600, #d9467b));
  box-shadow: 0 4px 0 #b83265;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nonsurgical-option__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #b83265;
}

.nonsurgical-option__button > span:first-child {
  display: block;
  margin-bottom: 2px;
  font-size: 1.1rem;
  font-weight: 500;
}

.nonsurgical-option__button-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 2.4rem;
  transform: translateY(-50%);
}

/* 注記
-------------------------------------------------------*/
.nonsurgical-option__disclaimer {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #d3dfe8;
  color: #657585;
  font-size: 1.2rem;
  line-height: 1.75;
}

/* レスポンシブ（メディアクエリ）
-------------------------------------------------------*/
@media (min-width: 440px) {
  .nonsurgical-option__inner {
    width: calc(100% - 48px);
  }

  .nonsurgical-option__title {
    font-size: 3.6rem;
  }
}

@media (max-width: 359px) {
  .nonsurgical-option__inner {
    width: calc(100% - 32px);
    padding: 48px 0;
  }

  .nonsurgical-option__title {
    font-size: 2.4rem;
  }

  .treatment-compare-table__header h3 {
    font-size: 1.2rem;
  }

  .treatment-compare-table__body li {
    padding-left: 14px;
    font-size: 1.2rem;
  }

  .burden-panel__tags {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}



/* 子どもの受け口症例
=======================================================*/
#child-case{
  padding-top: 20px;
  padding-bottom: 30px;
}
.child-case{
  background-color: #fff5fc;
}
.child-case__title{
  position: relative;
  width: 90%;
  margin: 0 auto 30px;
  padding: 1.5rem 2.5rem;
  box-sizing: border-box;
  border: 4px solid #f48fb1;
  background: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.child-case__title::before{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 4px dotted #f48fb1;
  box-sizing: border-box;
}
.child-case__text{
  width: 90%;
  margin: 30px auto 30px;
  line-height: 1.9;
  color: #616161;
}
.child-case__lead{
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}
.child-case__text p{
  margin-bottom: 15px;
  line-height: 1.3;
}
.child-case__images{
  width: 90%;
  margin: 0 auto;
}
.child-case__image{
  display: block;
  width: 100%;
  margin: 0 auto 15px;
}
/* アコーディオン */
.child-case__accordion{
  width: 90%;
  margin: 0 auto;
  word-break: break-all;
}
.child-case__accordion-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eaf9ff;
  padding: 10px;
  cursor: pointer;
}
.child-case__accordion-text{
  width: 90%;
  font-family: "NotoSansJP Medium";
  font-size: 14px;
  line-height: 1.5;
}
.child-case__accordion-arrow{
  width: 15px;
  transition: transform .3s ease-in-out;
}
.child-case__accordion-title.open .child-case__accordion-arrow{
  transform: rotate(-180deg);
}
.child-case__accordion-content{
  display: none;
}
.child-case__accordion-body{
  background: #fff;
  padding: 10px;
  color: #616161;
  font-family: "NotoSansJP Medium";
}
.child-case__detail{
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: #616161;
}
.child-case__point-box{
    width: 90%;
    margin: 30px auto;
    padding: 10px;
    background: #fff9fb;
    border: 1px solid #f6dce7;
    border-radius: 20px;
    box-sizing: border-box;
}
.child-case__point{
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 18px 0;
}
.child-case__point:not(:last-child){
    border-bottom: 1px solid #f6dce7;
}
.child-case__point--lead{
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.child-case__point.child-case__point--lead{
    gap: 0;
}
.child-case__point--lead .child-case__content{
    flex: initial;
}
.child-case__icon{
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.child-case__point--lead .child-case__icon{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 4px;
}
.child-case__icon img{
    display: block;
    width: 70%;
    height: 70%;
    object-fit: contain;
    gap: 0px;
}
.child-case__point--lead .child-case__icon img{
    width: 100%;
    height: auto;
}
.child-case__content{
    flex: 1;
}
.child-case__content h3{
    margin: 0;
    color: #f48fb1;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.child-case__content p{
    margin: 0;
    color: #616161;
    font-size: 12px;
    line-height: 1.3;
}

/* 子どもの受け口 補足説明
=======================================================*/
.child-note{
    width: 90%;
    margin: 40px auto 0;
    padding: 25px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.child-note__head{
    display: table;
    margin: 0 auto 25px;
    padding: 8px 20px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #08BE91;
    border-top: 2px solid #08BE91;
    border-bottom: 2px solid #08BE91;
    text-align: center;
}
.child-note__body{
    color: #616161;
    line-height: 1.8;
}
.child-note__item{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}
.child-note__item:first-of-type{
    margin-top: 10;
    padding-top: 0;
    border-top: none;
}
.child-note__item h3{
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #08BE91;
}
.child-note__item p{
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.child-note__title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #08BE91;
    text-align: center;
}
.child-note__thumb{
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* 受け口の主な原因
=======================================================*/
#cause{
    padding: 30px 0;
}
.cause{
    text-align:center;
    background-color: #feffe7;
}
.cause__title{
    display:block;
    width:80%;
    margin:0 auto 40px;
    padding:20px;
    background:#fff59d;
    box-shadow:
        5px 5px 0 rgba(0,0,0,.12);
    transform:rotate(-1deg);
}
.cause__title::before{
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border: 4px dotted #f48fb1;
    box-sizing: border-box;
}
.cause__lead{
    width: 90%;
    margin: 0 auto 30px;
    text-align: center;
    line-height: 1.8;
    color: #616161;
}
.cause__lead p{
    text-align: left;
}
.cause__list{
    width: 90%;
    margin: 0 auto;
}
.cause__item{
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.cause__number{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #f48fb1;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}
.cause__item h3{
    margin-bottom: 15px;
    font-size: 20px;
    color: #5DADE2;
    line-height: 1.4;
    text-align: center;
}
.cause__item p{
    margin: 0;
    color: #616161;
    line-height: 1.5;
    font-size: 15px;
    text-align: left;
}
.cause__image{
    display: block;
    width: 50%;
    max-width: 220px;
    margin: 15px auto 20px;
}

/* 受け口を治すと人生が変わります */
.future{
    position: relative;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}
.future::before,
.future::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 2;
    pointer-events: none;
}
.future::before{
    top: 0;
    background: linear-gradient(
        to bottom,
        #feffe7,
        rgba(255,249,232,0)
    );
}
.future::after{
    bottom: 0;
    background: linear-gradient(
        to top,
        #f8f9fb,
        rgba(245,245,245,0)
    );
}
.future__image{
    display: block;
    width: 100%;
    box-shadow: 0 0 30px rgba(0,0,0,.08);
}
.future__copy{
    position: absolute;
    top: 50%;
    left: 22%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
}
.future__copy-sub{
    writing-mode: vertical-rl;
    font-size: 20px;
    color: #e91e63;
    margin: 0;
}
.future__copy-main{
    writing-mode: vertical-rl;
    font-size: 22px;
    font-weight: 700;
    color: #e91e63;
    margin: 0;
}

/* 院長メッセージ
=======================================================*/
#director-message{
    padding: 60px 0;
    background: #f8f9fb;
}
.director-message__inner{
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 25px;
    box-sizing: border-box;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}
.director-message__heading{
    position:relative;
    text-align:center;
}
.director-message__circle{
    position:absolute;

    width:90px;
    height:90px;

    background:#bbdbfb;
    border-radius:50%;

    left:50%;
    transform:translateX(-180px);
    top:-10px;
}
.director-message__title{
    position:relative;
    display:inline-block;
    font-size: 22px;
    font-weight: 500;
    color: #1f3b5b;
}
.director-message__photo{
    text-align: center;
    margin-bottom: 30px;
}
.director-message__photo img{
    width: 220px;
    max-width: 100%;
    border-radius: 50%;
    border: 5px solid #eef3f8;
}
.director-message__content{
    color: #555;
    line-height: 1.5;
    font-size: 15px;
}
.director-message__content p{
    margin-bottom: 20px;
}
.director-message__voice{
    margin: 25px 0;
    padding: 20px;
    background: #f4f8fc;
    border-left: 4px solid #1f3b5b;
    list-style: none;
}
.director-message__voice li{
    margin-bottom: 10px;
    font-weight: 500;
    color: #1f3b5b;
}
.director-message__voice li:last-child{
    margin-bottom: 0;
}
.director-message__name{
    text-align: right;
    margin-top: 40px;
    color: #1f3b5b;
    line-height: 1.8;
}
.director-message__name span{
    font-size: 24px;
    font-weight: 700;
}
