:root {
  --navy: #071b31;
  --navy-2: #0b2947;
  --blue: #1468a8;
  --cyan: #39a9dc;
  --paper: #f4f7f9;
  --white: #ffffff;
  --ink: #132235;
  --muted: #5f6c7b;
  --line: #dbe2e8;
  --soft-blue: #eaf4fa;
  --shadow: 0 22px 60px rgba(7,27,49,.12);
  --radius: 6px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.8; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
address { font-style: normal; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 920px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 10px 16px; color: var(--white); background: var(--navy); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(7,27,49,.08); backdrop-filter: blur(16px); transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 8px 28px rgba(7,27,49,.1); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 46px; height: 42px; display: block; flex: 0 0 auto; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 17px; letter-spacing: .08em; }
.brand-copy small { margin-top: 4px; color: #687789; font-size: 9px; letter-spacing: .13em; }
.global-nav { display: flex; align-items: center; gap: 22px; }
.global-nav a { position: relative; color: #28394c; text-decoration: none; font-size: 14px; font-weight: 650; letter-spacing: .04em; }
.global-nav a:not(.nav-contact)::after { content: ""; position: absolute; right: 0; bottom: -12px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.global-nav a:hover::after, .global-nav a.is-current::after { transform: scaleX(1); }
.global-nav .nav-contact { padding: 11px 19px; color: var(--white); background: var(--navy); border-radius: 2px; transition: transform .2s ease, background .2s ease; }
.global-nav .nav-contact:hover { background: var(--blue); }
.menu-button { display: none; }

.hero { position: relative; min-height: 560px; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,16,30,.95) 0%, rgba(7,27,49,.85) 42%, rgba(7,27,49,.48) 72%, rgba(7,27,49,.36) 100%), linear-gradient(0deg, rgba(4,16,30,.48), transparent 45%); }
.hero::after { content: ""; position: absolute; z-index: 2; left: 0; bottom: 0; width: 34%; height: 4px; background: linear-gradient(90deg, var(--cyan), transparent); }
.hero-photo { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; object-position: center 52%; opacity: .84; animation: hero-drift 16s ease-in-out infinite alternate; }
.hero-grid { position: absolute; z-index: 2; inset: 0; opacity: .07; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(90deg, black, transparent 74%); }
.hero-inner { position: relative; z-index: 3; min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(285px, .58fr); align-items: center; gap: 64px; padding-top: 58px; padding-bottom: 58px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .19em; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.22; letter-spacing: .02em; text-wrap: balance; animation: rise-in .8s ease both .08s; }
.hero h1 .accent { color: #83cff1; }
.eyebrow { animation: rise-in .65s ease both; }
.hero-lead { max-width: 610px; margin: 24px 0 0; color: #d7e2ec; font-size: 17px; animation: rise-in .8s ease both .16s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise-in .8s ease both .24s; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 24px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-weight: 750; letter-spacing: .03em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(4,16,30,.16); }
.button-primary { color: var(--navy); background: var(--white); }
.button-primary:hover { color: var(--white); background: var(--blue); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.45); }
.button-outline:hover { border-color: var(--cyan); background: rgba(57,169,220,.12); }
.hero-panel { padding: 28px; border: 1px solid rgba(255,255,255,.22); border-left: 3px solid #74c8ee; border-radius: var(--radius); background: rgba(8,31,54,.72); box-shadow: 0 26px 70px rgba(0,0,0,.18); backdrop-filter: blur(10px); animation: panel-in .9s ease both .25s; }
.panel-label { margin: 0 0 18px; color: #83cff1; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.license-number { margin: 0; color: #dce8f2; font-size: 16px; }
.license-number strong { display: inline-block; margin-top: 5px; color: var(--white); font-size: 29px; line-height: 1.3; }
.panel-rule { height: 1px; margin: 27px 0; background: rgba(255,255,255,.18); }
.hero-facts { margin: 0; }
.hero-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; }
.hero-facts dt { color: #aab8c6; font-size: 13px; }
.hero-facts dd { margin: 0; font-weight: 700; }

.section { padding: 90px 0; }
.split-heading { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.section h2, .contact-banner h2 { margin: 0; color: var(--navy); font-size: clamp(31px, 4vw, 48px); line-height: 1.35; letter-spacing: .02em; }
.intro-copy { padding-top: 9px; }
.intro-copy p { margin: 0 0 20px; color: #425266; font-size: 17px; }
.section-photo { max-width: 540px; aspect-ratio: 2.05 / 1; margin: 0 0 28px; overflow: hidden; background: #dce4e9; border-radius: var(--radius); box-shadow: var(--shadow); }
.section-photo img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .9; transition: transform .6s ease, opacity .3s ease; }
.section-photo:hover img { transform: scale(1.035); opacity: 1; }
.text-link { display: inline-flex; gap: 12px; margin-top: 16px; color: var(--blue); text-decoration: none; font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.capability-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; background: var(--line); border: 1px solid var(--line); }
.capability-summary article { min-height: 175px; padding: 28px; background: var(--white); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.capability-summary article:hover { z-index: 1; transform: translateY(-4px); background: var(--soft-blue); box-shadow: 0 16px 38px rgba(7,27,49,.1); }
.capability-summary span { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.capability-summary h3 { margin: 17px 0 5px; color: var(--navy); font-size: 20px; }
.capability-summary p { margin: 0; color: var(--muted); font-size: 14px; }

.services-section { position: relative; color: var(--white); background: linear-gradient(135deg, var(--navy-2), #071d34 68%); }
.services-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: radial-gradient(circle at 78% 14%, rgba(57,169,220,.16), transparent 28%); }
.services-section > .container { position: relative; }
.section-kicker.light { color: #83cff1; }
.services-section h2, .contact-banner h2, .page-hero h1 { color: var(--white); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 45px; }
.section-heading-row > p { margin: 0 0 7px; color: #b8c6d3; }
.service-visual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.service-visual-grid figure { position: relative; aspect-ratio: 16 / 8.5; margin: 0; overflow: hidden; background: #112e4b; border-radius: var(--radius); }
.service-visual-grid img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .76; filter: saturate(.82); transition: transform .55s ease, opacity .3s ease, filter .3s ease; }
.service-visual-grid figure:hover img { transform: scale(1.04); opacity: .94; filter: saturate(1); }
.service-visual-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 38px 20px 17px; color: var(--white); background: linear-gradient(transparent, rgba(4,16,30,.9)); font-size: 15px; font-weight: 750; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.service-card { min-height: 142px; padding: 24px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); transition: transform .25s ease, background .25s ease; }
.service-card:hover { z-index: 1; transform: translateY(-4px); background: rgba(255,255,255,.07); }
.service-card span { color: #69bfe6; font-size: 12px; letter-spacing: .12em; }
.service-card h3 { margin: 25px 0 0; font-size: 19px; line-height: 1.55; }
.service-card small { display: block; margin-top: 7px; color: #aebdca; font-size: 12px; font-weight: 700; }
.image-note, .gallery-note { margin: 15px 0 0; color: #aebdca; font-size: 12px; text-align: right; }
.section-footer-link { margin-top: 38px; text-align: right; }
.button-light { color: var(--white); border-color: rgba(255,255,255,.38); }
.button-light:hover { color: var(--navy); background: var(--white); }

.company-preview { background: linear-gradient(180deg, #f6f8fa, #eef3f6); }
.company-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.company-message { max-width: 300px; margin-top: 22px; color: var(--muted); }
.info-list { margin: 0; border-top: 2px solid var(--navy); }
.info-list div { display: grid; grid-template-columns: 145px 1fr; padding: 20px 8px; border-bottom: 1px solid #ccd5dc; transition: padding .25s ease, background .25s ease; }
.info-list div:hover { padding-inline: 15px; background: rgba(255,255,255,.62); }
.info-list dt { color: var(--muted); font-size: 14px; font-weight: 700; }
.info-list dd { margin: 0; font-weight: 650; }
.home-location { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; align-items: stretch; margin-top: 55px; padding-top: 55px; border-top: 1px solid #ccd5dc; }
.home-location-copy { display: flex; flex-direction: column; justify-content: center; }
.home-location h3 { margin: 0; color: var(--navy); font-size: clamp(25px, 3vw, 34px); line-height: 1.4; }
.home-location address { margin-top: 18px; color: var(--muted); font-size: 15px; }
.home-map-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 18px; color: var(--blue); border-bottom: 1px solid rgba(20,104,168,.35); text-decoration: none; font-size: 14px; font-weight: 750; }
.home-map-link:hover { color: var(--navy); border-color: var(--navy); }
.home-map-frame { min-height: 275px; box-shadow: var(--shadow); }
.home-map-frame iframe { min-height: 275px; }

.contact-banner { position: relative; overflow: hidden; padding: 68px 0; color: var(--white); background: linear-gradient(120deg, #0d5f9d, #147bb8); }
.contact-banner::after { content: ""; position: absolute; width: 360px; height: 360px; right: -130px; top: -190px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 84px rgba(255,255,255,.025); }
.contact-banner-inner { position: relative; z-index: 1; }
.contact-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-banner h2 { font-size: clamp(27px, 3.2vw, 40px); }
.contact-banner p { margin-bottom: 0; color: #dceef7; }
.phone-link { min-width: 350px; display: grid; padding: 25px 30px; color: var(--white); border: 1px solid rgba(255,255,255,.5); text-decoration: none; }
.phone-link small { font-size: 12px; }
.phone-link strong { margin-top: 4px; font-size: 34px; letter-spacing: .04em; }
.phone-link:hover { color: var(--navy); background: var(--white); }

.site-footer { color: #b8c4d0; background: #04101e; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding-top: 65px; padding-bottom: 65px; }
.footer-identity { display: flex; align-items: center; gap: 15px; }
.footer-identity img { width: 52px; height: 47px; display: block; object-fit: contain; }
.footer-brand strong { color: var(--white); font-size: 20px; letter-spacing: .07em; }
.footer-brand p { margin: 15px 0 0; font-size: 14px; }
.footer-email { display: inline-block; margin-top: 8px; color: #d5dee6; font-size: 14px; text-decoration: none; }
.footer-email:hover { color: var(--white); text-decoration: underline; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); align-content: start; gap: 10px 38px; }
.footer-nav a { color: #d5dee6; text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 19px; padding-bottom: 19px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom small { font-size: 11px; }

.page-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.page-hero.has-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,16,30,.96), rgba(7,27,49,.84) 54%, rgba(7,27,49,.7)); }
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; opacity: .52; filter: saturate(.75); }
.page-hero .container { position: relative; z-index: 2; min-height: 245px; display: flex; flex-direction: column; justify-content: center; padding-top: 42px; padding-bottom: 42px; }
.page-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 56px); }
.page-hero p:last-child { margin: 18px 0 0; color: #c7d3df; }
.page-content { background: var(--white); }
.lead-block { max-width: 720px; margin-bottom: 58px; padding-left: 24px; border-left: 4px solid var(--blue); }
.lead-block p { margin: 0; color: #3e4f62; font-size: 18px; }
.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 0; }
.work-gallery figure, .work-gallery .work-gallery-wide { position: relative; grid-column: auto; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: var(--paper); border-radius: var(--radius); }
.work-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .82; filter: saturate(.84); transition: transform .5s ease, opacity .3s ease, filter .3s ease; }
.work-gallery figure:hover img { transform: scale(1.02); }
.work-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 36px 20px 16px; color: var(--white); background: linear-gradient(transparent, rgba(4,16,30,.92)); font-weight: 750; }
.gallery-note { margin-bottom: 55px; color: var(--muted); }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-detail-grid article { min-height: 140px; display: flex; gap: 26px; align-items: center; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.service-detail-grid article:hover { z-index: 1; transform: translateY(-3px); background: var(--soft-blue); box-shadow: 0 12px 30px rgba(7,27,49,.08); }
.service-detail-grid article > span { color: var(--blue); font-size: 12px; font-weight: 800; }
.service-detail-grid p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.service-detail-grid h2 { margin: 5px 0 0; font-size: 22px; }
.service-detail-grid small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.license-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 45px; padding: 28px 32px; color: var(--white); background: var(--navy); }
.license-box p { margin: 0; color: #aebdcb; font-size: 13px; }
.license-box strong { font-size: 21px; }
.company-title { margin-bottom: 35px; }
.company-title h2 { font-size: 36px; }
.company-table { margin: 0; border-top: 2px solid var(--navy); }
.company-table > div { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--line); }
.company-table dt, .company-table dd { padding: 24px 18px; }
.company-table dt { color: #4d5c6d; background: var(--paper); font-size: 14px; font-weight: 750; }
.company-table dd { margin: 0; }
.company-table dd small { color: var(--muted); }
.company-table a { color: var(--blue); font-weight: 750; }
.address-panel { display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; gap: 40px; margin-top: 70px; padding: 36px; color: var(--white); background: var(--navy-2); border-radius: var(--radius); overflow: hidden; }
.address-panel h2 { color: var(--white); font-size: 32px; }
.location-copy { display: flex; flex-direction: column; justify-content: center; }
.address-panel address { margin-top: 22px; color: #d1dce6; font-size: 17px; }
.map-link { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin-top: 24px; padding-bottom: 3px; color: #8dd6f5; border-bottom: 1px solid rgba(141,214,245,.5); text-decoration: none; font-size: 14px; font-weight: 750; }
.map-link:hover { color: var(--white); border-color: var(--white); }
.map-frame { min-height: 330px; overflow: hidden; background: #dce4e9; border-radius: 4px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 330px; display: block; border: 0; filter: saturate(.78) contrast(.96); }
.contact-page { min-height: 580px; background: var(--paper); }
.contact-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: end; margin-bottom: 50px; }
.contact-intro h2 { font-size: clamp(32px, 4vw, 47px); }
.contact-intro p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.contact-phone-card { display: grid; place-items: center; padding: 52px 25px; color: var(--white); background: var(--blue); text-align: center; text-decoration: none; }
.contact-phone-card span { font-weight: 700; }
.contact-phone-card strong { margin: 7px 0; font-size: clamp(35px, 7vw, 62px); line-height: 1.25; letter-spacing: .04em; }
.contact-phone-card small { color: #d8edf8; }
.contact-phone-card:hover { background: var(--navy-2); }
.contact-email-card { display: grid; place-items: center; margin-top: 16px; padding: 34px 25px; color: var(--navy); background: var(--white); border: 1px solid var(--line); text-align: center; text-decoration: none; }
.contact-email-card span { color: var(--muted); font-size: 14px; font-weight: 700; }
.contact-email-card strong { margin: 5px 0; color: var(--blue); font-size: clamp(21px, 4vw, 34px); line-height: 1.3; overflow-wrap: anywhere; }
.contact-email-card small { color: var(--muted); }
.contact-email-card:hover { color: var(--white); background: var(--navy-2); border-color: var(--navy-2); }
.contact-email-card:hover span, .contact-email-card:hover strong, .contact-email-card:hover small { color: var(--white); }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-details div { padding: 20px 22px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: 12px; font-weight: 750; }
.contact-details dd { margin: 4px 0 0; color: var(--navy); font-size: 18px; font-weight: 750; }
.contact-address { display: flex; justify-content: space-between; gap: 30px; margin-top: 30px; padding: 25px 30px; background: var(--white); border: 1px solid var(--line); }
.contact-address p, .contact-address address { margin: 0; }
.contact-address p { font-weight: 750; }
.contact-map-link { display: inline-block; margin-top: 8px; color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 750; }
.contact-map-link:hover { text-decoration: underline; }

.recruit-hero .page-hero-photo { object-position: center 42%; }
.recruit-lead-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.recruit-lead-grid h2, .recruit-work-copy h2, .recruit-callout h2 { margin: 0; color: var(--navy); font-size: clamp(31px, 4vw, 48px); line-height: 1.35; }
.recruit-lead-copy p { margin: 0 0 20px; color: #425266; font-size: 17px; }
.recruit-work { background: var(--paper); }
.recruit-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.recruit-work figure { margin: 0; }
.recruit-work figure img { width: 100%; max-height: 330px; aspect-ratio: 16 / 10; display: block; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); opacity: .88; }
.recruit-work figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }
.recruit-info { margin: 28px 0 0; border-top: 2px solid var(--navy); }
.recruit-info div { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 18px 5px; border-bottom: 1px solid #cbd5dc; }
.recruit-info dt { color: var(--muted); font-size: 13px; font-weight: 750; }
.recruit-info dd { margin: 0; }
.recruit-callout { padding: 90px 0; color: var(--white); background: var(--blue); text-align: center; }
.recruit-callout h2 { color: var(--white); }
.recruit-callout > .container > p:not(.section-kicker) { margin: 17px 0 30px; color: #dceef7; }
.recruit-phone { max-width: 430px; margin-inline: auto; text-align: left; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .49s; }
.scroll-progress { position: fixed; z-index: 500; top: 0; left: 0; width: var(--scroll-progress, 0%); height: 3px; pointer-events: none; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.035) translateX(-.6%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

/* ===== v3 追加 ===== */
.header-inner { gap: 24px; }
.header-tel { margin-left: auto; display: grid; line-height: 1.2; color: var(--navy); text-decoration: none; text-align: right; }
.header-tel small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.header-tel strong { font-size: 20px; letter-spacing: .04em; }
.header-tel:hover strong { color: var(--blue); }
.global-nav { gap: 18px; }
.global-nav a { font-size: 13.5px; }
@media (max-width: 1180px) { .header-tel { display: none; } }

.emergency-strip { color: var(--white); background: #b8321f; }
.emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.emergency-inner p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.emergency-inner strong { font-size: 17px; }
.emergency-inner span { color: #fbe1dc; font-size: 14px; }
.emergency-inner a { flex: 0 0 auto; padding: 8px 18px; color: #b8321f; background: var(--white); border-radius: 2px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.emergency-inner a:hover { background: #fde9e5; }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.area-chips li { padding: 6px 14px; color: var(--navy); background: var(--soft-blue); border: 1px solid #c9e2f1; border-radius: 999px; font-size: 14px; font-weight: 700; }
.area-chips.small { gap: 6px; margin-top: 10px; }
.area-chips.small li { padding: 3px 10px; font-size: 12.5px; }

.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-card h3 { font-size: 18px; }

.designation-section { background: var(--paper); }
.designation { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.page-content .designation { margin-top: 70px; grid-template-columns: 1fr; gap: 26px; }
.designation-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.page-content .designation-head h2 { font-size: 32px; }
.designation-head p:last-child { margin: 18px 0 0; color: var(--muted); }
.designation-table { border-top: 2px solid var(--navy); background: var(--white); }
.dt-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; border-bottom: 1px solid var(--line); }
.dt-row span { padding: 16px 14px; text-align: center; font-weight: 700; }
.dt-row span:first-child { text-align: left; color: var(--navy); }
.dt-row .ok { color: var(--blue); font-size: 20px; }
.dt-row span:not(.ok):not(:first-child) { color: #9aa6b2; }
.dt-head span { color: #4d5c6d !important; background: #eef3f6; font-size: 13px; line-height: 1.4; }
.dt-head small { font-weight: 600; color: var(--muted); }

.flow-section { background: var(--white); }
.flow-head { margin-bottom: 36px; }
.flow-head h2, .page-content .flow-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.page-content .flow { margin-top: 70px; }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-list li { position: relative; padding: 24px 20px; background: var(--paper); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -12px; width: 10px; height: 10px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: translateY(-50%) rotate(45deg); }
.flow-no { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.flow-list h3 { margin: 8px 0 10px; color: var(--navy); font-size: 17px; line-height: 1.45; }
.flow-list p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.page-content .flow-list { grid-template-columns: 1fr; gap: 10px; }
.page-content .flow-list li { display: grid; grid-template-columns: 90px 190px 1fr; gap: 18px; align-items: center; border-top: 0; border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
.page-content .flow-list h3 { margin: 0; }
.page-content .flow-list li::after { display: none; }

.partner-teaser { color: var(--white); background: linear-gradient(120deg, var(--navy), var(--navy-2)); }
.partner-teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.partner-teaser h2 { color: var(--white); font-size: clamp(27px, 3.2vw, 40px); }
.partner-teaser p:last-child { max-width: 620px; margin: 16px 0 0; color: #c7d3df; }
.partner-teaser .button { flex: 0 0 auto; }

.banner-actions { display: grid; gap: 10px; }
.form-link { display: block; padding: 14px 20px; color: var(--navy); background: var(--white); text-align: center; text-decoration: none; font-weight: 800; }
.form-link:hover { background: #dceef7; }

.home-location address + address { margin-top: 12px; }
.address-panel address + address { margin-top: 14px; }
.address-panel .map-link + .map-link { margin-top: 10px; }
.footer-label { display: inline-block; min-width: 88px; color: #83cff1; font-size: 12px; }
.footer-contact, .footer-hours { font-size: 14px; }
.footer-contact a { color: #d5dee6; }
.footer-hours { color: #8d9cab; font-size: 12.5px !important; }
.footer-nav { grid-template-columns: repeat(2, auto); }

.svc-desc { margin-top: 10px; color: #425266; font-size: 14.5px; line-height: 1.8; }
.service-detail-grid article { align-items: flex-start; }
.service-detail-grid article > span { padding-top: 4px; }
.area-box { margin-top: 70px; padding: 32px; background: var(--paper); border-radius: var(--radius); }
.area-box h2 { font-size: 30px; }
.area-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.license-box { margin-top: 70px; }

.message-section { background: var(--paper); }
.message-grid { display: grid; grid-template-columns: 220px 1fr; gap: 50px; }
.message-head h2 { font-size: 34px; }
.message-lead { margin: 0 0 22px; color: var(--navy); font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.5; }
.message-body p { color: #3e4f62; }
.message-sign { margin-top: 30px; text-align: right; line-height: 1.9; }
.message-sign strong { font-size: 20px; color: var(--navy); letter-spacing: .08em; }
.history { margin-top: 70px; }
.history-list { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--blue); }
.history-list li { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0 14px 26px; }
.history-list li::before { content: ""; position: absolute; left: -7px; top: 23px; width: 12px; height: 12px; background: var(--white); border: 2px solid var(--blue); border-radius: 50%; }
.history-list time { color: var(--blue); font-weight: 800; }
.history-list p { margin: 0; }

.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 70px; }
.strength-grid article { padding: 26px; background: var(--paper); border-top: 3px solid var(--blue); }
.strength-grid span { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.strength-grid h3 { margin: 8px 0 10px; color: var(--navy); font-size: 19px; }
.strength-grid p { margin: 0; color: #425266; font-size: 14.5px; }
.company-title.spaced { margin-top: 70px; }
.license-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.license-chips li { padding: 4px 12px; background: var(--soft-blue); border-radius: 2px; font-size: 14px; font-weight: 700; color: var(--navy); }
.company-table small.block { display: block; margin-top: 4px; }
.partner-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; margin-top: 70px; padding: 36px; color: var(--white); background: var(--navy-2); border-radius: var(--radius); }
.partner-cta h2 { color: var(--white); font-size: 28px; }
.partner-cta p { margin: 14px 0 0; color: #c7d3df; }
.partner-cta-actions { display: grid; gap: 12px; }
.phone-link.dark { min-width: 0; padding: 16px 20px; }
.phone-link.dark strong { font-size: 26px; }

.recruit-actions { display: grid; gap: 12px; max-width: 430px; margin-inline: auto; }
.recruit-actions .recruit-phone { width: 100%; }

.emergency-card { margin-bottom: 16px; padding: 18px 22px; background: #fdf0ed; border-left: 4px solid #b8321f; }
.emergency-card p { margin: 0; color: #5b2a22; }
.emergency-card .emergency-title { color: #b8321f; font-weight: 800; font-size: 17px; }
.contact-form { margin-top: 50px; padding: 40px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.form-head { margin-bottom: 26px; }
.form-head h2 { font-size: 32px; }
.form-head p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.req { display: inline-block; margin-left: 6px; padding: 1px 7px; color: var(--white); background: #b8321f; border-radius: 2px; font-size: 11px; font-weight: 800; vertical-align: middle; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 750; font-size: 15px; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input[type=text], .contact-form input[type=tel], .contact-form input[type=email], .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #f8fafb; border: 1px solid #c5d0d9; border-radius: 3px; font: inherit; font-size: 16px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; background: var(--white); }
.contact-form [aria-invalid=true] { border-color: #b8321f; background: #fff7f5; }
.field-note { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.radio-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.radio-group.inline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radio, .check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.radio-group:not(.inline) .radio { padding: 11px 14px; background: #f8fafb; border: 1px solid #c5d0d9; border-radius: 3px; }
.radio-group:not(.inline) .radio:has(input:checked) { border-color: var(--blue); background: var(--soft-blue); }
.radio input, .check input { width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; }
.consent { padding: 16px; background: var(--paper); }
.consent a { color: var(--blue); font-weight: 750; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 16px; padding: 12px 16px; color: #8a2414; background: #fdf0ed; border-left: 4px solid #b8321f; font-size: 14px; }
.submit-button, .button-dark { width: 100%; color: var(--white); background: var(--navy); cursor: pointer; font-size: 17px; }
.submit-button:hover, .button-dark:hover { background: var(--blue); }
.submit-button[disabled] { opacity: .6; cursor: wait; }
.button-dark { width: auto; margin-top: 16px; }
.result-box { padding: 40px; background: var(--white); border: 1px solid var(--line); }
.result-box h2 { font-size: 28px; }
.result-box a:not(.button) { color: var(--blue); font-weight: 750; }

.policy h2 { margin: 42px 0 12px; font-size: 21px !important; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.policy p, .policy li { color: #3e4f62; }
.policy a { color: var(--blue); }
.policy .company-table { margin-top: 12px; }
.policy-date { margin-top: 36px; text-align: right; color: var(--muted); font-size: 14px; }

.sp-call-bar { display: none; }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: 1fr; gap: 10px; }
  .flow-list li { border-top: 0; border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; }
  .flow-list li::after { display: none; }
  .designation { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 860px) {
  .partner-teaser-inner, .partner-cta { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .message-grid { grid-template-columns: 1fr; gap: 20px; }
  .strength-grid { grid-template-columns: 1fr; }
  .page-content .flow-list li { grid-template-columns: 1fr; gap: 4px; }
  body { padding-bottom: 64px; }
  .sp-call-bar { position: fixed; z-index: 400; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 96px; height: 64px; box-shadow: 0 -6px 20px rgba(7,27,49,.18); }
  .sp-call-bar a { display: grid; place-items: center; align-content: center; text-decoration: none; color: var(--white); line-height: 1.2; }
  .sp-call { background: var(--blue); }
  .sp-call span { font-size: 11px; font-weight: 700; }
  .sp-call strong { font-size: 21px; letter-spacing: .04em; }
  .sp-form { background: var(--navy); font-weight: 800; font-size: 14px; }
}
@media (max-width: 580px) {
  .emergency-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .emergency-inner p { justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .field-row, .radio-group { grid-template-columns: 1fr; gap: 0; }
  .radio-group { gap: 8px; }
  .contact-form { padding: 24px 18px; }
  .history-list li { grid-template-columns: 1fr; gap: 2px; }
  .dt-row span { padding: 12px 8px; font-size: 14px; }
  .area-box, .partner-cta, .result-box { padding: 24px; }
}

@media (max-width: 860px) {
  .container, .narrow { width: min(calc(100% - 36px), var(--max)); }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 40px; height: 36px; }
  .brand-copy strong { font-size: 15px; }
  .menu-button { width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 10px; border: 0; background: transparent; }
  .menu-button > span:not(.sr-only) { display: block; height: 2px; background: var(--navy); }
  .global-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 18px 22px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(7,27,49,.09); }
  .global-nav.is-open { display: grid; }
  .global-nav a { padding: 13px 5px; border-bottom: 1px solid var(--line); }
  .global-nav a::after { display: none; }
  .global-nav .nav-contact { margin-top: 10px; padding: 13px 16px; text-align: center; border: 0; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 34px; padding-top: 72px; padding-bottom: 55px; }
  .hero h1 { font-size: clamp(39px, 10vw, 60px); }
  .hero-panel { max-width: 460px; align-self: auto; }
  .hero-photo { object-position: 62% center; }
  .section { padding: 78px 0; }
  .split-heading, .company-grid, .home-location { grid-template-columns: 1fr; gap: 38px; }
  .capability-summary { grid-template-columns: 1fr; gap: 1px; }
  .capability-summary article { min-height: 0; }
  .home-location { margin-top: 42px; padding-top: 42px; }
  .service-visual-grid { grid-template-columns: 1fr 1fr; }
  .service-visual-grid figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-banner-inner { align-items: stretch; flex-direction: column; }
  .phone-link { min-width: 0; }
  .recruit-lead-grid, .recruit-work-grid { grid-template-columns: 1fr; gap: 38px; }
  .page-hero .container { min-height: 220px; }
}

@media (max-width: 580px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .brand-copy small { display: none; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-panel { padding: 25px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 12px; }
  .service-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .service-visual-grid, .work-gallery { grid-template-columns: 1fr; }
  .service-visual-grid figure:last-child, .work-gallery .work-gallery-wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .service-card { min-height: 125px; }
  .service-card h3 { margin-top: 28px; }
  .section-footer-link { text-align: left; }
  .info-list div { grid-template-columns: 1fr; gap: 4px; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .license-box { align-items: start; flex-direction: column; }
  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt, .company-table dd { padding: 15px 16px; }
  .company-table dd { padding-top: 3px; padding-bottom: 20px; }
  .address-panel, .contact-intro { grid-template-columns: 1fr; gap: 28px; }
  .address-panel { padding: 24px; }
  .map-frame, .map-frame iframe { min-height: 280px; }
  .contact-address { flex-direction: column; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-phone-card { padding: 40px 14px; }
  .recruit-info div { grid-template-columns: 1fr; gap: 3px; }
  .hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero-lead { font-size: 16px; }
  .page-hero .container { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-photo { animation: none; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ===================================================================
   v4 モーション（動きの演出）
   =================================================================== */
:root { --intro: .15s; --ease-out: cubic-bezier(.2,.75,.2,1); }
html.js:not(.no-splash) { --intro: 2.05s; }

/* ---- オープニング ---- */
.splash { position: fixed; z-index: 3000; inset: 0; display: none; place-items: center; background: radial-gradient(circle at 50% 45%, #0e3558, var(--navy) 70%); pointer-events: none; }
html.js:not(.no-splash) .splash { display: grid; animation: splash-out .7s ease 1.75s forwards; }
.splash-inner { display: grid; justify-items: center; gap: 6px; }
.splash-logo { width: 92px; height: auto; clip-path: inset(100% 0 0 0); animation: splash-logo 1s var(--ease-out) .15s forwards; }
.splash-name { margin: 14px 0 0; color: var(--white); font-size: 22px; font-weight: 800; letter-spacing: .3em; opacity: 0; animation: splash-text .8s ease .7s forwards; }
.splash-en { margin: 0; color: #83cff1; font-size: 11px; font-weight: 700; letter-spacing: .32em; opacity: 0; animation: splash-text .8s ease .9s forwards; }
@keyframes splash-logo { to { clip-path: inset(0 0 0 0); } }
@keyframes splash-text { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* ---- ヘッダー（トップページは写真の上に透明で重ねる） ---- */
.site-header, .header-inner { transition: min-height .3s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease; }
.site-header.is-scrolled .header-inner { min-height: 66px; }
.brand-mark { position: relative; }
.brand-mark img { position: absolute; inset: 0; transition: opacity .3s ease; }
.brand-mark .logo-light { opacity: 0; }
.is-home .site-header { position: fixed; left: 0; right: 0; }
.is-home .site-header:not(.is-scrolled):not(:has(.menu-button[aria-expanded="true"])) { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.is-home .site-header:not(.is-scrolled):not(:has(.menu-button[aria-expanded="true"])) .logo-dark { opacity: 0; }
.is-home .site-header:not(.is-scrolled):not(:has(.menu-button[aria-expanded="true"])) .logo-light { opacity: 1; }
.is-home .site-header:not(.is-scrolled):not(:has(.menu-button[aria-expanded="true"])) :is(.brand, .header-tel) { color: var(--white); }
.is-home .site-header:not(.is-scrolled):not(:has(.menu-button[aria-expanded="true"])) :is(.brand-copy small, .header-tel small) { color: rgba(255,255,255,.72); }
.is-home .site-header:not(.is-scrolled):not(:has(.menu-button[aria-expanded="true"])) .menu-button > span:not(.sr-only) { background: var(--white); }
@media (min-width: 861px) {
  .is-home .site-header:not(.is-scrolled) .global-nav a { color: rgba(255,255,255,.9); }
  .is-home .site-header:not(.is-scrolled) .global-nav a::after { background: #83cff1; }
  .is-home .site-header:not(.is-scrolled) .global-nav .nav-contact { color: var(--navy); background: var(--white); }
  .is-home .site-header:not(.is-scrolled) .global-nav .nav-contact:hover { color: var(--white); background: var(--blue); }
}
.is-home .hero-inner { padding-top: 150px; }
.menu-button > span:not(.sr-only) { transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- メインビジュアル：写真の切り替え ---- */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; opacity: 0; transform: scale(1.02); transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: .86; animation: ken-burns 8s ease-out forwards; }
@keyframes ken-burns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-progress { position: absolute; z-index: 3; left: max(24px, calc((100% - var(--max)) / 2)); bottom: 28px; display: flex; gap: 8px; }
.hero-progress span { position: relative; width: 38px; height: 2px; overflow: hidden; background: rgba(255,255,255,.28); }
.hero-progress span::after { content: ""; position: absolute; inset: 0; background: #83cff1; transform: scaleX(0); transform-origin: left; }
.hero-progress span.is-active::after { animation: progress-fill var(--slide-ms, 6000ms) linear forwards; }
.hero-progress span.is-done::after { transform: scaleX(1); }
@keyframes progress-fill { to { transform: scaleX(1); } }

/* ---- メインビジュアル：文字の登場（オープニングの後に始まる） ---- */
.is-home .eyebrow { animation-delay: var(--intro); }
.is-home .hero h1 { animation: fade-in .01s both var(--intro); }
.is-home .hero-lead { animation-delay: calc(var(--intro) + .9s); }
.is-home .hero-actions { animation-delay: calc(var(--intro) + 1.05s); }
.is-home .hero-panel { animation-delay: calc(var(--intro) + 1.2s); }
.split-text .char { display: inline-block; animation: char-in .75s var(--ease-out) both; animation-delay: calc(var(--intro) + .1s + var(--i) * .045s); }
.page-hero .split-text .char { animation-delay: calc(.1s + var(--i) * .05s); }
@keyframes char-in { from { opacity: 0; transform: translateY(.55em) rotate(4deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---- 下層ページの見出し ---- */
.page-hero-photo { animation: hero-zoom 2.2s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.14); opacity: 0; } to { transform: scale(1); } }
.page-hero .section-kicker { position: relative; padding-left: 46px; animation: rise-in .7s ease both; }
.page-hero .section-kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: line-grow .8s var(--ease-out) both .2s; }
.page-hero p:last-child { animation: rise-in .8s ease both .55s; }
@keyframes line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- 数字で見る清和設備 ---- */
.numbers-section { background: var(--white); border-bottom: 1px solid var(--line); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.num-item { padding: 44px 26px 40px; text-align: center; border-right: 1px solid var(--line); }
.num-item:last-child { border-right: 0; }
.num-label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 750; }
.num-value { margin: 6px 0 4px; color: var(--navy); line-height: 1; }
.num-value .count { font-size: clamp(48px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--navy), var(--blue) 70%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-value small { margin-left: 4px; font-size: 18px; font-weight: 800; }
.num-note { margin: 0; color: var(--muted); font-size: 12.5px; }

/* ---- 流れる英字 ---- */
.marquee { overflow: hidden; padding: 26px 0 0; background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { padding-right: 56px; color: transparent; -webkit-text-stroke: 1px #b9cbd9; font-size: clamp(46px, 7vw, 104px); font-weight: 800; letter-spacing: .02em; line-height: 1.1; white-space: nowrap; }
.marquee span:nth-child(3n+2) { -webkit-text-stroke: 0; color: #e3edf4; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- 写真のマスク表示・パララックス ---- */
.js .img-reveal > img, .js .img-reveal-group > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out); }
.js .img-reveal.is-shown > img, .js .img-reveal-group.is-shown > * { clip-path: inset(0 0 0 0); }
.js .img-reveal-group.is-shown > *:nth-child(2) { transition-delay: .15s; }
.js .img-reveal-group.is-shown > *:nth-child(3) { transition-delay: .3s; }
.parallax { overflow: hidden; }
.parallax img { transform: translateY(var(--py, 0px)) scale(1.12); transition: transform .1s linear, clip-path 1.1s var(--ease-out); }

/* ---- カードのホバー ---- */
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(57,169,220,.22), rgba(20,104,168,.1)); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); }
.service-card:hover::before { transform: scaleY(1); }
.service-card { isolation: isolate; }
.service-card span { transition: letter-spacing .35s ease; }
.service-card:hover span { letter-spacing: .3em; }
.strength-grid article, .flow-list li { transition: transform .3s ease, box-shadow .3s ease; }
.strength-grid article:hover, .flow-list li:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(7,27,49,.1); }
.button-primary, .button-light, .form-link { position: relative; overflow: hidden; }
.text-link span, .form-link span { display: inline-block; transition: transform .25s ease; }
.text-link:hover span, .form-link:hover span { transform: translateX(6px); }

/* ---- 見出しの下線 ---- */
.js .section h2 { background-image: linear-gradient(var(--cyan), var(--cyan)); background-repeat: no-repeat; background-size: 0 3px; background-position: 0 100%; padding-bottom: 6px; transition: background-size 1s var(--ease-out) .3s; }
.js .is-visible h2, .js h2.is-visible { background-size: 56px 3px; }

/* ---- ページ上部へ戻る ---- */
.page-top { position: fixed; z-index: 380; right: 22px; bottom: 22px; width: 50px; height: 50px; display: grid; place-items: center; background: var(--navy); border-radius: 50%; box-shadow: 0 10px 24px rgba(7,27,49,.25); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease; }
.page-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.page-top:hover { background: var(--blue); }
.page-top span { width: 12px; height: 12px; margin-top: 5px; border-top: 2px solid var(--white); border-left: 2px solid var(--white); transform: rotate(45deg); }

@media (max-width: 860px) {
  .is-home .hero-inner { padding-top: 120px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num-item:nth-child(2) { border-right: 0; }
  .num-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .num-item { padding: 30px 14px; }
  .page-top { bottom: 80px; right: 14px; width: 44px; height: 44px; }
  .hero-progress { bottom: 18px; }
  .parallax img { transform: none; }
}
@media (max-width: 580px) {
  .num-value .count { font-size: 46px; }
  .num-label { font-size: 12px; }
  .num-note { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js:not(.no-splash) .splash { display: none; }
  :root, html.js:not(.no-splash) { --intro: 0s; }
  .hero-slide { transition: none; }
  .hero-slide.is-active, .marquee-track, .page-hero-photo, .split-text .char { animation: none !important; }
  .js .img-reveal > img, .js .img-reveal-group > * { clip-path: none; }
  .parallax img { transform: none; }
}
