/* =========================================================
   Variant B — "Human Warmth"
   温かみ・人間中心・職人の手触り／柔らかく、親しみやすく
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* === Japanese typography baseline === */
/* keep-all so latin words & japanese words stay together;
   line-break: strict for proper kinsoku (no hanging punctuation),
   text-wrap: pretty for balanced final line; jp-quote tweaks. */
body {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-spacing: trim-start allow-end trim-adjacent;
}
h1, h2, h3, h4, h5, h6, p, li, a, span, em, b, address, blockquote {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: pretty;
  overflow-wrap: normal;
}
p, li, dd, blockquote {
  text-wrap: pretty;
}

:root{
  /* warm, hand-made palette */
  --cream:      #F7F1E8;
  --cream-dk:   #EFE5D2;
  --cream-lt:   #FDFAF4;
  --coffee:     #3A2A1E;   /* 深い茶 */
  --coffee-mid: #6B5444;
  --coffee-soft:#9B8776;
  --sand:       #C8B49A;
  --rule:       #D9C9B0;

  --blue:       #6B9BC4;   /* ロゴ水色 */
  --blue-dk:    #4D7EA5;
  --blue-soft:  #D7E4EE;
  --apricot:    #E89B6A;   /* 暖かい差し色 */
  --apricot-dk: #C77A4B;
  --moss:       #7A8B5A;   /* 植物的なグリーン */

  --display: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --sans:    'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --serif:   'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

body{
  font-family: var(--sans);
  background: var(--cream);
  color: var(--coffee);
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}

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

.wrap{ max-width: 1440px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }

/* Hand-drawn style underline / scribble */
.scribble{
  display: inline-block; position: relative;
}
.scribble::after{
  content:'';
  position: absolute; left: -4px; right: -4px; bottom: -6px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 40 3, 80 12, 120 7 S 180 4, 198 9' fill='none' stroke='%23E89B6A' stroke-width='2.5' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  opacity: .9;
}
.scribble--blue::after{
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 40 3, 80 12, 120 7 S 180 4, 198 9' fill='none' stroke='%236B9BC4' stroke-width='2.5' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}

/* ================= HEADER ================= */
.nav{
  position: sticky; top: 0; z-index: 80;
  background: rgba(247,241,232,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px dashed var(--rule);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px; gap: 40px;
}
.nav-logo{ display:flex; align-items:center; gap: 12px; flex-shrink: 0; }
.nav-logo img{ height: 56px; width:auto; transform: translateY(7px); flex-shrink: 0; }
.nav-logo span{
  font-family: var(--display);
  font-size: 13px;
  color: var(--coffee-mid);
  letter-spacing: .04em;
  border-left: 1px solid var(--rule);
  padding-left: 12px;
  white-space: nowrap;
}
.nav-links{ display:flex; gap: 22px; }
.nav-links a{
  font-size: 13.5px;
  font-weight: 500;
  color: var(--coffee);
  position: relative; padding: 6px 2px;
  white-space: nowrap;
}
.nav-links a:hover{ color: var(--apricot-dk); }
.nav-links a::after{
  content:''; position:absolute; left:0; right:0; bottom: 0; height:2px;
  background: var(--apricot);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after{ transform: scaleX(1); }

.nav-cta{
  font-size: 12.5px; font-weight: 600;
  color: var(--cream);
  background: var(--coffee);
  padding: 10px 20px;
  border-radius: 999px;
  display:inline-flex; align-items:center; gap:8px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover{ background: var(--apricot-dk); transform: translateY(-1px); }

/* ================= HERO ================= */
.hero{
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero::before{
  /* subtle paper texture via noise */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(232,155,106,.12), transparent 50%),
    radial-gradient(ellipse at 85% 10%, rgba(107,155,196,.12), transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(200,180,154,.18), transparent 55%);
  pointer-events: none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap: 10px;
  font-size: 12.5px; font-weight: 600;
  color: var(--coffee-mid);
  background: rgba(255,255,255,.6);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  margin-bottom: 28px;
}
.hero-eyebrow .dot{
  width: 8px; height: 8px; background: var(--apricot);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ transform:scale(1); opacity:1 } 50%{ transform: scale(1.4); opacity:.6 } }

.hero h1{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1.22;
  color: var(--coffee);
  letter-spacing: -.01em;
  margin-bottom: 32px;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}
.hero h1 > span,
.hero h1 .small > span{ display: inline-block; white-space: nowrap; }
.hero h1 .em{ color: var(--blue-dk); }
.hero h1 .br-mobile{ display:none; }
.hero h1 .small{
  display:block;
  font-size: .32em;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--coffee-mid);
  letter-spacing: .02em;
  line-height: 1.65;
  margin-top: 18px;
  white-space: normal;
}

/* Japanese widow / orphan control: wrap trailing clauses in <span class="nb">…</span>
   to keep them as a single unbreakable unit (prevents 。だけが行頭に落ちる現象).
   overflow-wrap:normal は重要：body の overflow-wrap:anywhere が iOS WebKit で
   white-space:nowrap を上書きするのを防ぐ。 */
.nb{
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-lead{
  font-size: 16.5px;
  line-height: 2.1;
  color: var(--coffee-mid);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas{
  display:flex; gap: 14px; align-items:center; flex-wrap: wrap;
}
.btn{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: transform .2s, background .25s var(--ease), color .25s var(--ease);
  cursor: pointer;
}
.btn::after{ content:'→'; transition: transform .2s; }
.btn:hover::after{ transform: translateX(4px); }
.btn--primary{
  background: var(--coffee); color: var(--cream);
  border: 2px solid var(--coffee);
}
.btn--primary:hover{ background: var(--apricot-dk); border-color: var(--apricot-dk); transform: translateY(-2px); }
.btn--ghost{
  background: transparent; color: var(--coffee);
  border: 2px solid var(--coffee);
}
.btn--ghost:hover{ background: var(--coffee); color: var(--cream); }

/* Hero visual — handwritten montage */
.hero-visual{
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 520px;
  margin-left: auto;
  justify-self: end;
}
.hv-card{
  position: absolute;
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  padding: 10px;
  box-shadow: 0 10px 30px rgba(58,42,30,.12);
  transition: transform .4s var(--ease);
}
.hv-card img{
  width: 100%; height: 100%; object-fit: cover; display:block;
}
.hv-card-tag{
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 4;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--coffee);
  display:flex; justify-content:space-between;
  background: var(--cream-lt);
  padding: 6px 10px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(58,42,30,.12);
}
.hv-1{
  top: 0; left: 5%; width: 58%; aspect-ratio: 4/5;
  transform: rotate(-3deg);
  z-index: 2;
}
.hv-2{
  top: 18%; right: 0; width: 46%; aspect-ratio: 4/5;
  transform: rotate(4deg);
  z-index: 3;
}
.hv-3{
  bottom: 2%; left: 12%; width: 50%; aspect-ratio: 1/1;
  transform: rotate(-1deg);
  z-index: 4;
}
.hv-card:hover{ transform: rotate(0) scale(1.02); z-index: 10; }

.hv-card--grid{ padding: 0; }
.hv-card--duo{ padding: 0; }
.hv-duo{
  position:absolute; inset:0;
  display:grid; grid-template-rows:1fr 1fr;
  gap:2px; background: var(--coffee-mid, #3A2A1E);
}
.hv-duo-cell{ position:relative; overflow:hidden; background:#eee; }
.hv-duo-cell img{ width:100%; height:100%; object-fit:cover; display:block; }
.hv-quad{
  position:absolute; inset:0;
  display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr;
  gap:2px; background: var(--coffee-mid, #3A2A1E);
}
.hv-quad-cell{ position:relative; overflow:hidden; background:#eee; }
.hv-quad-cell img{ width:100%; height:100%; object-fit:cover; display:block; }
.hv-quad-cell span{
  position:absolute; left:6px; bottom:6px;
  font-family: var(--mono); font-size:9px; letter-spacing:.12em;
  color:#fff; background:rgba(0,0,0,.55); padding:2px 6px; border-radius:2px;
  text-transform:uppercase;
}
.hv-card--grid .hv-card-tag,
.hv-card--duo .hv-card-tag{ z-index:5; background:var(--cream-lt); }

.hv-stamp{
  position: absolute;
  top: -8px; right: -8px;
  z-index: 5;
  width: 110px; height: 110px;
  background: var(--blue);
  color: var(--cream);
  border-radius: 50%;
  display:flex; flex-direction: column;
  align-items:center; justify-content:center;
  transform: rotate(-8deg);
  box-shadow: 0 6px 20px rgba(107,155,196,.4);
  animation: stamp-spin 20s linear infinite;
  border: 3px dashed rgba(255,255,255,.5);
}
.hv-stamp b{
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}
.hv-stamp span{
  font-size: 10px; font-weight: 600;
  letter-spacing: .12em; margin-top: 4px;
}
@keyframes stamp-spin { from{ transform: rotate(-8deg) } to{ transform: rotate(352deg) } }

/* ================= STATS STRIP ================= */
.strip{
  background: var(--coffee);
  color: var(--cream);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.strip-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items:center;
  text-align: center;
}
.strip-item{
  padding: 0 16px;
  border-right: 1px solid rgba(247,241,232,.15);
}
.strip-item:last-child{ border-right: none; }
.strip-num{
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;       /* unit text (年/拠点/名/万) */
  line-height: 1;
  color: var(--cream);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.strip-num em{
  color: var(--blue);
  font-style: normal;
  font-size: 64px;       /* number — visually dominant */
  line-height: 1;
  letter-spacing: -.02em;
}
.strip-num small{
  font-size: 13px;
  color: rgba(247,241,232,.6);
  font-weight: 500;
  margin-left: 2px;
}
.strip-lbl{
  font-size: 11.5px;
  color: rgba(247,241,232,.65);
  letter-spacing: .08em;
  margin-top: 10px;
}

/* ================= SECTION shell ================= */
.sec{
  padding: 120px 0;
  position: relative;
}
.sec--paper{ background: var(--cream); }
.sec--cream{ background: var(--cream-lt); }
.sec--coffee{ background: var(--coffee); color: var(--cream); }

/* Page hero (subpages) */
.page-hero{
  padding: 140px 0 70px;
  background: linear-gradient(180deg, var(--cream-dk) 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(58,42,30,.08);
  position: relative;
}
.page-hero .ph-eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--apricot-dk);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.page-hero .ph-eyebrow::before{
  content: ''; width: 28px; height: 1px; background: var(--apricot-dk);
}
.page-hero h1{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.25;
  color: var(--coffee);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.page-hero h1 em{ font-style: normal; color: var(--apricot-dk); }

/* ===== Contact form: purpose tabs + chips ===== */
.purpose-tabs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.purpose-tab{
  position: relative;
  display: block;
  padding: 18px 18px 16px;
  background: var(--cream-lt);
  border: 1px solid rgba(58,42,30,.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
}
.purpose-tab input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.purpose-tab:hover{
  border-color: var(--apricot);
  background: rgba(232,155,106,.06);
}
.purpose-tab.is-active{
  background: #fff;
  border-color: var(--apricot-dk);
  box-shadow: 0 6px 18px rgba(232,155,106,.18);
}
.purpose-tab.is-active::before{
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--apricot-dk);
}
.purpose-tab-num{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--coffee-mid);
  margin-bottom: 8px;
}
.purpose-tab.is-active .purpose-tab-num{ color: var(--apricot-dk); }
.purpose-tab-label{
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--coffee);
  margin-bottom: 4px;
}
.purpose-tab-sub{
  font-size: 11px;
  line-height: 1.5;
  color: var(--coffee-mid);
}

.chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--cream-lt);
  border: 1px solid rgba(58,42,30,.15);
  border-radius: 999px;
  font-size: 13px;
  color: var(--coffee);
  cursor: pointer;
  transition: all .15s ease;
}
.chip:hover{ border-color: var(--apricot); }
.chip input{ margin: 0; }
.chip:has(input:checked){
  background: rgba(232,155,106,.15);
  border-color: var(--apricot-dk);
}

@media (max-width: 720px){
  .purpose-tabs{ grid-template-columns: 1fr !important; }
}
.page-hero .ph-lead{
  margin-top: 24px;
  max-width: 640px;
  font-size: 16px;
  line-height: 2;
  color: var(--coffee-mid);
}
.page-hero .ph-crumbs{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--coffee-mid);
  margin-bottom: 16px;
}
.page-hero .ph-crumbs a{ color: var(--coffee-mid); text-decoration: none; }
.page-hero .ph-crumbs a:hover{ color: var(--apricot-dk); }

/* Active nav state */
.nav-links a.is-active{ color: var(--apricot-dk); }
.nav-links a.is-active::after{
  content: ''; display: block; height: 2px; background: var(--apricot);
  margin-top: 4px; border-radius: 2px;
}

/* ================= STORY (Before / Now) ================= */
.story-lead{
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 2;
  color: var(--coffee);
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
  text-wrap: pretty;
}
.story-lead em{ font-style: normal; color: var(--apricot-dk); font-weight: 700; }

.story-blocks{
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}
.story-block{
  position: relative;
  padding: 56px 56px 64px;
  border-radius: 12px;
}
.story-block--before{
  background: linear-gradient(180deg, #2a221c 0%, #3A2A1E 100%);
  color: var(--cream);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.story-block--after{
  background: linear-gradient(180deg, var(--cream-lt) 0%, #FFF 100%);
  border: 1px solid rgba(58,42,30,.08);
  box-shadow: 0 12px 32px rgba(58,42,30,.08);
}

.story-block-num{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.story-block-num--before{
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
}
.story-block-num--before::before{
  content:''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.story-block-num--after{
  background: rgba(232,155,106,.15);
  color: var(--apricot-dk);
}
.story-block-num--after::before{
  content:''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--apricot);
}
.story-block-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: -.005em;
}
.story-block--before .story-block-title{ color: var(--cream); }
.story-block--after .story-block-title{ color: var(--coffee); }

.story-list{ list-style: none; display: grid; gap: 18px; padding: 0; }
.story-list li{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.95;
  align-items: start;
}
.story-list .marker{
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 4px;
  flex-shrink: 0;
}
.story-list--before .marker{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.5);
}
.story-list--before li{ color: rgba(247,241,232,.85); }
.story-list--after .marker{
  background: var(--apricot);
  color: #fff;
}
.story-list--after li{ color: var(--coffee); }

.story-bridge{
  display: flex; align-items: center; gap: 24px;
  padding: 48px 0;
}
.story-bridge-line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,42,30,.2), transparent);
}
.story-bridge-label{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--apricot-dk);
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid rgba(232,155,106,.4);
  border-radius: 999px;
  background: var(--cream-lt);
}

/* ===== NOW section (Human Warmth treatment — editorial / journal style) ===== */
.now-lead{
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.95;
  color: var(--coffee);
  opacity: .82;
  margin: 8px 0 56px;
  max-width: 720px;
  letter-spacing: .01em;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(58,42,30,.12);
}

.now-chapters{
  display: grid;
  gap: 0;
  margin-bottom: 56px;
}

.now-chapter{
  position: relative;
  padding: 48px 0 52px;
  border-bottom: 1px dashed rgba(58,42,30,.18);
  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 32px;
  row-gap: 0;
  background: transparent;
  border-radius: 0;
}
.now-chapter:last-child{ border-bottom: none; padding-bottom: 16px; }
.now-chapter:first-child{ padding-top: 8px; }

/* Big editorial number column — spans all rows on the left */
.now-chapter-num{
  grid-column: 1;
  grid-row: 1 / -1;
  display: block;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--apricot-dk);
  opacity: .85;
  line-height: 1;
  padding-top: 6px;
  white-space: nowrap;
  position: relative;
  align-self: start;
}
.now-chapter-num::after{
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--apricot);
  margin-top: 14px;
  opacity: .6;
}

/* Title sits in the right column, top row */
.now-chapter-title{
  grid-column: 2;
  grid-row: 1;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.55;
  color: var(--coffee);
  letter-spacing: .005em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.now-chapter-body{
  grid-column: 2;
  grid-row: 2;
  font-size: 15px;
  line-height: 2;
  color: var(--coffee);
  opacity: .85;
  letter-spacing: .015em;
  text-wrap: pretty;
  margin: 0;
  padding-left: 0;
  max-width: 640px;
}

/* Before → After mini shift — newspaper-style annotation */
.now-shift{
  grid-column: 2;
  grid-row: 3;
  margin: 22px 0 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border-radius: 0;
  font-size: 13px;
  font-family: var(--mono, "JetBrains Mono", monospace);
  letter-spacing: .04em;
  align-self: start;
  justify-self: start;
}
.now-shift-from{
  color: var(--coffee);
  opacity: .45;
  text-decoration: line-through;
  text-decoration-color: rgba(58,42,30,.5);
  text-decoration-thickness: 1px;
}
.now-shift-arrow{ color: var(--apricot-dk); flex-shrink: 0; opacity: .8; }
.now-shift-to{
  color: var(--apricot-dk);
  font-weight: 600;
}

/* Quote with photo — magazine pull-quote treatment */
.now-quote{
  grid-column: 2;
  grid-row: 3;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 0;
}
.now-quote-img{
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.92) contrast(1.02);
  box-shadow: 4px 4px 0 rgba(232,155,106,.18);
}
.now-quote-text{
  position: relative;
  padding: 8px 0 8px 28px;
  background: transparent;
  border-radius: 0;
  border: none;
  border-left: 2px solid var(--apricot);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.now-quote-text::before{
  content: '"';
  position: absolute;
  top: -14px; left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--apricot);
  opacity: .5;
  font-weight: 400;
}
.now-quote-text p{
  font-family: var(--display);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--coffee);
  font-weight: 500;
  letter-spacing: .005em;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.now-quote-text footer{
  font-size: 11.5px;
  color: var(--coffee);
  opacity: .55;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--mono, "JetBrains Mono", monospace);
}

/* Bullet pairs — ledger style */
.now-bullets{
  grid-column: 2;
  grid-row: 3;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(58,42,30,.1);
}
.now-bullets li{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(58,42,30,.1);
  background: transparent;
  border-radius: 0;
  font-size: 14.5px;
  color: var(--coffee);
}
.now-bullets li span{ opacity: .82; line-height: 1.6; }
.now-bullets li em{
  font-style: normal;
  font-weight: 600;
  color: var(--apricot-dk);
  font-size: 12px;
  letter-spacing: .08em;
  font-family: var(--mono, "JetBrains Mono", monospace);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Closing */
.now-closing{
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(58,42,30,.12);
}
.now-closing-text{
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--coffee);
  font-weight: 500;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  text-wrap: balance;
  letter-spacing: .005em;
}
.now-photos{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.now-photos img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(.92) contrast(1.02);
  transition: transform .4s var(--ease), filter .4s;
}
.now-photos img:hover{
  transform: scale(1.02);
  filter: saturate(1) contrast(1.04);
}

/* ===== BEFORE — quiet ledger of admissions ===== */
.before-pane{
  margin-bottom: 8px;
}
.before-head{
  margin-bottom: 44px;
}
.bp-tag, .np-tag{
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coffee-mid);
  padding: 4px 10px 3px;
  border: 1px solid rgba(58,42,30,.2);
  border-radius: 2px;
  margin-bottom: 18px;
}
.np-tag{
  color: var(--apricot-dk);
  border-color: rgba(199,122,75,.4);
  background: rgba(232,155,106,.08);
}
.bp-title, .np-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.4;
  color: var(--coffee);
  letter-spacing: -.005em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.bp-title em{
  font-style: normal;
  color: var(--coffee);
  position: relative;
  display: inline-block;
}
.bp-title em::after{
  content:'';
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 10px;
  background: rgba(58,42,30,.08);
  z-index: -1;
}
.np-title em{
  font-style: normal;
  color: var(--apricot-dk);
}
.bp-lead, .np-lead{
  font-size: 15.5px;
  line-height: 2;
  color: var(--coffee-mid);
  margin: 0;
  max-width: 620px;
  text-wrap: pretty;
}

/* Numbered list of admissions */
.before-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(58,42,30,.12);
}
.before-list li{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 4px 24px;
  border-bottom: 1px solid rgba(58,42,30,.12);
}
.bl-num{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--coffee-soft);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.before-list li p{
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--coffee-mid);
  letter-spacing: .005em;
  text-wrap: pretty;
}
.before-list li em{
  font-style: normal;
  color: var(--coffee);
  font-weight: 600;
  background-image: linear-gradient(transparent 64%, rgba(232,155,106,.22) 64%, rgba(232,155,106,.22) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 2px;
}

/* NOW — section head */
.now-head{
  margin: 0 0 36px;
}

/* Bridge — warmer */
.story-bridge--warm{
  padding: 64px 0 56px;
}
.story-bridge--warm .story-bridge-label{
  color: var(--apricot-dk);
  font-weight: 600;
  letter-spacing: .15em;
}
.story-bridge--warm .story-bridge-line{
  background: linear-gradient(90deg, transparent, rgba(232,155,106,.4), transparent);
}

/* Mobile — BEFORE list */
@media (max-width: 768px){
  .before-list li{
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px 2px 20px;
  }
  .bp-title, .np-title{ font-size: clamp(24px, 6vw, 32px); }
  .bp-lead, .np-lead{ font-size: 14.5px; line-height: 1.95; }
  .now-chapter{
    padding: 32px 0 36px !important;
  }
  .now-chapter-num{
    font-size: 38px !important;
  }
}

/* Legacy story-photos (kept for safety; not used in NOW now) */
.story-photos{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.story-photos img{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(.95);
  transition: transform .4s var(--ease), filter .4s;
}
.story-photos img:hover{
  transform: scale(1.04);
  filter: saturate(1.1);
}

.story-cta{
  margin-top: 64px;
  padding: 44px 48px;
  background: linear-gradient(135deg, var(--apricot) 0%, var(--apricot-dk) 100%);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  color: #fff;
  box-shadow: 0 12px 32px rgba(232,155,106,.3);
}
.story-cta h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  margin-bottom: 8px;
}
.story-cta p{ font-size: 14.5px; line-height: 1.7; opacity: .92; }
.story-cta-btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: var(--apricot-dk);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.story-cta-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

@media (max-width: 768px){
  .story-block{ padding: 40px 28px 48px; }
  .story-photos{ grid-template-columns: repeat(2, 1fr); }
  .story-cta{ grid-template-columns: 1fr; padding: 32px 28px; }
  .story-cta-btn{ width: 100%; justify-content: center; }
  /* NOW responsive */
  .now-chapter{
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0 40px;
  }
  .now-chapter-num{
    grid-column: 1;
    grid-row: auto;
    font-size: 44px;
    padding-top: 0;
  }
  .now-chapter-num::after{ margin-top: 10px; }
  .now-chapter-title,
  .now-chapter-body,
  .now-shift,
  .now-quote,
  .now-bullets{ grid-column: 1; grid-row: auto; }
  .now-shift{ flex-wrap: wrap; gap: 8px; font-size: 12px; }
  .now-quote{ grid-template-columns: 1fr; gap: 18px; }
  .now-quote-img{ aspect-ratio: 16/10; min-height: 0; }
  .now-bullets li{ grid-template-columns: 1fr; gap: 4px; }
  .now-photos{ grid-template-columns: 1fr; }
}
  .story-bridge{ padding: 32px 0; }
}

.sec-head{
  text-align: center;
  max-width: 780px;
  margin: 0 auto 72px;
}
.sec-eyebrow{
  display:inline-block;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .22em;
  color: var(--apricot-dk);
  background: rgba(232,155,106,.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.sec-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.25;
  color: var(--coffee);
  letter-spacing: -.01em;
}
.sec-title em{ color: var(--blue-dk); font-style: normal; }
.sec-lead{
  margin-top: 22px;
  font-size: 16px;
  line-height: 2;
  color: var(--coffee-mid);
  max-width: 620px;
  margin-left: auto; margin-right: auto;
}

/* ================= ABOUT ================= */
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-img-stack{
  position: relative;
}
.about-img-stack .ais-main{
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(58,42,30,.14);
}
.about-img-stack .ais-main img{ width:100%; height:100%; object-fit: cover; }
.about-img-stack .ais-sub{
  position: absolute;
  bottom: -32px; right: -32px;
  width: 55%; aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 8px solid var(--cream);
  z-index: 3;
  box-shadow: 0 16px 32px rgba(58,42,30,.18);
}
.about-img-stack .ais-sub img{ width:100%; height:100%; object-fit: cover; }
.about-img-stack .ais-mark{
  position: absolute;
  top: -20px; left: -20px;
  background: var(--apricot);
  color: var(--cream);
  padding: 16px 22px;
  border-radius: 14px 14px 14px 2px;
  z-index: 4;
  font-family: var(--display);
  transform: rotate(-4deg);
  box-shadow: 0 10px 24px rgba(232,155,106,.35);
}
.about-img-stack .ais-mark .big{ font-size: 36px; font-weight: 600; line-height: 1; }
.about-img-stack .ais-mark .sml{ font-size: 11px; letter-spacing: .14em; margin-top: 4px; font-family: var(--sans); font-weight: 600; }

.about-text h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.3;
  color: var(--coffee);
}
.about-text h2 em{ color: var(--blue-dk); font-style: normal; }
.about-text p{
  font-size: 16.5px;
  line-height: 2.1;
  color: var(--coffee-mid);
  margin-top: 24px;
}
.about-text .sign{
  display:flex; align-items:center; gap: 14px;
  margin-top: 32px;
  padding: 20px;
  background: rgba(107,155,196,.08);
  border-radius: 12px;
  border: 1px dashed var(--blue);
}
.about-text .sign .dot{
  width: 12px; height:12px; background: var(--blue); border-radius: 50%;
}
.about-text .sign span{
  font-size: 14px; color: var(--coffee-mid); line-height: 1.7;
}
.about-text .sign b{ color: var(--coffee); font-weight: 600; }

/* ================= STRENGTHS ================= */
.str{
  background: linear-gradient(to bottom, var(--cream) 0%, var(--cream-dk) 100%);
  position: relative;
  overflow: hidden;
}
.str::before{
  content: '';
  position: absolute;
  top: 10%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(107,155,196,.08) 0%, transparent 70%);
  pointer-events: none;
}
.str::after{
  content: '';
  position: absolute;
  bottom: 10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,155,106,.1) 0%, transparent 70%);
  pointer-events: none;
}

.str-intro{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.str-intro h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.25;
  color: var(--coffee);
}
.str-intro h2 em{ color: var(--apricot-dk); font-style: normal; }
.str-intro p{
  font-size: 16px;
  line-height: 2.1;
  color: var(--coffee-mid);
}

/* Cards — staggered 3D */
.str-cards{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  position: relative;
}
.str-card{
  position: relative;
  background: var(--cream-lt);
  border-radius: 20px;
  padding: 32px 28px 28px;
  border: 1px solid var(--rule);
  box-shadow: 0 6px 20px rgba(58,42,30,.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.str-card:hover{
  transform: translateY(-8px) rotate(-.5deg);
  box-shadow: 0 24px 48px rgba(58,42,30,.14);
  background: #fff;
}
.str-card::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(232,155,106,.12) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.str-card:hover::before{ opacity: 1; }

/* 12-col grid: uniform 4-up — 2 + 2 layout */
.str-card:nth-child(1){ grid-column: 1 / span 6; grid-row: 1; min-height: 360px; }
.str-card:nth-child(2){ grid-column: 7 / span 6; grid-row: 1; min-height: 360px; }
.str-card:nth-child(3){ grid-column: 1 / span 6; grid-row: 2; min-height: 360px; }
.str-card:nth-child(4){ grid-column: 7 / span 6; grid-row: 2; min-height: 360px; }

.str-card .sc-num{
  font-family: var(--display);
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  color: var(--blue);
  opacity: .25;
  position: absolute;
  top: 20px; right: 24px;
  transition: transform .4s var(--ease), color .4s, opacity .4s;
}
.str-card:hover .sc-num{
  color: var(--apricot);
  opacity: .9;
  transform: scale(1.15) rotate(-6deg);
}
.str-card .sc-badge{
  display: inline-flex; align-items:center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--coffee-mid);
  padding: 5px 12px;
  background: rgba(107,155,196,.12);
  border-radius: 999px;
  margin-bottom: 20px;
}
.str-card .sc-icon{
  width: 32px; height: 32px; color: var(--blue-dk);
  margin-bottom: 18px;
}
.str-card h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: var(--coffee);
  margin-bottom: 14px;
  position: relative;
}
.str-card h3 em{ color: var(--apricot-dk); font-style: normal; }
.str-card p{
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--coffee-mid);
}
.str-card .sc-list{
  list-style: none;
  margin-top: 16px;
  display:flex; flex-wrap: wrap; gap: 6px;
}
.str-card .sc-list li{
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(58,42,30,.06);
  border-radius: 999px;
  color: var(--coffee);
}

.str-card--feature{
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  color: var(--cream);
}
.str-card--feature h3,
.str-card--feature .sc-num{ color: var(--cream); }
.str-card--feature h3 em{ color: #FFE5B4; }
.str-card--feature p{ color: rgba(247,241,232,.85); }
.str-card--feature .sc-num{ opacity: .18; }
.str-card--feature:hover .sc-num{ color: var(--cream); opacity: .5; }
.str-card--feature .sc-badge{
  background: rgba(255,255,255,.2);
  color: var(--cream);
}
.str-card--feature .sc-list li{
  background: rgba(255,255,255,.18);
  color: var(--cream);
}
.str-card--feature::before{
  background: linear-gradient(135deg, transparent 60%, rgba(255,229,180,.2) 100%);
}

/* ================= PRODUCTS ================= */
.pr-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.pr-card{
  background: var(--cream-lt);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.pr-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(58,42,30,.12);
}
.pr-card--lead{ grid-column: span 6; display:grid; grid-template-columns: 1fr 1fr; }
.pr-card--lead .pr-img{ height: 100%; }
.pr-card--lead .pr-body{ padding: 48px; display:flex; flex-direction: column; justify-content: center; }
.pr-card--lead h3{ font-size: 32px; }
.pr-card:not(.pr-card--lead){ grid-column: span 2; }

.pr-img{
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.pr-img img{ width:100%; height:100%; object-fit: cover; transition: transform .8s var(--ease); }
.pr-card:hover .pr-img img{ transform: scale(1.05); }
.pr-img::after{
  content:''; position:absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(58,42,30,.15));
}

.pr-body{
  padding: 24px 24px 26px;
}
.pr-tag{
  display:inline-flex; align-items:center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--apricot-dk);
  padding: 4px 10px;
  background: rgba(232,155,106,.14);
  border-radius: 999px;
  margin-bottom: 12px;
}
.pr-card h3{
  font-family: var(--display); font-weight: 700;
  font-size: 21px; color: var(--coffee);
  line-height: 1.4;
  margin-bottom: 10px;
}
.pr-card p{
  font-size: 14px;
  line-height: 1.85;
  color: var(--coffee-mid);
}
.pr-card .pr-chips{
  display:flex; flex-wrap:wrap; gap: 6px;
  margin-top: 16px;
}
.pr-chips li{
  font-size: 11.5px;
  padding: 3px 10px;
  background: rgba(107,155,196,.15);
  color: var(--blue-dk);
  border-radius: 999px;
  font-weight: 500;
  list-style: none;
}

/* ================= MESSAGE (社長) ================= */
.msg{
  background: var(--coffee);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.msg::before{
  content: '“';
  position: absolute;
  top: -40px; left: 20px;
  font-family: var(--display);
  font-size: 400px;
  line-height: 1;
  color: rgba(247,241,232,.05);
  pointer-events: none;
}
.msg-grid{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
}
.msg-portrait{
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  position: relative;
}
.msg-portrait img{ width:100%; height:100%; object-fit: cover; }
.msg-portrait .pp-badge{
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--cream);
  color: var(--coffee);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.msg-portrait .pp-badge .role{
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; color: var(--coffee-mid);
  text-transform: uppercase;
}
.msg-portrait .pp-badge .name{
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin-top: 2px;
}
.msg-portrait .pp-badge .pp-x{
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--coffee-mid);
  text-decoration: none;
  transition: color .2s;
}
.msg-portrait .pp-badge .pp-x:hover{ color: var(--coffee); }
.msg-portrait .pp-badge .pp-x svg{ flex-shrink: 0; }

.msg-body .msg-eyebrow{
  display:inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--blue);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.msg-body h2{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.3;
  color: var(--cream);
  letter-spacing: -.01em;
}
.msg-body h2 em{ color: var(--apricot); font-style: normal; }
.msg-body .quote{
  margin-top: 28px;
  padding: 24px 28px;
  background: rgba(247,241,232,.08);
  border-left: 3px solid var(--apricot);
  border-radius: 4px 12px 12px 4px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.8;
  color: var(--cream);
  font-weight: 500;
  letter-spacing: .01em;
}
.msg-body p{
  font-size: 15.5px;
  line-height: 2.05;
  color: rgba(247,241,232,.78);
  margin-top: 20px;
}
@media (max-width: 640px){
  .msg-body p{ font-size: 13.5px; line-height: 1.9; margin-top: 14px; }
  .msg-body .quote{ font-size: 15.5px; line-height: 1.75; padding: 16px 20px; margin-top: 22px; }
  .msg{ padding: 48px 0 56px; }
  .msg::before{ font-size: 240px; top: -28px; left: 12px; }
  .msg-grid{ gap: 36px; }
}

/* ================= LOCATIONS ================= */
.loc-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.loc{
  padding: 32px 24px;
  background: var(--cream-lt);
  border-radius: 16px;
  border: 1px solid var(--rule);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.loc:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(58,42,30,.1);
  border-color: var(--blue);
}
.loc::before{
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.loc:hover::before{ transform: scaleX(1); }
.loc .loc-pin{
  width: 36px; height: 36px;
  background: rgba(107,155,196,.15);
  color: var(--blue-dk);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-size: 16px;
  margin-bottom: 16px;
}
.loc .loc-tag{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--blue-dk);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.loc h4{
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--coffee);
  line-height: 1.4;
}
.loc .loc-addr{
  font-size: 13px;
  color: var(--coffee-mid);
  margin-top: 12px;
  line-height: 1.85;
}
.loc .loc-meta{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--coffee-mid);
  letter-spacing: .06em;
}
.loc .loc-meta b{ color: var(--coffee); font-weight: 700; display: block; font-size: 13px; margin-bottom: 2px; }
.loc .loc-map{
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--apricot-dk);
  font-weight: 600;
  border-bottom: 1px solid rgba(199,122,75,.4);
  padding: 2px 0;
  width: fit-content;
  transition: color .2s, border-color .2s;
}
.loc .loc-map:hover{
  color: var(--coffee);
  border-bottom-color: var(--coffee);
}
.knt-map{
  margin-top: 6px;
  color: var(--apricot-dk) !important;
  font-weight: 600;
}

/* ================= HISTORY ================= */
.hist{
  position: relative;
  padding-top: 40px;
}
.hist::before{
  content:''; position: absolute;
  top: 100px; bottom: 40px; left: 50%;
  width: 2px; background: var(--rule);
  transform: translateX(-50%);
}
.hist-item{
  display:grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}
.hist-item:last-child{ margin-bottom: 0; }
.hist-dot{
  width: 20px; height: 20px;
  background: var(--apricot);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--rule);
  position: relative;
  z-index: 2;
}
.hist-yr{
  font-family: var(--display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--coffee);
}
.hist-yr em{ color: var(--blue-dk); font-style: normal; }
.hist-content{
  background: var(--cream-lt);
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hist-content:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(58,42,30,.08);
}
.hist-content h4{
  font-family: var(--display);
  font-weight: 700; font-size: 18px;
  color: var(--coffee);
  margin-bottom: 6px;
}
.hist-content p{
  font-size: 13.5px;
  color: var(--coffee-mid);
  line-height: 1.85;
}
.hist-item:nth-child(odd) .hist-yr{ text-align: right; }
.hist-item:nth-child(even) .hist-yr{ grid-column: 3; text-align: left; }
.hist-item:nth-child(even) .hist-content{ grid-column: 1; }
.hist-item:nth-child(even) .hist-dot{ grid-column: 2; }

/* ================= KNT — Thailand factory ================= */
.knt-section{ position: relative; }
.knt-head{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}
.knt-title{
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.25;
  color: var(--coffee);
  letter-spacing: -.005em;
  margin: 0 0 24px;
}
.knt-title-sub{
  display: block;
  font-size: .58em;
  font-weight: 600;
  color: var(--apricot-dk);
  margin-top: 8px;
  letter-spacing: 0;
}
.knt-lead{
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--coffee-mid);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.knt-lead b{ color: var(--coffee); font-weight: 700; }
.knt-values{
  border-left: 3px solid var(--apricot);
  padding: 4px 0 4px 18px;
  background: rgba(232,155,106,.06);
  padding-right: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-radius: 0 4px 4px 0;
}
.knt-values-label{
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--apricot-dk);
  font-weight: 600;
  margin-bottom: 6px;
}
.knt-values-text{
  font-size: 14px;
  line-height: 1.85;
  color: var(--coffee);
  margin: 0;
  font-weight: 500;
}
.knt-head-photo{
  position: relative;
}
.knt-head-photo img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--rule);
  box-shadow: 0 18px 44px rgba(58,42,30,.14);
}
.knt-photo-tag{
  position: absolute;
  left: -10px; bottom: -10px;
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--coffee-mid);
  padding: 6px 10px;
  font-weight: 600;
}

/* Specs strip */
.knt-specs{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid rgba(58,42,30,.16);
  border-bottom: 1px solid rgba(58,42,30,.16);
  margin-bottom: 64px;
}
.knt-spec{
  padding: 22px 18px;
  border-right: 1px solid rgba(58,42,30,.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.knt-spec:last-child{ border-right: none; }
.knt-spec-label{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--coffee-soft);
  font-weight: 600;
  text-transform: uppercase;
}
.knt-spec-value{
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--coffee);
}

/* Two factories */
.knt-factories{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.knt-factory{
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.knt-factory-photo{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.knt-factory-body{
  padding: 28px 28px 32px;
}
.knt-factory-tag{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--apricot-dk);
  font-weight: 600;
  margin-bottom: 10px;
}
.knt-factory-name{
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: var(--coffee);
  margin: 0 0 10px;
}
.knt-factory-addr{
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: var(--coffee-mid);
  margin-bottom: 22px;
}
.knt-cap-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.knt-cap{ display:flex; flex-direction:column; gap:2px; }
.knt-cap-num{
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  color: var(--apricot-dk);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.knt-cap-unit{
  font-size: 11.5px;
  color: var(--coffee-mid);
  letter-spacing: .02em;
}
.knt-factory-contact{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.knt-factory-contact a{
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--coffee);
  border-bottom: 1px dotted rgba(58,42,30,.3);
  padding: 2px 0;
  width: fit-content;
}
.knt-factory-contact a:hover{ color: var(--apricot-dk); }

/* DX block */
.knt-dx{
  background: linear-gradient(135deg, rgba(232,155,106,.08), rgba(199,122,75,.04));
  border: 1px solid rgba(232,155,106,.25);
  border-radius: 6px;
  padding: 36px 40px 38px;
  margin-bottom: 36px;
}
.knt-dx-label{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--apricot-dk);
  font-weight: 600;
  margin-bottom: 14px;
}
.knt-dx-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--coffee);
  margin: 0 0 18px;
}
.knt-dx-title em{
  font-style: normal;
  color: var(--apricot-dk);
}
.knt-dx-body{
  font-size: 14.5px;
  line-height: 2;
  color: var(--coffee-mid);
  margin: 0;
  text-wrap: pretty;
  max-width: 780px;
}
.knt-dx-body b{ color: var(--coffee); font-weight: 700; }

.knt-link{ text-align: center; margin-top: 12px; }

/* Mobile */
@media (max-width: 1080px){
  .knt-head{ grid-template-columns: 1fr; gap: 36px; }
  .knt-specs{ grid-template-columns: repeat(3, 1fr); }
  .knt-spec{ border-bottom: 1px solid rgba(58,42,30,.1); }
  .knt-spec:nth-child(3){ border-right: none; }
  .knt-spec:nth-last-child(-n+3){ border-bottom: none; }
  .knt-factories{ grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px){
  .knt-specs{ grid-template-columns: 1fr 1fr; }
  /* Override 3-column rules from the 1080px media query with selectors of equal
     specificity (:nth-child) so 2-column borders draw correctly. */
  .knt-spec:nth-child(odd){ border-right: 1px solid rgba(58,42,30,.1); border-bottom: 1px solid rgba(58,42,30,.1); }
  .knt-spec:nth-child(even){ border-right: none; border-bottom: 1px solid rgba(58,42,30,.1); }
  .knt-spec:nth-last-child(-n+2){ border-bottom: none; }
  .knt-cap-grid{ grid-template-columns: 1fr 1fr; }
  .knt-dx{ padding: 26px 22px 28px; }
  .knt-factory-body{ padding: 22px 20px 26px; }
}

/* ================= NEWS ================= */
.news-list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-card{
  display:grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  background: var(--cream-lt);
  border-radius: 14px;
  border: 1px solid var(--rule);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.news-card:hover{
  transform: translateY(-2px);
  border-color: var(--apricot);
  box-shadow: 0 8px 20px rgba(58,42,30,.08);
}
.news-card .n-date{
  text-align: center;
  padding-right: 18px;
  border-right: 1px dashed var(--rule);
}
.news-card .n-date .d{
  font-family: var(--display); font-weight: 600;
  font-size: 28px; line-height: 1; color: var(--coffee);
}
.news-card .n-date .m{
  font-family: var(--mono); font-size: 10px;
  color: var(--coffee-mid); margin-top: 6px;
  letter-spacing: .12em;
}
.news-card .n-cat{
  display:inline-block;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(107,155,196,.15);
  color: var(--blue-dk);
  border-radius: 999px;
  margin-bottom: 10px;
}
.news-card .n-cat--imp{ background: rgba(232,155,106,.2); color: var(--apricot-dk); }
.news-card h5{
  font-family: var(--display); font-weight: 700;
  font-size: 16px; line-height: 1.5;
  color: var(--coffee);
}

/* ================= CTA close ================= */
.cta{
  padding: 0;
  background: var(--cream);
}
.cta-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 80px 0;
}
.cta-card{
  padding: 56px 44px;
  border-radius: 24px;
  transition: transform .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.cta-card:hover{ transform: translateY(-4px); }
.cta-card--warm{
  background: linear-gradient(135deg, var(--apricot) 0%, var(--apricot-dk) 100%);
  color: var(--cream);
}
.cta-card--blue{
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dk) 100%);
  color: var(--cream);
}
.cta-card::before{
  content:'';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
  pointer-events: none;
}
.cta-eyebrow{
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.cta-card h3{
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 14px;
}
.cta-card p{
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255,255,255,.9);
}
.cta-link{
  display:inline-flex; align-items:center; gap: 10px;
  margin-top: 28px;
  padding: 12px 22px;
  background: var(--cream);
  color: var(--coffee);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: transform .2s, background .2s;
}
.cta-link:hover{ transform: translateX(4px); }

/* ================= FOOTER ================= */
.foot{
  background: var(--coffee);
  color: var(--cream);
  padding: 72px 0 32px;
}
.foot-top{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247,241,232,.12);
}
.foot-logo{ height: 48px; margin-bottom: 18px; }
.foot-brand p{
  font-size: 13.5px;
  color: rgba(247,241,232,.7);
  line-height: 1.9;
  max-width: 380px;
}
.foot h4{
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(247,241,232,.55);
  margin-bottom: 16px;
}
.foot h4 a{
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.foot h4 a:hover{ color: var(--apricot); }
.foot ul{ list-style: none; }
.foot li a{
  font-size: 13.5px;
  color: var(--cream);
  line-height: 2.15;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.foot li a:hover{ opacity: 1; color: var(--apricot); }
.foot address{
  font-style: normal; font-size: 13px;
  color: rgba(247,241,232,.75);
  line-height: 1.9;
}
.foot address b{ color: var(--cream); font-family: var(--mono); }
.foot-bottom{
  margin-top: 28px;
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em;
  color: rgba(247,241,232,.5);
  flex-wrap: wrap; gap: 12px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1280px){
  .nav-links{ gap: 16px; }
  .nav-links a{ font-size: 12.5px; }
  .nav-logo span{ display: none; }
}
@media (max-width: 1080px){
  .hero-grid{ grid-template-columns: 1fr; gap: 48px; }
  .hero-visual{ max-width: 440px; margin: 0 auto; }
  .about-grid{ grid-template-columns: 1fr; gap: 80px; }
  .str-intro{ grid-template-columns: 1fr; }
  .str-cards{ grid-template-columns: 1fr 1fr; }
  .str-card:nth-child(n){ grid-column: span 1; grid-row: auto; min-height: 280px; }
  .pr-grid{ grid-template-columns: 1fr 1fr; }
  .pr-card--lead{ grid-column: span 2; grid-template-columns: 1fr; }
  .pr-card:not(.pr-card--lead){ grid-column: span 1; }
  .msg-grid{ grid-template-columns: 1fr; }
  .msg-portrait{ max-width: 320px; }
  .loc-grid{ grid-template-columns: 1fr 1fr; }
  /* ===== HISTORY · mobile ===== */
  .hist{ padding-top: 12px; }
  .hist::before{ left: 14px; top: 56px; bottom: 24px; }
  .hist-item{
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 0 18px;
    margin-bottom: 28px;
    align-items: start;
  }
  .hist-yr{
    grid-column: 2;
    grid-row: 1;
    text-align: left !important;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -.01em;
  }
  .hist-yr em{ font-size: inherit; }
  .hist-dot{
    grid-column: 1;
    grid-row: 1;
    width: 12px; height: 12px;
    margin-top: 10px;
    margin-left: 8px;
  }
  .hist-content{
    grid-column: 2;
    grid-row: 2;
    padding: 18px 20px;
  }
  .hist-content h4{ font-size: 16.5px; }
  .hist-content p{ font-size: 13px; line-height: 1.8; }
  .hist-item:nth-child(even) .hist-yr,
  .hist-item:nth-child(even) .hist-content{ grid-column: 2; }
  .hist-item:nth-child(even) .hist-dot{ grid-column: 1; }
  .news-list{ grid-template-columns: 1fr; }
  .cta-grid{ grid-template-columns: 1fr; }
  .foot-top{ grid-template-columns: 1fr 1fr; }
  .foot-brand{ grid-column: span 2; }
  .strip-grid{ grid-template-columns: 1fr 1fr; gap: 20px; }
  .strip-item:nth-child(2){ border-right: none; }
  .nav-links{ display: none; }
}
@media (max-width: 640px){
  .wrap{ padding: 0 22px; }
  .sec{ padding: 80px 0; }
  .str-cards{ grid-template-columns: 1fr; }
  .pr-grid{ grid-template-columns: 1fr; }
  .pr-card:not(.pr-card--lead), .pr-card--lead{ grid-column: auto; }
  .pr-card--lead{ grid-template-columns: 1fr; }
  .loc-grid{ grid-template-columns: 1fr; }
  .foot-top{ grid-template-columns: 1fr; }
  .foot-brand{ grid-column: auto; }
  .strip-grid{ grid-template-columns: 1fr 1fr; }

  /* Mobile: allow Japanese headings to wrap when overflowing.
     Base CSS sets overflow-wrap:normal on h1-h6 for prettier desktop wraps,
     but on narrow viewports we fall back to anywhere so headings can wrap. */
  h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }

  /* Stat strip: 4 numbers stack vertically so each digit has full width */
  .strip-grid{ grid-template-columns: 1fr; gap: 18px; }
  .strip-item{ border-right: none; border-bottom: 1px solid rgba(247,241,232,.15); padding: 14px 0; }
  .strip-item:last-child{ border-bottom: none; }
  /* Blue numbers in same horizontal slot so they line up vertically across rows */
  .strip-num em{ display: inline-block; min-width: 92px; text-align: center; }
  /* Unit (年/拠点/名/万) — fixed-width slot left-aligned so the wider 拠点 doesn't shift
     the centered flex group, keeping em centers aligned across all rows. */
  .strip-num .strip-unit{ display: inline-block; min-width: 56px; text-align: left; }
  /* Optional small annotation (e.g. 枠/月) — keep equal min-width.
     Rows without small/spacer get a pseudo spacer (via :has()) to equalize total width. */
  .strip-num small{ display: inline-block; min-width: 36px; text-align: left; }
  .strip-num .strip-spacer{ display: inline-block; min-width: 36px; visibility: hidden; }
  .strip-num:not(:has(small)):not(:has(.strip-spacer))::after{
    content: ''; display: inline-block; min-width: 36px;
  }

  /* CTA cards: tighten side padding so heading has more room */
  .cta-card{ padding: 40px 28px; }
  .cta-card h3{ font-size: 26px; }

  /* Generic safety: prevent any 1fr column from expanding due to min-content */
  .summary-grid, .news-mini, .news-cards, .cta-grid, .pr-grid, .loc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* reveal */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity: 1; transform: none; }

/* =========================================================
   DROPDOWN NAV (shared, injected by nav.js)
   ========================================================= */
.nav-list{
  list-style:none; display:flex; gap: 4px; align-items: center;
  margin:0; padding:0;
}
.nav-item{ position: relative; }
.nav-item .nav-link{
  display:inline-flex; align-items:center; gap: 6px;
  padding: 12px 14px;
  font-size: 13.5px; font-weight: 500;
  color: var(--coffee);
  white-space: nowrap;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-item .nav-link:hover{ background: rgba(232,155,106,.10); color: var(--apricot-dk); }
.nav-item.is-active > .nav-link{ color: var(--apricot-dk); }
.nav-item.is-active > .nav-link::before{
  content:''; position:absolute; left: 14px; right:14px; bottom: 4px;
  height: 2px; background: var(--apricot); border-radius: 2px;
}
.nav-caret{ opacity: .55; transition: transform .25s var(--ease), opacity .2s; }
.nav-item:hover .nav-caret{ transform: rotate(180deg); opacity: .95; }
.nav-item--bare .nav-caret{ display:none; }

.nav-dd{
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translate(-50%, -8px);
  min-width: 460px;
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 50px rgba(58,42,30,.18), 0 4px 14px rgba(58,42,30,.06);
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  z-index: 90;
}
.nav-item:hover > .nav-dd,
.nav-item:focus-within > .nav-dd{
  opacity: 1; transform: translate(-50%, 0); pointer-events: auto;
}
/* Hover bridge — closes the gap between link and dropdown */
.nav-item::after{
  content:''; position:absolute; left:0; right:0; top:100%; height: 14px;
}
.nav-dd-inner{
  display:grid; grid-template-columns: 1fr 1.2fr;
  gap: 8px;
}
.nav-dd-head{
  background: linear-gradient(135deg, rgba(107,155,196,.10), rgba(232,155,106,.08));
  padding: 18px 18px 16px;
  border-radius: 10px;
}
.nav-dd-eyebrow{
  font-family: var(--mono); font-size: 10px; letter-spacing:.18em;
  color: var(--blue-dk); margin-bottom: 6px;
}
.nav-dd-title{
  font-family: var(--display); font-size: 17px; font-weight: 700;
  color: var(--coffee); margin-bottom: 8px;
}
.nav-dd-desc{
  font-size: 12px; line-height: 1.7; color: var(--coffee-mid);
  margin-bottom: 14px;
}
.nav-dd-overview{
  display:inline-block; font-size: 11px; font-weight: 700;
  font-family: var(--mono); letter-spacing: .08em;
  color: var(--coffee); padding: 6px 10px;
  border: 1px solid var(--coffee); border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-dd-overview:hover{ background: var(--coffee); color: var(--cream); }
.nav-dd-list{ list-style: none; margin: 0; padding: 6px; display:flex; flex-direction:column; gap: 2px; }
.nav-dd-list a{
  display:block; padding: 10px 12px; border-radius: 8px;
  transition: background .2s;
}
.nav-dd-list a:hover{ background: rgba(232,155,106,.12); }
.nav-dd-list .is-current a{ background: rgba(107,155,196,.14); }
.nav-dd-l{ display:block; font-size: 13.5px; font-weight: 600; color: var(--coffee); }
.nav-dd-n{ display:block; font-size: 11.5px; color: var(--coffee-soft); margin-top: 2px; line-height: 1.5; }

/* Burger / mobile */
.nav-burger{
  display: none;
  background: transparent; border: 0; padding: 8px;
  width: 40px; height: 40px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span{
  display:block; width: 22px; height: 2px; background: var(--coffee); border-radius:2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-mobile{
  background: var(--cream-lt);
  border-top: 1px solid var(--rule);
  max-height: calc(100vh - 76px); overflow-y: auto;
}
.nav-mobile-inner{ padding: 18px 22px 28px; }
.nav-mobile details{ border-bottom: 1px dashed var(--rule); padding: 6px 0; }
.nav-mobile summary{
  font-family: var(--display); font-weight: 700; font-size: 16px;
  padding: 12px 4px; cursor: pointer;
  list-style: none;
  display:flex; justify-content:space-between; align-items:center;
}
.nav-mobile summary::after{ content:'+'; font-weight: 400; font-size: 22px; color: var(--coffee-soft); }
.nav-mobile details[open] summary::after{ content:'−'; }
.nav-mobile-section-link{
  color: var(--coffee); text-decoration: none;
  flex: 1; padding: 4px 0;
}
.nav-mobile-section-link:hover{ color: var(--apricot-dk); }
.nav-mobile ul{ list-style:none; padding: 4px 4px 12px; }
.nav-mobile li a{
  display:block; padding: 10px 12px; font-size: 14px;
  color: var(--coffee-mid);
}
.nav-mobile-bare{ margin-top: 18px; }
.nav-mobile-cta{
  margin-top: 8px;
  background: var(--coffee); color: var(--cream) !important;
  border-radius: 999px; text-align: center;
  padding: 14px 20px !important;
}

@media (max-width: 1080px){
  .nav-list{ display: none; }
  .nav-burger{ display: inline-flex; }
  /* Top nav on mobile: logo (left) + burger (right) only.
     お問い合わせ is reachable from inside the burger menu. */
  .nav-cta{ display: none; }
  .nav-inner{ gap: 12px; height: 68px; }
  .nav-burger{ margin-right: -8px; padding: 10px; }  /* slight visual breathing room from edge */
}
@media (min-width: 1081px){
  .nav-mobile{ display: none !important; }
}

/* =========================================================
   PAGE HERO + DETAIL/SUMMARY blocks
   ========================================================= */
.page-hero{
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(107,155,196,.10), transparent 55%),
    radial-gradient(ellipse at 90% 0%, rgba(232,155,106,.10), transparent 50%),
    var(--cream);
  border-bottom: 1px dashed var(--rule);
}
.ph-crumbs{
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--coffee-soft); margin-bottom: 22px;
}
.ph-crumbs a{ color: var(--coffee-mid); border-bottom: 1px dotted var(--coffee-soft); }
.page-hero h1{
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4.2vw, 60px); line-height: 1.28;
  color: var(--coffee); margin-bottom: 22px;
}
.page-hero h1 em{ font-style: normal; color: var(--blue-dk); }
.ph-lead{
  font-size: 16px; line-height: 2.05; color: var(--coffee-mid);
  max-width: 720px;
}

/* Summary card on top page (compact) */
.summary{
  padding: 92px 0;
}
.summary-head{
  display:grid; grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: end; margin-bottom: 36px;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule);
}
.summary-head h2{
  font-family: var(--display); font-size: clamp(26px, 3vw, 40px);
  font-weight: 700; line-height: 1.32; color: var(--coffee);
}
.summary-head h2 em{ font-style: normal; color: var(--blue-dk); }
.summary-head .sec-eyebrow{ margin: 0 0 6px; }
.summary-head .more-link{
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; color: var(--coffee);
  border: 1px solid var(--coffee); padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.summary-head .more-link:hover{ background: var(--coffee); color: var(--cream); }
.summary-body{
  display:grid; grid-template-columns: 1.9fr 1fr;
  gap: 56px; align-items: start;
}
.summary-img--portrait{
  max-width: 280px;
  margin-left: auto;
}
.summary-body p{
  font-size: 15.5px; line-height: 2.05; color: var(--coffee-mid);
}
.summary-body p + p{ margin-top: 14px; }
.summary-img{
  position: relative;
}
.summary-img img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--rule);
  box-shadow: 0 14px 40px rgba(58,42,30,.12);
}
.summary-img--portrait img{
  aspect-ratio: 3/4;
  object-position: center top;
}
.summary-img-tag{
  position:absolute; left: -10px; bottom: -10px;
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; color: var(--coffee);
  box-shadow: 0 6px 18px rgba(58,42,30,.10);
}

.summary--alt{ background: var(--cream-dk); }
.summary--paper{ background: var(--cream-lt); }

/* Mini list of sub-items shown on summary cards */
.summary-mini{
  list-style:none; padding:0; margin:18px 0 0;
  display:grid; grid-template-columns: 1fr 1fr; gap: 4px 22px;
}
.summary-mini li a{
  display:flex; align-items:center;
  gap: 0;
  padding: 10px 0; border-bottom: 1px dashed var(--rule);
  font-size: 13.5px; color: var(--coffee);
  transition: color .2s, padding .2s;
}
.summary-mini li a:hover{ color: var(--apricot-dk); padding-left: 6px; }
.summary-mini li a::after{
  content:'→'; font-family: var(--mono); color: var(--coffee-soft);
  margin-left: auto;
  padding-left: 12px;
  transition: transform .2s;
}
.summary-mini li a:hover::after{ transform: translateX(4px); color: var(--apricot-dk); }

/* Compact 4-up summary grid (strengths / products on top) */
.summary-grid{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.sg-card{
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  padding: 22px 20px 24px;
  border-radius: 4px;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sg-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px rgba(58,42,30,.10); }
.sg-card .sg-num{
  font-family: var(--mono); font-size: 11px; letter-spacing:.14em;
  color: var(--apricot-dk); margin-bottom: 10px;
}
.sg-card h4{
  font-family: var(--display); font-size: 16.5px;
  font-weight: 700; line-height: 1.45; color: var(--coffee);
  margin-bottom: 10px;
}
.sg-card h4 em{ font-style: normal; color: var(--blue-dk); }
.sg-card p{ font-size: 13px; line-height: 1.85; color: var(--coffee-mid); }
.sg-card .sg-arrow{
  display:inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--coffee); border-bottom: 1px solid var(--coffee);
  padding-bottom: 2px;
}
.sg-card a.sg-link{ position:absolute; inset:0; z-index: 2; }

/* Product summary cards with thumbnail (homepage WHAT WE MAKE) */
.summary--alt .sg-card{
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.summary--alt .sg-card .sg-thumb{
  display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  background: var(--cream-dk);
  transition: transform .5s var(--ease);
}
.summary--alt .sg-card:hover .sg-thumb{ transform: scale(1.05); }
.summary--alt .sg-card .sg-content{
  padding: 22px 20px 24px;
  display: flex; flex-direction: column; flex: 1;
}
.summary--alt .sg-card .sg-arrow{ margin-top: auto; align-self: flex-start; }

/* Compact summary band: news preview row */
.news-mini{
  display:flex; flex-direction:column; gap: 0;
  border-top: 1px solid var(--rule);
}
.news-mini a{
  display:grid; grid-template-columns: 130px 90px 1fr auto;
  gap: 18px; align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--rule);
  color: var(--coffee);
  transition: background .2s, padding .2s;
}
.news-mini a:hover{ background: rgba(232,155,106,.06); padding-left: 12px; }
.news-mini .nm-date{ font-family: var(--mono); font-size: 12px; letter-spacing:.06em; color: var(--coffee-mid); }
.news-mini .nm-cat{
  font-size: 10.5px; font-weight: 700; padding: 4px 10px;
  background: var(--cream-dk); color: var(--coffee-mid);
  border-radius: 999px; text-align:center; letter-spacing:.04em;
}
.news-mini .nm-cat--imp{ background: var(--apricot); color: #fff; }
.news-mini .nm-title{ font-size: 14.5px; font-weight: 500; }
.news-mini .nm-arr{ font-family: var(--mono); color: var(--coffee-soft); }

/* Locations summary mini map (top page) */
.loc-mini{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-top: 18px;
}
.loc-mini-card{
  background: var(--cream-lt); border: 1px solid var(--rule);
  padding: 18px 18px 16px; border-radius: 4px;
}
.loc-mini-card .lmc-pin{
  display:inline-block;
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  background: var(--coffee); color: var(--cream);
  padding: 3px 8px; border-radius: 3px; letter-spacing:.08em;
  margin-bottom: 10px;
}
.loc-mini-card h5{
  font-family: var(--display); font-size: 14px; font-weight: 700;
  color: var(--coffee); margin-bottom: 6px;
}
.loc-mini-card p{ font-size: 12px; color: var(--coffee-mid); line-height: 1.7; }

/* Detail-page extra blocks */
.detail-block{ padding: 88px 0; }
.detail-block + .detail-block{ border-top: 1px dashed var(--rule); }
.db-head{
  display:grid; grid-template-columns: 1fr 2fr; gap: 48px;
  margin-bottom: 40px;
}
.db-head .sec-eyebrow{ margin-bottom: 14px; }
.db-head h2{
  font-family: var(--display); font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; line-height: 1.32; color: var(--coffee);
}
.db-head h2 em{ font-style: normal; color: var(--blue-dk); }
.db-head p{ font-size: 15px; line-height: 2.0; color: var(--coffee-mid); }

.db-prose{ max-width: 720px; }
.db-prose p{ font-size: 15.5px; line-height: 2.1; color: var(--coffee-mid); margin-bottom: 18px; }
.db-prose h3{
  font-family: var(--display); font-size: 22px; font-weight: 700;
  color: var(--coffee); margin: 36px 0 14px;
}
.db-prose h3 em{ font-style: normal; color: var(--apricot-dk); }
.db-prose ul{ margin: 12px 0 18px 22px; }
.db-prose li{ font-size: 14.5px; line-height: 2.05; color: var(--coffee-mid); }

.db-image-stack{
  display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0;
}
.db-image-stack img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--rule);
}

/* Product detail card (full) */
.product-deep{
  display:grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: start;
  padding: 24px 0;
}
.product-deep + .product-deep{ border-top: 1px dashed var(--rule); margin-top: 60px; padding-top: 60px; }
.product-deep .pd-img img{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 4px; border: 1px solid var(--rule);
  box-shadow: 0 14px 40px rgba(58,42,30,.12);
}
.product-deep .pd-num{
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--apricot-dk); margin-bottom: 10px;
}
.product-deep h3{
  font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700; line-height: 1.3; color: var(--coffee);
  margin-bottom: 18px;
}
.product-deep h3 em{ font-style: normal; color: var(--blue-dk); }
.product-deep p{ font-size: 14.5px; line-height: 2.0; color: var(--coffee-mid); margin-bottom: 14px; }
.product-deep .pd-spec{
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule);
  display:grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.product-deep .pd-spec dt{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  color: var(--coffee-soft); margin-bottom: 2px;
}
.product-deep .pd-spec dd{ font-size: 13px; color: var(--coffee); line-height: 1.7; }

@media (max-width: 1080px){
  .summary-body{ grid-template-columns: 1fr; gap: 32px; }
  .summary-grid{ grid-template-columns: 1fr 1fr; }
  .loc-mini{ grid-template-columns: 1fr 1fr; }
  .db-head{ grid-template-columns: 1fr; gap: 18px; }
  .product-deep{ grid-template-columns: 1fr; gap: 30px; }
  .summary-mini{ grid-template-columns: 1fr; }
  .news-mini a{ grid-template-columns: 90px 80px 1fr auto; gap: 12px; }
  .summary-head{ grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .summary-head .more-link{ justify-self: start; }
}
@media (max-width: 640px){
  .summary-grid{ grid-template-columns: 1fr; }
  .loc-mini{ grid-template-columns: 1fr; }
  .news-mini a{ grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .news-mini .nm-arr{ display:none; }
  .product-deep .pd-spec{ grid-template-columns: 1fr; }
}

/* ===== News Cards (news.html) ===== */
.news-cards{ display:grid; gap: 24px; margin-top: 8px; }
.news-card{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 24px;
  background: var(--cream-lt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.news-card.no-image{ grid-template-columns: 1fr; }
.news-card:hover{ transform: translateY(-2px); box-shadow: 0 14px 32px rgba(58,42,30,.08); }
.nc-thumb{
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 4px; background: var(--cream-dk);
}
.nc-meta{
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--coffee-mid);
}
.nc-cat{
  font-size: 10.5px; font-weight: 700; padding: 3px 10px;
  background: var(--cream-dk); color: var(--coffee-mid);
  border-radius: 999px; letter-spacing: .04em;
}
.nc-cat--imp{ background: var(--apricot); color: #fff; }
.nc-title{
  font-family: var(--display); font-size: 20px; font-weight: 700;
  color: var(--coffee); line-height: 1.45; margin: 0 0 12px;
}
.nc-body{
  font-size: 14.5px; line-height: 1.95; color: var(--coffee-mid); margin: 0;
}
.nc-body p{ margin: 0 0 10px; }
.nc-body p:last-child{ margin-bottom: 0; }
.nc-body a{ color: var(--apricot-dk); border-bottom: 1px solid var(--apricot); }
.nc-link{
  display: inline-block; margin-top: 14px; font-family: var(--mono);
  font-size: 12px; color: var(--apricot-dk); border-bottom: 1px solid var(--apricot);
  padding-bottom: 1px;
}
@media (max-width: 720px){
  .news-card{ grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .nc-thumb{ aspect-ratio: 16/9; }
  .nc-title{ font-size: 18px; }
}

/* Recruit content links (rendered from markdown-lite) */
#recruit-content a{
  color: var(--apricot-dk); border-bottom: 1px solid var(--apricot);
}
