@charset "UTF-8";
/* ============================================================
   Drs.Career+ ｜ 求人エージェントLP
   Figmaデザイン忠実再現スタイル
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root {
  --navy:        #1f2a44; /* 主要テキスト・濃ボタン */
  --blue:        #3f6789; /* 中間ブルー（見出しアクセント） */
  --blue-light:  #6b8eb0; /* 明るいブルー（ラベル／罫線アクセント） */
  --gray:        #6b7a93; /* 本文グレー */
  --muted:       #9aa6ba; /* ミュート（小ラベル） */
  --border:      #dfe6ee; /* 罫線・薄背景 */
  --bg-light:    #eef3f8; /* 薄い背景 */
  --white:       #ffffff;
  --serif: "Noto Serif JP", serif;
  --sans:  "Noto Sans JP", sans-serif;
  --container: 1200px;   /* デザインのキャンバス幅 */
  --gutter: 64px;        /* 左右の余白 */
}

/* ============================================================
   ローディング画面（MVと同じ雰囲気：ネットワーク粒子＋ブランド名）
   ============================================================ */
body.is-loading { overflow: hidden; }
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.loader__inner { position: relative; text-align: center; }
.loader__brand {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 0.04em;
  color: var(--navy);
  animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader__tagline {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.loader__bar {
  display: block;
  width: 160px;
  height: 2px;
  margin: 28px auto 0;
  background: var(--border);
  overflow: hidden;
}
.loader__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
  animation: loaderBar 1.9s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes loaderBar { to { width: 100%; } }
@keyframes loaderPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader__brand { animation: none; }
  .loader__bar-fill { animation: none; width: 100%; }
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ol, ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* ---------- 共通レイアウト ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 960px; }

/* セクション見出し共通 */
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--navy);
  line-height: 1.5;
}
.section-title--light { color: var(--white); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  transition: opacity .25s ease, background-color .25s ease, color .25s ease;
}
.btn--contact {
  padding: 13px 28px;
  background: var(--navy);
  color: var(--white);
  letter-spacing: 0.18em;
}
.btn--contact:hover { opacity: .85; }
.btn--primary {
  padding: 15px 30px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
}
.btn--primary:hover { opacity: .85; }
.btn--outline {
  padding: 15px 30px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  font-size: 13px;
}
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 93px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.brand__sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 6px;
}
.gnav { display: flex; gap: 32px; }
.gnav__link {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gray);
  transition: color .2s;
}
.gnav__link:hover { color: var(--navy); }

/* ハンバーガー */
.nav-toggle { display: none; width: 28px; height: 22px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--navy); transition: transform .3s, opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  padding: 80px 0 80px;
}
/* 粒子アニメーション用キャンバス（コンテンツの背面） */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 80px;
}
.hero__text { flex: 0 0 40%; max-width: 40%; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.hero__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--blue-light);
  margin-top: 12px;
}
.hero__divider {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--blue-light);
  margin: 24px 0;
}
.hero__body {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.hero__actions { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero__image { flex: 1 1 auto; }
.hero__image img {
  width: 100%;
  height: 375px;
  object-fit: cover;
}

/* スタッツ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.stat__num span {font-size: 21px;color: var(--blue-light);margin-top: 23px;}
.stat__unit { font-size: 21px; color: var(--muted); margin-top: 4px; }
.stat__en {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 18px;
}
.stat__ja { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ============================================================
   レター
   ============================================================ */
.letter { padding: 140px 0; background: var(--white); }
.letter__inner { text-align: center; }
.letter__heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-top: 20px;
}
.letter__body { margin-top: 48px; }
.letter__body p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 24px;
}
.letter__accent { color: var(--blue); }
.letter__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--blue);
  margin-top: 40px;
  letter-spacing: 0.04em;
}

/* ============================================================
   悩み（YOUR CHALLENGES）
   ============================================================ */
.challenges { padding: 120px 0; background: var(--bg-light); }
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  gap: 1px;
  border: 1px solid var(--border);
}
.challenge {
  background: var(--white);
  padding: 40px 17px;
}
.challenge__no {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--blue-light);
}
.challenge__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  color: var(--navy);
  margin-top: 18px;
  min-height: 38px;
}
.challenge__desc {
  font-size: 13px;
  color: var(--gray);
  margin-top: 14px;
}
.challenges__closing {
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-top: 64px;
}

/* ============================================================
   アプローチ（OUR APPROACH）
   ============================================================ */
.approach {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--blue); /* ベース：ベタ塗りの青 #3f6789 */
}
/* 通路写真を不透明度25%でうっすら重ねる（Figma準拠）
   パララックス用に上下を少し広げ、スクロールで緩やかに移動させる */
.approach__bg {
  position: absolute;
  top: -12%;
  left: 0;
  right: 0;
  height: 124%;
  background: url("../images/approach-bg.jpg") center / cover no-repeat;
  opacity: 0.25;
  will-change: transform;
}
.approach__inner { position: relative; z-index: 1; text-align: center; }
.approach__desc {
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  margin-top: -24px;
  margin-bottom: 56px;
}
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.approach-step {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 29px 17px;
  text-align: center;
}
.approach-step__no {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
}
.approach-step__title {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-top: 12px;
}
.approach-step__tag {
  font-size: 11px;
  letter-spacing: 0.05em;
  margin-top: 10px;
}

/* ============================================================
   強み（OUR STRENGTHS）
   ============================================================ */
.strengths { padding: 120px 0; background: var(--white); }
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.strength__img { aspect-ratio: 282 / 212; overflow: hidden; }
.strength__img img { width: 100%; height: 100%; object-fit: cover; }
.strength__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.strength__no { font-size: 12px; letter-spacing: 0.15em; color: var(--blue-light); }
.strength__en {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--navy);
}
.strength__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-top: 12px;
}
.strength__desc {
  font-size: 12px;
  line-height: 2.1;
  color: var(--gray);
  margin-top: 14px;
}

/* ============================================================
   流れ（FLOW）
   ============================================================ */
.flow { padding: 120px 0; background: var(--white); }
.flow-list { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.flow-step:first-child { border-top: 1px solid var(--border); }
.flow-step__no {
  flex: 0 0 80px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  color: var(--blue-light);
}
.flow-step__main {
  display: flex;
  align-items: center;
  gap: 60px;
  flex: 1;
}
.flow-step__title {
  flex: 0 0 120px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.flow-step__tag {
  flex: 0 0 140px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--blue);
}
.flow-step__desc { font-size: 14px; color: var(--gray); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 120px 0; background: var(--bg-light); }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--white);
}
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 33px;
  cursor: pointer;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__mark {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--blue-light);
  flex-shrink: 0;
}
.faq-item__text {
  flex: 1;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.faq-item__icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--blue-light);
  transition: transform .3s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  display: flex;
  gap: 16px;
  padding: 0 33px 28px;
}
.faq-item__a .faq-item__mark { color: var(--gray); }
.faq-item__a p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--gray);
}

/* ============================================================
   登録CTA（REGISTER）
   ============================================================ */
.register { padding: 140px 0; background: var(--white); }
.register__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 52px;
  line-height: 1.2;
  color: var(--blue);
  margin-top: 16px;
}
.register__lead {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-top: 24px;
}
.register__desc {
  font-size: 14px;
  color: var(--gray);
  margin-top: 16px;
}
.reg-form {
  max-width: 560px;
  margin: 56px auto 0;
  background: var(--white);
  padding: 0 0 0;
}
.reg-field {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.reg-field:first-child { border-top: 1px solid var(--border); }
.reg-field__label { flex: 0 0 140px; display: flex; flex-direction: column; gap: 4px; }
.reg-field__en {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--blue-light);
}
.reg-field__ja { font-size: 14px; color: var(--navy); }
.reg-field__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--navy);
  padding: 14px 0;
  background: transparent;
}
.reg-field__input::placeholder { color: var(--muted); }
.reg-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
}
.reg-check input { width: 14px; height: 14px; accent-color: var(--navy); }
.btn--submit {
  width: 100%;
  padding: 18px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.2em;
}
.btn--submit:hover { background: var(--navy); }

/* ============================================================
   フッター
   ============================================================ */
.footer { background: var(--navy); padding: 64px 0; color: var(--white); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__name {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--white);
}
.footer__sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer__nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
}
.footer__license,
.footer__copy {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   手書き風テキスト：左から書き出すように出現
   （対象：We walk with you. / Take the first step.）
   ============================================================ */
.handwrite {
  display: inline-block;
  /* フォントは親（Noto Serif JP イタリック）をそのまま継承＝読みやすさ優先 */
  /* 初期は左端だけ表示（右側をクリップで隠す） */
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transition: clip-path 1.7s cubic-bezier(.77,0,.18,1),
              -webkit-clip-path 1.7s cubic-bezier(.77,0,.18,1);
  will-change: clip-path;
}
.handwrite.is-written {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .handwrite { clip-path: none; -webkit-clip-path: none; transition: none; }
}

/* ============================================================
   スクロールフェードイン（下から静かに出現）
   ※ .reveal はJSで付与するため、JS無効時は通常表示のまま
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1),
              transform .9s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .hero__title { font-size: 52px; }
  .flow-step__main { gap: 32px; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }

  /* ヘッダー */
  .gnav {
    position: fixed;
    inset: 93px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(31, 42, 68, 0.08);
    /* 閉じている間は確実に隠す（高さに関係なくスライバーを出さない） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    z-index: 90;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .gnav__link { padding: 18px 24px; border-top: 1px solid var(--border); }
  .btn--contact { display: none; }
  .nav-toggle { display: block; }

  /* ヒーロー */
  .hero { padding: 48px 0; }
  .hero__inner { flex-direction: column; gap: 32px; margin-bottom: 48px; }
  .hero__text { flex: none; max-width: 100%; width: 100%; }
  .hero__title { font-size: 48px; }
  .hero__image { width: 100%; }
  .hero__image img { height: auto; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 28px 24px; }

  /* セクション余白 */
  .letter,
  .challenges,
  .approach,
  .strengths,
  .flow,
  .faq,
  .register { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title,
  .letter__heading { font-size: 24px; }

  /* レター */
  .letter__sign { font-size: 26px; }

  /* 悩み・強み */
  .challenge-grid { grid-template-columns: 1fr; }
  .challenge__title { min-height: 0; }
  .strength-grid { grid-template-columns: 1fr; gap: 40px; }

  /* アプローチ */
  .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .approach__desc { margin-top: 0; }

  /* 流れ */
  .flow-step { flex-direction: column; align-items: flex-start; gap: 12px; }
  .flow-step__no { font-size: 40px; }
  .flow-step__main { flex-direction: column; align-items: flex-start; gap: 8px; }
  .flow-step__title,
  .flow-step__tag { flex: none; }

  /* FAQ */
  .faq-item__q { padding: 20px; }
  .faq-item__text { font-size: 15px; }
  .faq-item__a { padding: 0 20px 22px; }

  /* 登録 */
  .register__title { font-size: 40px; }
  .reg-field { flex-direction: column; align-items: stretch; gap: 8px; }
  .reg-field__label { flex: none; }
  .reg-field__input { border-bottom: none; padding: 6px 0; }

  /* フッター */
  .footer__top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer__nav { gap: 18px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   下層ページ（プライバシーポリシー／会社概要）共通
   ============================================================ */
.subpage { padding: 88px 0 110px; background: var(--white); }
.subpage-head { text-align: center; margin-bottom: 60px; }
.subpage-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--navy);
  line-height: 1.5;
}
.subpage-lead {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray);
}

/* 会社概要テーブル */
.info-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  border-top: 1px solid var(--border);
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  vertical-align: top;
  line-height: 1.8;
}
.info-table th {
  width: 200px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.info-table td { color: var(--gray); }
.info-table a { color: var(--blue); text-decoration: underline; }
.info-table a:hover { color: var(--navy); }

/* 法務テキスト（プライバシーポリシー） */
.legal { max-width: 820px; margin: 0 auto; }
.legal__intro {
  font-size: 15px;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 44px;
}
.legal__item { margin-bottom: 40px; }
.legal__h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 14px;
}
.legal__item p { font-size: 15px; line-height: 2; color: var(--gray); }
.legal__item p + p { margin-top: 14px; }
.legal__item ul { margin: 14px 0 0; padding-left: 1.3em; list-style: disc; }
.legal__item li { font-size: 15px; line-height: 1.95; color: var(--gray); }
.legal__item a { color: var(--blue); text-decoration: underline; }
.legal__date {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  margin-top: 48px;
}

/* 下層ページのレスポンシブ */
@media (max-width: 768px) {
  .subpage { padding: 56px 0 72px; }
  .subpage-title { font-size: 24px; }
  .info-table { border-top: none; }
  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table th { padding: 18px 0 4px; border-bottom: none; }
  .info-table td { padding: 0 0 18px; }
  .legal__h { font-size: 17px; }
}

/* ============================================================
   PHPフォーム：入力欄のエラー表示／確認画面のアクション
   ============================================================ */
/* 入力欄＋エラーを縦に積むラッパー（inputForm.php用） */
.reg-field__control { flex: 1; display: flex; flex-direction: column; }
.reg-field__control .reg-field__input { width: 100%; }
.error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #c0392b;
}
/* プライバシー同意エラーは少し詰める */
.reg-check + .error { margin: -16px 0 8px; }

/* 確認画面のボタン群 */
.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 44px auto 0;
}
.confirm-actions .btn { width: 100%; padding: 18px; }
