@charset "UTF-8";

/* CSS Document */

.invis {
  font-size: 16px;
  line-height: 1.6rem;
  min-width: 768px;
}

.invis img {
  max-width: 100%;
}

.menu {
  margin-bottom: 0;
}

/* セクション見出し（「当院が選ばれる理由」と共通のデザイン） */
.invis h2 {
  display: block;
  margin: 64px auto 48px;
  padding: 0;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #007b79;
  text-align: center;
}

.invis h3 {
  font-size: 1.1rem;
  color: #007b79;
  display: block;
  width: 70%;
  margin: auto;
  padding: 30px;
  text-align: center;
  font-weight: bold;
}
.invis .container {
  margin: auto;
  background: white;
  width: 100%;
}

.invis section {
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

/* MV は全幅（.invis section の max-width 制限を解除） */
.invis .mv_section {
  max-width: none;
}

.invis .shikumi ul {
  display: flex;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
}

.invis .shikumi ul > * {
  width: 210px;
  margin: 20px;
  font-size: 0.9rem;
  line-height: 1.1rem;
  flex-grow: 1;
}

.invis .shikumi ul > *.width3 {
  width: 210px;
  margin: 20px;
  font-size: 0.9rem;
  line-height: 1.1rem;
  flex-grow: 3;
}

.invis .shikumi ul > * div {
  border-bottom: 2px solid #007b79;
  color: #007b79;
  padding: 1rem 0;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
}

.invis .shikumi ul > * p {
  font-size: 0.9rem;
  padding: 6px;
}

/*---------------------
料金(2026)
-----------------------*/
.invis .price {
  position: relative;
  isolation: isolate; /* 背景写真を中身の後ろに置く */
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw); /* ブラウザ幅100%（「選ばれる理由」と同じ方法） */
  /* 中身は従来どおり最大1120pxで中央（左右の余白で調整） */
  padding-left: max(40px, calc((100vw - 1120px) / 2));
  padding-right: max(40px, calc((100vw - 1120px) / 2));
}

/* 背景写真：元画像の等倍（従来の2倍）で、ブラウザの右上・左下からはみ出して切れて見える */
.invis .price::before,
.invis .price::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: center / contain no-repeat;
  pointer-events: none;
}

.invis .price::before {
  top: -200px;
  right: -120px;
  width: 792px;
  height: 827px;
  background-image: url(images/price_bg_01.webp);
}

.invis .price::after {
  bottom: -60px;
  left: -120px;
  width: 584px;
  height: 608px;
  background-image: url(images/price_bg_02.webp);
}

.invis .price .center,
.invis .case .center,
.invis .shikumi .center {
  margin-bottom: 2rem;
}

.plan_en {
  color: #009c9a;
  display: block;
  font-size: 1.1rem;
}

.price_table_wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.invis_price_table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
}

.invis_price_table th,
.invis_price_table td {
  border: 1px solid #d5e6e4;
  padding: 1rem;
  vertical-align: middle;
}

.invis_price_table thead th {
  background-color: #eef6f5;
  color: #007b79;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  width: 26%;
}

.invis_price_table thead th:first-child {
  width: 22%;
  background-color: transparent;
  border-top-color: transparent;
  border-left-color: transparent;
}

.invis_price_table tbody th {
  background-color: #f8f8f8;
  color: #007b79;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.invis_price_table tbody td {
  text-align: center;
}

.invis_price_table .price_row td {
  font-size: 1.4rem;
  font-weight: 600;
  color: #007b79;
  white-space: nowrap;
}

.price_sub {
  max-width: 640px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  background-color: #f9f9f9;
  text-align: center;
}

.price_sub dl {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 0.5rem;
}

.price_sub dt {
  font-weight: 600;
  color: #007b79;
}

.price_sub dd {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #007b79;
}

.price_sub p {
  font-size: 0.9rem;
  margin: 0;
}

.price_notes {
  max-width: 640px;
  margin: 1.5rem auto 0;
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

.price_notes li,
.case_notice li {
  list-style: disc;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  /* 写真の矯正装置部分が見えるよう、上下に余白を足す */
  .invis .price {
    padding: 140px 16px 220px; /* 下は左下の写真（高さ281px）が次の見出しにかからない余白 */
  }

  /* スマホは写真内の矯正装置が見える位置に（上の箱に隠れない・左で切れすぎない） */
  .invis .price::before {
    top: -40px;
    width: 360px;
    height: 376px;
  }

  .invis .price::after {
    left: -40px;
    width: 270px;
    height: 281px;
  }

  .price_table_wrap::before {
    content: "表は横にスクロールできます";
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
  }

  /* 表をコンパクトにし、最初に「項目＋2プラン」の3列が見えるようにする */
  .invis_price_table {
    min-width: 460px;
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .invis_price_table th,
  .invis_price_table td {
    padding: 0.5rem 0.4rem;
  }

  .invis_price_table thead th {
    font-size: 0.9rem;
  }

  .invis_price_table tbody th {
    white-space: normal;
  }

  .invis_price_table .price_row td {
    font-size: 1.05rem;
  }

  .plan_en {
    font-size: 0.85rem;
  }
}

/*---------------------
選ばれる理由
-----------------------*/
/* 背景はブラウザ幅100%（.container の padding・max-width を突き抜ける）、中身は960pxで中央 */
.invis {
  overflow-x: clip; /* 100vw によるスクロールバー分の横スクロールを防ぐ */
}

.invis .reason,
.invis .tokucho {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 88px 40px 120px; /* 左右40px = .container の24px + 16px（コンテンツ幅を従来どおりに保つ） */
  background: #f4efe7 url(images/reason_bg.webp) center top / cover no-repeat;
}

.reason_inner,
.tokucho_inner {
  max-width: 960px;
  margin: auto;
  word-break: normal; /* 英単語（Long-Term など）を途中で折り返さない */
  overflow-wrap: anywhere;
}

.reason_inner {
  max-width: 1120px;
}

.invis .reason h2,
.invis .tokucho h2 {
  margin: 0;
}

.reason_card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0 0 24px rgba(120, 100, 70, 0.12);
  padding: 0 40px 40px;
  text-align: center;
}

.reason_card--main {
  margin-top: 237px; /* 見出しとの間66px + 写真のはみ出し171px */
  padding: 0 56px 48px;
}

.reason_img {
  position: relative;
  width: 340px;
  max-width: 100%;
  margin: -84px auto 28px; /* 画像の高さの約44%をカードの上にはみ出させる */
}

.reason_card--main .reason_img {
  width: 240px;
  margin: -171px auto 26px;
}

.reason_img img {
  display: block;
  width: 100%;
  height: auto;
}

.invis .reason_img .reason_badge {
  position: absolute;
  top: -43px;
  right: -59px;
  width: 116px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.reason_num {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #8c6a2f; /* 白地でコントラスト比4.5以上 */
}

.invis .reason h3 {
  width: 100%;
  margin: 8px 0 26px;
  padding: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #007b79;
}

.reason_card--main h3 {
  margin-top: 20px;
}

.reason_h3_sub,
.reason_h3_main {
  display: block;
}

.reason_h3_sub {
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.reason_h3_main {
  font-size: 2.15rem;
  letter-spacing: 0.02em;
}

.reason_h3_main small {
  font-size: 0.65em;
}

.reason_card p:not(.reason_num) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #3e3e3e;
  text-align: left;
}

.reason_card p:not(.reason_num) + p {
  margin-top: 26px;
}

.reason_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin: 156px 0 0; /* 上のカードとのすき間72px + 画像のはみ出し84px */
  padding: 0;
  list-style: none;
}

.reason_list .reason_card p:not(.reason_num) {
  flex: 1;
}

.invis a.reason_link { /* 共通の a:link（#099）より優先させる */
  align-self: flex-end;
  margin-top: 20px;
  color: #007b79;
  font-weight: 700;
  text-decoration: none;
}

.invis a.reason_link::after {
  content: " ›";
}

.invis a.reason_link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .invis .reason {
    padding: 56px 16px 72px; /* 760px以下は .container の padding が0 */
  }

  .invis h2 {
    font-size: 1.5rem;
  }

  .reason_card {
    padding: 0 24px 32px;
  }

  .reason_card--main {
    margin-top: 160px;
    padding: 0 24px 32px;
  }

  .reason_card--main .reason_img {
    width: 200px;
    margin: -120px auto 22px;
  }

  .invis .reason_img .reason_badge {
    top: -28px;
    right: -40px;
    width: 84px;
  }

  .reason_img {
    width: 280px;
    margin: -64px auto 22px;
  }

  .invis .reason h3 {
    margin: 6px 0 18px;
    font-size: 1.25rem;
  }

  .reason_card--main h3 {
    margin-top: 12px;
  }

  .reason_h3_sub {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .reason_h3_main {
    font-size: 1.2rem;
  }

  .reason_card p:not(.reason_num) {
    font-size: 0.9rem;
  }

  .reason_card p:not(.reason_num) + p {
    margin-top: 16px;
  }

  .reason_list {
    grid-template-columns: 1fr;
    gap: 112px; /* すき間48px + 画像のはみ出し64px */
    margin-top: 112px;
  }
}

/*---------------------
マウスピース矯正の特長
-----------------------*/
/* 全幅背景・見出しは「選ばれる理由」と共通（上の .invis .reason, .invis .tokucho） */
.invis .tokucho {
  padding-bottom: 126px;
  background: #f0fafa url(images/point_bg.webp) center bottom / cover no-repeat; /* 下端をそろえ、はみ出す分は上で切る */
}

.invis .tokucho h2 {
  margin-bottom: 40px;
}

.invis .tokucho .center {
  margin-bottom: 48px;
}

.tokucho_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 円を波形にずらす（--s × 62px） */
.tokucho_list li {
  --s: 0;
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: calc(68px + var(--s) * 62px);
}

.tokucho_list li + li {
  margin-top: 8px;
}

.tokucho_list li:nth-child(2),
.tokucho_list li:nth-child(4),
.tokucho_list li:nth-child(8) {
  --s: 1;
}

.tokucho_list li:nth-child(3) {
  --s: 2;
}

.tokucho_list li:nth-child(6) {
  --s: -1;
}

.tokucho_list img {
  flex: 0 0 196px;
  width: 196px;
  height: auto;
}

.tokucho_body {
  max-width: 580px;
}

.invis .tokucho h3 {
  width: auto;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #007b79;
}

.tokucho_body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #3e3e3e;
}

@media (max-width: 767px) {
  .invis .tokucho {
    padding-bottom: 72px;
  }

  .invis .tokucho h2 {
    margin-bottom: 24px;
  }

  .invis .tokucho .center {
    margin-bottom: 32px;
  }

  /* スマホは波形のずらしをやめ、円を左にそろえて文字幅を確保 */
  .tokucho_list li {
    gap: 16px;
    margin-left: 0;
  }

  .tokucho_list li + li {
    margin-top: 20px;
  }

  .tokucho_list img {
    flex-basis: 96px;
    width: 96px;
  }

  .invis .tokucho h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
  }

  .tokucho_body p {
    font-size: 0.8125rem;
  }
}

/*---------------------
症例
-----------------------*/
.invis .case {
  max-width: 1120px;
  padding: 0 16px;
}

.case_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case_list > li {
  border: 1px solid #e3d3b5;
  padding: 1.5rem;
}

.invis .case_list h3 {
  width: 100%;
  padding: 0 0 0.75rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid #e3d3b5; /* カードの枠線と同じ */
  color: #222;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.case_photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.case_photos figure {
  margin: 0;
}

.case_photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case_photos figcaption {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  padding-top: 0.25rem;
}

.case_detail {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.case_detail dt {
  font-weight: 600;
  color: #222;
}

.case_detail dd {
  margin: 0;
}

.case_notice {
  position: relative;
  z-index: 1; /* 費用セクションの背景写真より上に重ねる */
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  font-size: 0.9rem;
  line-height: 1.7;
}

.case_notice ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.case_notice p {
  margin: 0;
}

.case_notice a,
.invis .faq a {
  color: #007b79;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .case_list {
    grid-template-columns: 1fr;
  }

  .case_list > li {
    padding: 1rem;
  }

  .invis .case_list h3 {
    font-size: 1.25rem;
  }
}

.mv_title_sub {
  font-size: 0.6em;
  display: inline-block;
}

/*---------------------
Treatment
-----------------------*/
.invis .treatment tr:nth-child(1) i {
  width: 30px;
  height: 30px;
  background: #007b79;
  line-height: 30px;
  display: inline-block;
  color: white;
  font-size: 18px;
  border-radius: 50px;
  margin-top: -30px;
  margin-left: -15px;
  position: absolute;
}

.invis .plan tr:nth-child(3) td,
.invis .treatment td:nth-child(2) {
  text-align: left;
  font-size: 0.9rem;
}

.invis_main {
  background-color: #efefef;
  width: 100%;
  text-align: center;
}

/*---------------------
流れ
-----------------------*/
.invis .nagare,
.invis .faq {
  padding: 24px;
  max-width: 960px;
}

.invis .nagare img {
  width: 200px;
  height: auto;
}

.invis .nagare .table > *:nth-child(2) {
  width: 160px;
  vertical-align: top;
}

.invis .nagare h3,
.invis .faq h3 {
  counter-increment: nagare;
  display: flex;
  align-items: center;
  width: auto;
  margin: 32px 0 14px 30px; /* 番号の四角を帯の左に半分（30px）はみ出させる */
  padding: 30px 24px 30px 0;
  background-color: #fbf8f2;
  text-align: left;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.5;
  color: #444;
}

.invis .nagare h3:before,
.invis .faq h3:before {
  content: counter(nagare);
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  margin: 0 21px 0 -30px;
  display: grid;
  place-content: center;
  background: #a9803f;
  color: #fff;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  box-sizing: border-box;
  padding-bottom: 6px; /* 明朝の数字は下寄りに見えるため、見た目の中央へ少し持ち上げる */
  white-space: nowrap;
}

/* 本文は見出しの文字の位置にそろえる */
.invis .nagare h3 + p,
.invis .nagare h3 + .flex,
.invis .faq summary + p {
  margin: 0;
  padding: 0 12px 0 81px;
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: left;
  color: #333;
}

/* よくある質問：＋／−で開閉（details / summary） */
.invis .faq {
  counter-reset: nagare; /* details ごとに番号が途切れないよう、セクション単位で数える */
}

.faq_item summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.faq_item summary::-webkit-details-marker {
  display: none;
}

.faq_item summary:focus-visible {
  outline: 2px solid #007b79;
  outline-offset: 2px;
}

.invis .faq_item h3 {
  margin: 16px 0 0 30px;
}

.invis .faq_item[open] h3 {
  margin-bottom: 14px;
}

/* ＋／− アイコン（開いているときは縦線を消して −） */
.invis .faq_item h3::after {
  content: "";
  flex: 0 0 auto;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  margin-left: auto;
  padding-left: 16px; /* 見出しの文字との間隔 */
  background:
    linear-gradient(#007b79, #007b79) center / 100% 2px no-repeat content-box,
    linear-gradient(#007b79, #007b79) center / 2px 100% no-repeat content-box;
  transition: background-size 0.2s;
}

.invis .faq_item[open] h3::after {
  background-size: 100% 2px, 2px 0;
}

.invis .faq_item summary:hover h3 {
  background-color: #f5efe4;
}

.invis .faq .faq_item > p {
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .invis .nagare h3,
  .invis .faq h3 {
    margin: 24px 0 12px 22px;
    padding: 16px 16px 16px 0;
    font-size: 1.05rem;
  }

  .invis .nagare h3:before,
  .invis .faq h3:before {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    margin: 0 14px 0 -22px;
    font-size: 26px;
    padding-bottom: 4px;
  }

  .invis .nagare h3 + p,
  .invis .nagare h3 + .flex,
  .invis .faq summary + p {
    padding: 0 0 0 22px;
    font-size: 0.9rem;
  }
  .invis .faq_item h3::after {
    width: 16px;
    height: 16px;
    padding-left: 12px;
  }

  .invis .faq_item h3 {
    margin: 12px 0 0 22px;
  }

  .invis .faq_item[open] h3 {
    margin-bottom: 12px;
  }
}

.nagare_image {
  margin: 1rem;
}

.invis .faq {
  padding-bottom: 48px;
}

.invis .youtube {
  width: 32%;
  height: auto;
  margin: auto;
  padding: 0 12px;
}

.invis .youtube iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  margin: auto;
}

.invis .nagare .flex {
  display: flex;
  flex-wrap: nowrap;
}

.invis .nagare .flex img {
  max-width: 330px;
}

@media screen and (max-width: 900px) {
  .invis {
    min-width: 100px;
    width: 100%;
  }

  .invis h1 {
    font-size: 1.2rem;
  }

  .invis h2 {
    margin: 40px auto 24px;
  }

  .invis h3 {
    width: 100%;
    padding: 6px;
  }

  .invis .price .plan td img {
    height: auto;
    width: 120px;
  }

  .treatment tr,
  .treatment td {
    display: block;
    width: 100%;
  }

  .invis .table {
    display: block;
    width: 100%;
  }

  .invis .table > * {
    display: block;
    width: 100%;
  }

  .invis .price table.plan {
    width: 100%;
    table-layout: fixed;
    margin: 0;
    position: relative;
  }

  .invis .price table.plan td {
    border: 1px solid #eeeeee;
  }

  /*---------------------
しくみ
-----------------------*/
  .invis .shikumi ul {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .invis .shikumi ul > * {
    width: 100%;
    margin: 0;
  }

  .invis .shikumi ul > *.width3 {
    width: 100%;
    margin: 0;
  }

  .invis .shikumi ul > * div {
    border-bottom: 2px solid #007b79;
    color: #007b79;
    padding-bottom: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
  }

  .invis .shikumi ul > * p {
    font-size: 0.9rem;
    padding: 6px;
    margin-bottom: 0;
  }

  .invis .nagare > * {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .invis .nagare img {
    max-width: 340px;
    width: 100%;
    height: auto;
  }

  .invis .nagare .flex {
    display: flex;
    flex-wrap: nowrap;
  }

  .invis .youtube {
    width: 100%;
    height: auto;
    margin: auto;
    padding: 0;
    text-align: center;
  }

  .invis .youtube iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-width: 320px;
    margin: auto;
  }
}

.invis-video {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: auto;
}

.invis-video > * {
  flex-basis: 48%;
  flex-grow: 0;
  padding: 20px;
}

.invis-video video {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 640px) {
  .invis-video {
    flex-direction: column;
    gap: 20px;
  }

  .invis-video > * {
    flex-basis: 100%;
    flex-grow: 1;
  }

  .invis-video p {
    margin: 0;
  }
}

/*---------------------
注意事項
-----------------------*/
/* 背景はブラウザ幅100%（「選ばれる理由」と同じ方法）、中身は960pxで中央 */
.invis .notice {
  width: 100vw;
  max-width: none;
  margin: 64px 0 0 calc(50% - 50vw);
  padding: 64px 40px 72px;
  background-color: #f8f8f8;
}

.invis .notice > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.invis .notice h2 {
  margin-top: 0;
}

@media (max-width: 767px) {
  .invis .notice {
    margin-top: 40px;
    padding: 48px 16px 56px;
  }
}

.invis .notice_list {
  display: flex;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;

  @media (width < 768px) {
    flex-direction: column;
    width: 90%;
    margin: auto;
  }
}

.invis .notice_list > * {
  flex: 1 1 calc((100% - (2rem * 1)) / 2);
  margin: 0;
}

.invis .notice_list > * h3 {
  width: auto;
  margin: 0;
  line-height: 1.6;
  border-bottom: 2px solid #007b79;
  color: #007b79;
  padding: 0 0 6px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.invis .notice_list > * p {
  font-size: 0.9rem;
  padding: 6px;
  margin-bottom: 0;
}

.invis .attention {
  background-color: #fafafa;
  padding: 3rem;
  font-size: 1rem;
  margin: 3rem auto;
  max-width: 960px;
}

.invis .attention h2 {
  margin-top: 0; /* 箱の padding（3rem）で上の余白を取る */
  font-size: 1.25rem; /* 20px（PC・スマホ共通） */
}

.invis .attention h3 {
  all: initial;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
}
.intro h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  position: relative;
  margin: 42px 0;
  line-height: 2rem;
  font-size: 1.4rem;
  color: rgba(17, 92, 167, 1);
  text-align: center;
}
.intro p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.3rem;
  line-height: 1.8rem;
  text-align: center;
}
.intro .intro_lead {
  margin: 40px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  color: #007b79;
  letter-spacing: 0.06em;
}

.intro_lead > span {
  display: block;
}

.intro_lead_sub {
  font-size: 1rem;
  line-height: 1.6;
  color: #333; /* 下のリード文と同じ色 */
}

/* 2・3行目は濃いめのゴールド */
.intro_lead_main,
.intro_lead_em {
  color: #8c6a2f;
}

.intro_lead_main {
  margin-top: 14px; /* 1行目との文字間の余白を、ゴールド2行の間（約29px）にそろえる */
  font-size: 1.6rem;
  line-height: 1.6;
}

.intro_lead_em {
  margin-top: 10px;
  font-size: 2rem;
  line-height: 1.6;
}

.intro_lead_em small {
  font-size: 0.8em;
}

.intro .intro_sub {
  margin-top: 28px;
  font-size: 0.95rem;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #333;
}

@media (max-width: 767px) {
  .intro .intro_lead {
    margin-top: 24px;
  }

  .intro_lead_sub {
    font-size: 1rem;
  }

  .intro_lead_main {
    margin-top: 16px;
    font-size: 1.2rem;
  }

  .intro_lead_em {
    margin-top: 4px;
    font-size: 1.45rem;
  }

  .intro .intro_sub {
    margin-top: 20px;
    font-size: 0.875rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }
}
@media (max-width: 760px) {
  .intro {
    padding: 0 16px; /* 760px以下は .container の padding が0 */
  }
}
