/* 九州テクノ トップページ案：色は下の変数だけで一括変更できます */
:root {
  --black:#111; --dark:#1b1b1b; --red:#ed0015; --red-dark:#c90012;
  --white:#fff; --off-white:#f7f7f5; --gray:#686868; --line:#d9d9d6;
  --content-width:1280px; --side-padding:clamp(22px,5vw,76px); --section-space:clamp(88px,11vw,156px);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--black);background:var(--white);font-family:Arial,"Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.75;letter-spacing:.035em}
img,svg{display:block;max-width:100%} a{color:inherit}
.skip-link{position:fixed;top:8px;left:8px;z-index:1000;padding:10px 16px;color:#fff;background:#111;transform:translateY(-150%)}
.skip-link:focus{transform:translateY(0)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.section-inner,.header-inner,.footer-inner,.hero-inner{width:min(100%,calc(var(--content-width) + var(--side-padding)*2));margin-inline:auto;padding-inline:var(--side-padding)}

/* ヘッダー */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}
.header-inner{min-height:150px!important;display:flex;align-items:center;justify-content:space-between;gap:36px}
.brand{width:clamp(280px,31vw,445px);display:block;text-decoration:none}.brand img{width:100%;height:auto}
.global-nav ul{display:flex;align-items:center;gap:clamp(20px,2.6vw,42px);margin:0;padding:0;list-style:none}
.global-nav a{position:relative;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
.global-nav a:not(.nav-contact)::after{content:"";position:absolute;left:0;bottom:-9px;width:0;height:2px;background:var(--red);transition:width .2s}
.global-nav a:hover::after,.global-nav a:focus-visible::after{width:100%}
.global-nav .nav-contact{min-height:48px;display:inline-flex;align-items:center;padding:0 24px;color:#fff;background:#111;transition:.2s}
.global-nav .nav-contact:hover,.global-nav .nav-contact:focus-visible{background:var(--red)}
.menu-button{display:none}

/* ヒーロー */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:#fff}
.hero-inner{min-height:min(800px,calc(100vh - 104px));display:grid;grid-template-columns:minmax(0,1.02fr) minmax(440px,.98fr);align-items:center;gap:clamp(44px,6vw,100px);padding-block:70px 80px}
.eyebrow,.section-kicker{margin:0 0 24px;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.22em}
.eyebrow{display:flex;align-items:center;gap:15px}.eyebrow::before{content:"";width:44px;height:3px;background:var(--red)}
.hero h1{margin:0;font-size:clamp(48px,6vw,86px);font-weight:800;line-height:1.28;letter-spacing:-.025em}
.hero h1 span{position:relative;display:inline-block}.hero h1 span::after{content:"";position:absolute;left:0;bottom:-5px;width:34%;height:8px;background:var(--red)}
.hero-lead{margin:42px 0 0;color:#3d3d3d;font-size:clamp(16px,1.55vw,20px);font-weight:600;line-height:2}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:42px}
.button{min-width:210px;min-height:60px;display:inline-flex;align-items:center;justify-content:center;gap:28px;padding:12px 26px;border:1px solid transparent;font-size:13px;font-weight:800;text-decoration:none;transition:.2s}
.button:hover,.button:focus-visible{transform:translateY(-2px)}
.button-primary{color:#fff;background:#111}.button-primary:hover,.button-primary:focus-visible{background:var(--red)}
.button-outline{border-color:#111;background:#fff}.button-outline:hover,.button-outline:focus-visible{color:#fff;background:#111}
.hero-drawing{position:relative;aspect-ratio:1/1.05;border:1px solid #111;background:var(--off-white)}
.hero-drawing::before{content:"";position:absolute;top:-1px;right:-1px;width:23%;height:23%;border-top:18px solid var(--red);border-right:18px solid var(--red)}
.hero-drawing svg{width:100%;height:100%;padding:8%}.drawing-grid{fill:none;stroke:#dededb;stroke-width:1}.drawing-plan{fill:none;stroke:#111;stroke-width:3}
.drawing-route{fill:none;stroke:var(--red);stroke-width:9}.drawing-points{fill:var(--red);stroke:#fff;stroke-width:4}
.drawing-label{position:absolute;min-width:155px;padding:12px 15px;color:#fff;background:#111;font-size:10px;font-weight:700;letter-spacing:.13em;line-height:1.5}
.drawing-label span{display:inline-block;margin-right:8px;color:var(--red)}.drawing-label strong{font-size:13px;letter-spacing:.04em}
.label-survey{left:-22px;bottom:18%}.label-design{top:26%;right:-25px}
.drawing-caption{position:absolute;right:24px;bottom:16px;margin:0;color:var(--gray);font-size:9px;font-weight:800;letter-spacing:.17em}
.hero-side-label{position:absolute;right:14px;bottom:20px;margin:0;color:#8a8a8a;font-size:9px;font-weight:700;letter-spacing:.18em;writing-mode:vertical-rl}

/* 黒いメッセージ帯 */
.statement{color:#fff;background:#111}.statement-inner{min-height:245px;display:grid;grid-template-columns:145px minmax(280px,1fr) minmax(250px,.6fr);align-items:center;gap:clamp(30px,6vw,90px)}
.statement-mark{width:140px;height:140px;display:grid;place-items:center;overflow:hidden;background:#fff}.statement-mark img{width:100%;height:100%;object-fit:cover}
.statement-inner>p{margin:0;font-size:clamp(30px,4vw,54px);font-weight:800;line-height:1.45;letter-spacing:.04em}
.statement-inner small{padding-left:40px;border-left:1px solid #4a4a4a;color:#bdbdbd;font-size:13px}

/* 共通 */
.section{padding-block:var(--section-space)}.section-kicker.light{color:#ff5b69}
.section-heading{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(300px,.6fr);justify-content:space-between;gap:50px;margin-bottom:66px}
.section-heading h2,.work h2,.about h2,.news h2,.contact h2{margin:0;font-size:clamp(38px,5.2vw,72px);font-weight:800;line-height:1.35;letter-spacing:-.025em}
.section-heading .section-kicker,.work .section-kicker,.about .section-kicker,.news .section-kicker,.contact .section-kicker{margin-bottom:13px}
.section-heading>p{margin:10px 0 0;color:var(--gray);font-size:14px}

/* 調査・設計 */
.core-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #111;border-left:1px solid #111}
.core-card{position:relative;min-height:650px;padding:clamp(36px,5vw,70px);border-right:1px solid #111;border-bottom:1px solid #111}
.core-card::after{content:"";position:absolute;right:0;bottom:0;border-bottom:76px solid var(--red);border-left:76px solid transparent}
.core-design{color:#fff;background:#111}.core-card-head{display:flex;align-items:center;gap:22px;padding-bottom:22px;border-bottom:1px solid currentColor}
.core-card-head p{margin:0;font-size:10px;font-weight:800;letter-spacing:.18em}.core-number{color:var(--red);font-size:20px;font-weight:800}
.core-card h3{margin:58px 0 8px;font-size:clamp(42px,5vw,68px);line-height:1.25}.core-lead{margin:0 0 54px;font-size:clamp(20px,2.2vw,29px);font-weight:600;line-height:1.65}
.core-card ul{margin:0;padding:0;list-style:none;border-top:1px solid currentColor}.core-card li{position:relative;padding:15px 30px 15px 4px;border-bottom:1px solid currentColor;font-size:13px}
.core-card li::after{content:"+";position:absolute;right:5px;color:var(--red);font-weight:800}

/* 業務内容 */
.work{color:#fff;background:#111}.work .section-inner{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(460px,1.28fr);gap:clamp(60px,9vw,140px)}
.work-heading>p:last-child{margin:34px 0 0;color:#adadad;font-size:14px}.work-list{border-top:1px solid #555}
.work-list article{display:grid;grid-template-columns:70px 1fr;gap:22px;padding:34px 0;border-bottom:1px solid #555}
.work-list article>span{padding-top:5px;color:var(--red);font-size:12px;font-weight:800}.work-list h3,.work-list p{margin:0}
.work-list h3{margin-bottom:8px;font-size:clamp(20px,2.4vw,30px);line-height:1.4}.work-list p{color:#adadad;font-size:13px}

/* 進行の流れ */
.process{background:var(--off-white)}.process-heading{align-items:end}
.process-list{display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0;list-style:none;border-top:1px solid #111;border-left:1px solid #111}
.process-list li{position:relative;min-height:235px;display:flex;flex-direction:column;justify-content:flex-end;padding:30px;border-right:1px solid #111;border-bottom:1px solid #111}
.process-list li:not(:last-child)::after{content:"→";position:absolute;z-index:1;top:28px;right:-17px;width:34px;height:34px;display:grid;place-items:center;color:#fff;background:var(--red);border-radius:50%;font-size:15px}
.process-list span{position:absolute;top:22px;left:26px;color:var(--red);font-size:12px;font-weight:800}.process-list strong,.process-list small{display:block}
.process-list strong{margin-bottom:7px;font-size:clamp(20px,2vw,28px)}.process-list small{color:var(--gray);font-size:11px}

/* 会社案内 */
.about-layout{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(400px,1fr);align-items:center;gap:clamp(65px,10vw,160px)}
.about-year{position:relative;min-height:410px;display:flex;flex-direction:column;justify-content:center;padding:50px;color:#fff;background:var(--red);overflow:hidden}
.about-year::after{content:"K";position:absolute;right:-55px;bottom:-110px;color:rgba(255,255,255,.13);font-size:390px;font-weight:900;line-height:1}
.about-year span,.about-year strong{position:relative;z-index:1;display:block}.about-year span{font-size:16px;font-weight:800;letter-spacing:.22em}
.about-year strong{font-size:clamp(72px,10vw,138px);line-height:1.1;letter-spacing:-.06em}.about h2{font-size:clamp(35px,4.4vw,59px)}
.about-lead{margin:34px 0 22px;font-size:clamp(18px,2vw,25px);font-weight:700;line-height:1.8}
.about-copy>p:not(.section-kicker):not(.about-lead){margin:0 0 35px;color:var(--gray);font-size:14px}
.text-link{display:inline-flex;align-items:center;gap:25px;padding-bottom:6px;border-bottom:2px solid var(--red);font-size:13px;font-weight:800;text-decoration:none}.text-link span{color:var(--red)}

/* お知らせ */
.news{border-top:1px solid var(--line)}.news-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:50px}
.news-list{margin:0;padding:0;border-top:1px solid #111;list-style:none}.news-list li{min-height:100px;display:grid;grid-template-columns:130px 1fr 30px;align-items:center;gap:30px;padding:22px 8px;border-bottom:1px solid var(--line)}
.news-list p,.news-list b{margin:0}.news-list p{font-size:14px}.news-list b{color:var(--red);font-size:18px}.news-tag{color:var(--red);font-size:10px;font-weight:800;letter-spacing:.16em}

/* お問い合わせ・フッター */
.contact{color:#fff;background:#111}.contact-inner{min-height:450px;display:grid;grid-template-columns:minmax(400px,1fr) minmax(320px,.65fr);align-items:center;gap:clamp(60px,9vw,140px);padding-block:80px}
.contact-action p{margin:0 0 30px;color:#bdbdbd;font-size:14px}.button-red{width:100%;min-height:72px;justify-content:space-between;color:#fff;background:var(--red)}
.button-red:hover,.button-red:focus-visible{background:var(--red-dark)}
.site-footer{padding-block:46px;border-top:1px solid #333;color:#999;background:#111}.footer-inner{display:grid;grid-template-columns:minmax(250px,1fr) auto auto;align-items:center;gap:45px}
.footer-logo{width:min(320px,100%);padding:7px 10px;background:#fff}.footer-links{display:flex;gap:25px}.footer-links a{font-size:11px;text-decoration:none}.footer-links a:hover{color:#fff}.footer-inner small{font-size:10px;white-space:nowrap}

/* タブレット */
@media(max-width:1060px){
  .header-inner{min-height:130px!important}.brand{width:min(380px,52vw)}
  .menu-button{width:48px;height:48px;display:grid;align-content:center;gap:7px;padding:10px;border:0;background:transparent;cursor:pointer}
  .menu-button-line{width:28px;height:2px;background:#111;transition:.2s}.menu-button[aria-expanded="true"] .menu-button-line:nth-child(1){transform:translateY(9px) rotate(45deg)}
  .menu-button[aria-expanded="true"] .menu-button-line:nth-child(2){opacity:0}.menu-button[aria-expanded="true"] .menu-button-line:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
  .global-nav{position:absolute;top:130px!important;left:0;width:100%;display:none;padding:18px var(--side-padding) 28px;border-bottom:1px solid #111;background:#fff}.global-nav.is-open{display:block}
  .global-nav ul{display:grid;gap:0}.global-nav a{display:block;padding:14px 0;border-bottom:1px solid var(--line)}.global-nav .nav-contact{margin-top:15px;padding-inline:22px;border:0}
  .hero-inner{min-height:auto;grid-template-columns:1fr 1fr;padding-block:75px}.hero h1{font-size:clamp(42px,6.5vw,66px)}.label-design{right:-10px}.label-survey{left:-10px}
  .statement-inner{grid-template-columns:110px 1fr .65fr}.statement-mark{width:105px;height:105px}.work .section-inner{grid-template-columns:.7fr 1.3fr;gap:60px}
  .footer-inner{grid-template-columns:1fr auto}.footer-inner small{grid-column:1/-1}
}

/* スマートフォン */
@media(max-width:720px){
  :root{--section-space:84px}.header-inner{min-height:110px!important}.brand{width:min(280px,76vw)}.global-nav{top:110px!important}
  .hero-inner,.section-heading,.work .section-inner,.about-layout,.contact-inner{grid-template-columns:1fr}
  .hero-inner{gap:64px;padding-block:60px 50px}.hero h1{font-size:clamp(42px,13vw,62px);line-height:1.35}.hero h1 span::after{height:6px}.hero-lead{margin-top:34px}
  .hero-actions{display:grid}.button{width:100%}.hero-drawing{width:calc(100% - 12px);margin-inline:auto}.drawing-label{min-width:135px}.label-survey{left:-8px}.label-design{right:-8px}.hero-side-label{display:none}
  .statement-inner{min-height:auto;grid-template-columns:88px 1fr;gap:22px;padding-block:52px}.statement-mark{width:82px;height:82px}.statement-inner>p{font-size:clamp(25px,8vw,36px)}
  .statement-inner small{grid-column:1/-1;padding:20px 0 0;border-top:1px solid #4a4a4a;border-left:0}
  .section-heading{gap:22px;margin-bottom:42px}.core-grid,.process-list{grid-template-columns:1fr}.core-card{min-height:auto;padding:42px 28px 64px}.core-card h3{margin-top:40px}.core-lead{margin-bottom:40px}
  .work .section-inner{gap:50px}.process-list li{min-height:180px}.process-list li:not(:last-child)::after{top:auto;right:25px;bottom:-17px;content:"↓"}
  .about-layout{gap:55px}.about-year{min-height:330px;padding:35px}.news-heading{align-items:flex-start;flex-direction:column}.news-list li{grid-template-columns:78px 1fr;gap:14px}.news-list b{display:none}.news-list p{font-size:12px}
  .contact-inner{min-height:auto;gap:50px}.footer-inner{grid-template-columns:1fr;gap:30px}.footer-links{flex-wrap:wrap}.footer-inner small{grid-column:auto}
}

/* 会社案内とナビゲーションの最終調整 */
.global-nav a{font-size:21px;padding-block:21px}
.about-year small{position:relative;z-index:1;display:block;margin-top:8px;font-size:15px;font-weight:700;letter-spacing:.08em}
@media(max-width:720px){.global-nav a{font-size:18px;padding-block:18px}.about-year small{font-size:14px}}

/* 最終調整：矢印を明確にし、工程の間隔と文字設計を統一 */
.process-list li{min-height:168px;padding:22px}
.process-list li:not(:last-child)::after{right:-21px;width:42px;height:42px;font-size:23px;font-weight:800;box-shadow:0 0 0 4px var(--white)}
.process-list strong{font-size:clamp(19px,1.7vw,23px)}
.process-list small{font-size:15px;font-weight:600;color:var(--black)}
.work-list article{padding-block:18px}
.work-list article h3{font-size:clamp(19px,1.8vw,24px)}
.work-list article p{font-size:15px;font-weight:600}
.overview-mark{width:86px;height:86px}
.overview h2{font-size:clamp(21px,2.35vw,30px)}

@media(max-width:720px){
  .process-list li{min-height:126px;padding:20px}
  .process-list li:not(:last-child)::after{right:20px;bottom:-20px;width:40px;height:40px;font-size:22px}
  .process-list small,.work-list article p{font-size:15px}
  .overview-mark{width:64px;height:64px}
}

/* 上部固定帯の下に境界線を置かない */
.site-header{border-bottom:0}

/* 概要は上下に余白を取り、見出しと説明文の間は詰める */
.overview-inner{min-height:0;padding-block:48px;row-gap:4px}
.overview-mark{border-radius:50%;background:none!important}
.overview-mark img{display:block!important;width:100%;height:100%;object-fit:cover;border-radius:50%}

/* 長い工程見出しは読みやすく一続きで表示 */
#process-title{font-size:clamp(24px,2.35vw,34px);line-height:1.55}
#process-title span{display:block}

@media(max-width:720px){
  .overview-inner{padding-block:34px;row-gap:6px}
  #process-title{font-size:clamp(21px,6.1vw,28px)}
}

/* 円形Kマーク：後段で背景を確実に適用 */
.overview-mark{background-color:var(--red);background-image:url('assets/k-mark-white-2603.jpg');background-size:cover;background-position:center}
.overview-mark img{display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* -------------------------------------------------
   控えめな写真中心レイアウトへの調整
   黒は文字と細い線だけに使用し、大きな面には使用しません
-------------------------------------------------- */
.global-nav .nav-contact{background:var(--red)}
.global-nav .nav-contact:hover,.global-nav .nav-contact:focus-visible{background:var(--red-dark)}

.hero-inner{min-height:650px;grid-template-columns:minmax(360px,.78fr) minmax(500px,1.22fr);gap:clamp(42px,6vw,92px);padding-block:64px}
.hero h1{font-size:clamp(34px,4.2vw,58px);line-height:1.48;letter-spacing:.01em}
.hero-lead{max-width:610px;margin-top:28px;color:var(--gray);font-size:15px;font-weight:500;line-height:1.95}
.hero-actions{margin-top:32px}.button{min-height:54px}.button-primary{background:var(--red)}
.button-primary:hover,.button-primary:focus-visible{background:var(--red-dark)}
.button-outline{border-color:var(--line)}.button-outline:hover,.button-outline:focus-visible{color:var(--black);border-color:var(--red);background:var(--white)}
.hero-photo{position:relative;min-width:0;margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--off-white)}
.hero-photo::before{content:"";position:absolute;z-index:1;top:0;left:0;width:48px;height:4px;background:var(--red)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-photo figcaption,.work-photo figcaption{position:absolute;right:12px;bottom:8px;padding:5px 8px;color:#555;background:rgba(255,255,255,.86);font-size:9px;letter-spacing:.12em}

.overview{border-bottom:1px solid var(--line);background:var(--off-white)}
.overview-inner{min-height:155px;display:grid;grid-template-columns:76px minmax(300px,.9fr) minmax(300px,1fr);align-items:center;gap:clamp(24px,5vw,72px)}
.overview-mark{width:70px;height:70px;overflow:hidden;background:#fff}.overview-mark img{width:100%;height:100%;object-fit:cover}
.overview h2{margin:0;font-size:clamp(20px,2.3vw,30px);line-height:1.5}.overview p{margin:0;color:var(--gray);font-size:13px}
.overview h2 span{display:inline-block;white-space:nowrap;margin-right:.55em}

.section-heading h2,.work h2,.about h2,.news h2,.contact h2{font-size:clamp(32px,4vw,52px);letter-spacing:.01em}
.core-card{min-height:545px;padding:clamp(34px,4.5vw,58px)}
.core-design{color:var(--black);background:var(--off-white)}
.core-card h3{margin:42px 0 18px;font-size:clamp(34px,4vw,52px)}
.core-summary{min-height:74px;margin:0 0 36px;color:var(--gray);font-size:14px;line-height:1.9}
.core-card ul{border-color:var(--line)}.core-card li{border-color:var(--line)}

.work{color:var(--black);background:var(--white)}
.work .section-kicker.light{color:var(--red)}
.work-heading>p:last-of-type{color:var(--gray)}
.work-list{border-color:var(--line)}.work-list article{border-color:var(--line)}.work-list p{color:var(--gray)}
.work-photo{position:relative;margin:38px 0 0;aspect-ratio:4/3;overflow:hidden;background:var(--off-white)}
.work-photo img{width:100%;height:100%;object-fit:cover;object-position:center}

.about-year{min-height:330px;color:var(--red);border:1px solid var(--red);background:var(--white)}
.about-year::after{color:rgba(237,0,21,.055)}

.contact{color:var(--black);border-top:1px solid var(--line);background:var(--off-white)}
.contact .section-kicker.light{color:var(--red)}
.contact-action p{color:var(--gray)}
.site-footer{color:var(--gray);border-top:1px solid var(--line);background:var(--white)}
.footer-logo{border:1px solid var(--line)}
.footer-logo{grid-column:3;grid-row:1;justify-self:end}
.footer-logo{border:0!important;outline:0!important;box-shadow:none!important}
.footer-logo img{display:block;width:100%;height:auto;object-fit:contain}
.news-list p strong,.news-list p span{display:block}.news-list p strong{font-size:1.08em;color:var(--red);margin-bottom:3px}
/* フッターは重なりを防ぐため横一列で整理 */
.footer-inner{display:flex!important;align-items:center;gap:28px}
.footer-links{order:1;flex:0 0 auto}
.footer-inner>small{order:2;white-space:nowrap}
.footer-inner>small{margin-left:clamp(18px,3vw,44px)}
.footer-logo{order:3;margin-left:auto;width:min(360px,38vw);flex:0 0 auto}
@media(max-width:720px){.footer-inner{display:flex!important;flex-wrap:wrap;gap:18px}.footer-links{order:1;width:100%;overflow-x:auto}.footer-inner>small{order:2;margin-left:0}.footer-logo{order:3;margin-left:auto;width:min(300px,78vw)}}
.footer-links{flex-wrap:nowrap;white-space:nowrap}
@media(min-width:721px) and (max-width:1060px){.footer-logo{grid-column:2}}
@media(max-width:720px){.footer-logo{grid-column:1;grid-row:auto;justify-self:start}.footer-links{gap:14px;font-size:12px}}
.footer-links a:hover,.footer-links a:focus-visible{color:var(--red)}

@media(max-width:1060px){
  .hero-inner{grid-template-columns:1fr 1.15fr;min-height:auto}
  .hero h1{font-size:clamp(32px,4.8vw,48px)}
  .overview-inner{grid-template-columns:68px 1fr}.overview-inner>p{grid-column:2}
}

@media(max-width:720px){
  .hero-inner{grid-template-columns:1fr;gap:42px;padding-block:50px}
  .hero h1{font-size:clamp(30px,8.8vw,41px);line-height:1.55}
  .hero-lead{font-size:14px}.hero-photo{aspect-ratio:4/3}
  .overview-inner{grid-template-columns:58px 1fr;gap:18px;padding-block:28px}.overview-mark{width:54px;height:54px}.overview-inner>p{grid-column:1/-1}
  .core-card{min-height:auto}.core-summary{min-height:auto}
  .work-photo{aspect-ratio:16/11}
  .about-year{min-height:250px}
}

/* -------------------------------------------------
   文字サイズ・赤アクセントの微調整
-------------------------------------------------- */
.brand{width:clamp(238px,26.35vw,378px)}
.global-nav a{font-size:14.3px}

.hero h1{font-size:clamp(26px,3vw,41px);line-height:1.58}
.section-heading h2,.work h2,.about h2,.news h2,.contact h2{font-size:clamp(24px,2.8vw,36px);line-height:1.5}
.core-card h3{font-size:clamp(26px,2.8vw,36px)}
.work-list h3{font-size:clamp(18px,1.7vw,22px)}
.process-list strong{font-size:clamp(17px,1.5vw,20px)}
.about-lead{font-size:clamp(17px,1.55vw,21px)}

.hero-lead{font-size:16.5px;font-weight:600}
.overview p,.section-heading>p,.core-summary,.work-heading>p:last-of-type,.work-list p,.about-copy>p:not(.section-kicker):not(.about-lead),.news-list p,.contact-action p{font-size:15.4px;font-weight:600}
.core-card li{font-size:14.3px;font-weight:600}
.button{font-size:14.3px}.text-link{font-size:14.3px}.footer-links a{font-size:12.1px;font-weight:600}.footer-inner small{font-size:11px;font-weight:600}
.hero-photo figcaption,.work-photo figcaption{font-size:10px;font-weight:600}

.eyebrow,.section-kicker{font-size:13.2px}.core-number{font-size:24px}.work-list article>span,.process-list span{font-size:14.4px}.news-tag{font-size:12px}

.core-card::after{border-bottom-width:38px;border-left-width:38px}
.hero-photo::before{width:28px;height:3px}
.process-list li:not(:last-child)::after{right:-13px;width:26px;height:26px;font-size:12px}

@media(max-width:1060px){
  .brand{width:min(323px,44vw)}
}

@media(max-width:720px){
  .brand{width:min(238px,65vw)}
  .hero h1{font-size:clamp(25px,7vw,31px)}
  .section-heading h2,.work h2,.about h2,.news h2,.contact h2{font-size:clamp(24px,7vw,31px)}
  .overview h2{font-size:20px}
  .process-list li:not(:last-child)::after{right:22px;bottom:-13px}
}

/* 英語サブタイトルは2行で整理 */
.eyebrow{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding-left:58px;line-height:1.35}
.eyebrow::before{position:absolute;left:0;top:9px;width:40px;height:3px}

/* 赤い数字・＋を見落とさないサイズに拡大 */
.core-number{font-size:36px}
.work-list article>span,.process-list span{font-size:21.6px}
.core-card li::after{font-size:21.5px;line-height:1}

@media(max-width:720px){
  .eyebrow{padding-left:45px;font-size:12px}
  .eyebrow::before{width:32px}
  .core-number{font-size:32px}
  .work-list article>span,.process-list span{font-size:19px}
}
.work-list article>a{display:grid;grid-template-columns:70px minmax(0,1fr);gap:22px;color:inherit;text-decoration:none}.work-list article>a>span{padding-top:5px;color:var(--red);font-size:21px;font-weight:800}.work-list article>a:hover h3,.work-list article>a:focus-visible h3{color:var(--red)}.news-list li>a{display:grid;grid-template-columns:110px minmax(0,1fr) 30px;align-items:center;gap:20px;color:inherit;text-decoration:none}.news-list li>a:hover strong{color:var(--red)}@media(max-width:720px){.work-list article>a{grid-template-columns:42px minmax(0,1fr);gap:12px}.work-list article>a>span{font-size:19px}.news-list li>a{grid-template-columns:1fr 24px;gap:8px}.news-list li>a .news-tag{grid-column:1/-1}}

/* 共通の文字設計とリンク行のレイアウト */
:root{--type-small:13px;--type-body:16px;--type-subhead:21px;--type-heading:clamp(25px,2.8vw,36px)}
body{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,Arial,sans-serif;font-size:var(--type-body);line-height:1.75;letter-spacing:.025em;overflow-wrap:anywhere}
.hero h1,.section-heading h2,.work h2,.about h2,.news h2,.contact h2{font-size:var(--type-heading);line-height:1.45;letter-spacing:0}
.section-kicker,.eyebrow,.news-tag{font-size:var(--type-small);font-weight:700;letter-spacing:.08em}
.hero-lead,.overview p,.section-heading>p,.core-summary,.work-heading>p:last-of-type,.work-list p,.news-list p,.contact-action p,.core-card li{font-size:var(--type-body);line-height:1.8;font-weight:600}
.core-card h3,.work-list h3{font-size:var(--type-subhead);line-height:1.5}
.global-nav a{font-size:16px;line-height:1.5}
.work-list article{display:block}.work-list article>a{width:100%}
.news-list li{display:block}.news-list li>a{width:100%}
.footer-inner{flex-wrap:wrap;row-gap:16px}.footer-links{flex:1 1 420px;flex-wrap:wrap;white-space:normal}.footer-links a{font-size:14px;line-height:1.5}.footer-inner>small{font-size:12px}.footer-logo{width:min(300px,30vw)}
@media(max-width:720px){:root{--type-body:15px;--type-subhead:19px;--type-heading:clamp(24px,6.5vw,30px)}.global-nav a{font-size:16px}.footer-links{flex-basis:100%;gap:12px 20px;overflow:visible}.footer-logo{width:min(280px,75vw)}.work-list article>a{grid-template-columns:42px minmax(0,1fr)}.news-list li>a{grid-template-columns:minmax(0,1fr) 24px}.news-list li>a>p{min-width:0}}

/* 見出しの太さと改行を整理 */
.hero h1,.section-heading h2,.work h2,.about h2,.news h2,.contact h2,.overview h2,.core-card h3,.work-list h3{font-weight:700}
#work-title span{display:block;white-space:nowrap}
.core-number{font-size:15px!important;font-weight:700;letter-spacing:.05em;white-space:nowrap}
.core-card-head{align-items:center}
@media(max-width:720px){#work-title{font-size:clamp(22px,5.8vw,26px)}#work-title span{white-space:nowrap}}
.process-list li:not(:last-child)::after{content:"→";width:52px;height:36px;right:-26px;top:50%;transform:translateY(-50%);border-radius:3px;font-size:26px;font-weight:800;box-shadow:0 0 0 5px var(--white)}
@media(max-width:720px){.process-list li:not(:last-child)::after{content:"↓";top:auto;right:18px;bottom:-25px;transform:none;width:38px;height:50px;font-size:27px}}
/* 業務区分の赤い文字と工程矢印 */
.core-number{font-size:var(--type-heading)!important;font-weight:700;line-height:1.45;letter-spacing:0}
.process-list li:not(:last-child)::before{content:"";position:absolute;z-index:2;top:38%;right:-13px;width:28px;height:6px;background:var(--red);transform:translateY(-50%)}
.process-list li:not(:last-child)::after{content:"";z-index:2;top:38%;right:-22px;width:19px;height:19px;border-top:6px solid var(--red);border-right:6px solid var(--red);border-radius:0;background:transparent;box-shadow:none;transform:translateY(-50%) rotate(45deg)}
@media(max-width:720px){.process-list li{min-height:140px;padding:50px 20px 16px}.process-list span{top:16px;left:20px}.process-list li:not(:last-child)::before{top:auto;right:30px;bottom:-17px;width:6px;height:28px;transform:none}.process-list li:not(:last-child)::after{top:auto;right:23px;bottom:-23px;transform:rotate(135deg)}}
/* 調査・設計の見出しを赤い文字に統一 */
.core-card-head{flex-wrap:wrap;gap:6px 18px}
.core-card .core-summary{margin-top:38px}
/* 工程の矢印はカード間に置き、説明の文字から離す */
.process-list{gap:24px;border:0}
.process-list li{border:1px solid #111}
.process-list li:not(:last-child)::before{content:none}
.process-list li:not(:last-child)::after{content:"→";display:block;top:38%;right:-25px;width:24px;height:28px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--red);font-size:27px;font-weight:700;line-height:1;transform:translateY(-50%)}
.process-heading>p span{display:block}
/* 会社案内の見出しは指定した二行を保つ */
#about-title{font-size:clamp(22px,2vw,26px);line-height:1.55}
#about-title span{display:block;white-space:nowrap}
.about-copy .text-link{margin-top:1.8em}
@media(max-width:720px){.process-list{gap:22px}.process-list li:not(:last-child)::after{content:"↓";top:auto;right:22px;bottom:-23px;width:24px;height:28px;font-size:27px;transform:none}#about-title{font-size:clamp(15px,4.6vw,18px)}}
/* 冒頭の説明を二行の見出しへ集約 */
.hero-inner{min-height:540px;grid-template-columns:minmax(470px,1fr) minmax(400px,1fr)}
#hero-title{font-size:24px;line-height:1.65;letter-spacing:0}
#hero-title .hero-line{display:block;white-space:nowrap}
#hero-title .hero-line::after{content:none}
@media(max-width:1060px){.hero-inner{grid-template-columns:1fr;min-height:0}#hero-title{font-size:24px}}
@media(max-width:720px){#hero-title{font-size:clamp(17px,4.5vw,21px)}#hero-title .hero-line{white-space:normal;word-break:keep-all}}
/* 上段の見出しと中段の見出しの文字サイズを共通化 */
.hero-inner{grid-template-columns:minmax(0,1.48fr) minmax(360px,.84fr);gap:clamp(24px,3vw,44px)}
#hero-title{font-size:var(--type-heading);line-height:1.45}
#hero-title .hero-line{white-space:normal;word-break:keep-all}
/* Kマークの横は説明文だけにする */
.overview-inner{grid-template-columns:76px minmax(0,1fr)}
.overview-inner>p{grid-column:2}
@media(max-width:1060px){.hero-inner{grid-template-columns:1fr}#hero-title{font-size:var(--type-heading)}.overview-inner{grid-template-columns:68px minmax(0,1fr)}.overview-inner>p{grid-column:2}}
@media(max-width:720px){#hero-title{font-size:var(--type-heading)}.overview-inner{grid-template-columns:54px minmax(0,1fr)}.overview-inner>p{grid-column:2}}
