/* =========================================================
   Ena Medical Co., Ltd. - Corporate Site
   Design System
   ========================================================= */

:root {
  /* Brand colors */
  --c-green-900: #133d27;
  --c-green-800: #1a5d3a;
  --c-green-700: #2a7050;
  --c-green-600: #3d8a68;
  --c-green-300: #b9d5c5;
  --c-green-100: #e8f0ea;
  --c-green-50:  #f3f7f3;

  --c-gold:      #b89b5c;
  --c-gold-soft: #d8c089;

  --c-cream:     #f7f3eb;
  --c-bg:        #fafaf7;
  --c-paper:     #ffffff;

  --c-ink:       #1f2a24;
  --c-text:      #2c3a32;
  --c-muted:     #6a766e;
  --c-line:      #e5e0d5;
  --c-line-soft: #efe9dd;

  --c-danger:    #b54848;

  /* Typography */
  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  --f-en:    "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --f-en-sans:"Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

a { color: inherit; text-decoration: none; transition: opacity .25s var(--ease); }
a:hover { opacity: .7; }

button { font-family: inherit; }

/* =========================================================
   Common utilities
   ========================================================= */
.container {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { position: relative; z-index: 1; background: var(--c-bg); padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 96px) 0; }
.section--dark { background: var(--c-green-900); color: #e7eee9; }
.section--cream { background: var(--c-cream); }
.section--green { background: var(--c-green-50); }

.label-en {
  font-family: var(--f-en-sans);
  font-size: 12px;
  letter-spacing: .28em;
  font-weight: 500;
  color: var(--c-green-700);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label-en::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--c-green-700);
}
.section--dark .label-en { color: var(--c-gold-soft); }
.section--dark .label-en::before { background: var(--c-gold-soft); }

.h-display {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45;
  letter-spacing: .05em;
  color: var(--c-ink);
  margin: 18px 0 28px;
}
.section--dark .h-display { color: #ffffff; }

.h-section {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.55;
  letter-spacing: .06em;
  color: var(--c-ink);
}

.lead {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2;
  color: var(--c-text);
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  border: 1px solid var(--c-green-800);
  background: var(--c-green-800);
  color: #fff;
  font-size: 14px;
  letter-spacing: .12em;
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
}
.btn:hover { background: var(--c-green-900); border-color: var(--c-green-900); opacity: 1; }
.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 32px; }
.btn--ghost { background: transparent; color: var(--c-green-800); }
.btn--ghost:hover { background: var(--c-green-800); color: #fff; }
.btn--on-dark { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--c-green-900); border-color: #fff; }

/* =========================================================
   Top utility bar
   ========================================================= */
.utility {
  background: var(--c-green-900);
  color: #e7eee9;
  font-size: 12px;
  letter-spacing: .08em;
}
.utility__inner {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 28px; height: 36px;
}
.utility a { display: inline-flex; align-items: center; gap: 8px; }
.utility svg { width: 14px; height: 14px; }
@media (max-width: 720px){ .utility { display: none; } }

/* =========================================================
   Header / Navigation
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-serif);
  color: var(--c-green-900);
}
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
}
.brand__mark img { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.brand__name-en {
  font-family: var(--f-en-sans);
  font-size: 10px; letter-spacing: .28em; color: var(--c-green-700);
  font-weight: 500; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 40px; }
.nav__list { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative;
  font-size: 14px; letter-spacing: .08em;
  color: var(--c-ink); font-weight: 500;
  padding: 8px 0;
}
.nav__list a::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 1px; background: var(--c-green-800);
  transition: width .3s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { width: 100%; }
.nav__list a:hover { opacity: 1; }

.nav__cta { display: flex; gap: 10px; }
.nav__cta .btn { padding: 14px 24px; font-size: 13px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--c-line);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 1px; background: var(--c-ink);
  transition: transform .3s var(--ease), opacity .2s;
  transform: translate(-50%, -50%);
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
.nav-toggle.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav__list, .nav__cta { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav__list,
  .nav.is-open .nav__cta {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--c-line);
    padding: 8px 0 20px;
  }
  .nav.is-open .nav__list a {
    display: block;
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--c-line-soft);
  }
  .nav.is-open .nav__cta {
    position: static; padding: 16px var(--gutter) 0;
  }
  .nav.is-open .nav__cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Hero - top page
   ========================================================= */
.hero {
  position: sticky; top: var(--header-h); z-index: 0;
  overflow: hidden;
  background: var(--c-cream);
  color: var(--c-ink);
  --hero-p: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  animation: hero-zoom 2.6s cubic-bezier(.2,.6,.2,1) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(19,61,39, calc(var(--hero-p) * .55));
  pointer-events: none;
}
@keyframes hero-zoom { from { scale: 1.08; } to { scale: 1; } }
.hero__inner {
  position: relative; z-index: 1;
  min-height: max(520px, calc(100vh - var(--header-h)));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 56px;
  padding-bottom: 72px;
  translate: 0 calc(var(--hero-p) * 90px);
  opacity: calc(1 - var(--hero-p) * 1.2);
}
.hero__names {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(32px, 4.1vw, 60px);
  line-height: 1.35;
  letter-spacing: .03em;
  margin: 0 0 20px;
}
.hero__names a { display: block; width: fit-content; color: inherit; }
.hero__names a:hover { color: var(--c-green-800); opacity: 1; }
.hero__sub { font-size: 16px; line-height: 1.9; margin: 0; }
.hero__scroll {
  position: absolute; right: 40px; bottom: 48px; z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--f-en-sans); font-size: 11px; letter-spacing: .3em;
  color: var(--c-ink);
  display: flex; align-items: center; gap: 12px;
  opacity: calc(1 - var(--hero-p) * 3);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(var(--c-ink) 50%, transparent 50%);
  background-size: 1px 8px;
  animation: scroll-cue 1.8s linear infinite;
}
@keyframes scroll-cue {
  0% { background-position: 0 -16px; }
  100% { background-position: 0 8px; }
}

/* =========================================================
   Page hero (sub pages)
   ========================================================= */
.subhero {
  position: sticky; top: var(--header-h); z-index: 0;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
  background:
    linear-gradient(120deg, rgba(19,61,39,.92), rgba(19,61,39,.65)),
    var(--c-green-900);
  color: #fff;
  overflow: hidden;
}
.subhero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(184,155,92,.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(184,155,92,.12), transparent 40%);
  pointer-events: none;
}
.subhero__inner { position: relative; z-index: 2; }
.subhero__en {
  font-family: var(--f-en); font-style: italic;
  font-size: clamp(56px, 9vw, 110px); line-height: 1; letter-spacing: .02em;
  color: rgba(255,255,255,.12);
  position: absolute; right: 0; top: -16px;
  pointer-events: none;
}
.subhero h1 {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(28px, 4vw, 44px); letter-spacing: .12em;
  margin: 18px 0 12px;
}
.subhero p { color: rgba(255,255,255,.78); max-width: 640px; }
.subhero p.subhero__en { color: rgba(255,255,255,.12); max-width: none; margin: 0; }
.subhero .label-en { color: var(--c-gold-soft); }
.subhero .label-en::before { background: var(--c-gold-soft); }

/* Breadcrumb */
.crumbs {
  position: relative; z-index: 1;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line-soft);
  font-size: 12px; letter-spacing: .08em; color: var(--c-muted);
}
.crumbs__inner { display: flex; gap: 12px; align-items: center; height: 50px; }
.crumbs a:hover { color: var(--c-green-800); opacity: 1; }
.crumbs .sep { color: var(--c-line); }

/* =========================================================
   Section heading
   ========================================================= */
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head__en {
  font-family: var(--f-en); font-style: italic;
  font-size: clamp(48px, 7vw, 90px); line-height: 1; letter-spacing: .02em;
  color: var(--c-green-100);
  margin: 0;
}
.section--dark .sec-head__en { color: rgba(255,255,255,.08); }

/* =========================================================
   Business cards
   ========================================================= */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 900px){ .biz-grid { grid-template-columns: 1fr; } }

.biz-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -28px rgba(19,61,39,.35);
  border-color: var(--c-green-300);
  opacity: 1;
}
.biz-card__img {
  aspect-ratio: 16/10;
  background: var(--c-green-100) center/cover no-repeat;
  position: relative;
}
.biz-card__num {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--f-en); font-style: italic;
  color: #fff; font-size: 28px; opacity: .92;
}
.biz-card__body { padding: 28px 30px 36px; flex: 1; display: flex; flex-direction: column; }
.biz-card__en {
  font-family: var(--f-en-sans); font-size: 11px; letter-spacing: .24em;
  color: var(--c-green-700); margin-bottom: 12px;
}
.biz-card__title {
  font-family: var(--f-serif); font-size: 22px; font-weight: 600;
  color: var(--c-ink); letter-spacing: .05em; margin: 0 0 16px;
}
.biz-card__desc { font-size: 14px; line-height: 1.95; color: var(--c-text); flex: 1; }
.biz-card__more {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .14em; color: var(--c-green-800);
  font-weight: 500;
}
.biz-card__more::after {
  content: "→"; transition: transform .3s var(--ease);
}
.biz-card:hover .biz-card__more::after { transform: translateX(6px); }

/* =========================================================
   Two-column feature (philosophy etc.)
   ========================================================= */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px){ .feature-row { grid-template-columns: 1fr; } }
.feature-row--reverse > :first-child { order: 2; }
@media (max-width: 900px){ .feature-row--reverse > :first-child { order: 0; } }

.feature-row__img {
  aspect-ratio: 4/3;
  background-color: var(--c-green-100);
  background-size: cover; background-position: center;
  position: relative;
}
.feature-row__img::before {
  content: ""; position: absolute; left: -16px; bottom: -16px;
  width: 60%; height: 60%; border: 1px solid var(--c-gold);
  z-index: -1;
}

/* =========================================================
   Pharmacy section
   ========================================================= */
.stores {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 900px){ .stores { grid-template-columns: 1fr; } }

.store-card {
  position: relative;
  background: var(--c-paper);
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
}
.store-card__cover {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
}
.store-card__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(19,61,39,.4) 100%);
}
.store-card__badge {
  position: absolute; top: 24px; left: 24px;
  background: rgba(255,255,255,.92);
  padding: 8px 16px;
  font-size: 11px; letter-spacing: .2em; color: var(--c-green-900);
  font-weight: 600;
}
.store-card__body { padding: 32px clamp(24px, 3vw, 40px) 40px; }
.store-card__name {
  font-family: var(--f-serif); font-size: 26px; font-weight: 600;
  letter-spacing: .06em; color: var(--c-ink); margin: 0 0 8px;
}
.store-card__name-en {
  font-family: var(--f-en); font-style: italic;
  color: var(--c-green-700); font-size: 16px; margin-bottom: 18px;
}
.store-card__meta {
  border-top: 1px solid var(--c-line);
  padding-top: 18px; margin-top: 22px;
  font-size: 13px; line-height: 1.9; color: var(--c-text);
}
.store-card__meta dt { font-weight: 600; color: var(--c-green-800); }

/* =========================================================
   Stats / numbers
   ========================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--c-paper);
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 32px);
  text-align: center;
}
.stat__label { font-size: 11px; letter-spacing: .2em; color: var(--c-muted); }
.stat__num {
  font-family: var(--f-en); font-style: italic;
  font-size: clamp(40px, 5vw, 60px); font-weight: 500;
  color: var(--c-green-800); line-height: 1.1;
  margin: 12px 0 6px;
}
.stat__unit {
  font-family: var(--f-serif); font-size: 14px;
  color: var(--c-ink);
}

/* =========================================================
   News
   ========================================================= */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: grid; grid-template-columns: 130px 100px 1fr;
  gap: 20px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--c-line);
}
.news-list li:last-child { border-bottom: 1px solid var(--c-line); }
.news-list time {
  font-family: var(--f-en-sans); font-size: 13px; letter-spacing: .1em; color: var(--c-muted);
}
.news-list .tag {
  display: inline-block;
  font-size: 11px; letter-spacing: .14em;
  border: 1px solid var(--c-green-700);
  color: var(--c-green-800);
  padding: 4px 12px;
  text-align: center;
}
.news-list .ttl { font-size: 15px; color: var(--c-ink); }
@media (max-width: 720px){
  .news-list li { grid-template-columns: 1fr; gap: 8px; }
  .news-list .tag { justify-self: start; }
}

/* =========================================================
   Recruit banner
   ========================================================= */
.recruit-banner {
  position: relative; z-index: 1;
  background: var(--c-green-900);
  color: #fff;
  overflow: hidden;
}
.recruit-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(184,155,92,.25), transparent 55%);
}
.recruit-banner__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(56px, 7vw, 100px);
}
@media (max-width: 720px){ .recruit-banner__inner { grid-template-columns: 1fr; } }
.recruit-banner__en {
  font-family: var(--f-en); font-style: italic;
  font-size: clamp(40px, 5vw, 60px); margin: 0 0 8px;
  color: var(--c-gold-soft);
}
.recruit-banner h2 {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .08em;
  margin: 0;
}
.recruit-banner p { color: rgba(255,255,255,.7); margin: 18px 0 0; max-width: 520px; }

/* =========================================================
   Company info table
   ========================================================= */
.job-title { margin: 0 0 20px; padding-left: 16px; border-left: 3px solid var(--c-green-700); }
div.reveal + .job-title { margin-top: 64px; }
.info-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; line-height: 1.9;
}
.info-table th, .info-table td {
  text-align: left; padding: 22px 24px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.info-table th {
  width: 220px;
  font-weight: 600; color: var(--c-green-900);
  letter-spacing: .06em;
  background: var(--c-cream);
}
@media (max-width: 720px){
  .info-table th, .info-table td { display: block; width: 100%; padding: 14px 16px; }
  .info-table th { border-bottom: none; padding-bottom: 4px; }
}

/* =========================================================
   Form
   ========================================================= */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
@media (max-width: 720px){ .form-grid { grid-template-columns: 1fr; } }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-size: 13px; letter-spacing: .08em;
  color: var(--c-ink); font-weight: 600; margin-bottom: 8px;
}
.form-field .req {
  display: inline-block; margin-left: 8px; font-size: 11px;
  background: var(--c-danger); color: #fff; padding: 2px 8px; letter-spacing: .1em;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  font-family: inherit; font-size: 15px;
  color: var(--c-ink);
  transition: border-color .25s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none; border-color: var(--c-green-700);
}
.form-field textarea { min-height: 180px; resize: vertical; }
.form-submit { text-align: center; margin-top: 40px; }
.form-submit .btn { padding: 22px 64px; font-size: 15px; }

.related-logo { display: flex; justify-content: center; margin: 0 0 56px; }
.related-logo img { width: clamp(160px, 22vw, 220px); height: auto; }
.notice {
  background: var(--c-cream); border-left: 4px solid var(--c-green-700);
  padding: 22px 26px; font-size: 14px; line-height: 1.9;
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-q {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 8px; cursor: pointer;
  font-family: var(--f-serif); font-size: 17px; font-weight: 500;
  color: var(--c-ink);
}
.faq-q::before {
  content: "Q"; font-family: var(--f-en); font-style: italic;
  color: var(--c-green-700); font-size: 24px; flex-shrink: 0;
}
.faq-q::after {
  content: ""; margin-left: auto; width: 14px; height: 14px;
  border-right: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-ink);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: rotate(-135deg); }
.faq-a {
  display: none;
  padding: 0 8px 26px 44px;
  font-size: 14px; line-height: 2; color: var(--c-text);
}
.faq-item.is-open .faq-a { display: block; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative; z-index: 1;
  background: var(--c-green-900);
  color: #c5d2c9;
  padding-top: clamp(64px, 8vw, 100px);
}
.footer a:hover { color: #fff; opacity: 1; }

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px){
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

.footer__brand {
  display: flex; flex-direction: column; gap: 16px;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name-en { color: var(--c-gold-soft); }
.footer__addr { font-size: 13px; line-height: 1.9; }

.footer__col h4 {
  font-family: var(--f-en-sans); font-size: 11px; letter-spacing: .24em;
  color: var(--c-gold-soft); font-weight: 500;
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 12px; font-size: 13px; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px 0;
  font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.5);
}
.footer__bottom a { margin-left: 20px; }
@media (max-width: 560px){
  .footer__bottom { flex-direction: column; }
  .footer__bottom a { margin: 0; }
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }
.reveal--delay-3 { transition-delay: .36s; }

/* =========================================================
   Misc
   ========================================================= */
.divider-en {
  text-align: center;
  font-family: var(--f-en); font-style: italic;
  color: var(--c-green-100);
  font-size: clamp(60px, 8vw, 120px);
  line-height: 1; letter-spacing: .04em;
  margin: 0;
}

.tag-pill {
  display: inline-block;
  font-size: 11px; letter-spacing: .14em;
  padding: 5px 14px;
  background: var(--c-green-50); color: var(--c-green-800);
  border: 1px solid var(--c-green-300);
}

.kv-list { list-style: none; padding: 0; margin: 24px 0; }
.kv-list li {
  display: flex; gap: 16px;
  padding: 14px 0; border-bottom: 1px dashed var(--c-line);
  font-size: 14px;
}
.kv-list li::before {
  content: ""; flex-shrink: 0;
  width: 8px; height: 8px; margin-top: 12px;
  background: var(--c-green-700); transform: rotate(45deg);
}

/* =========================================================
   Store hours / map / contact
   ========================================================= */
.hours { background: var(--c-paper); border: 1px solid var(--c-line-soft); padding: clamp(16px, 2.4vw, 28px); }
.hours-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.5; text-align: center; }
.hours-table th, .hours-table td { padding: 12px 2px; border-bottom: 1px solid var(--c-line); font-weight: 400; }
.hours-table thead th { background: var(--c-cream); color: var(--c-green-900); font-weight: 600; }
.hours-table thead td { background: var(--c-cream); }
.hours-table thead td, .hours-table tbody th { width: 22%; }
.hours-table tbody th { color: var(--c-green-900); font-weight: 600; }
.hours-table__on { color: var(--c-green-700); }
.hours__note { margin: 14px 0 0; font-size: 13px; color: var(--c-muted); }
@media (max-width: 560px){ .hours-table { font-size: 11px; letter-spacing: 0; } }

.map-frame { display: block; width: 100%; aspect-ratio: 4/3; border: 1px solid var(--c-line); }

.store-card { display: block; }
.store-card__cover--text { aspect-ratio: 16/6; background: linear-gradient(135deg, var(--c-green-800), var(--c-green-600)); display: grid; place-items: center; }
.store-card__mark { position: relative; z-index: 1; font-family: var(--f-en); font-style: italic; font-size: clamp(40px, 5vw, 64px); color: rgba(255,255,255,.92); }
.store-card__meta { display: grid; grid-template-columns: 72px 1fr; row-gap: 6px; }
.store-card__meta dd { margin: 0; }

.contact-tel { margin: 8px 0 12px; font-family: var(--f-en-sans); font-size: 26px; letter-spacing: .06em; color: var(--c-green-800); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-agree { display: flex; align-items: center; gap: 10px; }
.form-field.form-agree input { width: 18px; height: 18px; flex-shrink: 0; }
.form-field.form-agree label { margin: 0; font-weight: 400; }
.form-status { margin: 20px 0 0; font-size: 14px; color: var(--c-green-800); }
.form-status--error { color: var(--c-danger); }
.btn:disabled { opacity: .6; cursor: wait; }

/* =========================================================
   Scroll effects
   ========================================================= */
html { overflow-x: clip; }

/* Full-width photo band with parallax */
.band {
  position: relative; z-index: 1;
  overflow: hidden;
  background: var(--c-green-900);
  color: #fff;
}
.band__bg {
  position: absolute; left: 0; right: 0; top: -16%; bottom: -16%;
  background: center/cover no-repeat;
  translate: 0 var(--dy, 0px);
  will-change: translate;
}
.band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,61,39,.82) 0%, rgba(19,61,39,.55) 45%, rgba(19,61,39,.15) 100%);
}
.band__inner {
  position: relative; z-index: 2;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
.band__panel { max-width: 600px; }
.band .label-en { color: var(--c-gold-soft); }
.band .label-en::before { background: var(--c-gold-soft); }
.band h2 {
  font-family: var(--f-serif); font-weight: 600;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.45; letter-spacing: .05em;
  color: #fff; margin: 18px 0 24px;
}
.band p { color: rgba(255,255,255,.86); line-height: 2; margin: 0; }
.band__note {
  margin-top: 28px; padding: 14px 20px;
  border-left: 2px solid var(--c-gold-soft);
  color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.9;
}
.band__note strong { color: #fff; }

/* Large English titles drift sideways with the scroll */
.sec-head__en, .recruit-banner__en, .subhero__en { translate: var(--dx, 0px) 0; }

/* Images wipe in from the left */
.wipe {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(.77,0,.18,1) .1s;
}
.wipe.is-in { clip-path: inset(0 0 0 0); }

/* Sub-page hero fades back as content slides over it */
.subhero { --hero-p: 0; }
.subhero__inner {
  translate: 0 calc(var(--hero-p) * 60px);
  opacity: calc(1 - var(--hero-p) * 1.2);
}

@media (prefers-reduced-motion: reduce) {
  .hero, .subhero { position: relative; top: auto; }
  .hero::before { animation: none; }
  .hero__inner, .subhero__inner { translate: none; opacity: 1; }
  .band__bg, .sec-head__en, .recruit-banner__en, .subhero__en { translate: none; }
  .wipe { clip-path: none; transition: none; }
  .hero__scroll::after { animation: none; }
}

/* Greeting signature */
.greeting__sign { margin-top: 28px; text-align: right; font-family: var(--f-serif); letter-spacing: .08em; color: var(--c-ink); }

/* Related company page (株式会社のために) uses its logo orange */
.page-notameni { --c-nota: #e67630; --c-nota-deep: #cf5f1c; }
.page-notameni .subhero {
  background: linear-gradient(120deg, var(--c-nota-deep), var(--c-nota));
}
.page-notameni .subhero::before {
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.18), transparent 50%);
}
.page-notameni .subhero p { color: #fff; }
.page-notameni .subhero p.subhero__en { color: rgba(255,255,255,.2); }
.page-notameni .subhero .label-en { color: #fff; }
.page-notameni .subhero .label-en::before { background: #fff; }
.page-notameni .notice,
.page-notameni .job-title { border-left-color: var(--c-nota); }
.page-notameni .section .btn:not(.btn--ghost) { background: var(--c-nota-deep); border-color: var(--c-nota-deep); }
.page-notameni .section .btn:not(.btn--ghost):hover { background: #b6521a; border-color: #b6521a; }

/* Store exterior photos */
.store-card__cover--photo { aspect-ratio: 16/10; background: var(--c-green-800); }
.store-card__cover--photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.store-card:hover .store-card__cover--photo img { transform: scale(1.04); }
.store-card__cover--photo .store-card__badge { z-index: 1; }
.store-photo { margin: 0 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.store-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
