/* 114 紫雲温泉 — K06「左固定・右だけ流れる」。PC は左の面（縦に3つに割った写真）を固定し、右だけ流れる。
   スマホ・JSなしは左が上に来る1列。色と書体は共通の13変数だけ。宵の区切りは .t-night が同じ名前の変数を上書きする */
:root {
  --c-bg: #f7f4f9;
  --c-bg-alt: #efe9f3;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-line: #9b84b8;
  --c-accent: #6a4f8c;
  --c-accent-text: #6a4f8c;
  --c-on-accent: #ffffff;
  --c-2: #e2d2f3;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-head: "Zen Old Mincho", "Noto Sans JP", serif;
  --font-en: "Bellefair", "Noto Sans JP", serif;
  --header-h: 64px;
  --ease: cubic-bezier(.3, .6, .2, 1);
}
.t-night {
  --c-bg: #1f1829;
  --c-bg-alt: #2a2037;
  --c-text: #e8e0f0;
  --c-sub: #c9b5e0;
  --c-line: #7a6396;
  --c-accent: #c9b5e0;
  --c-accent-text: #d9c8ec;
  --c-on-accent: #1f1829;
  --c-2: #4a3a63;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ja); font-size: 16px; line-height: 2; overflow-x: hidden; padding-bottom: 76px; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dd, li, summary { word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.header { position: sticky; top: 0; z-index: 30; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.header__inner { height: var(--header-h); padding: 0 20px; display: flex; align-items: center; gap: 12px; justify-content: space-between; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; flex: none; min-height: 44px; }
.logo__ja { font-family: var(--font-head); font-size: 20px; letter-spacing: .12em; }
.logo__en { font-family: var(--font-en); font-size: 15px; letter-spacing: .24em; color: var(--c-accent-text); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; background: var(--c-accent); color: var(--c-on-accent); font-weight: 500; letter-spacing: .08em; text-decoration: none; white-space: nowrap; flex: none; border: 1px solid var(--c-accent); transition: background-color .4s var(--ease), color .4s var(--ease); }
.btn:hover { background: transparent; color: var(--c-accent-text); }
.btn--lg { min-height: 56px; padding: 0 36px; }
.header__btn { display: none; }

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 1px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; right: 0; top: 100%; width: min(100%, 380px); background: var(--c-bg); border: 1px solid var(--c-line); padding: 8px 24px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; border-bottom: 1px solid var(--c-line); }

/* ===== 左の面：縦に3つに割った写真＋中央の縦書き ===== */
.cover { position: relative; height: max(620px, calc(100svh - var(--header-h) - 76px)); overflow: hidden; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.strips { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--c-bg); }
.strip { overflow: hidden; min-width: 0; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip:nth-child(2) img { object-position: 30% 50%; }
.strip:nth-child(3) img { object-position: 20% 50%; }
.is-motion .strip img { animation: slow 8s var(--ease) both; }
.is-motion .strip:nth-child(2) img { animation-delay: .4s; }
.is-motion .strip:nth-child(3) img { animation-delay: .8s; }
@keyframes slow { from { transform: scale(1); } to { transform: scale(1.12); } }
.band { position: absolute; left: 50%; top: 9%; transform: translateX(-50%); width: min(60%, 240px); height: 66%; display: flex; flex-direction: row; align-items: stretch; justify-content: center; gap: 18px; padding: 24px 10px; background: color-mix(in srgb, var(--c-bg) 90%, transparent); border: 1px solid var(--c-line); }
.band__en { font-family: var(--font-en); font-size: 15px; letter-spacing: .2em; color: var(--c-accent-text); writing-mode: vertical-rl; margin-left: 0; }
.band__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 7vw, 38px); line-height: 1.5; letter-spacing: .12em; writing-mode: vertical-rl; flex: none; color: var(--c-text); }
.cover__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: var(--c-bg); border-top: 1px solid var(--c-line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cover__bartext { font-size: 15px; line-height: 1.6; color: var(--c-sub); }
.cover__bartext span { display: block; font-family: var(--font-head); font-size: 17px; color: var(--c-text); letter-spacing: .08em; }
.cover__bar .btn { display: none; }

/* ===== 右（流れる） ===== */
.sec { padding: 72px 24px; background: var(--c-bg); color: var(--c-text); }
.sec--alt { background: var(--c-bg-alt); }
.sec--night { background: var(--c-bg); }
.en { font-family: var(--font-en); font-size: 15px; letter-spacing: .24em; color: var(--c-accent-text); margin-bottom: 18px; }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 7.4vw, 40px); line-height: 1.55; letter-spacing: .1em; margin-bottom: 36px; }
.note { margin: 14px 0 26px; color: var(--c-sub); }

.worry li { padding: 20px 0; border-top: 1px solid var(--c-line); font-family: var(--font-head); font-size: 18px; line-height: 1.9; letter-spacing: .06em; }
.worry li:last-child { border-bottom: 1px solid var(--c-line); }

.pen { display: grid; gap: 4px; margin-bottom: 40px; }
.pen__l { width: fit-content; max-width: 100%; font-family: var(--font-head); font-size: clamp(19px, 5.4vw, 26px); line-height: 2.1; letter-spacing: .08em; }
.pen mark { color: inherit; background: linear-gradient(transparent 62%, var(--c-2) 62%) no-repeat left / 100% 100%; transition: background-size .5s var(--ease); }
.sec.is-pen .pen__l { clip-path: inset(-10px calc((1 - var(--w, 0)) * 100%) -10px 0); }
.sec.is-pen .pen__l mark { background-size: 0 100%; }
.sec.is-pen .pen__l.is-done mark { background-size: 100% 100%; }
.pen__tip { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -2px; background: var(--c-accent); border-radius: 50%; opacity: 0; pointer-events: none; z-index: 20; display: none; }
.sec.is-pen .pen__tip { display: block; }

.spots { display: grid; gap: 44px; }
.spot figure { overflow: hidden; margin-bottom: 14px; }
.spot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spot__t { font-family: var(--font-head); font-weight: 600; font-size: 22px; letter-spacing: .2em; margin-bottom: 6px; }
.spot p { color: var(--c-sub); }

.steps { display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--c-line); }
.steps li:last-child { border-bottom: 1px solid var(--c-line); }
.steps__no { font-family: var(--font-head); font-size: 44px; line-height: 1.1; color: var(--c-accent-text); }
.steps h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: .08em; }
.steps p { color: var(--c-sub); }

.voices { display: grid; gap: 28px; }
.voices li { padding: 4px 0 4px 20px; border-left: 1px solid var(--c-accent); }
.voices__by { margin-top: 4px; color: var(--c-sub); font-size: 15px; }

.plans { display: grid; gap: 20px; }
.plan { padding: 28px 24px; border: 1px solid var(--c-line); background: var(--c-bg); }
.plan--main { border-color: var(--c-accent); }
.plan h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: .12em; }
.plan__price { font-family: var(--font-en); font-size: 36px; line-height: 1.4; color: var(--c-accent-text); }

.faq details { border-top: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 14px 40px 14px 0; position: relative; display: flex; align-items: center; font-family: var(--font-head); font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--c-sub); }

.form { display: grid; gap: 20px; max-width: 520px; }
.form label { display: grid; gap: 6px; }
.form input, .form select { min-height: 52px; padding: 0 14px; border: 1px solid var(--c-line); background: var(--c-bg-alt); color: var(--c-text); font: inherit; border-radius: 0; }
.form .btn { cursor: pointer; font-family: inherit; font-size: 16px; }

.footer { padding: 36px 24px 44px; background: var(--c-bg-alt); border-top: 1px solid var(--c-line); }
.footer__logo { font-family: var(--font-head); font-size: 18px; letter-spacing: .1em; }
.footer__fiction { font-size: 15px; color: var(--c-sub); }

.fixcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 20px; background: var(--c-bg); border-top: 1px solid var(--c-line); }
.fixcta .btn { width: 100%; }

@media (min-width: 768px) {
  .header__inner { padding: 0 32px; }
  .sec { padding: 96px 56px; }
  .spots { grid-template-columns: 1fr 1fr; gap: 56px 32px; }
  .spot--b, .spot--d { margin-top: 56px; }
  .plans { grid-template-columns: 1fr 1fr; }
}

/* ===== PC：左を固定・右だけ流れる ===== */
@media (min-width: 1080px) {
  body { padding-bottom: 0; }
  .header__btn { display: inline-flex; }
  .spmenu, .fixcta { display: none; }
  .layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
  .cover { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); border-bottom: 0; border-right: 1px solid var(--c-line); }
  .band { top: 7%; height: 70%; }
  .cover__bar { padding: 16px 28px; }
  .cover__bar .btn { display: inline-flex; }
  .flow { min-width: 0; }
  .sec { padding: 120px 72px; }
  .spots { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip img { animation: none; }
  .btn, .pen mark { transition: none; }
}
