/* 出どころ：JOINT（joint10.com）・Wheeel の実測とスクショ
   本文16px/行間28px、英字見出し Josefin Sans 80px/600、和文ラベル20px/700、
   ボタン300x62・角丸5px・1px線、幅1200px、上下余白100〜150px、写真の角丸0。
   JOINTの特徴：画面の端からはみ出す太い円弧（リング）、写真を明るく見せる片側だけの膜、
   ヘッダー右端の四角いCONTACT、ロゴ横の小さい事業説明、幅いっぱいの色ボタン＋電話番号 */
:root{--navy:#0a1a33;--navy2:#13284a;--gray:#f3f3f3;--ink:#0a1a33;--sky:#6b8cc0;--ring:rgba(107,140,192,.22)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"IBM Plex Sans JP",sans-serif;font-size:16px;line-height:28px;color:var(--ink);background:#fff;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:100%;object-fit:cover}
.w{max-width:1200px;margin:0 auto;padding:0 40px;position:relative;z-index:2}
.en{font-family:"Josefin Sans",sans-serif;font-weight:600;line-height:1}
.lab{font-size:20px;font-weight:700;color:var(--sky);letter-spacing:2px;display:block;margin-bottom:18px}
.h-en{font-size:80px}
.btn{display:flex;align-items:center;justify-content:center;width:300px;height:62px;border:1px solid currentColor;border-radius:5px;font-size:16px;transition:background .3s,color .3s}
.btn:hover{background:#fff;color:var(--navy)}
.btn.fill{background:var(--navy);color:#fff;border-color:var(--navy)}
.btn.fill:hover{background:#fff;color:var(--navy)}
/* JOINTのリング（太い円弧が画面外にはみ出す） */
.ring{position:absolute;border-radius:50%;border:110px solid var(--ring);pointer-events:none;z-index:1}
section{position:relative;overflow:hidden}
.js .rv{opacity:0;transform:translateY(30px);transition:opacity .9s ease,transform .9s ease}
.js .rv.in{opacity:1;transform:none}

/* header */
header{position:absolute;inset:0 0 auto;z-index:20;display:flex;justify-content:space-between;align-items:stretch;color:#fff;height:86px}
.logo{display:flex;align-items:center;gap:16px;padding-left:40px}
.logo b{font-family:"Josefin Sans";font-size:30px;font-weight:600;letter-spacing:10px}
.logo span{font-size:11px;font-weight:700;line-height:1.5}
nav.g{display:flex;align-items:stretch}
nav.g a{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 18px;font-family:"Josefin Sans";font-size:18px;font-weight:600;letter-spacing:1px;transition:opacity .3s}
nav.g a:hover{opacity:.7}
nav.g a small{font-family:"IBM Plex Sans JP";font-size:10px;font-weight:400;letter-spacing:0;margin-top:3px}
nav.g a.ct{background:var(--navy);width:160px;padding:0}
.mb{display:none;border:0;cursor:pointer}
.drawer{position:fixed;inset:0;z-index:30;background:var(--navy);color:#fff;padding:100px 30px;display:flex;flex-direction:column;gap:26px;transform:translateX(100%);transition:transform .4s}
.drawer a{font-family:"Josefin Sans";font-size:28px;font-weight:600}
.drawer a small{display:block;font-family:"IBM Plex Sans JP";font-size:12px;font-weight:400;margin-top:6px;color:var(--sky)}
.open .drawer{transform:none}
.drawer .x{position:absolute;top:0;right:0;width:70px;height:64px;background:none;border:0;color:#fff;font-size:28px;cursor:pointer}

/* hero：JOINTは写真を暗くしすぎない。左側だけ膜＋リング */
.hero{height:100vh;min-height:700px;color:#fff}
.hero img{position:absolute;inset:0}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,26,51,.8) 0%,rgba(10,26,51,.55) 38%,rgba(10,26,51,.1) 70%,rgba(10,26,51,0) 100%);z-index:1}
.hero .ring.r1{width:760px;height:760px;left:-420px;top:-380px;border-color:rgba(107,140,192,.55);z-index:2}
.hero .ring.r2{width:520px;height:520px;right:-260px;bottom:-200px;border-width:90px;border-color:rgba(107,140,192,.45);z-index:2}
.hero .tx{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:3}
.hero h1{font-size:62px;font-weight:500;line-height:96px;letter-spacing:12px}
.hero p{margin-top:24px;font-size:16px;letter-spacing:4px}
.hero .en-sub{font-size:20px;letter-spacing:6px;margin-top:30px;opacity:.9}
.scroll{position:absolute;right:40px;bottom:0;z-index:3;display:flex;flex-direction:column;align-items:center;gap:12px;font-family:"Josefin Sans";font-size:12px;letter-spacing:3px;writing-mode:vertical-rl;color:#fff}
.scroll::after{content:"";width:1px;height:80px;background:#fff;animation:sc 2s infinite}
@keyframes sc{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* about */
.about{background:var(--navy);color:#fff;padding:140px 0 120px}
.about .ring{width:900px;height:900px;right:-380px;top:-300px;border-color:rgba(255,255,255,.05);border-width:140px}
.about .w{display:grid;grid-template-columns:450px 1fr;gap:80px;align-items:center}
.about .ph{height:520px;overflow:hidden}
.about p{margin:36px 0 44px}

/* business */
.biz{background:var(--gray);padding:0 0 150px}
.biz-top{background:var(--navy);padding:100px 0 230px;position:relative;overflow:hidden}
.biz-top .ring{width:700px;height:700px;left:-360px;top:-200px;border-color:rgba(255,255,255,.05);border-width:120px}
.biz .ring.lt{width:820px;height:820px;right:-430px;bottom:-260px;border-color:rgba(107,140,192,.18);border-width:130px}
.card{position:relative;display:block;height:400px;color:#fff;overflow:hidden;margin-bottom:40px}
.card.first{margin-top:-190px}
.card::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,26,51,.85) 0%,rgba(10,26,51,.25) 75%);transition:background .4s}
.card img{position:absolute;inset:0;transition:transform .8s}
.card:hover img{transform:scale(1.05)}
.card .in{position:absolute;z-index:2;left:60px;top:50%;transform:translateY(-50%);max-width:520px}
.card .k{font-family:"Josefin Sans";font-size:14px;font-weight:600;letter-spacing:2px;color:#a9bfe0}
.card h3{font-size:30px;line-height:40px;font-weight:700;margin:14px 0 18px}
.card p{font-size:15px;line-height:26px}
.card .go{position:absolute;right:40px;bottom:36px;z-index:2;font-family:"Josefin Sans";font-size:14px;letter-spacing:2px;display:flex;align-items:center;gap:14px}
.card .go::after{content:"";width:60px;height:1px;background:#fff;transition:width .4s}
.card:hover .go::after{width:90px}
.div{display:flex;align-items:baseline;gap:20px;margin:80px 0 24px;color:var(--navy)}
.div b{font-size:20px}
.div span{font-family:"Josefin Sans";font-size:14px;letter-spacing:2px;color:#7a8597}
.div.dk{color:#fff;margin:0}
.div.dk span{color:#9fb0c8}
.two{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.two .card{height:340px;margin:0}
.ph-dummy{position:absolute;inset:0;background:#3a4556;display:flex;justify-content:flex-end;align-items:flex-start;padding:16px 20px;color:#aab4c3;font-size:12px}
.more{display:flex;justify-content:center;margin-top:60px}

/* message */
.msg{padding:150px 0 140px}
.msg .w{display:grid;grid-template-columns:1fr 480px;gap:90px;align-items:center}
.msg .ph{height:600px;background:#d9dde3;display:grid;place-items:center;color:#6b7686;font-size:13px}
.msg h2.j{font-size:30px;line-height:50px;font-weight:700;margin:40px 0 28px}
.msg p+p{margin-top:14px}
.sign{margin-top:36px;font-size:14px}
.sign b{font-size:22px;margin-left:14px}

/* company */
.co{background:var(--gray);padding:130px 0}
.co .w{display:grid;grid-template-columns:360px 1fr;gap:60px}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:22px 30px;border-bottom:1px solid #e1e4e8;text-align:left;vertical-align:top;font-size:15px}
th{width:170px;font-weight:700;color:var(--navy);background:#fafafa}

/* news */
.news{padding:120px 0 110px}
.news .w{display:grid;grid-template-columns:360px 1fr;gap:60px}
.nl a{display:grid;grid-template-columns:130px 120px 1fr 20px;align-items:center;gap:10px;padding:26px 30px;background:#fff;border:1px solid #e1e4e8;margin-bottom:10px;font-size:15px;transition:border-color .3s}
.nl a:hover{border-color:var(--navy)}
.nl time{font-family:"Josefin Sans";font-size:15px;color:#7a8597}
.nl .c{font-size:12px;color:#7a8597}
.nl a::after{content:"▸";color:var(--navy);font-size:12px}
.news .btn{margin-top:40px;width:260px}

/* recruit */
.rec{height:560px;color:#fff;background:var(--navy)}
.rec img{position:absolute;inset:0;left:35%;width:65%}
.rec::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--navy) 0%,var(--navy) 35%,rgba(10,26,51,.55) 55%,rgba(10,26,51,.1) 100%);z-index:1}
.rec .w{height:100%;display:flex;flex-direction:column;justify-content:center}
.rec p{margin:30px 0 40px;max-width:460px}

/* contact */
.ct-sec{background:var(--navy);color:#fff;padding:120px 0 110px;border-top:1px solid rgba(255,255,255,.08)}
.ct-sec .ring{width:620px;height:620px;right:-300px;top:-200px;border-color:rgba(255,255,255,.04);border-width:110px}
.ct-sec .top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:50px}
.ct-sec .top p{max-width:420px;font-size:15px}
.bar{display:flex;align-items:center;justify-content:center;height:86px;font-size:20px;font-weight:700;border-radius:5px;transition:background .3s,color .3s}
.bar.wh{background:#fff;color:var(--navy)}
.bar.wh:hover{background:var(--sky);color:#fff}
.bar.ln{border:1px solid rgba(255,255,255,.6);margin-top:16px;font-size:17px}
.bar.ln:hover{background:rgba(255,255,255,.08)}
.bar small{font-size:13px;font-weight:400;margin-left:18px;opacity:.8}
.tel{text-align:center;margin-top:44px}
.tel small{display:block;font-size:13px;font-weight:700}
.tel b{font-family:"Josefin Sans";font-size:40px;font-weight:600;letter-spacing:2px;display:block;margin:12px 0 6px}
.tel span{font-size:12px;opacity:.7}

footer{background:#06101f;color:#fff;padding:80px 0 40px;font-size:13px}
footer .w{display:flex;justify-content:space-between;gap:40px}
footer .en{font-size:26px;letter-spacing:10px}
footer ul{list-style:none;display:grid;grid-template-columns:repeat(4,auto);gap:12px 44px;font-weight:700}
footer ul li span{display:block;font-weight:400;color:#7a8597;font-size:12px;margin-top:6px}
footer .cp{margin-top:70px;font-size:11px;color:#7a8597}

@media (max-width:900px){
  .w{padding:0 20px}
  nav.g{display:none}
  .mb{display:flex;align-items:center;justify-content:center;width:70px;background:var(--navy);color:#fff;font-family:"Josefin Sans";font-size:12px;letter-spacing:1px}
  header{height:64px}.logo{padding-left:20px}.logo b{font-size:24px}.logo span{display:none}
  .hero h1{font-size:34px;line-height:58px;letter-spacing:10px}
  .hero p{letter-spacing:1px;font-size:14px}.hero .en-sub{font-size:14px;letter-spacing:3px}
  .hero .ring.r1{width:420px;height:420px;left:-260px;top:-200px;border-width:70px}
  .hero .ring.r2{display:none}
  .scroll{right:16px}
  .h-en{font-size:46px}
  .lab{font-size:15px;margin-bottom:12px}
  .about{padding:80px 0}.about .w,.msg .w,.co .w,.news .w,.two{grid-template-columns:1fr;gap:40px}
  .about .ph{height:300px}
  .biz{padding:0 0 90px}.biz-top{padding:70px 0 180px}.card.first{margin-top:-150px}
  .card{height:440px}.card .in{left:24px;right:24px;top:42%}
  .card h3{font-size:22px;line-height:32px}
  .card .go{right:24px;bottom:24px}
  .two{gap:24px}.two .card{height:300px}
  .msg{padding:90px 0}.msg .ph{height:380px;order:2}
  .msg h2.j{font-size:22px;line-height:38px}
  .co,.news{padding:80px 0}
  th,td{display:block;width:100%;padding:12px 18px}th{border-bottom:0;padding-bottom:4px}
  .nl a{grid-template-columns:1fr 20px;padding:18px}
  .nl a>*{grid-column:1}
  .nl a::after{grid-column:2;grid-row:1/4}
  .rec{height:auto;padding:300px 0 70px}
  .rec img{left:0;width:100%;height:300px}
  .rec::after{background:linear-gradient(180deg,rgba(10,26,51,0) 0,rgba(10,26,51,.2) 200px,var(--navy) 300px)}
  .ct-sec .top{display:block}.ct-sec .top p{margin-top:24px}
  .bar{height:72px;font-size:17px;flex-direction:column}.bar small{margin:4px 0 0}
  .tel b{font-size:30px}
  .btn{width:100%}
  footer .w{flex-direction:column}footer ul{grid-template-columns:1fr 1fr}
}

/* 実ロゴ（大河さん提供の画像を透過処理） */
.lgi{display:block;height:var(--lh,30px);width:auto}

/* ---- v4：事業紹介をC案の形に（白いパネルに入れて、濃紺の面に重ねる） ---- */
.panel{background:#fff;padding:20px 60px;position:relative;z-index:2}
.panel.first{margin-top:-190px}
.sv{display:grid;grid-template-columns:1fr 440px;gap:70px;align-items:center;padding:50px 0}
.sv+.sv{border-top:1px solid #e6e8ec}
.tg{font-size:13px;font-weight:700;margin-bottom:12px}
.sv h3{line-height:1}
.nm{font-size:42px;font-weight:700;line-height:1.15;letter-spacing:.02em}
.nm.sm{font-size:28px;margin:4px 0 10px}
.yomi{font-size:11px;font-weight:700;color:#5d6878;margin:8px 0 20px}
.sv p,.food p{font-size:15px;margin-bottom:26px;max-width:520px}
.btn.sm{width:auto;height:48px;padding:0 28px;display:inline-flex;font-size:14px;font-weight:700}
.btn.sm:hover{background:var(--navy);color:#fff}
.pc{position:relative;padding:12px 12px 0;background:#1d1d1f;border-radius:14px 14px 0 0;aspect-ratio:16/10.4;margin-bottom:16px}
.pc .scr{width:100%;height:100%;background:#fff;overflow:hidden}
.pc::after{content:"";position:absolute;left:-7%;right:-7%;bottom:-16px;height:16px;background:#c9c9cc;border-radius:0 0 14px 14px}
.ui{padding:16px;font-size:10px;line-height:1.4;color:#333}
.ui .ubar{display:flex;justify-content:space-between;font-weight:700;border-bottom:1px solid #eee;padding-bottom:8px;margin-bottom:8px}
.ui .r{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:6px;padding:7px 0;border-bottom:1px solid #f2f2f2}
.ui .s{justify-self:start;padding:0 6px;border:1px solid var(--navy);border-radius:2px;color:var(--navy)}
.ui .s.on{background:var(--navy);color:#fff}
.food{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.food .panel{padding:0 0 40px}
.food .panel>*:not(.fph){margin-left:40px;margin-right:40px}
.fph{height:260px;background:#e4e8ed;display:grid;place-items:center;color:#7a8597;font-size:13px;margin-bottom:30px}
.biz .div{margin:90px 0 24px}
/* ラベルの色：明るい地では濃いめの青 */
.lab{color:#3d64a8}
.about .lab,.biz-top .lab,.rec .lab,.ct-sec .lab,.hero .lab{color:#8fb0e0}
/* ナビが窮屈な幅（〜1360px）では小さく、〜1180pxではメニューボタンに */
@media (max-width:1360px){header nav.g a{padding:0 11px;font-size:14px}header nav.g a small{font-size:9px}nav.g a.ct{width:130px}.logo span{display:none}}
@media (max-width:1180px){
  nav.g{display:none}
  .mb{display:flex;align-items:center;justify-content:center;width:86px;background:var(--navy);color:#fff;font-family:"Josefin Sans";font-size:13px;letter-spacing:1px}
  .about .w,.msg .w,.co .w,.news .w{grid-template-columns:1fr;gap:40px}
  .sv{grid-template-columns:1fr 360px;gap:40px}
}
@media (max-width:900px){
  .panel{padding:10px 22px}.panel.first{margin-top:-150px}
  .sv{grid-template-columns:1fr;gap:28px;padding:34px 0}
  .sv .pc{order:-1;margin-bottom:20px}
  .nm{font-size:30px}.sv h3 .lgi{--lh:40px !important}
  .food{grid-template-columns:1fr;gap:24px}
  .food .panel>*:not(.fph){margin-left:22px;margin-right:22px}
  .fph{height:200px}
}
.co .w,.news .w{grid-template-columns:440px 1fr}
@media (max-width:1180px){.co .w,.news .w{grid-template-columns:1fr}}
header::before{content:"";position:absolute;inset:0 0 -40px;background:linear-gradient(180deg,rgba(10,26,51,.55),rgba(10,26,51,0));z-index:-1}
/* 重ねない：紺の面は見出しまで。事業部名とパネルはグレーの地に置く */
.biz-top{padding:100px 0 100px}
.panel.first{margin-top:0}
.biz .div.d1{margin-top:90px}
@media (max-width:900px){.biz-top{padding:70px 0 64px}.panel.first{margin-top:0}.biz .div.d1{margin-top:60px}}
/* BUSINESSは独立したセクションに：紺の面をやめ、グレーの地に濃紺の見出し（ABOUTの紺と切り分ける） */
.biz-top{background:transparent;padding:130px 0 0}
.biz-top .ring{display:none}
.biz-top .lab{color:#3d64a8}
.biz .head{color:var(--navy)}
.biz .div.d1{margin-top:60px}
@media (max-width:900px){.biz-top{padding:80px 0 0}.biz .div.d1{margin-top:40px}}
/* 飲食事業部も採用DXと同じ形。右側はノートPCの代わりに写真の枠 */
.sph{aspect-ratio:16/11;background:#e4e8ed;display:grid;place-items:center;color:#7a8597;font-size:13px}
@media (max-width:900px){.sv .sph{order:-1}}
/* 事業責任者の枠（写真は角丸なし。JOINTの写真の扱いに合わせる） */
.lead{display:flex;gap:16px;align-items:center;margin-top:30px;padding-top:24px;border-top:1px solid #e6e8ec;max-width:520px}
.lph{flex:0 0 64px;height:64px;background:#e4e8ed;display:grid;place-items:center;color:#7a8597;font-size:10px}
.lead span{display:block;font-size:11px;font-weight:700;color:#3d64a8;letter-spacing:1px}
.lead b{display:block;font-size:17px;line-height:1.5}
.lead small{display:block;font-size:12px;color:#5d6878;line-height:1.5}
/* 事業責任者：事業部ごとに1人。パネルの最後に置く */
.dlead{display:grid;grid-template-columns:80px 220px 1fr;gap:24px;align-items:center;border-top:1px solid #e6e8ec;padding:34px 0 40px}
.dlead .lph{width:80px;height:80px;flex:none}
.who span{display:block;font-size:11px;font-weight:700;color:#3d64a8;letter-spacing:1px}
.who b{display:block;font-size:19px;line-height:1.5}
.who small{display:block;font-size:12px;color:#5d6878}
.dlead p{font-size:14px;color:#3a4352;border-left:1px solid #e6e8ec;padding-left:24px;margin:0}
@media (max-width:900px){.dlead{grid-template-columns:72px 1fr;gap:16px}.dlead .lph{width:72px;height:72px}.dlead p{grid-column:1/3;border-left:0;padding-left:0}}
.dlead .lph{overflow:hidden}
.dlead .lph{border:1px solid #e6e8ec}
.sph{overflow:hidden}
/* お問い合わせ：3つを同じ重さで並べる（JOINTの線ボタン・角丸5pxに合わせる） */
.ctg{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ci{position:relative;display:block;border:1px solid rgba(255,255,255,.45);border-radius:5px;padding:34px 30px 34px;transition:background .3s,color .3s}
.ci:hover{background:#fff;color:var(--navy)}
.ci .k{display:block;font-family:"Josefin Sans";font-size:12px;letter-spacing:2px;color:#8fb0e0;margin-bottom:12px}
.ci b{display:block;font-size:19px;margin-bottom:6px}
.ci small{display:block;font-size:13px;opacity:.8;line-height:1.7;padding-right:30px}
.ci i{position:absolute;right:26px;bottom:30px;font-style:normal;font-size:18px}
@media (max-width:900px){.ctg{grid-template-columns:1fr;gap:14px}.ci{padding:26px 22px}}
.lgi.yl{border-radius:50%}
@media (max-width:900px){.sv h3 .lgi.yl{--lh:72px !important}}
@media (max-width:900px){.sv h3 .lgi.yh,.svc h3 .lgi.yh{--lh:50px !important}}
/* 2店のロゴは横幅をそろえる */
img.lgi.km,img.lgi.yh{width:220px !important;height:auto !important;max-width:100%}
@media (max-width:900px){img.lgi.km,img.lgi.yh{width:170px !important}}
/* ---- ブラッシュアップ ---- */
/* ヘッダー：スクロールしたら濃紺の帯で上に固定（JOINTのヘッダーと同じ動き） */
header{position:fixed;transition:background .4s,height .4s}
body.sc header{background:var(--navy);height:70px}
body.sc header::before{opacity:0}
/* 運営ブランドのロゴ帯（PDP・Visionalのブランド一覧の並べ方） */
.brands{background:#fff;padding:90px 0 100px}
.brands .bh{font-size:14px;font-weight:700;color:var(--navy);margin-bottom:24px;display:flex;align-items:center;gap:14px}
.brands .bh::after{content:"";flex:1;height:1px;background:#e1e4e8}
.bl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e1e4e8}
.bl a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;height:170px;border-left:1px solid #e1e4e8;transition:background .3s}
.bl a:first-child{border-left:0}
.bl a:hover{background:#f6f7f9}
.bl img{max-width:68%;max-height:52px;width:auto;height:auto;display:block}
.bl span{font-size:11px;color:#5d6878}
/* 会社概要の地図（H&Bの会社概要と同じく表の下に地図） */
.co .map{grid-column:2;height:320px;margin-top:24px}
.co .map iframe{width:100%;height:100%;border:0;filter:grayscale(.4)}
@media (max-width:1180px){.co .map{grid-column:1}}
@media (max-width:900px){.bl{grid-template-columns:1fr 1fr}.bl a{height:130px;border-top:1px solid #e1e4e8}.bl a:nth-child(-n+2){border-top:0}.bl a:nth-child(3){border-left:0}.brands{padding:60px 0}.co .map{height:240px}}
/* ---- 社長の要望（2026-11-11）：アライアンス募集・問い合わせフォーム ---- */
.tmp{display:inline-block;background:#ffe9a8;color:#6b5200;font-size:11px;font-weight:700;padding:0 8px;margin-left:8px;border-radius:3px;letter-spacing:0}
.ally{background:var(--gray);padding:130px 0 120px}
.ally .ah{display:grid;grid-template-columns:440px 1fr;gap:60px;align-items:end;margin-bottom:50px}
.ally .al{display:grid;gap:16px}
.ally .al p{font-size:15px}
.ag{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ac{background:#fff;padding:36px 32px 34px}
.ac .n{font-family:"Josefin Sans";font-size:14px;letter-spacing:2px;color:#3d64a8}
.ac h3{font-size:19px;margin:10px 0 12px;line-height:1.5}
.ac p{font-size:14px;color:#3a4352}
.aa{display:flex;justify-content:center;margin-top:50px}
.aa .btn{width:auto;padding:0 40px}
.cf{background:#fff;color:var(--navy);border-radius:5px;padding:46px 50px 40px;margin-top:40px;display:grid;gap:20px}
.cf h3{font-size:20px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.fr{display:grid;gap:6px;min-width:0}
.fr label{font-size:13px;font-weight:700}
.fr em{font-style:normal;font-size:10px;color:#fff;background:var(--navy);padding:1px 6px;border-radius:2px;margin-left:8px;vertical-align:middle}
.cf input[type=text],.cf input[type=email],.cf input[type=tel],.cf select,.cf textarea{width:100%;font:inherit;font-size:15px;color:var(--navy);background:#f6f7f9;border:1px solid #d5dae2;border-radius:4px;padding:12px 14px}
.cf input:focus,.cf select:focus,.cf textarea:focus{outline:2px solid #3d64a8;outline-offset:1px;background:#fff}
.cf .bad{border-color:#c0392b !important;background:#fdf3f2 !important}
.pv{display:flex;align-items:center;gap:10px;font-size:14px}
.pv input{width:18px;height:18px}
.pv a{text-decoration:underline}
.send{justify-self:center;height:62px;padding:0 60px;border:0;border-radius:5px;background:var(--navy);color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer;transition:opacity .3s}
.send:hover{opacity:.85}
.cf .fmsg{text-align:center;font-size:14px;min-height:1.5em}
.cf .fmsg.ok{color:#1f6f43}.cf .fmsg.ng{color:#c0392b}
@media (max-width:1180px){.ally .ah{grid-template-columns:1fr;gap:24px}}
@media (max-width:900px){.aa .btn{width:100%;padding:0 16px;font-size:14px}.ally{padding:80px 0}.ag{grid-template-columns:1fr}.ac{padding:28px 24px}.cf{padding:30px 22px}.f2{grid-template-columns:1fr}.send{width:100%}}
/* 白背景の人物写真：薄いグレーの地に乗せて、白いページに溶けないようにする */
/* 写真を暗くしないよう重ね方（乗算）はやめ、白いまま細い枠で区切る */
.msg .ph{background:#fff !important;border:1px solid #e1e4e8}
.dlead .lph{background:#fff}
.ag{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){.ag{grid-template-columns:1fr}}
/* ABOUTの写真は切り抜かずに全体を見せる（横長4:3） */
.about .w{grid-template-columns:580px 1fr}
.about .ph{height:auto !important;aspect-ratio:4/3}
@media (max-width:1180px){.about .w{grid-template-columns:1fr}}
.news .w{grid-template-columns:340px 1fr}
.nl a{grid-template-columns:100px 70px 1fr 14px;padding:22px 26px}
@media (max-width:1180px){.news .w{grid-template-columns:1fr}}

/* ===== 下層ページ（会社概要・プライバシーポリシー・送信完了・お知らせ） ===== */
body.sub header{position:fixed;background:var(--navy);height:76px}
body.sub header::before{display:none}
.phero{background:var(--navy);color:#fff;padding:170px 0 80px;position:relative;overflow:hidden}
.phero .ring{width:620px;height:620px;right:-300px;top:-260px;border-color:rgba(255,255,255,.05);border-width:110px}
.phero .bc{font-size:12px;margin-top:26px;opacity:.75;display:flex;gap:10px;flex-wrap:wrap}
.phero .bc a{text-decoration:underline;text-underline-offset:3px}
.sec{padding:110px 0}
.sec.gray{background:var(--gray)}
.vision{text-align:left}
.vision .w{display:grid;grid-template-columns:440px 1fr;gap:60px;align-items:start}
.vision h3{font-size:34px;line-height:1.6;font-weight:700;margin-bottom:24px}
.vision p+p{margin-top:14px}
.vision .three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:36px}
.vision .three div{background:#fff;padding:22px 20px}
.vision .three b{display:block;font-family:"Josefin Sans";font-size:13px;letter-spacing:2px;color:#3d64a8}
.vision .three span{font-size:17px;font-weight:700}
.leads{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.leads .card2{background:#fff;padding:30px;display:grid;grid-template-columns:110px 1fr;gap:24px;align-items:center}
.leads .card2 .f{width:110px;height:110px;overflow:hidden;border:1px solid #e1e4e8}
.leads .card2 .f img{width:100%;height:100%;object-fit:cover}
.leads .card2 span{display:block;font-size:11px;font-weight:700;color:#3d64a8;letter-spacing:1px}
.leads .card2 b{display:block;font-size:20px;margin:2px 0 8px}
.leads .card2 p{font-size:14px;color:#3a4352}
.prose{max-width:820px;margin:0 auto}
.prose h2{font-size:20px;color:var(--navy);margin:44px 0 12px;padding-bottom:10px;border-bottom:1px solid #e1e4e8}
.prose h2:first-child{margin-top:0}
.prose p,.prose li{font-size:15px;line-height:2}
.prose ol,.prose ul{padding-left:1.4em;margin:8px 0}
.prose .date{text-align:right;margin-top:40px;font-size:14px;color:#5d6878}
.prose dl{display:grid;grid-template-columns:140px 1fr;border-top:1px solid #e1e4e8;margin-top:12px}
.prose dt,.prose dd{padding:12px 0;border-bottom:1px solid #e1e4e8;font-size:15px}
.prose dt{font-weight:700}
.thanks{text-align:center}
.thanks h2{font-size:28px;margin-bottom:22px;color:var(--navy)}
.thanks p{max-width:560px;margin:0 auto 34px}
.thanks .btn{margin:0 auto}
.post{max-width:820px;margin:0 auto}
.post time{font-family:"Josefin Sans";color:#7a8597}
.post h1{font-size:28px;line-height:1.5;margin:8px 0 30px;color:var(--navy)}
.post .body p{margin-bottom:1.2em}
.post .back{margin-top:50px}
.pager{display:flex;justify-content:center;gap:10px;margin-top:40px}
.pager a,.pager span{min-width:40px;height:40px;display:grid;place-items:center;border:1px solid #d5dae2;font-size:14px;padding:0 10px}
.pager .current{background:var(--navy);color:#fff;border-color:var(--navy)}
@media (max-width:1180px){.vision .w{grid-template-columns:1fr;gap:30px}}
@media (max-width:900px){
  body.sub header{height:64px}
  .phero{padding:120px 0 56px}
  .sec{padding:70px 0}
  .vision h3{font-size:24px}
  .vision .three,.leads{grid-template-columns:1fr}
  .leads .card2{grid-template-columns:80px 1fr;padding:22px}.leads .card2 .f{width:80px;height:80px}
  .prose dl{grid-template-columns:1fr}.prose dt{border-bottom:0;padding-bottom:0}
}
/* ===== Contact Form 7 の出力をフォームの見た目に合わせる ===== */
.cf .wpcf7{margin:0}
.cf .wpcf7-form{display:grid;gap:20px}
.cf .wpcf7-form-control-wrap{display:block}
.cf .wpcf7-not-valid{border-color:#c0392b !important;background:#fdf3f2 !important}
.cf .wpcf7-not-valid-tip{color:#c0392b;font-size:12px;margin-top:4px}
.cf .wpcf7-list-item{margin:0}
.cf .wpcf7-acceptance label{display:flex;align-items:center;gap:10px;font-size:14px}
.cf .wpcf7-acceptance input{width:18px;height:18px}
.cf .wpcf7-spinner{display:block;margin:0 auto}
.cf .wpcf7-response-output{margin:0 !important;border:0 !important;padding:0 !important;text-align:center;font-size:14px;color:#c0392b}
.cf .wpcf7 form.sent .wpcf7-response-output{color:#1f6f43}
.cf input[type=submit].send{justify-self:center}

/* ===== スマホの直し（2026-11-13） ===== */
@media (max-width:900px){
  /* 1. 代表メッセージ：写真を文章より上に。縦長の枠で全身が切れないように */
  .msg .ph{order:-1 !important;height:auto !important;aspect-ratio:4/5;width:62%;max-width:260px}
  /* 2. 1画面目：写真の3人がちょうど収まる高さと位置にする */
  .hero{height:620px;min-height:0}
  .hero>img{object-position:61% center}
  /* 3. お知らせ：日付・種類・タイトルを縦に積み、タイトルを横いっぱいに */
  .nl a{grid-template-columns:1fr 14px !important;gap:4px 12px;padding:18px 20px !important}
  .nl a>*{grid-column:1}
  .nl a::after{grid-column:2;grid-row:1/4}
}
/* スマホ：代表メッセージを中央ぞろえ（写真・見出し・名前）。長い本文は読みやすさのため左ぞろえのまま */
@media (max-width:900px){
  .msg .ph{margin-left:auto;margin-right:auto}
  .msg .lab,.msg h2,.msg .sign{text-align:center}
}
/* スマホの1画面目：文字を下に寄せて小さくし、下側だけ暗くして読みやすくする（人の顔にかぶらないように） */
@media (max-width:900px){
  .hero::after{background:linear-gradient(180deg,rgba(10,26,51,.25) 0%,rgba(10,26,51,0) 28%,rgba(10,26,51,0) 52%,rgba(10,26,51,.78) 78%,rgba(10,26,51,.92) 100%)}
  .hero .tx{top:auto !important;bottom:34px;transform:none !important}
  .hero h1{font-size:26px;line-height:40px;letter-spacing:6px}
  .hero p{font-size:12px;margin-top:12px;letter-spacing:1px}
  .hero .en-sub{font-size:11px;letter-spacing:3px;margin-top:14px}
  .hero .scroll{display:none}
}
/* スマホの代表メッセージ：見出し → 写真 → キャッチ → 本文 → 名前 の順に並べる */
@media (max-width:900px){
  .msg .w{display:flex !important;flex-direction:column;gap:0 !important}
  .msg .w>div.rv:first-child{display:contents}
  .msg .lab{order:1}
  .msg h2.en{order:2}
  .msg .ph{order:3 !important;margin:30px auto 0 !important}
  .msg h2.j{order:4;margin:34px 0 24px}
  .msg .w>div.rv:first-child>p{order:5}
  .msg .sign{order:6}
}
/* スマホの代表メッセージ：役職・名前を写真のすぐ下に */
@media (max-width:900px){
  .msg .sign{order:4 !important;margin-top:14px !important;text-align:center}
  .msg .ph{order:3 !important}
  .msg h2.j{order:5 !important}
  .msg .w>div.rv:first-child>p{order:6 !important}
}
/* ログイン中（管理バーが出ているとき）、ヘッダーが管理バーの下に隠れないようにする */
body.admin-bar header{top:32px}
body.admin-bar .drawer{top:32px}
@media (max-width:782px){body.admin-bar header,body.admin-bar .drawer{top:46px}}
@media (max-width:600px){body.admin-bar.sc header{top:0}}
/* 問い合わせフォームを作るまでの案内 */
.cf .prep{font-size:15px;text-align:center}
.cf .prep-tel{text-align:center;display:flex;justify-content:center;align-items:baseline;gap:14px}
.cf .prep-tel span{font-family:"Josefin Sans";font-size:14px;letter-spacing:2px;color:#3d64a8}
.cf .prep-tel b{font-family:"Josefin Sans";font-size:34px;letter-spacing:2px;color:var(--navy)}
