/*
 * トークン：デザイン方針書v1.0（値の変更禁止）
 */
:root {
  --ink: #22262A;
  --steel-700: #3A4046;
  --steel-500: #646A70;
  --steel-100: #E2E5E8;
  --steel-050: #F5F6F7;
  --white: #FFFFFF;
  --copper-500: #C46A3C; /* 装飾・大型数字のみ */
  --copper-600: #B85C2E; /* 第一CVボタン */
  --copper-700: #96461E; /* テキストリンク・hover */
}

/*
 * TODO(確認): セルフホストwoff2（Noto Sans JP 400/500/700・Barlow Condensed 600）が
 * 未支給のため、@font-face未定義。フォント一式が揃い次第 assets/fonts/ に配置し、
 * ここに @font-face を追加してシステムフォントの代替を外すこと。
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 15px; line-height: 1.9;
  color: var(--ink); background: var(--white);
  padding-bottom: 56px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
h1 { font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em; }
h2 { font-size: 24px; font-weight: 700; line-height: 1.5; margin: 0 0 32px 0; letter-spacing: 0.02em; }
h3 { font-size: 17px; font-weight: 500; }
p  { max-width: 38em; }
a  { color: var(--ink); }
.sub { color: var(--steel-500); font-size: 13px; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt32 { margin-top: 32px; }
.tint { background: var(--steel-050); }
.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;
}

/* 写真プレースホルダー（本番差し替えまではスチール面＋P-IDラベル） */
.photo {
  background: linear-gradient(135deg, var(--steel-700) 0%, var(--ink) 100%);
  color: rgba(255,255,255,.6);
  display: flex; align-items: flex-end;
  padding: 12px 14px; font-size: 12px; line-height: 1.5;
}
.photo i { margin-right: 6px; }
.photo.has-image {
  display: block; position: relative; overflow: hidden;
  background: var(--steel-050);
}
.photo.has-image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.h-150 { height: 150px; margin-bottom: 8px; }
.h-170 { height: 170px; margin-bottom: 8px; }
.h-400 { height: 400px; }
.h-500 { height: 500px; }
.size-120 { width: 120px; height: 120px; }
.photo.size-120.circle { width: 120px; height: 120px; }
/* TODO(確認): デザイン方針書は全要素角丸0を原則とするが、見学申込ページの担当者写真（P-21）は
   ワイヤーフレーム・クライアント指示により円形表示の例外とする。 */
.circle, .circle.has-image, .circle.has-image img { border-radius: 50%; }

/* ボタン（角丸0・沈み込み・フォーカスリング） */
.btn {
  display: inline-block; padding: 16px 40px;
  font-size: 15px; font-weight: 500; color: var(--white);
  text-decoration: none; text-align: center; border-radius: 0;
  transition: background .15s ease-out, transform .1s ease-out;
}
.btn-primary { background: var(--copper-600); }
.btn-primary:hover { background: var(--copper-700); transform: translateY(1px); }
.btn-primary:active { transform: translateY(2px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-nav { padding: 10px 22px; font-size: 13px; }
.link { color: var(--copper-700); text-decoration: underline; text-underline-offset: 3px; }
.link i { font-size: 12px; }

/* ヘッダー */
.site-header { padding: 18px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 700; font-size: 17px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .mark { width: 30px; height: 30px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.logo .co { font-size: 11px; font-weight: 400; color: var(--steel-500); display: block; line-height: 1.4; }
.site-nav ul { list-style: none; display: flex; gap: 26px; align-items: center; }
.site-nav a { text-decoration: none; font-size: 13px; color: var(--ink); }
.site-nav a:hover { color: var(--copper-700); }
.site-nav a.btn,
.site-nav a.btn:hover { color: var(--white); }

/* ドロワー（SP） */
.drawer-toggle {
  display: none; background: none; border: none; font-size: 20px; color: var(--ink);
  padding: 8px; cursor: pointer;
}
.drawer {
  display: none; position: fixed; inset: 0; background: var(--white); z-index: 100;
  padding: 24px; overflow-y: auto;
}
.drawer.is-open { display: block; }
.drawer-inner ul { list-style: none; margin-top: 24px; }
.drawer-inner li { border-top: 1px solid var(--steel-100); }
.drawer-inner a { display: block; padding: 16px 0; text-decoration: none; color: var(--ink); font-size: 15px; }
.drawer-inner .btn { display: block; }

/* FV：左テキスト右写真の分割 */
.fv { padding: 72px 0 88px; }
.fv-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.fv .photo { height: 440px; }
.fv .lead { margin-top: 20px; }
.fv h1 { font-size: 32px; }
.fv .assure { margin-top: 10px; }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.num {
  font-family: "Barlow Condensed", "Noto Sans JP", sans-serif;
  font-weight: 600; font-size: 56px; line-height: 1.2; color: var(--copper-500);
}
.num .unit { font-family: "Noto Sans JP", sans-serif; font-size: 17px; font-weight: 500; color: var(--ink); margin-left: 2px; }

/* 2カラム */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cols2 .photo { height: 320px; }

/* 1日の流れ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline .photo { height: 150px; margin-bottom: 10px; }
.time { font-family: "Barlow Condensed", "Noto Sans JP", sans-serif; font-weight: 600; font-size: 22px; color: var(--copper-500); margin-right: 8px; }

/* インタビュー */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.people .photo { height: 220px; margin-bottom: 14px; }
.people .quote { font-weight: 700; line-height: 1.7; }
.people .who { margin-top: 4px; }
.people .more { margin-top: 10px; }

/* 関連インタビュー（詳細ページの「他のインタビュー」。TOP・一覧より小さめの3カラム） */
.people-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.people-sm .photo { height: 140px; margin-bottom: 12px; }
.people-sm .quote { font-weight: 700; line-height: 1.6; }
.people-sm .who { margin-top: 4px; }
.people-sm .more { margin-top: 8px; }

/* ロードマップ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--white); padding: 28px; }
.tint .step { background: var(--white); }
.step .no { font-family: "Barlow Condensed", "Noto Sans JP", sans-serif; font-weight: 600; font-size: 20px; color: var(--copper-500); }
.step h3 { margin-top: 4px; font-weight: 700; }

/* FAQ */
details { background: var(--steel-050); padding: 18px 22px; margin-bottom: 12px; }
.tint details { background: var(--white); }
summary { font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q．"; font-weight: 700; color: var(--copper-700); }
details p { margin-top: 8px; }

/* お知らせ */
.news-row { display: flex; gap: 24px; padding: 15px 0; align-items: baseline; }
.news-row + .news-row { border-top: 1px solid var(--steel-100); }
.news-row a { text-decoration: none; }
.news-row a:hover { color: var(--copper-700); }

/* CTA帯 */
.cta-band .photo { height: 240px; margin-bottom: 40px; }
.cta-band h2 { margin-bottom: 12px; }

/* フッター */
.site-footer { padding: 48px 0; background: var(--steel-700); color: var(--white); }
.site-footer ul { list-style: none; display: flex; gap: 24px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
.site-footer a { color: var(--white); font-size: 13px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .sub { color: var(--steel-100); text-align: center; }

/* SP追従バー */
.bottombar { position: fixed; bottom: 0; left: 0; right: 0; display: none; grid-template-columns: 1fr 1fr; z-index: 10; }
.bottombar a { padding: 17px; text-align: center; color: var(--white); text-decoration: none; font-size: 13px; font-weight: 500; }
.bottombar .tel { background: var(--steel-700); }
.bottombar .visit { background: var(--copper-600); }
.bottombar.is-hidden { display: none !important; }

/* スクロール出現（見出しと統計数字のみ／reduced-motion対応） */
.rv { opacity: 0; transform: translateY(8px); transition: opacity .25s ease-out, transform .25s ease-out; }
.rv.in { opacity: 1; transform: none; }
h2.rv.in { margin: 32px 0; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* フォーム（機能要件04-1・コンポーネント04-6） */
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.form-field .req { font-size: 11px; color: var(--steel-500); margin-left: 6px; }
.form-field input,
.form-field textarea {
  width: 100%; padding: 14px; background: var(--steel-050); border: none;
  border-bottom: 2px solid transparent; font: inherit; color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-error { color: var(--copper-700); font-size: 13px; margin-top: 6px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 16px; background: var(--steel-050); margin-bottom: 24px; }

/* 募集要項テーブル */
.spec-row { display: grid; grid-template-columns: 200px 1fr; }
.spec-row + .spec-row { margin-top: 2px; }
.spec-row dt { background: var(--steel-050); padding: 16px 20px; font-weight: 500; font-size: 14px; }
.spec-row dd { padding: 16px 20px; }

@media (max-width: 768px) {
  section { padding: 60px 0; }
  h1, .fv h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  .site-nav { display: none; }
  .drawer-toggle { display: block; }
  .fv { padding: 40px 0 60px; }
  .fv-grid, .cols2 { grid-template-columns: 1fr; gap: 28px; }
  .fv .photo { height: 300px; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .timeline, .people, .people-sm, .steps, .steps-4 { grid-template-columns: 1fr; }
  .num { font-size: 44px; }
  .bottombar { display: grid; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dd { padding-top: 6px; }
  .photo.size-120.circle { width: 100%; height: 330px; }
}
