/* index.html 専用。common.css の後に読む */
@font-face{font-family:HRPHand;src:url('../assets/yomogi.ttf') format('truetype');font-display:swap}
@font-face{font-family:HRPScript;src:url('../assets/nothing-you-could-do.ttf') format('truetype');font-display:swap}
:root{--rn-blue:#0075f6;--rn-cyan:#00baf2;--rn-ink:#071a33;--rn-body:#435978;--rn-light:#eff8fd;--rn-line:#dcebf3;--rn-max:1120px}
html{scroll-behavior:auto}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;color:var(--rn-ink);background:#f3faff;line-height:1.85}
button{font:inherit}
img{display:block;max-width:100%;height:auto}
button,a{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:3px solid #009ce3;outline-offset:5px}
h1,h2,h3,p{margin:0}
button{cursor:pointer}
svg{max-width:100%}
.rn-page{min-width:0}
.rn-header{position:relative;z-index:20;display:flex;align-items:center;gap:26px;max-width:var(--rn-max);height:78px;padding:0 30px;margin:auto;background:#fffffff2}
.rn-brand{display:block;flex-shrink:0;width:211px}
.rn-brand img{width:100%;height:auto}
.rn-brand small{font:8px/1.4 Arial,sans-serif;letter-spacing:.14em;display:block;margin:3px 0 0 53px}
.rn-nav{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex:1;font-size:11px;font-weight:700;white-space:nowrap}
.rn-nav a{padding:10px 0}
.rn-nav [aria-current=page]{color:var(--rn-blue)}
.rn-entry-link,.rn-btn{display:inline-flex;justify-content:center;align-items:center;gap:22px;border:1px solid transparent;border-radius:40px;background:linear-gradient(100deg,#00a7f9,#005efa);color:#fff;font:700 13px/1.4 Arial,sans-serif;letter-spacing:.12em;padding:16px 24px;min-height:48px;white-space:nowrap}
.rn-entry-link{min-width:114px;padding:13px 19px;font-size:11px}
.rn-entry-link span{font-size:20px;font-weight:400}
.rn-menu{display:flex;flex-direction:column;justify-content:center;gap:5px;flex-shrink:0;width:28px;height:38px;background:none;border:0;padding:3px;color:var(--rn-blue)}
.rn-menu span{display:block;width:22px;height:1px;background:currentColor}
.rn-header .rn-nav.is-open{position:absolute;top:78px;right:0;width:360px;background:white;box-shadow:0 18px 28px #12345618;padding:24px;display:flex;flex-direction:column;align-items:stretch;gap:0;white-space:normal}
.rn-header .rn-nav.is-open a{padding:16px;border-bottom:1px solid var(--rn-line)}
.rn-footer{max-width:var(--rn-max);margin:auto;padding:35px 30px 22px;background:#fff;display:flex;align-items:flex-start;flex-wrap:wrap;gap:24px}
.rn-footer .rn-brand{width:188px}
.rn-footer small{font:10px/1.5 Arial;width:100%;text-align:right;color:#64758a}
.rn-dialog{border:1px solid #d4e4f0;border-radius:16px;max-width:520px;width:calc(100% - 40px);padding:36px;color:var(--rn-ink);box-shadow:0 25px 80px #061b3540}
.rn-dialog h2{font-size:23px;margin-bottom:15px}
.rn-dialog p{font-size:14px;margin-bottom:24px}
.rn-dialog button{border:0}
@media (max-width:900px){
.rn-header{gap:18px;padding:0 22px}
.rn-brand{width:190px}
.rn-nav{gap:15px;font-size:10px}
body{background:#fff}
.rn-header{height:72px;padding:0 20px;gap:17px}
.rn-brand{width:178px;margin-right:auto}
.rn-brand small{font-size:6px;margin-left:44px}
.rn-nav{display:none}
.rn-entry-link{min-width:80px;padding:11px 14px;min-height:38px;font-size:10px;gap:10px}
.rn-menu{width:23px}
.rn-footer{padding:30px 24px;gap:25px}
.rn-footer .rn-brand{width:180px}
.rn-footer small{text-align:left}
}
@media (max-width:370px){
.rn-header{gap:12px;padding:0 16px}
.rn-brand{width:150px}
.rn-entry-link{min-width:70px;padding:10px;font-size:9px}
}
.home-renewal{background:#fff;--rn-max:1440px}
.home-renewal main{max-width:1440px;margin:auto}
.home-renewal .rn-header{height:78px;position:absolute;left:0;right:0;background:transparent;padding-left:4%;padding-right:4%}
.home-renewal .rn-entry-link{background:#081e35}
.home-renewal .rn-menu{color:#132a40}
.hm-hero{position:relative;height:clamp(610px,55vw,790px);isolation:isolate;overflow:hidden;background:#dfeaf3}
.hm-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.hm-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff9,transparent 48%);pointer-events:none}
.hm-hero-copy{padding:120px 0 0 6%;width:52%}
.hm-micro{font:700 9px/1.8 Arial;letter-spacing:.1em;color:#536171;margin-bottom:34px}
.hm-hero h1{font-size:clamp(40px,4.45vw,64px);font-weight:800;line-height:1.25;letter-spacing:-.05em;transform:rotate(-4deg);transform-origin:left top;margin-bottom:34px}
.hm-hero h1 span{color:#31729e}
.hm-intro{font-size:clamp(13px,1.25vw,17px);font-weight:600;line-height:1.95;letter-spacing:.05em}
.hm-scroll{display:flex;flex-direction:column;gap:13px;font:700 9px/1.4 Arial;letter-spacing:.08em;margin-top:36px}
.hm-scroll span{height:75px;width:1px;background:#506475;margin-left:12px}
.hm-vertical{position:absolute;right:5%;top:26%;writing-mode:vertical-rl;white-space:nowrap;font-size:clamp(15px,1.65vw,23px);line-height:2;letter-spacing:.18em;font-weight:700}
.home-renewal .rn-footer{padding:45px 4%}
@media (max-width:900px){
.home-renewal .rn-header{position:relative;height:72px;padding:0 20px;background:white}
.hm-hero{height:auto;display:flex;flex-direction:column;background:#edf6fb}
.hm-hero-photo{position:relative;inset:auto;height:390px;object-fit:cover;object-position:65% center;z-index:0;order:1}
.hm-hero:after{display:none}
.hm-hero-copy{width:100%;padding:32px 26px 38px;order:2}
.hm-micro{font-size:8px;line-height:1.6;margin-bottom:20px}
.hm-micro br{display:none}
.hm-micro{word-spacing:6px}
.hm-hero h1{font-size:39px;line-height:1.28;margin-bottom:22px;transform:rotate(-3deg)}
.hm-intro{font-size:13px;line-height:1.95;letter-spacing:0}
.hm-intro br{display:none}
.hm-scroll{display:none}
.hm-vertical{font-size:14px;top:60px;right:16px;writing-mode:vertical-rl;z-index:2}
.home-renewal .rn-footer{padding:30px 24px}
}
@media (max-width:370px){
.hm-hero h1{font-size:34px}
.hm-hero-photo{height:330px}
.hm-hero-copy{padding:26px 22px 32px}
}
.hm-about{position:relative;display:grid;grid-template-columns:39% 37% 24%;min-height:550px;background:white;margin-top:-50px;clip-path:polygon(0 10%,100% 0,100% 100%,0 100%)}
.hm-about-people{position:relative;overflow:hidden;min-height:550px}
.hm-about-people img{width:100%;height:100%;object-fit:cover;object-position:49% center;filter:brightness(.65) saturate(.75)}
.hm-about-people p{position:absolute;bottom:34px;left:12%;color:white;font:700 clamp(28px,3.6vw,50px)/1.08 Arial;letter-spacing:.015em}
.hm-about-people small{display:block;font:500 16px/1.5 sans-serif;letter-spacing:.08em;margin-top:18px}
.hm-about-copy{padding:95px 38px 30px}
.hm-label{font:700 12px/1.4 Arial;letter-spacing:.07em;margin-bottom:24px}
.hm-about h2{font-size:34px;line-height:1.35;letter-spacing:.015em;margin-bottom:24px}
.hm-about-copy>p:not(.hm-label){font-size:13px;line-height:1.95}
.hm-text-link{display:inline-flex;gap:30px;align-items:center;margin-top:26px;font-size:14px;font-weight:700;letter-spacing:.05em}
.hm-text-link span{font-size:22px;font-weight:400}
.hm-about-small{position:absolute;right:4%;bottom:35px;font:8px/1.8 Arial;letter-spacing:.1em}
@media (max-width:900px){
.hm-about{margin-top:0;clip-path:none;display:grid;grid-template-columns:1fr 1fr}
.hm-about-people{grid-column:1/-1;min-height:310px;height:310px}
.hm-about-people img{object-position:center 42%}
.hm-about-people p{left:25px;font-size:32px;bottom:24px}
.hm-about-people small{font-size:13px}
.hm-about-copy{grid-column:1/-1;padding:40px 26px}
.hm-about h2{font-size:29px}
.hm-about-copy>p:not(.hm-label){font-size:13px}
.hm-about-small{left:26px;right:auto;bottom:45px;font-size:10px}
}
.hm-business{display:grid;grid-template-columns:minmax(0,1fr) clamp(280px,26%,420px);min-height:455px;background:white}
.hm-business-photo{position:relative;overflow:hidden}
.hm-business-photo>img{width:100%;height:100%;object-fit:cover;object-position:63% center}
.hm-business-panel{position:absolute;inset:0;background:#fffffff2;clip-path:polygon(12% 0,45% 0,85% 100%,12% 100%);padding:35px 14% 20px}
.hm-business-panel h2{font-size:clamp(19px,1.85vw,26px);line-height:1.45;max-width:54%}
.hm-business-panel .hm-label{margin-bottom:16px}
.hm-fields{font:800 clamp(30px,5.5vw - 18px,58px)/1 Arial;letter-spacing:-.04em;margin-top:18px;color:#243c50}
.hm-business-copy{padding:55px clamp(20px,2.4vw,34px) 30px}
.hm-business-copy h3{font-size:17px;line-height:1.7;margin-bottom:20px}
.hm-business-copy>p{font-size:13px;line-height:1.95;letter-spacing:.03em}
.hm-business-copy .hm-text-link{font-size:13px;gap:22px}
@media (max-width:900px){
.hm-business{display:block}
.hm-business-photo{height:365px}
.hm-business-panel{padding:30px 26px;background:#fffffff0;clip-path:polygon(0 0,45% 0,98% 100%,0 100%)}
.hm-business-panel h2{font-size:21px}
.hm-fields{font-size:34px;line-height:1.1}
.hm-business-copy{padding:35px 26px 40px}
.hm-business-copy>p{font-size:14px}
.hm-business-copy>p br{display:none}
.hm-business-copy .hm-text-link{font-size:14px}
}
.hm-business-panel{background:#fff}
.hm-business-copy h3{font-size:15px}
.hm-business-copy{padding-left:28px;padding-right:24px}
@media (max-width:900px){
.hm-business-copy h3{font-size:20px}
.hm-business-panel{isolation:isolate;clip-path:none;background:transparent}
.hm-business-panel:before{content:'';position:absolute;inset:0;z-index:-1;background:white;clip-path:polygon(0 0,75% 0,100% 100%,0 100%)}
.hm-business-panel h2{font-size:clamp(17px,4.8vw,21px)}
.hm-fields{font-size:clamp(26px,8vw,34px)}
}
html{scroll-padding-top:100px}
body.site-finished :is(.rn-btn,.rn-entry-link,.hm-text-link)>span{display:inline-block;transition:transform .22s ease}
@media (min-width:901px){
body.site-finished:is(.home-renewal,.about-page,.school-renewal)>.rn-header{position:absolute;background:transparent;border-color:transparent}
}
@media (max-width:700px){
html{scroll-padding-top:86px}
body.site-finished .rn-header .rn-entry-link span{font-size:18px}
}
@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto!important}
}
.hrp-menu-caption span{font-size:9px;letter-spacing:.08em}
.hrp-menu-links a{position:relative;display:flex;align-items:center;gap:22px;min-height:68px;padding:16px 0;border-bottom:1px solid #e2eaf0;color:#081e35;text-decoration:none;font-size:clamp(20px,2vw,29px);font-weight:500;letter-spacing:.035em;line-height:1.4;opacity:0;transform:translateX(55px);transition:opacity .25s,transform .4s cubic-bezier(.22,1,.36,1),color .2s}
.hrp-menu-links a[aria-current="page"]{color:#2679ac}
.hrp-menu-entry span{font-size:24px;transition:transform .25s}
.hrp-menu-close span{position:absolute;left:13px;top:23px;width:22px;height:1.5px;background:currentColor;transform:rotate(0deg);transition:transform .45s}
@media (hover:hover) and (pointer:fine){
.hrp-menu-links a:hover{color:#2679ac}
}
@media (max-width:700px){
.hrp-menu-links a{min-height:62px;font-size:21px;gap:18px}
.hrp-menu-caption span{font-size:8px}
}
@media (max-height:560px){
.hrp-menu-links a{min-height:52px;padding:12px 0}
}
@media (prefers-reduced-motion:reduce){
.hrp-menu-panel,.hrp-menu-curve,.hrp-menu-links a,.hrp-menu-close span,.hrp-menu-entry,.hrp-menu-entry span{transition:none!important}
}
@media (max-width:700px){
.hm-intro,.hm-about-copy > p:not(.hm-label){font-size:14px; line-height:1.95;}
.hm-about-copy > p:not(.hm-label) br{display:none;}
.hm-micro,.hm-about-small{font-size:12px;}
}
.hm-growth-replacement{position:relative;width:100%;background:#102b3e}
.hm-image-link{position:absolute;display:block;border-radius:4px}
.hm-image-link:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px #0575ac}
body.site-finished :is(.hm-hero,.about-hero,.cn-hero,.cr-hero,.rr-hero,.sc-hero,.work-hero,.tr-hero,.environment-hero){--hrp-inset:var(--hrp-gutter);
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
  box-sizing:border-box;
  container-type:inline-size;}
@media (max-width:900px){
body.site-finished :is(.hm-hero,.about-hero,.cn-hero,.cr-hero,.rr-hero,.sc-hero,.work-hero,.tr-hero,.environment-hero){--hrp-inset:24px}
}
body.home-renewal.site-finished .hm-about{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.home-renewal.site-finished .hm-about-people{grid-column:1;grid-row:1 / 3}
body.home-renewal.site-finished .hm-about-copy{grid-column:2;grid-row:1;padding-bottom:20px;min-width:0}
body.home-renewal.site-finished :is(.hm-about-copy,.hm-about-small){text-align:center}
body.home-renewal.site-finished .hm-about-small{position:static;
  grid-column:2;
  grid-row:2;
  align-self:end;
  margin:0;
  padding:0 38px 30px;}
@media (max-width:900px){
body.home-renewal.site-finished .hm-about{grid-template-columns:minmax(0,1fr)}
body.home-renewal.site-finished .hm-about-people{grid-column:1;grid-row:1}
body.home-renewal.site-finished .hm-about-copy{grid-column:1;grid-row:2;padding-bottom:24px}
body.home-renewal.site-finished .hm-about-small{grid-column:1;grid-row:3;padding:0 26px 30px}
body.site-finished.home-renewal .hm-hero .hm-vertical{position: absolute;
    inset: 20px auto auto 18px;
    width: calc(100% - 36px);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    writing-mode: horizontal-tb;
    text-align: left;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.8;
    letter-spacing: .05em;
    color: #fff;
    text-shadow: 0 1px 3px #071a3399, 0 0 10px #071a3366;
    z-index: 2;}
body.home-renewal.site-finished .hm-about-small{display: none;}
body.home-renewal.site-finished .hm-business-photo{height: 365px;}
body.home-renewal.site-finished .hm-business-photo > img{width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 63% center;}
body.home-renewal.site-finished .hm-business-panel{position: absolute;
    inset: 0;
    width: 100%;
    padding: 26px 24px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #071a33bf, #071a334d);
    clip-path: none;
    color: #fff;}
body.home-renewal.site-finished .hm-business-panel::before{display: none;}
body.home-renewal.site-finished .hm-business-panel :is(h2,.hm-fields,.hm-label){color: #fff;
    text-shadow: 0 1px 4px #071a3380;}
body.home-renewal.site-finished .hm-business-panel .hm-fields{font-size: clamp(22px, 6.8vw, 34px);
    line-height: 1.15;
    overflow-wrap: normal;}
}
.hm-business-mobile-label{display: none;}
@media (max-width:900px){
body.home-renewal.site-finished .hm-business-panel .hm-label{display: none;}
body.home-renewal.site-finished .hm-business-copy{text-align: center;
    padding: 40px 26px 24px;}
body.home-renewal.site-finished .hm-business-copy > .hm-business-mobile-label{display: block;
    font: 700 12px/1.4 Arial;
    letter-spacing: .07em;
    margin: 0 0 24px;}
body.home-renewal.site-finished .hm-business-copy h3{font-size: 29px;
    line-height: 1.35;
    letter-spacing: .015em;
    margin-bottom: 24px;}
body.home-renewal.site-finished .hm-business-copy > p:not(.hm-label){font-size: 14px;
    line-height: 1.95;
    letter-spacing: inherit;}
body.home-renewal.site-finished .hm-business-copy .hm-text-link{font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;}
}
.hm-business-mobile-overlay{display: none;}
@media (max-width:900px){
body.home-renewal.site-finished .hm-business-panel > :is(h2,.hm-fields){display: none;}
body.home-renewal.site-finished .hm-business-mobile-overlay{display: flex;
    flex-direction: column;
    gap: 24px;
    color: #fff;
    text-shadow: 0 1px 4px #071a3380;}
body.home-renewal.site-finished .hm-business-mobile-values{font: 800 clamp(25px,7.5vw,34px)/1.15 Arial,sans-serif;
    letter-spacing: -.02em;
    margin: 0;}
body.home-renewal.site-finished .hm-business-mobile-message{font-size: clamp(16px,4.4vw,20px);
    font-weight: 700;
    line-height: 1.6;
    margin: 0;}
body.home-renewal.site-finished .hm-business-closing{white-space: nowrap;}
}
/* 成長ストーリー（どの幅でも文字で組む。PCの並びは末尾の min-width:901px で指定） */
body.home-renewal.site-finished .hm-growth-mobile{display: block; background: #edf6fb; color: #071a33; text-align: center;}
.hm-growth-mobile-intro{padding: 36px 20px 24px;}
.hm-growth-mobile-intro .hm-label{margin-bottom: 20px;}
.hm-growth-mobile h2{font-size: clamp(22px,6vw,29px); line-height: 1.5; letter-spacing: .015em; margin: 0;}
.hm-growth-mobile-photo{position: relative; width: 100%; aspect-ratio: 8 / 3; overflow: hidden;}
.hm-growth-mobile-body{padding: 24px 22px 32px;}
.hm-growth-mobile-body > p{font-size: 14px; line-height: 1.95; margin: 0 0 16px;}
.hm-growth-mobile-timeline{display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; margin: 28px 0; padding: 0;}
.hm-growth-mobile-timeline li{display: flex; flex-direction: column; align-items: center; border-top: 2px solid #197cad; padding-top: 14px;}
.hm-growth-mobile-timeline strong{font: 700 29px/1.3 Arial,sans-serif; color: #197cad;}
.hm-growth-mobile-timeline span{margin-top: 8px; font-size: 13px; line-height: 1.7;}
.hm-growth-mobile-timeline b{font-size: 18px;}
.hm-growth-mobile .hm-growth-mobile-note{font-size: 19px; font-weight: 700;}
.hm-growth-mobile .hm-text-link{justify-content: center; max-width: 100%; margin-top: 12px; font-size: 14px; gap: 16px;}
.hm-growth-mobile-career{background: #102b3e; color: #fff; padding: 32px 22px;}
.hm-growth-mobile-career h2{font-size: clamp(20px,5.2vw,25px);}
.hm-growth-mobile-career p{font-size: 14px; line-height: 1.95; margin: 18px 0;}
.hm-growth-mobile-career .hm-text-link{color: #fff;}
@media (min-width:901px){
body.site-finished :is(.hm-hero,.about-hero,.cn-hero,.cr-hero,.rr-hero,.sc-hero,.work-hero,.tr-hero,.environment-hero,.hm-growth-replacement,.about-growth,.rev-entry,.rr-future,.rr-entry-form,.culture-preparing){width:100%;max-width:none;margin-left:0;margin-right:0;--hrp-inset:var(--hrp-gutter);}
}
/* ---- 2026-11-06 トップの見た目の修正 ----
   ・ヒーロー下のつなぎ目：斜めカットの高さを、上へずらした量と同じ50pxに固定し白い帯を出さない
   ・ABOUT／BUSINESS の写真を左端までつける
   ・スマホ・タブレット（〜900px）のヒーロー：写真を画面いっぱいの縦長に敷き、下部を暗くして白い見出しと本文を重ねる
     「エンジニアという選択で、」は左上の空に縦書きで置く（11/6 決定）
   ・本文は言葉の切れ目で折り返す（1文字だけ次の行に落ちるのを防ぐ） */
body.site-finished.home-renewal :is(.hm-hero,.hm-growth-replacement){width:100%;max-width:none;margin-inline:0}
body.site-finished.home-renewal :is(.hm-about,.hm-business){padding-left:0}
@media (min-width:901px){
body.site-finished.home-renewal .hm-about{clip-path:polygon(0 50px,100% 0,100% 100%,0 100%)}
}
body.site-finished.home-renewal .hm-hero-photo{object-position:62% center}
@media (min-width:901px){
body.site-finished.home-renewal .hm-hero .hm-vertical{right:clamp(2.5%,(100vw - 1000px) * .17,5%);font-size:clamp(14px,1.65vw - 1px,23px)}
}
@media (max-width:900px){
body.site-finished.home-renewal :is(.hm-about-copy,.hm-business-copy) p br{display:none}
body.site-finished.home-renewal :is(.hm-about-copy,.hm-business-copy,.hm-growth-mobile) p{text-wrap:pretty;word-break:auto-phrase}
body.site-finished.home-renewal :is(.hm-about h2,.hm-business-copy h3,.hm-growth-mobile h2){word-break:auto-phrase;text-wrap:balance}
body.site-finished.home-renewal :is(.hm-about,.hm-business,.hm-growth-replacement){width:100%;max-width:none;margin-inline:0;padding-inline:0}
body.site-finished.home-renewal .hm-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(100svh - 72px);max-height:820px;background:#0b1a2c;overflow:hidden}
body.site-finished.home-renewal .hm-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:46% top;z-index:0}
body.site-finished.home-renewal .hm-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,26,51,0) 38%,rgba(7,26,51,.55) 62%,rgba(7,26,51,.9) 100%);z-index:1;pointer-events:none}
body.site-finished.home-renewal .hm-hero-copy{position:relative;z-index:2;background:transparent;color:#fff;padding:0 24px 34px}
body.site-finished.home-renewal .hm-micro{color:rgba(255,255,255,.75);font-size:12px}
body.site-finished.home-renewal .hm-hero h1{color:#fff;font-size:clamp(34px,9.6vw,44px);text-shadow:0 2px 18px rgba(0,0,0,.25)}
body.site-finished.home-renewal .hm-hero h1 span{color:#8fd0ff}
body.site-finished.home-renewal .hm-intro{color:rgba(255,255,255,.92)}
body.site-finished.home-renewal .hm-hero .hm-vertical{top:20px;bottom:auto;left:18px;right:auto;width:auto;color:#0c2d55;writing-mode:vertical-rl;font-size:14px;letter-spacing:.16em;white-space:nowrap;text-shadow:0 0 12px rgba(255,255,255,.7);z-index:2}
body.site-finished.home-renewal .hm-intro{text-wrap:pretty;word-break:auto-phrase}
/* 2026-11-11 縦書き（上から約215pxまで）の下に見出しが来るよう上を空ける。背の低い画面では重ならない分だけヒーローが伸びる */
body.site-finished.home-renewal .hm-hero{padding-top:240px}
}
/* どの画面幅でも、本文は言葉の切れ目で折り返し、1〜2文字だけ次の行に落ちないようにする */
body.site-finished.home-renewal :is(.hm-about-copy,.hm-business-copy,.hm-growth-mobile) p{text-wrap:pretty;word-break:auto-phrase}
body.site-finished.home-renewal :is(.hm-about h2,.hm-business-copy h3,.hm-business-panel h2,.hm-growth-mobile h2){word-break:auto-phrase}
/* ---- 2026-11-08 成長ストーリー：文字入り画像をやめ、どの幅でも文字で組む ---- */
body.home-renewal.site-finished .hm-growth-mobile{display:block}
body.home-renewal.site-finished .hm-growth-mobile-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 60%}
@media (min-width:901px){
  body.home-renewal.site-finished .hm-growth-mobile{display:grid;grid-template-columns:minmax(0,1fr);background:#edf6fb;text-align:left}
  body.home-renewal.site-finished .hm-growth-mobile>*{grid-column:1}
  /* 写真を横いっぱいに敷き（白いモヤなし）、青空の左上に見出しと本文、中央〜右に年表の線と手書きを重ねる */
  body.home-renewal.site-finished .hm-growth-mobile{--gh:calc(100vw * 840 / 1536);position:relative;grid-template-rows:auto 1fr auto}
  body.home-renewal.site-finished .hm-growth-mobile-photo{grid-row:1/3;aspect-ratio:auto;height:var(--gh);min-height:0}
  body.home-renewal.site-finished .hm-growth-mobile-photo img{object-position:50% 33%}
  body.home-renewal.site-finished .hm-growth-mobile :is(.hm-growth-mobile-intro,.hm-growth-mobile-body){text-shadow:0 0 8px rgba(255,255,255,.45)}
  body.home-renewal.site-finished .hm-growth-mobile-intro{grid-row:1;position:relative;z-index:1;align-self:start;padding:calc(var(--gh) * .07) 0 0 var(--hrp-gutter);max-width:calc(min(34vw,500px) + var(--hrp-gutter))}
  body.home-renewal.site-finished .hm-growth-mobile h2{font-size:clamp(26px,2.4vw,38px)}
  body.home-renewal.site-finished .hm-growth-mobile-body{grid-row:2;position:static;z-index:1;align-self:start;padding:16px 0 0 var(--hrp-gutter);max-width:calc(min(31vw,460px) + var(--hrp-gutter))}
  body.home-renewal.site-finished .hm-growth-mobile-body>p{position:relative;z-index:1;font-size:clamp(13px,1vw,15px);line-height:1.95;margin-bottom:6px}
  body.home-renewal.site-finished .hm-growth-mobile .hm-text-link{position:relative;z-index:1;justify-content:flex-start;margin-top:clamp(12px,1.6vw,28px)}
  /* 年表：2023（左下）から2030（右上）へ伸びる線 */
  body.home-renewal.site-finished .hm-growth-mobile-timeline{position:absolute;z-index:1;left:51.5%;top:calc(var(--gh) * .20);width:31%;height:calc(var(--gh) * .19);max-width:none;margin:0;padding:0;display:block;background:linear-gradient(to bottom right,transparent calc(50% - 1.5px),#1f7fb8 calc(50% - 1px),#1f7fb8 calc(50% + 1px),transparent calc(50% + 1.5px))}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li{position:absolute;display:block;border:0;padding:0;text-align:left;white-space:nowrap}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li::after{content:'';position:absolute;width:clamp(12px,1.1vw,18px);aspect-ratio:1;border-radius:50%;background:#1f7fb8;box-shadow:0 0 0 2px #fff}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li{padding-bottom:clamp(14px,1.4vw,22px)}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li::after{left:0;bottom:0;transform:translate(-50%,50%)}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li:first-child{left:0;bottom:0;margin-left:-.4em}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li:first-child::after{left:.4em}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li:last-child{left:100%;bottom:100%;margin-left:-.4em;margin-bottom:0}
  body.home-renewal.site-finished .hm-growth-mobile-timeline li:last-child::after{left:.4em}
  body.home-renewal.site-finished .hm-growth-mobile-timeline strong{display:block;font:700 clamp(22px,2.1vw,34px)/1.1 Arial,sans-serif;color:#071a33}
  body.home-renewal.site-finished .hm-growth-mobile-timeline span{display:block;margin-top:4px;font-size:clamp(11px,.95vw,14px);font-weight:700;line-height:1.5;color:#071a33}
  body.home-renewal.site-finished .hm-growth-mobile-timeline b{font-size:inherit}
  body.home-renewal.site-finished .hm-growth-mobile-timeline br{display:block}
  /* 手書きの「まだ、ここからだ。」 */
  body.home-renewal.site-finished .hm-growth-mobile .hm-growth-mobile-note{position:absolute;z-index:1;left:72%;top:calc(var(--gh) * .29);margin:0;font:400 clamp(24px,2.5vw,40px)/1.55 HRPHand,sans-serif;color:#0c2d55;transform:rotate(-4deg);text-shadow:0 0 12px rgba(255,255,255,.6)}
  body.home-renewal.site-finished .hm-growth-mobile-note span{display:block}
  body.home-renewal.site-finished .hm-growth-mobile-note span+span{padding-left:.4em}
  /* 901〜1279px：本文が左の人物の頭に重なるため、本文とリンクは写真の下に回す（見出し・年表・手書きは写真の上のまま） */
  @media (max-width:1279px){
    body.home-renewal.site-finished .hm-growth-mobile-photo{grid-row:1/2}
    body.home-renewal.site-finished .hm-growth-mobile-body{max-width:none;padding:28px var(--hrp-gutter) 36px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;align-items:end;text-shadow:none}
    body.home-renewal.site-finished .hm-growth-mobile-body>p{grid-column:1;max-width:640px}
    body.home-renewal.site-finished .hm-growth-mobile .hm-text-link{grid-column:2;grid-row:1/3;align-self:end;margin:0 0 6px}
  }
  /* 紺の帯：見出しを左、説明とリンクを右に */
  body.home-renewal.site-finished .hm-growth-mobile-career{grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:48px;padding:48px var(--hrp-gutter)}
  body.home-renewal.site-finished .hm-growth-mobile-career h2{grid-row:1/3;font-size:clamp(24px,2.2vw,32px)}
  body.home-renewal.site-finished .hm-growth-mobile-career p{margin:0 0 12px}
}
