/* ぬるまゆ堂 — 静的サイト（2026-10 作り直し）
   色はロゴと旧サイトのからし色・クリーム色を引き継ぐ。スマホ優先で組む */

:root {
  --mustard: #d5b357;
  --mustard-deep: #b8953a;
  --cream: #fff7e2;
  --cream-deep: #f6ead0;
  --ink: #2b2420;
  --ink-soft: #5e554d;
  --line: #e7dcc4;
  --white: #fff;
  --line-green: #06c755;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(60, 45, 20, .08);
  --wrap: 1120px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mustard-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 900; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 820px); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 10px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; line-height: 1.3; text-align: center;
  transition: transform .15s, background-color .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; color: #fff; }
.btn--ghost { background: rgba(255,255,255,.9); color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: #fff; }
.btn--line { background: var(--line-green); color: #fff; }
.btn--line:hover { color: #fff; background: #05b04b; }
/* 枠線ぶんにもグラデーションが回り込むと両端に色の筋が出るので、枠線なしで同じ大きさにする */
.btn--insta { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #833ab4); color: #fff; border: 0; padding: 12px 28px; }
.btn--insta:hover { color: #fff; }
.btn--large { min-height: 58px; padding-inline: 40px; font-size: 1.1rem; }

.link-arrow { font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--mustard); padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--mustard-deep); }

/* ---------- ヘッダー ----------
   旧サイトと同じく、ロゴを真ん中に置き、その下にメニューを1列に並べる */
.site-header { position: relative; z-index: 50; background: var(--mustard); }
.site-header__inner { width: min(100% - 24px, var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 10px 0; }
.site-logo img { width: 104px; }
.nav-toggle { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  position: absolute; left: 11px; width: 24px; height: 3px; border-radius: 3px; background: var(--ink); content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -8px; }
.nav-toggle__bar::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 3px solid var(--mustard); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.site-nav a { display: block; padding: 12px 8px; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px dashed var(--line); }
.site-nav a[aria-current="page"] { color: var(--mustard-deep); }
.site-nav__cta a { margin-top: 12px; border: 0; background: var(--ink); color: #fff; border-radius: 999px; text-align: center; }
.site-nav__cta a[aria-current="page"] { color: #fff; }

@media (min-width: 900px) {
  .site-header__inner { flex-direction: column; padding: 22px 0 10px; }
  .site-logo img { width: 150px; }
  .page-index .site-logo img { width: 190px; }
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: transparent; border: 0; margin-top: 12px; }
  .site-nav ul { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.45); color: var(--ink); }
  .site-nav__cta a { margin: 0 0 0 8px; padding: 8px 20px; }
  .site-nav__cta a:hover { background: #000; color: #fff; }
}

/* ---------- ヒーロー（旧サイトと同じく、写真が自動で切り替わるスライド） ---------- */
.hero { position: relative; height: clamp(320px, 62vw, 640px); overflow: hidden; background: var(--ink); }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 6, .38); pointer-events: none; }
.hero__body { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; color: #fff; padding: 0 16px; }
.hero__title { font-size: clamp(1.6rem, 5.6vw, 3rem); letter-spacing: .08em; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.hero__title span { display: inline-block; }  /* 狭い画面では「完全予約制／ボードゲームカフェ」の位置で折り返す */
.hero__text { margin: 12px 0 0; font-size: clamp(.9rem, 2.4vw, 1.1rem); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hero__nav:hover { background: rgba(255,255,255,.45); }
.hero__nav--prev { left: 12px; }
.hero__nav--next { right: 12px; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 10px; }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.hero__dot[aria-current="true"] { background: var(--mustard); }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }

/* ---------- セクション共通 ---------- */
.section { padding: 64px 0; }
.section__head { text-align: center; margin-bottom: 32px; }
.section__title { font-size: clamp(1.4rem, 4.4vw, 1.9rem); }
.section__title span { display: block; font-size: .8rem; letter-spacing: .2em; color: var(--mustard-deep); text-transform: uppercase; margin-bottom: 4px; }
.section__lead { max-width: 820px; margin: 14px auto 0; color: var(--ink-soft); }
.section__more { text-align: center; margin: 28px 0 0; }
.section--events { background: var(--cream); }
.section--insta { background: var(--cream); }

/* ---------- イベント ---------- */
.event-list {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin-inline: -4px;
  scrollbar-color: var(--mustard) transparent;
}
.event-list__status { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); margin: 24px 0; }
.event-card {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; transition: transform .15s;
}
.event-card:hover { transform: translateY(-3px); color: var(--ink); }
.event-card__img { aspect-ratio: 770 / 448; object-fit: cover; width: 100%; background: var(--cream-deep); }
.event-card__body { padding: 14px 16px 18px; }
.event-card__date { display: inline-block; font-size: .82rem; font-weight: 700; background: var(--mustard); padding: 1px 10px; border-radius: 999px; margin-bottom: 8px; }
.event-card__title { font-size: 1rem; line-height: 1.55; }
@media (min-width: 1000px) {
  .event-list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}

/* ---------- 特徴 ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.feature__body { padding: 18px 20px 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* 観光（美観地区） */
.section--sightseeing { background: var(--cream); }
.sightseeing { display: grid; gap: 28px; align-items: center; }
.sightseeing .section__title { margin-bottom: 16px; }
.sightseeing__photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sightseeing__photos > * { border-radius: 12px; overflow: hidden; }
.sightseeing__photos > :first-child { grid-column: 1 / -1; }
.sightseeing__photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.sightseeing__figure { margin: 0; }
.sightseeing__figure figcaption { margin-top: 6px; text-align: right; font-size: .75rem; color: var(--ink-soft); }
@media (min-width: 860px) { .sightseeing { grid-template-columns: 1fr 1.2fr; } }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 52px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 16px; top: 13px; width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); text-align: center; line-height: 26px; font-size: .9rem; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--mustard-deep); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px 52px; color: var(--ink-soft); }
.faq details p:has(+ .faq__list) { padding-bottom: 8px; }
.faq__list { margin: 0; padding: 0 20px 18px 72px; color: var(--ink-soft); }

/* ---------- Instagram ---------- */
.insta { text-align: center; }
.insta .section__title { margin-bottom: 22px; }

/* ---------- アクセス ---------- */
.access-summary { display: grid; gap: 28px; align-items: start; }
.access-summary .section__title { margin-bottom: 18px; }
.info-list { display: grid; grid-template-columns: 6em 1fr; gap: 10px 12px; margin: 0 0 22px; }
.info-list dt { font-weight: 700; color: var(--mustard-deep); }
.info-list dd { margin: 0; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream-deep); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 860px) { .access-summary { grid-template-columns: 1fr 1fr; } }

/* ---------- 下層ページ ---------- */
.page-head { background: var(--cream); border-top: 1px solid rgba(0,0,0,.06); border-bottom: 4px solid var(--mustard); text-align: center; padding: 40px 16px 36px; }
.page-head__en { margin: 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.page-head__title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.page-body { padding: 44px 0 64px; }
.lead { font-size: 1.05rem; }
.page-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; }
.page-toc a { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; }
.page-toc a:hover { background: var(--mustard); }
.block { margin-top: 48px; }
.block__title { font-size: 1.35rem; padding-left: 14px; border-left: 6px solid var(--mustard); margin-bottom: 18px; }
.notes { margin: 18px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .92rem; }
.notes li { margin-bottom: 4px; }

.price-tables { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 640px) { .price-tables { grid-template-columns: 1fr 1fr; } }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table caption { caption-side: top; text-align: left; font-weight: 900; font-size: 1.05rem; padding: 0 4px 8px; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.price-table th { text-align: left; font-weight: 700; }
.price-table td { text-align: right; font-weight: 900; font-size: 1.1rem; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table--holiday caption::after { content: "（＋300円）"; font-size: .85rem; color: var(--mustard-deep); }

.menu-card { display: grid; gap: 20px; background: var(--cream); border-radius: var(--radius); padding: 20px; align-items: center; }
.menu-card img { border-radius: 10px; width: 100%; max-width: 320px; margin-inline: auto; }
.menu-card__price { font-size: 1.05rem; margin-bottom: 12px; }
.menu-card__price strong { font-size: 1.6rem; }
.menu-list { display: grid; grid-template-columns: 5em 1fr; gap: 8px 12px; margin: 0; }
.menu-list dt { font-weight: 900; }
.menu-list dd { margin: 0; }
@media (min-width: 680px) { .menu-card { grid-template-columns: 260px 1fr; } }

.gallery { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 10px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.step { background: var(--cream); border-radius: var(--radius); padding: 20px 22px; }
.step .step__num { display: inline-block; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; padding: 0 12px; border-radius: 999px; margin-bottom: 8px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); }

.calendar { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 560px; margin-top: 16px; }
.calendar iframe { width: 100%; height: 100%; border: 0; }

.contact-card { text-align: center; background: var(--cream); border-radius: var(--radius); padding: 32px 20px; margin-bottom: 28px; }
.contact-card__note { margin: 12px 0 0; font-size: .85rem; color: var(--ink-soft); }

/* ボードゲームリスト */
.game-filter { display: grid; gap: 12px; background: var(--cream); border-radius: var(--radius); padding: 18px; margin-top: 24px; }
.game-filter__item { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.game-filter input, .game-filter select {
  font: inherit; font-weight: 500; font-size: 1rem; min-height: 46px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.game-filter input:focus, .game-filter select:focus { outline: 3px solid rgba(213,179,87,.5); border-color: var(--mustard-deep); }
@media (min-width: 760px) { .game-filter { grid-template-columns: 2fr 1fr 1fr; align-items: end; } }
.game-count { margin: 16px 0 12px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.game-count__order { font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.game-count__order::before { content: "⇅ "; }
.game-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .game-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .game-list { grid-template-columns: repeat(3, 1fr); } }
.game-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.game-card[hidden] { display: none; }
.game-card__name { font-size: 1.02rem; line-height: 1.5; }
.game-card__en { font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }
.game-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.game-spec { font-size: .8rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--cream); }
.game-spec--players { background: var(--mustard); }
.game-card__links { margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 14px; font-size: .82rem; font-weight: 700; }
.game-card__links .game-card__video { color: #c4302b; }
.game-card__links .game-card__video::before { content: "▶ "; }
.game-card__links .game-card__video--search { color: var(--ink-soft); font-weight: 500; }
.game-card__links a { color: var(--mustard-deep); }
.game-card__links .game-card__amazon { color: var(--ink); }
.game-card__links .game-card__amazon::before { content: "🛒 "; }
.game-empty { text-align: center; padding: 32px 0; color: var(--ink-soft); }

/* ---------- 予約の帯・フッター ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 48px 0; text-align: center; }
.cta-band__lead { font-size: 1.1rem; font-weight: 700; }
.cta-band__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-band .btn--primary { background: var(--mustard); color: var(--ink); }
.cta-band .btn--primary:hover { background: #e7c66a; color: var(--ink); }

.site-footer { background: var(--cream); padding: 44px 0 90px; font-size: .92rem; }
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__brand img { width: 130px; margin-bottom: 10px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.site-footer__links a { color: var(--ink); text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__copy { text-align: center; margin: 28px 0 0; color: var(--ink-soft); }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1fr 1.4fr; align-items: center; } .site-footer { padding-bottom: 44px; } }

/* スマホ：画面下に固定の予約ボタン／PC：右下に丸ボタン */
.float-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 2fr 1fr; box-shadow: 0 -3px 12px rgba(0,0,0,.12); }
.float-cta a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 900; text-decoration: none; }
.float-cta__reserve { background: var(--mustard); color: var(--ink); }
.float-cta__line { background: var(--line-green); color: #fff; }
.float-cta a:hover { color: inherit; filter: brightness(1.05); }
@media (min-width: 760px) {
  .float-cta { left: auto; right: 20px; bottom: 20px; grid-template-columns: 1fr; gap: 10px; box-shadow: none; }
  .float-cta a { width: 84px; height: 84px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow); font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .event-card { transition: none; }
}
