/* =========================================================
   ひかり訪問看護ステーション — フロントページ専用スタイル
   ========================================================= */

:root {
  --green-900: #0f2e22;
  --green-800: #163a2b;
  --green-700: #1f4d3a;
  --green-600: #2a6b51;
  --green-500: #3d8268;
  --green-300: #a9c4b3;
  --green-100: #e3ece1;
  --green-50:  #eef3ea;

  --brown-700: #5a4327;
  --brown-600: #7a5d3a;
  --brown-500: #8b6f47;
  --brown-400: #a78760;
  --brown-300: #c3a983;

  --cream:   #f6f1e4;
  --cream-2: #efe8d5;
  --paper:   #fbf8ef;
  --ink:     #23201c;
  --ink-2:   #3d3a34;
  --ink-3:   #6b665d;
  --line:    rgba(35,32,28,.10);
  --line-2:  rgba(35,32,28,.18);

  --serif: 'Shippori Mincho','Noto Serif JP', serif;
  --sans:  'Noto Sans JP', system-ui, sans-serif;
  --latin: 'Cormorant Garamond','Cormorant', serif;

  --maxw:      1280px;
  --gutter:    clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
}

/* ─── html / body 両方でスクロール封じ ─── */
html { overflow-x: hidden }

/* ─── Base ─── */
.wbr    { display: inline-block }
.balance { text-wrap: balance; line-break: strict; word-break: auto-phrase }
.pretty  { text-wrap: pretty;  line-break: strict; word-break: auto-phrase }

*, *::before, *::after { box-sizing: border-box }
html, body { margin: 0; padding: 0 }

body.hikari-home {
  background:  var(--paper);
  color:       var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size:   16px;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x:  hidden;
}

/* Paper grain */
body.hikari-home::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    radial-gradient(rgba(90,67,39,.04) 1px, transparent 1.4px),
    radial-gradient(rgba(31,77,58,.03) 1px, transparent 1.4px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
  opacity: .7;
}

body.hikari-home img { max-width: 100%; display: block }
body.hikari-home a   { color: inherit; text-decoration: none }
body.hikari-home button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer }

.container {
  max-width:    var(--maxw);
  margin:       0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ─── Admin bar adjustment ─── */
.admin-bar .header { top: 32px }
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px }
}

/* ─── Header ─── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink);
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .35s ease, padding .35s ease, box-shadow .35s ease;
}
.header.hidden  { transform: translateY(-110%); opacity: 0; pointer-events: none }
.header.visible { transform: translateY(0); opacity: 1 }
.header.solid {
  background: rgba(251,248,239,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--ink);
  padding-top: 10px; padding-bottom: 10px;
  box-shadow: 0 1px 0 var(--line);
}

.logo     { display: flex; align-items: center; gap: 12px; font-family: var(--serif) }
.logo-img { height: 38px; width: auto; max-width: 140px; object-fit: contain; display: block }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff7d6 0%, #f4d489 35%, #c19350 70%, transparent 71%),
    radial-gradient(circle at 50% 60%, rgba(255,200,90,.4), transparent 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 30px rgba(244,212,137,.45);
  position: relative; flex: 0 0 auto;
}
.header.solid .logo-mark { box-shadow: 0 0 0 1px rgba(35,32,28,.15) inset, 0 0 22px rgba(193,147,80,.35) }
.logo-jp   { font-size: 18px; letter-spacing: .06em; line-height: 1; font-weight: 500 }
.logo-en   { font-family: var(--latin); font-style: italic; font-size: 11px; letter-spacing: .18em; opacity: .75; margin-top: 4px }
.logo-text { display: flex; flex-direction: column }

.nav { display: flex; align-items: center; gap: 32px; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; font-weight: 500 }
.nav a { position: relative; padding: 8px 0 }
.nav a .en { display: block; font-family: var(--latin); font-style: italic; font-size: 10px; letter-spacing: .24em; opacity: .6; margin-top: 3px; text-align: center; text-transform: uppercase; font-weight: 400 }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: currentColor; transition: width .25s ease, left .25s ease }
.nav a:hover::after { width: 100%; left: 0 }

.header-cta  { display: flex; align-items: center; gap: 12px }
.tel-pill    { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--latin); line-height: 1 }
.tel-pill .num { font-size: 16px; letter-spacing: .04em; font-weight: 500 }
.tel-pill .lab { font-size: 9px; letter-spacing: .22em; opacity: .7; margin-top: 4px; font-family: var(--sans) }

.btn-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px 11px 22px; border-radius: 8px;
  background: var(--brown-500); color: #fff;
  font-family: var(--serif); letter-spacing: .14em; font-size: 13px; font-weight: 500;
  transition: background .2s ease, gap .2s ease;
  white-space: nowrap;
}
.btn-contact:hover { background: var(--brown-600); gap: 12px }
.btn-contact__arrow { flex-shrink: 0; opacity: .85 }

.menu-toggle { display: none }

/* ─── Hero ─── */
.hero {
  position: relative; height: 100vh; min-height: 720px; color: #fff;
  overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: 0 }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-color: var(--green-800);
  opacity: 0; transition: opacity 1.6s ease, transform 9s ease;
  transform: scale(1.08);
}
.hero-slide.active { opacity: 1; transform: scale(1) }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,46,34,.45) 0%, rgba(15,46,34,.15) 35%, rgba(15,46,34,.65) 100%),
    linear-gradient(90deg,  rgba(15,46,34,.35), rgba(15,46,34,0) 55%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center;
  padding: 60px var(--gutter) 140px;
}
.hero-copy { max-width: 920px }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); letter-spacing: .22em; font-size: 14px; font-weight: 500;
  opacity: .95; margin-bottom: 36px;
}
.hero-eyebrow::before { content: ""; width: 46px; height: 1px; background: currentColor; display: inline-block; opacity: .7 }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5.6vw, 82px);
  line-height: 1.32; letter-spacing: .02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
  margin: 0 0 28px;
}
.hero-title .accent { color: #f4d489 }
.hero-title .tate {
  display: inline-block; writing-mode: vertical-rl; text-orientation: upright;
  margin-right: .4em; font-size: .7em; letter-spacing: .4em; color: #f4d489;
  border-right: 1px solid rgba(244,212,137,.5); padding-right: .45em; vertical-align: middle;
}
.hero-sub { font-size: 15px; line-height: 2; max-width: 520px; color: rgba(255,255,255,.92); font-weight: 300; letter-spacing: .06em }

.hero-meta {
  position: absolute; left: var(--gutter); bottom: 36px; z-index: 3;
  display: flex; align-items: center; gap: 22px; color: #fff;
  font-family: var(--latin); letter-spacing: .22em; font-size: 11px;
}
.hero-dots { display: flex; gap: 10px }
.hero-dot  { width: 28px; height: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s ease, width .3s ease }
.hero-dot.active { background: #f4d489; width: 48px }
.hero-counter b  { font-weight: 500; color: #f4d489 }

.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 36px; z-index: 3; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--latin); font-size: 10px; letter-spacing: .32em; writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 60px; background: linear-gradient(to bottom, #f4d489, transparent);
  animation: hikari-scrollLine 2.2s ease-in-out infinite;
}
@keyframes hikari-scrollLine {
  0%   { transform: scaleY(0); transform-origin: top }
  50%  { transform: scaleY(1); transform-origin: top }
  51%  { transform: scaleY(1); transform-origin: bottom }
  100% { transform: scaleY(0); transform-origin: bottom }
}

/* ─── Section header ─── */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 48px }
.sec-en {
  font-family: var(--latin); font-style: italic; font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1; color: var(--brown-500); font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 14px;
}
.sec-en::before { content: ""; width: 36px; height: 1px; background: var(--brown-500) }
.sec-jp {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 46px); letter-spacing: .06em;
  line-height: 1.4; color: var(--green-900); font-weight: 500; padding: 0;
}

/* ─── News ticker ─── */
.news {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter); background: var(--paper);
}
.news-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 32px }
.news-label {
  font-family: var(--serif); letter-spacing: .16em; font-size: 14px; font-weight: 500; color: var(--green-700);
  border-right: 1px solid var(--line-2); padding-right: 24px; flex: 0 0 auto;
}
.news-label .jp { display: block; font-family: var(--latin); font-style: italic; font-size: 10px; letter-spacing: .24em; color: var(--ink-3); margin-top: 3px; font-weight: 400 }
.news-list      { flex: 1; display: flex; align-items: center; gap: 18px; font-size: 13px; overflow: hidden }
.news-date      { font-family: var(--latin); color: var(--brown-500); letter-spacing: .08em; flex: 0 0 auto }
.news-tag       { font-size: 10px; letter-spacing: .18em; background: var(--green-50); color: var(--green-700); padding: 3px 10px; border-radius: 4px; flex: 0 0 auto }
.news-title     { color: var(--ink-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.news-more      { font-family: var(--serif); font-size: 13px; letter-spacing: .16em; color: var(--ink-2); border-left: 1px solid var(--line-2); padding-left: 20px; flex: 0 0 auto }

/* ─── About ─── */
.about {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  position: relative;
}
.about-grid        { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px,6vw,96px); align-items: center }
.about-images      { position: relative }
.about-img-main {
  width: 100%; aspect-ratio: 4/5;
  background-size: cover; background-position: center; background-color: var(--green-600);
  border-radius: 10px;
  box-shadow: 0 24px 60px -20px rgba(31,77,58,.22), inset 0 0 0 1px rgba(139,111,71,.12);
}
.about-img-sub {
  position: absolute; right: -40px; bottom: -50px; width: 55%; aspect-ratio: 1;
  background-size: cover; background-position: center; background-color: var(--brown-500);
  border: 8px solid var(--paper); border-radius: 8px;
  box-shadow: 0 16px 40px -16px rgba(31,77,58,.28), inset 0 0 0 1px rgba(139,111,71,.1);
}
.about-stamp {
  position: absolute; left: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--brown-500); color: var(--paper);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--serif); font-size: 12px; line-height: 1.6; letter-spacing: .1em;
  transform: rotate(-8deg); box-shadow: 0 12px 30px -8px rgba(122,93,58,.5);
}
.about-stamp b { display: block; font-size: 22px; font-weight: 500; letter-spacing: .05em; margin-bottom: 2px }
.about-text h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.55; letter-spacing: .03em;
  margin: 0 0 32px; color: var(--green-900);
}
.about-text h2 em { font-style: normal; background: linear-gradient(transparent 70%, rgba(244,212,137,.55) 70%); padding: 0 4px }
.about-text p  { font-size: 15px; line-height: 2.1; color: var(--ink-2); margin: 0 0 18px; letter-spacing: .04em }
.about-text .sig {
  margin-top: 32px; font-family: var(--serif); color: var(--ink-2);
  display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .1em;
}
.about-text .sig .role { font-size: 11px; color: var(--ink-3); letter-spacing: .2em }

.btn-text {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 36px;
  font-family: var(--serif); letter-spacing: .1em; font-size: 15px; font-weight: 500; color: var(--green-700);
  padding-bottom: 6px; border-bottom: 1px solid var(--green-700);
  transition: gap .25s ease, color .25s ease;
}
.btn-text:hover { gap: 22px; color: var(--brown-500); border-color: var(--brown-500) }
.btn-text .arrow { width: 24px; height: 1px; background: currentColor; position: relative }
.btn-text .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg) }

/* ─── Services ─── */
.services { padding: var(--section-y) 0; background: var(--cream); position: relative; overflow: hidden }
.services::before {
  content: "SERVICE"; position: absolute; left: -30px; bottom: -40px;
  font-family: var(--latin); font-style: italic; font-size: 24vw; line-height: 1;
  color: rgba(31,77,58,.05); font-weight: 500; pointer-events: none;
}
.services-intro { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; margin-bottom: 64px; align-items: end; position: relative; z-index: 1 }
.services-intro p { font-size: 15px; line-height: 2.1; color: var(--ink-2); margin: 0; max-width: 680px }
.service-grid   { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; z-index: 1 }
.service-card {
  background: var(--paper); padding: 36px 28px 32px; display: flex; flex-direction: column; gap: 18px;
  min-height: 380px; position: relative;
  border: 1px solid rgba(139,111,71,.1); border-radius: 12px;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  background: #fff;
  box-shadow: 0 12px 40px -12px rgba(31,77,58,.12);
  border-color: rgba(139,111,71,.2);
}
.service-num  { font-family: var(--latin); font-style: italic; font-size: 12px; letter-spacing: .2em; color: var(--brown-500) }
.service-icon { width: 54px; height: 54px; color: var(--green-700) }
.service-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .06em; margin: 0; color: var(--green-900) }
.service-card h3 .en { display: block; font-family: var(--latin); font-style: italic; font-size: 11px; letter-spacing: .22em; color: var(--brown-500); margin-top: 6px; font-weight: 400 }
.service-card p   { font-size: 14px; line-height: 2; color: var(--ink-2); margin: 0; letter-spacing: .04em }
.service-card .more { margin-top: auto; font-family: var(--serif); font-size: 13px; letter-spacing: .1em; color: var(--green-700); display: flex; align-items: center; gap: 10px; font-weight: 500 }

/* ─── Episode ─── */
.episode { padding: var(--section-y) 0; background: var(--green-800); color: var(--cream); position: relative; overflow: hidden }
.episode::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(244,212,137,.08), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(167,135,96,.12), transparent 50%);
  pointer-events: none;
}
.episode .sec-en  { color: var(--cream) }
.episode .sec-jp  { color: rgba(246,241,228,.85) }
.episode .sec-en::before { background: var(--cream) }
.episode-lead { font-family: var(--serif); font-size: clamp(20px,2vw,26px); line-height: 2; letter-spacing: .06em; max-width: 780px; margin: 0 0 56px; color: rgba(246,241,228,.92) }
.ep-grid      { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; z-index: 1 }
.ep-card      { position: relative; overflow: hidden; aspect-ratio: 4/5; cursor: pointer; border-radius: 12px }
.ep-img       { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--green-700); transition: transform .8s ease }
.ep-card:hover .ep-img { transform: scale(1.06) }
.ep-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,46,34,.85) 100%) }
.ep-meta      { position: absolute; inset: auto 0 0 0; padding: 28px 24px; z-index: 1; color: #fff }
.ep-num       { font-family: var(--serif); font-size: 13px; letter-spacing: .1em; color: #f4d489; margin-bottom: 10px; font-weight: 500 }
.ep-title     { font-family: var(--serif); font-size: 22px; letter-spacing: .06em; line-height: 1.6; font-weight: 500; margin: 0 }
.ep-card .corner { position: absolute; top: 18px; left: 18px; font-family: var(--latin); font-size: 10px; letter-spacing: .3em; color: #f4d489; z-index: 1 }

/* ─── Staff ─── */
.staff      { padding: var(--section-y) 0; background: var(--paper); position: relative }
.staff-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px,6vw,80px); align-items: center }
.staff-img  {
  aspect-ratio: 5/4; background-size: cover; background-position: center; background-color: var(--green-600);
  position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(139,111,71,.12);
}
.staff-img .frame { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; pointer-events: none }
.staff-text h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px,3vw,40px); line-height: 1.6; letter-spacing: .04em; margin: 0 0 24px; color: var(--green-900) }
.staff-text p  { font-size: 15px; line-height: 2.1; color: var(--ink-2); margin: 0 0 16px; letter-spacing: .04em }
.staff-stats   { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin: 40px 0 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.stat-num      { font-family: var(--latin); font-size: 42px; color: var(--green-700); font-weight: 500; line-height: 1; font-style: italic }
.stat-num span { font-size: 18px; font-style: normal; margin-left: 4px; color: var(--brown-500) }
.stat-lab      { font-size: 13px; letter-spacing: .1em; color: var(--ink-2); margin-top: 8px; font-family: var(--serif); font-weight: 500 }
.stat-lab .en  { display: block; font-family: var(--latin); font-style: italic; font-size: 9px; letter-spacing: .24em; color: var(--ink-3); margin-top: 2px; font-weight: 400 }

/* ─── Journal ─── */
.journal      { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%) }
.journal-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap }
.jrn-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px 36px }
.jrn-card     { display: block }
.jrn-thumb    {
  aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--green-600);
  margin-bottom: 18px; overflow: hidden; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(139,111,71,.1);
  transition: background-size .5s ease;
}
.jrn-card:hover .jrn-thumb { background-size: 108% }
.jrn-tag      { display: inline-block; font-family: var(--serif); font-size: 12px; letter-spacing: .08em; color: var(--brown-500); margin-right: 14px; font-weight: 500 }
.jrn-date     { display: inline-block; font-family: var(--latin); font-size: 11px; letter-spacing: .1em; color: var(--ink-3) }
.jrn-title    { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.75; letter-spacing: .04em; margin: 10px 0 0; color: var(--ink) }

/* ─── Contact ─── */
.contact {
  padding: var(--section-y) 0; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(15,46,34,.78), rgba(15,46,34,.88)), var(--green-900);
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1502082553048-f009c37129b9?auto=format&fit=crop&w=2000&q=70");
  background-size: cover; background-position: center;
  opacity: .25; mix-blend-mode: luminosity;
}
.contact-inner    { position: relative; z-index: 1; text-align: center }
.contact .sec-en  { color: #fff }
.contact .sec-en::before { background: #fff }
.contact .sec-head { justify-content: center }
.contact .sec-jp  { color: rgba(255,255,255,.85) }
.contact-lead     { font-family: var(--serif); font-size: clamp(22px,2.6vw,32px); line-height: 1.9; letter-spacing: .08em; margin: 0 0 56px }
.contact-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.15); max-width: 920px; margin: 0 auto; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; overflow: hidden }
.contact-cell     { background: rgba(15,46,34,.6); backdrop-filter: blur(4px); padding: 48px 32px; text-align: center }
.contact-cell .lab { font-family: var(--serif); font-size: 14px; letter-spacing: .14em; color: #f4d489; margin-bottom: 18px; font-weight: 500 }
.contact-cell .lab .en { display: block; font-family: var(--latin); font-style: italic; font-size: 10px; letter-spacing: .28em; color: rgba(255,255,255,.55); margin-top: 4px; font-weight: 400 }
.contact-cell .big   { font-family: var(--latin); font-size: 42px; letter-spacing: .04em; font-weight: 500; color: #fff; line-height: 1 }
.contact-cell .small { font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.85); margin-top: 14px }
.contact-cell .ctaform {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 16px 32px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px;
  font-family: var(--serif); letter-spacing: .14em; font-size: 15px; color: #fff; font-weight: 500;
  transition: background .25s ease, border-color .25s ease, gap .25s ease;
}
.contact-cell .ctaform:hover { background: rgba(244,212,137,.12); border-color: #f4d489; gap: 14px }

/* ─── Access ─── */
.access       { padding: var(--section-y) 0; background: var(--cream) }
.access-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 40px }
.access-card  {
  background: var(--paper); padding: 36px;
  border: 1px solid rgba(139,111,71,.1); border-radius: 12px;
  display: flex; gap: 28px;
  box-shadow: 0 4px 20px rgba(35,32,28,.04);
}
.access-img   {
  flex: 0 0 160px; aspect-ratio: 1;
  background-size: cover; background-position: center; background-color: var(--brown-400);
  border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(139,111,71,.12);
}
.access-info h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; margin: 0 0 6px; color: var(--green-900); line-height: 1.5 }
.access-info .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px }
.access-info .tag  { font-size: 10px; letter-spacing: .16em; background: var(--green-50); color: var(--green-700); padding: 3px 8px }
.access-info dl    { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 12.5px; line-height: 1.7 }
.access-info dt    { color: var(--ink-3); font-family: var(--serif); letter-spacing: .06em; font-size: 12px; align-self: center; font-weight: 500 }
.access-info dd    { margin: 0; color: var(--ink-2) }
.access-info a.map { display: inline-block; margin-top: 14px; color: var(--brown-500); font-size: 13px; letter-spacing: .06em; border-bottom: 1px solid var(--brown-500); padding-bottom: 2px; font-family: var(--serif); font-weight: 500 }

/* ─── Footer ─── */
.footer       { background: var(--green-900); color: rgba(246,241,228,.8); padding: 80px var(--gutter) 32px }
.footer-inner { max-width: var(--maxw); margin: 0 auto }
.footer-top   { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(246,241,228,.15) }
.footer-brand .logo { color: #fff }
.footer-brand p     { font-size: 12px; line-height: 2; margin: 24px 0 0; color: rgba(246,241,228,.7); letter-spacing: .06em }
.footer-col h4 { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; color: #f4d489; margin: 0 0 18px; font-weight: 500 }
.footer-col h4 .en { display: block; font-family: var(--latin); font-style: italic; font-size: 10px; letter-spacing: .24em; color: rgba(246,241,228,.45); margin-top: 3px; font-weight: 400 }
.footer-col ul     { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px }
.footer-col a      { font-size: 14px; letter-spacing: .04em; transition: color .2s }
.footer-col a:hover { color: #fff }
.footer-col li small { display: block; font-size: 10px; letter-spacing: .18em; color: rgba(246,241,228,.45); margin-top: 2px; font-family: var(--latin) }
.footer-bot  { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-family: var(--latin); font-size: 11px; letter-spacing: .22em; color: rgba(246,241,228,.55) }
.footer-social { display: flex; gap: 18px }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(246,241,228,.3); display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.footer-social a:hover { background: #f4d489; color: var(--green-900); border-color: #f4d489 }

/* ─── Side rail ─── */
.side-rail {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-family: var(--latin); font-size: 10px; letter-spacing: .3em;
  writing-mode: vertical-rl; color: rgba(255,255,255,.7);
  transition: color .3s ease;
}
.side-rail.dark { color: rgba(35,32,28,.45) }
.side-rail::after { content: ""; width: 1px; height: 90px; background: currentColor }

/* ─── Mobile Nav Overlay ─── */
.nav-mobile {
  position: fixed; inset: 0; z-index: 200;
  background: var(--green-900);
  color: rgba(246,241,228,.85);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--gutter) 60px;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1), visibility .45s;
  visibility: hidden;
  overflow-y: auto;
}
.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
}
.nav-mobile__close {
  position: absolute; top: 18px; right: var(--gutter);
  width: 48px; height: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-mobile__close span {
  width: 24px; height: 1px; background: rgba(246,241,228,.8); display: block;
  transition: transform .3s ease;
}
.nav-mobile__close span:first-child { transform: rotate(45deg)  translateY(0.5px) }
.nav-mobile__close span:last-child  { transform: rotate(-45deg) translateY(-0.5px) }

.nav-mobile__link {
  display: block; color: rgba(246,241,228,.85);
  font-family: var(--serif); font-size: clamp(22px,5vw,30px); letter-spacing: .06em; font-weight: 500;
  padding: 18px 0; border-bottom: 1px solid rgba(246,241,228,.1);
  transition: color .2s, padding-left .2s;
}
.nav-mobile__link:hover { color: #f4d489; padding-left: 8px }
.nav-mobile__link .en {
  display: block; font-family: var(--latin); font-style: italic;
  font-size: 10px; letter-spacing: .3em; color: rgba(246,241,228,.35); margin-top: 4px; font-weight: 400;
}
.nav-mobile__tel {
  margin-top: 40px;
  font-family: var(--latin); font-size: clamp(20px,5vw,26px); letter-spacing: .06em;
  color: #f4d489; font-weight: 500; line-height: 1;
}
.nav-mobile__tel a { color: #f4d489 }
.nav-mobile__tel small {
  display: block; font-family: var(--sans); font-size: 11px;
  letter-spacing: .12em; color: rgba(246,241,228,.45); margin-top: 10px; font-weight: 400;
}

/* ─── Responsive ─── */
@media (max-width: 1000px) {
  .nav { display: none }
  .menu-toggle {
    display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: inherit;
  }
  .menu-toggle span { width: 22px; height: 1px; background: currentColor; position: relative }
  .menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: currentColor;
  }
  .menu-toggle span::before { top: -7px }
  .menu-toggle span::after  { top: 7px }
  .tel-pill { display: none }
  .about-grid, .services-intro, .staff-grid, .jrn-grid, .contact-grid, .access-grid, .footer-top { grid-template-columns: 1fr }
  .service-grid { grid-template-columns: repeat(2,1fr) }
  .ep-grid      { grid-template-columns: 1fr; gap: 18px }
  .ep-card      { aspect-ratio: 3/2 }
  .side-rail    { display: none }
  /* About: サブ画像をコンテナ内に収める */
  .about-images  { overflow: hidden; padding-bottom: 56px }
  .about-img-sub { right: 0; bottom: 0; border-width: 5px }
  .about-stamp   { left: 0; top: 0; width: 90px; height: 90px; font-size: 10px }

  /* Access: カードを縦並びに */
  .access-card   { flex-direction: column; padding: 24px }
  .access-img    { flex: none; width: 100%; aspect-ratio: 16/9 }
  .hero-overlay  { padding: 110px var(--gutter) 120px }
  .hero-eyebrow  { margin-bottom: 24px }
}

@media (max-width: 600px) {
  .service-grid  { grid-template-columns: 1fr }
  .jrn-grid      { grid-template-columns: 1fr }
  .news-inner    { flex-wrap: wrap; gap: 14px }
  .news-list     { flex-basis: 100% }

  /* ── Header ── */
  .logo-jp       { font-size: 15px }
  .btn-contact   { padding: 10px 14px; font-size: 12px; white-space: nowrap }

  /* ── Hero ── */
  .hero-eyebrow  { font-size: 11px; letter-spacing: .1em; flex-wrap: wrap; gap: 6px }
  .hero-sub      { font-size: 13px }
  .hero-scroll   { right: 12px }

  /* ── Section headers ── */
  .sec-jp        { font-size: clamp(22px, 6vw, 32px) }

  /* ── About ── */
  .about-text h2 { font-size: clamp(22px, 5.5vw, 32px) }
  .about-text p  { font-size: 14px }

  /* ── Services: 横並びカードレイアウト ── */
  .service-grid { gap: 10px }
  .service-card {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 16px; row-gap: 0;
    padding: 18px 18px 16px; min-height: auto;
    align-items: start;
  }
  .service-num  { grid-column: 1; grid-row: 1; text-align: center }
  .service-icon { grid-column: 1; grid-row: 2; width: 52px; height: 52px; margin-top: 8px }
  .service-card h3   { grid-column: 2; grid-row: 1 / 3; font-size: 16px; align-self: center; margin: 0 }
  .service-card h3 .en { font-size: 9px; margin-top: 4px }
  .service-card p    { grid-column: 1 / 3; grid-row: 3; font-size: 13px; line-height: 1.85; margin-top: 12px }
  .service-card .more { grid-column: 1 / 3; grid-row: 4; margin-top: 10px; font-size: 12px }

  /* ── Staff ── */
  .staff-stats   { grid-template-columns: repeat(3,1fr); gap: 8px }
  .stat-num      { font-size: 26px }
  .stat-num span { font-size: 13px }
  .staff-text h2 { font-size: clamp(20px, 5vw, 28px) }

  /* ── Contact ── */
  .contact-lead  { font-size: clamp(18px, 4.5vw, 24px) }
  .contact-cell  { padding: 32px 20px }
  .contact-cell .big    { font-size: clamp(22px, 6vw, 30px); white-space: nowrap }
  .contact-cell .ctaform { padding: 14px 22px; font-size: 14px }

  /* ── News ── */
  .news-more     { display: none }

  /* ── Footer ── */
  .footer-bot    { flex-direction: column; gap: 16px; text-align: center }
  .footer        { padding: 56px var(--gutter) 28px }
}

@media (max-width: 420px) {
  /* ── 極小画面 ── */
  .about-img-sub,
  .about-stamp   { display: none }
  .about-images  { padding-bottom: 0 }

  /* Hero: tate を非表示にして本文を広く */
  .hero-title .tate      { display: none }
  .hero-title            { font-size: clamp(26px, 7vw, 36px) }

  /* Header: ロゴの英語テキストを省略 */
  .logo-en       { display: none }

  /* Staff stats: 数字をさらに詰める */
  .stat-num      { font-size: 22px }

  /* Access: カード内余白を詰める */
  .access-card   { padding: 18px }
  .access-info dl { font-size: 12px }
}

/* ─── フォーカス（キーボードアクセシビリティ） ─── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brown-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── スクロールアニメーション ─── */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.is-visible { opacity: 1; transform: none; }

/* ─── prefers-reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .01ms !important }
  .fade-item  { opacity: 1 !important; transform: none !important; transition: none !important }
  .header     { transition: none !important }
  *           { animation-duration: .01ms !important; transition-duration: .01ms !important }
}
