@charset "UTF-8";
/* ============================================================
   神島工業株式会社 コーポレートサイト
   カラー: コバルトブルー × 濃紺 × 安全ベストの黄
   書体  : Noto Sans JP / Barlow Condensed(欧文)
============================================================ */

:root {
  --c-blue: #0b63e6;
  --c-blue-deep: #0946a8;
  --c-navy: #0d1b2e;
  --c-sky: #edf4fe;
  --c-yellow: #ffc61a;
  --c-text: #2a3648;
  --c-muted: #6b7686;
  --c-line: #d9e2ee;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Barlow Condensed", "Arial Narrow", sans-serif;
  --w-content: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 背面装飾(ghost文字)のはみ出しによる横スクロールを防ぐ */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-base);
  font-weight: 400;
  color: var(--c-text);
  line-height: 2;
  font-size: 15px;
  letter-spacing: .04em;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: min(var(--w-content), calc(100% - 48px));
  margin-inline: auto;
}

/* ------------------------------------------------------------
   見出しまわり
------------------------------------------------------------ */

/* 英字の小見出し(電流ラインつき) */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue) 60%, var(--c-yellow) 60%);
}
/* eyebrow内の日本語併記(欧文用の広い字間を戻す) */
.eyebrow .jp {
  font-family: var(--font-base);
  font-weight: 700;
  letter-spacing: .1em;
}

.sec-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.6;
  color: var(--c-navy);
  margin-top: 14px;
  word-break: auto-phrase; /* 対応ブラウザでは文節単位の自然な折り返しに */
}

/* 見出しブロックを中央に置くとき(概要テーブルの上など) */
.sec-center { text-align: center; }
.sec-center .eyebrow { justify-content: center; }

/* 背面に敷く輪郭だけの英字 */
.ghost-word {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(90px, 13vw, 170px);
  line-height: 1;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 99, 230, .14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   ボタン
------------------------------------------------------------ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 240px;
  padding: 16px 26px;
  background: var(--c-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  transition: background .35s ease;
}
.btn .arrow { transition: transform .35s ease; }
.btn:hover { background: var(--c-blue-deep); }
.btn:hover .arrow { transform: translateX(6px); }

.btn--line {
  background: transparent;
  color: var(--c-navy);
  border: 1px solid var(--c-navy);
}
.btn--line:hover { background: var(--c-navy); color: #fff; }

.btn--yellow {
  background: var(--c-yellow);
  color: var(--c-navy);
}
.btn--yellow:hover { background: #ffd75c; }

/* キーボード操作時のフォーカス表示 */
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   ヘッダー
------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  color: #fff;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 14px rgba(13, 27, 46, .08);
  padding: 10px 32px;
  color: var(--c-navy);
}

.site-logo { display: flex; align-items: center; }
.site-logo .name { font-weight: 900; font-size: 21px; letter-spacing: .08em; line-height: 1.3; }
.site-logo .name small {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .3em;
  opacity: .7;
}

.gnav { display: flex; align-items: center; gap: 32px; }
.gnav a.nav-link {
  font-weight: 700;
  font-size: 16px;
  position: relative;
  padding: 4px 0;
}
.gnav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.gnav a.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.gnav .tel {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.gnav .tel .tel-icon { flex-shrink: 0; }
.gnav .tel b {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: .05em;
}
.gnav .btn { min-width: 0; padding: 12px 22px; font-size: 13px; }

/* SPメニュー開閉ボタン(ハンバーガー)。PCでは出さない */
.menu-btn {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 29px; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPメニュー本体(全画面の紺ドロワー) */
.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 40; /* ヘッダー(50)の下に敷いて、ロゴと×ボタンは見せたまま */
  background: var(--c-navy);
  padding: 96px 28px 40px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
body.menu-open .sp-menu {
  visibility: visible;
  opacity: 1;
  transition: opacity .3s ease;
}
/* PC幅ではドロワー自体を無効化(保険) */
@media (min-width: 769px) {
  .sp-menu { display: none; }
}
body.menu-open { overflow: hidden; } /* 背面のスクロールを止める */

/* メニューを開いている間はヘッダーを透過・白文字に戻す */
body.menu-open .site-header {
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.sp-menu .menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.sp-menu .menu-links a small {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.sp-menu .menu-links a.is-current { color: var(--c-yellow); }
.sp-menu .menu-links a.is-current small { color: rgba(255, 198, 26, .6); }

.sp-menu .menu-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .05em;
}
.sp-menu .menu-tel .cap {
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}
.sp-menu > .btn {
  display: flex;
  width: 100%;
  margin-top: 20px;
}

/* ------------------------------------------------------------
   ヒーロー
------------------------------------------------------------ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  /* 動画が自動再生できない端末(iOSの低電力モードなど)ではこの静止画が見える */
  background: var(--c-navy) url(../img/hero-poster.jpg) center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

/* 自動再生できなかったときは動画を隠し、背景の静止画に委ねる */
.hero-video.is-hidden { display: none; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* 上辺: 明るい空の上でもヘッダーの白文字が読めるよう薄いスクリムを敷く */
  background: linear-gradient(180deg,
    rgba(13, 27, 46, .45) 0%,
    rgba(13, 27, 46, .08) 22%,
    rgba(13, 27, 46, .38) 62%,
    rgba(13, 27, 46, .80) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--w-content), calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: clamp(56px, 10vh, 110px);
  color: #fff;
}

.hero-catch {
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 900;
  line-height: 1.72;
  letter-spacing: .06em;
  text-shadow: 0 2px 24px rgba(13, 27, 46, .45);
}
.hero-catch .line {
  display: block;
  overflow: hidden;
}
.hero-catch .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.22, 1, .36, 1);
}
body.is-loaded .hero-catch .line > span { transform: translateY(0); }
body.is-loaded .hero-catch .line:nth-child(2) > span { transition-delay: .18s; }

/* 「根もと」に引かれる黄色マーカー */
.marker {
  position: relative;
  z-index: 1;
  font-style: normal;
}
.marker::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.06em; right: -.06em; bottom: .04em;
  height: .32em;
  background: var(--c-yellow);
  opacity: .92;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1) 1s;
}
body.is-loaded .marker::after { transform: scaleX(1); }

.hero-sub {
  margin-top: 22px;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  line-height: 2.1;
  text-shadow: 0 1px 12px rgba(13, 27, 46, .5);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease 1s, transform .8s ease 1s;
}
.hero-cta {
  margin-top: 30px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease 1.25s, transform .8s ease 1.25s;
}
body.is-loaded .hero-sub,
body.is-loaded .hero-cta { opacity: 1; transform: translateY(0); }

/* 左端の社名(縦) */
.hero-side {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: clamp(56px, 10vh, 110px);
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .42em;
  color: rgba(255, 255, 255, .65);
}

/* スクロールサイン(電流ライン) */
.scroll-sign {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .8);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .4em;
}
.scroll-sign .label { writing-mode: vertical-rl; }
.scroll-sign .wire {
  position: relative;
  width: 1px;
  height: 90px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
}
.scroll-sign .wire::after {
  content: "";
  position: absolute;
  left: 0; top: -30%;
  width: 100%;
  height: 30%;
  background: var(--c-yellow);
  animation: current 2.2s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes current {
  0%   { top: -30%; }
  70%, 100% { top: 110%; }
}

/* ------------------------------------------------------------
   スクロール連動の表示アニメーション
------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
[data-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .15s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .3s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .45s; }

/* ------------------------------------------------------------
   ABOUT — 発電所の、定期健診。
------------------------------------------------------------ */

.about {
  position: relative;
  padding: clamp(110px, 14vw, 170px) 0 clamp(130px, 15vw, 190px);
  overflow: hidden;
}
.about::before {
  /* 右側の淡青の帯 */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 100%;
  background: var(--c-sky);
}
.about .ghost-word { top: 48px; left: -6px; }

.about-grid {
  position: relative;
  display: flex;
  gap: clamp(32px, 5vw, 64px);
}

.about-title {
  writing-mode: vertical-rl;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: .22em;
  line-height: 1.7;
  flex-shrink: 0;
  margin-top: 20px;
  padding-top: 26px;
  position: relative;
}
.about-title::before {
  /* 見出し上の黄色い点 */
  content: "";
  position: absolute;
  top: 0; right: .55em;
  width: 10px; height: 10px;
  background: var(--c-yellow);
}

.about-body { max-width: 420px; margin-top: 64px; }
.about-body .text { margin-top: 26px; }
.about-body .text p + p { margin-top: 1.5em; }

.about-photos {
  position: relative;
  margin-left: auto;
  margin-top: 96px;
  flex-shrink: 0;
  padding-left: 28px; /* サブ写真が本文カラムへ食い込まないための逃げ */
}
.about-photos .ph-main {
  width: clamp(300px, 34vw, 460px);
  height: auto;
  aspect-ratio: 46 / 33;
  object-fit: cover;
}
.about-photos .ph-sub {
  position: absolute;
  left: -36px;
  bottom: -56px;
  width: clamp(170px, 18vw, 250px);
  aspect-ratio: 25 / 18;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(13, 27, 46, .22);
}

/* ------------------------------------------------------------
   FACTS — 数字で見る
------------------------------------------------------------ */

.facts {
  background: var(--c-navy);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.facts .eyebrow { color: var(--c-yellow); }
.facts .eyebrow::before { background: linear-gradient(90deg, var(--c-yellow) 60%, var(--c-blue) 60%); }

.facts-grid {
  display: flex;
  margin-top: 40px;
  text-align: center;
}
.facts-grid > div {
  flex: 1;
  padding: 10px 16px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.facts-grid > div:first-child { border-left: none; }

.fact-num {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.1;
  letter-spacing: .02em;
}
.fact-num .unit {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: .38em;
  margin-left: .18em;
}
.fact-num .prefix {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: .38em;
  margin-right: .3em;
}
.fact-cap { font-size: 13px; color: rgba(255, 255, 255, .66); margin-top: 8px; }

.facts-note {
  margin-top: 34px;
  text-align: right;
  font-size: 11px;
  color: rgba(255, 255, 255, .62);
}

/* ------------------------------------------------------------
   SERVICE ダイジェスト
------------------------------------------------------------ */

.service-digest {
  position: relative;
  padding: clamp(110px, 14vw, 170px) 0;
  overflow: hidden;
}
.service-digest .ghost-word { right: -8px; bottom: 26px; }

.service-cards {
  display: flex;
  gap: clamp(28px, 4vw, 48px);
  margin-top: 56px;
}
.service-card { flex: 1; }
.service-card:nth-child(2) { margin-top: 56px; }
.service-card:nth-child(3) { margin-top: 112px; }

.service-card .photo {
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
}
.service-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.service-card:hover .photo img { transform: scale(1.06); }

.service-card .num {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .2em;
  color: var(--c-blue);
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card .num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}
.service-card h3 {
  font-size: 21px;
  font-weight: 900;
  color: var(--c-navy);
  margin-top: 8px;
  line-height: 1.6;
}
.service-card p { font-size: 14px; margin-top: 10px; color: var(--c-muted); }

.service-more { margin-top: 64px; text-align: center; }

/* ------------------------------------------------------------
   採用CTA(写真背景)
------------------------------------------------------------ */

.recruit-cta {
  position: relative;
  padding: clamp(110px, 15vw, 180px) 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.recruit-cta .bg {
  position: absolute;
  inset: 0;
  background-image: url(../img/lookup.jpg);
  background-size: cover;
  background-position: center 58%; /* 人物が窓内に入る位置 */
  /* 固定背景による「窓」型のパララックス */
  background-attachment: fixed;
}
.recruit-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 27, 46, .82), rgba(9, 70, 168, .58));
}
.recruit-cta .container { position: relative; z-index: 2; }

.recruit-cta .catch {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: .06em;
  word-break: auto-phrase;
}
.recruit-cta .note { margin-top: 16px; font-size: 14px; opacity: .85; }
.recruit-cta .btn { margin-top: 36px; }

/* ------------------------------------------------------------
   COMPANY ダイジェスト
------------------------------------------------------------ */

.company-digest {
  background: var(--c-sky);
  padding: clamp(100px, 13vw, 150px) 0;
}

.spec-table {
  width: min(960px, 100%);
  margin: 48px auto 0;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  border: 1px solid var(--c-line);
  padding: 16px 24px;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.spec-table th {
  width: 200px;
  background: #f5f8fd;
  color: var(--c-navy);
  font-weight: 700;
}
.map-box {
  margin-top: 40px;
  height: 340px;
  background: #dfe7f1;
}
.company-more { margin-top: 48px; text-align: center; }

/* ------------------------------------------------------------
   フッター
------------------------------------------------------------ */

.site-footer {
  background: var(--c-navy);
  color: #fff;
  padding: 72px 0 36px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-info { font-size: 15px; line-height: 2.1; color: rgba(255, 255, 255, .78); margin-top: 18px; }
.footer-info .fax { font-size: 12px; color: rgba(255, 255, 255, .55); margin-left: 12px; }
.footer-info b {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  letter-spacing: .05em;
}
.footer-nav { display: flex; gap: 30px; font-size: 15px; font-weight: 700; }
.footer-nav a { opacity: .85; transition: opacity .3s; }
.footer-nav a:hover { opacity: 1; }

.copyright {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .45);
  text-align: center;
}

/* ------------------------------------------------------------
   下層ページ共通
------------------------------------------------------------ */

/* 現在ページのナビ表示 */
.gnav a.nav-link.is-current::after { transform: scaleX(1); }

/* SPのみ表示 */
.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
}

/* ページタイトル帯 */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--c-navy);
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 27, 46, .82), rgba(9, 70, 168, .5));
}
.page-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 44px;
}
.page-hero .eyebrow { color: var(--c-yellow); }
.page-hero .eyebrow::before { background: linear-gradient(90deg, var(--c-yellow) 60%, var(--c-blue) 60%); }
.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: .08em;
  margin-top: 10px;
}
/* 採用ページ用の高いタイトル帯 */
.page-hero--tall { height: 480px; }

/* 汎用セクション */
.section { position: relative; padding: clamp(90px, 11vw, 140px) 0; overflow: hidden; }
.section--sky { background: var(--c-sky); }
.section--navy { background: var(--c-navy); color: #fff; }

/* ごあいさつ */
.message-grid {
  display: flex;
  gap: clamp(36px, 5vw, 64px);
  margin-top: 48px;
  align-items: flex-start;
}
.message-text { max-width: 620px; }
.message-text .sign {
  margin-top: 28px;
  text-align: right;
  font-weight: 700;
  color: var(--c-navy);
}

/* 拠点カード */
.office-cards { display: flex; gap: clamp(20px, 3vw, 32px); margin-top: 48px; }
.office-card {
  flex: 1;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-blue);
  padding: 26px 26px 30px;
}
.office-card h3 { font-size: 17px; font-weight: 900; color: var(--c-navy); }
.office-card .addr { font-size: 14px; margin-top: 12px; line-height: 1.9; }
.office-card .tel-line {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--c-navy);
  margin-top: 12px;
  line-height: 1.7;
}

/* 沿革 年表 */
.history-list { margin-top: 48px; }
.history-list li {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  padding: 26px 4px;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.history-list li:first-child { border-top: 1px solid var(--c-line); }
.history-list .year {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 28px;
  color: var(--c-blue);
  width: 150px;
  flex-shrink: 0;
  line-height: 1.3;
}
.history-list .year small {
  display: block;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: .06em;
}
.history-list p { font-size: 15px; }

/* アクセス */
.access-map {
  margin-top: 48px;
  height: 420px;
  background: #dfe7f1;
}
.access-map iframe { width: 100%; height: 100%; border: 0; }
.access-info { margin-top: 20px; font-size: 15px; }

/* 事業内容: 交互レイアウト */
.work-block { position: relative; }
.work-block .ghost-num {
  position: absolute;
  top: -24px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(110px, 14vw, 180px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 99, 230, .16);
  pointer-events: none;
}
.work-grid {
  display: flex;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
.work-grid .photo {
  flex-shrink: 0;
  width: min(46%, 560px);
  aspect-ratio: 15 / 10;
  object-fit: cover;
}
.work-grid .body { flex: 1; }
.work-note {
  border: 1px solid var(--c-line);
  background: #fff;
  padding: 18px 22px;
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.9;
}
.work-note b { color: var(--c-blue); }

/* 採用: 3つのポイント */
.points { display: flex; gap: clamp(24px, 3.5vw, 40px); margin-top: 56px; }
.point {
  flex: 1;
  border-top: 3px solid var(--c-navy);
  padding-top: 22px;
  position: relative;
}
.point:nth-child(2) { margin-top: 48px; }
.point:nth-child(3) { margin-top: 96px; }
.point .p-num {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .18em;
  color: var(--c-blue);
}
.point h3 { font-size: 20px; font-weight: 900; color: var(--c-navy); margin-top: 6px; line-height: 1.6; word-break: auto-phrase; }
.point p { font-size: 14px; color: var(--c-muted); margin-top: 12px; }

/* 採用: 1日の流れ */
.schedule { margin-top: 48px; max-width: 720px; }
.schedule li {
  display: flex;
  gap: 26px;
  padding: 16px 4px;
  border-bottom: 1px dashed #c6d4e6;
  font-size: 15px;
  align-items: baseline;
}
.schedule li b {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 20px;
  color: var(--c-blue);
  width: 84px;
  flex-shrink: 0;
}

/* 採用: 応募方法 */
#entry { scroll-margin-top: 80px; } /* 固定ヘッダーぶんの着地余白 */
.entry-cards { display: flex; gap: clamp(24px, 3vw, 36px); margin-top: 44px; }
.entry-card {
  flex: 1;
  background: #fff;
  color: var(--c-text);
  padding: 40px 32px;
  text-align: center;
}
.entry-card .label { font-size: 14px; font-weight: 700; color: var(--c-muted); }
.entry-card .tel-big {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 44px);
  color: var(--c-navy);
  letter-spacing: .04em;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.entry-card .tel-big .tel-icon { color: var(--c-blue); }
.entry-card .mail-big {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--c-navy);
  line-height: 1.4;
  word-break: break-all;
}
.entry-card .small { font-size: 12.5px; color: var(--c-muted); margin-top: 10px; }

/* 採用: 応募から入社まで */
.entry-flow { display: flex; gap: 14px; align-items: stretch; margin-top: 24px; }
.entry-flow .step {
  flex: 1;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 26px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}
.entry-flow .step b {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .22em;
  color: var(--c-yellow);
  margin-bottom: 8px;
}
.entry-flow .arrow { align-self: center; color: rgba(255, 255, 255, .5); font-size: 18px; }

/* ------------------------------------------------------------
   モーション低減設定への配慮
------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-catch .line > span,
  .hero-sub, .hero-cta,
  .reveal, [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marker::after { transform: scaleX(1); transition: none; }
  .scroll-sign .wire::after { animation: none; }
  .menu-btn span, .sp-menu { transition: none; }
}

/* ------------------------------------------------------------
   レスポンシブ
------------------------------------------------------------ */

@media (max-width: 1024px) {
  .gnav .tel { display: none; }
  .about-photos .ph-sub { left: -20px; }
  /* タブレット以下はfixed背景の挙動が不安定(iOSは無効)なため通常スクロールに */
  .recruit-cta .bg { background-attachment: scroll; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }

  .site-header { padding: 14px 12px 14px 20px; }
  .site-header.is-scrolled { padding: 10px 12px 10px 20px; }
  .site-logo .name { font-size: 16px; }
  .site-logo .name small { display: none; }
  .gnav { display: none; } /* SPはハンバーガーメニューに集約 */
  .menu-btn { display: block; }

  /* SPは全画面にせず、コピー上の余白を詰めてコンパクトに */
  .hero { height: 72svh; min-height: 460px; }
  .hero-side { display: none; }
  .scroll-sign { right: 20px; }
  .hero-sub br { display: none; } /* SPは自然折り返しに任せる */

  .about::before { width: 100%; height: 42%; top: auto; bottom: 0; }
  .about-grid { flex-direction: column; }
  .about-title {
    writing-mode: horizontal-tb;
    margin-top: 0;
    padding-top: 0;
    padding-left: 22px;
  }
  .about-title::before { top: .5em; left: 0; right: auto; }
  .about-body { margin-top: 8px; }
  .about-photos { margin: 40px auto 56px; padding-left: 0; }
  .about-photos .ph-sub { left: auto; right: -12px; bottom: -44px; }

  .facts-grid { flex-direction: column; gap: 28px; }
  .facts-grid > div { border-left: none; }
  .facts-note { text-align: center; }

  .service-cards { flex-direction: column; }
  .service-card:nth-child(2), .service-card:nth-child(3) { margin-top: 12px; }

  /* 下層ページ */
  .page-hero { height: 240px; }
  .page-hero--tall { height: 340px; }
  .message-grid { flex-direction: column; }
  .work-grid { flex-direction: column !important; }
  .work-grid .photo { width: 100%; }
  .office-cards { flex-direction: column; }
  .points { flex-direction: column; }
  .point:nth-child(2), .point:nth-child(3) { margin-top: 0; }
  .entry-cards { flex-direction: column; }
  .entry-flow { flex-direction: column; }
  .entry-flow .arrow { transform: rotate(90deg); }
  .access-map { height: 300px; }

  .spec-table th { width: 108px; padding: 12px 14px; }
  .spec-table td { padding: 12px 14px; }

  .footer-grid { flex-direction: column; }
}
