@charset "UTF-8";

html { font-size: 62.5%; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  margin: 0;
}

/* =========================================
   固定背景  ※ img/bg.png を差し替え
   ========================================= */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ロゴ列は非表示（bg.webpに埋め込み済み） */
.background > div:first-child {
  display: none;
}

/* PCナビはabsoluteで右端に固定 → flex影響なし */
.background > div:last-child {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.background_logo {
  display: none;
}

/* =========================================
   PC右側縦ナビ
   ========================================= */
.pc_global_nav ul { margin: 0; padding: 0; }
.pc_global_nav ul li { list-style: none; }
.pc_nav_title { font-size: 3.0rem; color: #fff; }
.pc_global_nav ul li a {
  text-decoration: none !important;
  display: block;
  padding: 0.5rem;
  margin: 0.5rem 0;
  font-size: 1.6rem;
  overflow: hidden;
  color: transparent;
  text-shadow: 0 -1.6em 0 #ffffff, 0 0 0 #ffffff;
  transition: text-shadow 0.3s;
}
.pc_global_nav ul li a:hover {
  text-shadow: 0 0 0 #ffffff, 0 1.5em 0 #ffffff;
}

/* =========================================
   スクロール列（中央カラム）
   ========================================= */
.container_box {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
.content_wrapper {
  width: 100%;
  max-width: 500px;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  position: relative;
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}
.content_wrapper::-webkit-scrollbar { display: none; }
.content_inner { position: relative; }

/* =========================================
   固定ヘッダー
   ========================================= */
.content_wrapper header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 10;
  background: white;
  box-sizing: border-box;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.header__logo img { max-width: 90px; height: auto; filter: brightness(0); }
.header__logo { padding-left: 10px; }

/* =========================================
   ハンバーガーボタン（モーフアニメ）
   ========================================= */
.hamburger-morph {
  top: 40px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  padding: 2px;
  border: none;
  background-color: #fff;
  cursor: pointer;
  border-radius: 30%;
}
.hamburger-morph__icon { width: 100%; height: 100%; }
.hamburger-morph__line {
  fill: none;
  stroke: #000000;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4,0,0.2,1),
              stroke-dashoffset 600ms cubic-bezier(0.4,0,0.2,1);
}
.hamburger-morph__line:nth-child(1) { stroke-dasharray: 60 207; }
.hamburger-morph__line:nth-child(2) { stroke-dasharray: 60 60; }
.hamburger-morph__line:nth-child(3) { stroke-dasharray: 60 207; }
.hamburger-morph.active .hamburger-morph__line:nth-child(1) { stroke-dasharray: 90 207; stroke-dashoffset: -134; }
.hamburger-morph.active .hamburger-morph__line:nth-child(2) { stroke-dasharray: 1 60;  stroke-dashoffset: -30;  }
.hamburger-morph.active .hamburger-morph__line:nth-child(3) { stroke-dasharray: 90 207; stroke-dashoffset: -134; }

/* =========================================
   ハンバーガーメニュー（円形展開）
   ========================================= */
.nav-morph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.7s cubic-bezier(0.4,0,0.2,1);
  z-index: 900;
  background-image: url(../img/bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.nav-morph.active { clip-path: circle(150% at calc(100% - 44px) 44px); }

.nav-morph__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 90%;
  height: 100%;
}
.nav-morph__list { margin: 0; padding: 0; list-style: none; text-align: center; }
.nav-morph__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-morph.active .nav-morph__item { opacity: 1; transform: translateY(0); }
.nav-morph.active .nav-morph__item:nth-child(1)  { transition-delay: 0.3s; }
.nav-morph.active .nav-morph__item:nth-child(2)  { transition-delay: 0.4s; }
.nav-morph.active .nav-morph__item:nth-child(3)  { transition-delay: 0.5s; }
.nav-morph.active .nav-morph__item:nth-child(4)  { transition-delay: 0.6s; }
.nav-morph.active .nav-morph__item:nth-child(5)  { transition-delay: 0.7s; }
.nav-morph.active .nav-morph__item:nth-child(6)  { transition-delay: 0.8s; }
.nav-morph.active .nav-morph__item:nth-child(7)  { transition-delay: 0.9s; }
.nav-morph.active .nav-morph__item:nth-child(8)  { transition-delay: 1.0s; }
.nav-morph.active .nav-morph__item:nth-child(9)  { transition-delay: 1.1s; }
.nav-morph.active .nav-morph__item:nth-child(10) { transition-delay: 1.2s; }
.nav-morph.active .nav-morph__item:nth-child(11) { transition-delay: 1.3s; }
.nav-morph__link {
  position: relative;
  display: inline-block;
  padding: 2px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  text-indent: 3rem;
  font-family: "Noto Serif JP", serif;
  line-height: 35px;
  overflow: hidden;
  text-align: left;
  border-bottom: 0.5px solid #b0b0b0 !important;
  width: 100%;
}

/* =========================================
   CTAボタン（1枚画像 + 左右クリック領域）
   ========================================= */
.cta-wrapper {
  position: relative;
  display: block;
  line-height: 0;
}
.cta-wrapper img { width: 100%; height: auto; display: block; }
.cta-area {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  display: block;
}
.cta-area--line { left: 0; }
.cta-area--web  { right: 0; }

/* =========================================
   固定フッターCTA
   ========================================= */
.footer_btn_wrapper { width: 500px; }
.content_wrapper .footer_btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  z-index: 10;
}
.footer_btn, .main_visiual_btn {
  display: block;
  background-color: #ffffffd7;
  padding: 0;
  box-sizing: border-box;
}
.footer_btn img, .main_visiual_btn img {
  width: 100%;
  height: auto;
}

/* =========================================
   フワッとfade-in
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   Q&A アコーディオン
   ========================================= */
.faq-container {
  max-width: 90%;
  margin: 0 auto;
  border-radius: 12px;
}
.faq-item {
  margin-bottom: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #99743C;
  transition: box-shadow 0.3s;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.faq-heading {
  padding: 1.2rem 1.5rem;
  position: relative;
  cursor: pointer;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-heading p {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #99743C;
  font-weight: 600;
  margin: 0;
}
.faq-heading::after {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2399743C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-heading.active::after { transform: rotate(180deg); }
.faq-content {
  display: none;
  padding: 1rem 1.5rem;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background: #fff;
  border-top: 1px solid #99743C;
  margin: 0 5px 5px;
  border-radius: 0 0 4px 4px;
}

/* =========================================
   アクセスタブ
   ========================================= */
.tab-list {
  display: flex;
  justify-content: space-between;
  background-color: #000;
}
.tab-item {
  width: calc(100% / 3);
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
  background: #F6EDD3;
  color: #CBB482;
  text-align: center;
  cursor: pointer;
  transition: .4s ease-in-out;
  box-shadow: 0 1px 1px rgb(31,31,31);
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  font-family: "Noto Serif JP", serif;
}
.tab-item.is-active {
  background: linear-gradient(270deg,
    #F8D7A2 3.41%, #FFFDDF 26.47%, #F8D7A2 43.76%,
    #EBD78E 60.09%, #FFF5DD 81.7%, #EBD78E 98.99%);
  color: #99743C;
}
.panel-list { background-color: #fff; }
.panel-item { display: none; width: 100%; background-color: #fff; padding-bottom: 20px; }
.panel-item.is-active { display: block; animation: panel-show 0.9s ease-in-out forwards; }
@keyframes panel-show { from { opacity: 0; } to { opacity: 1; } }
.panel-clinic-name { text-align: center; color: #BA9B6D; font-size: 20px; line-height: 1.6; letter-spacing: 0.1em; padding: 20px 0 10px; }
.panel-img { width: 80%; height: auto; margin: 0 auto; }
.panel-img img { width: 100%; border-radius: 8px; }
.panel-label { text-align: center; color: #BA9B6D; font-size: 20px; line-height: 1.6; letter-spacing: 0.1em; padding: 20px 0 8px; }
.panel-text { font-size: 15px; line-height: 1.8; letter-spacing: 0.05em; width: 80%; margin: 0 auto; color: #333; }
.panel-map { width: 80%; margin: 15px auto; }
.panel-map iframe { width: 100%; height: 220px; border: 0; display: block; border-radius: 8px; }

/* =========================================
   コピーライト
   ========================================= */
.copyright_box {
  text-align: center;
  background-color: #ffffff;
  padding: 10px 0;
  height: 210px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.copyright_box small {
  font-size: 10px;
  line-height: 25px;
  letter-spacing: 0.08em;
  background-color: #000;
  color: #fff;
  display: block;
  width: 100%;
  text-align: center;
  padding: 5px 0;
}

/* visually-hidden */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
}

/* スクロールマージン */
.title { scroll-margin-top: 80px; }

/* =========================================
   レスポンシブ
   ========================================= */
@media screen and (max-width: 940px) {
  .pc_global_nav { display: none; }
  .background > div:last-child { display: none; }
  .content_wrapper header { transform: translateX(-50%); }
}
@media screen and (max-width: 500px) {
  .content_wrapper { padding-top: 80px; }
}


/* =========================================
   2026-11-24 修正
   ========================================= */
/* スマホで左右が切れる: 中央の列を画面幅に収める */
.container_box { width: 100%; max-width: 500px; }
.footer_btn_wrapper { width: 100%; max-width: 500px; }
/* アドレスバーぶんの高さずれ */
.container_box, .content_wrapper { height: 100vh; height: 100dvh; }
.content_wrapper { padding-top: 0; padding-bottom: 0; background-color: #1a0f12; }
.content_wrapper header { position: sticky; left: auto; transform: none; }
.header_wrapper { position: sticky; top: 0; z-index: 10; }
/* セクション間の白いすき間 */
.title { margin: 0; height: 0; }
main img { width: 100%; }
/* FV 画像内のボタンを押せるように */
.main_visiual { position: relative; }
.fv-cta { position: absolute; top: 94.2%; height: 5.6%; display: block; }
.fv-cta--line { left: 3.5%; width: 45.5%; }
.fv-cta--web  { left: 50.5%; width: 46.5%; }
/* 固定ボタンはFVを過ぎてから出す */
.content_wrapper .footer_btn { transform: translateY(110%); transition: transform .35s ease; }
.content_wrapper .footer_btn.is-show { transform: translateY(0); }
/* 末尾の余白 */
.copyright_box { height: auto; padding: 0 0 min(19.2vw, 96px); background-color: #000; display: block; }
@media screen and (max-width: 940px) { .content_wrapper header { transform: none; } }
@media screen and (max-width: 500px) { .content_wrapper { padding-top: 0; } }
/* FV画像の上端に入っているロゴ帯はヘッダーと重複するので隠す */
.main_visiual { overflow: hidden; }
.main_visiual img { margin-top: -11.2%; }
.fv-cta { top: 93.8%; height: 6%; }
