/* 総合プロフィールページ（/ja/about/）専用スタイル。
   FG LP用の /style.css には依存しない（FG側の変更が波及しないように独立）。
   色・書体はFG LPと同じトークンを使い、サイトとしての連続性を保つ。 */

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --ink: #131a33;
  --ink-2: #2b3352;
  --muted: #5d6480;
  --line: #d9d6cd;
  --accent: #c23a28;
  --accent-bright: #f2604d;
  --accent-tint: #fde4de;
  --navy-tint: #dfe4f3;

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;

  --gutter: 20px;
  --text-w: 36rem;
  --wide-w: 64rem;
}

@media (prefers-color-scheme: dark) {
  /* FG LPと同様、紙面は明るいまま。ブラウザUIのみ追従。 */
  :root { color-scheme: light; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
p { margin: 0 0 1.4em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.sp { display: inline; }
@media (min-width: 640px) { .sp { display: none; } }

.wrap { width: 100%; max-width: calc(var(--text-w) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--wide-w) + var(--gutter) * 2); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: calc(var(--wide-w) + var(--gutter) * 2); margin-inline: auto; padding: 10px var(--gutter); }
.hd__mark { font-family: var(--serif); font-size: 17px; letter-spacing: 0.06em; text-decoration: none; line-height: 1.3; }
.hd__sub { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); }
.hd__cta { font-size: 13px; font-weight: 700; text-decoration: none; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.hd__cta:hover, .hd__cta:focus-visible { background: var(--ink); color: #fff; }

/* ---------- common ---------- */
.kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 1.1em; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-end: 12px; }
.kicker--light { color: var(--accent-bright); }
.h2 { font-family: var(--serif); font-size: clamp(24px, 6.4vw, 34px); line-height: 1.55; letter-spacing: 0.04em; margin-bottom: 1.1em; }
.lead { color: var(--ink-2); }
.sec { padding: clamp(56px, 12vw, 104px) 0; }
.sec--tint { background: var(--paper-2); }
.sec--ink { background: var(--ink); color: #eef0f7; }
.prose p:last-child { margin-bottom: 0; }
.prose__list { font-family: var(--serif); font-size: 17px; line-height: 2.1; padding-inline-start: 1em; border-inline-start: 2px solid var(--accent-bright); }
.note { font-size: 13px; line-height: 1.85; color: var(--muted); }
.dots { margin: 0 0 1.2em; }
.dots li { position: relative; padding-inline-start: 1.1em; margin-bottom: 0.4em; line-height: 1.8; }
.dots li::before { content: ""; position: absolute; left: 0.1em; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-bright); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.btns--center { justify-content: center; }
.btns--stack { flex-direction: column; max-width: 26rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--ink);
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover, .btn--light:focus-visible { background: var(--accent-bright); border-color: var(--accent-bright); color: #fff; }
.btn[hidden] { display: none; }

/* ---------- FV ---------- */
.fv { border-bottom: 1px solid var(--line); }
.fv__in { display: grid; max-width: calc(var(--wide-w) + var(--gutter) * 2); margin-inline: auto; }
.fv__text { padding: clamp(24px, 6vw, 88px) var(--gutter) clamp(32px, 8vw, 72px); }
.fv__title { font-family: var(--serif); font-size: clamp(30px, 8.6vw, 54px); line-height: 1.42; letter-spacing: 0.04em; margin-bottom: 0.5em; }
.fv__lead { font-size: 15px; line-height: 1.9; color: var(--ink-2); margin-bottom: 0; }
.btns--fv { margin-top: 1.1em; gap: 10px; }
@media (max-width: 859px) {
  .fv__thanks { margin-bottom: 0.5em; }
  .fv__name { margin-bottom: 0.6em; }
  .fv__title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 0.4em; }
  .fv__lead { line-height: 1.8; }
  .btns--fv .btn { min-height: 46px; padding-block: 10px; }
}
.fv__thanks { font-size: 13px; letter-spacing: 0.06em; color: var(--accent); font-weight: 700; margin-bottom: 0.7em; }
.fv__name { font-family: var(--serif); font-size: clamp(17px, 4.6vw, 21px); letter-spacing: 0.06em; color: var(--ink); margin-bottom: 0.9em; }
.fv__sep { color: var(--muted); margin-inline: 0.3em; }
.fv__role { font-family: var(--sans); font-size: 0.78em; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-2); }
.fv__photo { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, var(--navy-tint), var(--accent-tint)); order: -1; }
.fv__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.fv__photo.is-empty { display: none; }
@media (min-width: 860px) {
  .fv__in { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 48px; padding-inline: var(--gutter); }
  .fv__text { padding-inline: 0; }
  .fv__photo { order: 0; aspect-ratio: 4 / 5; margin-block: 48px; border-radius: 4px; }
}

/* ---------- business cards ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px 24px 26px; display: flex; flex-direction: column; }
.card p { margin-bottom: 1em; font-size: 15px; }
.card__no { font-family: var(--serif); font-size: 13px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 0.4em !important; }
.card__title { font-family: var(--serif); font-size: 22px; line-height: 1.5; letter-spacing: 0.03em; margin-bottom: 0.6em; }
.card__field { display: block; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); }
.badge { align-self: flex-start; display: inline-block; font-size: 12px !important; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--ink-2); color: var(--ink-2); margin-bottom: 1.1em !important; }
.badge--live { background: var(--ink); border-color: var(--ink); color: #fff; }
.badge--dev { border-style: dashed; }
.card__for { font-size: 14px !important; line-height: 1.75; color: var(--ink); background: var(--paper-2); border-left: 3px solid var(--accent-bright); padding: 8px 12px; border-radius: 0 4px 4px 0; margin-bottom: 1.1em !important; }
.card__for-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.1em; }
.note--pr { background: var(--paper-2); padding: 10px 12px; border-radius: 4px; font-size: 12px !important; }
.note--pr strong { color: var(--ink); margin-inline-end: 0.3em; }
.card .note { font-size: 13px; }
.card__link { margin-top: auto; align-self: flex-start; font-size: 14.5px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--accent-bright); padding-bottom: 2px; }
.card__link::after { content: " →"; }
.card__link:hover, .card__link:focus-visible { color: var(--accent); }
.ext { font-size: 12px; font-weight: 400; color: var(--muted); }

/* ---------- help ---------- */
.help__item { padding: 1.3em 0; border-top: 1px solid var(--line); }
.help__item:last-child { border-bottom: 1px solid var(--line); }
.help dt { font-weight: 700; margin-bottom: 0.4em; }
.help dd { color: var(--ink-2); }
.to { display: block; margin-top: 0.5em; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.to::before { content: "→ "; }

/* ---------- refer ---------- */
.sec--ink .h2 { color: #fff; }
.sec--ink .lead { color: rgba(255,255,255,.82); }
.refer { display: grid; gap: 16px; margin-top: 2em; }
@media (min-width: 760px) { .refer { grid-template-columns: 1fr 1fr; gap: 20px; } }
.refer__item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 24px 22px 20px; }
.refer__item h3 { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: #fff; margin-bottom: 0.7em; }
.refer__no { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--accent-bright); margin-bottom: 0.2em; }
.refer__item p { font-size: 14.5px; line-height: 1.85; color: rgba(255,255,255,.85); margin-bottom: 0.9em; }
.refer__can strong { display: block; font-size: 12px; letter-spacing: 0.1em; color: #fff; }
.say { background: #fff; color: var(--ink) !important; border-radius: 4px; padding: 10px 14px; margin-bottom: 0.2em !important; font-family: var(--serif); font-size: 15px !important; }
.say__label { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.howto { margin-top: 2em; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: 20px 22px; }
.howto__title { font-family: var(--serif); font-size: 18px; color: #fff; margin-bottom: 0.8em; }
.howto__steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.howto__steps li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; line-height: 1.8; color: rgba(255,255,255,.9); padding: 0.45em 0; border-top: 1px solid rgba(255,255,255,.12); }
.howto__steps li:first-child { border-top: 0; }
.howto__no { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-bright); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1; }
.refer__promise { margin-top: 2em; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.75); text-align: center; }

/* ---------- partner ---------- */
.checks { margin: 1.4em 0; }
.checks li { position: relative; padding: 0.8em 0 0.8em 1.8em; border-bottom: 1px solid var(--line); line-height: 1.8; }
.checks li::before { content: ""; position: absolute; left: 0.2em; top: 1.35em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- profile ---------- */
.profile__name { font-family: var(--serif); font-size: 26px; letter-spacing: 0.08em; margin-bottom: 0.2em; }
.profile__kana { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted); margin-inline-start: 0.8em; }
.profile__role { font-size: 14px; color: var(--ink-2); margin-bottom: 1.6em; }
.profile .prose { margin-bottom: 1.6em; }

/* ---------- contact ---------- */
.contact .note { margin-top: 1.6em; }

/* ---------- footer ---------- */
.ft { background: var(--paper-2); border-top: 1px solid var(--line); padding: 36px 0 56px; font-size: 12px; line-height: 1.9; color: var(--muted); }
.ft li { margin-bottom: 0.9em; }
.ft__copy { margin: 1.4em 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
