/* 灯りや ふくろく — 見本サイト */
:root {
  --ink: #17182b;
  --ink-2: #222440;
  --paper: #f4ead6;
  --paper-2: #ebdcc0;
  --text: #2a2420;
  --text-soft: #6a5d50;
  --on-ink: #f1e6d0;
  --on-ink-soft: #b9ae9a;
  --shu: #d4432a;          /* 朱 */
  --lantern: #f39a3a;      /* 提灯の灯り */
  --line: #06c755;
  --board: #1f2a24;        /* 黒板 */
  --wood: #6b4a2f;
  --serif: "Yuji Syuku", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(23, 24, 43, .94);
  color: var(--on-ink);
  border-bottom: 3px solid var(--shu);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 60px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--serif);
  font-size: 1.35rem; letter-spacing: .08em; white-space: nowrap;
}
.logo svg { width: 22px; height: 30px; flex: none; }
.logo small { font-size: .7rem; color: var(--on-ink-soft); letter-spacing: .1em; }
.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .9rem; padding: 6px 10px;
  border-radius: 2px; white-space: nowrap;
}
.nav a:hover { background: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--lantern); box-shadow: inset 0 -2px 0 var(--lantern); }
.nav .nav-line { background: var(--line); color: #fff; font-weight: 700; margin-left: 6px; }
.nav .nav-line:hover { background: #05b04b; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--on-ink);
  min-height: min(78vh, 640px);
  display: flex; align-items: flex-end;
  background: var(--ink) url("img/hero.jpg") center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23,24,43,.15) 0%, rgba(23,24,43,.35) 45%, rgba(23,24,43,.92) 100%);
}
.hero .wrap { padding: 120px 0 56px; position: relative; }
.hero-lantern {
  position: absolute; right: 4%; top: 40px; width: 92px;
  filter: drop-shadow(0 0 28px rgba(243,154,58,.55));
  animation: sway 5s ease-in-out infinite; transform-origin: 50% 0;
}
@keyframes sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .hero-lantern { animation: none; } }
.hero-kicker {
  display: inline-block; font-size: .85rem; letter-spacing: .15em;
  background: var(--shu); color: #fff; padding: 2px 10px; margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.1rem, 7vw, 3.8rem); line-height: 1.3; margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero p { margin: 0 0 24px; max-width: 30em; color: #efe3cc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; font-weight: 700; text-decoration: none;
  border-radius: 4px; font-size: 1rem; border: 0; cursor: pointer;
  font-family: var(--sans);
}
.btn-line { background: var(--line); color: #fff; }
.btn-line:hover { background: #05b04b; }
.btn-line .bubble {
  width: 20px; height: 18px; background: #fff; border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  position: relative; flex: none;
}
.btn-line .bubble::after {
  content: ""; position: absolute; bottom: -4px; left: 4px;
  border: 4px solid transparent; border-top-color: #fff; border-left-color: #fff;
}
.btn-ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1px rgba(241,230,208,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- section basics ---------- */
.sec { padding: 72px 0; }
.sec-ink { background: var(--ink); color: var(--on-ink); }
.sec-paper { background: var(--paper); }
.sec-paper-2 { background: var(--paper-2); }
.sec-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin: 0 0 6px; letter-spacing: .06em;
  display: flex; align-items: center; gap: 12px;
}
.sec-title::before {
  content: ""; width: 10px; height: 1.1em; background: var(--shu); flex: none;
}
.sec-ink .sec-title::before { background: var(--lantern); }
.sec-lead { margin: 0 0 32px; color: var(--text-soft); }
.sec-ink .sec-lead { color: var(--on-ink-soft); }

/* ---------- 今日のおすすめ ---------- */
.osusume { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.osusume-item { position: relative; }
.osusume-item figure { margin: 0; position: relative; }
.osusume-item img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  border: 6px solid var(--paper); box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.osusume-item:nth-child(1) img { transform: rotate(-1.2deg); }
.osusume-item:nth-child(2) img { transform: rotate(.8deg); }
.osusume-item:nth-child(3) img { transform: rotate(-.6deg); }
/* 短冊タグ */
.tanzaku {
  position: absolute; top: -14px; right: 14px;
  writing-mode: vertical-rl; text-orientation: upright;
  background: var(--paper); color: var(--text);
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: .12em;
  padding: 14px 7px 18px; border-top: 6px solid var(--shu);
  box-shadow: 2px 4px 10px rgba(0,0,0,.35);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 8px), 0 100%);
}
.osusume-item h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.35rem;
  margin: 18px 0 2px;
}
.osusume-item .price { color: var(--lantern); font-weight: 700; margin: 0 0 6px; }
.osusume-item p { margin: 0; font-size: .95rem; color: var(--on-ink-soft); }

/* ---------- お知らせ ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.notice {
  background: #fffaf0; border: 2px solid var(--text);
  padding: 22px 22px 18px; position: relative;
  box-shadow: 6px 6px 0 var(--shu);
}
.notice h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 12px; }
.notice ul { list-style: none; margin: 0; padding: 0; }
.notice li { padding: 12px 0; border-top: 1px dashed #b9a88d; }
.notice li:first-child { border-top: 0; padding-top: 0; }
.notice time { display: block; font-size: .8rem; color: var(--text-soft); }
.notice strong { display: block; font-size: 1.08rem; }
.notice .tag {
  display: inline-block; font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--shu); padding: 0 8px; margin-right: 6px; vertical-align: 2px;
}
.notice .tag.tag-time { background: var(--ink); }
.notice p { margin: 2px 0 0; font-size: .92rem; color: var(--text-soft); }
.notice-foot { font-size: .8rem; color: var(--text-soft); margin: 10px 0 0; }

.hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.hours dt { font-weight: 700; white-space: nowrap; }
.hours dd { margin: 0; }
.hours .closed { color: var(--shu); font-weight: 700; }
.hours .memo { margin: 18px 0 0; font-size: .92rem; color: var(--text-soft); }

/* ---------- 場所 ---------- */
.access { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.access img { border: 6px solid var(--paper); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.access p { margin: 0 0 12px; }
.access .note { font-size: .85rem; color: var(--on-ink-soft); }
.sns-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  color: var(--lantern); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.sns-link svg { width: 18px; height: 18px; }

/* ---------- 予約CTA ---------- */
.cta { text-align: center; }
.cta p { margin: 0 auto 20px; max-width: 32em; }

/* ---------- menu page ---------- */
.page-head {
  background: var(--ink); color: var(--on-ink);
  padding: 56px 0 40px; border-bottom: 1px solid #2f3150;
}
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 6px; }
.page-head p { margin: 0; color: var(--on-ink-soft); }

.board {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.05), transparent 60%),
    var(--board);
  color: #eef0e6;
  border: 14px solid var(--wood);
  border-image: linear-gradient(135deg, #7a5536, #4e331e 60%, #7a5536) 1;
  padding: 32px 28px 28px;
  box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 0 40px rgba(0,0,0,.4);
  margin-bottom: 40px;
}
.board-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.board h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0;
  color: #fff6dc; letter-spacing: .1em;
}
.board-head p { margin: 0; font-family: var(--serif); color: #f6c98a; font-size: 1.02rem; }
.board ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.board li {
  break-inside: avoid; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px;
  padding: 10px 0; border-bottom: 1px dashed rgba(238,240,230,.22);
  font-family: var(--serif); font-size: 1.15rem;
}
.board li .name { flex: 1 1 auto; }
.board li .yen { color: #ffd38c; white-space: nowrap; }
.board li .sub {
  flex-basis: 100%; font-family: var(--sans); font-size: .82rem; color: #b8bfb0;
}
.board .chalk-red { color: #ff9a86; font-size: .8rem; font-family: var(--sans); font-weight: 700; margin-left: 4px; }
.board-photo { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.board-photo img { border: 4px solid #eee4cc; transform: rotate(-2deg); margin-top: 8px; }
.menu-note { font-size: .88rem; color: var(--text-soft); margin: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink); color: var(--on-ink-soft);
  padding: 36px 0 40px; font-size: .88rem; border-top: 3px solid var(--shu);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer .f-name { font-family: var(--serif); color: var(--on-ink); font-size: 1.1rem; }
.site-footer nav { display: flex; gap: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lantern); }

/* ---------- mobile sticky bar ---------- */
.sticky-bar { display: none; }

@media (max-width: 860px) {
  .osusume { grid-template-columns: 1fr; gap: 40px; }
  .info-grid, .access { grid-template-columns: 1fr; }
  .board ul { columns: 1; }
  .board-photo { grid-template-columns: 1fr; }
  .board-photo img { max-width: 240px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .nav .nav-line { display: none; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 6px; font-size: .82rem; }
  .logo { font-size: 1.02rem; letter-spacing: .03em; gap: 6px; }
  .logo svg { width: 18px; height: 25px; }
  .site-header .wrap { gap: 6px; }
  .logo small { display: none; }
  .hero-lantern { width: 64px; right: 16px; top: 24px; }
  .hero .wrap { padding: 110px 0 40px; }
  .sec { padding: 56px 0; }
  .board { padding: 24px 16px 20px; border-width: 10px; }
  .board h2 { font-size: 1.6rem; }
  .sticky-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(23,24,43,.96); border-top: 2px solid var(--shu);
    gap: 10px; align-items: center;
  }
  .sticky-bar .btn { flex: 1; padding: 12px; }
  .sticky-bar .tel-note { color: var(--on-ink-soft); font-size: .75rem; line-height: 1.4; flex: none; }
}
