/* 049 ゲストハウス みかんや ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #fff8e6;
  --c-ink: #2b1d0e;
  --c-orange: #ff7a1a;
  --c-yellow: #ffd23f;
  --c-accent-text: #b34700;
  --c-text: #374151;
  --c-sub: #4b5563;
  --line: 3px solid var(--c-ink);
  --shadow: 5px 5px 0 var(--c-ink);
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-head: "Mochiy Pop One", sans-serif;
  --font-en: "Rubik", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li, td { word-break: auto-phrase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1160px; margin: 0 auto; }
.en { font-family: var(--font-en); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 8px; }
.h2 { font-family: var(--font-head); font-size: clamp(26px, 4vw, 42px); line-height: 1.45; color: var(--c-ink); margin-bottom: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--font-head); font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; border: var(--line); transition: transform .2s, box-shadow .2s; }
.btn--orange { background: var(--c-orange); color: var(--c-ink); box-shadow: 4px 4px 0 var(--c-ink); }
.btn--orange:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-ink); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 18px; margin-top: 28px; }

/* ヘッダー */
.header { position: fixed; top: 10px; left: 10px; right: 10px; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 8px 0 16px; background: #fff; border: var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--c-ink); }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--font-head); font-size: 22px; color: var(--c-ink); text-decoration: none; white-space: nowrap; flex: none; }
.logo__mark { width: 30px; height: 30px; border-radius: 50%; background: var(--c-orange); border: var(--line); position: relative; }
.logo__mark::after { content: ""; position: absolute; left: 50%; top: -9px; width: 10px; height: 8px; background: #5aa832; border-radius: 0 8px 0 8px; border: 2px solid var(--c-ink); }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; box-shadow: none; }
.header__btn:hover { box-shadow: none; transform: none; background: #ff9440; }
@media (min-width: 1080px) {
  .header { top: 18px; left: 32px; right: 32px; }
  .header__inner { height: 74px; padding: 0 12px 0 24px; gap: 26px; }
  .gnav { display: flex; gap: 24px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--c-ink); text-decoration: none; }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; padding: 0 22px; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-yellow); border: var(--line); color: var(--c-ink); }
.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: 18px; height: 3px; border-radius: 2px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -6px; } .spmenu__bar::after { top: 6px; }
.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: 0; right: 0; top: calc(100% + 8px); background: #fff; border: var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--c-ink); padding: 8px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-head); font-size: 17px; color: var(--c-ink); text-decoration: none; border-bottom: 2px dashed rgba(43, 29, 14, .2); }
.spmenu__nav a:last-child { border-bottom: 0; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル ===== */
.hero { overflow: hidden; padding: 104px 20px 72px; background: radial-gradient(circle at 85% 20%, var(--c-yellow) 0 180px, transparent 181px), var(--c-bg); }
.hero__inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 32px; align-items: center; }
.hero__title { font-family: var(--font-head); font-size: clamp(36px, 6vw, 72px); line-height: 1.3; color: var(--c-ink); margin-bottom: 18px; }
.mark { background: linear-gradient(transparent 60%, var(--c-yellow) 60%); }
.hero__visual { position: relative; padding: 0 0 56px; }
.hero__photo { border: var(--line); border-radius: 28px; overflow: hidden; box-shadow: 8px 8px 0 var(--c-ink); background: var(--c-orange); }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sticker { position: absolute; right: -6px; bottom: 0; width: 176px; height: 176px; display: grid; place-items: center; text-decoration: none; }
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.sticker__ring text { font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: .5px; fill: var(--c-ink); }
.sticker::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c-yellow); border: var(--line); }
.sticker__core { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--c-orange); border: var(--line); font-family: var(--font-head); font-size: 16px; line-height: 1.3; text-align: center; color: var(--c-ink); transition: transform .2s; }
.sticker:hover .sticker__core { transform: scale(1.06); }
.is-motion .sticker__ring { animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .hero { padding: 150px 48px 110px; }
  .hero__inner { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .sticker { width: 190px; height: 190px; right: -40px; bottom: -10px; }
  .sticker__core { width: 108px; height: 108px; font-size: 19px; }
}

/* ===== みかんやって？（弧の見出し） ===== */
.about { overflow: hidden; padding: 72px 20px 96px; text-align: center; background: var(--c-yellow); border-top: var(--line); border-bottom: var(--line); }
.about__title { max-width: 720px; margin: 0 auto 8px; }
.arc { width: 100%; height: auto; overflow: visible; }
.arc text { font-family: var(--font-head); font-size: 50px; fill: var(--c-ink); }
.about__body { max-width: 640px; margin: 0 auto; text-align: left; }
.about__body p + p { margin-top: 14px; }

/* ===== お部屋 ===== */
.rooms { padding: 96px 20px; }
.room-list { display: grid; gap: 28px; }
.room { background: #fff; border: var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.room figure { border-bottom: var(--line); }
.room img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.room__body { padding: 22px 22px 26px; }
.room__tag { display: inline-block; font-family: var(--font-head); font-size: 15px; background: var(--c-orange); color: var(--c-ink); border: 2px solid var(--c-ink); border-radius: 999px; padding: 0 14px; margin-bottom: 10px; }
.room__tag--yellow { background: var(--c-yellow); }
.room h3 { font-family: var(--font-head); font-size: 21px; line-height: 1.5; color: var(--c-ink); margin-bottom: 8px; }
.room__price { margin-top: 10px; font-weight: 700; color: var(--c-accent-text); }
@media (min-width: 768px) { .room-list { grid-template-columns: 1fr 1fr; gap: 36px; } .rooms { padding: 130px 48px; } }

/* ===== 演出③ C04：宿から歩いて ===== */
.walk { background: #ffe9c2; border-top: var(--line); border-bottom: var(--line); padding: 88px 0 40px; overflow: hidden; }
.walk__head { padding: 0 20px; max-width: 1160px; margin: 0 auto 24px; }
.walk__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 16px; }
.walk__track { position: relative; display: flex; gap: 20px; padding: 0 20px; width: max-content; align-items: stretch; }
/* パノラマの道：カードの後ろを、点線の道がずっと続く */
.walk__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 6px dashed rgba(43, 29, 14, .35); z-index: 0; }
.stop { position: relative; z-index: 1; }
.stop { width: 80vw; max-width: 520px; scroll-snap-align: center; background: #fff; border: var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.stop figure { border-bottom: var(--line); }
.stop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.stop__body { padding: 18px 22px 24px; }
.stop__dist { font-family: var(--font-en); font-weight: 700; font-size: 44px; line-height: 1; color: var(--c-accent-text); }
.stop__dist small { font-size: 22px; margin-left: 2px; }
.stop h3 { font-family: var(--font-head); font-size: 22px; color: var(--c-ink); margin: 8px 0 6px; }
.stop--start { width: 62vw; max-width: 360px; display: flex; flex-direction: column; justify-content: center; padding: 28px; background: var(--c-orange); }
.stop--start .stop__dist, .stop--start h3, .stop--start p { color: var(--c-ink); }
.stop--start h3 { font-size: 30px; }
.walk__bar { max-width: 1160px; margin: 24px auto 0; padding: 0 20px; }
.walk__line { position: relative; height: 10px; border-radius: 999px; background: #fff; border: 2px solid var(--c-ink); }
.walk__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 999px; background: var(--c-orange); transform-origin: left; }
.walk__walker { display: none; }
.walk__marks { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--c-ink); }
.walk__marks li { white-space: nowrap; }
@media (max-width: 599px) { .walk__marks li:nth-child(2), .walk__marks li:nth-child(3) { display: none; } }
@media (min-width: 1080px) {
  .walk { padding: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .walk__head { padding: 0 48px; width: 100%; max-width: none; margin-bottom: 20px; }
  .walk__track { padding: 0 48px; gap: 40px; }
  .stop { width: 44vw; max-width: 620px; display: grid; grid-template-columns: 1.15fr 1fr; }
  .stop figure { border-bottom: 0; border-right: var(--line); }
  .stop img { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .stop__body { align-self: center; padding: 24px 28px; }
  .stop--start { width: 22vw; display: flex; }
  .walk__bar { width: 100%; max-width: none; padding: 0 200px 0 48px; margin-top: 28px; } /* 右下の看板ねこにかぶらないよう右を空ける */
}
.is-motion-pc .walk__viewport { overflow: visible; scroll-snap-type: none; }
.is-motion-pc .walk__walker { display: block; position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--c-yellow); border: var(--line); left: 0; }

/* ===== ラウンジ ===== */
.lounge { padding: 96px 20px; }
.lounge__inner { display: grid; gap: 36px; align-items: center; }
.lounge__photo { border: var(--line); border-radius: 200px 200px 28px 28px; overflow: hidden; box-shadow: var(--shadow); }
.lounge__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rules { display: grid; gap: 8px; margin-top: 20px; }
.rules li { position: relative; padding-left: 30px; font-weight: 700; color: var(--c-ink); }
.rules li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: var(--c-orange); border: 2px solid var(--c-ink); }
@media (min-width: 900px) { .lounge { padding: 130px 48px; } .lounge__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ===== 料金・アクセス ===== */
.price { padding: 96px 20px 140px; background: #fff; border-top: var(--line); }
.price__inner { display: grid; gap: 40px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 0; border-bottom: 2px dashed rgba(43, 29, 14, .25); vertical-align: top; }
.table th { width: 5em; font-weight: 700; color: var(--c-ink); }
.info div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px dashed rgba(43, 29, 14, .25); }
.info dt { font-weight: 700; color: var(--c-ink); }
@media (min-width: 900px) { .price { padding: 130px 48px 160px; } .price__inner { grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: end; } }

/* ===== G01：看板ねこ ===== */
.cat { position: fixed; right: 8px; bottom: 0; z-index: 40; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.cat__btn { pointer-events: auto; width: 84px; height: 84px; padding: 0; border: 0; background: none; cursor: pointer; margin-bottom: -10px; }
.cat__btn img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 0 rgba(43, 29, 14, .25)); }
.cat__bubble { position: relative; max-width: 200px; margin-bottom: 64px; background: #fff; border: var(--line); border-radius: 18px; padding: 8px 14px; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--c-ink); box-shadow: 3px 3px 0 var(--c-ink); transition: opacity .3s, transform .3s; }
.cat__bubble::after { content: ""; position: absolute; right: -12px; bottom: 14px; border: 8px solid transparent; border-left-color: var(--c-ink); }
.cat.is-hidden { transform: translateY(70px); }
.cat.is-hidden .cat__bubble { opacity: 0; }
.cat.is-quiet .cat__bubble { opacity: 0; transform: translateY(8px); }
@media (min-width: 900px) {
  .cat { right: 20px; }
  .cat__btn { width: 140px; height: 140px; }
  .cat__bubble { max-width: 260px; margin-bottom: 100px; font-size: 16px; }
}

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #ffe9c2; padding: 64px 20px 110px; text-align: center; font-size: 15px; }
.footer__logo { font-family: var(--font-head); font-size: 24px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin: 18px 0; }
.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; }
}
