@charset "UTF-8";
/* =========================================================
   株式会社A-TEC コーポレートサイト 共通スタイル
   配色: ネイビー基調 ＋ 赤アクセント
   ========================================================= */

/* ---- カラー変数 ---- */
:root {
  --navy:        #0b2545;   /* メイン濃紺 */
  --navy-2:      #13315c;   /* 濃紺サブ */
  --navy-3:      #1d4e89;   /* 明るめネイビー */
  --red:         #d7263d;   /* 赤アクセント（CTA） */
  --red-dark:    #b01e30;
  --ink:         #1a2233;   /* 本文テキスト */
  --gray:        #5c6b7a;   /* サブテキスト */
  --line:        #e1e6ed;   /* 罫線 */
  --bg:          #ffffff;
  --bg-soft:     #f4f6fa;   /* 薄いグレー背景 */
  --bg-soft-2:   #eef2f8;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 8px 30px rgba(11,37,69,.10);
  --shadow-sm:   0 4px 14px rgba(11,37,69,.08);
  --max:         1160px;
  --header-h:    72px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: .02em;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }

/* ---- 汎用 ---- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }
.en { font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: .08em; }
.tac { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mt40 { margin-top: 40px; } .mt56 { margin-top: 56px; }

/* セクション見出し */
.sec-head { margin-bottom: 48px; }
.sec-head--center { text-align: center; }
.sec-head .en-label {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  color: var(--navy);
  line-height: 1.35;
}
.section--navy .sec-head h2 { color: #fff; }
.sec-head p { color: var(--gray); margin-top: 14px; }
.section--navy .sec-head p { color: #cdd7e6; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  cursor: pointer; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(215,38,61,.30); }
.btn--red:hover { background: var(--red-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.0);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 18px rgba(11,37,69,.08);
  backdrop-filter: blur(6px);
}
.header-inner {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-inline: 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }

/* ロゴ画像。ヘッダーは白基調のため原色ロゴをそのまま表示（白プレートなし）。
   濃色のフッターのみ白抜きロゴ（a-tec_logo_white.svg）を使用 */
.brand__logo { height: 40px; width: auto; display: block; }
.site-footer .brand__logo { height: 34px; }
.brand__mark {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--navy); border-radius: 8px;
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 14px; height: 14px; background: var(--red); border-radius: 4px;
  border: 2px solid #fff;
}
.brand__mark span { color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b { font-size: 1.06rem; color: var(--navy); }
.brand__name small { font-size: .62rem; color: var(--gray); letter-spacing: .14em; }
.site-header:not(.is-solid) .brand__name b { color: #fff; }
.site-header:not(.is-solid) .brand__name small { color: #dbe4f0; }

/* PCナビ */
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  display: block; padding: 10px 16px; font-weight: 600; font-size: .95rem;
  color: var(--navy); border-radius: 8px; transition: color .2s, background .2s;
}
.gnav a:hover { color: var(--red); }
.site-header:not(.is-solid) .gnav a { color: #fff; }
.site-header:not(.is-solid) .gnav a:hover { color: #ffd0d6; }
.gnav .nav-cta {
  margin-left: 8px; background: var(--red); color: #fff !important;
  padding: 10px 22px; border-radius: 999px;
}
.gnav .nav-cta:hover { background: var(--red-dark); }

/* ハンバーガー */
.hamburger {
  display: none; width: 46px; height: 46px; position: relative;
  background: transparent; border: 0; cursor: pointer; z-index: 130;
}
.hamburger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s;
}
.site-header:not(.is-solid) .hamburger span { background: #fff; }
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 23px; }
.hamburger span:nth-child(3) { top: 30px; }
body.nav-open .hamburger span { background: #fff; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-nav {
  position: fixed; inset: 0; z-index: 120;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 30px 40px;
  transform: translateX(100%); transition: transform .4s var(--ease);
  visibility: hidden;
}
body.nav-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav a {
  color: #fff; font-size: 1.25rem; font-weight: 700; padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: baseline; gap: 14px;
}
.mobile-nav a .en { font-size: .7rem; color: var(--red); letter-spacing: .12em; }
.mobile-nav .m-cta {
  margin-top: 28px; justify-content: center; border-bottom: 0;
  background: var(--red); border-radius: 999px; font-size: 1.05rem;
}
.mobile-nav .m-contact { color: #cdd7e6; font-size: .95rem; }

/* =========================================================
   ヒーロー（タイポ＋写真融合）
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy);
}
/* 写真プレースホルダー（差し替え可） */
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--navy);
}
.hero__slide { /* スライドショーの各写真（差し替えは index.html の url を変更） */
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__media::after { /* 写真の上に重ねる暗幕（文字を読みやすくする） */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,42,.30) 0%, rgba(8,22,42,.12) 38%, rgba(8,22,42,.78) 100%);
}

/* 写真主役ヒーロー（コピーなし・最小表示） */
.hero--photo { align-items: flex-end; }
.hero--photo .hero__inner { padding-bottom: clamp(40px, 9vh, 110px); }
.hero__catchline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.5; letter-spacing: .04em; margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.hero__catchline .accent { color: #ff4f57; } /* 暗い写真の上でも読みやすい明るめの赤 */
.hero__id { font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero__id-main {
  display: block; font-size: clamp(.95rem, 2.2vw, 1.2rem);
  letter-spacing: .14em; line-height: 1.4; font-weight: 500;
}
.hero__id-sub {
  display: block; margin-top: 12px;
  font-size: .72rem; letter-spacing: .2em; color: #b9c6da; font-weight: 400;
}
.hero--photo .hero__cta { margin-top: 30px; }
.hero--photo .hero__scroll { left: auto; right: 22px; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__sub {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .12em; color: #dbe4f0; margin-bottom: 22px;
}
.hero__sub::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.hero__verbs {
  font-size: clamp(2.7rem, 12vw, 7.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: .01em;
}
.hero__verbs span { display: block; }
.hero__verbs .accent { color: var(--red); }
.hero__verbs .thin { -webkit-text-stroke: 1.5px #fff; color: transparent; }
/* 一文キャッチコピー型ヒーロー */
.hero__catch {
  font-size: clamp(2.2rem, 7.2vw, 4.8rem);
  font-weight: 800; line-height: 1.28; letter-spacing: .02em;
}
.hero__catch .accent { color: var(--red); }
.hero__copy {
  max-width: 560px; margin-top: 30px; font-size: 1.05rem; color: #e7edf5;
}
.hero__en {
  font-size: .78rem; letter-spacing: .22em; color: #9fb3cc; margin-top: 8px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__cta .btn { min-width: 220px; justify-content: center; }
.hero__scroll {
  position: absolute; left: 22px; bottom: 26px; z-index: 2;
  font-size: .68rem; letter-spacing: .2em; color: #cdd7e6;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content: ""; width: 1px; height: 50px; background: linear-gradient(#cdd7e6, transparent); }

/* =========================================================
   下層ページの共通ヘッダー（ページタイトル帯）
   ========================================================= */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 60px) 0 60px;
  background: var(--navy); color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(11,37,69,.95), rgba(19,49,92,.7)),
    repeating-linear-gradient(135deg, #14263f 0 22px, #182c48 22px 44px);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .en-label { color: var(--red); font-weight: 700; letter-spacing: .2em; font-size: .8rem; }
.page-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); margin-top: 8px; }
.breadcrumb { margin-top: 16px; font-size: .8rem; color: #b9c6da; }
.breadcrumb a:hover { color: #fff; }

/* =========================================================
   事業内容カード
   ========================================================= */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .3s var(--ease), box-shadow .3s; height: 100%;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .ico {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft-2); color: var(--navy); margin-bottom: 18px;
}
.feature-card .ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.12rem; color: var(--navy); }
.feature-card .en-s { font-size: .68rem; color: var(--red); letter-spacing: .12em; margin: 4px 0 10px; }
.feature-card p { font-size: .9rem; color: var(--gray); }

/* サービス詳細（写真＋テキスト交互） */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  margin-bottom: 70px;
}
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media {
  border-radius: var(--radius); overflow: hidden; min-height: 320px;
  /* 写真プレースホルダー（差し替え可） */
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  position: relative;
}
.svc-row__media .ph-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.5); font-size: .8rem; letter-spacing: .1em;
}
.svc-row__no { font-size: 3rem; font-weight: 800; color: var(--bg-soft-2); line-height: 1; }
.svc-row h3 { font-size: 1.5rem; color: var(--navy); margin: 6px 0 16px; }
.svc-row p { color: var(--gray); }
.svc-row .scale { margin-top: 18px; font-size: .85rem; color: var(--navy); font-weight: 600; }

/* 信頼バッジ（許可・エリア・安全） */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card {
  background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line);
  text-align: center;
}
.trust-card .num { color: var(--red); font-weight: 800; letter-spacing: .1em; font-size: .8rem; }
.trust-card h3 { color: var(--navy); margin: 10px 0; font-size: 1.15rem; }
.trust-card p { color: var(--gray); font-size: .88rem; }

/* =========================================================
   施工実績
   ========================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card__media {
  aspect-ratio: 4/3; position: relative;
  /* 写真プレースホルダー（差し替え可） */
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
}
.work-card__media .cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.work-card__media .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.45); font-size: .78rem;
}
.work-card__body { padding: 20px 22px 24px; }
.work-card__body h3 { font-size: 1.08rem; color: var(--navy); }
.work-card__meta { font-size: .82rem; color: var(--gray); margin-top: 8px; }
.work-card__meta span { display: inline-block; margin-right: 12px; }
.work-card__date { font-size: .75rem; color: #9aa7b5; margin-top: 12px; letter-spacing: .05em; }
.is-hidden { display: none !important; }

/* =========================================================
   採用ページ
   ========================================================= */
.recruit-hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 80px;
  color: #fff; overflow: hidden; background: #0a1d36;
}
.recruit-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(120deg, rgba(8,24,46,.92), rgba(183,30,53,.35)),
    repeating-linear-gradient(45deg, #0c2241 0 24px, #112a4d 24px 48px);
}
.recruit-hero .container { position: relative; z-index: 1; }
.recruit-hero .big {
  font-size: clamp(2.2rem, 8vw, 4.4rem); font-weight: 800; line-height: 1.1;
}
.recruit-hero .big .accent { color: var(--red); }
.recruit-hero .lead { max-width: 560px; margin-top: 22px; color: #e7edf5; }

/* 数字で見る会社 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center;
  border: 1px solid var(--line);
}
.stat-card .num {
  font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; color: var(--navy);
  line-height: 1; font-family: "Helvetica Neue", Arial, sans-serif;
}
.stat-card .num small { font-size: 1.1rem; color: var(--red); margin-left: 2px; }
.stat-card .label { margin-top: 12px; font-size: .9rem; color: var(--gray); }

/* 社員インタビュー */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.voice-card__media {
  aspect-ratio: 4/3; position: relative;
  /* 顔写真プレースホルダー（差し替え可） */
  background: linear-gradient(160deg, var(--navy-3), var(--navy));
}
.voice-card__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.4); font-size: .78rem; }
.voice-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.voice-card .role { color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .08em; }
.voice-card h3 { color: var(--navy); font-size: 1.15rem; margin: 6px 0 4px; }
.voice-card .meta { font-size: .8rem; color: var(--gray); }
.voice-card .q { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 16px 0 8px; }
.voice-card p { font-size: .9rem; color: var(--gray); }

/* キャリアパス */
.career { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.career-step {
  background: #fff; border: 1px solid var(--line); padding: 30px 26px; position: relative;
  text-align: center;
}
.career-step:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 50%; transform: translate(50%,-50%);
  width: 34px; height: 34px; background: var(--red); border-radius: 50%;
  display: grid; place-items: center; z-index: 5;
  box-shadow: 0 0 0 6px #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M8 5l8 7-8 7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.career-step .step-no { color: var(--red); font-weight: 800; letter-spacing: .1em; font-size: .78rem; }
.career-step h3 { color: var(--navy); margin: 10px 0; font-size: 1.2rem; }
.career-step p { color: var(--gray); font-size: .86rem; }
.career-step .yrs { display: inline-block; margin-top: 12px; font-size: .76rem; color: #fff; background: var(--navy); padding: 3px 12px; border-radius: 999px; }

/* 福利厚生・研修リスト */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.benefit-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
}
.benefit-item .chk {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center;
}
.benefit-item .chk svg { width: 14px; height: 14px; fill: #fff; }
.benefit-item h4 { color: var(--navy); font-size: 1rem; }
.benefit-item p { font-size: .85rem; color: var(--gray); margin-top: 2px; }

/* 募集要項テーブル */
.req-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.req-table th, .req-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.req-table th { width: 28%; background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: .92rem; }
.req-table td { color: var(--ink); font-size: .92rem; }
.req-table tr:last-child th, .req-table tr:last-child td { border-bottom: 0; }

/* エントリー追従ボタン */
.entry-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: none; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s;
}
.entry-float.is-show { opacity: 1; transform: translateY(0); }
.entry-float .btn { box-shadow: 0 10px 30px rgba(215,38,61,.4); padding: 16px 30px; }

/* =========================================================
   会社概要
   ========================================================= */
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td { text-align: left; padding: 20px 6px; border-bottom: 1px solid var(--line); }
.info-table th { width: 26%; color: var(--navy); font-weight: 700; }
.info-table td { color: var(--ink); }

.history { position: relative; padding-left: 26px; }
.history::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.history-item { position: relative; padding: 0 0 30px 26px; }
.history-item::before {
  content: ""; position: absolute; left: -1px; top: 8px; width: 14px; height: 14px;
  background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px #fff;
}
.history-item .yr { color: var(--navy); font-weight: 800; font-family: "Helvetica Neue", Arial, sans-serif; }
.history-item p { color: var(--gray); font-size: .92rem; margin-top: 2px; }

.message-box { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.message-box--text { grid-template-columns: 1fr; max-width: 820px; } /* 代表写真なし・テキスト中心 */
.message-box__media {
  aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  /* 代表写真プレースホルダー（差し替え可） */
  background: linear-gradient(160deg, var(--navy-3), var(--navy)); position: relative;
}
.message-box__media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.4); font-size: .78rem; }
.message-box h3 { color: var(--navy); font-size: 1.5rem; line-height: 1.5; }
.message-box .name { margin-top: 20px; color: var(--gray); }
.message-box .name b { color: var(--navy); font-size: 1.1rem; }

/* 地図 */
.map-embed { width: 100%; aspect-ratio: 16/7; border: 0; border-radius: var(--radius); filter: grayscale(.1); }

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-side { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 34px; }
.contact-side h3 { font-size: 1.3rem; }
.contact-side p { color: #cdd7e6; font-size: .9rem; margin-top: 10px; }
.tel-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.tel-block .lbl { font-size: .8rem; color: #9fb3cc; letter-spacing: .1em; }
.tel-block .num {
  font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; color: #fff; margin: 6px 0 2px;
  font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em;
}
.tel-block .num a { color: #fff; }
.tel-block .hours { font-size: .82rem; color: #9fb3cc; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 8px; }
.field .req-mark { color: var(--red); font-size: .76rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); }
.field textarea { resize: vertical; min-height: 140px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; }
.radio-chip span {
  display: block; padding: 11px 22px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: all .2s;
}
.radio-chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.form-note { font-size: .82rem; color: var(--gray); margin-top: 6px; }
.form-submit { text-align: center; margin-top: 10px; }
.form-msg { display: none; margin-top: 18px; padding: 16px; border-radius: 8px; background: #e8f4ec; color: #1b6e3c; font-size: .9rem; text-align: center; }
.form-msg.is-show { display: block; }

/* =========================================================
   共通：NEWS / 採用バナー / CTA / フッター
   ========================================================= */
.news-list { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.news-item { display: flex; gap: 22px; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--line); transition: background .2s; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: var(--bg-soft); }
.news-item time { color: var(--gray); font-size: .82rem; font-family: "Helvetica Neue", Arial, sans-serif; flex: 0 0 auto; }
.news-item .tag { font-size: .7rem; font-weight: 700; color: #fff; background: var(--navy-3); padding: 3px 12px; border-radius: 999px; flex: 0 0 auto; }
.news-item .tag--recruit { background: var(--red); }
.news-item p { font-size: .92rem; }

/* 採用バナー（大） */
.recruit-banner {
  position: relative; border-radius: 16px; overflow: hidden; color: #fff;
  padding: 64px 50px; background: #0a1d36;
}
.recruit-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(110deg, rgba(8,24,46,.92), rgba(183,30,53,.55)),
    repeating-linear-gradient(45deg, #0c2241 0 24px, #112a4d 24px 48px);
}
.recruit-banner > * { position: relative; z-index: 1; }
.recruit-banner .en { color: var(--red); font-weight: 700; letter-spacing: .2em; font-size: .82rem; }
.recruit-banner h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 10px 0 16px; }
.recruit-banner p { color: #e7edf5; max-width: 540px; }
.recruit-banner .btn { margin-top: 28px; }

/* 会社概要サマリー＋地図 */
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* CTA帯 */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.cta-band p { color: #cdd7e6; margin-top: 12px; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* フッター */
.site-footer { background: #081a31; color: #cdd7e6; padding: 60px 0 28px; }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.footer-logo { height: 38px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.footer-nav a { color: #b9c6da; font-size: .92rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 0; color: #9fb3cc; font-size: .8rem; }
.footer-info span { white-space: nowrap; }
.footer-brand .brand__name b { color: #fff; }
.footer-brand p { font-size: .86rem; margin-top: 16px; color: #9fb3cc; }
.footer-col h4 { color: #fff; font-size: .92rem; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col a { display: block; padding: 7px 0; font-size: .88rem; color: #b9c6da; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: #8b9bb0; }

/* =========================================================
   スクロールアニメーション
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid, .voice-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .gnav { display: none; }
  .hamburger { display: block; }
  .section { padding: 60px 0; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .svc-row__media { min-height: 230px; }
  .trust-grid { grid-template-columns: 1fr; }
  .career { grid-template-columns: 1fr; gap: 28px; }
  .career-step:not(:last-child)::after {
    right: 50%; top: auto; bottom: -28px; transform: translate(50%,50%) rotate(90deg);
  }
  .benefit-grid { grid-template-columns: 1fr; }
  .summary-grid, .contact-wrap, .message-box { grid-template-columns: 1fr; gap: 28px; }
  .message-box__media { max-width: 240px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .req-table th { width: 36%; }
  .entry-float { display: block; }
  .recruit-banner { padding: 46px 28px; }
}

@media (max-width: 560px) {
  .feature-grid, .works-grid, .voice-grid, .stat-grid { grid-template-columns: 1fr; }
  .news-item { flex-wrap: wrap; gap: 8px 14px; }
  .hero__cta .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .info-table th { width: 38%; font-size: .9rem; }
  .section { padding: 50px 0; }
}
