/* あたまの休憩所 まどろみ（デモ） */
:root {
  --night: #1C2333;
  --night-2: #252D40;
  --akari: #E9C77B;
  --hai: #8A8F99;
  --kinari: #F1ECE2;
  --kinari-2: #C9C6C0;
  --line: rgba(138, 143, 153, .38);
  --fill: rgba(138, 143, 153, .15);
  --head: "Zen Antique Soft", "Hiragino Mincho ProN", serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.25, .6, .3, 1);
  --hh: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0; background: var(--night); color: var(--kinari);
  font: 400 clamp(15px, 1.05vw + 10px, 17px)/1.95 var(--body);
  letter-spacing: .03em; font-feature-settings: "palt" 0;
  overflow-wrap: anywhere; word-break: auto-phrase;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; line-height: 1.5; letter-spacing: .06em; text-wrap: balance; }
.num { font-family: var(--body); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ph { display: inline-block; }
.nw { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 1px solid var(--akari); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--night); padding: 8px 12px; }

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }

/* ヘッダー */
.head { position: sticky; top: 0; z-index: 50; height: var(--hh); background: rgba(28, 35, 51, .94); border-bottom: 1px solid rgba(138, 143, 153, .22); }
.head__in { height: 100%; display: flex; align-items: center; gap: 14px; width: min(100% - var(--gut) * 2, 1240px); margin-inline: auto; }
.brand { display: inline-flex; text-decoration: none; color: var(--kinari); }
.logo { display: block; height: 44px; width: auto; overflow: visible; }
.logo__sub { font: 400 9.5px var(--body); letter-spacing: .32em; fill: var(--kinari-2); }
.logo__name { font: 400 22px var(--head); letter-spacing: .14em; fill: var(--kinari); }
.mk__moon { fill: none; stroke: var(--akari); stroke-width: 1.4; stroke-linejoin: round; }
.mk__towel { fill: var(--night); stroke: var(--kinari-2); stroke-width: 1.4; }
.demo { font: 500 9px/1 var(--body); letter-spacing: .18em; color: var(--hai); border: 1px solid rgba(138, 143, 153, .5); padding: 3px 4px 2px 6px; align-self: center; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.gnav ul { list-style: none; display: flex; gap: clamp(16px, 2vw, 30px); margin: 0; padding: 0; }
.gnav li a { display: block; position: relative; text-decoration: none; font-size: 14px; letter-spacing: .08em; padding: 6px 0; color: var(--kinari-2); transition: color .3s; }
.gnav li a:hover { color: var(--kinari); }
.gnav li a[aria-current="page"] { color: var(--kinari); }
.gnav li a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 1.4em; height: 1px; margin-left: -.7em; background: var(--akari); }
.menu { display: none; }

/* ボタン・リンク */
.btn { display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: .7em 1.6em; border: 1px solid var(--akari); border-radius: 2px; color: var(--akari); text-decoration: none; font-size: 15px; letter-spacing: .1em; background: transparent; transition: background-color .4s; cursor: pointer; font-family: var(--body); }
.btn:hover { background: rgba(233, 199, 123, .08); }
.btn--sm { min-height: 40px; padding: .45em 1.25em; font-size: 14px; }
.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.tl { color: var(--kinari); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; letter-spacing: .08em; transition: border-color .3s; }
.tl:hover { border-color: var(--kinari); }
.act { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.small { font-size: .86em; color: var(--kinari-2); line-height: 1.8; }
.cap { margin-top: 10px; font-size: 13px; color: var(--hai); letter-spacing: .06em; line-height: 1.7; }

/* 区画の頭（たたんだタオル）・区切り（しずく） */
.h2, .h1 { display: flex; align-items: center; gap: 14px; }
.h2 { font-size: clamp(23px, 2.2vw + 10px, 34px); margin-bottom: clamp(22px, 3vw, 36px); }
.h1 { font-size: clamp(30px, 3.4vw + 12px, 52px); margin-bottom: 22px; }
.h3 { font-size: clamp(19px, 1.2vw + 12px, 24px); margin-bottom: 16px; }
.towel { flex: none; width: 28px; height: 18px; color: var(--hai); }
.h1 .towel { width: 34px; height: 22px; }
.sep { position: relative; height: 9px; width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.sep::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: rgba(138, 143, 153, .4); }
.sep svg { position: absolute; left: 50%; top: 0; width: 18px; height: 9px; margin-left: -9px; background: var(--night); padding: 0 5px; overflow: visible; }

.sec { padding-block: clamp(72px, 9vw, 136px); }
.lead { max-width: 36em; color: var(--kinari); }

/* 見えたら出す（JSがあるときだけ隠す） */
html.js .rv { opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .rv.is-in { opacity: 1; transform: none; }

/* 最初の画面 */
.hero { position: relative; height: max(520px, calc(92svh - var(--hh))); max-height: 900px; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 35, 51, .82) 0%, rgba(28, 35, 51, .45) 38%, rgba(28, 35, 51, 0) 62%), linear-gradient(0deg, rgba(28, 35, 51, .9) 0%, rgba(28, 35, 51, 0) 34%); }
.hero__veil { position: absolute; inset: 0; background: var(--night); opacity: 0; animation: veil 3s ease-out both; }
@keyframes veil { from { opacity: .5; } to { opacity: 0; } }
.hero__txt { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vh, 80px); }
.hero__txt .wrap { max-width: var(--wrap); }
.hero h1 { font-size: clamp(28px, 2.6vw + 12px, 50px); line-height: 1.45; letter-spacing: .08em; text-shadow: 0 1px 18px rgba(28, 35, 51, .6); }
.hero h1 span { display: block; white-space: nowrap; }
@media (max-width: 400px) { .hero h1 { font-size: 24.5px; letter-spacing: .06em; } }
@media (max-width: 330px) { .hero h1 span { white-space: normal; } }
.hero__lead { margin-top: 22px; max-width: 30em; color: var(--kinari); }
.hero .act { margin-top: 28px; }

/* 60分と90分 */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.course { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: start; }
.course p { grid-column: 2; }
.clock { grid-row: span 2; width: 84px; height: 84px; border: 1px solid var(--akari); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--akari); line-height: 1; }
.clock b { font: 500 28px/1 var(--body); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.clock small { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .2em; color: var(--akari); }
.price { font: 500 clamp(24px, 1.4vw + 16px, 30px)/1.3 var(--body); font-variant-numeric: tabular-nums; color: var(--akari); letter-spacing: .02em; margin: 6px 0 10px; }
.price small { font-size: 14px; margin-left: 2px; }
.courses-note { margin-top: 28px; }

/* 図 共通 */
.fig { margin: clamp(40px, 5vw, 64px) 0 0; }
.fig__ttl { font: 400 clamp(17px, .6vw + 14px, 20px)/1.5 var(--head); letter-spacing: .1em; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; color: var(--kinari); }
.fig__ttl::after { content: ""; flex: 1; height: 1px; background: rgba(138, 143, 153, .3); }
.fig__note { margin-top: 16px; font-size: 13px; color: var(--hai); line-height: 1.7; }

/* 図 H-1 */
.bands { display: grid; gap: 26px; }
.band { display: grid; grid-template-columns: 5.4em 1fr; align-items: center; }
.band__name { margin: 0; font-size: 15px; letter-spacing: .1em; }
.band__name .num { color: var(--akari); font-size: 22px; margin-right: 2px; }
.band__track { display: flex; align-items: center; gap: 18px; }
.band__bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; height: 208px; width: calc((100% - 7.5em) * var(--total) / 90); }
.seg { flex: var(--m) 1 0; min-width: 0; background: var(--fill); border-top: 1px solid var(--hai); writing-mode: vertical-rl; font-size: 13px; line-height: 1.5; letter-spacing: .08em; padding: 12px 0; display: flex; align-items: center; justify-content: flex-start; gap: 10px; color: var(--kinari); }
.seg__t { flex: 0 1 auto; min-height: 0; }
.seg__m { flex: none; color: var(--kinari-2); font-size: 12px; white-space: nowrap; }
.seg__m .tcy { text-combine-upright: all; }
.seg.is-plus { background: transparent; border-top-color: var(--akari); box-shadow: inset 0 0 0 1px var(--akari); }
.seg.is-plus .seg__m { color: var(--akari); }
.band__price { margin: 0; color: var(--akari); font-size: 19px; white-space: nowrap; }
html.js .fig-h1 .seg { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 70ms); }
html.js .fig-h1.is-in .seg { opacity: 1; transform: none; }

/* 図 H-2 */
.fig-h2 .tlines { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.fig-h2--one .tlines { grid-template-columns: 1fr; }
.tline__head { margin: 0 0 14px; font-size: 15px; letter-spacing: .1em; color: var(--kinari-2); }
.tline__head .num { color: var(--akari); font-size: 20px; }
.tline__list { --u: .62rem; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr auto; }
.tline__list > li:not([class]) { grid-column: 1; position: relative; padding-left: 4.9em; min-height: max(2.2em, calc(var(--g) * var(--u))); font-size: 15px; line-height: 1.6; padding-bottom: 6px; }
.tline__list > li:not([class]) time { position: absolute; left: 0; top: 0; color: var(--kinari-2); }
.tline__list > li:not([class])::before { content: ""; position: absolute; left: 3.62em; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--night); border: 1px solid var(--hai); z-index: 1; }
.tline__list::before { content: ""; position: absolute; left: calc(3.62em + 3.5px); top: .8em; bottom: 1.4em; width: 1px; background: var(--hai); font-size: 15px; }
.tline__brace { grid-column: 2; align-self: stretch; position: relative; margin: .8em 0 -.8em 14px; padding: 0; border: 1px solid var(--akari); border-left: 0; width: 12px; border-radius: 0 3px 3px 0; }
.tline__brace > span { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-size: 13px; letter-spacing: .14em; color: var(--akari); white-space: nowrap; }
.tline__brace .tcy { text-combine-upright: all; }
.tline__brace { margin-right: 24px; }
.tline__run { position: absolute; left: 3.62em; top: .5em; bottom: 1.15em; width: 7px; overflow: hidden; font-size: 15px; pointer-events: none; z-index: 2; }
.tline__run i { display: block; height: 100%; }
.tline__run i::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--akari); }
html.js .tline__run i { animation: run 12s linear infinite; }
@keyframes run { from { transform: translateY(0); } to { transform: translateY(calc(100% - 7px)); } }
.tabs { display: none; }

/* 写真と文の組 */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pair--rev > .pair__img { order: -1; }
.pair__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bleed-r { margin-right: calc((100vw - min(100vw - var(--gut) * 2, var(--wrap))) / -2); }
.bleed-l { margin-left: calc((100vw - min(100vw - var(--gut) * 2, var(--wrap))) / -2); }
.isu-top .pair__img img { aspect-ratio: 16 / 10; }
.hito .pair__img img { aspect-ratio: 5 / 4; }
.hito .small { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(138, 143, 153, .3); }

/* よくある質問 */
.qa { margin: 0; max-width: 42em; }
.qa dt { position: relative; padding-left: 26px; font-weight: 500; letter-spacing: .06em; }
.qa dt::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'%3E%3Cpath d='M4.5 .8C3 3.4 1 5.6 1 7.9a3.5 3.5 0 0 0 7 0C8 5.6 6 3.4 4.5.8Z' fill='none' stroke='%23E9C77B' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / contain; }
.qa dd { margin: 8px 0 0; padding: 0 0 26px 26px; color: var(--kinari-2); }
.qa dd + dt { padding-top: 26px; border-top: 1px solid rgba(138, 143, 153, .3); }
.faq-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); }

/* 表 */
.info { width: 100%; border-collapse: collapse; }
.info th, .info td { text-align: left; vertical-align: top; padding: 15px 0; border-bottom: 1px solid rgba(138, 143, 153, .3); font-weight: 400; }
.info tr:first-child th, .info tr:first-child td { border-top: 1px solid rgba(138, 143, 153, .3); }
.info th { width: 8.5em; color: var(--kinari-2); padding-right: 1.5em; letter-spacing: .08em; }
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.tbl { width: 100%; border-collapse: collapse; background: var(--night-2); }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(138, 143, 153, .25); font-weight: 400; }
.tbl thead th { font-size: 13px; color: var(--kinari-2); letter-spacing: .1em; border-bottom-color: rgba(138, 143, 153, .5); }
.tbl td.yen, .tbl th.yen { text-align: right; white-space: nowrap; }
.tbl .yen .num, .tbl td .num { color: var(--akari); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl--sm { font-size: 14px; }
.tbl--sm th { width: 11em; color: var(--kinari-2); }
.scroll-x { overflow-x: auto; }

/* 下層 */
.phead { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(24px, 3vw, 40px); }
.phead .lead { margin-top: 4px; }
.banner { position: relative; height: 40vh; min-height: 240px; max-height: 460px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner--room { height: min(62vh, 640px); }
.banner--room img { object-position: 50% 60%; }
.block { padding-block: clamp(48px, 6vw, 88px); }
.block + .block { border-top: 1px solid rgba(138, 143, 153, .2); }
.foot-links { padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; gap: 18px 36px; }

/* コースと料金 */
.cdet { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.cdet .clock { width: 104px; height: 104px; }
.cdet .clock b { font-size: 36px; }
.cdet__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cdet--rev { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); }
.cdet--rev .cdet__img { order: -1; }
.narrow { max-width: 40em; }
.refund { margin-top: 26px; max-width: 34em; }
.tbl caption { caption-side: top; text-align: left; font-size: 13px; color: var(--hai); padding-bottom: 8px; letter-spacing: .08em; }

/* 来てから帰るまで */
.notneed { border: 1px solid rgba(138, 143, 153, .4); padding: clamp(24px, 4vw, 44px); max-width: 44em; }

/* 椅子とシャンプー台 */
.fig-h3 svg { width: 100%; height: auto; overflow: visible; }
.fig-h3 .ch { opacity: 1; }
html.js .fig-h3 .ch { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .fig-h3.is-in .ch { opacity: 1; transform: none; }
.d-thin { fill: none; stroke: var(--hai); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-akari { fill: none; stroke: var(--akari); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-fill { fill: var(--fill); stroke: var(--hai); stroke-width: 1.5; stroke-linejoin: round; }
.d-txt { font: 400 13px var(--body); fill: var(--kinari-2); letter-spacing: .06em; }
.d-txt--k { fill: var(--kinari); }
.d-txt--a { fill: var(--akari); }
.d-dot { fill: var(--akari); }
.name-story { text-align: left; }
.name-story p { font: 400 clamp(18px, 1vw + 13px, 23px)/2.1 var(--head); letter-spacing: .08em; max-width: 26em; }
.fig-h4 svg { width: 100%; height: auto; max-width: 860px; display: block; }
html.js .fig-h4 .route, html.js .map .route { opacity: 0; transition: opacity 1.2s var(--ease) .3s; }
html.js .fig-h4.is-in .route, html.js .map.is-in .route { opacity: 1; }
.seg .tcy { text-combine-upright: all; }

/* ご予約 */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(138, 143, 153, .4); border-bottom: 1px solid rgba(138, 143, 153, .4); }
.way { padding: clamp(24px, 3.4vw, 40px) clamp(0px, 3vw, 40px) clamp(24px, 3.4vw, 40px) 0; }
.way + .way { border-left: 1px solid rgba(138, 143, 153, .4); padding-left: clamp(20px, 3.4vw, 40px); }
.way__tel { display: inline-block; margin: 4px 0 10px; font: 500 clamp(26px, 1.6vw + 16px, 34px)/1.3 var(--body); font-variant-numeric: tabular-nums; color: var(--akari); text-decoration: none; letter-spacing: .04em; }
.form { max-width: 40em; display: grid; gap: 22px; }
.fld { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > label, .fld legend { font-size: 15px; letter-spacing: .06em; padding: 0; }
.req { font-size: 11px; color: var(--akari); border: 1px solid var(--akari); border-radius: 2px; padding: 1px 5px; margin-left: 8px; letter-spacing: .1em; vertical-align: 2px; }
.opt { font-size: 12px; color: var(--hai); margin-left: 8px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form input[type="time"], .form textarea { width: 100%; font: 400 16px/1.6 var(--body); color: var(--kinari); background: var(--night-2); border: 1px solid rgba(138, 143, 153, .5); border-radius: 2px; padding: 11px 13px; color-scheme: dark; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 1px solid var(--akari); outline-offset: 0; border-color: var(--akari); }
.choice { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.choice label, .agree label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 32px; }
.form input[type="radio"], .form input[type="checkbox"] { accent-color: var(--akari); width: 18px; height: 18px; margin: 0; }
.wish { display: grid; grid-template-columns: 7em 1fr 1fr; gap: 10px; align-items: center; }
.wish span { font-size: 14px; color: var(--kinari-2); }
.purpose { font-size: 14px; color: var(--kinari-2); border-left: 1px solid var(--akari); padding-left: 14px; }
.form.is-checked :invalid { border-color: #E59A8C; }
.form.is-checked .agree input:invalid + span { color: #E59A8C; }
.after { font-size: 13px; color: var(--hai); }
.sameday { border: 1px solid rgba(233, 199, 123, .55); padding: clamp(24px, 4vw, 48px); max-width: 46em; }
.map svg { width: 100%; height: auto; display: block; max-width: 640px; }
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* フッター */
.foot { border-top: 1px solid rgba(138, 143, 153, .3); padding-block: 56px 40px; font-size: 14px; color: var(--kinari-2); }
.foot__in { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; }
.foot .logo { height: 50px; }
.foot__info p { margin: 0 0 4px; }
.foot__info a { text-decoration: none; }
.foot__links { grid-column: 1 / -1; list-style: none; padding: 20px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; border-top: 1px solid rgba(138, 143, 153, .2); }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--kinari); }
.foot__copy { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--hai); }

/* 768px 以下 */
@media (max-width: 960px) {
  .gnav li a { font-size: 13px; }
  .gnav ul { gap: 14px; }
}
@media (max-width: 860px) {
  .menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; background: none; border: 1px solid rgba(138, 143, 153, .5); border-radius: 2px; color: var(--kinari); font: 500 11px/1 var(--body); letter-spacing: .2em; padding: 0 12px; height: 40px; cursor: pointer; }
  .menu__bars { position: relative; width: 16px; height: 1px; background: currentColor; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .3s; }
  .menu__bars::before { top: -5px; } .menu__bars::after { top: 5px; }
  .is-menu .menu__bars { background: transparent; }
  .is-menu .menu__bars::before { transform: translateY(5px) rotate(45deg); }
  .is-menu .menu__bars::after { transform: translateY(-5px) rotate(-45deg); }
  .gnav { position: fixed; left: 0; right: 0; top: var(--hh); bottom: 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 28px; padding: 28px var(--gut) 40px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; overflow-y: auto; }
  .is-menu .gnav { visibility: visible; opacity: 1; transition: opacity .3s; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li a { font-size: 17px; padding: 16px 0; border-bottom: 1px solid rgba(138, 143, 153, .25); }
  .gnav li a[aria-current="page"]::after { left: auto; right: 0; bottom: 50%; margin: 0; }
  .gnav .btn { align-self: flex-start; }
  .courses { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .pair--rev > .pair__img, .pair > .pair__img { order: -1; }
  .bleed-r, .bleed-l { margin-inline: calc(var(--gut) * -1); }
  .faq-top, .access, .place { grid-template-columns: 1fr; }
  .cdet, .cdet--rev { grid-template-columns: auto minmax(0, 1fr); }
  .cdet__img { grid-column: 1 / -1; order: 3 !important; }
  .cdet--rev .cdet__img { order: 3 !important; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { height: max(540px, calc(88svh - var(--hh))); }
  .hero__img { object-position: 56% 50%; }
  .notneed .h2 { font-size: 21px; }
  .hero__shade { background: linear-gradient(0deg, rgba(28, 35, 51, .94) 0%, rgba(28, 35, 51, .7) 45%, rgba(28, 35, 51, 0) 75%); }
  .act .btn { width: 100%; justify-content: center; }
  .hero .act .btn { width: auto; }
  /* H-1 は縦の帯にする */
  .bands { grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .band { grid-template-columns: 1fr; gap: 10px; }
  .band__track { flex-direction: column; align-items: stretch; gap: 12px; }
  .band__bar { flex-direction: column; width: auto; height: calc(var(--total) * 8.6px); }
  .seg { writing-mode: horizontal-tb; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: baseline; gap: 2px 8px; padding: 2px 8px; font-size: 12px; line-height: 1.35; border-top: 0; border-left: 1px solid var(--hai); }
  .seg.is-plus { border-left-color: var(--akari); }
  .seg .tcy { text-combine-upright: none; }
  html.js .fig-h1 .seg { transform: translateX(-6px); }
  .fig-h2 .tlines { grid-template-columns: 1fr; }
  html.js .fig-h2.has-tabs .tabs { display: flex; gap: 0; margin-bottom: 22px; border: 1px solid rgba(138, 143, 153, .5); border-radius: 2px; width: fit-content; }
  .tabs button { font: 500 14px/1 var(--body); letter-spacing: .1em; color: var(--kinari-2); background: none; border: 0; padding: 12px 22px; min-height: 44px; cursor: pointer; }
  .tabs button[aria-selected="true"] { color: var(--akari); box-shadow: inset 0 -1px 0 var(--akari); }
  html.js .fig-h2.has-tabs .tline[hidden] { display: none; }
  .tline__list > li:not([class]) { font-size: 14px; padding-left: 4.6em; }
  .tline__list > li:not([class])::before, .tline__run { left: 3.4em; }
  .tline__list::before { left: calc(3.4em + 3.5px); font-size: 14px; }
  .tline__run { font-size: 14px; }
  .ways { grid-template-columns: 1fr; }
  .way { padding-right: 0; }
  .way + .way { border-left: 0; border-top: 1px solid rgba(138, 143, 153, .4); padding-left: 0; }
  .wish { grid-template-columns: 1fr 1fr; }
  .wish span { grid-column: 1 / -1; }
  .info th { width: 5.6em; padding-right: 1em; }
  .tbl th, .tbl td { padding: 12px 12px; }
  .tbl--sm th { width: 7.5em; }
  .clock { width: 72px; height: 72px; }
  .clock b { font-size: 24px; }
  .cdet .clock { width: 84px; height: 84px; }
  .cdet .clock b { font-size: 28px; }
  .demo { display: none; }
  .head .demo { display: inline-block; }
}
@media (max-width: 420px) {
  .logo { height: 38px; }
  .demo { padding: 2px 3px 1px 4px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__veil { animation: none; opacity: 0; }
  html.js .rv, html.js .fig-h1 .seg, html.js .fig-h3 .ch { opacity: 1; transform: none; transition: none; }
  .tline__run i { animation: none !important; }
  html.js .fig-h4 .route, html.js .map .route { opacity: 1; transition: none; }
  *, *::before, *::after { scroll-behavior: auto; }
}
.chairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
html.js .fig-h3 .chair:nth-child(2) .ch { transition-delay: .4s; }
html.js .fig-h3 .chair:nth-child(3) .ch { transition-delay: .8s; }
@media (max-width: 640px) { .chairs { grid-template-columns: 1fr; max-width: 300px; gap: 4px; } }
.map .d-txt { font-size: 18px; }
.map .d-txt--a { font-size: 20px; }
@media (max-width: 960px) and (min-width: 641px) { .hero__shade { background: linear-gradient(0deg, rgba(28, 35, 51, .92) 0%, rgba(28, 35, 51, .6) 50%, rgba(28, 35, 51, 0) 78%); } }
