@charset "UTF-8";
/* ==========================================================================
   食養と漢方 甲子薬店 — common stylesheet
   Base text size: 17px / Site color: soft pale green
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* pale green palette (light & airy) */
  --green-950: #3c6d4e;   /* footer                                */
  --green-900: #46795a;   /* headings / CTA band                   */
  --green-800: #4f8563;   /* links                                 */
  --green-700: #4a7c59;   /* buttons (white text, contrast 4.9:1)  */
  --green-500: #8cc196;   /* accent lines, borders                 */
  --green-300: #bfdfc6;
  --green-200: #dcefe0;
  --green-100: #ebf7ee;
  --green-50 : #f5fbf6;

  --hero-ink : #2b5340;   /* hero text on the un-overlaid photo   */
  --title-ink: #234636;   /* page-title text on its photo         */
  --cta-bg   : #4b8160;   /* CTA band (white text = 4.55:1)       */
  --cream    : #fcfcf8;
  --white    : #ffffff;
  --ink      : #313734;
  --ink-soft : #5b6a61;
  --ink-mute : #7d8b83;
  --line     : #e7f0e9;
  --gold     : #b98f43;

  --radius   : 14px;
  --radius-lg: 26px;
  /* shadows are disabled site-wide: structure comes from borders instead */
  --shadow-sm: none;
  --shadow   : none;
  --shadow-lg: none;

  --header-h : 100px;
  --container: 1140px;
  --narrow   : 880px;

  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "BIZ UDPGothic", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho",
           "Shippori Mincho", serif;

  /* 17px base for every text element */
  font-size: 17px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;            /* = 17px */
  line-height: 1.95;
  color: var(--ink);
  background: var(--cream);
  overflow-wrap: break-word;
  font-feature-settings: "palt" 1;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; border: 0; }
a { color: var(--green-800); text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--green-500); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.6rem, var(--narrow)); margin-inline: auto; }
.section { padding: clamp(3.4rem, 6vw, 5.6rem) 0; }
.section--tight { padding: clamp(2.4rem, 4vw, 3.6rem) 0; }
.section--green { background: var(--green-50); }
.section--white { background: var(--white); }
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 999; background: var(--green-900); color: #fff;
  padding: .7rem 1.4rem; border-radius: 0 0 10px 10px; font-size: .94rem;
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header (transparent global nav) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: border-color .35s ease;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* soft white fade only — the photo itself stays free of a color overlay */
  background: linear-gradient(to bottom, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0));
  transition: background .35s ease, backdrop-filter .35s ease;
}
.header__inner {
  width: min(100% - 2rem, 1320px); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
}
.header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.header__logo img { width: auto; height: clamp(50px, 6.4vw, 68px); transition: filter .35s ease, opacity .3s; }
.header__logo:hover img { opacity: .82; }
/* logo swap: white version while nav is transparent */
.header__logo .logo--light { display: block; }
.header__logo .logo--dark  { display: none; }
.header.is-solid .header__logo .logo--light { display: none; }
.header.is-solid .header__logo .logo--dark  { display: block; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.6rem, 1.8vw, 1.7rem); }
.nav__link {
  position: relative; display: block; padding: .5rem .1rem;
  font-size: .96rem; font-weight: 500; letter-spacing: .02em;
  color: #fff; text-shadow: 0 1px 8px rgba(40, 72, 50, .42);
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px;
  background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__link:hover, .nav__link:focus-visible { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header.is-solid .nav__link { color: var(--ink); text-shadow: none; }
.header.is-solid .nav__link:hover, .header.is-solid .nav__link[aria-current="page"] { color: var(--green-700); }

/* photos behind the transparent nav carry no overlay any more,
   so the dark logo and dark green links are used for readability */
.header:not(.is-solid) .header__logo .logo--light { display: none; }
.header:not(.is-solid) .header__logo .logo--dark  { display: block; }
@media (min-width: 941px) {
  .header:not(.is-solid) .nav__link {
    color: var(--hero-ink);
    text-shadow:
      0 0 4px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, .96),
      0 0 20px rgba(255, 255, 255, .9), 0 1px 28px rgba(255, 255, 255, .82);
  }
  .header:not(.is-solid) .nav__link:hover,
  .header:not(.is-solid) .nav__link[aria-current="page"] { color: var(--green-700); }
}

.header.is-solid { border-bottom: 1px solid var(--line); }
.header.is-solid::before {
  background: linear-gradient(rgba(255, 255, 255, .93), rgba(255, 255, 255, .93));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* burger */
.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  position: relative; z-index: 101; flex: 0 0 auto; background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
}
.burger[aria-expanded="true"] { background: var(--green-50); box-shadow: none; }
.burger span {
  position: absolute; left: 50%; width: 21px; height: 2px; border-radius: 2px;
  background: var(--green-900); transform: translateX(-50%); transition: transform .3s, opacity .25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 940px) {
  :root { --header-h: 84px; }
  .burger { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    margin: 0; padding: calc(var(--header-h) + 1.4rem) 1.6rem 2.4rem;
    background: rgba(255, 255, 255, .98);
    border-left: 1px solid var(--line);
    transform: translateX(102%); transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto; visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link {
    color: var(--ink); text-shadow: none; padding: 1.05rem .4rem; font-size: 1rem;
    display: flex; align-items: center; gap: .6rem;
  }
  .nav__link::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-300); flex: 0 0 auto;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--green-700); font-weight: 700; }
  .nav-overlay {
    position: fixed; inset: 0; z-index: 99; background: rgba(60, 109, 78, .34);
    opacity: 0; visibility: hidden; transition: opacity .35s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 941px) { .nav-overlay { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.1rem; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-align: center;
  background: var(--green-700); color: #fff;
  transition: transform .28s, background-color .28s, color .28s;
}
.btn:hover { background: var(--green-900); color: #fff; transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--ghost { background: #fff; color: var(--green-800); border: 1.5px solid var(--green-300); }
.btn--ghost:hover { background: var(--green-50); color: var(--green-900); border-color: var(--green-500); }
.btn--gold { background: var(--gold); }
.btn--gold:hover { background: #9d7833; }
.btn--wide { min-width: min(340px, 100%); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Headings ---------- */
.h2 {
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem);
  line-height: 1.55; font-weight: 700; letter-spacing: .02em;
  color: var(--green-900);
}
.h3 {
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(1.24rem, 1.05rem + .8vw, 1.6rem);
  line-height: 1.6; font-weight: 700; color: var(--green-900);
}
.h4 {
  text-wrap: balance;
  font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem);
  line-height: 1.7; font-weight: 700; color: var(--green-900);
}
.section-head { margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head--center { text-align: center; }
.section-head__lead { margin-top: 1.1rem; color: var(--ink-soft); text-wrap: pretty; }
.lead { font-size: 1.06rem; line-height: 2.05; color: var(--ink-soft); }
.text + .text, .text + .h3, .text + .h4, .h3 + .text, .h4 + .text { margin-top: 1.05rem; }
.h2 + .text { margin-top: 1.2rem; }
.mt-s { margin-top: 1rem; } .mt-m { margin-top: 1.8rem; } .mt-l { margin-top: 2.8rem; }
.center { text-align: center; }
.text--strong { font-weight: 700; color: var(--green-900); font-size: 1.08rem; line-height: 1.9; }
/* responsive line breaks: .br-pc shows on tablet/desktop, .br-sp on phones */
.br-sp { display: none; }
@media (max-width: 767px) { .br-pc { display: none; } .br-sp { display: inline; } }
.note { font-size: .9rem; color: var(--ink-mute); line-height: 1.85; }
.emph {
  font-weight: 700; color: var(--green-900);
  background: linear-gradient(transparent 62%, var(--green-200) 62%);
  padding-bottom: .1em;
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(94vh, 820px); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* no color overlay on the hero photo: text is set in deep green instead */
.hero__inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 3rem) 0 4.5rem; color: var(--hero-ink); }
.hero__label {
  display: inline-block; padding: .6rem 1.7rem; margin-bottom: 1.7rem;
  border: 1px solid rgba(74, 124, 89, .35); border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--hero-ink);
  font-size: clamp(1.06rem, .92rem + .7vw, 1.5rem); font-weight: 500;
  letter-spacing: .12em; line-height: 1.6;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.hero__copy {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.85rem, 1.1rem + 4.1vw, 3.5rem);
  line-height: 1.62; letter-spacing: .04em;
  color: var(--hero-ink);
  /* white halo keeps the dark text legible over darker parts of the photo */
  text-shadow:
    0 0 4px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, .95),
    0 0 26px rgba(255, 255, 255, .88),
    0 2px 44px rgba(255, 255, 255, .8);
}
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__actions .btn--ghost { background: #fff; border-color: rgba(74, 124, 89, .28); }
@media (max-width: 640px) { .hero { min-height: 88vh; } .hero__actions .btn { flex: 1 1 100%; } }
@media (max-width: 480px) { .hero__copy { font-size: 1.62rem; letter-spacing: .01em; } .hero__inner { padding-top: calc(var(--header-h) + 2rem); } }

/* ---------- Page title (lower pages) ---------- */
.pagetitle { position: relative; display: flex; align-items: center; min-height: clamp(230px, 34vw, 360px); overflow: hidden; }
.pagetitle__media { position: absolute; inset: 0; z-index: 0; }
.pagetitle__media img { width: 100%; height: 100%; object-fit: cover; }
/* no color overlay on the page-title photo: text is set in deep green instead */
.pagetitle__inner { position: relative; z-index: 1; padding: calc(var(--header-h) + 2.2rem) 0 2.2rem; color: var(--title-ink); }
.pagetitle__en {
  font-size: .92rem; letter-spacing: .2em; font-weight: 700; color: var(--title-ink);
  text-shadow:
    0 0 4px rgba(255, 255, 255, 1), 0 0 10px rgba(255, 255, 255, .96),
    0 0 20px rgba(255, 255, 255, .9), 0 1px 28px rgba(255, 255, 255, .82);
}
.pagetitle h1 {
  margin-top: .55rem; font-family: var(--serif); font-weight: 700; text-wrap: balance;
  font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.6rem); line-height: 1.5; letter-spacing: .05em;
  color: var(--title-ink);
  text-shadow:
    0 0 4px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, .95),
    0 0 26px rgba(255, 255, 255, .88),
    0 2px 44px rgba(255, 255, 255, .8);
}

/* ---------- Cards (3 columns) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--green-300); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.5rem clamp(1.2rem, 2vw, 1.7rem) 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--green-900); line-height: 1.5; }
.card__text { margin-top: .8rem; font-size: .97rem; line-height: 1.9; color: var(--ink-soft); flex: 1; }
.card__more { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .45rem; font-size: .93rem; font-weight: 700; color: var(--green-700); }
.card__more svg { width: 15px; height: 15px; transition: transform .3s; }
.card:hover .card__more svg { transform: translateX(5px); }
.card__link { position: absolute; inset: 0; z-index: 2; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .card__media { aspect-ratio: 16 / 9; } }

/* home: cards placed below the hero with clear spacing */
.cards-lift { margin-top: clamp(.5rem, 1.6vw, 1.4rem); position: relative; z-index: 3; }

/* ---------- Full-bleed blocks ---------- */
.fullbleed { position: relative; width: 100%; }
.fullbleed--media { min-height: clamp(320px, 46vw, 520px); display: flex; align-items: center; overflow: hidden; }
.fullbleed--media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.fullbleed--media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(92deg, rgba(48, 90, 62, .74), rgba(74, 124, 89, .52) 62%, rgba(140, 193, 150, .26));
}
.fullbleed__inner { position: relative; z-index: 2; padding: clamp(3rem, 6vw, 5rem) 0; color: #fff; }
.fullbleed__inner .h2, .fullbleed__inner .h3 { color: #fff; }
.fullbleed__inner .text, .fullbleed__inner .lead { color: rgba(255, 255, 255, .92); }
.fullbleed__box { max-width: 660px; }
.fullbleed__box--wide { max-width: 880px; }
.fullbleed__box .emph { color: #fff; background: linear-gradient(transparent 62%, rgba(160, 208, 170, .55) 62%); }

/* split full-bleed (image half / text half, edge to edge) */
.split { display: grid; grid-template-columns: 1fr 1fr; width: 100%; align-items: stretch; }
.split__media { position: relative; min-height: 340px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(2.4rem, 5vw, 4.6rem) clamp(1.4rem, 5vw, 4.2rem); display: flex; align-items: center; background: var(--green-50); }
.split__body > div { max-width: 560px; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } .split__media { min-height: 250px; } }

/* ---------- Two-column media + text ---------- */
.media-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.media-2col figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); }
.media-2col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .media-2col { grid-template-columns: 1fr; } }

.figure-wide { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); }
.figure-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .figure-wide img { aspect-ratio: 4 / 3; } }

.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.duo--reverse > *:first-child { order: 2; }
.duo__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); }
.duo__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
/* equal-height columns (shop info: table + callout side by side) */
.duo--stretch { align-items: stretch; }
.duo--stretch > * { display: flex; }
.duo--stretch > * > * { width: 100%; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--reverse > *:first-child { order: 0; } }

/* ---------- Check list (□) ---------- */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.4rem; }
.checklist li {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.2rem; font-size: 1rem; line-height: 1.75;
  border: 1px solid var(--line);
}
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 24px; height: 24px; margin-top: .18rem;
  border-radius: 7px; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7c59' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* ---------- Bullet list (・) ---------- */
.bullets li { position: relative; padding-left: 1.5rem; margin-top: .55rem; line-height: 1.85; }
.bullets li:first-child { margin-top: 0; }
.bullets li::before {
  content: ""; position: absolute; left: .25rem; top: .82em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-300);
}
.bullets--tight li { margin-top: .3rem; }
.bullets--2col { columns: 2; column-gap: 2.4rem; }
@media (max-width: 640px) { .bullets--2col { columns: 1; } }
.notes li { position: relative; padding-left: 1.35rem; margin-top: .5rem; font-size: .93rem; color: var(--ink-soft); line-height: 1.8; }
.notes li::before { content: "＊"; position: absolute; left: 0; top: 0; color: var(--green-500); }

/* ---------- Panels / boxes ---------- */
.panel {
  background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
}
.panel--green { background: var(--green-50); border-color: var(--green-200); }
.panel--flat { box-shadow: none; }
.panel + .panel { margin-top: 1.4rem; }
/* inside 2-column grids the stacking margin would shrink the 2nd panel,
   so the boxes could never match heights */
.pair > .panel + .panel, .duo > .panel + .panel { margin-top: 0; }
.panel__title { display: flex; align-items: center; gap: .7rem; }
.panel__title .h3, .panel__title .h4 { margin: 0; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .85rem; border-radius: 999px;
  background: var(--green-100); color: var(--green-800);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
}
.badge--gold { background: #f6efe1; color: var(--gold); }
.badge--lg { font-size: 1.04rem; padding: .48rem 1.35rem; font-family: var(--serif); letter-spacing: .1em; }
.badge--xl { font-size: 1.2rem; padding: .55rem 1.7rem; font-family: var(--serif); letter-spacing: .1em; }

.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

.callout {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--green-200); padding: clamp(1.6rem, 3.4vw, 2.8rem);
}
.attention { background: #fdfbf4; border: 1px solid #eee3cd; border-radius: var(--radius); padding: clamp(1.3rem, 2.6vw, 2rem); }
.attention .h4 { color: #8a6a2b; }
.attention .text, .attention li { font-size: .96rem; color: #6a5a3c; }

/* ---------- Info table ---------- */
/* border-collapse must stay "separate" or the table's own border is not painted */
.info-table {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--green-300); border-collapse: separate; border-spacing: 0;
}
.info-table tr + tr th, .info-table tr + tr td { border-top: 1px solid var(--green-200); }
.info-table th, .info-table td { padding: 1.05rem 1.4rem; text-align: left; vertical-align: top; font-size: 1rem; line-height: 1.8; }
.info-table th { width: 33%; background: var(--green-100); color: var(--green-900); font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding-bottom: .5rem; }
  .info-table td { padding-top: .35rem; }
  .info-table tr + tr td { border-top: 0; }
}

/* ---------- Price table ---------- */
.price-table {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--green-300); border-collapse: separate; border-spacing: 0;
}
.price-table tr + tr th, .price-table tr + tr td { border-top: 1px dashed var(--green-300); }
.price-table th, .price-table td { padding: 1.1rem 1.4rem; font-size: 1.02rem; }
.price-table th { text-align: left; color: var(--green-900); font-weight: 700; background: var(--green-50); }
.price-table td { text-align: right; font-weight: 700; color: var(--green-950); white-space: nowrap; }
.price-table td small { font-weight: 400; color: var(--ink-mute); }

/* ---------- Flow (steps) ---------- */
.flow { display: grid; gap: 1.1rem; counter-reset: step; }
.flow__item {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem;
  background: #fff; border-radius: var(--radius-lg); padding: 1.5rem clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
}
.flow__item::after {
  content: ""; position: absolute; left: calc(32px + clamp(1.2rem, 2.4vw, 2rem)); bottom: -1.1rem;
  width: 2px; height: 1.1rem; background: var(--green-200); transform: translateX(-1px);
}
.flow__item:last-child::after { display: none; }
.flow__num {
  counter-increment: step; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-700); color: #fff;
  font-family: var(--serif); font-size: 1.28rem; font-weight: 700;
}
.flow__num::before { content: counter(step); }
.flow__body .h4 { margin-bottom: .5rem; }
@media (max-width: 560px) {
  .flow__item { grid-template-columns: 46px 1fr; gap: .9rem; }
  .flow__num { width: 44px; height: 44px; font-size: 1.08rem; }
  .flow__item::after { left: calc(23px + clamp(1.2rem, 2.4vw, 2rem)); }
}

/* ---------- Product blocks ---------- */
.product { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.product__head { display: grid; grid-template-columns: 1.1fr 1fr; }
.product__media { position: relative; min-height: 260px; background: var(--green-100); }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__intro { padding: clamp(1.5rem, 3vw, 2.6rem); }
.product__body { padding: clamp(1.6rem, 2.8vw, 2.4rem) clamp(1.5rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.6rem); }
.product--noimg .product__head { grid-template-columns: 1fr; }
@media (max-width: 860px) { .product__head { grid-template-columns: 1fr; } .product__media { min-height: 220px; } }

.spec-list { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.1rem; }
.spec-list div { font-size: .96rem; }
.spec-list dt { font-size: .8rem; letter-spacing: .08em; color: var(--ink-mute); }
.spec-list dd { margin: .15rem 0 0; font-weight: 700; color: var(--green-900); font-size: 1.05rem; }
.price-tags { display: grid; gap: .5rem; margin-top: 1.1rem; }
.price-tags li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .7rem 1.1rem; border-radius: 10px; background: var(--green-50); font-size: 1rem;
}
.price-tags strong { font-size: 1.06rem; color: var(--green-950); white-space: nowrap; }

.link-list { display: grid; gap: .7rem; }
.link-list a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.link-list a svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: .7; }
.maker-list { display: grid; gap: .8rem; }
.maker-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .95rem 1.2rem;
}
.maker-list li span { font-weight: 700; color: var(--green-900); }
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-list li {
  padding: .55rem 1.05rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--green-200); font-size: .96rem; color: var(--green-900);
  border: 1px solid var(--line);
}
.ext svg { width: 14px; height: 14px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--cta-bg); color: #fff; }
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .26; background: var(--green-100);
}
.cta::before { width: 420px; height: 420px; top: -180px; right: -120px; }
.cta::after { width: 300px; height: 300px; bottom: -160px; left: -80px; }
.cta__inner { position: relative; z-index: 1; padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.cta .h2 { color: #fff; }
.cta .text { color: rgba(255, 255, 255, .92); }
.cta .btn { background: #fff; color: var(--green-900); }
.cta .btn:hover { background: var(--green-100); color: var(--green-950); }
.cta__tel {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem;
  font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 700;
  color: #fff; letter-spacing: .04em;
}
.cta__tel:hover { color: var(--green-200); }
.cta__tel svg { width: 26px; height: 26px; }

/* ---------- Map ---------- */
.map { width: 100%; height: clamp(300px, 40vw, 460px); border: 0; display: block; filter: saturate(.92); }
.map-wrap { position: relative; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; gap: .5rem; }
.form__grid2 { display: grid; gap: 1.4rem; }
.form__label { font-weight: 700; font-size: .98rem; color: var(--green-900); display: flex; align-items: center; gap: .55rem; }
.req { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: #c1734f; border-radius: 4px; padding: .16rem .5rem; }
.opt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft); background: var(--green-100); border-radius: 4px; padding: .16rem .5rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: .95rem 1.1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .25s;
}
.form textarea { min-height: 190px; resize: vertical; line-height: 1.8; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--green-500);
}
.form .hint { font-size: .86rem; color: var(--ink-mute); }
.radios { display: flex; flex-wrap: wrap; gap: .7rem; }
.radios label {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .7rem 1.15rem; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .96rem; transition: border-color .25s, background-color .25s;
}
.radios label:hover { border-color: var(--green-300); background: var(--green-50); }
.radios input { accent-color: var(--green-700); width: 17px; height: 17px; }
.radios input:checked + span { font-weight: 700; color: var(--green-900); }
.form__consent {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--green-50); border: 1px solid var(--green-200);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .97rem;
}
.form__consent input { margin-top: .45rem; accent-color: var(--green-700); width: 18px; height: 18px; flex: 0 0 auto; }
.form__submit { text-align: center; margin-top: .6rem; }
.form__error { color: #b4472c; font-size: .9rem; font-weight: 700; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"], .form select[aria-invalid="true"] { border-color: #d08a72; background: #fdf7f5; }
@media (min-width: 720px) { .form__grid2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(255, 255, 255, .84); font-size: .96rem; }
.footer__top { padding: clamp(2.8rem, 5vw, 4rem) 0 2.4rem; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.8rem, 4vw, 3.6rem); }
.footer__logo img { height: 72px; width: auto; }
.footer__addr { margin-top: 1.4rem; line-height: 1.95; }
.footer__tel {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #fff;
}
.footer__tel:hover { color: var(--green-200); }
.footer__tel svg { width: 20px; height: 20px; }
.footer__hours { margin-top: .4rem; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1.4rem; align-content: start; }
.footer__nav a { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem 0; color: rgba(255, 255, 255, .85); }
.footer__nav a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-500); }
.footer__nav a:hover { color: #fff; }
.footer__blog {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem;
  padding: .7rem 1.3rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  color: #fff; font-size: .93rem;
}
.footer__blog:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.footer__blog svg { width: 15px; height: 15px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.2rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center;
  font-size: .84rem; color: rgba(255, 255, 255, .62);
}
.footer__bottom a { color: rgba(255, 255, 255, .72); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer__nav { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(74, 124, 89, .92); color: #fff;
  opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background-color .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--green-900); color: #fff; }
.totop svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Print ---------- */
@media print {
  .header, .nav, .totop, .burger { display: none !important; }
  body { background: #fff; }
}

/* phones: keep section headings and pill labels on one line where possible */
@media (max-width: 480px) {
  .h2 { font-size: 1.38rem; letter-spacing: .01em; }
  .h3 { font-size: 1.18rem; }
  .badge--xl { font-size: 1.02rem; padding: .5rem 1.2rem; letter-spacing: .06em; }
  .badge--lg { font-size: .98rem; padding: .44rem 1.1rem; letter-spacing: .06em; }
}
@media (max-width: 360px) {
  .h2 { font-size: 1.26rem; }
  .h3 { font-size: 1.1rem; }
  .badge--xl { font-size: .92rem; padding: .44rem .9rem; letter-spacing: .04em; }
}
ol.num_order {
 padding-left:20px;
}
ol.num_order li {
    padding: 5px 0 4px 0;
    list-style-type: decimal;
}