/* =========================================================
   Hitoas3 - style.css
   Pure CSS / no framework。配色・フォント・余白は :root のトークンで一元管理する。
   新色を直値で書かず、必要ならトークンを :root に足して命名を揃えること。
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: hidden は body のみに付ける。html にも付けると、body 側の
   overflow-y が auto に再計算されて html/body が二重のスクロールコンテナ化し、
   スクロール自体がほぼ効かなくなる（結果としてヘッダーの sticky も追従しなく見える）。 */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { overflow-x: clip; }
body { overflow-x: hidden; }
body, h1, h2, h3, h4, p, ul, ol, figure, dl, dd, table, th, td { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ---------- Design Tokens ---------- */
:root {
  /* 配色（案件ごとに置換する起点）*/
  --c-primary: #17375e;          /* 主役色：信頼の濃紺 */
  --c-primary-deep: #0d2240;     /* hover で深く */
  --c-primary-soft: #e8eef6;     /* 主役色のごく淡い背景 */
  --c-accent: #f0a04b;           /* 朝焼けの琥珀（背景・ボタン用） */
  --c-accent-deep: #a8520f;      /* 琥珀の文字用（白地で4.5:1以上） */
  --c-ink: #0d2240;              /* 濃色セクション背景 */

  --c-bg: #ffffff;               /* ページ背景 */
  --c-bg-cream: #f5f2ec;         /* セクション差し色背景 */
  --c-text: #1d2733;             /* 基本テキスト */
  --c-text-muted: #55606c;       /* 補助テキスト（白地で約6:1を確保） */
  --c-border: #dfdbd2;           /* 罫線 */
  --c-danger: #c0392b;

  /* フォント（日本語サイトの定番 system / Google Fonts は <head> で読み込む） */
  --f-base: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  --f-disp: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; /* 見出し・装飾用 */

  /* レイアウト */
  --container: 1120px;
  --gutter: 24px;
  --header-h: 92px;
  --radius: 4px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-card: 0 24px 60px rgba(0,0,0,0.08);
}

/* ---------- Base ---------- */
html, body {
  font-family: var(--f-base);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
}

h1, h2, h3 { line-height: 1.4; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 88px 0; }
.section--cream { background: var(--c-bg-cream); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__label { display: block; font-family: var(--f-disp); font-size: 13px; letter-spacing: 0.3em; color: var(--c-accent-deep); text-transform: uppercase; margin-bottom: 10px; }
.section__title { font-family: var(--f-disp); font-size: clamp(22px, 4vw, 30px); font-weight: 600; letter-spacing: 0.06em; }
.section__lead { margin-top: 16px; color: var(--c-text-muted); font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  background: var(--c-primary); color: #fff; font-weight: 600;
  letter-spacing: 0.08em; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--c-primary-deep); transform: translateY(-1px); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--c-border);
}
/* 背景のすりガラス効果は ::before に分離する。
   .hdr 自身に backdrop-filter / filter を持たせると、その要素がモバイル用ドロワー
   (.nav / position:fixed) の「包含ブロック」になり、ドロワーがビューポートではなく
   ヘッダーの高さ(数十px)に閉じ込められてレイアウトが壊れるため。 */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
.hdr__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.hdr__logo-img { width: auto; max-height: 48px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a { font-size: 14px; letter-spacing: 0.04em; transition: color 0.2s; }
.nav > a:hover { color: var(--c-primary); }
.nav__sns { display: none; } /* PC ヘッダーではアイコンを hdr__actions 側に出す想定 */
.hdr__actions { display: flex; align-items: center; gap: 14px; }
.hdr__sns { display: inline-flex; }
.sns-icon { width: 22px; height: 22px; }
.sns-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.hdr__cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius);
  background: var(--c-accent); color: var(--c-ink); font-size: 14px; font-weight: 700;
  transition: background 0.2s;
}
.hdr__cta:hover { background: #f5b469; }

/* Burger */
/* z-index はドロワー(.nav, z-index:95)より高くする。.hdr__burger は .hdr のローカルな
   スタッキングコンテキストに属するため、指定がないと z-index:auto 扱いとなり、
   ドロワーを開いた際に自分自身のボタン(×アイコン)がドロワーの下に隠れてしまう。 */
.hdr__burger { display: none; width: 40px; height: 40px; position: relative; z-index: 96; }
.hdr__burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-text);
  transition: transform 0.3s, opacity 0.2s;
}
.hdr__burger span:nth-child(1) { top: 13px; }
.hdr__burger span:nth-child(2) { top: 19px; }
.hdr__burger span:nth-child(3) { top: 25px; }
.hdr__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__burger.is-open span:nth-child(2) { opacity: 0; }
.hdr__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 90;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ---------- Page hero（サブページ共通の見出し帯） ---------- */
.page-hero { background: var(--c-primary-soft); padding: 64px 0; text-align: center; }
.page-hero__label { display: block; font-family: var(--f-disp); letter-spacing: 0.3em; color: var(--c-accent-deep); font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
.page-hero__title { font-size: clamp(24px, 5vw, 34px); letter-spacing: 0.08em; }
.page-hero__lead { margin-top: 14px; color: var(--c-text-muted); font-size: 15px; }

/* ---------- News（新着情報・アコーディオン / news.js と対応） ---------- */
.news__list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--c-border); }
.news__item { border-bottom: 1px solid var(--c-border); }
.news__head {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 22px 8px; text-align: left;
}
.news__date { font-family: var(--f-disp); color: var(--c-primary); font-size: 14px; letter-spacing: 0.06em; flex-shrink: 0; }
.news__cat {
  font-size: 11px; letter-spacing: 0.08em; color: var(--c-text-muted);
  border: 1px solid var(--c-border); border-radius: var(--radius-pill);
  padding: 3px 12px; flex-shrink: 0;
}
.news__title { flex: 1; font-size: 15px; font-weight: 500; }
.news__toggle { width: 12px; height: 12px; position: relative; flex-shrink: 0; }
.news__toggle::before, .news__toggle::after { content: ""; position: absolute; background: var(--c-text-muted); transition: transform 0.3s; }
.news__toggle::before { top: 5px; left: 0; right: 0; height: 2px; }
.news__toggle::after { left: 5px; top: 0; bottom: 0; width: 2px; }
.news__item.is-open .news__toggle::after { transform: scaleY(0); }
.news__body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.news__item.is-open .news__body { max-height: 600px; }
.news__body-inner { padding: 0 8px 24px; color: var(--c-text-muted); font-size: 14px; }
.news__link { display: inline-flex; gap: 6px; margin-top: 12px; color: var(--c-primary); font-weight: 600; }
.news__empty { text-align: center; color: var(--c-text-muted); padding: 40px 0; }

/* ---------- Cards / CTA ---------- */
.cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.cta-card { display: block; padding: 32px 28px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform 0.2s, box-shadow 0.2s; text-align: center; }
.cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.cta-card__label { font-family: var(--f-disp); letter-spacing: 0.2em; color: var(--c-primary); font-size: 12px; text-transform: uppercase; }
.cta-card__title { margin: 8px 0 10px; font-size: 19px; }
.cta-card__desc { color: var(--c-text-muted); font-size: 14px; }
.cta-card__btn { display: inline-block; margin-top: 16px; color: var(--c-primary); font-weight: 600; }

/* ---------- Form（Web3Forms / contact.js と対応） ---------- */
.form { max-width: 720px; margin: 0 auto; }
.form__intro { font-size: 13px; color: var(--c-text-muted); margin-bottom: 24px; }
.form__intro strong { color: var(--c-danger); }
.form__field { margin-bottom: 22px; }
.form__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form__required { font-size: 11px; color: #fff; background: var(--c-danger); border-radius: 3px; padding: 2px 7px; margin-left: 6px; }
.form__optional { font-size: 11px; color: var(--c-text-muted); border: 1px solid var(--c-border); border-radius: 3px; padding: 2px 7px; margin-left: 6px; }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--c-border); border-radius: var(--radius);
  background: #fff; font-size: 15px; font-family: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.form__textarea { min-height: 160px; resize: vertical; }
.form__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--c-text-muted); }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.form__check input { margin-top: 5px; }
.form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: var(--radius); background: var(--c-primary); color: #fff; font-weight: 600; letter-spacing: 0.1em; transition: background 0.2s; }
.form__submit:hover { background: var(--c-primary-deep); }
.form__submit:disabled { opacity: 0.6; cursor: default; }
.form__success { max-width: 720px; margin: 0 auto 24px; padding: 28px; border: 1px solid var(--c-primary); border-radius: var(--radius); background: var(--c-primary-soft); text-align: center; }
.form__error { padding: 14px; border: 1px solid var(--c-danger); border-radius: var(--radius); background: #fdecea; color: var(--c-danger); font-size: 14px; margin-bottom: 20px; }
.form__radio { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); cursor: pointer; margin: 0 8px 8px 0; }
.form__radio.is-checked { border-color: var(--c-primary); background: var(--c-primary-soft); }

/* ---------- FAQ ---------- */
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { width: 100%; text-align: left; padding: 20px 8px; font-weight: 600; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--c-text-muted); font-size: 14px; }
.faq__item.is-open .faq__a { max-height: 500px; padding: 0 8px 20px; }

/* ---------- Footer ---------- */
.ftr { background: var(--c-ink); color: #ddd; padding: 64px 0 32px; }
.ftr__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ftr__about, .ftr__address { font-size: 13px; color: #b9c2cf; margin-top: 14px; line-height: 1.9; }
.ftr__tel a { font-family: var(--f-disp); font-size: 18px; letter-spacing: 0.06em; margin-top: 10px; display: inline-block; }
.ftr__sns { display: flex; gap: 14px; margin-top: 16px; }
.ftr__sns .sns-icon { width: 26px; height: 26px; }
.ftr__heading { font-family: var(--f-disp); letter-spacing: 0.2em; font-size: 13px; color: #fff; margin-bottom: 16px; text-transform: uppercase; }
.ftr__links { display: flex; flex-direction: column; gap: 10px; }
.ftr__links a { font-size: 14px; color: #c9d1dc; transition: color 0.2s; }
.ftr__links a:hover { color: #fff; }
.ftr__bottom { border-top: 1px solid #263b58; margin-top: 48px; padding-top: 24px; text-align: center; }
.ftr__copy { font-size: 12px; color: #9aa6b5; letter-spacing: 0.06em; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta { display: none; transform: translateY(100%); transition: transform 0.3s ease; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: rgba(255,255,255,0.96); border-top: 1px solid var(--c-border); backdrop-filter: blur(8px); }
.mobile-cta__inner { display: flex; }
.mobile-cta__btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; padding: 14px 4px; font-size: 14px; font-weight: 600; color: var(--c-text); }
.mobile-cta__btn--primary { background: var(--c-accent); color: var(--c-ink); font-weight: 700; }
.mobile-cta__btn-icon svg { width: 22px; height: 22px; }

/* ---------- Fade-in（main.js / news.js と対応） ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr__burger { display: block; }
  .hdr__cta { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; padding: calc(var(--header-h) + 16px) 28px 28px;
    transform: translateX(100%); visibility: hidden; transition: transform 0.35s ease, visibility 0s linear 0.35s; z-index: 95;
    box-shadow: none; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
  .nav > a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
  .nav__sns { display: flex; gap: 16px; margin-top: 20px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .ftr__inner { grid-template-columns: 1fr; gap: 32px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 52px; } /* mobile-cta の高さ分 */
  .news__head { flex-wrap: wrap; gap: 8px 12px; }
  .news__title { flex-basis: 100%; }
}

/* =========================================================
   Hitoas3 固有パーツ
   ========================================================= */
.brand { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--f-disp); font-weight: 600; font-size: 24px; letter-spacing: 0.04em; color: var(--c-primary); line-height: 1; }
.brand__num { color: var(--c-accent-deep); font-size: 0.8em; }
.brand--light { color: #fff; }
.brand--light .brand__num { color: var(--c-accent); }
.btn--accent { background: var(--c-accent); color: var(--c-ink); font-weight: 700; }
.btn--accent:hover { background: #f5b469; }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline { background: transparent; color: var(--c-primary); border: 1px solid var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }

/* Hero */
.hero2 { position: relative; color: #fff; background: var(--c-ink); overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero2__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,34,64,0.95) 0%, rgba(13,34,64,0.8) 42%, rgba(13,34,64,0.15) 100%); }
.hero2__inner { position: relative; z-index: 2; padding-block: 96px; }
.hero2__eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.24em; color: var(--c-accent); margin-bottom: 28px; }
.hero2__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--c-accent); }
.hero2 h1 { font-family: var(--f-disp); font-size: clamp(25px, 6vw, 64px); line-height: 1.35; letter-spacing: 0.05em; max-width: 14em; }
.hero2 h1 em { white-space: nowrap; font-style: normal; color: var(--c-accent); }
.hero2__lead { margin-top: 28px; max-width: 34em; font-size: clamp(15px, 2vw, 17px); color: #e3e9f1; }
.hero2__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Stance */
.stance { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.stance__head .section__label, .stance__head .section__title, .stance__head .section__lead { text-align: left; }
.stance__head .section__title { font-size: clamp(26px, 4vw, 38px); }
.stance__list { border-top: 1px solid var(--c-border); }
.stance__item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--c-border); }
.stance__no { font-family: var(--f-disp); font-size: 34px; line-height: 1; color: var(--c-accent-deep); }
.stance__item h3 { font-size: 19px; margin-bottom: 8px; font-family: var(--f-disp); }
.stance__item p { color: var(--c-text-muted); font-size: 15px; }

/* Flow（濃色） */
.dark { background: var(--c-ink); color: #fff; }
.dark .section__label { color: var(--c-accent); }
.dark .section__lead { color: #c3cddb; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.flow__step { position: relative; padding: 28px 20px 0 0; border-top: 1px solid rgba(255,255,255,0.28); }
.flow__step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); }
.flow__no { font-family: var(--f-disp); font-size: 13px; letter-spacing: 0.2em; color: var(--c-accent); }
.flow__step h3 { font-size: 17px; margin: 8px 0 8px; }
.flow__step p { font-size: 14px; color: #c3cddb; }
.flow__note { margin-top: 40px; font-size: 13px; color: #9fb0c6; }

/* Company */
.company { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.company .section__label, .company .section__title, .company .section__lead { text-align: left; }
.dl { border-top: 2px solid var(--c-primary); }
.dl__row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.dl__row dt { font-weight: 600; color: var(--c-primary); }
.dl__row dd { color: var(--c-text); }
.pending { color: var(--c-text-muted); }

/* Recruit */
.recruit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.recruit .section__label, .recruit .section__title, .recruit .section__lead { text-align: left; }
.recruit__panel { background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-accent); padding: 36px 32px; }
.recruit__panel h3 { font-family: var(--f-disp); font-size: 20px; margin-bottom: 10px; }
.recruit__panel p { color: var(--c-text-muted); font-size: 14px; margin-bottom: 22px; }
.recruit__panel .btn { width: 100%; justify-content: center; }
.recruit__roles { margin: 0 0 22px; padding: 14px 16px; background: var(--c-bg-cream); font-size: 14px; }
.recruit__roles b { color: var(--c-primary); }

/* Support CTA band */
.band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--c-ink); }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(1); }
.band__inner { position: relative; padding-block: 88px; }
.band h2 { font-family: var(--f-disp); font-size: clamp(24px, 4.4vw, 38px); letter-spacing: 0.06em; }
.band p { margin: 18px auto 34px; max-width: 34em; color: #dbe3ee; }
.band__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.page-hero { background: var(--c-ink); color: #fff; }
.page-hero__lead { color: #c3cddb; }
.page-hero__label { color: var(--c-accent); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--f-disp); font-size: 19px; margin: 36px 0 10px; color: var(--c-primary); }
.prose p, .prose li { font-size: 15px; color: var(--c-text); }
.prose ul { list-style: disc; padding-left: 1.4em; }

@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; gap: 0; border-left: 1px solid rgba(255,255,255,0.28); margin-left: 4px; }
  .flow__step { border-top: none; padding: 0 0 32px 28px; }
  .flow__step::before { top: 6px; left: -5px; }
  .stance, .company, .recruit { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .hero2 { min-height: auto; }
  .hero2::before { background: linear-gradient(180deg, rgba(13,34,64,0.9) 0%, rgba(13,34,64,0.82) 100%); }
  .hero2__inner { padding-block: 64px; }
  .hero2__cta .btn { width: 100%; justify-content: center; }
  .dl__row { grid-template-columns: 1fr; gap: 4px; }
  .stance__item { grid-template-columns: 48px 1fr; }
  .band__inner { padding-block: 64px; }
  .band__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Accessibility：動きを抑える設定への配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- 改善：動き・レイアウト ---------- */
.mobile-cta.is-shown { transform: none; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-tint { from { color: #fff; } to { color: var(--c-accent); } }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero2__bg { animation: hero-zoom 14s ease-out both; }
.hero2__eyebrow { animation: hero-rise 0.8s 0.1s both; }
.hero2 h1 { animation: hero-rise 1s 0.3s both; }
.hero2 h1 em { animation: hero-tint 1.2s 1.2s both; }
.hero2__lead { animation: hero-rise 0.9s 0.7s both; }
.hero2__cta { animation: hero-rise 0.9s 0.95s both; }
.flow.fade-in .flow__step { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.flow.is-visible .flow__step { opacity: 1; transform: none; }
.flow.is-visible .flow__step:nth-child(2) { transition-delay: 0.2s; }
.flow.is-visible .flow__step:nth-child(3) { transition-delay: 0.4s; }
.flow.is-visible .flow__step:nth-child(4) { transition-delay: 0.6s; }
.flow.is-visible .flow__step:nth-child(5) { transition-delay: 0.8s; }
p, h2, h3, dd { text-wrap: pretty; }
.section--loose { padding: 128px 0; }
.section--tight { padding: 72px 0; }
.stance__head { position: sticky; top: calc(var(--header-h) + 32px); }
.flow__step p { max-width: 17em; }
.company { grid-template-columns: 1fr; gap: 32px; }
.company .dl { max-width: 860px; }
.recruit { grid-template-columns: 1fr; gap: 32px; }
.recruit__panel { display: grid; grid-template-columns: 1fr auto; gap: 4px 40px; align-items: center; }
.recruit__panel h3, .recruit__panel p { grid-column: 1; }
.recruit__panel .btn { grid-column: 2; grid-row: 1 / 4; width: auto; }
.band { background: var(--c-ink); }
.band h2 { font-size: clamp(28px, 5.4vw, 52px); line-height: 1.4; }
@media (max-width: 1080px) { .stance__head { position: static; } }
@media (max-width: 768px) {
  .section--loose { padding: 80px 0; }
  .section--tight { padding: 56px 0; }
  .recruit__panel { grid-template-columns: 1fr; }
  .recruit__panel .btn { grid-column: 1; grid-row: auto; width: 100%; }
  .hero2::before { background: linear-gradient(180deg, rgba(13,34,64,0.78) 0%, rgba(13,34,64,0.7) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__bg, .hero2__eyebrow, .hero2 h1, .hero2 h1 em, .hero2__lead, .hero2__cta { animation: none !important; }
  .flow.fade-in .flow__step { opacity: 1; transform: none; }
}
