/* =========================================================
   郡山運送株式会社 — デモサイト スタイル
   参考画像（01〜16）のレイアウト・配色・余白・階層を再現。
   写真とロゴは仮素材（assets/*.svg）。差し替え手順は README.md 参照。
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
  --navy:        #0c2340;
  --navy-deep:   #081a2e;
  --navy-soft:   #14375e;
  --ink:         #16283d;
  --ink-soft:    #47586c;
  --green:       #6baf72;
  --green-dark:  #5a9c62;
  --green-line:  #5e9e68;
  --green-bright:#7cc083;
  --paper:       #f4f3ec;
  --warm:        #edece3;
  --white:       #ffffff;
  --line:        rgba(22,40,61,.14);
  --line-light:  rgba(255,255,255,.20);
  --radius:      3px;
  --shadow-card: 0 14px 36px -16px rgba(12,35,64,.28);
  --shadow-soft: 0 6px 20px -10px rgba(12,35,64,.20);
  --font-sans:  "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --font-serif: "Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --container:  1180px;
  --header-h:   72px;
  --ease:       cubic-bezier(.16,.7,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 12px)}
body{
  font-family:var(--font-sans);
  color:var(--ink);
  background:var(--paper);
  line-height:1.8;
  font-size:16px;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
sub{font-size:.7em}
em{font-style:normal}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--navy);color:#fff;padding:10px 16px;border-radius:0 0 var(--radius) 0;
}
.skip-link:focus{left:0}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px}

/* ---------- Typography helpers ---------- */
.h2{
  font-size:clamp(1.9rem,1.1rem + 3.4vw,3.15rem);
  font-weight:900;
  line-height:1.34;
  letter-spacing:.01em;
  color:var(--ink);
}
.h2 em{color:var(--green-line)}
.h2--light{color:var(--white)}
.h2--light em{color:var(--green-bright)}
.h2--serif{font-family:var(--font-serif);font-weight:700;letter-spacing:.02em}

.eyebrow{
  display:inline-block;
  font-size:.74rem;
  letter-spacing:.32em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--green-line);
  margin-bottom:1.4rem;
}
.eyebrow--light{color:var(--green-bright)}
.eyebrow__ja{
  margin-left:.6em;letter-spacing:.12em;color:var(--ink-soft);font-weight:500;
  text-transform:none;font-size:.86rem;
}
.eyebrow--light .eyebrow__ja{color:rgba(255,255,255,.6)}

.lead{
  font-size:clamp(.98rem,.9rem + .4vw,1.15rem);
  color:var(--ink-soft);
  line-height:1.9;
}
.lead--light{color:rgba(255,255,255,.82)}

/* デスクトップだけ改行、狭い画面では自然に折り返す */
.br-pc{display:inline}
@media (max-width:640px){ .br-pc{display:none} }

/* 特定セクションの見出しは、句点や語の途中で折り返さないよう
   フォントサイズを少し抑え、PC幅では1行に固定する */
.solution .h2,
.flow .h2,
.contact__title{ font-size:clamp(1.55rem, 1rem + 1.6vw, 2.35rem); line-height:1.4; }
@media (min-width:768px){
  .solution .h2,
  .flow .h2,
  .contact__title{ white-space:nowrap; }
}

.rule{display:block;width:64px;height:3px;background:var(--green-line);margin:1.6rem 0}
.rule--sm{width:34px;height:2px;margin:0 0 .9rem;background:var(--green-bright)}
.rule--center{margin-left:auto;margin-right:auto}
.rule--center-left{margin:1.6rem 0}

.note{
  display:flex;align-items:center;gap:.6em;
  font-size:.92rem;color:var(--ink-soft);font-weight:500;
}
.note svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--green-line);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.note--check svg{stroke:var(--green-line)}

/* ---------- Sections ---------- */
.section{padding:clamp(64px,4vw + 40px,110px) 0;position:relative}
.section--paper{background:var(--paper)}
.section--warm{background:var(--warm)}
.section--dark{background:var(--navy);color:#fff}
main section{scroll-margin-top:calc(var(--header-h) + 12px)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.7em;
  padding:.95em 1.7em;
  font-size:.95rem;font-weight:700;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease);
  line-height:1.2;
}
.btn__arrow{transition:transform .3s var(--ease)}
.btn:hover .btn__arrow{transform:translateX(4px)}
.btn--sm{padding:.7em 1.3em;font-size:.85rem}
.btn--lg{padding:1.05em 2.1em;font-size:1rem}
.btn--block{width:100%;justify-content:center}

.btn--primary{background:var(--green);color:#fff}
.btn--primary:hover{background:var(--green-dark)}
.btn--ghost{border-color:var(--green-line);color:var(--green-line);background:transparent}
.btn--ghost:hover{background:var(--green-line);color:#fff}
.btn--ghost-light{border-color:rgba(255,255,255,.7);color:#fff;background:transparent}
.btn--ghost-light:hover{background:#fff;color:var(--navy)}

.btn--text{
  padding:0;border:none;border-radius:0;color:var(--green-line);
  border-bottom:2px solid var(--green-line);
  padding-bottom:.35em;background:none;
}
.btn--text:hover{color:var(--green-dark)}
.btn--text-light{color:var(--white);border-bottom-color:rgba(255,255,255,.6)}
.btn--text-light:hover{color:var(--green-bright)}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header{
  position:fixed;top:0;left:0;width:100%;z-index:100;
  height:var(--header-h);
  display:flex;align-items:center;
  transition:background .3s var(--ease),box-shadow .3s var(--ease);
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px}
.brand__logo{height:26px;width:auto}
.brand__logo--light{display:block}
.brand__logo--dark{display:none}
.brand__since{
  font-size:.66rem;letter-spacing:.22em;font-weight:700;color:rgba(255,255,255,.7);
  padding-left:14px;border-left:1px solid rgba(255,255,255,.35);
}

.site-header.is-scrolled{background:var(--white);box-shadow:0 1px 0 var(--line),0 6px 24px -18px rgba(12,35,64,.4)}
.site-header.is-scrolled .brand__logo--light{display:none}
.site-header.is-scrolled .brand__logo--dark{display:block}
.site-header.is-scrolled .brand__since{color:var(--ink-soft);border-left-color:var(--line)}
.site-header.is-scrolled .site-nav__list a{color:var(--ink)}

.site-nav{display:flex;align-items:center;gap:34px}
.site-nav__list{display:flex;gap:30px}
.site-nav__list a{
  position:relative;font-size:.92rem;font-weight:700;color:#fff;padding:6px 0;
  transition:color .2s var(--ease);
}
.site-nav__list a::after{
  content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;
  background:var(--green-bright);transform:scaleX(0);transform-origin:left;
  transition:transform .3s var(--ease);
}
.site-nav__list a:hover::after{transform:scaleX(1)}

.nav-toggle{display:none;width:44px;height:44px;flex-direction:column;justify-content:center;gap:5px;align-items:center}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;transition:transform .3s var(--ease),opacity .2s}
.site-header.is-scrolled .nav-toggle span{background:var(--ink)}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
[data-reveal]{
  opacity:0;transform:translateY(30px);
  transition:opacity .8s var(--ease),transform .8s var(--ease);
  transition-delay:var(--reveal-delay,0s);
}
[data-reveal].is-in{opacity:1;transform:none}

/* =========================================================
   01 HERO
   ========================================================= */
.hero{
  position:relative;min-height:100svh;
  display:flex;align-items:center;
  color:#fff;overflow:hidden;
  padding-top:var(--header-h);
}
.hero__bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
  z-index:0;will-change:transform;
  filter:brightness(.82) saturate(.92);
}
.hero__overlay{
  position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(100deg,rgba(8,17,32,.9) 0%,rgba(8,17,32,.62) 42%,rgba(8,17,32,.32) 100%),
    linear-gradient(0deg,rgba(8,17,32,.55) 0%,transparent 42%);
}
.hero__inner{position:relative;z-index:2;padding-top:6vh;padding-bottom:12vh}
.hero__eyebrow{
  font-size:.78rem;letter-spacing:.34em;font-weight:700;color:rgba(255,255,255,.75);
  margin-bottom:1.6rem;
}
.hero__title{
  font-size:clamp(1.78rem,0.9rem + 3.9vw,4.6rem);
  font-weight:900;line-height:1.34;letter-spacing:.01em;
  text-shadow:0 2px 30px rgba(0,0,0,.3);
}
.hero__lead{
  margin-top:1.6rem;font-size:clamp(1rem,.85rem + .8vw,1.4rem);
  font-weight:500;color:rgba(255,255,255,.9);
}
.hero__actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:2.6rem}

.hero__scroll{
  position:absolute;left:50%;bottom:26px;transform:translateX(-50%);z-index:2;
  width:26px;height:44px;border:1.5px solid rgba(255,255,255,.5);border-radius:14px;
}
.hero__scroll span{
  position:absolute;left:50%;top:8px;width:3px;height:8px;border-radius:2px;
  background:#fff;transform:translateX(-50%);
  animation:scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot{0%{opacity:0;transform:translate(-50%,0)}40%{opacity:1}80%{opacity:0;transform:translate(-50%,14px)}100%{opacity:0}}

/* =========================================================
   02 課題共感
   ========================================================= */
.problems__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,80px);align-items:center}
.problems__body .h2{margin-top:.2rem}
.problem-list{margin:.6rem 0 2.2rem}
.problem-list li{
  display:flex;align-items:center;gap:20px;
  padding:20px 4px;border-bottom:1px solid var(--line);
  font-size:clamp(1rem,.9rem + .5vw,1.2rem);font-weight:500;
}
.problem-list li:first-child{border-top:1px solid var(--line)}
.problem-list .ico{width:38px;height:38px;flex:none;fill:none;stroke:var(--navy-soft);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.problems__close{
  font-size:clamp(1.1rem,.9rem + 1vw,1.5rem);font-weight:700;color:var(--ink);
  margin-bottom:1.4rem;
}
.problems__close em{color:var(--green-line)}
.problems__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.problems__media img{width:100%;height:100%;min-height:420px;object-fit:cover}

/* =========================================================
   03 SOLUTION OVERVIEW
   ========================================================= */
.solution{overflow:hidden}
.solution__inner{position:relative;z-index:2;text-align:center;max-width:900px}
.solution__side{position:absolute;top:0;bottom:0;z-index:1;opacity:.5;pointer-events:none}
.solution__side img{height:100%;width:100%;object-fit:cover}
.solution__side--left{left:0;width:20%;clip-path:polygon(0 0,100% 0,82% 100%,0 100%)}
.solution__side--right{right:0;width:22%;display:flex;flex-direction:column;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%)}
.solution__side--right img{height:50%}

.flow3{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
  margin:3rem auto 0;max-width:760px;position:relative;
}
.flow3::before{
  content:"";position:absolute;left:16%;right:16%;top:34px;height:2px;
  background:rgba(124,192,131,.4);z-index:0;
}
.flow3__node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px}
.flow3__icon{
  width:68px;height:68px;border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;
}
.flow3__icon svg{width:32px;height:32px;fill:none;stroke:var(--navy);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.flow3__label{font-weight:700;font-size:1.05rem}
.flow3__photo{
  width:130px;height:130px;border-radius:50%;overflow:hidden;
  border:2px solid rgba(124,192,131,.55);
}
.flow3__photo img{width:100%;height:100%;object-fit:cover}
.solution__dest{
  font-size:clamp(1.6rem,1rem + 2.4vw,2.4rem);font-weight:900;margin:2.4rem 0 1.8rem;
  position:relative;
}
.solution__dest::before{
  content:"";display:block;width:2px;height:34px;background:rgba(124,192,131,.5);
  margin:0 auto .8rem;
}

/* =========================================================
   04 TRUST HISTORY
   ========================================================= */
.history{overflow:hidden}
.history__watermark{
  position:absolute;right:4%;top:2%;font-family:var(--font-serif);
  font-size:clamp(12rem,30vw,30rem);line-height:1;font-weight:700;
  color:rgba(22,40,61,.05);z-index:0;pointer-events:none;
}
.history__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,72px);align-items:center;position:relative;z-index:1}
.history__lead{font-size:clamp(1.05rem,.9rem + .7vw,1.35rem);color:var(--ink-soft);margin:1.6rem 0 2.4rem;font-weight:500}
.stats{display:grid;grid-template-columns:repeat(4,auto);gap:clamp(14px,3vw,34px);margin-bottom:2.6rem}
.stats__item{padding-left:18px;border-left:1px solid var(--line)}
.stats__item:first-child{border-left:none;padding-left:0}
.stats__item dt{font-size:.8rem;color:var(--ink-soft);font-weight:700;letter-spacing:.04em;margin-bottom:.3rem}
.stats__item dd{display:flex;align-items:baseline;gap:.15em}
.stats__num{font-family:var(--font-serif);font-size:clamp(1.9rem,1.2rem + 2.4vw,2.9rem);font-weight:700;color:var(--green-line);line-height:1}
.stats__unit{font-size:.9rem;font-weight:700;color:var(--ink)}
.history__media{position:relative;min-height:440px}
.history__photo{position:absolute;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.history__photo img{width:100%;height:100%;object-fit:cover}
.history__photo--now{right:0;top:0;width:74%;aspect-ratio:4/3;z-index:2}
.history__photo--past{left:0;bottom:0;width:62%;aspect-ratio:4/3;z-index:1;filter:grayscale(1) contrast(1.02)}

/* =========================================================
   05 FOUR BUSINESSES
   ========================================================= */
.businesses__head{margin-bottom:2.6rem}
.biz-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2vw,26px)}
.biz-card{
  position:relative;border-radius:var(--radius);overflow:hidden;
  min-height:290px;display:flex;align-items:flex-end;
  transition:transform .4s var(--ease);
}
.biz-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.biz-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,20,40,.15) 20%,rgba(8,20,40,.85) 100%)}
.biz-card__body{position:relative;z-index:1;padding:28px 30px;color:#fff}
.biz-card__body h3{font-size:clamp(1.25rem,1rem + 1.2vw,1.7rem);font-weight:900;margin-bottom:.5rem}
.biz-card__body p{font-size:.95rem;color:rgba(255,255,255,.85);line-height:1.7}
.biz-card:hover{transform:translateY(-6px)}
.biz-card:hover>img{transform:scale(1.06)}
.businesses__foot{margin-top:2.6rem;text-align:right}

/* =========================================================
   06 MODAL SHIFT
   ========================================================= */
.modal-shift{color:#fff;overflow:hidden;padding:clamp(90px,10vw,150px) 0}
.modal-shift__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.modal-shift__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(8,20,40,.9) 0%,rgba(8,20,40,.68) 55%,rgba(8,20,40,.42) 100%)}
.modal-shift__bg{filter:brightness(.88)}
.modal-shift__inner{position:relative;z-index:2;max-width:640px}
.modal-shift__kicker{margin-bottom:1rem}
.modal-shift .lead--light{margin-top:1.2rem}
.ms-line{display:flex;align-items:center;gap:14px;margin:2rem 0}
.ms-line span{width:12px;height:12px;border-radius:50%;background:var(--green-bright)}
.ms-line::before{content:"";position:absolute}
.ms-line em{color:var(--green-bright);font-size:1.2rem;margin-left:-4px}
.ms-features{display:flex;flex-wrap:wrap;gap:26px;margin:1.8rem 0 2.6rem}
.ms-features li{display:flex;align-items:center;gap:.6em;font-weight:700;font-size:.98rem}
.ms-features svg{width:26px;height:26px;fill:none;stroke:var(--green-bright);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* =========================================================
   07 SPECIAL TRANSPORT
   ========================================================= */
.special__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,72px);align-items:center}
.special__media{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.special__photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);aspect-ratio:1/1}
.special__photo img{width:100%;height:100%;object-fit:cover}
.special__photo--big{grid-column:1 / -1;aspect-ratio:16/7}
.spec-list{margin:1.4rem 0 0;max-width:340px}
.spec-list li{
  display:flex;align-items:center;gap:16px;padding:16px 2px;
  border-bottom:1px solid var(--line);font-weight:700;font-size:1.05rem;
}
.spec-list li:first-child{border-top:1px solid var(--line)}
.spec-list svg{width:30px;height:30px;flex:none;fill:none;stroke:var(--green-line);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.special__note{font-size:1.05rem;font-weight:700;color:var(--ink);margin:1.8rem 0 1.6rem;line-height:1.7}

/* =========================================================
   08 WAREHOUSE
   ========================================================= */
.warehouse__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,72px);align-items:center}
.warehouse__lead{margin:1.4rem 0 2rem;color:var(--ink-soft);font-weight:500}
.wh-locations{margin-bottom:1.8rem}
.wh-locations li{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.wh-locations .pin{width:30px;height:30px;flex:none;fill:none;stroke:var(--green-line);stroke-width:1.6;stroke-linejoin:round}
.wh-locations strong{font-size:1.2rem;font-weight:900}
.wh-locations span{color:var(--ink-soft);font-size:.9rem;padding-left:6px;border-left:1px solid var(--line);margin-left:4px}
.wh-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:2rem}
.wh-tags li{
  padding:.5em 1.1em;border:1px solid var(--green-line);color:var(--green-line);
  border-radius:var(--radius);font-size:.86rem;font-weight:700;
}
.warehouse__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.warehouse__media img{width:100%;height:100%;min-height:460px;object-fit:cover}

/* =========================================================
   09 CASE STUDY
   ========================================================= */
.case__corner{
  position:absolute;right:0;top:0;background:var(--navy);color:#fff;
  font-size:.8rem;letter-spacing:.06em;padding:12px 26px;font-weight:700;z-index:2;
}
.case__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(30px,5vw,64px);align-items:center;margin-bottom:2.4rem}
.case-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:1.8rem}
.case-steps li{position:relative;padding-right:12px}
.case-steps li:not(:last-child)::after{
  content:"";position:absolute;right:0;top:26px;width:8px;height:8px;
  border-top:2px solid var(--line);border-right:2px solid var(--line);transform:rotate(45deg);
}
.case-steps__no{font-family:var(--font-serif);font-size:1.7rem;font-weight:700;color:var(--green-line);display:block}
.case-steps__k{font-size:.78rem;font-weight:700;color:var(--ink-soft);border-left:2px solid var(--green-line);padding-left:6px}
.case-steps p{font-size:.92rem;font-weight:700;margin:.5rem 0 .8rem}
.case-steps__ico{width:44px;height:44px;fill:none;stroke:var(--navy-soft);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.case-steps__map{width:56px;height:56px}
.case__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.case__media img{width:100%;height:100%;min-height:380px;object-fit:cover}
.case__foot{
  display:grid;grid-template-columns:1.4fr .9fr;gap:24px;align-items:center;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 30px;
}
.case__callout{display:flex;gap:16px;align-items:flex-start}
.case__callout svg{width:34px;height:34px;flex:none;fill:none;stroke:var(--navy-soft);stroke-width:1.4;stroke-linejoin:round}
.case__callout strong{display:block;font-size:1.05rem;margin-bottom:.3rem}
.case__callout p{font-size:.9rem;color:var(--ink-soft);line-height:1.7}
.case__foot .btn{justify-self:end}

/* =========================================================
   10 WHY CHOOSE US
   ========================================================= */
.why__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(32px,5vw,72px);align-items:center}
.why-list{margin:2rem 0 2rem}
.why-list li{display:flex;align-items:center;gap:22px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.why-list li:first-child{border-top:1px solid rgba(255,255,255,.14)}
.why-list__no{font-family:var(--font-serif);font-size:1.4rem;font-weight:700;color:var(--green-bright);min-width:2ch}
.why-list__txt{font-size:clamp(1.05rem,.95rem + .5vw,1.35rem);font-weight:700}
.why__media{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.why__photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);aspect-ratio:4/3}
.why__photo img{width:100%;height:100%;object-fit:cover}
.why__photo--wide{grid-column:1 / -1;aspect-ratio:16/7}

/* =========================================================
   11 SAFETY QUALITY
   ========================================================= */
.safety__head{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,5vw,64px);align-items:center;margin-bottom:2.4rem}
.safety__hero{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.safety__hero img{width:100%;height:100%;min-height:340px;object-fit:cover}
.safety-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:2rem}
.safety-pillars li{
  display:flex;align-items:center;justify-content:center;gap:14px;
  padding:22px 10px;font-size:clamp(1rem,.9rem + .5vw,1.25rem);font-weight:900;text-align:center;
}
.safety-pillars li:not(:last-child){border-right:1px solid var(--line)}
.safety-pillars svg{width:30px;height:30px;flex:none;fill:none;stroke:var(--green-line);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.safety-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:2rem}
.safety-photos figure{border-radius:var(--radius);overflow:hidden;aspect-ratio:16/10;box-shadow:var(--shadow-soft)}
.safety-photos img{width:100%;height:100%;object-fit:cover}
.safety__foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}

/* =========================================================
   12 NETWORK
   ========================================================= */
.network{padding:0;background:var(--paper)}
.network__grid{display:grid;grid-template-columns:1fr 1fr;min-height:640px}
.network__left{display:flex;align-items:center;padding:clamp(48px,6vw,90px) 0}
.network__body{max-width:520px;margin-left:auto;padding:0 clamp(24px,4vw,64px)}
.network__lead{margin:1.4rem 0 2rem;color:var(--ink-soft);font-weight:500}
.network__map{width:100%;max-width:460px;margin-bottom:2rem}
.network__right{position:relative;background:var(--navy)}
.network__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.network__badge{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  background:var(--navy);color:#fff;padding:34px 22px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:8px;
  border-left:4px solid var(--green);
}
.network__badge-num{font-family:var(--font-serif);font-size:3rem;font-weight:700;line-height:1;color:var(--green-bright)}
.network__badge-label{writing-mode:vertical-rl;letter-spacing:.3em;font-size:.7rem;font-weight:700;text-transform:uppercase}

/* =========================================================
   13 CONSULTATION FLOW
   ========================================================= */
.flow__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,5vw,64px);align-items:center}
.flow-steps{display:flex;justify-content:space-between;gap:8px;margin:2rem 0 1.6rem;position:relative}
.flow-steps li{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}
.flow-steps li:not(:last-child)::after{
  content:"";position:absolute;top:50px;left:60%;width:80%;height:2px;background:rgba(94,158,104,.4);
}
.flow-steps__no{font-family:var(--font-serif);font-size:1.3rem;font-weight:700;color:var(--green-line);margin-bottom:.5rem}
.flow-steps__ico{
  width:56px;height:56px;border-radius:50%;border:2px solid var(--green-line);
  display:flex;align-items:center;justify-content:center;background:var(--paper);position:relative;z-index:1;
}
.flow-steps__ico svg{width:26px;height:26px;fill:none;stroke:var(--green-line);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.flow-steps__label{font-size:.82rem;font-weight:700;margin-top:.7rem;line-height:1.5}
.flow__actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:1.6rem}
.flow__tel{display:flex;align-items:center;gap:.5em;font-weight:900;font-size:1.35rem;color:var(--ink)}
.flow__tel svg{width:24px;height:24px;fill:none;stroke:var(--green-line);stroke-width:1.6;stroke-linejoin:round}
.flow__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}
.flow__media img{width:100%;height:100%;min-height:440px;object-fit:cover}

/* =========================================================
   14 FAQ
   ========================================================= */
.faq{background:var(--navy-deep)}
.faq__inner{max-width:900px}
.accordion{margin:2rem 0 2.4rem;display:flex;flex-direction:column;gap:14px}
.accordion__item{background:var(--white);border-radius:var(--radius);overflow:hidden}
.accordion__q{
  width:100%;display:flex;align-items:center;gap:16px;
  padding:22px 26px;text-align:left;font-weight:700;font-size:clamp(1rem,.9rem + .5vw,1.2rem);color:var(--ink);
}
.accordion__mark{font-family:var(--font-serif);color:var(--green-line);font-size:1.2rem;font-weight:700}
.accordion__text{flex:1}
.accordion__toggle{position:relative;width:18px;height:18px;flex:none}
.accordion__toggle::before,.accordion__toggle::after{
  content:"";position:absolute;background:var(--green-line);border-radius:2px;transition:transform .3s var(--ease),opacity .3s var(--ease)
}
.accordion__toggle::before{left:0;top:8px;width:18px;height:2px}
.accordion__toggle::after{left:8px;top:0;width:2px;height:18px}
.accordion__item.is-open .accordion__toggle::after{transform:rotate(90deg);opacity:0}
.accordion__a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.accordion__a p{padding:0 26px 24px 58px;color:var(--ink-soft);font-size:.95rem;line-height:1.9}
.accordion__item.is-open{background:#f0f1f3}

/* =========================================================
   15 RECRUITMENT
   ========================================================= */
.recruit__grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(30px,5vw,72px);align-items:center}
.recruit__lead{font-size:clamp(1rem,.9rem + .6vw,1.25rem);color:var(--ink-soft);font-weight:500;margin-top:1.2rem}
.recruit__stat{display:flex;align-items:center;gap:14px;margin:1.4rem 0 1.8rem}
.recruit__stat svg{width:34px;height:34px;fill:none;stroke:var(--green-line);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.recruit__stat span{font-size:.9rem;font-weight:700;color:var(--ink-soft)}
.recruit__stat strong{font-size:1.1rem;font-weight:700;color:var(--ink)}
.recruit__stat strong span{font-family:var(--font-serif);font-size:2rem;color:var(--green-line)}
.recruit-roles{display:flex;flex-wrap:wrap;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:1.8rem}
.recruit-roles li{display:flex;align-items:center;gap:10px;padding:16px 22px;font-weight:700}
.recruit-roles li:not(:last-child){border-right:1px solid var(--line)}
.recruit-roles svg{width:24px;height:24px;fill:none;stroke:var(--green-line);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.recruit__actions{display:flex;flex-wrap:wrap;gap:14px}
.recruit__media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.recruit__media img{width:100%;height:100%;min-height:460px;object-fit:cover}

/* =========================================================
   16 CONTACT
   ========================================================= */
.contact{background:var(--navy);overflow:hidden;padding:clamp(72px,8vw,120px) 0}
.contact__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.85}
.contact__inner{position:relative;z-index:2;text-align:center;max-width:760px;margin:0 auto}
.contact__title{margin-bottom:0}
.contact__lead{margin:1.6rem auto 1.8rem}
.contact__tel{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:3rem}
.contact__tel a{display:flex;align-items:center;gap:.5em;color:#fff;font-size:1.7rem;font-weight:900;letter-spacing:.06em}
.contact__tel svg{width:24px;height:24px;fill:none;stroke:var(--green-bright);stroke-width:1.6;stroke-linejoin:round}
.contact__tel span{color:rgba(255,255,255,.7);font-size:.9rem}

.contact__grid{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(20px,3vw,36px);align-items:start;
}

/* --- フォーム（白カード） --- */
.contact-form{
  background:var(--white);color:var(--ink);
  border-radius:var(--radius);padding:clamp(22px,3vw,34px);
  box-shadow:var(--shadow-card);text-align:left;
}
.contact-form__title{font-size:1.2rem;font-weight:900;margin-bottom:.5rem}
.contact-form__note{color:var(--green-dark);font-size:.8rem;margin-bottom:20px;font-weight:700}
.contact-form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form label{display:block;font-size:.82rem;font-weight:700;color:var(--ink);margin-bottom:16px}
.contact-form .req{margin-left:.5em;color:#c8102e;font-size:.72rem;font-weight:700}
.contact-form__full{grid-column:1 / -1}
.contact-form input[type="text"],.contact-form input[type="tel"],.contact-form input[type="email"],.contact-form textarea{
  width:100%;margin-top:6px;padding:.7em .9em;border:1px solid var(--line);
  background:#fbfbf9;color:var(--ink);border-radius:var(--radius);font-family:inherit;font-size:.95rem;
}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--green);outline-offset:1px;border-color:var(--green)}
.contact-form textarea{resize:vertical}
.contact-form .btn{margin-top:6px}

.contact-form__types{border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px;margin-bottom:16px}
.contact-form__types legend{font-size:.82rem;font-weight:700;padding:0 6px}
.contact-form__types.is-invalid{border-color:#c8102e;background:#fdf3f3}
.contact-form__types.is-invalid legend{color:#c8102e}
.chk{display:flex;align-items:center;gap:8px;margin:8px 0 0;font-size:.9rem;font-weight:500;cursor:pointer}
.contact-form__types .chk{display:inline-flex;margin:6px 16px 2px 0}
.chk input{width:17px;height:17px;accent-color:var(--green);flex:none}
.chk--privacy{margin-top:4px;align-items:flex-start}
.chk--privacy a{color:var(--green-dark);text-decoration:underline}

/* --- アクセス（地図＋情報） --- */
.contact-access{display:flex;flex-direction:column;gap:18px}
.contact-access__map{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);background:#0c223f}
.contact-access__map iframe{display:block;width:100%;height:340px;border:0}
.contact-access__open{
  position:absolute;right:14px;top:14px;
  display:inline-flex;align-items:center;gap:.4em;
  background:var(--white);color:var(--ink);font-size:.8rem;font-weight:700;
  padding:.5em .9em;border-radius:var(--radius);box-shadow:var(--shadow-soft);
}
.contact-access__open:hover{background:var(--green);color:#fff}
.contact-access__info{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius);padding:20px 22px;
}
.contact-access__info>div{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.contact-access__info>div:last-child{border-bottom:none}
.contact-access__info dt{font-size:.72rem;letter-spacing:.08em;color:var(--green-bright);font-weight:700;margin-bottom:.3rem}
.contact-access__info dd{color:rgba(255,255,255,.9);font-size:.92rem;line-height:1.7}
.contact-access__info a{color:#fff;font-weight:700}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,.75);font-size:.9rem}
.site-footer__top{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;padding-top:64px;padding-bottom:40px}
.site-footer__logo{height:30px;margin-bottom:16px}
.site-footer__tagline{color:#fff;font-weight:700;margin-bottom:16px}
.site-footer__address,.site-footer__contact{line-height:1.9;margin-bottom:12px}
.site-footer__contact a,.site-footer__maplink{color:var(--green-bright)}
.site-footer__maplink{font-weight:700}
.site-footer__nav ul{columns:2;gap:24px}
.site-footer__nav a{display:block;padding:7px 0;transition:color .2s}
.site-footer__nav a:hover{color:#fff}
.site-footer__offices{border-top:1px solid rgba(255,255,255,.12);padding-top:32px;padding-bottom:32px;scroll-margin-top:calc(var(--header-h) + 12px)}
.site-footer__offices-title{font-size:.9rem;letter-spacing:.2em;color:#fff;font-weight:700;margin-bottom:18px}
.site-footer__offices ul{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 40px}
.site-footer__offices li{display:flex;flex-wrap:wrap;gap:4px 10px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:.84rem;line-height:1.6}
.site-footer__offices strong{color:#fff;min-width:9em;font-weight:700}
.site-footer__offices span{color:var(--green-bright)}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:22px;padding-bottom:32px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.8rem}
.site-footer__demo{color:rgba(255,255,255,.45)}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .why__grid,.safety__head{grid-template-columns:1fr}
  .why__media{max-width:560px}
}

@media (max-width:860px){
  :root{--header-h:64px}
  .site-nav{
    position:fixed;inset:var(--header-h) 0 auto 0;
    flex-direction:column;gap:0;align-items:stretch;
    background:var(--white);
    padding:12px 24px 28px;
    box-shadow:0 20px 40px -20px rgba(12,35,64,.4);
    transform:translateY(-120%);transition:transform .4s var(--ease);
    max-height:calc(100svh - var(--header-h));overflow-y:auto;
  }
  .site-nav.is-open{transform:translateY(0)}
  .site-nav__list{flex-direction:column;gap:0}
  .site-nav__list a{padding:16px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:1rem}
  .site-nav__list a::after{display:none}
  .site-nav__cta{margin-top:18px;justify-content:center}
  .nav-toggle{display:flex}
  .site-header:not(.is-scrolled) .nav-toggle span{background:#fff}

  .problems__grid,.special__grid,.warehouse__grid,.case__grid,.flow__grid,.recruit__grid,
  .history__grid,.network__grid,.case__foot,.site-footer__top{grid-template-columns:1fr}

  .special__grid{grid-template-columns:1fr}
  .special__media{order:2}
  .biz-grid{grid-template-columns:1fr}
  .history__media{min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}
  .history__photo{position:static;width:auto}
  .history__watermark{font-size:12rem}
  .flow3{grid-template-columns:1fr;max-width:280px;gap:34px}
  .flow3::before{display:none}
  .solution__side{display:none}
  .case-steps{grid-template-columns:1fr;gap:22px}
  .case-steps li:not(:last-child)::after{display:none}
  .case__foot{gap:20px;padding:24px}
  .case__foot .btn{justify-self:start}
  .case__corner{position:static;display:inline-block;margin-bottom:20px}
  .safety-pillars,.recruit-roles{grid-template-columns:1fr}
  .safety-pillars li:not(:last-child){border-right:none;border-bottom:1px solid var(--line)}
  .recruit-roles li:not(:last-child){border-right:none;border-bottom:1px solid var(--line)}
  .safety-photos{grid-template-columns:1fr}
  .flow-steps{flex-wrap:wrap;gap:24px 8px;justify-content:flex-start}
  .flow-steps li{flex:0 0 40%}
  .flow-steps li:not(:last-child)::after{display:none}
  .flow__media{clip-path:none}
  .network__body{margin:0;max-width:none}
  .network__right{min-height:360px}
  .network__grid{min-height:0}
  .network__badge{position:static;transform:none;flex-direction:row;justify-content:center;width:100%}
  .network__badge-label{writing-mode:horizontal-tb}
  .contact__grid{grid-template-columns:1fr}
  .contact-form__row{grid-template-columns:1fr}
  .contact-access__map iframe{height:300px}
  .site-footer__nav ul{columns:1}
  .site-footer__offices ul{grid-template-columns:1fr}
  .businesses__foot,.safety__foot{text-align:left}
}

@media (max-width:480px){
  .hero__actions .btn{width:100%;justify-content:center}
  .brand__since{display:none}
  .contact-form__types .chk{display:flex;margin:8px 0 0}
  .stats{grid-template-columns:1fr 1fr;gap:20px}
  .stats__item{padding-left:0;border-left:none}
  .btn{width:auto}
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  [data-reveal]{opacity:1 !important;transform:none !important}
  .hero__bg{transform:none !important}
}
