/* =====================================================================
   カンパニーファクトリー HP  共通スタイル
   レイアウト：PC 1440px基準（内容幅1200px）／768–1023px 2列／767px以下 1列
   色・寸法は設計初期値。会社カラーへの置換は :root の変数だけで行う。
   ===================================================================== */
:root {
  --color-bg: #F4F6F6;
  --color-paper: #FFFFFF;
  --color-ink: #1F3538;
  --color-ink-2: #2B474B;
  --color-accent: #238B8E;
  --color-accent-ink: #15716F;
  --color-line: #D3DEDF;
  --color-text: #1F3538;
  --color-muted: #5D6F71;
  --color-ph: #DFE7E8;
  --g-mission: linear-gradient(180deg, #3E9FA0 0%, #238B8E 38%, #15716F 72%, #0E5558 100%);
  --g-menu: linear-gradient(160deg, #0F4A4D 0%, #163A3E 55%, #1F3538 100%);
  --mission-top: #3E9FA0;
  --color-accent-soft: #AFDFE3;
  --color-accent-mid: #54AAA9;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Poppins", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --w-content: 1200px;
  --gutter: 32px;
  --header-h: 72px;
  --sec-y: 140px;
  --r-photo: 12px;
  --r-card: 8px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: 200ms;
  color-scheme: light;
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 64px; --sec-y: 72px; }
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; padding-top: var(--header-h);
  background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-ja); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, address { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { text-wrap: balance; line-height: 1.5; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--color-ink); color: #fff; padding: 8px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--w-content), 100% - var(--gutter) * 2); margin-inline: auto; }
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 767px) { .pc-only { display: none; } .sp-only { display: inline; } }

/* ------------------------------------------------------------ media / placeholder */
.media { position: relative; aspect-ratio: var(--ar); max-width: 100%; overflow: hidden; background: var(--color-ph); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 240ms var(--ease); }
@media (max-width: 767px) {
  .media { aspect-ratio: var(--ar-sp, var(--ar)); }
  .media img { object-position: var(--pos-sp, var(--pos, 50% 50%)); }
}
.r-4 { border-radius: 4px; } .r-8 { border-radius: var(--r-card); } .r-12 { border-radius: var(--r-photo); }
.ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; padding: 12px;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(31, 53, 56, .035) 18px 36px),
    linear-gradient(160deg, #E5ECED, #D6E0E1);
  color: #5D6F71; line-height: 1.5;
}
.ph-label { font-size: 14px; font-weight: 500; }
.ph-spec { font-size: 11px; opacity: .85; }
.ph-id { font-family: var(--font-en); font-size: 10px; letter-spacing: .06em; opacity: .55; }
.on-dark-area .ph, .mission .ph, .recruit-band .ph, .rc-intro .ph {
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, .04) 18px 36px),
    linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .1));
  color: rgba(255, 255, 255, .86);
}
.media.zoom:hover img, a:hover .media.zoom img { transform: scale(1.025); }

/* ------------------------------------------------------------ type parts */
.sec-head .en { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.1; letter-spacing: 0; }
.sec-head .ja { font-size: 14px; font-weight: 500; margin-top: 8px; color: var(--color-muted); }
.sec-head.on-dark .en, .sec-head.on-dark .ja { color: #fff; }
.sec-head.on-dark .ja { opacity: .85; }
.sub-head .en { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 13px; color: var(--color-accent-ink); }
.sub-head .ja { font-size: 24px; font-weight: 700; position: relative; padding-bottom: 14px; margin-bottom: 40px; }
.sub-head .ja::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--color-accent); }
@media (max-width: 767px) { .sec-head .ja { font-size: 12px; } .sub-head .ja { font-size: 20px; margin-bottom: 28px; } }

/* ------------------------------------------------------------ buttons & links */
.carrow { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E8EFEF; color: var(--color-ink); transition: transform var(--t) var(--ease); }
.carrow svg { width: 14px; height: 14px; }
.carrow.is-white { background: #fff; color: var(--color-ink); }
.carrow.is-ink { background: var(--color-ink); color: #fff; }
.carrow.is-ghost { background: rgba(255, 255, 255, .14); color: #fff; }
a:hover .carrow, a:focus-visible .carrow { transform: translateX(4px); }

.pill {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: 190px; height: 46px; padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--color-paper); color: var(--color-ink); border: 1px solid var(--color-line);
  font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.pill.is-white { border-color: transparent; }
.pill.is-small { min-width: 150px; height: 40px; padding-left: 18px; }
.pill .ext { display: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--color-accent-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.text-link.on-dark { color: #fff; }
.ext { display: inline-flex; margin-left: 6px; } .ext svg { width: 13px; height: 13px; }

/* href未設定（プレビューのみ表示） */
.is-pending { cursor: not-allowed; position: relative; }
.pending-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 4px; background: #FFF1C7; color: #6B4E00; font-style: normal; font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: 0; vertical-align: middle; white-space: nowrap; font-family: var(--font-ja); }
.pill.is-pending .pending-tag { position: absolute; top: -10px; right: 10px; margin: 0; }

/* ------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding-inline: 24px;
  background: var(--color-paper);
  box-shadow: 0 1px 0 rgba(31, 53, 56, .06);
}
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--color-ink); margin-right: auto; min-height: 44px; }
.logo-mark svg { width: 26px; height: 26px; fill: var(--color-accent); display: block; }
.logo-type { font-family: var(--font-en); font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.logo-type b { font-weight: 600; color: var(--color-accent); margin-left: 3px; }
.logo-img { display: block; height: 40px; width: auto; }
.menu-bar .logo-img { height: 40px; }
.footer-brand .logo-img { height: 44px; }
.logo.is-white { color: #fff; }
.logo.is-white .logo-mark svg { fill: #fff; }
.logo.is-white .logo-type b { color: #B9B0FF; }
.gnav ul { display: flex; gap: 24px; }
.gnav a { font-family: var(--font-en); font-size: 13px; font-weight: 500; padding: 10px 0; position: relative; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--color-accent); transform: scaleX(0); transition: transform var(--t) var(--ease); transform-origin: left; }
.gnav a:hover::after, .gnav a[aria-current]::after { transform: scaleX(1); }
.gnav a[aria-current] { color: var(--color-accent-ink); }
.btn-recruit { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 116px; height: 40px; padding: 0 14px 0 20px; border-radius: 999px; background: var(--color-accent-ink); color: #fff; font-family: var(--font-en); font-size: 13px; font-weight: 500; transition: background var(--t); }
.btn-recruit svg { width: 14px; height: 14px; transition: transform var(--t) var(--ease); }
.btn-recruit:hover { background: #0E5558; }
.btn-recruit:hover svg { transform: translateX(4px); }
.btn-menu { width: 48px; height: 40px; border-radius: 6px; background: var(--color-ink); display: grid; place-content: center; gap: 6px; }
.btn-menu span { display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 1px; }
@media (max-width: 1023px) {
  .gnav { display: none; }
  .site-header { padding-inline: 16px; gap: 10px; }
  .btn-recruit { width: auto; height: 36px; padding: 0 14px; }
  .btn-menu { width: 44px; height: 44px; }
}
@media (max-width: 767px) { .logo-type { font-size: 16px; } .logo-mark svg { width: 22px; height: 22px; } }
@media (max-width: 359px) { .logo-type { font-size: 14px; } .btn-recruit svg { display: none; } }

/* ------------------------------------------------------------ full-screen menu */
.menu { position: fixed; inset: 0; height: 100dvh; z-index: 200; background: var(--g-menu); color: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transition: opacity 200ms var(--ease); }
.menu::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(255, 255, 255, .025) 140px 142px); }
.menu.is-open { opacity: 1; }
.menu-bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: 24px; }
.btn-close { width: 48px; height: 40px; border-radius: 6px; background: rgba(255, 255, 255, .88); color: var(--color-ink); display: grid; place-items: center; }
.btn-close svg { width: 16px; height: 16px; }
.menu-body { position: relative; width: min(1000px, 100% - 48px); margin: 56px auto 0; padding-bottom: 96px; }
.menu-label { font-family: var(--font-en); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.menu-main { border-top: 1px solid rgba(255, 255, 255, .22); }
.menu-main li { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.menu-row { display: flex; align-items: center; justify-content: space-between; min-height: 96px; padding: 12px 8px; }
.menu-row .en { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.2; }
.menu-row .ja { display: block; font-size: 12px; opacity: .78; margin-top: 4px; }
.menu-recruit { border-top: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); padding-bottom: 24px; align-self: start; }
.menu-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; padding: 8px 8px 0; }
.menu-sub { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; padding-left: 12px; position: relative; }
.menu-sub::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 14px; margin-top: -7px; border-radius: 2px; background: var(--color-accent-soft); }
.menu-sub:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 40px; font-size: 12px; }
.menu-foot ul { display: grid; gap: 4px; }
.menu-foot a, .menu-foot span { display: inline-flex; min-height: 32px; align-items: center; }
.menu-foot small { font-family: var(--font-en); font-size: 11px; opacity: .8; }
@media (max-width: 767px) {
  .menu-bar { padding-inline: 16px; }
  .menu-body { margin-top: 24px; width: calc(100% - 40px); }
  .menu-cols { grid-template-columns: 1fr; gap: 32px; }
  .menu-row { min-height: 80px; }
  .menu-row .en { font-size: 26px; }
  .menu-subs { grid-template-columns: 1fr; }
  .menu-foot { flex-direction: column; align-items: start; }
}

/* ------------------------------------------------------------ T01 hero */
.hero-copy { padding-block: 80px 72px; }
.hero h1 { font-size: clamp(30px, 3.7vw, 54px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.hero-en { margin-top: 16px; font-family: var(--font-en); font-style: italic; font-size: 16px; color: var(--color-muted); letter-spacing: .01em; line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 36px; }
.line-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 190px; min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--color-accent); color: var(--color-accent-ink); font-size: 14px; font-weight: 500; }
.line-link > svg { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.line-link:hover > svg { transform: translateX(4px); }
.hero-visual { width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.hero-photo { border-radius: var(--r-photo) var(--r-photo) 0 0; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 210px; background: linear-gradient(180deg, rgba(62, 159, 160, 0) 0%, rgba(62, 159, 160, .55) 55%, var(--mission-top) 100%); pointer-events: none; }
@media (max-width: 767px) {
  .hero-copy { padding-block: 48px 40px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .hero-en { font-size: 14px; }
  .hero-ctas { gap: 12px 24px; margin-top: 28px; }
  .line-link { min-width: 0; flex: 1 1 140px; }
  .hero-visual { width: calc(100% - 32px); }
  .hero-photo::after { height: 120px; }
}

/* ------------------------------------------------------------ T02 mission */
.mission { width: calc(100% - var(--gutter) * 2); margin-inline: auto; background: var(--g-mission); color: #fff; border-radius: 0 0 var(--r-photo) var(--r-photo); padding-bottom: 120px; }
.mission-in { width: min(var(--w-content), 100% - 96px); margin-inline: auto; display: grid; grid-template-columns: 44fr 56fr; gap: 64px; }
.mission-text { position: relative; margin-top: -112px; z-index: 1; }
.mission-copy { font-size: 26px; font-weight: 700; line-height: 1.6; margin: 40px 0 28px; }
.mission-text p:not(.mission-copy):not(.ja) { font-size: 15px; line-height: 2; opacity: .94; }
.mission-text p + p:not(.mission-copy) { margin-top: 16px; }
.mission-text .pill { margin-top: 40px; }
.mission-collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-content: start; padding-top: 48px; }
.mission-collage .c1 { grid-column: 1 / 7; margin-top: 28px; align-self: start; }
.mission-collage .c2 { grid-column: 7 / 13; }
.mission-collage .c3 { grid-column: 4 / 13; }
.mission-collage.n1 .c1 { grid-column: 1 / -1; margin: 0; }
.mission-collage.n2 .c2 { grid-column: 7 / 13; }
@media (max-width: 1023px) {
  .mission-in { grid-template-columns: 1fr; gap: 40px; width: calc(100% - 64px); }
  .mission-text { margin-top: -72px; }
}
@media (max-width: 767px) {
  .mission { width: calc(100% - 32px); padding-bottom: 64px; }
  .mission-in { width: calc(100% - 40px); }
  .mission-text { margin-top: -40px; }
  .mission-copy { font-size: 21px; margin: 24px 0 20px; }
  .mission-collage { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 0; }
  .mission-collage .c1, .mission-collage .c2 { grid-column: auto; margin: 0; }
  .mission-collage .c3 { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ T03 service */
.service { position: relative; padding-block: 160px 120px; overflow: hidden; }
.service-deco { position: absolute; left: -10%; top: 0; width: 60%; height: 420px; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(35, 139, 142, .07) 30% 45%, transparent 45% 52%, rgba(62, 159, 160, .06) 52% 60%, transparent 60%); }
.service .sec-head { position: relative; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--color-line); }
.svc { display: grid; grid-template-columns: 40fr 60fr; gap: 56px; align-items: center; min-height: 480px; }
.svc-cat { font-size: 13px; font-weight: 500; color: var(--color-muted); }
.svc-name { margin: 12px 0 24px; }
.svc-logo { width: min(320px, 100%); border-radius: 6px; }
.svc-text > p:not(.svc-cat) { font-size: 15px; color: var(--color-text); margin-bottom: 32px; }
.svc-visual { position: relative; padding: 0 9% 6% 0; }
.device-laptop .screen { background: #162628; padding: 2.2% 2.2% 3%; border-radius: 14px 14px 0 0; }
.device-laptop .screen .media { border-radius: 2px; }
.device-laptop .base { height: 14px; margin: 0 -6%; background: linear-gradient(180deg, #C8D1D2, #9DAAAC); border-radius: 0 0 14px 14px; position: relative; }
.device-laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #8B999B; border-radius: 0 0 6px 6px; }
.device-phone { position: absolute; right: 0; bottom: 0; width: 25%; }
.device-phone .screen { background: #162628; padding: 6%; border-radius: 22px; box-shadow: 0 18px 40px rgba(31, 53, 56, .18); }
.device-phone .screen .media { border-radius: 16px; }
.slider-ctrl { margin-top: 48px; }
.progress { position: relative; height: 3px; background: var(--color-line); border-radius: 2px; overflow: hidden; }
.progress span { position: absolute; inset: 0 auto 0 0; background: var(--color-accent); transition: width 300ms var(--ease), left 300ms var(--ease); }
.progress.is-static { margin-top: 48px; }
.slider-btns { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.count { font-family: var(--font-en); font-size: 13px; color: var(--color-muted); margin-right: auto; font-variant-numeric: tabular-nums; }
.count b { color: var(--color-ink); font-weight: 600; }
.dots { display: flex; gap: 2px; }
.dot { width: 28px; height: 44px; display: grid; place-items: center; }
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #B7C6C7; transition: background var(--t), transform var(--t); }
.dot[aria-current="true"]::before { background: var(--color-accent); transform: scale(1.3); }
.nav-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-line); background: var(--color-paper); display: grid; place-items: center; color: var(--color-ink); transition: border-color var(--t), background var(--t); }
.nav-btn svg { width: 16px; height: 16px; }
.nav-btn.prev svg { transform: scaleX(-1); }
.nav-btn:hover { border-color: var(--color-accent); }
.js .slider [data-slide][hidden] { display: none !important; }
@media (max-width: 1023px) { .svc { grid-template-columns: 1fr; gap: 32px; min-height: 0; } .svc-visual { order: -1; max-width: 640px; } }
@media (max-width: 767px) { .service { padding-block: 72px; } .service .sec-head { margin-bottom: 32px; padding-bottom: 20px; } .device-phone .screen { border-radius: 14px; } .device-phone .screen .media { border-radius: 10px; } }

/* ------------------------------------------------------------ T04 growth */
.growth { padding-block: 120px; }
.growth-grid { display: grid; grid-template-columns: 40fr 60fr; gap: 64px; align-items: center; }
.growth-text h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.growth-text p { font-size: 14px; color: var(--color-text); }
.growth-text p + p { margin-top: 12px; }
.growth-chart { position: relative; }
.chart-scroll { overflow-x: auto; }
.chart { width: 100%; min-width: 420px; height: auto; display: block; }
.chart .grid-v { stroke: #C2D0D1; stroke-dasharray: 3 5; stroke-width: 1; }
.chart .grid-h { stroke: #DEE6E7; stroke-width: 1; }
.chart .axis { stroke: var(--color-ink); stroke-width: 1.2; }
.chart .ax { fill: var(--color-muted); font: 500 12px var(--font-en); }
.chart .ax.is-now { fill: var(--color-accent-ink); font-weight: 600; }
.chart .area { fill: rgba(35, 139, 142, .08); }
.chart .line { fill: none; stroke: var(--color-accent); stroke-width: 2; stroke-linejoin: round; }
.chart .pt { fill: var(--color-ink); }
.chart .pt.is-now { fill: var(--color-accent); stroke: #fff; stroke-width: 3; }
.chart .val { fill: var(--color-accent-ink); font: 600 14px var(--font-en); }
.growth-chart figcaption { font-size: 12px; color: var(--color-muted); margin-top: 8px; }
.badge { position: absolute; right: 0; top: -32px; font-size: 11px; font-weight: 500; padding: 2px 10px; border-radius: 999px; background: #FFF1C7; color: #6B4E00; }
@media (max-width: 1023px) { .growth-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 767px) { .growth { padding-block: 72px; } }

/* ------------------------------------------------------------ T05 strip */
.strip { padding-block: 0 20px; }
.strip-track { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding-inline: 0 var(--gutter); scroll-snap-type: x proximity; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-item { flex: none; width: var(--w, 340px); height: 300px; aspect-ratio: auto; border-radius: var(--r-card); scroll-snap-align: start; }
.strip-item.is-first { border-radius: 0 var(--r-card) var(--r-card) 0; border-top-left-radius: 0; }
.strip-item.is-first:not(:only-child) { border-radius: 160px var(--r-card) var(--r-card) 0; }
@media (max-width: 767px) { .strip-track { gap: 12px; } .strip-item { height: 180px; width: calc(var(--w, 340px) * .6); } .strip-item.is-first:not(:only-child) { border-radius: 90px var(--r-card) var(--r-card) 0; } }

/* ------------------------------------------------------------ T06 value */
.value { padding-block: 140px; }
.value-grid { display: grid; grid-template-columns: 60fr 40fr; gap: 64px; align-items: center; }
.value-cap { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; margin-top: 20px; align-items: baseline; }
.value-cap .num { font-family: var(--font-en); font-style: italic; font-weight: 600; font-size: 20px; color: var(--color-accent-ink); grid-row: span 2; }
.value-cap h3 { font-size: 17px; font-weight: 700; }
.value-cap p { font-size: 14px; color: var(--color-muted); }
.value .slider-ctrl { margin-top: 8px; }
.value-n { font-size: .9em; margin-right: .04em; }
.value-text .sec-head { margin-bottom: 24px; }
.value-text > p { font-size: 14px; margin-bottom: 32px; }
@media (max-width: 1023px) { .value-grid { grid-template-columns: 1fr; gap: 40px; } .value-text { order: -1; } }
@media (max-width: 767px) { .value { padding-block: 72px; } }

/* ------------------------------------------------------------ T07 recruit band */
.recruit-band { position: relative; background: var(--color-ink); color: #fff; padding-block: 88px; overflow: hidden; }
.band-deco { position: absolute; right: 0; top: 0; width: 34%; height: 100%; pointer-events: none; background: linear-gradient(120deg, transparent 52%, rgba(84, 170, 169, .85) 52% 60%, rgba(35, 139, 142, .45) 60% 70%, transparent 70%); clip-path: polygon(40% 0, 100% 0, 100% 70%); }
.recruit-band .media { position: relative; z-index: 1; }
.band-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; position: relative; z-index: 1; }
.band-copy { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.band-text p:not(.band-copy) { font-size: 14px; opacity: .9; }
.band-text .pill { margin-top: 32px; }
@media (max-width: 767px) { .recruit-band { padding-block: 56px; } .band-body { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; } .band-copy { font-size: 19px; } }

/* ------------------------------------------------------------ T08 news */
.news { padding-block: 120px; }
.news-grid { display: grid; grid-template-columns: 30fr 70fr; gap: 64px; align-items: start; }
.news-head .pill { margin-top: 32px; }
.news-list { border-top: 1px solid var(--color-line); }
.news-list li { border-bottom: 1px solid var(--color-line); }
.news-row { display: grid; grid-template-columns: 100px auto 1fr; gap: 8px 24px; align-items: center; min-height: 88px; padding: 18px 8px; transition: background var(--t); }
a.news-row:hover { background: rgba(35, 139, 142, .05); }
a.news-row:hover .news-title { color: var(--color-accent-ink); }
.news-row time { font-family: var(--font-en); font-size: 13px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.chip { font-size: 11px; font-weight: 500; padding: 2px 10px; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-paper); white-space: nowrap; }
.news-title { font-size: 15px; font-weight: 500; line-height: 1.7; min-width: 0; }
.news-row .pending-tag { grid-column: 3; justify-self: start; margin: 0; }
.empty { font-size: 14px; color: var(--color-muted); padding: 24px 0; }
.empty.on-dark { color: rgba(255, 255, 255, .8); }
@media (max-width: 767px) {
  .news { padding-block: 72px; }
  .news-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; }
  .news-head .pill { margin-top: 0; min-width: 150px; }
  .news-row { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .news-title { grid-column: 1 / -1; }
  .news-row .pending-tag { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--color-ink); color: #fff; padding-block: 64px 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand p { font-size: 12px; margin-top: 12px; opacity: .85; }
.footer-nav { display: grid; grid-template-columns: auto auto; gap: 8px 48px; }
.footer-main { display: flex; flex-wrap: wrap; gap: 8px 28px; grid-column: 1 / -1; }
.footer-main a { font-family: var(--font-en); font-style: italic; font-size: 14px; font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; }
.footer-sub { grid-column: 1 / -1; justify-self: end; display: grid; gap: 2px; font-size: 12px; opacity: .85; }
.footer-sub a, .footer-sub span, .footer-bottom a, .footer-bottom span { display: inline-flex; align-items: center; min-height: 30px; }
.footer-sub a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 11px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 24px; opacity: .85; }
.footer-bottom small { font-family: var(--font-en); font-size: 11px; opacity: .8; }
@media (max-width: 767px) {
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-sub { justify-self: start; }
  .footer-bottom { flex-direction: column; align-items: start; }
}

/* ------------------------------------------------------------ page hero (sub pages) */
.page-hero { position: relative; overflow: hidden; border-radius: 0 0 var(--r-photo) 0; }
.page-hero-in { position: relative; min-height: 200px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.page-hero h1 .en { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; }
.page-hero h1 .ja { display: block; font-size: 13px; font-weight: 500; margin-top: 8px; }
.page-hero.is-ink { background: var(--color-ink); color: #fff; }
.page-hero.is-ink::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 140% at 100% 0%, rgba(35, 139, 142, .45), transparent 55%),
  repeating-linear-gradient(115deg, transparent 0 90px, rgba(255, 255, 255, .03) 90px 92px); }
.page-hero.is-light { background: linear-gradient(100deg, #15716F 0%, #238B8E 30%, #54AAA9 58%, #AFDFE3 84%, #E6F0F1 100%); color: #fff; }
.page-hero.is-light::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 120% at 20% 120%, transparent 60%, rgba(255, 255, 255, .18) 60.3%, transparent 61%),
  radial-gradient(70% 140% at 30% 130%, transparent 60%, rgba(255, 255, 255, .14) 60.3%, transparent 61%),
  radial-gradient(80% 160% at 40% 140%, transparent 60%, rgba(255, 255, 255, .1) 60.3%, transparent 61%); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 11px; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.page-hero .crumbs { align-self: flex-start; margin-top: 16px; padding: 4px 12px; border-radius: 4px; background: rgba(31, 53, 56, .5); color: #fff; }
.page-hero.is-light .crumbs { background: rgba(31, 53, 56, .35); }
@media (max-width: 767px) {
  .page-hero-in { min-height: 0; flex-direction: column-reverse; align-items: start; padding-block: 16px 40px; gap: 32px; }
  .page-hero .crumbs { margin-top: 0; }
}

/* ------------------------------------------------------------ company */
.co-body { padding-block: 40px 40px; }
.co-sec { padding-block: 80px; }
.profile { border-top: 1px solid var(--color-line); }
.profile-row { display: grid; grid-template-columns: 20% 1fr; gap: 24px; padding-block: 30px; border-bottom: 1px solid var(--color-line); font-size: 15px; }
.profile-row dt { font-weight: 700; font-size: 14px; }
.access-grid { display: grid; grid-template-columns: 30fr 70fr; gap: 48px; align-items: start; }
.access-text address { font-size: 15px; }
.routes { margin: 16px 0 24px; font-size: 14px; color: var(--color-muted); }
.access-map .media { min-height: 260px; }
.timeline { position: relative; display: grid; gap: 40px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--color-accent) 0 70%, var(--color-line) 70%); border-radius: 1px; }
.tl-year { display: grid; grid-template-columns: 120px 1fr; gap: 24px; position: relative; }
.tl-year::before { content: ""; position: absolute; left: -29px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px var(--color-bg); }
.year { font-family: var(--font-en); font-style: italic; font-weight: 600; font-size: 24px; color: var(--color-accent-ink); line-height: 1.5; }
.tl-year ul { border-top: 1px solid var(--color-line); }
.tl-year ul li { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--color-line); font-size: 15px; }
.month { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery { display: grid; grid-template-columns: 77fr 20fr; gap: 3%; align-items: start; }
.gallery-main .slide { position: relative; }
.gallery-cap { position: absolute; inset: auto 0 0; padding: 40px 20px 14px; color: #fff; font-size: 13px; font-weight: 500; background: linear-gradient(180deg, transparent, rgba(14, 40, 42, .55)); border-radius: 0 0 var(--r-card) var(--r-card); pointer-events: none; }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.thumb { position: relative; border-radius: 4px; overflow: hidden; outline-offset: 2px; }
.thumb .media { border-radius: 4px; }
.thumb .ph-spec, .thumb .ph-id { display: none; }
.thumb .ph-label { font-size: 10px; }
.thumb::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 4px; transition: border-color var(--t); }
.thumb[aria-current="true"]::after { border-color: var(--color-accent); }
.thumb:not([aria-current="true"]) { opacity: .78; }
.thumb:hover { opacity: 1; }
.achieve { padding-block: 40px 120px; }
.achieve-card { display: grid; grid-template-columns: 34% 1fr; gap: 48px; align-items: center; background: var(--color-paper); border-radius: var(--r-card); padding: 40px; }
.achieve-card + .achieve-card { margin-top: 24px; }
.achieve-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.achieve-body p { font-size: 14px; color: var(--color-muted); }
.achieve-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 20px; }
.related { background: var(--color-bg); padding-block: 80px; }
.related-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.related-card { flex: 0 1 300px; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 120px; padding: 24px 24px 24px 28px; border-radius: var(--r-card); background: var(--color-ink); color: #fff; transition: background var(--t); }
.related-card:hover { background: var(--color-ink-2); }
.related-card .en { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.2; }
.related-card .ja { display: block; font-size: 12px; opacity: .8; }
.crumb-band { background: #172A2D; color: rgba(255, 255, 255, .85); padding-block: 12px; }
.crumb-band + .site-footer { padding-top: 56px; }
@media (max-width: 1023px) { .access-grid { grid-template-columns: 1fr; gap: 24px; } .achieve-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; } }
@media (max-width: 767px) {
  .co-sec { padding-block: 56px; }
  .profile-row { grid-template-columns: 1fr; gap: 4px; padding-block: 20px; }
  .access-map .media { min-height: 240px; }
  .tl-year { grid-template-columns: 1fr; gap: 8px; }
  .tl-year ul li { grid-template-columns: 44px 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery-thumbs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .thumb { flex: 0 0 96px; }
  .achieve { padding-block: 24px 72px; }
  .related { padding-block: 56px; }
  .related-card { flex-basis: 100%; }
}

/* ------------------------------------------------------------ recruit */
.page-recruit .page-hero { border-radius: 0; }
.rc-intro { background: var(--color-ink); color: #fff; padding-block: 72px 120px; position: relative; overflow: hidden; }
.rc-intro-grid { display: grid; grid-template-columns: 28fr 72fr; gap: 48px; align-items: start; }
.rc-intro-text h2 { font-size: 24px; font-weight: 700; line-height: 1.7; margin-bottom: 28px; }
.entry-list { display: grid; gap: 14px; margin-bottom: 24px; }
.entry { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px 12px 20px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 10px; transition: background var(--t); }
a.entry:hover { background: rgba(255, 255, 255, .08); }
.entry .en { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 16px; line-height: 1.4; }
.entry .ja { display: block; font-size: 11px; opacity: .85; }
.entry .pending-tag { position: absolute; top: -10px; right: 10px; margin: 0; }
.rc-collage { display: grid; grid-template-columns: 1.15fr .55fr .55fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 2.3 / 1; }
.rc-collage .media { aspect-ratio: auto; height: 100%; min-height: 0; }
.rc-collage .k1 { grid-row: 1; grid-column: 1; }
.rc-collage .k2 { grid-row: 1; grid-column: 2 / 4; }
.rc-collage .k3 { grid-row: 2; grid-column: 1; }
.rc-collage .k4 { grid-row: 2; grid-column: 2; }
.rc-collage .k5 { grid-row: 2; grid-column: 3; }
.rc-collage.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.rc-collage.n1 .k1 { grid-row: 1; }
.rc-collage .k6, .rc-collage .k7, .rc-collage .k8 { display: none; }
.rc-message { display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 48px; margin-top: 88px; }
.msg-label { font-family: var(--font-en); font-style: italic; font-size: 13px; opacity: .8; border-bottom: 1px solid rgba(255, 255, 255, .5); display: inline-block; margin-bottom: 16px; }
.rc-message h2 { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.msg-text p:not(.msg-label) { font-size: 14px; line-height: 2; opacity: .92; }
.msg-text p + p { margin-top: 20px; }
.msg-deco { position: relative; min-height: 280px; pointer-events: none; }
.msg-deco i { position: absolute; display: block; background: rgba(175, 223, 227, .12); }
.msg-deco i:nth-child(1) { width: 46%; aspect-ratio: 1; right: 30%; top: 4%; clip-path: polygon(0 20%, 100% 0, 70% 100%); }
.msg-deco i:nth-child(2) { width: 30%; aspect-ratio: 1; right: 4%; top: 18%; clip-path: polygon(50% 0, 100% 100%, 0 80%); background: rgba(175, 223, 227, .18); }
.msg-deco i:nth-child(3) { width: 38%; aspect-ratio: 1; right: 22%; top: 50%; clip-path: polygon(0 0, 100% 40%, 30% 100%); background: rgba(255, 255, 255, .06); }
.msg-deco i:nth-child(4) { width: 18%; aspect-ratio: 1; right: 52%; top: 60%; clip-path: polygon(20% 0, 100% 60%, 0 100%); background: rgba(175, 223, 227, .1); }
.rc-dv { padding-block: 120px 40px; }
.dv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dv-item .sec-head { margin-bottom: 24px; }
.dv-frame { position: relative; }
.dv-frame .media { box-shadow: 0 1px 0 var(--color-line); }
.dv-link { position: absolute; inset: 0; display: grid; place-items: center; }
.dv-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--color-ink); color: #fff; font-size: 13px; font-weight: 500; transition: background var(--t); }
.dv-btn svg { width: 18px; height: 18px; }
a.dv-link:hover .dv-btn { background: var(--color-accent); }
.dv-link.is-pending .pending-tag { position: absolute; top: 12px; right: 12px; margin: 0; }
.rc-cats { padding-block: 80px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { display: block; background: var(--color-paper); border-radius: 4px; overflow: hidden; border: 1px solid #E1E9EA; height: 100%; }
.cat-card .ph-spec, .cat-card .ph-id { display: none; }
.cat-body { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 12px 14px 14px; }
.cat-body .en { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.3; }
.cat-body .ja { display: block; font-size: 11px; color: var(--color-muted); line-height: 1.5; }
.cat-card .pending-tag { margin: 0 14px 12px; }
.rc-interview { padding-block: 80px 120px; }
.rc-interview .sec-head { margin-bottom: 48px; }
.iv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.iv-card { display: block; }
.iv-meta { display: block; font-size: 11px; color: var(--color-muted); margin-top: 16px; }
.iv-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 4px; }
.iv-title { font-size: 15px; font-weight: 700; line-height: 1.6; }
.iv-card .pending-tag { margin: 8px 0 0; }
.center { display: flex; justify-content: center; margin-top: 56px; }
.rc-articles { padding-block: 0 80px; }
.articles-box { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; background: var(--color-paper); border-radius: var(--r-card); padding: 40px; }
.media-name { font-family: var(--font-en); font-weight: 600; font-size: 18px; margin-bottom: 16px; line-height: 1.4; }
.articles-scroll { position: relative; min-width: 0; }
.articles-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.articles-track li { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }
.article-card { display: block; font-size: 13px; font-weight: 500; line-height: 1.6; }
.article-card > span:not(.ext) { display: block; margin-top: 10px; }
.article-card .pending-tag { margin: 6px 0 0; }
.hs-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.rc-jobs { background: var(--color-ink); color: #fff; padding-block: 96px; }
.jobs-title { font-size: 20px; font-weight: 700; margin-bottom: 32px; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 84px; padding: 16px 16px 16px 24px; border-radius: var(--r-card); background: var(--color-paper); color: var(--color-ink); position: relative; transition: transform var(--t) var(--ease); }
a.job-card:hover { transform: translateY(-2px); }
.job-name { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.dot-mark { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.job-card.is-closed { opacity: .65; }
.job-card.is-closed .dot-mark { background: #A3B3B4; }
.status { font-size: 11px; padding: 1px 8px; border-radius: 4px; background: #E8EFEF; color: var(--color-muted); white-space: nowrap; margin-left: auto; }
.job-card .pending-tag { position: absolute; top: -9px; right: 12px; margin: 0; }
@media (max-width: 1023px) {
  .rc-intro-grid { grid-template-columns: 1fr; }
  .rc-intro-text { max-width: 560px; }
  .rc-message { grid-template-columns: 1fr; }
  .msg-deco { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .iv-grid { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-box { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .rc-intro { padding-block: 48px 72px; }
  .rc-intro-text h2 { font-size: 21px; }
  .rc-collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 8px; }
  .rc-collage .media { aspect-ratio: 4 / 3; height: auto; }
  .rc-collage .k1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .rc-collage .k2, .rc-collage .k3, .rc-collage .k4, .rc-collage .k5 { grid-row: auto; grid-column: auto; }
  .rc-message { margin-top: 56px; }
  .rc-message h2 { font-size: 19px; }
  .rc-dv { padding-block: 72px 24px; }
  .dv-grid { grid-template-columns: 1fr; gap: 48px; }
  .rc-cats { padding-block: 56px; }
  .cat-grid { gap: 10px; }
  .iv-grid, .job-grid { grid-template-columns: 1fr; gap: 28px; }
  .job-grid { gap: 14px; }
  .rc-interview { padding-block: 56px 72px; }
  .articles-box { padding: 24px; }
  .articles-track li { flex-basis: 78%; }
  .rc-jobs { padding-block: 64px; }
}
@media (max-width: 359px) { .cat-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ preview flag */
.preview-flag { position: fixed; left: 12px; bottom: 12px; z-index: 90; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 6px; background: #FFF1C7; color: #6B4E00; font-size: 11px; font-weight: 500; line-height: 1.5; box-shadow: 0 4px 14px rgba(31, 53, 56, .14); pointer-events: none; }

/* ------------------------------------------------------------ reveal (JS有効時のみ、初回のみ) */
.rv-pending { opacity: 0; transform: translateY(16px); }
.rv-in { opacity: 1; transform: none; transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .rv-pending { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ fixes */
.mission .media, .recruit-band .media, .rc-intro .media { background: transparent; }
.growth-grid > *, .svc > *, .value-grid > *, .news-grid > *, .access-grid > *, .band-body > *, .rc-intro-grid > *, .mission-in > *, .dv-grid > *, .achieve-card > * { min-width: 0; }
.text-link.is-pending { flex-wrap: wrap; border-bottom: 0; }
.device-phone .ph-spec, .device-phone .ph-id { display: none; }
.device-phone .ph-label { font-size: 11px; }
@media (max-width: 767px) { .chart { min-width: 360px; } }

@media (max-width: 767px) { .logo-img, .menu-bar .logo-img { height: 33px; } .footer-brand .logo-img { height: 38px; } }
@media (max-width: 359px) { .site-header .logo-img { height: 28px; } }

/* Vision 5つの方針 */
.vision-points { display: grid; border-top: 1px solid rgba(255, 255, 255, .28); margin-top: 8px; }
.vision-points li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding-block: 16px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.vp-num { font-family: var(--font-en); font-style: italic; font-weight: 600; font-size: 17px; line-height: 1.6; color: var(--color-accent-soft); }
.vision-points h3 { font-size: 17px; font-weight: 700; line-height: 1.6; }
.mission-text .vision-points p { font-size: 14px; line-height: 1.8; margin-top: 4px; opacity: .9; }
@media (max-width: 767px) { .vision-points li { grid-template-columns: 36px 1fr; padding-block: 14px; } .vision-points h3 { font-size: 16px; } .vp-num { font-size: 15px; } }

/* Access 地図埋め込み */
.map-embed { display: block; width: 100%; aspect-ratio: 2.7 / 1; min-height: 260px; border: 0; border-radius: var(--r-card); background: var(--color-ph); }
@media (max-width: 767px) { .map-embed { aspect-ratio: auto; height: 240px; min-height: 0; } }

/* 資料・動画「公開準備中」 */
.dv-soon { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: var(--r-card); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, rgba(175, 223, 227, .28), transparent 55%), linear-gradient(135deg, #238B8E 0%, #15716F 55%, #0E5558 100%); }
.dv-soon.is-video { background: radial-gradient(120% 90% at 15% 90%, rgba(84, 170, 169, .35), transparent 55%), linear-gradient(135deg, #2B474B 0%, #1F3538 55%, #172A2D 100%); }
.soon-hex { position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; right: -14%; top: -22%; border: 1.5px solid rgba(255, 255, 255, .16);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); background: linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 60%); transform: rotate(12deg); }
.soon-hex.is-2 { width: 38%; right: auto; left: -8%; top: auto; bottom: -18%; transform: rotate(-18deg); background: linear-gradient(135deg, rgba(175, 223, 227, .16), transparent 70%); }
.soon-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); margin-bottom: 8px; }
.soon-icon svg { width: 24px; height: 24px; }
.soon-en { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; letter-spacing: .01em; }
.soon-ja { display: inline-block; margin-top: 6px; padding: 2px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--color-accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.dv-soon.is-video .soon-ja { color: var(--color-ink); }
.soon-msg { margin-top: 8px; font-size: 12px; line-height: 1.7; opacity: .85; max-width: 26em; }
@media (max-width: 767px) { .soon-icon { width: 44px; height: 44px; margin-bottom: 4px; } .soon-icon svg { width: 20px; height: 20px; } .soon-msg { font-size: 11px; } }
.soon-icon { flex: none; }
.soon-msg { text-wrap: balance; }
@media (max-width: 767px) { .dv-soon { aspect-ratio: 4 / 3; } }
.svc-logo.has-img { background: transparent; border-radius: 0; width: min(360px, 100%); }
.svc-logo.has-img img { object-fit: contain; object-position: left center; }

/* カテゴリ・インタビュー「公開準備中」 */
.cat-card.is-soon { display: flex; flex-direction: column; }
.cat-soon-top { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 6; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 120% at 90% 0%, rgba(175, 223, 227, .3), transparent 55%), linear-gradient(135deg, #238B8E 0%, #15716F 60%, #0E5558 100%); }
.cat-grid li:nth-child(even) .cat-soon-top { background: radial-gradient(120% 120% at 10% 100%, rgba(84, 170, 169, .35), transparent 55%), linear-gradient(135deg, #2B474B 0%, #1F3538 60%, #172A2D 100%); }
.cat-soon-top .soon-hex { width: 46%; right: -10%; top: -40%; }
.cat-soon-en { font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: 15px; letter-spacing: .02em; opacity: .95; }
.is-soon .cat-body { flex: 1; }
.is-soon .cat-body .en { color: var(--color-ink); }
.soon-chip { flex: none; padding: 2px 10px; border-radius: 999px; background: #E3F1F2; color: var(--color-accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.dv-soon.is-wide { aspect-ratio: auto; min-height: 280px; padding-block: 48px; }
@media (max-width: 767px) {
  .is-soon .cat-body { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dv-soon.is-wide { min-height: 240px; padding-block: 36px; }
}
.is-soon .cat-body { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 16px; }
.is-soon .soon-chip { margin-top: auto; }

/* Vision 写真なし：本文のみ。方針リストを2列に */
.mission-in.no-media { grid-template-columns: 1fr; }
.mission-in.no-media .mission-text { display: grid; grid-template-columns: 40fr 60fr; gap: 0 72px; align-items: start; }
.mission-in.no-media .mission-text > .sec-head, .mission-in.no-media .mission-text > .mission-copy { grid-column: 1; }
.mission-in.no-media .vision-points { grid-column: 2; grid-row: 1 / span 3; margin-top: 112px; }
.mission-in.no-media .mission-text > .pill { grid-column: 1; justify-self: start; }
@media (max-width: 1023px) {
  .mission-in.no-media .mission-text { display: block; }
  .mission-in.no-media .vision-points { margin-top: 8px; }
}
@media (min-width: 1024px) {
  .mission-in.no-media .mission-text { grid-template-rows: auto auto 1fr; }
  .mission-in.no-media .vision-points { grid-row: 1 / span 3; margin-top: 128px; }
  .mission-in.no-media .mission-text > .pill { align-self: start; grid-row: 3; }
}

/* 採用導入：写真なし */
.rc-intro-grid.no-media { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .rc-intro-grid.no-media .rc-intro-text { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: center; max-width: none; }
  .rc-intro-grid.no-media .rc-intro-text h2 { grid-row: 1 / span 2; font-size: 30px; margin: 0; }
  .rc-intro-grid.no-media .entry-list { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }
}

/* ------------------------------------------------------------ contact */
.form-page { padding-block: 72px 120px; }
.form-wrap { max-width: 800px; }
.form-lead { margin-bottom: 40px; font-size: 14px; }
.form-note { color: var(--color-accent-ink); }
.contact-form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.req { display: inline-block; padding: 1px 6px; border-radius: 3px; background: var(--color-ink); color: #fff; font-size: 10px; font-weight: 700; line-height: 1.6; }
.req.is-must { background: var(--color-accent-ink); }
.input { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--color-line); border-radius: 4px; background: var(--color-paper); color: var(--color-text); font: inherit; font-size: 15px; line-height: 1.6; transition: border-color var(--t), box-shadow var(--t); }
.input::placeholder { color: #93A2A4; }
.input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(35, 139, 142, .18); }
textarea.input { min-height: 200px; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); transform: rotate(45deg); pointer-events: none; }
.field.has-error .input { border-color: #C2413A; }
.field-error { font-size: 12px; color: #B3372F; font-weight: 500; }
.field-hint { font-size: 12px; color: var(--color-muted); line-height: 1.7; }
.agree { display: grid; justify-items: center; gap: 8px; width: min(300px, 100%); margin: 16px auto 0; padding: 20px 16px; border: 1px solid var(--color-line); border-radius: 4px; background: var(--color-paper); text-align: center; }
.agree-box { display: grid; justify-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 700; }
.agree-box input { width: 20px; height: 20px; accent-color: var(--color-accent); cursor: pointer; }
.req-text { font-size: 10px; color: var(--color-accent-ink); margin-left: 4px; }
.agree-link { font-size: 12px; color: var(--color-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; justify-content: center; }
.btn-submit { width: min(300px, 100%); height: 58px; border-radius: 999px; background: var(--color-accent-ink); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .1em; transition: background var(--t), opacity var(--t); }
.btn-submit:hover:not(:disabled) { background: #0E5558; }
.btn-submit:disabled { background: #D4DCDD; color: #fff; cursor: not-allowed; }
.form-status { text-align: center; font-size: 14px; padding: 16px; border-radius: 6px; background: #E3F1F2; color: var(--color-accent-ink); }
.form-status.is-warn { background: #FFF1C7; color: #6B4E00; }
.form-status.is-error { background: #FBE3E1; color: #B3372F; }
@media (max-width: 767px) { .form-page { padding-block: 48px 72px; } .contact-form { gap: 24px; } }

/* ------------------------------------------------------------ privacy */
.pp-page { padding-block: 72px 120px; }
.pp-wrap { max-width: 880px; }
.pp-intro { font-size: 15px; line-height: 2; margin-bottom: 56px; }
.pp-art + .pp-art { margin-top: 48px; }
.pp-art h2 { font-size: 19px; font-weight: 700; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--color-line); position: relative; }
.pp-art h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--color-accent); }
.pp-art p { font-size: 15px; line-height: 2; }
.pp-art p + p { margin-top: 8px; }
.pp-list { list-style: none; counter-reset: pp; margin-top: 12px; display: grid; gap: 6px; padding: 20px 24px; background: var(--color-paper); border-radius: var(--r-card); }
.pp-list li { counter-increment: pp; position: relative; padding-left: 32px; font-size: 14px; line-height: 1.8; }
.pp-list li::before { content: counter(pp); position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #E3F1F2; color: var(--color-accent-ink); font: 600 11px/20px var(--font-en); text-align: center; }
.pp-contact { margin-top: 16px; padding: 20px 24px; background: var(--color-paper); border-radius: var(--r-card); display: grid; gap: 8px; font-size: 14px; }
.pp-contact div { display: grid; grid-template-columns: 6em 1fr; gap: 16px; }
.pp-contact dt { font-weight: 700; }
.pp-contact dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .pp-page { padding-block: 48px 72px; } .pp-intro { font-size: 14px; } .pp-art p { font-size: 14px; } .pp-list, .pp-contact { padding: 16px; } .pp-contact div { grid-template-columns: 1fr; gap: 0; } }
.rc-intro { padding-bottom: 88px; }
@media (max-width: 767px) { .rc-intro { padding-bottom: 56px; } }

/* ------------------------------------------------------------ about */
.ab-vision { position: relative; isolation: isolate; color: #fff; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.ab-vision-bg { position: absolute; inset: 0; z-index: -1; }
.ab-vision-bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-vision-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 85, 88, .94) 0%, rgba(21, 113, 111, .82) 42%, rgba(35, 139, 142, .35) 75%, rgba(35, 139, 142, .15) 100%); }
.ab-vision-in { padding-block: 120px; }
.ab-vision-copy { margin-top: 40px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; text-wrap: balance; }
.ab-policy { padding-block: 140px; }
.ab-policy-grid { display: grid; grid-template-columns: 36fr 64fr; gap: 64px; align-items: start; }
.ab-policy-head { position: sticky; top: calc(var(--header-h) + 40px); }
.ab-points { border-top: 1px solid var(--color-line); }
.ab-points li { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; padding-block: 28px; border-bottom: 1px solid var(--color-line); }
.ab-num { font-family: var(--font-en); font-style: italic; font-weight: 600; font-size: 26px; line-height: 1.3; color: var(--color-accent-ink); }
.ab-num.on-dark { color: var(--color-accent-soft); }
.ab-points h3 { font-size: 20px; font-weight: 700; line-height: 1.6; }
.ab-points p { margin-top: 6px; font-size: 15px; color: var(--color-muted); }
.ab-value { background: var(--g-menu); color: #fff; padding-block: 140px; }
.ab-value-head { padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ab-value-head > p { margin-top: 24px; font-size: 14px; opacity: .88; }
.ab-values li { display: grid; grid-template-columns: 1fr 44%; gap: 64px; align-items: center; padding-block: 40px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ab-value-text h3 { font-size: 24px; font-weight: 700; margin: 8px 0 12px; }
.ab-value-text p { font-size: 15px; line-height: 2; opacity: .9; max-width: 32em; }
.ab-values .media { background: rgba(255, 255, 255, .08); }
.ab-value + .recruit-band { border-top: 1px solid rgba(255, 255, 255, .06); }
@media (max-width: 1023px) {
  .ab-policy-grid { grid-template-columns: 1fr; gap: 40px; }
  .ab-policy-head { position: static; }
  .ab-values li { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .ab-vision { min-height: 380px; }
  .ab-vision-in { padding-block: 72px; }
  .ab-vision-bg::after { background: linear-gradient(180deg, rgba(14, 85, 88, .7), rgba(14, 85, 88, .92)); }
  .ab-policy, .ab-value { padding-block: 72px; }
  .ab-points li { grid-template-columns: 44px 1fr; padding-block: 22px; }
  .ab-num { font-size: 20px; }
  .ab-points h3 { font-size: 17px; }
  .ab-points p { font-size: 14px; }
  .ab-values li { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .ab-values .media { order: -1; }
  .ab-value-text h3 { font-size: 20px; }
}

/* ------------------------------------------------------------ news list */
.nl-page { padding-block: 72px 120px; }
.nl-list { border-top: 1px solid var(--color-line); }
.nl-list li { border-bottom: 1px solid var(--color-line); }
.nl-row { display: grid; grid-template-columns: 160px 1fr; align-items: center; min-height: 80px; padding: 18px 24px; position: relative; transition: background var(--t); }
.nl-row::before { content: ""; position: absolute; left: 24px; top: 50%; width: 2px; height: 22px; margin-top: -11px; background: var(--color-line); transition: background var(--t); }
.nl-row time { padding-left: 16px; font-family: var(--font-en); font-size: 13px; color: var(--color-muted); font-variant-numeric: tabular-nums; border-right: 1px solid var(--color-line); margin-right: 24px; line-height: 1.6; }
.nl-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; font-weight: 500; line-height: 1.7; min-width: 0; }
a.nl-row:hover { background: var(--color-paper); }
a.nl-row:hover::before { background: var(--color-accent); }
a.nl-row:hover .nl-title, a.nl-row:hover time { color: var(--color-accent-ink); }
.pager { margin-top: 56px; }
.pager ol { display: flex; justify-content: center; align-items: center; gap: 8px; }
.pg { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #DEE6E7; color: var(--color-muted); font-family: var(--font-en); font-size: 13px; font-weight: 600; }
.pg.is-current { background: var(--color-ink); color: #fff; }
.pg.is-next { background: none; font-size: 22px; }
a.pg:hover { background: var(--color-accent); color: #fff; }
a.pg.is-next:hover { background: none; color: var(--color-accent-ink); }
@media (max-width: 767px) {
  .nl-page { padding-block: 48px 72px; }
  .nl-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 8px 18px 20px; }
  .nl-row::before { left: 0; top: 22px; margin-top: 0; }
  .nl-row time { padding-left: 0; border-right: 0; margin-right: 0; }
}

/* 採用導入：準備中 */
.entry.is-soon { border-style: dashed; border-color: rgba(255, 255, 255, .45); }
.entry.is-soon .en, .entry.is-soon .ja { opacity: .75; }
.soon-badge { flex: none; display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(175, 223, 227, .16); border: 1px solid rgba(175, 223, 227, .5); color: var(--color-accent-soft); font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.6; white-space: nowrap; }
.sub-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.entry.is-soon { position: relative; }
.entry.is-soon .soon-badge { position: absolute; top: -11px; right: 14px; background: #23383B; }
.entry-list li { display: flex; } .entry-list li > * { flex: 1; }
.job-card.is-soon .status { background: #E3F1F2; color: var(--color-accent-ink); font-weight: 700; letter-spacing: .08em; padding: 3px 12px; border-radius: 999px; }
.job-card.is-soon { cursor: default; }
.svc-title { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.4; letter-spacing: .02em; color: var(--color-ink); }
.svc-cat { font-family: var(--font-en); font-style: italic; color: var(--color-accent-ink); }
