/* ==========================================================
   弁当まゆみ／小料理まゆみ  style.css
   ========================================================== */
:root {
  --paper: #f6efe3;
  --paper-2: #efe5d3;
  --ink: #2b211b;
  --muted: #6b5a4c;
  --line: #dccfb8;
  --red: #b7412c;
  --navy: #23364a;
  --line-green: #06c755;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.95;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 14px 6%;
  background: rgba(246,239,227,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-main { font-family: "Yuji Syuku", "Shippori Mincho", serif; font-size: 28px; letter-spacing: .06em; }
.brand-sub { font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }

/* hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 0;
  background: #1a1512; color: #fbf6ec;
}
.hero-photo { height: 100%; min-height: 420px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { padding: 64px 8% 64px 6%; }
.hero-lead { font-family: "Shippori Mincho", serif; font-size: 20px; letter-spacing: .1em; margin-bottom: 8px; color: #e8dcc6; }
.hero-title { font-family: "Yuji Syuku", "Shippori Mincho", serif; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.15; letter-spacing: .04em; margin-bottom: 24px; text-wrap: balance; }
.hero-title span { display: block; font-size: .42em; letter-spacing: .12em; margin-top: 10px; color: #e8dcc6; }
.hero-copy { font-size: 15px; line-height: 2.1; color: #d9ccb5; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: 14px; letter-spacing: .06em; font-weight: 500;
  transition: background .2s, color .2s;
}
.btn:hover { background: rgba(43,33,27,.06); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: #9c3423; }
.btn-line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn-line:hover { background: #05a848; }
.btn-disabled { background: #8a8078; border-color: #8a8078; cursor: default; }
.btn-disabled:hover { background: #8a8078; }
.hero .btn:not(.btn-primary) { color: #fbf6ec; }
.hero .btn:not(.btn-primary):hover { background: rgba(255,255,255,.1); }

/* sections */
.section { padding: 88px 6%; max-width: 1180px; margin: 0 auto; }
.section-alt { background: var(--paper-2); }
.section-alt, .section-dark { max-width: none; padding-left: 0; padding-right: 0; }
.section-alt > .inner, .section-dark > .inner { max-width: 1180px; margin: 0 auto; padding: 0 6%; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow { font-family: "Shippori Mincho", serif; font-size: 12px; letter-spacing: .28em; color: var(--red); margin-bottom: 12px; }
.section-head h2 { font-family: "Shippori Mincho", serif; font-size: clamp(26px, 3vw, 36px); line-height: 1.6; letter-spacing: .06em; text-wrap: balance; }
.section-copy { color: var(--muted); margin: 18px 0 0; }

/* menu */
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 4%; margin-bottom: 52px; }
.menu-item figure { margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e6dcc9; }
.menu-item figure img { width: 100%; height: 100%; object-fit: cover; }
.menu-item h3 { font-family: "Shippori Mincho", serif; font-size: 21px; letter-spacing: .04em; margin-bottom: 6px; }
.price { font-family: "Shippori Mincho", serif; font-size: 30px; color: var(--red); letter-spacing: .02em; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; color: var(--muted); margin-left: 6px; letter-spacing: .04em; }
.menu-item p:not(.price) { color: var(--muted); font-size: 14px; margin: 0; }

.info { margin: 0 0 32px; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info dt { color: var(--muted); font-size: 13px; letter-spacing: .08em; padding-top: 2px; }
.info dd { margin: 0; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions-col { flex-direction: column; align-items: stretch; }
.note { color: var(--muted); font-size: 14px; margin: 24px 0 0; }
.small { color: var(--muted); font-size: 13px; line-height: 1.9; }

/* news */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); font-size: 15px; }
.news-list a { display: grid; grid-template-columns: 120px 1fr 20px; gap: 20px; padding: 18px 0; align-items: baseline; }
.news-list a::after { content: "→"; color: var(--muted); justify-self: end; transition: transform .2s; }
.news-list a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.news-list a:hover::after { transform: translateX(4px); }
.more { margin: 22px 0 0; font-size: 14px; }
/* news article pages */
.article { max-width: 720px; padding-top: 64px; }
.article time { font-family: "Shippori Mincho", serif; letter-spacing: .06em; color: var(--muted); font-size: 14px; }
.article h1 { font-family: "Shippori Mincho", serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.6; letter-spacing: .04em; margin: 10px 0 32px; }
.article-body p { line-height: 2.1; }
.article-body img { border-radius: 4px; margin: 8px 0 20px; }
.article-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 24px; font-size: 14px; }
.news-index .news-list { margin-top: 0; }
.news-list time { font-family: "Shippori Mincho", serif; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* story */
.story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px 8%; align-items: start; }
.story-text { max-width: 640px; }
.story-text p { line-height: 2.1; }
.story-text h3 { font-family: "Shippori Mincho", serif; font-size: 22px; letter-spacing: .06em; margin: 40px 0 14px; }
.story-text blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--red); font-family: "Shippori Mincho", serif; font-size: 24px; letter-spacing: .06em; line-height: 1.6; }
.sign { text-align: right; color: var(--muted); font-size: 14px; margin-top: 28px; }
.story-photos { display: grid; gap: 28px; position: sticky; top: 100px; }
.story-photos figure { margin: 0; }
.story-photos img { border-radius: 4px; }
.story-photos figure:last-child img { aspect-ratio: 4 / 3; object-fit: cover; }
.story-photos figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.8; }

/* project */
.section-dark { background: var(--navy); color: #f4ecdc; }
.section-dark .eyebrow { color: #e0b58c; }
.section-dark .section-copy { color: #cfc2ad; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 24px; }
.facts dt { font-size: 12px; letter-spacing: .16em; color: #b9ab94; margin-bottom: 6px; }
.facts dd { margin: 0; font-family: "Shippori Mincho", serif; font-size: 20px; letter-spacing: .04em; line-height: 1.5; }

/* access */
.access { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 8%; align-items: start; }
.access h3 { font-family: "Shippori Mincho", serif; font-size: 22px; letter-spacing: .06em; margin-bottom: 12px; }
.access p { color: var(--muted); }
.link { color: var(--red); border-bottom: 1px solid currentColor; }

/* footer */
.foot { padding: 40px 6%; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot-brand { font-family: "Yuji Syuku", "Shippori Mincho", serif; font-size: 20px; margin: 0; }
.foot-note { font-size: 13px; color: var(--muted); margin: 0; }
.foot-note a { border-bottom: 1px solid currentColor; }

.sp { display: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .hero-text { padding: 44px 6% 52px; }
  .pc { display: none; }
  .menu { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-photos { position: static; grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .access { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { padding: 12px 5%; }
  .brand-main { font-size: 24px; }
  .nav { gap: 14px; font-size: 13px; }
  .section { padding: 64px 5%; }
  .section-alt, .section-dark { padding-left: 0; padding-right: 0; }
  .section-alt > .inner, .section-dark > .inner { padding: 0 5%; }
  .hero-title { font-size: 46px; }
  .menu { grid-template-columns: 1fr; gap: 32px; }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
  .news-list a { grid-template-columns: 1fr 20px; gap: 4px 12px; }
  .news-list time { grid-column: 1 / -1; }
  .story-photos { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .facts dd { font-size: 17px; }
  .sp { display: inline; }
  .story-text blockquote { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
