/* =========================================================
   株式会社日本再生農業 — Rebirth Japan Agriculture
   Shared Stylesheet
   ========================================================= */

:root {
  /* Palette — natural rice / earth */
  --green-900: #1c3327;
  --green-800: #234534;
  --green-700: #2f5c45;
  --green-600: #3d7255;
  --green-500: #5a9270;
  --gold-600: #b8893c;
  --gold-500: #cba04e;
  --gold-400: #e0bd74;
  --cream: #f6f2e9;
  --cream-dark: #ece5d5;
  --paper: #fbfaf6;
  --ink: #26312b;
  --ink-soft: #57645b;
  --line: #e2ddcf;
  --white: #ffffff;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 14px rgba(28, 51, 39, 0.06);
  --shadow-md: 0 14px 44px rgba(28, 51, 39, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 10vw, 130px) 0; }
.section--tint { background: var(--cream); }
.section--dark { background: var(--green-800); color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold-500); }
.section--dark .eyebrow { color: var(--gold-400); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.45;
  margin: 18px 0 0;
  letter-spacing: 0.01em;
}
.section-lead { max-width: 640px; margin-top: 22px; color: var(--ink-soft); }
.section--dark .section-lead { color: rgba(246,242,233,0.82); }
/* keep a phrase from breaking mid-way (avoids stranded 「…」 / trailing 。) */
.nb { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.05em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
  cursor: pointer; border: none;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--gold-600); color: #fff; box-shadow: 0 10px 26px rgba(184,137,60,0.35); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(184,137,60,0.42); }
.btn--ghost { background: transparent; color: var(--green-800); border: 1.5px solid var(--green-600); }
.btn--ghost:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); transform: translateY(-3px); }
.btn--light { background: var(--cream); color: var(--green-800); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Header (solid white, two-tier — utility links above main menu) ---------- */
:root { --header-h: 96px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--green-700);
  box-shadow: 0 2px 10px rgba(28,51,39,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 48px; height: 48px; flex-shrink: 0; display: block;
  border-radius: 13px; box-shadow: 0 4px 12px rgba(28,51,39,0.18);
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
.brand__text { line-height: 1.3; color: var(--green-900); display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.04em; }
.brand__en { font-size: 0.62rem; letter-spacing: 0.24em; color: var(--gold-600); text-transform: uppercase; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.util { display: flex; align-items: center; gap: 22px; list-style: none; font-size: 0.78rem; }
.util a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); transition: color 0.3s; }
.util a:hover { color: var(--green-700); }
.util svg { width: 14px; height: 14px; color: var(--green-600); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--green-900); position: relative; transition: color 0.3s;
}
.nav a:not(.nav__shop)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold-500); transition: width 0.35s var(--ease);
}
.nav a:not(.nav__shop):hover::after,
.nav a.active:not(.nav__shop)::after { width: 100%; }
.nav a.active { color: var(--green-700); }
.nav__shop {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-700); color: #fff !important; padding: 9px 20px;
  border-radius: 100px; transition: background 0.3s, transform 0.3s var(--ease);
}
.nav__shop svg { width: 16px; height: 16px; }
.nav__shop:hover { background: var(--green-800); transform: translateY(-2px); }
.nav__sp { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 6px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 110;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--green-900); transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  background: #24402f; color: var(--cream); overflow: hidden;
}
.hero__field { display: none; }
.hero__bg {
  position: absolute; inset: -6%; z-index: 0;
  background: url("../images/hero-summer.jpg") center 55% / cover no-repeat;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform; transform: scale(1.06);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(20,40,30,0.38) 0%, rgba(20,40,30,0.18) 55%, rgba(20,40,30,0.08) 100%);
}
.hero__particles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.grain {
  position: absolute; bottom: -8%; border-radius: 60% 60% 55% 55%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,255,255,0.35));
  opacity: 0; filter: blur(0.3px);
  animation: floatUp linear infinite;
}
@keyframes kenburns {
  0% { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.16) translate(-1.2%, -1.6%); }
}
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0deg); }
  10% { opacity: 0.9; }
  90% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-108vh) translateX(var(--drift, 40px)) rotate(360deg); }
}
/* hero entrance */
.hero .anim { opacity: 0; transform: translateY(30px); animation: heroUp 1s var(--ease) forwards; }
.hero .anim.d1 { animation-delay: 0.15s; }
.hero .anim.d2 { animation-delay: 0.32s; }
.hero .anim.d3 { animation-delay: 0.5s; }
.hero .anim.d4 { animation-delay: 0.68s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
  .grain { display: none; }
  .hero .anim { opacity: 1; transform: none; animation: none; }
}
.hero__inner { position: relative; z-index: 2; text-align: center; }
.hero__inner .hero__sub { max-width: 760px; margin-left: auto; margin-right: auto; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 18px; border-radius: 100px;
  background: rgba(246,242,233,0.14); border: 1px solid rgba(246,242,233,0.28);
  font-size: 0.75rem; letter-spacing: 0.14em; backdrop-filter: blur(4px);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(1.2rem, 6.3vw, 3.6rem); line-height: 1.38; letter-spacing: 0.005em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
}
.hero h1 .accent { color: var(--gold-400); }
/* each catchphrase line stays on one line and scales to fit */
.hero h1 .l { display: block; white-space: nowrap; }
.hero__sub { margin-top: 28px; max-width: 560px; font-size: 1.05rem; color: rgba(246,242,233,0.9); }
.hero__actions { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 0.68rem; letter-spacing: 0.28em; color: rgba(246,242,233,0.8);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--gold-400), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: 110px 0 96px; text-align: center; color: var(--cream);
  background:
    linear-gradient(180deg, rgba(28,51,39,0.62), rgba(28,51,39,0.8)),
    url("../images/about-field.jpg") center 40% / cover no-repeat,
    linear-gradient(120deg, #2f5c45, #4a7a5c);
  position: relative; overflow: hidden;
}
.page-hero--farming { background:
    linear-gradient(180deg, rgba(28,51,39,0.6), rgba(28,51,39,0.82)),
    url("../images/natural-farming.jpg") center 50% / cover no-repeat, var(--green-700); }
.page-hero--contact { background:
    linear-gradient(180deg, rgba(28,51,39,0.62), rgba(28,51,39,0.82)),
    url("../images/hero.jpg") center 45% / cover no-repeat, var(--green-700); }
.page-hero--recipe { background:
    linear-gradient(180deg, rgba(28,51,39,0.55), rgba(28,51,39,0.8)),
    url("../images/cooking.jpg") center 55% / cover no-repeat, var(--green-700); }
.page-hero .field { display: none; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: 0.02em; margin-top: 14px; }
.page-hero p { margin-top: 16px; color: rgba(246,242,233,0.85); }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.1em; color: rgba(246,242,233,0.7); margin-top: 30px; }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- Philosophy (四方良し) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--green-500)); transform: scaleX(0);
  transform-origin: left; transition: transform 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); color: var(--green-700); margin-bottom: 22px;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar__no { font-family: var(--font-serif); font-size: 0.8rem; color: var(--gold-600); letter-spacing: 0.1em; }
.pillar h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; margin: 6px 0 12px; }
.pillar p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.85; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  border-radius: var(--radius); overflow: hidden; min-height: 420px; position: relative;
  background: linear-gradient(135deg, var(--green-700), var(--green-500)); box-shadow: var(--shadow-md);
}
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split__media img { transform: scale(1.05); }
.media-visual { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(246,242,233,0.9); }
.media-visual .rice-stalks { display: flex; gap: 14px; align-items: flex-end; height: 60%; }
.media-visual .stalk { width: 6px; background: linear-gradient(var(--gold-400), var(--green-600)); border-radius: 6px; opacity: 0.85; }
.media-tag {
  position: absolute; bottom: 22px; left: 22px; background: rgba(251,250,246,0.94);
  color: var(--green-800); padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-sm);
}
.media-tag strong { font-family: var(--font-serif); font-size: 1.5rem; display: block; }
.media-tag span { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.08em; }

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.check-list .ck {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green-600);
  color: #fff; display: grid; place-items: center; font-size: 0.7rem; margin-top: 4px;
}
.check-list b { font-weight: 700; }

/* ---------- Vision / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.stat { text-align: center; padding: 20px; border-right: 1px solid rgba(246,242,233,0.18); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--gold-400); line-height: 1; }
.stat__num small { font-size: 0.9rem; }
.stat__label { margin-top: 12px; font-size: 0.85rem; color: rgba(246,242,233,0.8); }

/* ---------- Business cards ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.biz-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s;
  display: flex; flex-direction: column;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.biz-card__head {
  padding: 40px; color: var(--cream); position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
}
.biz-card:nth-child(2) .biz-card__head { background: linear-gradient(135deg, var(--gold-600), var(--gold-400)); }
.biz-card__head .num { font-family: var(--font-serif); font-size: 3rem; opacity: 0.35; line-height: 1; }
.biz-card__head h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-top: 10px; }
.biz-card__body { padding: 32px 40px 40px; }
.biz-card__body p { color: var(--ink-soft); font-size: 0.95rem; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.biz-tags span { font-size: 0.75rem; padding: 6px 14px; border-radius: 100px; background: var(--cream); color: var(--green-700); font-weight: 600; }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.loc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.loc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.loc__pin { color: var(--gold-600); font-size: 0.78rem; letter-spacing: 0.1em; font-weight: 700; }
.loc h3 { font-family: var(--font-serif); font-size: 1.35rem; margin: 8px 0 6px; }
.loc__area { font-size: 0.9rem; color: var(--ink-soft); }
.loc__size { margin-top: 18px; font-family: var(--font-serif); font-size: 1.6rem; color: var(--green-700); }
.loc__size small { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Info table (company overview) ---------- */
.info-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { text-align: left; padding: 22px 28px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 30%; background: var(--cream); font-weight: 700; font-size: 0.92rem; color: var(--green-800); letter-spacing: 0.04em; }
.info-table td { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.4s, transform 0.4s;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); color: var(--green-700); display: grid; place-items: center; flex-shrink: 0; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--gold-600); text-transform: uppercase; }
.contact-card .val { font-family: var(--font-serif); font-size: 1.15rem; color: var(--green-900); margin-top: 4px; word-break: break-all; }
.contact-card .sub { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; color: var(--green-800); }
.field label .req { color: #c0532f; font-size: 0.72rem; margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--paper); transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(90,146,112,0.15); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.form__submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-success { display: none; padding: 18px; border-radius: var(--radius-sm); background: #e7f0e9; color: var(--green-800); font-size: 0.9rem; margin-bottom: 20px; border: 1px solid #cfe0d3; }
.form-success.show { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; color: var(--cream);
  background: linear-gradient(120deg, var(--green-800), var(--green-600));
  border-radius: var(--radius); padding: clamp(48px, 7vw, 80px) 24px; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: 0.3;
  background: repeating-linear-gradient(90deg, transparent 0 44px, rgba(224,189,116,0.14) 44px 46px);
  transform: perspective(400px) rotateX(62deg) scale(2); transform-origin: bottom; bottom: -30%;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 600; letter-spacing: 0.04em; }
.cta-band p { margin: 16px auto 32px; max-width: 480px; color: rgba(246,242,233,0.88); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(246,242,233,0.72); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(246,242,233,0.12); }
.footer-brand .brand__name { color: var(--cream); }
.footer-brand p { margin-top: 18px; font-size: 0.88rem; max-width: 320px; line-height: 1.9; }
.footer-col h5 { color: var(--cream); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: 0.88rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.78rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Vision band (dark section w/ photo) ---------- */
.section--vision { position: relative; overflow: hidden; background: var(--green-900); }
.section--vision .vision-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../images/vision-band.jpg") center / cover no-repeat;
  opacity: 0.42;
}
.section--vision::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,38,29,0.78), rgba(20,38,29,0.9));
}
.section--vision .container { position: relative; z-index: 2; }

/* ---------- Interlude parallax band ---------- */
.interlude {
  position: relative; min-height: 60vh; display: flex; align-items: center;
  background-attachment: fixed; background-position: center; background-size: cover;
  color: var(--cream); text-align: center; overflow: hidden;
}
.interlude::after { content: ""; position: absolute; inset: 0; background: rgba(20,38,29,0.6); }
.interlude__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 90px 24px; }
.interlude__mark { color: var(--gold-400); font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; }
.interlude h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.4rem); line-height: 1.6; margin-top: 18px; letter-spacing: 0.04em; }
.interlude p { margin-top: 20px; color: rgba(246,242,233,0.85); font-size: 0.95rem; letter-spacing: 0.14em; }

/* ---------- Location thumbnails ---------- */
.loc { padding: 0; overflow: hidden; }
.loc__thumb { height: 160px; position: relative; overflow: hidden; }
.loc__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.loc:hover .loc__thumb img { transform: scale(1.08); }
.loc__body { padding: 24px 26px 30px; }
.loc__body h3 { font-family: var(--font-serif); font-size: 1.3rem; margin: 6px 0; }

/* ---------- Social icons ---------- */
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(246,242,233,0.08); border: 1px solid rgba(246,242,233,0.16);
  color: var(--cream); transition: background 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.social a:hover { background: var(--gold-600); border-color: var(--gold-600); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }

/* ---------- Icon feature row ---------- */
.icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.icon-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.icon-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.icon-item .ic {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--green-700);
}
.icon-item .ic svg { width: 30px; height: 30px; }
.icon-item h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 10px; }
.icon-item p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- LINE button ---------- */
.btn--line { background: #06C755; color: #fff; box-shadow: 0 10px 24px rgba(6,199,85,0.32); }
.btn--line:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(6,199,85,0.4); }

/* ---------- Trial banner ---------- */
.trial-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
  color: #fff; border-radius: var(--radius); padding: 34px 40px; box-shadow: var(--shadow-md);
}
.trial-banner__label { font-size: 0.78rem; letter-spacing: 0.18em; font-weight: 700; opacity: 0.9; }
.trial-banner__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin-top: 4px; }
.trial-banner__desc { font-size: 0.86rem; margin-top: 6px; opacity: 0.95; }
.trial-banner__price { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; white-space: nowrap; }
.trial-banner__price small { font-size: 1rem; font-weight: 500; }

/* ---------- Price cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 30px; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; position: relative; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--feature { border-color: var(--green-600); box-shadow: 0 0 0 2px rgba(61,114,85,0.15), var(--shadow-sm); }
.price-card__tag {
  position: absolute; top: -13px; left: 36px; background: var(--green-700); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 6px 16px; border-radius: 100px;
}
.price-card__tag--gold { background: var(--gold-600); }
.price-card h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; }
.price-card__note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }
.price-list { list-style: none; margin-top: 22px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: none; }
.price-list .qty { font-weight: 700; color: var(--green-800); }
.price-list .amt { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); }
.price-list .amt small { font-size: 0.8rem; color: var(--ink-soft); }
.price-foot { text-align: center; font-size: 0.8rem; color: var(--ink-soft); margin-top: 24px; }

.order-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }

/* ---------- Cooking steps ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 50px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 20px; align-items: flex-start; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step__no {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--gold-500)); color: #fff;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700;
}
.step h4 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.tool { background: var(--cream); border-radius: var(--radius-sm); padding: 26px; }
.tool h4 { font-family: var(--font-serif); font-size: 1.05rem; margin-bottom: 8px; color: var(--green-800); }
.tool p { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Highlight + commitments ---------- */
.hl { font-weight: 700; color: var(--green-800); background: linear-gradient(transparent 62%, rgba(224,189,116,0.45) 62%); }
.section-lead + .section-lead { margin-top: 14px; }

.commit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 72px; }
.commit--rev .commit__media { order: 2; }
.commit__media { margin: 0; }
.commit__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.commit__media--diagram svg { width: 100%; height: auto; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fig-cap { font-size: 0.78rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.6; }
.commit__no { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--gold-500); letter-spacing: 0.02em; }
.commit h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 700; margin: 10px 0 16px; color: var(--green-900); }
.commit p { color: var(--ink-soft); }
.commit p + p { margin-top: 12px; }

.compare-wrap { max-width: 860px; margin: 40px auto 0; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); table-layout: fixed; }
.compare th, .compare td { padding: 16px 14px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); font-size: 0.92rem; line-height: 1.5; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare thead th { background: var(--green-800); color: var(--cream); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.06em; }
.compare tbody th { font-weight: 700; color: var(--green-900); background: var(--paper); }
.compare td { color: var(--ink-soft); }
.compare small { display: block; font-size: 0.72rem; color: var(--ink-soft); font-weight: 400; margin-top: 3px; }
.compare tr.is-ours th, .compare tr.is-ours td { background: #eef5ef; }
.compare tr.is-ours th { font-size: 1.05rem; }
.compare tr.is-ours th small { color: var(--gold-600); font-weight: 700; }
.compare .no { display: inline-block; font-weight: 700; color: #b5502c; font-size: 1.02rem; }
@media (max-width: 560px) {
  .compare th, .compare td { padding: 12px 6px; font-size: 0.8rem; }
  .compare thead th { font-size: 0.78rem; }
  .compare tr.is-ours th { font-size: 0.9rem; }
  .compare .no { font-size: 0.88rem; }
  .compare small { font-size: 0.66rem; }
}

.note-band { margin-top: 80px; padding: 30px 34px; border-radius: var(--radius); background: var(--cream); border-left: 4px solid var(--gold-500); }
.note-band p { color: var(--ink-soft); font-size: 0.95rem; }
.note-band b { color: var(--green-800); margin-right: 6px; }

@media (max-width: 860px) {
  .commit { grid-template-columns: 1fr; margin-top: 56px; }
  .commit--rev .commit__media { order: 0; }
  .note-band { padding: 24px; margin-top: 56px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; }
  .biz-grid { grid-template-columns: 1fr; }
  .locations { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .icon-row { grid-template-columns: 1fr; }
  .interlude { background-attachment: scroll; }
}
@media (max-width: 720px) {
  /* full-screen overlay menu (robust on all phones) */
  .nav {
    position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh;
    background: var(--green-800);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 88px 28px 48px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
    z-index: 105; overflow-y: auto;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    color: var(--cream) !important; font-size: 1.2rem; font-weight: 500;
    width: 100%; max-width: 300px; text-align: center; padding: 17px 8px;
    border-bottom: 1px solid rgba(246,242,233,0.14);
  }
  .nav a::after { display: none !important; }
  .nav a.active { color: var(--gold-400) !important; }
  .nav__cta {
    background: var(--gold-500); color: #fff !important; border-radius: 100px;
    margin-top: 22px; border-bottom: none; box-shadow: 0 8px 20px rgba(184,137,60,0.35);
  }
  .nav-toggle { display: flex; position: relative; z-index: 120; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle.open span { background: var(--cream) !important; }
  body.nav-open { overflow: hidden; }
  .form-row { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .info-table th { width: 38%; padding: 16px; font-size: 0.82rem; }
  .info-table td { padding: 16px; font-size: 0.88rem; }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 720px) {
  /* multi-column blocks stack on phones */
  .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }

  /* hero badge: keep to one clean line where possible, tidy wrap otherwise */
  .hero__badge {
    font-size: 0.68rem; letter-spacing: 0.03em; line-height: 1.6;
    padding: 8px 15px; max-width: 100%;
  }
  .hero__inner { padding-top: 0; }
  .hero__sub { font-size: 1rem; }
  /* scroll cue overlaps the CTA buttons on small screens */
  .hero__scroll { display: none; }

  .trial-banner { padding: 26px 24px; gap: 16px; }
  .trial-banner__price { font-size: 2rem; }
  .trial-banner__name { font-size: 1.3rem; }

  .interlude { min-height: 48vh; }
  .interlude h2 { font-size: 1.4rem; line-height: 1.7; }
  .cta-band { padding: 46px 24px; }
  .cta-band h2 { font-size: 1.45rem; line-height: 1.55; }
}

@media (max-width: 420px) {
  .hero h1 { line-height: 1.34; }
  .section-title { line-height: 1.5; }
  .btn { padding: 14px 26px; font-size: 0.9rem; }
}

/* ---------- Header: labels + phone layout (menu always visible, no hamburger) ---------- */
.nav a { text-align: center; line-height: 1.35; }
.nav a .en { display: block; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.16em; color: var(--gold-600); margin-top: 2px; }
.util__sp { display: none; }
.util__shop {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold-600); color: #fff !important; font-weight: 700;
  padding: 7px 12px; border-radius: 100px; font-size: 0.74rem; white-space: nowrap;
}
.util__shop svg { width: 14px; height: 14px; color: #fff !important; }

@media (max-width: 720px) {
  :root { --header-h: 112px; }
  .site-header { border-bottom-width: 2px; }
  .header-inner { height: auto; flex-wrap: wrap; padding-top: 10px; }
  .header-right { display: contents; }
  .brand { order: 1; }
  .brand__mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand__name { font-size: 1.02rem; }
  .brand__en { font-size: 0.55rem; }
  .util { order: 2; display: flex; margin-left: auto; gap: 0; }
  .util__pc { display: none; }
  .util__sp { display: block; }
  .nav-toggle { display: none !important; }

  /* undo the old full-screen overlay menu */
  .nav {
    order: 3; flex: 0 0 calc(100% + 48px); max-width: none;
    position: static; inset: auto; width: auto; height: auto; overflow: visible;
    opacity: 1; visibility: visible; transform: none; transition: none;
    background: none; padding: 0; z-index: auto;
    display: flex; flex-direction: row; align-items: stretch; justify-content: space-between; gap: 0;
    margin: 10px -24px 0; width: calc(100% + 48px); border-top: 1px solid var(--line);
  }
  .nav a {
    flex: 1; width: auto; max-width: none; color: var(--green-900) !important;
    font-size: 0.8rem; font-weight: 700; padding: 8px 2px 9px; border-bottom: none;
    border-left: 1px solid var(--line);
  }
  .nav a:first-child { border-left: none; }
  .nav a.active { color: var(--green-700) !important; background: #f3f8f3; }
  .nav a .en { font-size: 0.5rem; letter-spacing: 0.12em; }
  .nav a:not(.nav__shop)::after { bottom: 0; }
  .nav__sp { display: block; }
  .nav__shop { display: none !important; }
}
@media (min-width: 721px) { .nav__sp { display: none !important; } }

/* ---------- Top page story (centered heading → text → wide image) ---------- */
.story { background: var(--white); }
.story-block { padding: clamp(80px, 10vw, 140px) 0 0; text-align: center; }
.story-block--tint { background: #eef5ef; padding-bottom: clamp(72px, 9vw, 120px); margin-top: clamp(80px, 10vw, 140px); }
.story-block--tint + .story-block { padding-top: clamp(80px, 10vw, 140px); }
.story-block--last { padding-bottom: clamp(90px, 11vw, 150px); }
.story-block h2 {
  font-size: clamp(1.45rem, 3.4vw, 2.35rem); font-weight: 700; line-height: 1.6;
  letter-spacing: 0.04em; color: var(--green-800);
}
.story-text { max-width: 820px; margin: 30px auto 0; }
.story-text p { font-size: clamp(0.98rem, 1.5vw, 1.15rem); line-height: 2.1; color: var(--ink); }
.story-text p + p { margin-top: 1.2em; }
.story-figure { margin: 52px auto 0; max-width: 1080px; }
.story-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; }
.story-figure .fig-cap { text-align: center; }
.story-figure--diagram { max-width: 560px; }
.story-figure--diagram svg { width: 100%; height: auto; display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.story-figure + .story-text { margin-top: 44px; }
.story .compare-wrap { margin-top: 44px; text-align: left; }
.story-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 52px; }

@media (max-width: 720px) {
  br.pc { display: none; }
  .story-text { text-align: left; }
  .story-text p { line-height: 2; }
  .story-figure { margin-top: 36px; }
  .story-figure img { aspect-ratio: 4 / 3; border-radius: 4px; }
  .story-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Header v3: 4 text items, tel link in utility row ---------- */
.util__tel span { letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .util__tel {
    border: 1.5px solid var(--green-600); border-radius: 100px; padding: 6px 12px;
    color: var(--green-800) !important; font-weight: 700; font-size: 0.78rem;
  }
  .nav a { font-size: 0.74rem; letter-spacing: 0; padding-left: 0; padding-right: 0; }
  .nav a .en { letter-spacing: 0.1em; }
}
@media (max-width: 370px) {
  .nav a { font-size: 0.68rem; }
  .util__tel span { display: none; }
}

/* ---------- Owner page ---------- */
.page-hero--owner { background:
    linear-gradient(180deg, rgba(28,51,39,0.55), rgba(28,51,39,0.8)),
    url("../images/biz-sharing.jpg") center 40% / cover no-repeat, var(--green-700); }
.owner-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; text-align: left; }
.owner-point { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.owner-point .commit__no { font-size: 2rem; }
.owner-point h3 { font-size: 1.08rem; font-weight: 700; color: var(--green-900); margin: 8px 0 8px; }
.owner-point p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.8; }
.owner-plan { max-width: 560px; margin: 40px auto 0; border: 2px dashed var(--gold-500); border-radius: var(--radius); padding: 32px 20px; background: #fffcf4; }
.owner-plan__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; color: var(--gold-600); }
.owner-plan__text { font-size: 1.1rem; font-weight: 700; color: var(--green-900); margin-top: 6px; }
.owner-flow { counter-reset: of; list-style: none; max-width: 680px; margin: 40px auto 0; display: grid; gap: 14px; text-align: left; }
.owner-flow li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 70px; }
.owner-flow li::before { counter-increment: of; content: counter(of); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.owner-flow b { display: block; color: var(--green-900); }
.owner-flow span { font-size: 0.88rem; color: var(--ink-soft); }
@media (max-width: 960px) { .owner-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .owner-points { grid-template-columns: 1fr; } }

/* =========================================================
   Tighter vertical rhythm (less empty space site-wide)
   ========================================================= */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section-title { margin-top: 10px; }
.section-lead { margin-top: 14px; }
.page-hero { padding: 64px 0 56px; }
.page-hero p { margin-top: 10px; }
.breadcrumb { margin-top: 16px; }

.story-block { padding: clamp(48px, 6vw, 84px) 0 0; }
.story-block--tint { margin-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(44px, 5vw, 72px); }
.story-block--tint + .story-block { padding-top: clamp(48px, 6vw, 84px); }
.story-block--last { padding-bottom: clamp(56px, 7vw, 90px); }
.story-text { margin-top: 18px; }
.story-figure { margin-top: 30px; }
.story-figure + .story-text { margin-top: 28px; }
.story .compare-wrap { margin-top: 28px; }
.story-cta { margin-top: 32px; }

.commit { margin-top: 44px; }
.note-band { margin-top: 48px; }
.pillars, .biz-grid, .locations, .stats, .icon-row, .steps { margin-top: 32px; }
.owner-points, .owner-flow, .owner-plan { margin-top: 26px; }
.cta-band { padding: clamp(36px, 5vw, 56px) 24px; }
.cta-band p { margin: 10px auto 20px; }

/* footer */
.site-footer { padding: 36px 0 18px; }
.footer-top { padding-bottom: 20px; gap: 16px; }
.footer-brand p { margin-top: 12px; line-height: 1.8; max-width: 520px; }
.footer-bottom { padding-top: 14px; }

@media (max-width: 720px) {
  .section { padding: 36px 0; }
  .page-hero { padding: 44px 0 40px; }
  .story-block { padding-top: 44px; }
  .story-block--tint { margin-top: 44px; padding-bottom: 40px; }
  .story-block--tint + .story-block { padding-top: 44px; }
  .story-block--last { padding-bottom: 52px; }
  .story-figure { margin-top: 22px; }
  .story-figure + .story-text { margin-top: 22px; }
  .site-footer { padding: 28px 0 16px; }
  .footer-brand p { font-size: 0.84rem; }
}
.contact-grid--single { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
@media (max-width: 720px) { .form .form-row { gap: 0; } .form .field { margin-bottom: 16px; } }
/* footer without copyright row */
.footer-top { border-bottom: none; padding-bottom: 0; }
.site-footer { padding-bottom: 32px; }
/* sub-page hero labels without the decorative line */
.page-hero .eyebrow::before { display: none; }
.footer-brand p { max-width: none; }
/* line breaks shown only on phones */
br.sp { display: none; }
@media (max-width: 720px) { br.sp { display: inline; } }
/* headings whose lines must not wrap (each .l = one line, scales on phones) */
.h2-fit .l { display: block; white-space: nowrap; }
@media (max-width: 720px) { .story-block h2.h2-fit { font-size: min(1.45rem, 5.3vw); } }
.brand__text { justify-content: center; }

/* ---------- v2 top page ---------- */
.v2-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; text-align: left; }
.v2-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.v2-card__media { aspect-ratio: 16 / 10; background: #f3f0e6; }
.v2-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-card__media--diagram { display: grid; place-items: center; padding: 14px; }
.v2-card__media--diagram svg { width: 100%; height: 100%; }
.v2-card__body { padding: 18px 20px 22px; }
.v2-card__no { font-size: 1.4rem; font-weight: 700; color: var(--gold-500); line-height: 1; }
.v2-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--green-900); margin: 6px 0 8px; }
.v2-card p { font-size: 0.9rem; line-height: 1.85; color: var(--ink-soft); }
.v2-note { text-align: right; margin-top: 8px; }
.v2-farms { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 760px; margin: 22px auto 0; }
.v2-farms li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 8px; font-size: 0.95rem; color: var(--green-900); }
.v2-farms b { display: block; font-size: 0.72rem; color: var(--gold-600); letter-spacing: 0.1em; margin-bottom: 2px; }
.v2-owner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 560px; margin: 26px auto 0; padding: 16px 20px; border-radius: var(--radius); background: var(--green-800); color: var(--cream); text-align: left; }
.v2-owner b { display: block; font-size: 1rem; }
.v2-owner small { display: block; font-size: 0.8rem; opacity: 0.85; margin-top: 2px; }
.v2-owner svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 860px) { .v2-cards { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .v2-farms { grid-template-columns: repeat(2, 1fr); }
  .v2 .story-block h2.h2-fit { font-size: min(1.45rem, 5.3vw); }
}
.v2 .story-text p, .v2-card p { text-wrap: pretty; }
/* v2: center all text (PC + phone) */
.v2 .story-text, .v2 .story-text p { text-align: center; }
.v2-card { text-align: center; }
.v2 .v2-note { text-align: center; }
@media (max-width: 720px) { .v2 .story-text { text-align: center; } }
/* 田んぼオーナー flyer */
.owner-flyer { max-width: 720px; margin: 0 auto 44px; }
.owner-flyer img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 720px) { .owner-flyer { margin-bottom: 32px; } .owner-flyer img { border-radius: 10px; } }
.owner-flyer { margin-bottom: 0; }
/* 田んぼオーナー flyer: no surrounding white space, full width on phones */
/* flyer section uses the normal .story-block top spacing */
.owner-flyer { max-width: 760px; margin: 0 auto; }
.owner-flyer img { border-radius: 0; box-shadow: none; }
@media (max-width: 720px) {
  .story-block--flyer .container { padding-left: 0; padding-right: 0; }
  .owner-flyer { max-width: none; }
}
/* last block now only holds the purchase buttons */
.story-block--last .story-cta:first-child { margin-top: 0; }
/* keep short phrases on one line on phones */
.compare small.nowrap-fit { white-space: nowrap; letter-spacing: 0; }
@media (max-width: 560px) { .compare small.nowrap-fit { font-size: min(0.66rem, 2.4vw); } }
@media (max-width: 720px) {
  .story-text p.p-fit { font-size: min(0.98rem, 4.05vw); }
  .p-fit .sp-nb { white-space: nowrap; }
}
/* root comparison photos */
.roots-compare { max-width: 760px; margin: 28px auto 0; }
.roots-compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roots-compare__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 6px; }
.roots-compare__label { margin-top: 8px; font-weight: 700; color: var(--green-900); font-size: 0.95rem; text-align: center; }
.roots-compare .fig-cap { text-align: center; }
.roots-compare + .story-text { margin-top: 26px; }
.roots-compare + .story-text p + p { margin-top: 0.9em; }
@media (max-width: 720px) { .roots-compare__grid { gap: 8px; } .roots-compare__label { font-size: 0.85rem; } }
.story-text p + p { margin-top: 0.9em; }
/* illustrated pyramid + cropped wide photo */
.story-figure--diagram:has(image) { max-width: 760px; }
.story-figure--diagram:has(image) svg { padding: 10px; }
.story-figure--wide img { aspect-ratio: 2 / 1; object-position: center 55%; }
@media (max-width: 720px) { .story-figure--wide img { aspect-ratio: 2 / 1; } .story-figure--diagram:has(image) svg { padding: 4px; } }
/* creatures photo: show the whole frame (no extra crop) */
.story-figure--wide img { aspect-ratio: 3 / 2; object-position: center; }

/* Home button in the header (top right beside the logo on phones) */
.header-right { flex-direction: row; align-items: center; gap: 28px; }
.home-btn {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  padding: 7px 14px; border: 1px solid var(--green-700); border-radius: 100px;
  color: var(--green-700); font-size: 0.8rem; font-weight: 700; white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.home-btn:hover { background: var(--green-700); color: #fff; }
.home-btn svg { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .home-btn { order: 2; margin-left: auto; }
}
