/* ==========================================================================
   LIFEHUB Corporate — main.css
   1) TOPデザイン v5（2026-11-05 確定）のCSS … そのまま移植
   2) WordPress化・下層ページの追加分 … 後半
   ========================================================================== */

:root{
  --ink:#1d2733;        /* 見出し・本文 */
  --steel:#5c6773;      /* 補足テキスト */
  --mute:#8d97a1;       /* 準備中などの控えめな表示 */
  --line:#d9dee4;       /* 罫線 */
  --mist:#eef1f4;       /* 面の背景 */
  --paper:#ffffff;
  --signal:#e8571f;     /* ロゴの六角形の色。線・印に限定して使う */
  --signal-btn:#c84714; /* ボタン背景（白文字とのコントラスト4.5:1以上） */
  --deep:#1b2530;       /* Business の帯 */
  --jp:'Zen Kaku Gothic New',system-ui,sans-serif;
  --en:'Archivo',var(--jp);
  --w-l:1200px;         /* 広い：Company / Products / Business */
  --w-m:960px;          /* 中：Movie / News */
  --gut:32px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--jp);color:var(--ink);background:var(--paper);font-size:16px;line-height:1.9;letter-spacing:.04em;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--signal);outline-offset:3px}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;padding:8px 16px}
.skip:focus{left:8px}
.wrap{width:min(var(--w-l),100% - var(--gut)*2);margin-inline:auto}
.wrap.m{width:min(var(--w-m),100% - var(--gut)*2)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- header ---------- */
.hd{position:absolute;inset:0 0 auto 0;z-index:10}
.hd::before{content:"";position:absolute;inset:0 0 -60px 0;background:linear-gradient(180deg,rgba(12,20,28,.42),rgba(12,20,28,0));pointer-events:none}
.hd .wrap{position:relative;display:flex;align-items:center;justify-content:space-between;height:88px}
.hd .logo img{width:150px;filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff)}
.gnav{display:flex;align-items:center;gap:40px}
.gnav a{font-family:var(--en);font-stretch:118%;font-weight:600;font-size:14px;letter-spacing:.06em;color:#fff;text-shadow:0 1px 8px rgba(10,18,26,.35)}
.gnav a:hover{color:#ffe1d3}
.gnav .btn-contact{font-family:var(--jp);font-stretch:normal;font-weight:700;font-size:13px;padding:10px 22px;border:1px solid rgba(255,255,255,.75);border-radius:2px;text-shadow:none;background:rgba(12,20,28,.12)}
.gnav .btn-contact:hover{background:#fff;color:var(--ink)}
.burger{display:none;position:relative;z-index:40;width:44px;height:44px;border:0;background:transparent;flex-direction:column;justify-content:center;align-items:center;gap:6px;cursor:pointer}
.burger span{display:block;width:24px;height:2px;background:#fff;transition:transform .25s,opacity .25s}
body.nav-open .burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.nav-open .burger span:nth-child(2){opacity:0}
body.nav-open .burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ---------- FV ---------- */
.fv{position:relative;height:min(860px,100vh);min-height:620px;overflow:hidden;color:#fff;background:#3a4a5a}
.fv > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 62%}
.fv::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(17,27,38,.62) 0%,rgba(17,27,38,.28) 38%,rgba(17,27,38,0) 62%),linear-gradient(0deg,rgba(17,27,38,.3),rgba(17,27,38,0) 28%)}
.fv .wrap{position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:flex-start;padding-top:min(210px,23vh)}
.fv h1{font-weight:900;font-size:clamp(44px,6.4vw,92px);line-height:1.22;letter-spacing:.06em}
.fv h1 span{display:block}
.fv p{margin-top:28px;font-size:18px;font-weight:500;letter-spacing:.08em;text-shadow:0 1px 12px rgba(10,20,30,.55)}
/* 光の演出：写真の上を斜め上へ流れ、消える */
.glow{position:absolute;z-index:2;left:-20%;bottom:-30%;width:70%;height:90%;pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(255,140,80,.9) 0%,rgba(232,87,31,.55) 32%,rgba(232,87,31,0) 68%);
  filter:blur(28px);mix-blend-mode:screen;opacity:0;transform:translate(0,0) rotate(-24deg);
  animation:sweep 2.8s .4s cubic-bezier(.45,0,.25,1) forwards}
@keyframes sweep{
  0%{opacity:0;transform:translate(0,0) rotate(-24deg)}
  30%{opacity:.15}
  70%{opacity:.1}
  100%{opacity:0;transform:translate(120%,-62%) rotate(-24deg)}
}
@media (prefers-reduced-motion:reduce){.glow{display:none}}

/* ---------- section heading ---------- */
.sh{display:flex;align-items:baseline;gap:20px;margin-bottom:48px}
.sh h2{font-family:var(--en);font-stretch:125%;font-weight:700;font-size:44px;letter-spacing:.02em;line-height:1}
.sh span{font-size:14px;font-weight:700;color:var(--steel)}
.textlink{display:inline-block;font-weight:700;font-size:14px;padding-bottom:4px;border-bottom:2px solid var(--signal)}
.textlink:hover{color:var(--signal-btn)}

/* ---------- MOVIE ---------- */
.movie{background:var(--mist);padding:88px 0 96px}
.movie .sh{margin-bottom:32px}
.mv-stage{position:relative;aspect-ratio:16/9;background:#0f161d;overflow:hidden}
.mv-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mv-poster{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#0f161d}
.mv-poster img{width:100%;height:100%;object-fit:cover;opacity:.9;transition:opacity .2s}
.mv-poster:hover img{opacity:1}
.mv-play{position:absolute;left:50%;top:50%;width:80px;height:80px;margin:-40px 0 0 -40px;border-radius:50%;background:var(--signal-btn);display:grid;place-items:center;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.mv-play::after{content:"";margin-left:6px;border-style:solid;border-width:13px 0 13px 21px;border-color:transparent transparent transparent #fff}
.mv-foot{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:18px}
.mv-tabs{display:flex;flex-wrap:wrap;gap:4px 28px}
.mv-tabs button{appearance:none;border:0;background:none;padding:6px 0;font-family:var(--en);font-stretch:118%;font-weight:700;font-size:14px;letter-spacing:.06em;color:var(--ink);cursor:pointer;display:flex;align-items:baseline;gap:8px;border-bottom:2px solid transparent}
.mv-tabs button[aria-pressed="true"]{border-bottom-color:var(--ink)}
.mv-tabs button[aria-disabled="true"]{cursor:default;color:var(--mute);font-weight:600}
.mv-tabs button small{font-family:var(--jp);font-stretch:normal;font-weight:500;font-size:11px;letter-spacing:.04em;color:var(--mute)}
.mv-note{font-size:12px;color:var(--steel)}
.mv-note a{border-bottom:1px solid currentColor}

/* ---------- COMPANY ---------- */
.company{padding:136px 0 128px}
.company .sh{margin-bottom:64px}
.company .grid{display:grid;grid-template-columns:1.1fr 1fr;gap:96px;align-items:start}
.verse{font-weight:700;font-size:30px;line-height:1.9;letter-spacing:.1em}
.verse p+p{margin-top:32px}
.company .body{padding-top:8px}
.company .body > p+p{margin-top:20px}
.ceo{display:grid;grid-template-columns:184px 1fr;gap:32px;align-items:center;margin-top:56px;padding-top:48px;border-top:1px solid var(--line)}
.ceo img{aspect-ratio:1/1;object-fit:cover}
.ceo .name{font-size:13px;color:var(--steel)}
.ceo .name b{display:block;font-size:20px;color:var(--ink);margin-top:2px;letter-spacing:.12em}
.ceo .links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}

/* ---------- PRODUCT ---------- */
.product{background:var(--mist);padding:112px 0 128px}
.product .lead{margin:-16px 0 56px;color:var(--ink)}
.plist{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.pi{background:var(--paper);padding:40px 30px 34px;display:flex;flex-direction:column}
.pi .ph{height:220px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:36px}
.pi .ph img{height:100%;width:auto;max-width:100%;object-fit:contain}
.pi .nm{font-family:var(--en);font-stretch:125%;font-weight:700;font-size:20px;letter-spacing:.08em;line-height:1.2}
.pi .nm small{display:block;font-family:var(--jp);font-stretch:normal;font-size:12px;font-weight:500;color:var(--steel);letter-spacing:.06em;margin-top:8px}
.pi .cp{margin-top:20px;font-weight:700;font-size:17px;line-height:1.65}
.pi .ds{margin-top:12px;font-size:14px;line-height:1.9;color:#4f5a66}
.pi .go{margin-top:auto;padding-top:28px;align-self:flex-start}
.pi .go span{display:inline-block;font-size:13px;font-weight:700;padding-bottom:3px;border-bottom:2px solid var(--signal)}
.pi .go:hover span{color:var(--signal-btn)}

/* 面の色が続くときは境目に線 */
.prods + .contact{border-top:1px solid var(--line)}

/* ---------- BUSINESS ---------- */
.business{background:var(--deep);color:#fff;padding:128px 0 136px}
.business .sh{margin-bottom:56px}
.business .sh span{color:#9fb0c1}
.business .grid{display:grid;grid-template-columns:1fr 1fr;gap:96px;align-items:start}
.business .catch{font-weight:900;font-size:34px;line-height:1.6;letter-spacing:.08em}
.business .lead{margin-top:24px;color:#d5dde5}
.strength{display:grid;grid-template-columns:1fr 1fr;gap:36px 40px;padding-top:8px}
.strength h3{font-size:19px;font-weight:700;display:flex;align-items:center;gap:12px;letter-spacing:.06em}
.strength h3::before{content:"";width:12px;height:13px;flex:none;background:var(--signal);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.strength p{margin-top:8px;font-size:14px;line-height:1.85;color:#c3ced9;padding-left:24px}
.cases{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:88px}
.case{background:#24303c}
.case img{aspect-ratio:16/9;object-fit:cover;width:100%}
.case div{padding:24px 28px 30px}
.case h4{font-family:var(--en);font-stretch:112%;font-weight:700;font-size:20px;letter-spacing:.03em}
.case p{margin-top:8px;font-size:14px;line-height:1.85;color:#d3dce5}
.case p b{color:#fff;font-weight:700}
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-width:280px;padding:20px 28px 20px 32px;background:var(--signal-btn);color:#fff;font-weight:700;font-size:16px;border-radius:2px;letter-spacing:.08em}
.btn::after{content:"";width:9px;height:9px;border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg);flex:none}
.btn:hover{background:#a93a0f}
.business .btn{margin-top:44px}

/* ---------- NEWS ---------- */
.news{padding:112px 0 120px}
.news .grid{display:grid;grid-template-columns:220px 1fr;gap:56px}
.news .sh{flex-direction:column;gap:12px;margin-bottom:0}
.nlist{border-top:1px solid var(--line)}
.nlist a{display:grid;grid-template-columns:112px 96px 1fr;align-items:center;gap:20px;padding:24px 4px;border-bottom:1px solid var(--line)}
.nlist a:hover .tt{color:var(--signal-btn)}
.nlist time{font-family:var(--en);font-stretch:112%;font-weight:500;font-size:14px;color:var(--steel)}
.nlist .cat{font-size:12px;font-weight:700;text-align:center;padding:3px 0;border:1px solid var(--ink)}
.nlist .tt{font-weight:500}
.news .more{margin-top:28px}

/* ---------- CONTACT ---------- */
.contact{background:var(--mist);padding:96px 0;position:relative;overflow:hidden;isolation:isolate}
.contact::before,.contact::after{content:"";position:absolute;inset:-60px;z-index:-1;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97' viewBox='0 0 84 97'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M42 2 80 24v44L42 90 4 68V24z'/%3E%3C/g%3E%3C/svg%3E");
  background-size:84px 97px}
.contact::before{opacity:.5;animation:hexA 16s linear infinite, hexFade 10s ease-in-out infinite}
.contact::after{opacity:.3;background-size:126px 145px;background-position:40px 20px;animation:hexB 24s linear infinite, hexFade 10s ease-in-out -5s infinite}
@keyframes hexA{to{transform:translate(84px,0)}}
@keyframes hexB{to{transform:translate(-126px,0)}}
@keyframes hexFade{0%,100%{opacity:.5}50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.contact::before,.contact::after{animation:none}}
.contact .wrap{display:flex;align-items:center;justify-content:space-between;gap:40px}
.contact h2{font-size:28px;font-weight:900;letter-spacing:.08em;line-height:1.6}
.contact p{margin-top:10px;color:var(--steel);font-size:15px}
.contact .btn{flex:none;min-width:320px;padding:26px 32px 26px 40px;font-size:18px}

/* ---------- footer ---------- */
.ft{padding:72px 0 40px;background:var(--paper)}
.ft .top{display:flex;justify-content:space-between;gap:40px;padding-bottom:48px;border-bottom:1px solid var(--line)}
.ft .co img{width:150px}
.ft .co p{margin-top:20px;font-size:13px;line-height:1.9;color:var(--steel)}
.ft .co p b{display:block;color:var(--ink);font-size:15px}
.ft nav{display:grid;grid-template-columns:repeat(2,auto);gap:12px 56px;align-content:start}
.ft nav a{font-size:14px;font-weight:500}
.ft nav a:hover{color:var(--signal-btn)}
.ft .bottom{display:flex;justify-content:space-between;align-items:center;padding-top:28px;font-size:12px;color:var(--steel)}
.ft .bottom nav{display:flex;gap:24px}
.ft .bottom a{font-size:12px}
.ft .bottom a:hover{color:var(--ink)}

/* ---------- TOPへ戻る ---------- */
.totop{position:fixed;right:24px;bottom:24px;z-index:20;width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:#fff;box-shadow:0 4px 14px rgba(20,32,44,.12);display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .3s,transform .3s,visibility .3s}
.totop::before{content:"";width:10px;height:10px;border-top:2px solid var(--ink);border-left:2px solid var(--ink);transform:translateY(3px) rotate(45deg)}
.totop.is-show{opacity:1;visibility:visible;transform:none}
.totop:hover{border-color:var(--ink)}
@media (prefers-reduced-motion:reduce){.totop{transition:none}}

/* ---------- タブレット ---------- */
@media (max-width:1100px){
  .plist{grid-template-columns:repeat(2,1fr)}
  .pi .ph{height:200px}
  .company .grid,.business .grid{gap:56px}
}

/* ---------- SP ---------- */
@media (max-width:900px){
  :root{--gut:20px}
  .gnav{position:fixed;inset:0;z-index:30;background:var(--deep);flex-direction:column;align-items:flex-start;justify-content:center;gap:28px;padding:0 32px;transform:translateX(100%);transition:transform .3s;visibility:hidden}
  .gnav a{font-size:24px;text-shadow:none}
  .gnav .btn-contact{font-size:15px;margin-top:12px;background:none}
  body.nav-open .gnav{transform:none;visibility:visible}
  body.nav-open{overflow:hidden}
  .burger{display:flex}
  .hd .wrap{height:68px}.hd .logo img{width:120px}
  .fv{height:auto;min-height:0;background:var(--deep);display:flex;flex-direction:column}
  .fv .wrap{order:-1;height:auto;padding:112px 0 32px}
  .fv > img{position:relative;height:auto;aspect-ratio:16/10;object-position:55% 70%}
  .fv::after{display:none}
  .glow{left:-40%;bottom:-20%;width:120%;height:60%}
  .fv h1{font-size:40px}
  .fv p{font-size:15px;margin-top:20px}
  .sh{margin-bottom:32px}.sh h2{font-size:32px}
  .movie{padding:56px 0 64px}
  .movie .sh{margin-bottom:24px}
  .mv-play{width:60px;height:60px;margin:-30px 0 0 -30px}
  .mv-play::after{border-width:11px 0 11px 17px;margin-left:4px}
  .mv-tabs{gap:2px 20px}
  .company{padding:72px 0 72px}
  .company .sh{margin-bottom:36px}
  .company .grid,.business .grid,.news .grid{grid-template-columns:1fr;gap:40px}
  .verse{font-size:22px}
  .verse p+p{margin-top:20px}
  .ceo{grid-template-columns:104px 1fr;gap:20px;margin-top:40px;padding-top:32px}
  .ceo .links{margin-top:14px;gap:10px}
  .product{padding:72px 0 80px}
  .product .lead{margin:-8px 0 36px;font-size:15px}
  .plist{grid-template-columns:1fr;gap:12px}
  .pi{display:grid;grid-template-columns:112px 1fr;grid-template-areas:"ph nm" "ph cp" "ds ds" "go go";column-gap:20px;padding:24px 20px}
  .pi .ph{grid-area:ph;height:112px;margin:0;align-items:center}
  .pi .nm{grid-area:nm;align-self:end;font-size:17px}
  .pi .cp{grid-area:cp;margin-top:8px;font-size:15px}
  .pi .ds{grid-area:ds;margin-top:16px}
  .pi .go{grid-area:go;padding-top:16px}
  .business{padding:72px 0 80px}
  .business .sh{margin-bottom:32px}
  .business .catch{font-size:24px}
  .business .btn{margin-top:32px}
  .strength{grid-template-columns:1fr;gap:24px}
  .cases{grid-template-columns:1fr;margin-top:48px;gap:16px}
  .news{padding:72px 0 80px}
  .nlist a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:18px 0}
  .nlist .cat{padding:2px 10px}
  .nlist .tt{flex-basis:100%}
  .contact{padding:64px 0}
  .contact .wrap{flex-direction:column;align-items:stretch;gap:28px}
  .contact h2{font-size:22px}
  .contact .btn{min-width:0;width:100%;padding:22px 28px;font-size:16px}
  .ft .top,.ft .bottom{flex-direction:column;align-items:flex-start}
  .ft .bottom{gap:12px}
  .totop{right:16px;bottom:16px;width:44px;height:44px}
}

/* ==========================================================================
   2) WordPress化・下層ページの追加分
   ========================================================================== */
:root{
  --hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97' viewBox='0 0 84 97'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M42 2 80 24v44L42 90 4 68V24z'/%3E%3C/g%3E%3C/svg%3E");
  --hexmark:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.nlist .cat.is-empty{border-color:transparent}
.nlist-empty{padding:28px 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--steel)}

/* ---------- 下層：ページ上部のバナー ---------- */
.ph-hero{position:relative;overflow:hidden;isolation:isolate;background:var(--deep);color:#fff}
.ph-hero.is-l{height:440px}
.ph-hero.is-s{height:320px}
.ph-hero > img{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover}
.ph-hero.has-img::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(100deg,rgba(17,27,38,.86) 0%,rgba(17,27,38,.62) 42%,rgba(17,27,38,.28) 100%)}
.ph-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--hex);background-size:84px 97px;background-position:right -20px top -30px;opacity:.07;
  -webkit-mask-image:linear-gradient(90deg,transparent 35%,#000 100%);mask-image:linear-gradient(90deg,transparent 35%,#000 100%)}
.ph-hero .wrap{height:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;padding-bottom:64px}
.ph-hero.is-s .wrap{padding-bottom:52px}
.ph-title{display:flex;flex-direction:column;gap:16px;line-height:1;font-weight:400}
.ph-title .en{font-family:var(--en);font-stretch:125%;font-weight:700;font-size:64px;letter-spacing:.02em}
.ph-hero.is-s .ph-title .en{font-size:52px}
.ph-title .ja{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:700;letter-spacing:.1em;line-height:1.5;color:#d5dde5}
.ph-title .ja::before{content:"";flex:none;width:12px;height:13px;background:var(--signal);clip-path:var(--hexmark)}
.ph-title .ja:only-child{font-size:32px;font-weight:900;color:#fff}
.ph-anchors{display:flex;flex-wrap:wrap;gap:12px 32px}
.ph-anchors a{font-size:14px;font-weight:700;letter-spacing:.06em;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.55)}
.ph-anchors a:hover{border-bottom-color:var(--signal);color:#ffe1d3}

/* パンくず */
.crumbs{border-bottom:1px solid var(--line);font-size:12px;color:var(--steel)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;padding:16px 0;line-height:1.7}
.crumbs li{display:flex;align-items:center;min-width:0}
.crumbs li+li::before{content:"›";margin:0 10px;color:var(--mute)}
.crumbs a:hover{color:var(--signal-btn)}
.crumbs li[aria-current]{color:var(--ink)}

/* セクション共通 */
.sec{padding:112px 0 120px}
.sec.is-mist{background:var(--mist)}
.sub-h{display:flex;align-items:baseline;gap:16px;margin:88px 0 28px;font-size:14px;font-weight:700;color:var(--steel);letter-spacing:.06em}
.sub-h span{font-family:var(--en);font-stretch:125%;font-size:28px;color:var(--ink);letter-spacing:.02em;line-height:1}
.btn-line{display:inline-flex;align-items:center;gap:20px;padding:16px 24px 16px 28px;border:1px solid var(--ink);font-weight:700;font-size:15px;letter-spacing:.06em;transition:background .2s,color .2s}
.btn-line::after{content:"";flex:none;width:13px;height:13px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M8 1h5v5M13 1 6 8M11 9v4H1V3h4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M8 1h5v5M13 1 6 8M11 9v4H1V3h4'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- COMPANY：代表挨拶 ---------- */
.msg-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:80px;align-items:start}
.msg-ph{position:sticky;top:40px}
.msg-ph img{width:100%;aspect-ratio:1600/1034;object-fit:cover}
.msg-body p{line-height:2.1}
.msg-body p+p{margin-top:1.3em}
.msg-body .msg-lead{margin-bottom:2.2em;font-size:22px;font-weight:700;line-height:1.85;letter-spacing:.08em}
.msg-body .msg-close{margin-top:2em;font-size:19px;font-weight:700;letter-spacing:.08em}
.msg-body .msg-sign{margin-top:3em;text-align:right;font-size:14px;color:var(--steel);line-height:1.8}
.msg-sign b{display:block;margin-top:4px;font-size:22px;color:var(--ink);letter-spacing:.16em}

/* ---------- COMPANY：会社概要 ---------- */
.about{background:var(--mist)}
.about-lead{font-size:20px;font-weight:700;line-height:1.9;letter-spacing:.06em}
.mission{margin-top:56px;padding:56px 64px;background:#fff;border-left:3px solid var(--signal)}
.mission-en{font-family:var(--en);font-stretch:118%;font-weight:700;font-size:13px;letter-spacing:.14em;color:var(--signal-btn)}
.mission h3{margin-top:10px;font-size:28px;font-weight:900;line-height:1.6;letter-spacing:.08em}
.mission h3+p{margin-top:20px;max-width:880px}
.info{background:#fff;border-top:2px solid var(--ink)}
.info > div{display:grid;grid-template-columns:220px 1fr;border-bottom:1px solid var(--line)}
.info dt{padding:26px 32px;background:#f7f8fa;font-weight:700;font-size:15px}
.info dd{padding:26px 32px;font-size:15px;line-height:1.9}
.addr b{display:block;font-weight:700}
.addr+.addr{margin-top:18px}
.dots{list-style:none}
.dots li{position:relative;padding-left:1.1em}
.dots li::before{content:"・";position:absolute;left:-.1em}

/* ---------- COMPANY：沿革 ---------- */
.timeline{list-style:none;max-width:960px}
.timeline li{position:relative;display:grid;grid-template-columns:140px 1fr;gap:56px;padding-bottom:56px}
.timeline li::before{content:"";position:absolute;left:168px;top:16px;bottom:-14px;width:1px;background:var(--line)}
.timeline li:last-child{padding-bottom:0}
.timeline li:last-child::before{display:none}
.timeline li::after{content:"";position:absolute;left:162px;top:8px;width:13px;height:14px;background:var(--signal);clip-path:var(--hexmark)}
.timeline .yr{font-family:var(--en);font-stretch:125%;font-weight:700;font-size:36px;line-height:1}
.timeline h3{font-size:19px;font-weight:700;line-height:1.6;letter-spacing:.04em}
.timeline h3+p{margin-top:8px;font-size:15px;color:#4f5a66}

/* ---------- PRODUCTS ---------- */
.prods{background:var(--mist)}
.prods-lead{max-width:900px;margin:-16px 0 64px}
.prod-list{display:grid;gap:24px}
.prod{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff;scroll-margin-top:24px}
.prod:nth-child(even) .prod-ph{order:2}
.prod-ph{display:flex;align-items:center;justify-content:center;min-height:460px;padding:56px}
.prod-ph img{width:auto;max-width:100%;max-height:340px;object-fit:contain}
.prod-tx{display:flex;flex-direction:column;justify-content:center;padding:64px}
.prod .no{font-family:var(--en);font-stretch:118%;font-weight:700;font-size:14px;letter-spacing:.12em;color:var(--signal-btn)}
.prod .nm{margin-top:10px;font-family:var(--en);font-stretch:125%;font-weight:700;font-size:36px;letter-spacing:.06em;line-height:1.2}
.prod .nm small{display:block;margin-top:12px;font-family:var(--jp);font-stretch:normal;font-size:14px;font-weight:500;letter-spacing:.06em;color:var(--steel)}
.prod .cp{margin-top:28px;font-size:24px;font-weight:700;line-height:1.6;letter-spacing:.06em}
.prod .ds{margin-top:16px;color:#4f5a66;line-height:2}
.prod .btn-line{align-self:flex-start;margin-top:36px}

/* ---------- BUSINESS ---------- */
.bz-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:96px;align-items:end}
.bz-catch{font-size:40px;font-weight:900;line-height:1.6;letter-spacing:.08em}
.bz-sub{margin-bottom:16px;font-size:20px;font-weight:700;line-height:1.8;letter-spacing:.04em}
.nh{display:flex;align-items:baseline;gap:16px;margin-bottom:48px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.nh .no{font-family:var(--en);font-stretch:125%;font-weight:700;font-size:40px;line-height:1;color:var(--signal-btn)}
.nh h2{font-size:28px;font-weight:900;line-height:1.4;letter-spacing:.08em}
.nh .en{margin-left:auto;font-family:var(--en);font-stretch:118%;font-weight:600;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--mute)}
.bz-strength{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bz-strength > div{padding:36px 28px 34px;background:#fff}
.bz-strength h3{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700;line-height:1.5;letter-spacing:.04em}
.bz-strength h3::before{content:"";flex:none;width:12px;height:13px;background:var(--signal);clip-path:var(--hexmark)}
.bz-strength p{margin-top:14px;font-size:14px;line-height:1.9;color:#4f5a66}
.bz-area{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bz-area li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:184px;padding:32px 16px 28px;border:1px solid var(--line);text-align:center;font-weight:700;font-size:15px;line-height:1.6;letter-spacing:.04em}
.bz-area .ico{width:48px;height:48px;color:var(--ink)}
.bz-two{display:grid;grid-template-columns:1fr 1fr;gap:64px}
.checks{list-style:none}
.checks li{position:relative;padding:18px 0 18px 36px;border-bottom:1px solid var(--line);font-weight:500}
.checks li:first-child{border-top:1px solid var(--line)}
.checks li::before{content:"";position:absolute;left:4px;top:27px;width:14px;height:7px;border-left:2px solid var(--signal);border-bottom:2px solid var(--signal);transform:rotate(-45deg)}
.bz-two .nh{flex-wrap:wrap;row-gap:6px;margin-bottom:28px;border-bottom:0;padding-bottom:0}
.bz-two .nh .en{flex-basis:100%;margin-left:0}
.bz-bg{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bz-bg li{display:flex;align-items:flex-start;gap:20px;padding:32px 28px;background:var(--mist)}
.bz-bg .ico{flex:none;width:44px;height:44px}
.bz-bg p{font-size:15px;line-height:1.9}
.bz-sec .sub-h{margin-top:80px}
.bz-sec .cases{margin-top:0}
.bz-sec .case{background:var(--mist)}
.bz-sec .case p{color:#4f5a66}
.bz-sec .case p b{color:var(--ink)}
.flow{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.flow li{display:flex;align-items:baseline;justify-content:center;gap:14px;padding:38px 28px;background:#fff;font-size:21px;font-weight:700;line-height:1.3;letter-spacing:.08em;
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%,22px 50%)}
.flow li:first-child{padding-right:36px;padding-left:20px;clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%)}
.flow .n{font-family:var(--en);font-stretch:118%;font-weight:700;font-size:24px;line-height:1;letter-spacing:.02em;color:var(--signal-btn)}
.flow-note{margin-top:32px;text-align:center;font-size:20px;font-weight:700;letter-spacing:.08em}
.bz-cta{position:relative;overflow:hidden;isolation:isolate;padding:104px 0;background:var(--deep);color:#fff}
.bz-cta::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--hex);background-size:84px 97px;opacity:.06}
.bz-cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:40px}
.bz-cta-pre{font-size:15px;font-weight:700;letter-spacing:.08em;color:#9fb0c1}
.bz-cta h2{margin-top:8px;font-size:32px;font-weight:900;line-height:1.5;letter-spacing:.06em}
.bz-cta-tag{margin-top:12px;color:#d5dde5}
.bz-cta .btn{flex:none;min-width:320px;padding:26px 32px 26px 40px;font-size:18px}

/* ---------- NEWS：一覧 ---------- */
.ncat{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:40px}
.ncat a{padding:7px 20px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:700}
.ncat a:hover{border-color:var(--ink)}
.ncat a[aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:56px}
.pager .page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding:0 8px;border:1px solid var(--line);font-family:var(--en);font-stretch:112%;font-weight:600;font-size:14px}
.pager a.page-numbers:hover{border-color:var(--ink)}
.pager .current{background:var(--ink);border-color:var(--ink);color:#fff}
.pager .dots{border-color:transparent}
.pager .prev::before,.pager .next::before{content:"";width:8px;height:8px;border-top:2px solid var(--ink);border-right:2px solid var(--ink)}
.pager .prev::before{transform:rotate(-135deg);margin-left:3px}
.pager .next::before{transform:rotate(45deg);margin-right:3px}

/* ---------- NEWS：詳細 ---------- */
.ns-head{padding-bottom:32px;border-bottom:1px solid var(--line)}
.ns-meta{display:flex;align-items:center;gap:16px}
.ns-meta time{font-family:var(--en);font-stretch:112%;font-weight:500;font-size:14px;color:var(--steel)}
.ns-meta .cat{padding:2px 14px;border:1px solid var(--ink);font-size:12px;font-weight:700}
.ns-meta .cat:hover{background:var(--ink);color:#fff}
.ns-head h1{margin-top:16px;font-size:30px;font-weight:700;line-height:1.6;letter-spacing:.04em}
.ns-thumb{margin-top:40px}
.ns-thumb img{width:100%}
.ns-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;margin-top:80px;padding-top:32px;border-top:1px solid var(--line)}
.ns-nav a{font-size:14px;font-weight:500;line-height:1.7}
.ns-nav .prev a,.ns-nav .next a{display:block}
.ns-nav .prev a:hover,.ns-nav .next a:hover{color:var(--signal-btn)}
.ns-nav small{display:block;margin-bottom:2px;font-size:12px;color:var(--steel)}
.ns-nav .next{text-align:right}
.ns-back{font-weight:700;padding-bottom:4px;border-bottom:2px solid var(--signal)}

/* お知らせ本文（ブロックエディタの内容） */
.entry{margin-top:40px;line-height:2}
.entry > * + *{margin-top:1.4em}
.entry h2{margin-top:2.4em;padding-bottom:12px;border-bottom:2px solid var(--ink);font-size:24px;font-weight:700;line-height:1.5}
.entry h3{margin-top:2em;padding-left:16px;border-left:3px solid var(--signal);font-size:20px;font-weight:700;line-height:1.5}
.entry h4{margin-top:1.8em;font-size:17px;font-weight:700}
.entry a{color:var(--signal-btn);text-decoration:underline;text-underline-offset:3px}
.entry ul,.entry ol{padding-left:1.6em}
.entry li+li{margin-top:.4em}
.entry strong,.entry b{font-weight:700}
.entry figure{margin-inline:0}
.entry figcaption{margin-top:8px;font-size:13px;color:var(--steel)}
.entry img{height:auto}
.entry .aligncenter{margin-inline:auto;text-align:center}
.entry blockquote{padding:20px 28px;background:var(--mist);border-left:3px solid var(--line)}
.entry table{width:100%;border-collapse:collapse;font-size:15px}
.entry th,.entry td{padding:12px 16px;border:1px solid var(--line);text-align:left;vertical-align:top}
.entry th{background:var(--mist);font-weight:700}
.entry .wp-block-button__link,.entry .wp-element-button{display:inline-block;padding:14px 28px;background:var(--signal-btn);color:#fff;border-radius:2px;font-weight:700;text-decoration:none}
.entry .wp-block-button__link:hover{background:#a93a0f}
.entry iframe{max-width:100%}
.entry .wp-block-embed__wrapper iframe{width:100%;height:auto;aspect-ratio:16/9}
.entry hr{border:0;border-top:1px solid var(--line)}

/* ---------- プライバシーポリシー・サイトポリシー ---------- */
.legal-body{font-size:15px;line-height:2}
.legal-body > p+p{margin-top:1em}
.legal-body h2{margin:56px 0 16px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:20px;font-weight:700;line-height:1.6;letter-spacing:.04em}
.legal-body > h2:first-child{margin-top:0}
.legal-body ol,.legal-body ul{margin-top:12px;padding-left:1.8em}
.legal-body ol ol{margin-top:8px}
.legal-body li+li{margin-top:8px}
.legal-body ol.count{list-style:none;counter-reset:cnt;padding-left:2.8em}
.legal-body ol.count > li{position:relative;counter-increment:cnt}
.legal-body ol.count > li::before{content:"(" counter(cnt) ")";position:absolute;left:-2.8em}
.legal-body h3{margin:28px 0 8px;font-size:16px;font-weight:700;line-height:1.7}
.legal-body b,.legal-body strong{font-weight:700}
.legal-body a{color:var(--signal-btn);text-decoration:underline;text-underline-offset:3px}
.legal-body .legal-updated{margin-top:56px;text-align:right;font-size:14px;color:var(--steel)}

/* ---------- 404 ---------- */
.nf-links{list-style:none;display:flex;flex-wrap:wrap;gap:12px 32px;margin:32px 0 48px}
.nf-links a{padding-bottom:3px;border-bottom:2px solid var(--signal);font-weight:700}
.nf-links a:hover{color:var(--signal-btn)}

/* ---------- 追加分：タブレット ---------- */
@media (max-width:1100px){
  .msg-grid{gap:56px}
  .prod-tx{padding:48px}
  .bz-intro-grid,.bz-two{gap:56px}
  .bz-strength{grid-template-columns:repeat(2,1fr)}
  .flow li{gap:10px;padding:32px 22px;font-size:18px}
  .flow li:first-child{padding:32px 30px 32px 16px}
  .flow .n{font-size:20px}
}

/* ---------- 追加分：SP ---------- */
@media (max-width:900px){
  .ph-hero.is-l,.ph-hero.is-s{height:auto}
  .ph-hero .wrap{flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:24px;min-height:300px;padding:112px 0 40px}
  .ph-hero.is-s .wrap{min-height:240px;padding-bottom:36px}
  .ph-title{gap:12px}
  .ph-title .en{font-size:40px}
  .ph-hero.is-s .ph-title .en{font-size:34px}
  .ph-title .ja:only-child{font-size:24px}
  .ph-anchors{gap:10px 24px}
  .sec{padding:64px 0 72px}
  .sub-h{margin:56px 0 20px}
  .sub-h span{font-size:22px}
  .msg-grid{grid-template-columns:1fr;gap:36px}
  .msg-ph{position:static}
  .msg-body p{line-height:2}
  .msg-body .msg-lead{font-size:20px;margin-bottom:1.6em}
  .msg-body .msg-close{font-size:17px}
  .msg-sign b{font-size:19px}
  .about-lead{font-size:17px}
  .about-lead br{display:none}
  .mission{margin-top:36px;padding:32px 24px}
  .mission h3{font-size:21px}
  .info > div{grid-template-columns:1fr}
  .info dt{padding:12px 16px}
  .info dd{padding:14px 16px 20px}
  .timeline li{grid-template-columns:1fr;gap:10px;padding:0 0 40px 36px}
  .timeline li::before{left:6px;top:16px}
  .timeline li::after{left:0;top:6px}
  .timeline .yr{font-size:28px}
  .prods-lead{margin:-8px 0 36px;font-size:15px}
  .prod-list{gap:12px}
  .prod{grid-template-columns:1fr}
  .prod:nth-child(even) .prod-ph{order:0}
  .prod-ph{min-height:0;height:260px;padding:32px 24px 8px}
  .prod-ph img{max-height:100%}
  .prod-tx{padding:24px 24px 32px}
  .prod .nm{font-size:26px}
  .prod .cp{margin-top:20px;font-size:19px}
  .prod .btn-line{align-self:stretch;justify-content:space-between;margin-top:24px}
  .bz-intro-grid{grid-template-columns:1fr;gap:28px}
  .bz-catch{font-size:26px}
  .bz-sub{font-size:17px}
  .nh{flex-wrap:wrap;gap:6px 12px;margin-bottom:28px;padding-bottom:16px}
  .nh .no{font-size:28px}
  .nh h2{font-size:21px}
  .nh .en{flex-basis:100%;margin-left:0}
  .bz-strength{grid-template-columns:1fr;gap:12px}
  .bz-strength > div{padding:24px 20px}
  .bz-area{grid-template-columns:repeat(2,1fr);gap:10px}
  .bz-area li{min-height:150px;padding:24px 10px 20px;font-size:14px}
  .bz-two{grid-template-columns:1fr;gap:56px}
  .bz-bg{grid-template-columns:1fr;gap:10px}
  .bz-bg li{padding:24px 20px}
  .bz-sec .sub-h{margin-top:56px}
  .flow{grid-template-columns:1fr;gap:4px}
  .flow li,.flow li:first-child{padding:20px 24px 30px;font-size:18px;clip-path:polygon(0 0,100% 0,100% calc(100% - 12px),50% 100%,0 calc(100% - 12px))}
  .flow .n{font-size:20px}
  .flow-note{margin-top:24px;font-size:17px}
  .bz-cta{padding:64px 0}
  .bz-cta .wrap{flex-direction:column;align-items:stretch;gap:28px}
  .bz-cta h2{font-size:22px}
  .bz-cta .btn{min-width:0;width:100%;padding:22px 28px;font-size:16px}
  .ncat{margin-bottom:28px}
  .ns-head h1{font-size:22px}
  .ns-nav{grid-template-columns:1fr 1fr;margin-top:56px}
  .ns-back{grid-column:1/-1;grid-row:2;justify-self:center}
  .entry h2{font-size:20px}
  .entry h3{font-size:18px}
  .legal-body h2{margin-top:44px;font-size:18px}
}

/* 日本語の見出しを文節で折り返す（対応ブラウザのみ） */
.mission h3,.timeline h3,.bz-catch,.bz-sub,.nh h2,.msg-lead,.about-lead,.bz-cta h2,.prod .cp,.ph-title .ja{word-break:auto-phrase}

/* ==========================================================================
   3) 動き：ヘッダー固定・ホバー・スクロールで表示（2026-11-06 追加）
   ※ prefers-reduced-motion（動きを減らす設定）のときは止める
   ========================================================================== */
:root{--ease:cubic-bezier(.2,.7,.2,1)}
html{scroll-padding-top:96px}

/* ---------- ヘッダー：少しスクロールしたら上に固定 ---------- */
.hd.is-fixed{position:fixed;animation:hd-in .45s var(--ease)}
.hd.is-fixed::before{display:none}
.hd.is-fixed::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(27,37,48,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 24px rgba(10,18,26,.18)}
.hd .wrap{transition:height .35s var(--ease)}
.hd .logo img{transition:width .35s var(--ease)}
.hd.is-fixed .wrap{height:72px}
.hd.is-fixed .logo img{width:130px}
@keyframes hd-in{from{transform:translateY(-100%)}to{transform:none}}
@media (max-width:900px){
  .hd.is-fixed .wrap{height:60px}
  .hd.is-fixed .logo img{width:104px}
  html{scroll-padding-top:76px}
}

/* ---------- グローバルナビ：下に線が伸び、文字色がゆっくり変わる ---------- */
.gnav a:not(.btn-contact){position:relative;padding:6px 0;transition:color .6s ease}
.gnav a:not(.btn-contact)::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--signal);transform:scaleX(0);transform-origin:right center;transition:transform .5s var(--ease)}
.gnav a:not(.btn-contact):hover{color:#ffc9b0}
.gnav a:not(.btn-contact):hover::after,.gnav a[aria-current="page"]::after{transform:scaleX(1);transform-origin:left center}

/* ヘッダーのお問い合わせ：白が左から満ちて文字色が反転 */
.gnav .btn-contact{position:relative;isolation:isolate;overflow:hidden;transition:color .45s ease,border-color .45s ease}
.gnav .btn-contact::before{content:"";position:absolute;inset:0;z-index:-1;background:#fff;transform:scaleX(0);transform-origin:right center;transition:transform .45s var(--ease)}
.gnav .btn-contact:hover{background:rgba(12,20,28,.12);color:var(--ink);border-color:#fff}
.gnav .btn-contact:hover::before{transform:scaleX(1);transform-origin:left center}

/* オレンジのボタン：濃い色が左から満ち、矢印が右へ */
.btn{position:relative;isolation:isolate;overflow:hidden}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;background:#9e360d;transform:scaleX(0);transform-origin:right center;transition:transform .5s var(--ease)}
.btn::after{transition:transform .4s var(--ease)}
.btn:hover{background:var(--signal-btn)}
.btn:hover::before{transform:scaleX(1);transform-origin:left center}
.btn:hover::after{transform:translateX(5px) rotate(45deg)}

/* 線のボタン（製品ページ）：紺が左から満ちる（背景のグラデーションで表現） */
.btn-line{background:linear-gradient(var(--ink),var(--ink)) left center/0% 100% no-repeat;transition:background-size .5s var(--ease),color .45s ease}
.btn-line:hover,.prod:hover .btn-line,.prod:focus-within .btn-line{background-color:transparent;background-size:100% 100%;color:#fff}

/* テキストリンク：オレンジの線の上を紺の線が伸びる */
.textlink,.ns-back,.nf-links a{border-bottom:0;padding-bottom:5px;
  background:linear-gradient(var(--ink),var(--ink)) left bottom/0 2px no-repeat,linear-gradient(var(--signal),var(--signal)) left bottom/100% 2px no-repeat;
  transition:background-size .5s var(--ease),color .4s ease}
.textlink:hover,.ns-back:hover,.nf-links a:hover{background-size:100% 2px,100% 2px;color:var(--ink)}

/* フッターのリンク：細い線が伸びる */
.ft nav a{background:linear-gradient(currentColor,currentColor) left bottom/0 1px no-repeat;padding-bottom:2px;transition:background-size .4s var(--ease),color .4s ease}
.ft nav a:hover{background-size:100% 1px}

/* ---------- 写真：マウスを乗せると少し大きく ---------- */
.zoom{display:block;overflow:hidden}
.case .zoom{padding:0}
.zoom img{transition:transform 1s var(--ease)}
.zoom:hover img,.case:hover .zoom img{transform:scale(1.06)}
.msg-ph.zoom:hover img{transform:scale(1.035)}
.mv-poster{overflow:hidden}
.mv-poster img{transition:opacity .3s,transform 1s var(--ease)}
.mv-poster:hover img{transform:scale(1.04)}
.mv-play{transition:transform .4s var(--ease)}
.mv-poster:hover .mv-play{transform:scale(1.1)}

/* ---------- 製品カード：カード全体がリンク。マウスを乗せると少し大きく、周りがふわっと光る ---------- */
.pi{position:relative;transition:transform .5s var(--ease),box-shadow .5s ease}
.pi .go::after{content:"";position:absolute;inset:0;z-index:1}
.pi .ph img{transition:transform .8s var(--ease)}
.pi .go span{transition:color .4s ease}
.pi:hover,.pi:focus-within{z-index:2;transform:translateY(-4px) scale(1.025);
  box-shadow:0 0 0 1px rgba(232,87,31,.35),0 0 28px 4px rgba(255,170,120,.45),0 22px 44px -16px rgba(20,32,44,.28)}
.pi:hover .ph img,.pi:focus-within .ph img{transform:scale(1.06)}
.pi:hover .go span{color:var(--signal-btn)}
.pi .go:focus-visible{outline:none}
.pi:focus-within{outline:2px solid var(--signal-btn);outline-offset:3px}
.prod{position:relative;transition:transform .5s var(--ease),box-shadow .5s ease}
.prod .btn-line::before{content:"";position:absolute;inset:0;z-index:1}
.prod .btn-line:focus-visible{outline:none}
.prod:focus-within{outline:2px solid var(--signal-btn);outline-offset:3px}
.prod .prod-ph img{transition:transform .8s var(--ease)}
.prod:hover,.prod:focus-within{z-index:2;transform:scale(1.012);
  box-shadow:0 0 0 1px rgba(232,87,31,.35),0 0 34px 6px rgba(255,170,120,.4),0 26px 52px -20px rgba(20,32,44,.28)}
.prod:hover .prod-ph img,.prod:focus-within .prod-ph img{transform:scale(1.05)}

/* ---------- そのほかのホバー ---------- */
.mv-tabs button:not([aria-disabled="true"]){transition:border-color .4s ease,color .4s ease}
.mv-tabs button:not([aria-disabled="true"]):not([aria-pressed="true"]):hover{border-bottom-color:var(--signal)}
.nlist a{position:relative;padding-right:44px;transition:background-color .45s ease,padding-left .45s var(--ease)}
.nlist a::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;border-top:2px solid var(--signal-btn);border-right:2px solid var(--signal-btn);transform:translate(-8px,-50%) rotate(45deg);opacity:0;transition:opacity .4s ease,transform .45s var(--ease)}
.nlist a:hover{background-color:var(--mist);padding-left:16px}
.nlist a:hover::after{opacity:1;transform:translate(0,-50%) rotate(45deg)}
.nlist .tt{transition:color .4s ease}
.ncat a{transition:background-color .35s ease,border-color .35s ease,color .35s ease}
.ncat a:not([aria-current]):hover{background:var(--mist);border-color:var(--ink)}
.bz-strength > div{position:relative;transition:box-shadow .45s ease}
.bz-strength > div::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--signal);transform:scaleX(0);transform-origin:left;transition:transform .55s var(--ease)}
.bz-strength > div:hover{box-shadow:0 14px 34px -18px rgba(20,32,44,.35)}
.bz-strength > div:hover::after{transform:scaleX(1)}
.bz-area li{transition:border-color .45s ease,background-color .45s ease}
.bz-area .ico{transition:transform .5s var(--ease),color .45s ease}
.bz-area li:hover{border-color:var(--ink);background:#fbfcfd}
.bz-area li:hover .ico{transform:translateY(-4px);color:var(--signal-btn)}
.ns-nav .prev a,.ns-nav .next a{transition:color .4s ease}
.crumbs a{transition:color .35s ease}
.totop{transition:opacity .3s,transform .3s,visibility .3s,border-color .3s,box-shadow .3s}
.totop:hover{box-shadow:0 8px 20px rgba(20,32,44,.2)}

/* ---------- スクロールで表示 ---------- */
.js .rv:not(.is-in){opacity:0;transform:translateY(28px)}
.js .rv-l:not(.is-in){opacity:0;transform:translateX(-44px)}
.js .rv-r:not(.is-in){opacity:0;transform:translateX(44px)}
.js .rv-f:not(.is-in){opacity:0}
.js .rv-stg:not(.is-in) > *{opacity:0;transform:translateY(24px)}
.js :is(.rv,.rv-l,.rv-r).is-in:not(.rv-done){transition:opacity 1s ease,transform 1s var(--ease)}
.js .rv-f.is-in:not(.rv-done){transition:opacity 1.4s ease}
.js .rv-stg.is-in:not(.rv-done) > *{transition:opacity .9s ease,transform .9s var(--ease)}
.js .rv-d1.is-in:not(.rv-done){transition-delay:.15s}
.js .rv-d2.is-in:not(.rv-done){transition-delay:.3s}
.js .rv-d3.is-in:not(.rv-done){transition-delay:.5s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(2){transition-delay:.09s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(3){transition-delay:.18s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(4){transition-delay:.27s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(5){transition-delay:.36s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(6){transition-delay:.45s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(7){transition-delay:.54s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(8){transition-delay:.63s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(9){transition-delay:.72s}
.js .rv-stg.is-in:not(.rv-done) > :nth-child(n+10){transition-delay:.8s}

/* ---------- 動きを減らす設定のとき ---------- */
@media (prefers-reduced-motion:reduce){
  .js .rv,.js .rv-l,.js .rv-r,.js .rv-f,.js .rv-stg > *{opacity:1!important;transform:none!important;transition:none!important}
  .hd.is-fixed{animation:none}
  .hd .wrap,.hd .logo img,.zoom img,.mv-poster img,.pi,.pi .ph img,.prod,.prod .prod-ph img,.nlist a,.nlist a::after{transition:none}
  .zoom:hover img,.case:hover .zoom img,.mv-poster:hover img,.pi:hover .ph img,.prod:hover .prod-ph img{transform:none}
  .pi:hover,.pi:focus-within,.prod:hover,.prod:focus-within{transform:none}
}
/* タッチ端末ではホバーの拡大をしない（タップ時に一瞬拡大して見えるのを防ぐ） */
@media (hover:none){
  .pi:hover,.prod:hover{transform:none;box-shadow:none}
  .zoom:hover img,.case:hover .zoom img,.pi:hover .ph img,.prod:hover .prod-ph img,.mv-poster:hover img{transform:none}
  .nlist a:hover{padding-left:4px;background-color:transparent}
}
body.nav-open .hd{animation:none}

/* お知らせ：英数字が切れ目なく続くタイトル・URLでもはみ出さない */
.nlist .tt,.ns-head h1,.ns-nav a,.crumbs li{overflow-wrap:anywhere}
.entry{overflow-wrap:break-word}
.entry p,.entry li,.entry td{overflow-wrap:anywhere}

/* お知らせ：パターン確認（2026-11-06）で見つかった点の調整 */
/* 一覧のカテゴリー：少し幅を広げ、長い名前は1行で省略（全文はお知らせ詳細に表示） */
.nlist a{grid-template-columns:112px 120px 1fr}
.nlist .cat{padding:3px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* トップのお知らせは2行まで */
.news .nlist .tt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* パンくずの最後（記事タイトル）は1行で省略 */
.crumbs li[aria-current]{display:block;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* 前後のお知らせは2行まで */
.ns-nav .prev a,.ns-nav .next a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
/* 本文：画像の左右寄せ・回り込みの解除・表・埋め込み動画 */
.entry::after{content:"";display:block;clear:both}
.entry .alignright{float:right;max-width:45%;margin:.4em 0 1.2em 32px}
.entry .alignleft{float:left;max-width:45%;margin:.4em 32px 1.2em 0}
.entry .alignright + *,.entry .alignleft + *{margin-top:0}
.entry h2,.entry h3,.entry h4,.entry hr,.entry .wp-block-gallery,.entry .wp-block-table,.entry .wp-block-buttons,.entry .wp-block-embed,.entry iframe{clear:both}
.entry .wp-block-table{overflow-x:auto}
.entry th:first-child,.entry td:first-child{white-space:nowrap}
.entry iframe[src*="youtube"],.entry iframe[src*="youtu.be"]{display:block;width:100%;height:auto;aspect-ratio:16/9}
.entry blockquote cite{display:block;margin-top:8px;font-size:13px;color:var(--steel);font-style:normal}
.entry .wp-block-gallery{gap:8px}
@media (max-width:600px){
  .entry .alignright,.entry .alignleft{float:none;max-width:100%;margin:1.4em auto}
}
@media (max-width:900px){
  .nlist a{grid-template-columns:none;padding-right:0}
  .nlist .cat{max-width:100%}
  .ns-nav{grid-template-columns:1fr;gap:20px}
  .ns-nav .next{text-align:left}
  .ns-nav .prev:empty,.ns-nav .next:empty{display:none}
  .ns-back{grid-column:auto;grid-row:auto;justify-self:center;margin-top:8px;order:3}
  .ns-nav .prev,.ns-nav .next{padding:14px 0;border-bottom:1px solid var(--line)}
}


/* ==========================================================================
   5) スマホ表示の調整（2026-11-07 社内確認より）
   ========================================================================== */
@media (max-width:900px){
  /* メニュー：閉じるときもスライドして消える（消す前に見えなくならないよう、visibilityは動きの後に切り替え） */
  .gnav{transition:transform .35s var(--ease),visibility 0s linear .35s}
  body.nav-open .gnav{transition:transform .35s var(--ease),visibility 0s}

  /* 見出し：英字の下に日本語 */
  .sh{flex-direction:column;align-items:flex-start;gap:10px}

  /* Movie：「音声が流れます。」のあとで改行 */
  .mv-note-2{display:block}

  /* Company：詩の文字を小さく（「移動の可能性を広げることは、」が1行に収まる大きさ） */
  .verse{font-size:min(19px,calc((100vw - 40px) / 16))}
  /* 代表の写真・名前・リンクを中央に */
  .ceo{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
  .ceo img{width:140px}
  .ceo .links{align-items:center}

  /* Products：商品名 → 小さい文字 → 写真 → 題名（1行）→ 説明 → リンク */
  .pi{display:flex;flex-direction:column;padding:28px 20px 26px}
  .pi .nm{order:1;align-self:stretch;font-size:20px}
  .pi .ph{order:2;height:200px;margin:20px 0 4px;align-items:center}
  .pi .cp{order:3;margin-top:16px;font-size:min(18px,calc((100vw - 80px) / 16))}
  .pi .cp br{display:none}
  .pi .ds{order:4;margin-top:10px}
  .pi .go{order:5;padding-top:18px}

  /* Business：「人とモビリティの可能性を、」を1行で */
  .business .catch{font-size:min(22px,calc((100vw - 40px) / 14.8))}

  /* News：「お知らせ一覧」を中央に */
  .news .more{display:table;margin-inline:auto}

  /* お問い合わせ帯：見出しを2行に収める */
  .contact h2{font-size:min(20px,calc((100vw - 40px) / 16.8))}
}
