/* =========================================================
   株式会社Increal コーポレートサイト 共通スタイル
   - 外部ライブラリなし（Bootstrap / jQuery を使わない）
   - 色・余白・文字はすべてこの先頭の変数で管理する
   ========================================================= */

:root {
  /* 色 */
  --ink: #16120f;          /* 見出し・濃い背景 */
  --ink-2: #3d3733;        /* 本文 */
  --muted: #6f6761;        /* 補足文 */
  --line: #e8e2dc;         /* 罫線 */
  --bg: #ffffff;
  --bg-soft: #faf6f2;      /* 生成り色の背景 */
  --accent: #fc7b35;       /* ブランドのオレンジ（装飾・ボタン背景） */
  --accent-deep: #b9440f;  /* 白地に置く文字用のオレンジ（読みやすさ確保） */
  --accent-soft: #fff0e6;

  /* 文字 */
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --font-en: "Avenir Next", "Avenir", "Helvetica Neue", "Segoe UI", "Hiragino Sans", Arial, sans-serif;

  /* 形 */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 18, 15, .08);
  --shadow-lg: 0 24px 60px rgba(22, 18, 15, .14);
  --container: 1160px;
  --header-h: 76px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0; letter-spacing: .05em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.br-sp { display: none; }
@media (max-width: 640px) { .br-sp { display: inline; } .br-pc { display: none; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.3; text-align: center;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 22px rgba(252, 123, 53, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(252, 123, 53, .45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2420; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.text-link { color: var(--accent-deep); font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { opacity: .75; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
/* すりガラス効果は疑似要素に掛ける（ヘッダー本体に掛けると、スマホ用メニューの位置計算が崩れるため） */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(22,18,15,.05); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul { display: flex; gap: 26px; }
.global-nav a.nav-link { position: relative; font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 6px 0; }
.global-nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.global-nav a.nav-link:hover::after, .global-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, background-color .25s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .global-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 28px 24px 40px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav a.nav-link { display: block; font-size: 17px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .global-nav a.nav-link::after { display: none; }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { min-height: 54px; font-size: 15px; }
  body.menu-open { overflow: hidden; }
}

main { padding-top: var(--header-h); }

/* ---------- セクション共通 ---------- */
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #d9d2cc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-dark .eyebrow { color: var(--accent); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.section-lead { margin-top: 18px; color: var(--muted); max-width: 680px; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-dark .section-lead { color: #bdb4ad; }

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- トップ：ファーストビュー（画面いっぱいの動画） ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; padding: 64px 0 112px; background: #fff;
}
/* 動画（脳のネットワーク）。白地の動画なので、右に寄せて左側を白く溶け込ませる */
.hero-media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg { position: absolute; top: 0; right: -14%; width: 88%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 28%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 66%),
    radial-gradient(700px 420px at 4% 96%, rgba(252,123,53,.14), transparent 60%),
    linear-gradient(0deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 22%);
}
.hero-inner { position: relative; width: 100%; }
.hero-copy { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 26px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-badge b { background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; letter-spacing: .08em; }
.hero-title { font-size: clamp(36px, 5.6vw, 72px); font-weight: 800; line-height: 1.25; letter-spacing: .04em; }
.hero-title .accent { color: var(--accent-deep); position: relative; white-space: nowrap; }
.hero-title .accent::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em; background: rgba(252,123,53,.28); z-index: -1; border-radius: 4px;
}
.hero-lead { margin-top: 26px; font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 13.5px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-equation {
  position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); bottom: 56px;
  margin: 0; padding: 20px 26px 18px; border-radius: 16px; min-width: 210px;
  background: rgba(22,18,15,.92); color: #fff; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-en); line-height: 1;
}
/* 上段：INC × REAL（小さく・字間広め） */
.hero-equation .eq-row { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #d9d2cc; }
.hero-equation .eq-op { font-weight: 300; color: #8f857e; letter-spacing: 0; font-size: 14px; }
.hero-equation .real { color: var(--accent); }
/* 「＝」の代わりのオレンジの線 */
.hero-equation .eq-rule { display: block; width: 36px; height: 2px; margin: 12px 0 10px; border-radius: 2px; background: var(--accent); }
/* 下段：Increal（大きく・字間詰め） */
.hero-equation .eq-result { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hero-equation small { display: block; font-family: var(--font-ja); font-size: 11.5px; color: #a89f98; letter-spacing: .12em; margin-top: 10px; line-height: 1.4; }
/* 下へ促す目印 */
.hero-scroll {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 10.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: scrollcue 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
/* 縦の短い画面（ノートパソコン等）では、最初の画面に収まるよう少し詰める */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding: 36px 0 84px; }
  .hero-title { font-size: clamp(34px, 4.4vw, 56px); }
  .hero-badge { margin-bottom: 18px; }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-points { margin-top: 22px; }
  .hero-equation { bottom: 44px; padding: 16px 22px 14px; }
  .hero-equation .eq-result { font-size: 28px; }
}

@media (max-width: 960px) {
  /* スマホ・タブレット：上に動画をはっきり見せ、その下に文字を並べる */
  .hero { flex-direction: column; align-items: stretch; padding: 0 0 96px; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: 38vh; height: 38svh; min-height: 240px; max-height: 460px; }
  .hero-bg { right: 0; width: 100%; height: 100%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) 55%, #fff 100%),
      radial-gradient(420px 300px at 0% 100%, rgba(252,123,53,.12), transparent 60%);
  }
  .hero-inner { margin-top: -36px; }
  .hero-equation { display: none; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- 私たちについて ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-word { font-family: var(--font-en); font-weight: 800; font-size: clamp(44px, 5.8vw, 84px); line-height: 1.04; color: var(--ink); letter-spacing: -.035em; }
.about-word .op { font-weight: 300; color: #b9b0a9; margin: 0 .06em; }
.about-word .real { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-word .eq { display: block; margin-top: 14px; font-size: .5em; font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); }
.about-word .eq .op { margin: 0 .2em 0 0; color: var(--accent); font-weight: 400; }
.about-body h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin-bottom: 22px; }
.keyword-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.keyword {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
}
.keyword dt { font-weight: 800; color: var(--ink); font-size: 17px; }
.keyword dt span { color: var(--accent-deep); margin-right: 8px; font-family: var(--font-en); font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.keyword dd { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
/* スマホ・タブレットでは最初の画面と同じ言葉が続くため、大きな「Inc × Real」は省く */
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-word { display: none; } }
@media (max-width: 520px) { .keyword-row { grid-template-columns: 1fr; } }

/* ---------- カード（支援領域） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
}
a.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card .tag { font-family: var(--font-en); font-weight: 700; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.service-card h3 { font-size: 21px; font-weight: 800; margin: 4px 0 4px; }
.service-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.service-card p { font-size: 14.5px; line-height: 1.85; flex: 1; }
.service-card .more { margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.service-card .more::after { content: "→"; color: var(--accent-deep); transition: transform .2s ease; }
a.service-card:hover .more::after { transform: translateX(4px); }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- 大切にしていること ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  position: relative; background: #fff; border-radius: var(--radius); padding: 38px 30px 32px; border: 1px solid var(--line);
}
.value .num { font-family: var(--font-en); font-weight: 800; font-size: 42px; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.value h3 { font-size: 19px; font-weight: 800; margin: 18px 0 12px; }
.value p { font-size: 14.5px; margin: 0; }
@media (max-width: 960px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- 紹介の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: step; }
.flow li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 16px 20px; text-align: center;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); z-index: 1;
}
.flow .step { font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.flow h3 { font-size: 15.5px; font-weight: 800; margin-top: 6px; line-height: 1.5; }
.flow p { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.7; }
@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow li:nth-child(3)::after { display: none; }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { text-align: left; display: grid; grid-template-columns: 64px 1fr; align-items: start; column-gap: 8px; padding: 18px 18px; }
  .flow li .step { grid-row: span 2; font-size: 22px; line-height: 1.2; }
  .flow li h3 { margin-top: 0; }
  .flow li:not(:last-child)::after { top: auto; bottom: -11px; right: auto; left: 40px; transform: rotate(135deg); }
  .flow li:nth-child(3)::after { display: block; }
}

/* 縦型の詳細フロー（サービスページ） */
.flow-detail { position: relative; max-width: 860px; margin: 0 auto; }
.flow-detail::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: repeating-linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px 12px); }
.flow-detail li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 14px 0; }
.flow-detail .badge {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: -.01em;
}
.flow-detail .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.flow-detail h3 { font-size: 19px; font-weight: 800; }
.flow-detail h3 small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 10px; }
.flow-detail p { margin: 8px 0 0; font-size: 15px; }
@media (max-width: 600px) {
  .flow-detail::before { left: 25px; }
  .flow-detail li { grid-template-columns: 52px 1fr; gap: 14px; }
  .flow-detail .badge { width: 52px; height: 52px; font-size: 20px; }
  .flow-detail .card { padding: 18px 18px; }
}

/* ---------- 企業様向け帯 ---------- */
.biz { position: relative; overflow: hidden; }
.biz::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,123,53,.35), transparent 65%); pointer-events: none;
}
.biz-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.biz-list { display: grid; gap: 14px; }
.biz-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 18px 20px; color: #e9e3de; font-size: 15px; line-height: 1.75; }
.biz-list li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316120f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.biz-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 960px) { .biz-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- お知らせ ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 120px 110px 1fr auto; gap: 18px; align-items: center; padding: 24px 6px; }
a.news-row:hover .news-title { color: var(--accent-deep); }
.news-date { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.news-cat { display: inline-block; text-align: center; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); }
.news-title { font-weight: 700; color: var(--ink); transition: color .2s ease; }
.news-row .chev { color: var(--accent-deep); font-weight: 700; }
@media (max-width: 640px) {
  .news-row { grid-template-columns: auto auto 1fr; gap: 6px 12px; }
  .news-title { grid-column: 1 / -1; }
  .news-row .chev { display: none; }
}
/* お知らせ詳細（ニュースページの開閉） */
details.news-item summary { list-style: none; cursor: pointer; }
details.news-item summary::-webkit-details-marker { display: none; }
details.news-item .chev { transition: transform .25s ease; display: inline-block; }
details.news-item[open] .chev { transform: rotate(90deg); }
.news-body { padding: 4px 6px 30px; }
.news-body .addr { display: grid; grid-template-columns: 90px 1fr; gap: 8px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 10px; font-size: 15px; }
.news-body .addr dt { font-weight: 700; color: var(--ink); }
.news-body .addr dd { margin: 0; }

/* ---------- 2枚並びの導線カード ---------- */
.link-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.link-card {
  position: relative; display: grid; grid-template-columns: 1fr 42%; min-height: 220px; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.link-card .body { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.link-card .eyebrow { margin-bottom: 6px; font-size: 15px; }
.link-card h3 { font-size: 22px; font-weight: 800; }
.link-card p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.link-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .link-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .link-card { grid-template-columns: 1fr; } .link-card .thumb { height: 160px; order: -1; } }

/* ---------- お問い合わせ・アクセス ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; }
.panel h3 { font-size: 22px; font-weight: 800; }
.panel .eyebrow { margin-bottom: 4px; font-size: 15px; }
.contact-choices { display: grid; gap: 14px; margin-top: 24px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-soft); transition: border-color .2s ease, background-color .2s ease;
}
.choice:hover { border-color: var(--accent); background: var(--accent-soft); }
.choice strong { display: block; color: var(--ink); font-size: 16px; }
.choice span { display: block; font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.choice .go { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.mail-line { margin-top: 22px; font-size: 14px; color: var(--muted); }
.mail-line a { color: var(--accent-deep); font-weight: 700; }
.address { margin: 18px 0 18px; font-size: 15px; line-height: 1.8; }
.address .station { font-size: 13px; color: var(--muted); }
.map { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .panel { padding: 28px 22px; } }

/* ---------- 下層ページの見出し帯 ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 72px 0 64px;
  background: radial-gradient(700px 360px at 90% 0%, rgba(252,123,53,.16), transparent 60%), var(--bg-soft);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #c8bfb8; }
.breadcrumb a:hover { color: var(--accent-deep); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.page-hero .lead { margin-top: 16px; color: var(--ink-2); max-width: 720px; }

/* ---------- サービス詳細 ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail:nth-child(even) .media { order: 2; }
.service-detail .media img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.service-detail .tag { font-family: var(--font-en); font-weight: 700; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.service-detail h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 4px 0 6px; }
.service-detail .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.service-detail .for { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .service-detail:nth-child(even) .media { order: 0; }
}
.message-box { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 44px 48px; position: relative; }
.message-box::before { content: "“"; position: absolute; top: -10px; left: 30px; font-family: var(--font-en); font-weight: 800; font-size: 96px; line-height: 1; color: var(--accent); }
.message-box p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .message-box { padding: 36px 24px; } }

/* ---------- サービスの入口（企業の方 / 学生・社会人の方） ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.audience-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.audience-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.audience-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.audience-card:hover .thumb img { transform: scale(1.04); }
.audience-card .body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.audience-card h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.audience-card p { margin: 12px 0 0; font-size: 15px; flex: 1; }
.audience-card .more { margin-top: 22px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.audience-card .more::after { content: "→"; color: var(--accent-deep); transition: transform .2s ease; }
.audience-card:hover .more::after { transform: translateX(4px); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip-list li { font-size: 12.5px; font-weight: 700; color: var(--accent-deep); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; }
@media (max-width: 860px) { .audience-grid { grid-template-columns: 1fr; } .audience-card .body { padding: 24px 22px 28px; } }

/* チェック付きの箇条書き（明るい背景用） */
.check-list { display: grid; gap: 10px; margin: 14px 0 18px; }
.check-list li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.75; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9440f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.service-detail .note { font-size: 12.5px; color: var(--muted); margin: 0; }
.biz-list li strong { color: #fff; margin-right: 4px; }
.section-switch { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- 会社概要 ---------- */
.info-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 20px 8px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.info-table th { width: 32%; color: var(--ink); font-weight: 700; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--line); }
.info-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.info-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-photo { max-width: 420px; }
  .info-table th { width: 36%; }
}
@media (max-width: 480px) {
  .info-table th, .info-table td { display: block; width: 100%; padding: 0 4px; border: 0; }
  .info-table th { padding-top: 18px; font-size: 13px; color: var(--accent-deep); }
  .info-table td { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .info-table tr:first-child th { border-top: 1px solid var(--line); }
  .info-table tr:first-child td { border-top: 0; }
}

/* ---------- 採用 ---------- */
.job { display: grid; grid-template-columns: 300px 1fr; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.job + .job { margin-top: 28px; }
.job img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.job .tag { font-family: var(--font-en); font-weight: 700; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.job h2, .job h3 { font-size: 24px; font-weight: 800; margin: 2px 0 10px; }
.job dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; margin: 18px 0 22px; font-size: 14.5px; }
.job dt { font-weight: 700; color: var(--ink); }
.job dd { margin: 0; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; gap: 20px; padding: 22px; } .job dl { grid-template-columns: 1fr; gap: 2px; } .job dd { margin-bottom: 10px; } }

/* ---------- フォーム ---------- */
.form-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.form-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.form-switch { display: grid; gap: 10px; }
.form-switch a {
  display: block; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.6;
}
.form-switch a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.form-switch a[aria-current="page"] { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--accent); }
.form-switch a:not([aria-current]):hover { border-color: var(--accent); }
.form-note { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 40px 44px; }
.form-card h2 { font-size: 22px; font-weight: 800; }
.form-card .required-note { font-size: 13px; color: var(--muted); margin: 8px 0 26px; }
.field { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.field:last-of-type { border-bottom: 1px solid var(--line); }
.field > label, .field > .label { font-weight: 700; color: var(--ink); font-size: 15px; padding-top: 12px; line-height: 1.5; }
.req, .opt { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; vertical-align: 2px; letter-spacing: .06em; }
.req { background: var(--accent-deep); color: #fff; }
.opt { background: #eee8e3; color: var(--muted); }
.input, .textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 16px; letter-spacing: .02em; line-height: 1.6;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 170px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(252,123,53,.18); }
.input::placeholder, .textarea::placeholder { color: #aaa19a; }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: #c62828; background: #fff6f6; }
.field-error { display: none; color: #b3261e; font-size: 13px; margin-top: 6px; font-weight: 600; }
.field.is-invalid .field-error { display: block; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.choice-group label {
  position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none;
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-soft); font-weight: 600; font-size: 15px; transition: all .2s ease;
}
.choice-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-group .mark { width: 18px; height: 18px; border: 2px solid #bdb3ab; border-radius: 50%; background: #fff; display: inline-block; position: relative; transition: all .2s ease; }
.choice-group input[type="checkbox"] + .mark { border-radius: 5px; }
.choice-group input:checked + .mark { border-color: var(--accent-deep); background: var(--accent-deep); box-shadow: inset 0 0 0 3px #fff; }
.choice-group input[type="checkbox"]:checked + .mark { box-shadow: none; background: var(--accent-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.choice-group label:has(input:checked) { border-color: var(--accent-deep); background: var(--accent-soft); color: var(--ink); }
.choice-group input:focus-visible + .mark { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { margin: 28px 0 0; padding: 20px 22px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 14.5px; }
.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 600; color: var(--ink); }
.consent input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent-deep); flex-shrink: 0; }
.consent.is-invalid { outline: 2px solid #c62828; background: #fff6f6; }
.form-actions { margin-top: 30px; text-align: center; }
.form-actions .btn { min-width: 280px; min-height: 58px; font-size: 16px; }
.form-status { margin-top: 14px; font-size: 14px; color: #b3261e; font-weight: 600; min-height: 1.5em; }
@media (max-width: 960px) {
  .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .form-aside { position: static; }
  .form-switch { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-card { padding: 28px 20px 32px; }
  .field { grid-template-columns: 1fr; gap: 6px; }
  .field > label, .field > .label { padding-top: 0; }
  .form-switch { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; min-width: 0; }
}

/* ---------- 文書ページ（プライバシーポリシー等） ---------- */
.doc { max-width: 820px; margin: 0 auto; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 48px 0 14px; padding-left: 16px; border-left: 4px solid var(--accent); line-height: 1.5; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 15.5px; }
.doc ol, .doc ul { padding-left: 1.4em; margin-bottom: 1em; }
.doc ol { list-style: decimal; }
.doc ul { list-style: disc; }
.doc li { margin-bottom: .4em; }
.doc .meta { text-align: right; color: var(--muted); font-size: 14px; margin-top: 48px; }
.doc .contact-box { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 20px 24px; }

/* ---------- 完了ページ ---------- */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .icon { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); margin: 0 auto 26px; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(252,123,53,.4); }
.thanks h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; }
.thanks p { margin-top: 18px; }
.thanks .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- 最下部の相談帯 ---------- */
.cta-band { padding: 0 0 112px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; background: var(--ink); color: #d9d2cc;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
}
.cta-box::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(252,123,53,.45), transparent 65%); }
.cta-box h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-box p { margin: 14px 0 0; }
.cta-box .actions { position: relative; z-index: 1; display: grid; gap: 12px; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; padding: 44px 26px; } .cta-band { padding-bottom: 80px; } }

/* ---------- フッター ---------- */
.site-footer { background: #0f0c0a; color: #b3aaa3; padding: 72px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 46px; width: auto; filter: invert(1); }
.footer-brand p { margin-top: 18px; line-height: 1.9; font-size: 13.5px; }
.footer-brand .license { display: inline-block; margin-top: 6px; padding: 6px 12px; border: 1px solid #3a322d; border-radius: 8px; font-size: 12.5px; color: #d9d2cc; }
.footer-nav h2 { font-family: var(--font-en); color: var(--accent); font-size: 11.5px; font-weight: 700; margin-bottom: 16px; letter-spacing: .22em; text-transform: uppercase; }
.footer-nav li + li { margin-top: 10px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2a2420; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12.5px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- スクロールで現れる演出（JSが動かない環境では常に表示） ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
/* 最初の画面（ファーストビュー）はスクロールを待たず、読み込み直後に表示する */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.js .hero .reveal[data-delay="1"] { animation-delay: .08s; }
.js .hero .reveal[data-delay="2"] { animation-delay: .16s; }
.js .hero .reveal[data-delay="3"] { animation-delay: .24s; }
/* 透明度は変えない（どんな環境でも最初の画面の文字が必ず見えるようにするため） */
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .menu-toggle { display: none !important; }
  main { padding-top: 0; }
}

/* 箇条書きの前の小見出し（「たとえば、こんなことを〜」） */
.list-label { margin: 18px 0 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.list-label + .check-list { margin-top: 10px; }
