/* 株式会社新日食 — brand tokens & base
   KURITAグループ公式サイトのトーン（serif見出し / hairline区切り / 静かなグリッド）を継承しつつ、
   新日食のブランドカラー（マシマシらーめん物語の green）に調整。 */
:root {
  --ink: #14201a;
  --deep: #173d20;
  --accent: #57952a;
  --accent-soft: #86bb5e;
  --paper: #f6f8f3;
  --paper-alt: #edf2e6;
  --white: #ffffff;
  --hairline: rgba(20, 32, 26, 0.14);
  --hairline-strong: rgba(20, 32, 26, 0.28);
  --on-deep: #f1f7ed;
  --on-deep-dim: rgba(241, 247, 237, 0.68);
  --on-deep-hair: rgba(241, 247, 237, 0.22);

  --serif: Georgia, "Iowan Old Style", "Times New Roman", "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;

  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7f0e3;
    --deep: #0e1f13;
    --accent: #86bb5e;
    --accent-soft: #a9d180;
    --paper: #0c1410;
    --paper-alt: #121c15;
    --white: #0e1712;
    --hairline: rgba(231, 240, 227, 0.14);
    --hairline-strong: rgba(231, 240, 227, 0.26);
    --on-deep: #eef6ea;
    --on-deep-dim: rgba(238, 246, 234, 0.66);
    --on-deep-hair: rgba(238, 246, 234, 0.18);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--deep);
  color: var(--on-deep);
  border-bottom: 1px solid var(--on-deep-hair);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { height: 34px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--on-deep);
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--accent-soft);
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--on-deep-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--on-deep);
  border-bottom-color: var(--accent-soft);
}
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .site-header .wrap { height: 72px; }
  .site-header .nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 22px; height: 1px; background: var(--on-deep); }
  .mobile-menu nav { position: fixed; top: 72px; left: 0; right: 0; padding: 18px 28px 28px; background: var(--deep); border-top: 1px solid var(--on-deep-hair); display: grid; }
  .mobile-menu nav a { padding: 13px 0; color: var(--on-deep-dim); border-bottom: 1px solid var(--on-deep-hair); }
  .mobile-menu nav a[aria-current="page"] { color: var(--accent-soft); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--deep);
  color: var(--on-deep);
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  transform: scale(1.03);
  animation: image-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes image-in {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 0.34; transform: scale(1.03); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 19, 0.55) 0%, rgba(15, 31, 19, 0.88) 100%);
}
.hero .wrap {
  padding-top: 120px;
  padding-bottom: 128px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  color: var(--accent-soft);
  opacity: 0;
  animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
  opacity: 0;
  animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}
.hero-brand {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--on-deep-dim);
  opacity: 0;
  animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.34s forwards;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.46s forwards;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-eyebrow, .hero h1, .hero-brand, .hero-actions {
    animation: none; opacity: 1; transform: none;
  }
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--accent);
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-solid {
  background: var(--accent);
  color: var(--deep);
}
.btn-solid:hover { opacity: 0.86; }
.btn-ghost {
  background: transparent;
  color: var(--on-deep);
  border-color: var(--on-deep-hair);
}
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }

/* ---------- Sections ---------- */
.section {
  padding: 92px 0;
  border-bottom: 1px solid var(--hairline);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-head p { margin: 14px 0 0; color: var(--ink); opacity: 0.72; max-width: 52ch; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Interior pages ---------- */
.page-hero { background: var(--deep); color: var(--on-deep); border-top: 1px solid var(--on-deep-hair); }
.page-hero .wrap { padding-top: 82px; padding-bottom: 76px; }
.page-hero h1 { margin-top: 18px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero > .wrap > p:last-child:not(.eyebrow) { margin: 18px 0 0; color: var(--on-deep-dim); max-width: 50ch; }
.narrow { max-width: 880px; }
.subsection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.subsection-head h2 { font-size: 1.4rem; }
.brand-shop-section + .brand-shop-section { margin-top: 72px; }
.brand-stack { display: grid; gap: 72px; }
.brand-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: 460px; border: 1px solid var(--hairline); background: var(--white); }
.brand-detail:nth-child(even) .brand-visual { order: 2; }
.brand-visual img, .brand-placeholder { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.brand-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--deep), #285b32); color: var(--on-deep-dim); letter-spacing: 0.28em; font-size: 0.72rem; }
.brand-copy { padding: clamp(36px, 6vw, 72px); align-self: center; }
.brand-copy h2 { margin-top: 16px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.brand-copy > p:not(.eyebrow):not(.pending) { margin: 24px 0 0; opacity: 0.72; }
.brand-meta { margin-top: 28px; padding: 15px 0; display: flex; gap: 24px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); font-size: 0.78rem; letter-spacing: 0.06em; }
.text-link { display: inline-flex; gap: 8px; margin-top: 24px; color: var(--accent); font-size: 0.88rem; }
.fact-note { margin-top: 20px; font-size: 0.78rem; opacity: 0.55; }
.empty-state { border-top: 1px solid var(--hairline-strong); padding: 56px 0; max-width: 720px; }
.empty-state h2 { margin-top: 16px; font-size: clamp(1.4rem, 3vw, 2rem); }
.empty-state > p:not(.eyebrow) { margin: 16px 0 0; opacity: 0.7; }
.empty-state .btn { margin-top: 28px; }
.panel-pending { padding: 32px; background: var(--paper-alt); border-top: 1px solid var(--hairline); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 44px; font-size: 1.25rem; }
.prose p { margin-top: 16px; opacity: 0.74; }
.not-found { min-height: 68vh; display: grid; align-items: center; }
.not-found .wrap { width: 100%; padding-top: 80px; padding-bottom: 80px; }
.not-found h1 { margin-top: 16px; font-size: clamp(2rem, 4vw, 3rem); }
.not-found p:not(.eyebrow) { margin: 18px 0 0; opacity: 0.7; }
.not-found .btn { margin-top: 28px; }
.btn-ink { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }

/* ---------- Brand previews ---------- */
.brand-preview-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--hairline-strong); }
.brand-preview { padding: 42px 38px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--white); transition: transform .2s ease, background .2s ease; }
.brand-preview:last-child { border-right: none; }
.brand-preview:hover { background: var(--paper-alt); transform: translateY(-2px); }
.brand-preview h3 { margin-top: 14px; font-size: 1.6rem; }
.brand-preview p { margin: 18px 0 0; opacity: 0.7; max-width: 68ch; }
.brand-preview b { display: inline-block; margin-top: 24px; font-size: .78rem; font-weight: 500; color: var(--accent); }

/* ---------- Values ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.grid-3 > * {
  padding: 34px 30px;
  border-right: 1px solid var(--hairline);
}
.grid-3 > *:last-child { border-right: none; }
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > * { border-right: none; border-bottom: 1px solid var(--hairline); }
}
.pillar-index { font-family: var(--serif); font-size: 0.85rem; color: var(--accent); }
.pillar-title { margin-top: 14px; font-family: var(--serif); font-size: 1.2rem; }
.pillar-text { margin-top: 12px; font-size: 0.92rem; opacity: 0.75; }

/* ---------- Shop cards ---------- */
.shop-list {
  border-top: 1px solid var(--hairline-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.shop-card {
  padding: 34px 30px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.shop-card:nth-child(3n) { border-right: none; }
.shop-index { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); color: var(--accent); }
.shop-index b { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ink); opacity: 0.5; }
.shop-card h3 { margin-top: 14px; font-size: 1.1rem; }
.shop-card address { margin-top: 10px; font-style: normal; font-size: 0.88rem; opacity: 0.72; line-height: 1.7; }
.shop-note { margin: 12px 0 0; font-size: 0.76rem; opacity: 0.55; }
.shop-map-link { margin-top: 16px; display: inline-flex; gap: 6px; font-size: 0.82rem; color: var(--accent); }
@media (max-width: 760px) {
  .shop-list { grid-template-columns: 1fr; }
  .shop-card { border-right: none; }
}

/* ---------- Food gallery ---------- */
.food-gallery-section { padding: 84px 0 0; background: var(--deep); color: var(--on-deep); }
.food-gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; padding-bottom: 36px; }
.food-gallery-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.food-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 4px; }
.food-photo { margin: 0; overflow: hidden; background: var(--paper-alt); }
.food-photo-1 { grid-column: span 2; grid-row: span 2; }
.food-photo-4 { grid-column: span 2; }
.food-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.food-photo:hover img { transform: scale(1.025); }
.brand-photo-section { background: var(--paper-alt); }
.brand-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brand-photo-grid figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.brand-photo-grid figure:nth-child(1), .brand-photo-grid figure:nth-child(7) { grid-column: span 2; }
.brand-photo-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- News ---------- */
.news-list { border-top: 1px solid var(--hairline-strong); }
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.news-date { font-variant-numeric: tabular-nums; font-size: 0.86rem; opacity: 0.6; padding-top: 2px; }
.news-item h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; }
.news-item p { margin: 8px 0 0; font-size: 0.9rem; opacity: 0.7; }
.pending { color: var(--ink); opacity: 0.45; font-style: italic; font-size: 0.92rem; padding: 22px 0; }
@media (max-width: 620px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Info table ---------- */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--hairline-strong); }
.info-table tr { border-bottom: 1px solid var(--hairline); }
.info-table th, .info-table td { text-align: left; padding: 20px 0; vertical-align: top; font-weight: 400; }
.info-table th {
  width: 200px;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}
@media (max-width: 620px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { padding-bottom: 4px; }
  .info-table td { padding-top: 0; padding-bottom: 22px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--deep);
  color: var(--on-deep);
}
.cta-band .wrap {
  padding: 72px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band p { margin-top: 12px; color: var(--on-deep-dim); max-width: 48ch; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: var(--on-deep-dim);
  padding: 56px 0 34px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--on-deep-hair);
}
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.86rem; color: var(--on-deep-dim); }
.footer-nav a:hover { color: var(--on-deep); }
.group-link { color: var(--on-deep); }
.footer-bottom {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  opacity: 0.6;
}
.group-sites { display:flex; flex-wrap:wrap; gap:10px 20px; padding:24px 0 0; font-size:.76rem; }
.group-sites a { color:var(--on-deep); }
.contact-layout { display:grid; grid-template-columns:.75fr 1.25fr; gap:70px; }
.contact-layout h2 { font-size:clamp(1.8rem,4vw,2.8rem); }
.contact-layout>div>p { opacity:.7; }
.contact-form { display:grid; gap:20px; }
.contact-form label { display:grid; gap:7px; font-size:.78rem; }
.contact-form label>span { color:var(--accent); margin-left:8px; }
.contact-form input,.contact-form select,.contact-form textarea { width:100%; padding:13px; border:1px solid var(--hairline-strong); background:#fff; font:inherit; color:inherit; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form .consent { display:flex; align-items:center; gap:10px; }
.contact-form .consent input { width:auto; }
.contact-form .consent span { margin:0; color:inherit; }
.contact-form .consent a { text-decoration:underline; }
.honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.form-status { margin:0; padding:12px 14px; border-left:2px solid var(--accent); }
.form-status:empty { display:none; }.form-status.error { border-color:#a33; }
.shop-actions,.detail-actions { display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:20px; }.shop-actions .shop-map-link{margin-top:0}.detail-actions{margin-top:36px}.mobile-cta{display:none}

@media (max-width: 760px) {
  body { padding-bottom:62px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding: 66px 0; }
  .hero .wrap { padding-top: 84px; padding-bottom: 88px; }
  .hero-actions { gap: 12px; }
  .btn { width: 100%; text-align: center; padding-left: 20px; padding-right: 20px; }
  .brand-preview-grid { grid-template-columns: 1fr; }
  .brand-preview { border-right: none; padding: 34px 24px; }
  .brand-detail { grid-template-columns: 1fr; min-height: auto; }
  .brand-detail:nth-child(even) .brand-visual { order: 0; }
  .brand-visual img, .brand-placeholder { min-height: 270px; max-height: 340px; }
  .brand-copy { padding: 34px 24px 42px; }
  .subsection-head { display: block; }
  .subsection-head h2 { margin-top: 8px; }
  .cta-band .wrap { padding-left: 20px; padding-right: 20px; }
  .cta-band .wrap > div:last-child { width: 100%; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 14px 22px; }
  .footer-bottom { display: grid; }
  .food-gallery-section { padding-top: 64px; }
  .food-gallery-head { display: block; }
  .food-gallery-head h2 { margin-top: 10px; }
  .food-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .food-photo-1 { grid-column: span 2; grid-row: span 2; }
  .food-photo-4 { grid-column: span 2; }
  .brand-photo-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .brand-photo-grid figure:nth-child(1), .brand-photo-grid figure:nth-child(7) { grid-column: span 2; }
  .contact-layout,.form-grid { grid-template-columns:1fr; gap:18px; }
  .mobile-cta { display:grid; grid-template-columns:1fr 1fr; position:fixed; z-index:80; left:0; right:0; bottom:0; height:62px; background:var(--deep); color:var(--on-deep); box-shadow:0 -4px 18px rgba(0,0,0,.2); }
  .mobile-cta a { display:grid; place-items:center; font-size:.82rem; }
  .mobile-cta a+a { background:var(--accent); color:#fff; }
}
.diagnosis-result{margin-top:40px;padding:34px;border:1px solid var(--hairline-strong);background:var(--warm)}.diagnosis-result h2{margin:0}.diagnosis-result p{white-space:pre-line}.diagnosis-result .btn{margin-top:18px}.faq-list details{padding:22px 0;border-bottom:1px solid var(--hairline)}.faq-list summary{font-weight:700;cursor:pointer}.faq-list details p{opacity:.72}
