/*
    YOHAKU HEAD SPA（制作サンプル）共通スタイル
    - 色：黒 #111110 とタン #c3a079 の2色。文字は骨色 #ebe6de
    - 書体：見出し＝しっぽり明朝（静けさ・上質さを出すため）、英字＝Cormorant Garamond、本文＝Noto Sans JP 300
    - 角丸は使わない（直線で静かな印象に統一）
  */
  :root {
    --bk: #111110; --bk-2: #191917; --bk-3: #23221f;
    --tx: #ebe6de; --tx-2: #a9a399; --tan: #c3a079; --line: rgba(235, 230, 222, .14);
    --f-min: "Shippori Mincho", serif; --f-en: "Cormorant Garamond", serif; --f-body: "Noto Sans JP", sans-serif;
    --ease: cubic-bezier(.16, 1, .3, 1);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bk); color: var(--tx); font-family: var(--f-body); font-weight: 300; font-size: 15px; line-height: 2.1; letter-spacing: .08em; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; }
  h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1180px; margin: 0 auto; padding-inline: 40px; }
  .en { font-family: var(--f-en); font-style: italic; font-weight: 500; letter-spacing: .06em; color: var(--tan); }
  .sample { position: relative; z-index: 60; background: var(--tan); color: var(--bk); font-size: 12px; text-align: center; padding: 6px 12px; letter-spacing: .06em; font-weight: 500; }
  .sample a { text-decoration: underline; }

  /* ヘッダー */
  .head { position: absolute; left: 0; right: 0; top: 33px; z-index: 50; }
  .head .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; height: 92px; padding-inline: 48px; }
  .logo { font-family: var(--f-en); font-size: 26px; letter-spacing: .32em; font-weight: 600; line-height: 1; }
  .logo small { display: block; font-size: 10px; letter-spacing: .5em; color: var(--tx-2); margin-top: 6px; font-family: var(--f-body); font-weight: 400; }
  .nav { display: flex; align-items: center; gap: 36px; font-family: var(--f-en); font-size: 15px; letter-spacing: .18em; }
  .nav a:not(.rsv) { opacity: .85; transition: opacity .3s; }
  .nav a:not(.rsv):hover { opacity: 1; color: var(--tan); }
  .rsv { border: 1px solid var(--tan); color: var(--tan); padding: 9px 26px; font-family: var(--f-body); font-size: 13px; letter-spacing: .2em; transition: background .4s var(--ease), color .4s var(--ease); }
  .rsv:hover { background: var(--tan); color: var(--bk); }
  .menu-btn { display: none; background: none; border: 0; color: var(--tx); width: 44px; height: 44px; cursor: pointer; }
  .menu-btn span { display: block; height: 1px; background: currentColor; margin: 7px 8px; }

  /* ヒーロー：写真＋縦書きの見出し */
  .hero { position: relative; min-height: clamp(640px, 100dvh, 940px); display: grid; grid-template-columns: 1fr 1fr; }
  .hero .ph { position: relative; overflow: hidden; }
  .hero .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.85) brightness(.82); transform: scale(1.06); animation: zoom 14s var(--ease) forwards; }
  @keyframes zoom { to { transform: scale(1); } }
  .hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 17, 16, 0) 60%, var(--bk) 100%); }
  .hero .cp { display: flex; align-items: center; justify-content: center; gap: 72px; padding: 140px 48px 80px; }
  .hero h1 { writing-mode: vertical-rl; font-family: var(--f-min); font-weight: 500; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.9; letter-spacing: .28em; }
  .hero h1 span { color: var(--tan); }
  .hero .sub { writing-mode: vertical-rl; font-size: 14px; line-height: 2.4; letter-spacing: .3em; color: var(--tx-2); max-height: 26em; }
  .hero .scroll-line { position: absolute; left: 50%; bottom: 0; width: 1px; height: 90px; background: linear-gradient(var(--tan), transparent); }

  /* セクション共通 */
  .sec { padding-block: 160px; position: relative; }
  .ttl { display: grid; gap: 14px; margin-bottom: 72px; }
  .ttl .en { font-size: 22px; }
  .ttl h2 { font-family: var(--f-min); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.7; letter-spacing: .14em; }
  .ttl.c { text-align: center; justify-items: center; }
  .ttl.c::after { content: ""; width: 1px; height: 48px; background: var(--tan); margin-top: 14px; }

  /* コンセプト */
  .concept { display: grid; grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: center; }
  .concept .imgs { position: relative; padding: 0 0 120px 0; }
  .concept .imgs .a { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; }
  .concept .imgs .b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border: 10px solid var(--bk); }
  .concept p + p { margin-top: 1.6em; }
  .concept .txt p { color: #d6d0c6; }
  .sign { margin-top: 40px; font-family: var(--f-en); font-size: 30px; color: var(--tan); letter-spacing: .2em; }

  /* こんな方に */
  .for { background: var(--bk-2); }
  .for-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .for-list li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 40px; }
  .for-list .n { font-family: var(--f-en); font-size: 15px; color: var(--tan); letter-spacing: .2em; }
  .for-list h3 { margin-top: 10px; font-family: var(--f-min); font-weight: 500; font-size: 19px; letter-spacing: .12em; line-height: 1.7; }
  .for-list p { margin-top: 12px; font-size: 13.5px; color: var(--tx-2); line-height: 2; }
  .for ul { padding: 0; }

  /* メニュー */
  .menu-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
  .menu-ph { position: sticky; top: 60px; aspect-ratio: 4 / 5; overflow: hidden; }
  .menu-ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); }
  .course { border-top: 1px solid var(--line); padding: 40px 0; }
  .course:last-of-type { border-bottom: 1px solid var(--line); }
  .course .top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
  .course .nm { font-family: var(--f-en); font-size: 28px; letter-spacing: .14em; line-height: 1.2; }
  .course .nm small { display: block; font-family: var(--f-min); font-size: 14px; letter-spacing: .16em; color: var(--tx-2); margin-top: 8px; }
  .course .pr { font-family: var(--f-en); font-size: 30px; letter-spacing: .06em; white-space: nowrap; }
  .course .pr span { font-family: var(--f-body); font-size: 12px; color: var(--tx-2); margin-left: 4px; }
  .course .tm { display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: .2em; border: 1px solid var(--line); padding: 2px 14px; color: var(--tx-2); }
  .course p { margin-top: 14px; font-size: 13.5px; color: #cfc9bf; }
  .course.sig .nm { color: var(--tan); }
  .course.sig .lbl { display: inline-block; font-size: 11px; letter-spacing: .24em; background: var(--tan); color: var(--bk); padding: 2px 12px; margin-bottom: 14px; font-weight: 500; }
  .menu-note { margin-top: 24px; font-size: 12px; color: var(--tx-2); }

  /* 空間（横長の写真＋文章） */
  .space { position: relative; height: clamp(520px, 80vh, 760px); overflow: hidden; }
  .space img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.8); }
  .space .in { position: absolute; inset: 0; display: flex; align-items: flex-end; }
  .space .in .wrap { width: 100%; padding-bottom: 100px; }
  .space h2 { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3vw, 40px); letter-spacing: .16em; line-height: 1.8; }
  .space p { margin-top: 20px; max-width: 34em; color: #d6d0c6; }
  .gal { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; }
  .gal img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: brightness(.85); transition: filter .8s var(--ease); }
  .gal img:hover { filter: brightness(1); }

  /* 流れ */
  .flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: f; padding: 0; }
  .flow li { list-style: none; counter-increment: f; padding: 0 24px; border-left: 1px solid var(--line); }
  .flow li::before { content: "0" counter(f); font-family: var(--f-en); font-size: 44px; color: var(--tan); line-height: 1; display: block; }
  .flow h3 { margin-top: 18px; font-family: var(--f-min); font-weight: 500; font-size: 17px; letter-spacing: .12em; }
  .flow p { margin-top: 10px; font-size: 13px; color: var(--tx-2); line-height: 2; }

  /* セラピストより */
  .msg { background: var(--bk-2); }
  .msg .in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: center; }
  .msg img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: brightness(.85); }
  .msg blockquote { margin: 0; font-family: var(--f-min); font-size: clamp(20px, 2vw, 26px); line-height: 2; letter-spacing: .12em; }
  .msg .who { margin-top: 28px; font-size: 13px; color: var(--tx-2); }
  .msg .who b { color: var(--tx); font-weight: 400; margin-right: 12px; }

  /* FAQ */
  .faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; padding: 28px 4px; font-family: var(--f-min); font-size: 16px; letter-spacing: .1em; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .q { font-family: var(--f-en); color: var(--tan); font-size: 22px; }
  .faq summary .pm { position: relative; width: 14px; height: 14px; }
  .faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--tan); transition: transform .4s var(--ease); }
  .faq summary .pm::after { transform: rotate(90deg); }
  .faq details[open] .pm::after { transform: rotate(0); }
  .faq details p { padding: 0 24px 30px 44px; color: var(--tx-2); font-size: 14px; }

  /* アクセス */
  .access { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .map { aspect-ratio: 4 / 3; background: var(--bk-3); display: grid; place-items: center; color: var(--tx-2); font-size: 13px; border: 1px solid var(--line); position: relative; overflow: hidden; }
  .map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .5; }
  .map span { position: relative; }
  .info { display: grid; }
  .info div { display: grid; grid-template-columns: 7em 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .info div:first-child { border-top: 1px solid var(--line); }
  .info dt { color: var(--tan); font-family: var(--f-min); letter-spacing: .14em; }

  /* 予約 */
  .cta { text-align: center; padding-block: 160px; background: linear-gradient(rgba(17, 17, 16, .78), rgba(17, 17, 16, .9)), url("img/oil.jpg") center / cover; }
  .cta h2 { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: .18em; line-height: 1.8; }
  .cta p { margin-top: 18px; color: var(--tx-2); }
  .cta .btns { margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .cta .btns a { min-width: 260px; padding: 18px 28px; letter-spacing: .2em; font-size: 14px; border: 1px solid var(--tan); transition: background .4s var(--ease), color .4s var(--ease); }
  .cta .btns a.solid { background: var(--tan); color: var(--bk); font-weight: 500; }
  .cta .btns a:hover { background: transparent; color: var(--tan); }
  .cta .btns a:not(.solid):hover { background: var(--tan); color: var(--bk); }
  .foot { padding: 56px 0 72px; font-size: 12px; color: var(--tx-2); }
  .foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
  .sp-bar { display: none; }

  @media (prefers-reduced-motion: no-preference) {
    .rv { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
    .rv.is-in { opacity: 1; transform: none; }
    .hero h1, .hero .sub { animation: fadeIn 2.2s var(--ease) .3s both; }
    .hero .sub { animation-delay: .9s; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
  }
  @media (prefers-reduced-motion: reduce) { .hero .ph img { animation: none; transform: none; } html { scroll-behavior: auto; } }

  @media (max-width: 960px) {
    .wrap { padding-inline: 24px; }
    .head .wrap { padding-inline: 20px; height: 72px; }
    .nav { display: none; }
    .nav.open { display: flex; position: fixed; inset: 0; background: rgba(17, 17, 16, .97); flex-direction: column; justify-content: center; gap: 28px; font-size: 20px; z-index: 70; }
    .menu-btn { display: block; position: relative; z-index: 80; }
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero .ph { height: clamp(520px, 78vh, 720px); }
    .hero .ph::after { background: linear-gradient(180deg, rgba(17, 17, 16, .2) 0%, rgba(17, 17, 16, 0) 40%, var(--bk) 100%); }
    .hero .cp { position: absolute; inset: 0; padding: 120px 24px 60px; justify-content: flex-end; gap: 28px; align-items: flex-end; }
    .hero .sub { display: none; }
    .hero h1 { font-size: 30px; }
    .hero .scroll-line { display: none; }
    .sec { padding-block: 100px; }
    .ttl { margin-bottom: 48px; }
    .concept, .menu-grid, .msg .in, .access { grid-template-columns: 1fr; gap: 48px; }
    .menu-ph { position: static; aspect-ratio: 16 / 10; }
    .for-list { grid-template-columns: 1fr; }
    .for-list li { padding: 32px 26px; }
    .flow { grid-template-columns: 1fr; }
    .flow li { padding: 0 0 32px 24px; }
    .gal { grid-template-columns: 1fr 1fr; }
    .gal img:last-child { display: none; }
    .space { height: 70vh; max-height: 620px; }
    .space .in .wrap { padding-bottom: 60px; }
    .info div { grid-template-columns: 6em 1fr; gap: 12px; }
    .cta { padding-block: 100px 130px; }
    .sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
    .sp-bar a { text-align: center; padding: 16px 8px; font-size: 13px; letter-spacing: .16em; background: var(--bk-3); border-top: 1px solid var(--line); }
    .sp-bar a.solid { background: var(--tan); color: var(--bk); font-weight: 500; }
    .foot { padding-bottom: 110px; }
  }
  @media (max-width: 640px) { .sample .lg { display: none; } }

/* ---- 複数ページ用（下層ページの見出し・表など） ---- */
.nav a[aria-current="page"] { color: var(--tan); opacity: 1; }
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.8); }
.page-hero .wrap { position: relative; width: 100%; padding-bottom: 64px; padding-top: 180px; }
.page-hero .en { font-size: 22px; }
.page-hero h1 { margin-top: 8px; font-family: var(--f-min); font-weight: 500; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: .2em; }
.crumbs { margin: 18px 0 0; padding: 0; display: flex; gap: 10px; font-size: 12px; color: var(--tx-2); letter-spacing: .1em; }
.crumbs li { list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--tan); }
.crumbs a:hover { color: var(--tan); }
.news-strip { border-bottom: 1px solid var(--line); }
.news-strip .wrap { display: flex; gap: 28px; align-items: center; padding-block: 22px; font-size: 13px; }
.news-strip .en { font-size: 18px; }
.news-strip time { color: var(--tx-2); font-family: var(--f-en); letter-spacing: .1em; }
.news-strip a.all { margin-left: auto; color: var(--tan); font-family: var(--f-en); font-style: italic; letter-spacing: .12em; }
.lead-txt { max-width: 40em; margin: 0 auto; text-align: center; color: #d6d0c6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: brightness(.88); }
.split h3 { font-family: var(--f-min); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: .14em; line-height: 1.8; }
.split p { margin-top: 20px; color: #cfc9bf; }
.split .no { font-family: var(--f-en); font-size: 64px; color: var(--tan); line-height: 1; opacity: .6; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 22px 8px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 300; }
.table th { font-family: var(--f-min); font-weight: 500; letter-spacing: .12em; }
.table th small { display: block; font-family: var(--f-body); font-weight: 300; font-size: 12px; color: var(--tx-2); margin-top: 4px; letter-spacing: .08em; }
.table td.p { text-align: right; font-family: var(--f-en); font-size: 22px; white-space: nowrap; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--line); }
.notes { padding: 0; display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.notes li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 14px; color: #d6d0c6; }
.notes li::before { content: ""; width: 14px; height: 1px; background: var(--tan); margin-top: 1.05em; }
.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; margin-top: 40px; }
.ig img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: brightness(.85); transition: filter .6s var(--ease); }
.ig a:hover img { filter: brightness(1); }
.therapists { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.therapist img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: brightness(.85); }
.therapist .role { margin-top: 20px; font-size: 12px; color: var(--tan); letter-spacing: .2em; }
.therapist h3 { margin-top: 4px; font-family: var(--f-min); font-weight: 500; font-size: 22px; letter-spacing: .16em; }
.therapist p { margin-top: 12px; font-size: 14px; color: var(--tx-2); }
.next-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.next-links a { padding: 44px 32px; border-right: 1px solid var(--line); display: grid; gap: 4px; transition: background .5s var(--ease); }
.next-links a:last-child { border-right: 0; }
.next-links a:hover { background: var(--bk-2); }
.next-links .en { font-size: 22px; }
.next-links span:last-child { font-family: var(--f-min); letter-spacing: .14em; }
@media (max-width: 960px) {
  .page-hero { min-height: 340px; }
  .page-hero .wrap { padding: 130px 24px 44px; }
  .split, .therapists { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .split img { aspect-ratio: 4 / 3; }
  .ig { grid-template-columns: repeat(3, 1fr); }
  .next-links { grid-template-columns: 1fr; }
  .next-links a { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px; }
  .news-strip .wrap { flex-wrap: wrap; gap: 6px 16px; }
  .news-strip a.all { margin-left: 0; }
  .table th, .table td { padding: 18px 4px; }
}
.flow.f3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .flow.f3 { grid-template-columns: 1fr; } }

/* Googleマップ（仮で最寄り駅を表示） */
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map { position: relative; overflow: hidden; }
.map iframe { filter: grayscale(.85) invert(.9) contrast(.9); }
