/* 064 ホテル ステイみかん ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fffaf0;
  --c-orange: #ff9a3c;
  --c-yellow: #ffe08a;
  --c-peach: #ffe3cc;
  --c-ink: #4a2a10;
  --c-accent-text: #a84a00;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "M PLUS Rounded 1c", sans-serif;
  --font-ja: "Darumadrop One", "M PLUS Rounded 1c", sans-serif;
  --font-en: "Baloo 2", "M PLUS Rounded 1c", sans-serif;
  --line: 3px solid var(--c-ink);
  --radius: 24px;
  --shadow: 0 6px 0 var(--c-ink);
  --head: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.95; color: var(--c-text); background: var(--c-bg); }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
strong { font-weight: 800; color: var(--c-ink); background: linear-gradient(transparent 62%, var(--c-yellow) 62%); }

.en { font-family: var(--font-en); font-weight: 800; font-size: 19px; color: var(--c-accent-text); line-height: 1.2; }
.title { font-family: var(--font-ja); font-weight: 800; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.35; color: var(--c-ink); margin: 6px 0 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: var(--line); border-radius: 999px; font-weight: 800; font-size: 16px; color: var(--c-ink); text-decoration: none; box-shadow: 0 4px 0 var(--c-ink); white-space: nowrap; flex: none; transition: transform .15s, box-shadow .15s; }
.btn:hover, .btn:focus-visible { transform: translateY(3px); box-shadow: 0 1px 0 var(--c-ink); }
.btn--orange { background: var(--c-orange); }
.btn--white { background: #fff; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* ===== ヘッダー ===== */
.header { position: sticky; top: 0; z-index: 60; background: var(--c-bg); border-bottom: var(--line); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--head); padding: 0 20px; max-width: 1320px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; color: var(--c-ink); white-space: nowrap; flex: none; }
.logo__mikan { width: 36px; height: 36px; }
.logo__mikan circle { fill: var(--c-orange); stroke: var(--c-ink); stroke-width: 3; }
.logo__mikan .leaf { fill: #7cc56f; stroke: var(--c-ink); stroke-width: 2.5; stroke-linejoin: round; }
.logo__text { font-family: var(--font-ja); font-weight: 800; font-size: 22px; line-height: 1; }
.logo__sub { display: block; font-family: var(--font); font-weight: 800; font-size: 15px; margin-bottom: 2px; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; }
@media (min-width: 1080px) {
  .header__inner { padding: 0 40px; gap: 32px; }
  .gnav { display: flex; gap: 8px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--c-ink); }
  .gnav a:hover { background: var(--c-yellow); }
  .header__btn { margin-left: 0; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; border: var(--line); border-radius: 16px; background: var(--c-yellow); }
.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: 20px; height: 3px; border-radius: 3px; background: var(--c-ink); position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.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; left: 12px; right: 12px; top: calc(100% + 8px); background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 50px; text-decoration: none; font-weight: 800; color: var(--c-ink); border-bottom: 2px dotted var(--c-peach); }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== 演出①：静止画を動かす＋角丸カードに縮む（A03） ===== */
.hero { background: var(--c-peach); }
.hero__stage { position: relative; height: calc(100svh - var(--head)); min-height: 600px; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; overflow: hidden; background: var(--c-orange); }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
/* 縦長の画面では窓とカーテンだけになるので、ベッドと黄色の枕が入る右寄りで切る（本物の写真で調整） */
@media (max-width: 767px) { .hero__img { object-position: 78% 50%; } }
.hero__light { position: absolute; inset: -20%; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(255, 244, 214, 0) 0 60px, rgba(255, 244, 214, .28) 60px 110px, rgba(255, 244, 214, 0) 110px 220px); mix-blend-mode: screen; }
.hero__time { position: absolute; top: 18%; left: 24px; display: flex; align-items: center; gap: 8px; background: var(--c-bg); border: var(--line); border-radius: 999px; padding: 4px 16px; font-weight: 800; font-size: 15px; color: var(--c-ink); }
.hero__rec { width: 12px; height: 12px; border-radius: 50%; background: var(--c-orange); border: 2px solid var(--c-ink); }
.hero__copy { position: absolute; left: 20px; right: 20px; bottom: 40px; background: rgba(255, 250, 240, .96); border: var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 24px 22px 28px; }
.hero__title { font-family: var(--font-ja); font-weight: 800; font-size: clamp(34px, 8vw, 64px); line-height: 1.25; color: var(--c-ink); }
.hero__lead { margin: 10px 0 18px; color: var(--c-ink); }
.hero__morning { position: absolute; top: 0; left: 0; right: 0; text-align: center; font-family: var(--font-en); font-weight: 800; font-size: clamp(30px, 6vw, 64px); line-height: 1; color: var(--c-ink); display: none; }
@media (min-width: 768px) {
  .hero__copy { left: 7%; right: auto; bottom: 14%; width: min(560px, 60%); padding: 36px 40px 40px; }
  .hero__time { top: 21%; left: 7%; }
}
/* 動く版：写真がゆっくり寄りながら横に流れ、光の帯がゆらぐ（動画風） */
.is-motion .hero__img { animation: drift 16s ease-in-out infinite alternate; }
.is-motion .hero__light { animation: glow 7s ease-in-out infinite alternate; }
.is-motion .hero__rec { animation: blink 1.4s steps(2, start) infinite; }
.is-motion .hero__morning { display: block; }
@keyframes drift { from { transform: scale(1) translateX(0); } to { transform: scale(1.12) translateX(-3%); } }
@keyframes glow { from { opacity: .35; transform: translateX(-4%); } to { opacity: 1; transform: translateX(4%); } }
@keyframes blink { to { visibility: hidden; } }

/* ===== 本編：B09 横に置いた目次 ===== */
.body { max-width: 1240px; margin: 0 auto; }
.toc { position: sticky; top: var(--head); z-index: 40; background: var(--c-bg); border-bottom: var(--line); }
.toc__title { display: none; }
.toc ol { display: flex; gap: 8px; overflow-x: auto; padding: 10px 20px; scrollbar-width: none; }
.toc ol::-webkit-scrollbar { display: none; }
.toc a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 2px solid var(--c-ink); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 800; font-size: 15px; color: var(--c-ink); white-space: nowrap; transition: background-color .3s; }
.toc__no { font-family: var(--font-en); font-size: 15px; color: var(--c-accent-text); }
.toc a[aria-current="true"] { background: var(--c-orange); }
.toc a[aria-current="true"] .toc__no { color: var(--c-ink); }
.content { padding: 0 20px; min-width: 0; }
.sec { padding: 72px 0; border-bottom: 3px dotted var(--c-peach); }
.sec:last-child { border-bottom: 0; }
.sec > p + p { margin-top: 14px; }
@media (min-width: 1080px) {
  .body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 0 40px; }
  .toc { top: calc(var(--head) + 40px); align-self: start; margin-top: 72px; border: var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 20px 16px; }
  .toc__title { display: block; font-family: var(--font-ja); font-weight: 800; font-size: 24px; color: var(--c-ink); text-align: center; margin-bottom: 8px; }
  .toc ol { flex-direction: column; gap: 6px; padding: 0; overflow: visible; position: relative; }
  .toc a { border-color: transparent; background: transparent; padding: 0 12px; font-size: 16px; }
  .toc a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c-ink); background: #fff; flex: none; transition: transform .3s, background-color .3s; }
  .toc a[aria-current="true"] { background: var(--c-yellow); border-color: var(--c-ink); }
  .toc a[aria-current="true"]::before { background: var(--c-orange); transform: scale(1.3); }
  .content { padding: 0; }
  .sec { padding: 96px 0; }
}

.hello__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hello__chips li { background: var(--c-yellow); border: 2px solid var(--c-ink); border-radius: 999px; padding: 4px 16px; font-weight: 800; color: var(--c-ink); }

/* お部屋（scroll-snap） */
.rooms__lead { color: var(--c-sub); margin-top: -10px; margin-bottom: 20px; }
.slider { position: relative; }
.slider__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; }
.room { flex: 0 0 82%; max-width: 420px; scroll-snap-align: start; background: #fff; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: var(--line); }
.room__body { padding: 18px 20px 22px; }
.room__tag { display: inline-block; background: var(--c-peach); border-radius: 999px; padding: 0 12px; font-weight: 800; font-size: 15px; color: var(--c-ink); }
.room h3 { font-family: var(--font-ja); font-weight: 800; font-size: 28px; color: var(--c-ink); margin: 6px 0 4px; }
.room__price { margin-top: 10px; font-weight: 800; color: var(--c-ink); }
.slider__btns { display: none; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.is-js .slider__btns { display: flex; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: var(--line); background: var(--c-yellow); box-shadow: 0 4px 0 var(--c-ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--c-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1080px) { .slider__track { margin: 0; padding-left: 4px; padding-right: 4px; } .room { flex-basis: 46%; } }

/* 朝ごはん */
.photo-card { position: relative; margin: 8px 0 28px; }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-card__bubble { position: absolute; right: 12px; top: -22px; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--c-yellow); border: var(--line); font-weight: 800; font-size: 15px; line-height: 1.4; text-align: center; color: var(--c-ink); transform: rotate(8deg); }

/* カフェ */
.cafe__grid { position: relative; margin: 8px 0 72px; }
.cafe__big { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--line); border-radius: var(--radius); }
.cafe__small { position: absolute; right: 0; bottom: -48px; width: 42%; aspect-ratio: 1; object-fit: cover; border: var(--line); border-radius: 50%; box-shadow: var(--shadow); }

/* べんり */
.benefit__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefit__list li { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: var(--line); border-radius: var(--radius); padding: 18px 8px; font-weight: 800; color: var(--c-ink); text-align: center; }
.benefit__list svg { width: 60px; height: 60px; padding: 8px; border-radius: 50%; background: var(--c-peach); fill: none; stroke: var(--c-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 768px) { .benefit__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* アクセス */
.info { margin: 0; background: #fff; border: var(--line); border-radius: var(--radius); padding: 8px 22px; }
.info div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 2px dotted var(--c-peach); }
.info div:last-child { border-bottom: 0; }
.info dt { font-weight: 800; color: var(--c-ink); }
@media (min-width: 768px) { .info div { grid-template-columns: 9em 1fr; gap: 16px; } }

/* 予約 */
.reserve { background: var(--c-orange); border-top: var(--line); text-align: center; padding: 88px 20px 96px; }
.reserve__en { font-family: var(--font-en); font-weight: 800; font-size: 22px; color: var(--c-ink); }
.reserve__title { font-family: var(--font-ja); font-weight: 800; font-size: clamp(36px, 7vw, 64px); line-height: 1.3; color: var(--c-ink); margin: 8px 0 32px; }
.reserve__tel { margin-top: 24px; font-weight: 800; color: var(--c-ink); }

.footer { background: var(--c-ink); color: #fff3e2; text-align: center; padding: 56px 20px 32px; font-size: 15px; }
.footer__logo { font-family: var(--font-ja); font-weight: 800; font-size: 24px; color: var(--c-yellow); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; margin: 14px 0 18px; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__fiction { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
