/* =========================================================
   株式会社Hitoas4 - 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; }
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: #12365a;          /* 深いネイビー：信頼感の主役色 */
  --c-primary-deep: #0b2542;
  --c-primary-soft: #eaf0f6;
  --c-accent: #c9482a;           /* コーラル：行動を促すCTA専用（白文字で4.5:1以上） */
  --c-accent-deep: #a83a20;

  --c-bg: #ffffff;
  --c-bg-cream: #f6f2ec;         /* 温かい生成り */
  --c-text: #1d2733;
  --c-text-muted: #556170;
  --c-border: #e1ddd5;
  --c-danger: #b3321f;

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

  /* レイアウト */
  --container: 1120px;
  --gutter: 24px;
  --header-h: 92px;
  --radius: 6px;
  --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-primary); text-transform: uppercase; margin-bottom: 10px; }
.section__title { 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-pill);
  background: var(--c-accent); color: #fff; font-weight: 700;
  letter-spacing: 0.08em; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--c-accent-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 1.5px var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }

/* ---------- 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; }
.logo-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; color: var(--c-primary); font-size: 18px; }
.logo-mark__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); position: relative; flex-shrink: 0; }
.logo-mark__dot::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); right: -2px; top: -2px; }
.logo-mark small { font-size: 11px; font-weight: 500; color: var(--c-text-muted); letter-spacing: 0.1em; margin-right: 2px; }
.ftr .logo-mark { color: #fff; } .ftr .logo-mark small { color: #b9c6d6; } .ftr .logo-mark__dot { background: #fff; }
.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-pill);
  background: var(--c-accent); color: #fff; font-size: 14px; font-weight: 700;
  transition: background 0.2s;
}
.hdr__cta:hover { background: var(--c-accent-deep); }

/* 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-primary); 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-pill); background: var(--c-accent); color: #fff; font-weight: 600; letter-spacing: 0.1em; transition: background 0.2s; }
.form__submit:hover { background: var(--c-accent-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-primary-deep); 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: #b9c6d6; 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: #c5d0de; transition: color 0.2s; }
.ftr__links a:hover { color: #fff; }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 24px; text-align: center; }
.ftr__copy { font-size: 12px; color: #aebbcb; letter-spacing: 0.06em; }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta { display: none; 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; gap: 3px; padding: 9px 4px; font-size: 10px; color: var(--c-text); }
.mobile-cta__btn--primary { background: var(--c-accent); color: #fff; }
.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%); transition: transform 0.35s ease, visibility 0.35s; z-index: 95;
    visibility: hidden; pointer-events: none; box-shadow: none; overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; 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:has(.mobile-cta) { padding-bottom: 60px; } /* mobile-cta の高さ分 */
  .news__head { flex-wrap: wrap; gap: 8px 12px; }
  .news__title { flex-basis: 100%; }
}

/* ---------- 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; }
}

/* ---------- Hitoas4 固有 ---------- */
.tbd { background: #fff3cd; color: #6b4e00; padding: 1px 8px; border-radius: 3px; font-size: 0.9em; }
.hero { position: relative; background: linear-gradient(135deg, var(--c-primary-deep) 0%, var(--c-primary) 100%); color: #fff; padding: 88px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero__eyebrow { display: inline-block; font-size: 13px; letter-spacing: .2em; color: #f3c9bb; margin-bottom: 18px; font-weight: 600; }
.hero h1 { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.35; letter-spacing: .04em; font-weight: 700; }
.hero h1 em { font-style: normal; color: #ffd3c4; }
.hero__lead { margin: 22px 0 32px; color: #dce6f1; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.hero .btn--ghost:hover { background: #fff; color: var(--c-primary); }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px 80px 4px 4px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero__photo::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 55%; height: 55%; border: 2px solid rgba(255,211,196,.55); border-radius: 4px; z-index: -0; }
.hero__note { font-size: 12px; color: #b9c9db; margin-top: 18px; }

.section__head--left { text-align: left; margin-left: 0; }
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.about__body p + p { margin-top: 1em; }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about__tags span { background: var(--c-primary-soft); color: var(--c-primary); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); }

.support { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: sp; }
.support__item { background: #fff; border: 1px solid var(--c-border); border-top: 3px solid var(--c-primary); border-radius: var(--radius); padding: 28px 22px; }
.support__item h3 { font-size: 17px; margin: 10px 0 10px; color: var(--c-primary); }
.support__item p { font-size: 14px; color: var(--c-text-muted); }
.support__num { font-family: var(--f-disp); font-size: 13px; letter-spacing: .2em; color: var(--c-accent); font-weight: 700; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow__step { padding: 0 20px 0 0; position: relative; }
.flow__step::before { content: ""; position: absolute; top: 24px; left: 56px; right: 8px; height: 2px; background: var(--c-border); }
.flow__step:last-child::before { display: none; }
.flow__no { width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; }
.flow__step:first-child .flow__no { background: var(--c-accent); }
.flow__step h3 { font-size: 17px; margin: 18px 0 8px; }
.flow__step p { font-size: 14px; color: var(--c-text-muted); }

.company { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.company th, .company td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--c-border); font-size: 15px; vertical-align: top; }
.company tr:last-child th, .company tr:last-child td { border-bottom: none; }
.company th { width: 28%; background: var(--c-primary-soft); color: var(--c-primary); font-weight: 600; }

.recruit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.recruit__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.recruit__box { margin-top: 24px; padding: 20px 22px; background: var(--c-bg-cream); border-left: 4px solid var(--c-accent); font-size: 14px; }

.final-cta { background: var(--c-primary); color: #fff; text-align: center; padding: 80px 0; }
.final-cta h2 { font-size: clamp(22px, 4vw, 32px); letter-spacing: .06em; }
.final-cta p { margin: 16px auto 30px; color: #dce6f1; max-width: 560px; }
.legal { font-size: 12px; color: #b9c6d6; margin-top: 14px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 20px; 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: 960px) {
  .hero__grid, .about, .recruit { grid-template-columns: 1fr; gap: 36px; }
  .hero__photo img { aspect-ratio: 16/10; border-radius: 4px 48px 4px 4px; }
  .support { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .flow__step:nth-child(2)::before { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .support, .flow { grid-template-columns: 1fr; }
  .flow__step::before { display: none; }
  .company th, .company td { display: block; width: 100%; padding: 12px 18px; }
  .company th { border-bottom: none; }
  .logo-mark { font-size: 16px; }
}

/* ---------- 改善 ---------- */
h1, h2, h3 { text-wrap: balance; }
.mobile-cta { transition: transform .3s; }
.mobile-cta.is-hidden { transform: translateY(110%); }
.hero { padding: 112px 0 120px; }
.hero__grid { grid-template-columns: 1.2fr 0.8fr; }
.hero__link { color: #dce6f1; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.hero__mark { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: center; display: grid; place-items: center; }
.hero__ring { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; animation: spin 24s linear infinite; }
.hero__ring::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--c-accent); top: 12%; right: 12%; }
.hero__dot { position: absolute; inset: 14%; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero__word { position: relative; font-size: clamp(44px, 7vw, 68px); font-weight: 700; letter-spacing: .02em; }
.hero__word b { color: #ffd3c4; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero h1 { animation: rise .9s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
a:focus-visible, button:focus-visible, .form__input:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.about--text { grid-template-columns: 1fr 1fr; align-items: start; }
.about--text .section__title { font-size: clamp(26px, 4vw, 38px); line-height: 1.5; }
.about__body { font-size: 17px; line-height: 2; }
.section--tall { padding: 128px 0; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.split__head { position: sticky; top: calc(var(--header-h) + 32px); }
.split__head .section__title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.5; }
.bignums { display: grid; gap: 8px; }
.bignum { display: flex; gap: 28px; align-items: flex-start; padding: 28px 0; border-top: 1px solid var(--c-border); }
.bignum__n { font-family: var(--f-disp); font-size: clamp(48px, 7vw, 72px); line-height: 1; font-weight: 700; color: var(--c-accent); min-width: 1.6em; }
.bignum h3 { font-size: 20px; margin-bottom: 8px; color: var(--c-primary); }
.bignum p { color: var(--c-text-muted); font-size: 15px; }
.timeline { max-width: 680px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--c-border); }
.timeline__item { display: flex; gap: 24px; padding: 14px 0 26px; position: relative; }
.timeline__item h3 { font-size: 18px; margin-bottom: 6px; }
.timeline__item p { font-size: 14px; color: var(--c-text-muted); }
.timeline__item .flow__no { flex-shrink: 0; z-index: 1; }
.timeline__item:first-child .flow__no { background: var(--c-accent); }
.recruit--text { display: block; }
@media (max-width: 960px) {
  .about--text, .split { grid-template-columns: 1fr; gap: 32px; }
  .split__head { position: static; }
  .section--tall { padding: 72px 0; }
  .hero__mark { max-width: 240px; justify-self: start; }
  .hero { padding: 64px 0 72px; }
}
@media (prefers-reduced-motion: reduce) { .hero__ring, .hero h1 { animation: none; } }

/* ---------- 改善2 ---------- */
.nb { display: inline-block; }
.hero__mark { max-width: 420px; }
.hero__ring { animation: none; }
.hero__ring--1 { inset: 0; }
.hero__ring--2 { inset: 12%; border-color: rgba(255,255,255,.18); }
.hero__ring--3 { inset: 26%; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.hero__ring::after { display: none; }
.hero__orbit { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero__orbit i { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--c-accent); top: -11px; left: calc(50% - 11px); box-shadow: 0 0 0 6px rgba(201,72,42,.25); }
.quote { background: var(--c-primary-deep); color: #fff; padding: 112px 0; text-align: center; position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 520px; height: 520px; border: 2px solid rgba(255,255,255,.08); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.quote__text { position: relative; font-size: clamp(22px, 3.6vw, 38px); line-height: 1.7; font-weight: 700; letter-spacing: .04em; text-wrap: balance; }
.timeline--row { max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline--row::before { left: 24px; right: 24px; top: 38px; bottom: auto; width: auto; height: 2px; }
.timeline--row .timeline__item { flex-direction: column; gap: 16px; padding: 14px 0 0; }
.recruit--panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.recruit__panel { position: relative; aspect-ratio: 4/3; background: var(--c-accent); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #fff; }
.recruit__panel b { position: relative; font-size: clamp(36px, 5vw, 56px); line-height: 1.2; letter-spacing: .04em; }
.recruit__c1, .recruit__c2 { position: absolute; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; }
.recruit__c1 { width: 70%; aspect-ratio: 1; right: -15%; top: -25%; }
.recruit__c2 { width: 50%; aspect-ratio: 1; left: -10%; bottom: -25%; }
#flow.section--tall { padding: 160px 0; }
#company { padding: 96px 0; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__mark { max-width: 220px; justify-self: start; }
  .recruit--panel { grid-template-columns: 1fr; gap: 32px; }
  .quote { padding: 72px 0; }
  .timeline--row { grid-template-columns: 1fr; gap: 0; }
  .timeline--row::before { left: 23px; top: 24px; bottom: 24px; right: auto; width: 2px; height: auto; }
  .timeline--row .timeline__item { flex-direction: row; gap: 24px; padding: 14px 0 26px; }
  #flow.section--tall { padding: 72px 0; }
  #company { padding: 56px 0; }
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; min-height: 52px; white-space: nowrap; padding-inline: 16px; }
  .hero__link { white-space: nowrap; text-align: center; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 36px); }
}
@media (prefers-reduced-motion: reduce) { .hero__orbit { animation: none; } }
