/* ============================================================
   NATURE GREEN COFFEE
   色・字の設定はすべてここ（:root）に集約してある。
   ブランドカラーを変えたいときは、この10行だけ書き換える。
   ============================================================ */
:root {
  --forest:    #2F4032;  /* 山・森 */
  --forest-lt: #4A6B43;
  --earth:     #6B4B33;  /* 土・木・コーヒー */
  --terra:     #C06B3E;  /* 夕陽・火 */
  --cream:     #F2E9D8;  /* 光・紙（真っ白にしない） */
  --cream-dp:  #E7DCC6;
  --charcoal:  #23211E;  /* バイク・道路（真っ黒にしない） */
  --ink:       #2E2B26;  /* 本文 */
  --muted:     #7B7264;

  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  --sans:  "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.95;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* 練習用サイトである旨の帯 */
.sample-note {
  position: relative; z-index: 60;
  margin: 0; padding: 8px 16px;
  background: var(--charcoal); color: #CFC6B4;
  font-size: 0.75rem; text-align: center; letter-spacing: .02em;
}
.sample-note strong { color: var(--cream); }

/* ===================== ナビゲーション ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  background: rgba(35,33,30,0);
  transition: background .35s ease, box-shadow .35s ease;
}
.nav.is-solid {
  background: rgba(35,33,30,.94);
  box-shadow: 0 1px 0 rgba(242,233,216,.12);
  backdrop-filter: blur(6px);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none;
  font-family: var(--serif);
  font-size: .82rem; letter-spacing: .22em;
}
.nav__mark { width: 26px; height: 26px; flex: none; }

.nav__menu { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.nav__menu a {
  color: var(--cream); text-decoration: none;
  font-size: .72rem; letter-spacing: .18em; opacity: .82;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.nav__menu a:hover { opacity: 1; border-bottom-color: var(--terra); }

.nav__toggle {
  display: none;
  width: 42px; height: 34px;
  padding: 8px 6px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav__toggle span {
  display: block; height: 1.5px; background: var(--cream);
  transition: transform .3s ease, opacity .3s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  margin-top: -66px;           /* ナビを写真に重ねる */
  padding: 120px var(--pad) 90px;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(35,33,30,.55) 0%, rgba(35,33,30,.15) 38%, rgba(35,33,30,.62) 100%);
}
.hero__body { position: relative; }
.hero__eyebrow {
  margin: 0 0 22px;
  color: var(--cream); opacity: .78;
  font-size: .68rem; letter-spacing: .3em;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 8.5vw, 5.4rem);
  line-height: 1.12;
  letter-spacing: .06em;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(20,18,16,.45);
}
.hero__copy {
  margin: 26px 0 0;
  color: var(--cream);
  font-size: clamp(.92rem, 2.6vw, 1.15rem);
  letter-spacing: .24em;
}

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--cream); text-decoration: none;
}
.hero__scrollline {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, rgba(242,233,216,0), rgba(242,233,216,.9));
}
.hero__scrolltext { font-size: .6rem; letter-spacing: .28em; opacity: .75; }

/* ===================== 共通のかたまり ===================== */
.sec { position: relative; padding: clamp(64px, 12vw, 130px) var(--pad); }
.sec--cream { background: var(--cream-dp); }
.sec--dark  { background: var(--charcoal); color: var(--cream); }
.sec--dark .note, .sec--dark .body { color: #D5CCBA; }

.wrap { max-width: 1080px; margin: 0 auto; }
.wrap--narrow { max-width: 640px; }
.center { text-align: center; }

.label {
  margin: 0 0 18px;
  color: var(--terra);
  font-size: .68rem; letter-spacing: .3em;
}
.label--light { color: #E7AE7E; }

h2 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.6vw, 2.1rem);
  line-height: 1.6;
  letter-spacing: .05em;
}
.display {
  font-size: clamp(1.7rem, 5.4vw, 3rem);
  line-height: 1.5;
  margin-bottom: 34px;
}
.light { color: var(--cream); }

h3 {
  margin: 14px 0 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .04em;
}

.body { margin: 0 0 18px; font-size: clamp(.92rem, 2.4vw, 1rem); }
.note { margin: 14px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.85; }
.note.light { color: rgba(242,233,216,.72); }

/* ===================== 写真 ===================== */
.shot { margin: 0; }
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .72rem; letter-spacing: .02em;
}
.sec--dark .shot figcaption { color: rgba(242,233,216,.5); }

/* 2カラム。狭い画面では縦に積む。 */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .shot { order: 2; }
}

/* ===================== 価格表 ===================== */
.price { width: 100%; border-collapse: collapse; margin-top: 26px; }
.price th, .price td {
  padding: 11px 2px;
  border-bottom: 1px dotted rgba(123,114,100,.45);
  font-weight: normal; text-align: left;
  font-size: .9rem;
}
.sec--dark .price th, .sec--dark .price td { border-bottom-color: rgba(242,233,216,.2); }
.price td {
  text-align: right; white-space: nowrap;
  color: var(--terra);
  font-variant-numeric: tabular-nums;
}
.tag {
  margin-left: 6px; padding: 1px 6px;
  border: 1px solid currentColor; border-radius: 2px;
  font-size: .65rem; opacity: .6; white-space: nowrap;
}

/* ===================== FOOD カード ===================== */
.cards {
  display: grid; gap: clamp(18px, 3vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 34px;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__price { margin: 0; color: var(--terra); font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ===================== 背景いっぱいのかたまり ===================== */
.sec--full { overflow: hidden; }
.sec__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.sec__bgveil { position: absolute; inset: 0; background: rgba(35,33,30,.56); }
.sec--goods .sec__bgveil { background: rgba(35,33,30,.62); }
.sec__over { position: relative; }

.stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(20px, 6vw, 56px);
  margin: 40px 0 0; padding: 0; list-style: none;
}
.stats li { color: var(--cream); }
.stats strong {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1;
  color: #E9B282;
}
.stats span { font-size: .74rem; letter-spacing: .1em; opacity: .85; line-height: 1.7; }

.soon {
  display: inline-block;
  margin: 30px 0 0; padding: 12px 30px;
  border: 1px solid rgba(242,233,216,.5);
  color: var(--cream);
  font-size: .72rem; letter-spacing: .3em;
}

/* ===================== ACCESS ===================== */
.access { display: grid; gap: clamp(28px, 5vw, 52px); margin-top: 30px; }
@media (min-width: 820px) { .access { grid-template-columns: 1fr 1fr; align-items: start; } }

.info { margin: 0; }
.info dt {
  margin-top: 16px;
  color: var(--forest-lt);
  font-size: .7rem; letter-spacing: .18em;
}
.info dd { margin: 2px 0 0; font-size: .92rem; }
.shot--map img { aspect-ratio: 16 / 10; }

.closed {
  margin: clamp(34px, 6vw, 56px) 0 0;
  padding: 22px 24px;
  border-left: 3px solid var(--terra);
  background: rgba(192,107,62,.07);
  font-size: .9rem;
}

/* ===================== フッター ===================== */
.foot {
  padding: clamp(50px, 9vw, 86px) var(--pad);
  background: var(--charcoal); color: var(--cream);
  text-align: center;
}
.foot__mark { width: 40px; height: 40px; margin: 0 auto 18px; opacity: .8; }
.foot__name { margin: 0; font-family: var(--serif); letter-spacing: .24em; font-size: .95rem; }
.foot__copy { margin: 8px 0 22px; font-size: .72rem; letter-spacing: .24em; opacity: .7; }

/* ===================== スマートフォン ===================== */
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 6px var(--pad) 18px;
    background: var(--charcoal);
    display: none;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav.is-open { background: var(--charcoal); }
  .nav__menu a { padding: 13px 0; border-bottom: 1px solid rgba(242,233,216,.12); }
  .nav__brand span { font-size: .7rem; letter-spacing: .16em; }
}

/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
