/* 104 道の駅 あかね峠 ― 色はここだけ触れば差し替わる */
:root {
  --c-black: #111111;
  --c-black2: #1c1c1c;
  --c-orange: #ff7a00;
  --c-yellow: #ffcc00;
  --c-cream: #fff8ec;
  --c-accent-text: #a64b00;
  --c-on-dark: #e9e4dc;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "Noto Sans JP", sans-serif;
  --font-ja: "Dela Gothic One", sans-serif;
  --font-en: "Bebas Neue", sans-serif;
  --font-hand: "Zen Kurenaido", sans-serif;
  --head: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .03em; color: var(--c-on-dark); background: var(--c-black); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }

.inner { max-width: 1200px; margin: 0 auto; }
.en { font-family: var(--font-en); font-size: 22px; letter-spacing: .14em; color: var(--c-orange); line-height: 1; margin-bottom: 10px; }
.en--dark { color: var(--c-accent-text); }
.title { font-family: var(--font-ja); font-weight: 400; font-size: clamp(30px, 4.6vw, 60px); line-height: 1.3; color: #fff; }
.title--dark { color: var(--c-black); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; text-decoration: none; font-weight: 700; letter-spacing: .08em; white-space: nowrap; flex: none; transition: background-color .2s, color .2s; }
.btn--yellow { background: var(--c-yellow); color: var(--c-black); }
.btn--yellow:hover, .btn--yellow:focus-visible { background: var(--c-orange); }
.btn--line { border: 2px solid #fff; color: #fff; }
.btn--line:hover, .btn--line:focus-visible { background: #fff; color: var(--c-black); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }

.mark { width: 34px; height: 34px; flex: none; }

/* ===== A04：ロゴだけの幕 ===== */
.curtain { display: none; }
.is-curtain .curtain { display: flex; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; background: var(--c-black); pointer-events: none;
  animation: curtainOut .6s 2.6s forwards; } /* GSAP が読めなくても、2.6秒後には必ず消える */
.curtain__logo { display: flex; align-items: center; gap: 16px; font-family: var(--font-ja); font-size: clamp(40px, 9vw, 88px); color: #fff; white-space: nowrap; }
.curtain__logo .mark { width: 1.2em; height: 1.2em; }
@keyframes curtainOut { to { opacity: 0; visibility: hidden; } }

/* 伏せ字の〇は日本語の書体で（英字の書体だと大きな丸に見える） */
.fz { font-family: "Noto Sans JP", sans-serif; font-weight: inherit; letter-spacing: 0; }

/* ヘッダー */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(17, 17, 17, .94); border-bottom: 3px solid var(--c-orange); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--head); padding: 0 8px 0 16px; max-width: 1440px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; text-decoration: none; white-space: nowrap; flex: none; color: #fff; }
.logo__sub { font-size: 15px; font-weight: 700; color: var(--c-yellow); }
.logo__main { font-family: var(--font-ja); font-size: 22px; line-height: 1; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (max-width: 370px) { .logo__sub { display: none; } }
@media (min-width: 1080px) {
  :root { --head: 76px; }
  .header__inner { padding: 0 40px; gap: 28px; }
  .logo__main { font-size: 26px; }
  .gnav { display: flex; gap: 28px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 3px solid transparent; transition: border-color .2s, color .2s; }
  .gnav a:hover { color: var(--c-yellow); border-color: var(--c-yellow); }
  .header__btn { margin-left: 0; padding: 0 24px; }
}

.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; color: #fff; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-black); padding: 8px 20px 24px; display: flex; flex-direction: column; border-bottom: 3px solid var(--c-orange); }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-weight: 700; color: #fff; border-bottom: 1px solid #333; }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル（画像1枚のLP風） ===== */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; background: #3a1d06; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .2) 0%, rgba(17, 17, 17, .15) 40%, rgba(17, 17, 17, .88) 100%); }
.hero__copy { position: relative; z-index: 2; padding: 120px 20px 56px; }
.hero__en { font-family: var(--font-en); font-size: 22px; letter-spacing: .16em; color: var(--c-yellow); }
.hero__title { font-family: var(--font-ja); font-weight: 400; font-size: clamp(44px, 9vw, 120px); line-height: 1.18; color: #fff; margin: 8px 0 28px; }
.hero__title span:not(.fz) { color: var(--c-yellow); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1080px) { .hero__copy { padding: 0 6vw 80px; } .hero__photo::after { background: linear-gradient(90deg, rgba(17, 17, 17, .85) 0%, rgba(17, 17, 17, .3) 55%, rgba(17, 17, 17, 0) 100%), linear-gradient(180deg, transparent 60%, rgba(17, 17, 17, .6)); } }

.infobar { display: grid; gap: 4px; padding: 20px; background: var(--c-yellow); color: var(--c-black); font-weight: 700; }
.infobar span:not(.fz) { font-family: var(--font-en); font-size: 22px; letter-spacing: .1em; margin-right: 12px; }
@media (min-width: 900px) { .infobar { grid-template-columns: repeat(3, auto); justify-content: center; gap: 48px; padding: 20px 6vw; } }

/* ===== 今日の直売所（scroll-snap） ===== */
.market { padding: 96px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 0 20px; margin-bottom: 32px; }
.arrows { display: flex; gap: 8px; }
.arrows[hidden] { display: none; }
.arrow { width: 52px; height: 52px; border: 2px solid var(--c-yellow); background: transparent; color: var(--c-yellow); font-size: 20px; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.arrow:hover, .arrow:focus-visible { background: var(--c-yellow); color: var(--c-black); }
.market__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 16px; scroll-padding: 0 20px; }
.item { flex: none; width: 70vw; max-width: 340px; scroll-snap-align: start; background: var(--c-black2); padding-bottom: 20px; position: relative; }
.item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.item__tag { position: absolute; top: 12px; left: 12px; background: var(--c-orange); color: var(--c-black); font-weight: 700; font-size: 15px; padding: 2px 10px; }
.item h3 { font-family: var(--font-ja); font-size: 21px; color: #fff; margin: 16px 16px 0; }
.item__price { margin: 0 16px; font-family: var(--font-en); font-size: 26px; letter-spacing: .04em; color: var(--c-yellow); }
.item__who { margin: 0 16px; font-size: 15px; }
@media (min-width: 1080px) { .market { padding: 140px 0; } .sec-head, .market__track { padding-left: 6vw; padding-right: 6vw; } .market__track { scroll-padding: 0 6vw; gap: 24px; } .item { width: 22vw; } }

/* ===== 作る人（B07） ===== */
.makers { background: var(--c-black2); padding: 96px 0 0; }
.makers__head { padding: 0 20px 40px; }
.maker { display: grid; gap: 0; padding-bottom: 72px; }
.maker__photo { overflow: hidden; background: #2b1a0c; }
.maker__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.maker__text { padding: 28px 20px 0; }
.maker__no { font-family: var(--font-en); font-size: 22px; letter-spacing: .14em; color: var(--c-orange); }
.maker__hand { font-family: var(--font-hand); font-size: clamp(32px, 4.2vw, 58px); line-height: 1.35; color: var(--c-yellow); margin: 8px 0 16px; transform: rotate(-2deg); transform-origin: 0 50%; }
.maker__name { display: inline-block; margin-bottom: 12px; padding: 2px 12px; background: #fff; color: var(--c-black); font-weight: 700; }
@media (min-width: 1080px) {
  .makers { padding-top: 140px; }
  .makers__head { padding: 0 6vw 48px; }
  .maker { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 5vw; padding: 0 6vw 120px; }
  .maker__photo img { aspect-ratio: auto; height: 76vh; }
  .maker__text { padding: 0; max-width: 560px; }
}
/* 動く版：画面に止めて重ね、人ごとに切り替える */
.is-motion .makers__stage { position: relative; height: calc(100vh - var(--head)); overflow: hidden; }
.is-motion .maker { position: absolute; inset: 0; padding-bottom: 0; grid-template-rows: 46% auto; align-content: start; }
.is-motion .maker__photo img { height: 100%; aspect-ratio: auto; }
.is-motion .maker__text { padding-top: 20px; }
.is-motion .maker + .maker { visibility: hidden; }
@media (min-width: 1080px) {
  .is-motion .maker { grid-template-rows: none; align-content: center; padding: 3vh 6vw; }
  .is-motion .maker__photo img { height: calc(100vh - var(--head) - 6vh); }
}

/* ===== 数字で見る（F05） ===== */
.numbers { padding: 96px 20px; }
.nums { display: grid; gap: 20px; margin-top: 40px; }
.nums li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border-top: 3px solid var(--c-orange); padding-top: 12px; min-width: 0; }
.num { font-family: var(--font-en); font-size: clamp(150px, 40vw, 300px); line-height: .85; letter-spacing: -.01em;
  background-color: var(--c-orange); background-image: var(--img); background-size: cover; background-position: 50% 50%; filter: url(#duo);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.num__label { font-size: 16px; color: #fff; }
.num__label b { display: block; font-family: var(--font-ja); font-weight: 400; font-size: 30px; color: var(--c-yellow); }
.numbers__note { margin-top: 24px; font-size: 15px; }
@media (min-width: 1080px) { .numbers { padding: 140px 6vw; } .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .nums li { grid-template-columns: 1fr; } .num { font-size: min(19vw, 300px); } }

/* ===== 食堂（二色刷り：オレンジ×黒） ===== */
.duo { position: relative; background: var(--c-orange); overflow: hidden; }
.duo img { filter: grayscale(1) contrast(1.3); mix-blend-mode: multiply; }
.food { display: grid; padding-bottom: 96px; }
.food__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.food__body { padding: 40px 20px 0; }
.food__body > p { margin: 16px 0 24px; }
.menu li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #555; font-weight: 700; color: #fff; }
.menu li > span:last-child { font-family: var(--font-en); font-size: 24px; font-weight: 400; color: var(--c-yellow); line-height: 1.4; }
@media (min-width: 1080px) { .food { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: center; padding: 0 6vw 140px 0; } .food__body { padding: 0; max-width: 520px; } }

/* ===== 施設案内・アクセス（クリーム） ===== */
.guide { background: var(--c-cream); color: var(--c-text); padding: 96px 20px; }
.guide__grid { display: grid; gap: 64px; }
.info { margin: 24px 0 0; border-top: 3px solid var(--c-black); }
.info div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid #e4d6c0; }
.info dt { font-weight: 700; color: var(--c-black); }
.info dd { margin: 0; }
@media (min-width: 900px) { .guide { padding: 140px 6vw; } .guide__grid { grid-template-columns: 1fr 1fr; gap: 6vw; } .info div { grid-template-columns: 8em 1fr; gap: 16px; } }

/* ===== フッター ===== */
.footer { padding: 56px 20px; text-align: center; font-size: 15px; border-top: 3px solid var(--c-orange); }
.footer__logo { font-family: var(--font-ja); font-size: 24px; color: #fff; margin-bottom: 12px; }
.footer__fiction { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .is-curtain .curtain { display: none; }
}

/* 大きな数字の中の伏せ字は、数字の高さにそろえて小さめに */
.price__num .fz, .item__price .fz, .menu .fz, .c-stamp .fz { font-size: max(15px, .62em); vertical-align: .08em; }
.c-stamp { white-space: nowrap; }
