/* ==========================================================================
   合同会社有屋商店 RPO・採用代行サービス
   親しみやすさ × 清潔感 × 信頼感
   ========================================================================== */

:root {
  /* カラーパレット（オレンジ） */
  --c-ivory: #fffbf5;      /* 背景 */
  --c-sage: #f57c00;       /* アクセント：ロゴのドット・装飾・大きな数字 */
  --c-sage-strong: #b34400;/* 小さなアクセント文字・アイコン・バッジ（背景上 5.4:1／サブ背景上 4.7:1、白文字 5.6:1） */
  --c-main: #f57c00;       /* メイン：CTAカード背景（原色寄りのオレンジ） */
  --c-main-hover: #ff9420;
  --c-on-main: #2e241f;    /* CTAカード上の文字色 */
  --c-btn: #ee6a00;        /* オレンジボタン：白文字（3.1:1）。大きな太字（19px以上）で使用し、WCAGの大きな文字の基準を満たす */
  --c-btn-hover: #d95f00;
  --c-ink: #2e241f;        /* 文字・見出し（背景上 14.7:1） */
  --c-ink-soft: #5a4a40;   /* 補助テキスト（背景上 8.2:1） */
  --c-mint: #ffe8cc;       /* サブ背景 */
  --c-mint-soft: #fff3e3;
  --c-white: #ffffff;
  --c-line: #f3e3d0;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  --radius-sm: 12px;
  --radius: 24px;
  --radius-lg: 40px;
  --shadow: 0 1px 2px rgba(46, 36, 31, 0.04), 0 10px 30px rgba(46, 36, 31, 0.06);
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(88px, 11vw, 144px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-ivory);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 960px) { body { font-size: 1.125rem; } }

h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-sage-strong); text-underline-offset: 0.25em; }
a:hover { color: var(--c-ink); }
h1, h2, h3 { line-height: 1.5; font-weight: 700; letter-spacing: 0.06em; word-break: auto-phrase; text-wrap: balance; }
p { text-wrap: pretty; }
small { font-size: 0.8em; }

:focus-visible { outline: 3px solid var(--c-sage-strong); outline-offset: 3px; border-radius: 4px; }

.ib { display: inline-block; }
.line { display: block; }
.visually-hidden {
  position: absolute !important; 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: 16px; top: -100px; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 12px 20px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-article { max-width: calc(760px + var(--gutter) * 2); }
.narrow { max-width: 880px; margin-inline: auto; }
.narrow-sm { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  border: 2px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.4;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { flex: none; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--c-btn); color: #fff; font-size: 1.1875rem; }
.btn-primary:hover { background: var(--c-btn-hover); color: #fff; }
.btn-primary.btn-lg { font-size: 1.1875rem; }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-sage); }
.btn-outline:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-ink); }
.btn-light { background: #fff; color: var(--c-ink); }
.btn-light:hover { background: var(--c-mint); color: var(--c-ink); }
.btn-sm { min-height: 44px; padding: 8px 22px; font-size: 0.9375rem; }
.btn-lg { min-height: 64px; padding: 16px 40px; font-size: 1.0625rem; }
.btn.is-disabled { background: #f1dfcb; color: var(--c-ink); cursor: not-allowed; }
.btn.is-disabled:hover { background: #f1dfcb; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--c-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-sage);
  text-decoration-thickness: 2px;
}
.text-link:hover { text-decoration-color: var(--c-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 245, 0.94);
  border-bottom: 1px solid rgba(245, 124, 0, 0.18);
}
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); background: rgba(255, 251, 245, 0.86); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; gap: 14px; color: var(--c-ink-soft); text-decoration: none; white-space: nowrap; }
.site-logo .logo { display: block; height: 30px; width: auto; }
.site-logo-sub { padding-left: 14px; border-left: 1px solid var(--c-line); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; }
@media (max-width: 599px) { .site-logo-sub { display: none; } .site-logo .logo { height: 28px; } }
.site-logo:hover { color: var(--c-ink); }
.brand-text { font-weight: 700; letter-spacing: 0.04em; }
.brand-dot { color: var(--c-sage); }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--c-ink); font-size: 0.9375rem; font-weight: 600; text-decoration: none;
}
.nav-link:hover { background: var(--c-mint-soft); color: var(--c-ink); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--c-sage); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; border-radius: 12px; color: var(--c-ink); cursor: pointer;
  }
  .js .nav-toggle .icon { width: 28px; height: 28px; }
  .nav-toggle-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-ivory); border-bottom: 1px solid var(--c-line);
    box-shadow: 0 16px 24px rgba(46, 36, 31, 0.08);
    padding: 8px var(--gutter) 28px;
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 16px 4px; border-bottom: 1px solid var(--c-line); border-radius: 0; font-size: 1.0625rem; }
  .nav-cta { margin: 20px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1.0625rem; }
  /* JS無効時はナビを折り返して表示 */
  .no-js .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .nav-link { border: 0; padding: 8px 10px; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.8125rem; color: var(--c-ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 14px 0 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--c-sage); }
.breadcrumb a { color: var(--c-ink-soft); }
.breadcrumb [aria-current] { color: var(--c-ink-soft); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-white { background: var(--c-white); }
.section-green { background: var(--c-mint); }
.section-related { padding-block: clamp(64px, 8vw, 96px); }
.section-label {
  margin-bottom: 12px; text-align: center;
  color: var(--c-sage-strong); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.section-title {
  text-align: center;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-title-sm { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 36px; }
.section-lead { text-align: center; margin: calc(clamp(48px, 6vw, 72px) * -0.55) auto clamp(48px, 6vw, 64px); color: var(--c-ink-soft); }
.section-more { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(80px, 10vw, 128px); }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -260px; top: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 204, 0.9) 0%, rgba(255, 232, 204, 0) 68%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 360px; height: 360px; left: -140px; bottom: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 204, 0.7) 0%, rgba(255, 232, 204, 0) 70%);
}
.hero-inner { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--c-sage-strong); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.12em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-sage); border-radius: 2px; }
.eyebrow .brand-text { color: var(--c-ink); }
.eyebrow-sep { color: var(--c-sage); font-weight: 400; }
.hero-copy {
  margin-top: 24px;
  /* 1行表示（画面幅に合わせて文字サイズを調整） */
  white-space: nowrap;
  font-size: clamp(1.25rem, 6.2vw, 2.5rem);
  line-height: 1.45; letter-spacing: 0.04em;
}
@media (min-width: 960px) { .hero-copy { font-size: clamp(1.75rem, 2.8vw, 2.5rem); } }
/* スマホのみ2行表示 */
@media (max-width: 599px) {
  .hero-copy { white-space: normal; font-size: clamp(1.75rem, 8.4vw, 2.25rem); letter-spacing: 0.06em; }
  .hero-copy .sp-line { display: block; }
}
.hero-lead { margin-top: 28px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--c-ink-soft); line-height: 2; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; background: var(--c-white);
  border: 1px solid var(--c-line); font-weight: 700; font-size: 0.9375rem;
}
.hero-badges .icon { color: var(--c-sage-strong); }
.hero-badges small { font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
.hero-media { position: relative; }
.hero-media picture { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-mint); }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; z-index: -1;
  width: 60%; height: 60%; border-radius: var(--radius-lg); background: var(--c-mint);
}
@media (max-width: 599px) {
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-actions .text-link { justify-content: center; }
  .hero-media picture { border-radius: 28px; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
@media (min-width: 768px) { .card-grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  background: var(--c-white); border-radius: var(--radius);
  padding: clamp(32px, 3.5vw, 44px) clamp(28px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.section-white .card { background: var(--c-ivory); box-shadow: none; }
.card-title { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem); margin-bottom: 14px; }
.card-title-lg { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.card p { color: var(--c-ink-soft); }
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--c-mint); color: var(--c-sage-strong);
}
.section-green .icon-circle { background: var(--c-mint-soft); }
.icon-circle-sm { width: 60px; height: 60px; }

.card-problem { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.card-problem p { color: var(--c-ink); font-weight: 600; font-size: 1.0625rem; line-height: 1.85; }

.feature-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.feature-num { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--c-sage); letter-spacing: 0.04em; font-feature-settings: "tnum"; }
.card-feature .card-title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }

.card-service { display: flex; flex-direction: column; align-items: flex-start; }
.card-service .icon-circle { margin-bottom: 24px; }

/* ---------- Pricing cards ---------- */
.plan-cards { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .plan-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 900px) and (max-width: 1179px) { .plan-card { padding-inline: 20px; } .plan-price-num { font-size: 1.875rem; } }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  padding: 48px 28px 40px; border-radius: var(--radius);
  background: var(--c-ivory); border: 2px solid transparent; text-align: center;
}
.section:not(.section-white) .plan-card { background: var(--c-white); box-shadow: var(--shadow); }
.plan-card.is-recommended { border-color: var(--c-sage); background: var(--c-white); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 4px 18px; border-radius: 999px; background: var(--c-sage-strong); color: #fff;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; white-space: nowrap;
}
.plan-name { font-size: 1.375rem; letter-spacing: 0.12em; }
.plan-price {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 4px; white-space: nowrap;
  margin: 20px 0 8px; padding-bottom: 24px; border-bottom: 1px solid var(--c-line);
}
.plan-price-label { font-size: 0.9375rem; font-weight: 600; margin-right: 4px; }
.plan-price-num { font-size: clamp(2rem, 1.5rem + 1vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; font-feature-settings: "tnum"; }
.plan-price-unit { font-size: 1rem; font-weight: 700; }
.plan-price-unit small { font-size: 0.8125rem; font-weight: 500; color: var(--c-ink-soft); }
.plan-hours { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 12px; font-size: 1.125rem; font-weight: 700; }
.plan-hours .icon { color: var(--c-sage-strong); }
.plan-target { color: var(--c-ink-soft); font-size: 1rem; line-height: 1.8; }

/* ---------- Flow ---------- */
.flow { display: grid; gap: 0; counter-reset: flow; }
.flow-step { position: relative; padding: 0 0 40px 76px; }
.flow-step::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--c-mint);
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step:last-child::before { display: none; }
.flow-num {
  position: absolute; left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-sage);
  font-size: 1.125rem; font-weight: 700; line-height: 1; color: var(--c-ink);
}
.flow-num span { font-size: 0.5625rem; letter-spacing: 0.1em; margin-bottom: 2px; color: var(--c-sage-strong); }
.flow-title { font-size: 1.1875rem; padding-top: 10px; margin-bottom: 6px; }
.flow-text { color: var(--c-ink-soft); font-size: 1rem; }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .flow-step { padding: 0; text-align: center; }
  .flow-step::before { left: calc(50% + 40px); right: calc(-50% + 20px); top: 39px; bottom: auto; width: auto; height: 2px; }
  .flow-num { position: relative; margin: 0 auto 24px; width: 80px; height: 80px; font-size: 1.5rem; }
  .flow-num span { font-size: 0.6875rem; }
  .flow-title { padding-top: 0; font-size: 1.125rem; }
  .flow-text { font-size: 0.9375rem; text-align: left; }
}

/* ---------- Bottom CTA ---------- */
/* 最下部CTA：全幅のオレンジグラデーション＋白文字 */
.section-cta {
  background: linear-gradient(120deg, var(--c-btn) 0%, #f98c24 100%);
  color: #fff; text-align: center;
}
.cta-title { font-size: clamp(1.625rem, 1.15rem + 2vw, 2.5rem); line-height: 1.45; }
/* 白文字の読みやすさのため、説明文も大きめの太字（WCAGの大きな文字の基準） */
.cta-text { margin: 20px 0 40px; font-size: 1.1875rem; font-weight: 700; }
.section-cta .btn-light { color: var(--c-ink); }
.section-cta .btn-light:hover { background: var(--c-mint); }
.section-cta .btn:focus-visible { outline-color: #fff; }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
@media (max-width: 599px) {
  .cta-title { font-size: clamp(1.375rem, 6.4vw, 1.625rem); letter-spacing: 0.04em; }
  .cta-text { font-size: 1.1875rem; }
  .section-cta .btn { width: 100%; padding-inline: 16px; font-size: 1rem; gap: 8px; }
}

/* ---------- Page head (sub pages) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 88px); }
.page-head-center { text-align: center; }
.page-title { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem); margin-top: 16px; }
.page-title-article { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.page-lead { margin-top: 24px; color: var(--c-ink-soft); font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); }
.page-toc ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.page-toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px;
  border-radius: 999px; background: var(--c-white); border: 1px solid var(--c-line);
  color: var(--c-ink); font-size: 0.9375rem; font-weight: 600; text-decoration: none;
}
.page-toc a:hover { border-color: var(--c-sage); }

/* ---------- Tables ---------- */
.table-wrap {
  position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius); border: 1px solid var(--c-line); background: var(--c-white);
  overscroll-behavior-x: contain;
}
.price-table + .note, .table-wrap + .note { margin-top: 20px; }
#plans .narrow { margin-top: clamp(48px, 6vw, 72px); }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.data-table caption { padding: 20px 24px 0; text-align: left; font-weight: 700; font-size: 1rem; caption-side: top; }
.data-table th, .data-table td { padding: 18px 20px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.data-table tbody:last-of-type tr:last-child > *, .price-table tbody tr:last-child > * { border-bottom: 0; }
.data-table thead th { font-size: 0.9375rem; color: var(--c-ink-soft); font-weight: 700; white-space: nowrap; }
.data-table .num { text-align: right; font-feature-settings: "tnum"; font-weight: 700; white-space: nowrap; }
.th-note { display: block; font-weight: 500; font-size: 0.8125rem; }
.price-table tbody th { white-space: nowrap; }
.price-table tr.is-recommended > * { background: var(--c-mint-soft); }
.tag {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px;
  background: var(--c-sage-strong); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; vertical-align: middle; text-decoration: none;
}
.tag-draft { background: #8a5a2b; }

.compare-table { min-width: 640px; }
.compare-table thead th { text-align: center; }
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.is-recommended { color: var(--c-ink); }
.compare-table thead th.is-recommended::after { content: "おすすめ"; display: block; font-size: 0.6875rem; color: var(--c-sage-strong); letter-spacing: 0.1em; }
.compare-table tbody th { font-weight: 600; }
.compare-table td { text-align: center; width: 20%; }
.compare-table .mark { font-size: 1.375rem; font-weight: 700; line-height: 1; }
.compare-table .mark-full { color: var(--c-sage-strong); }
.compare-table .mark-limited { color: #8a5a00; }
.compare-table .mark-none { color: #9a8c82; }
.compare-table td.text { font-size: 0.9375rem; font-weight: 600; }
.compare-table td:nth-child(3) { background: rgba(255, 232, 204, 0.35); }
.compare-table .group-row th {
  background: var(--c-ivory); color: var(--c-sage-strong); font-size: 0.875rem; letter-spacing: 0.12em; padding-block: 12px;
}
/* 1列目を固定（スマホの横スクロール時） */
.compare-table tbody th[scope="row"], .compare-table thead th:first-child {
  position: sticky; left: 0; z-index: 1; background: var(--c-white);
  box-shadow: 1px 0 0 var(--c-line);
}
.compare-table .group-row th { position: sticky; left: 0; }
.scroll-hint { display: none; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 10px; font-size: 0.875rem; color: var(--c-ink-soft); }
@media (max-width: 719px) {
  .scroll-hint { display: flex; }
  .data-table th, .data-table td { padding: 16px 14px; }
  .compare-table { min-width: 520px; }
  .compare-table td { width: auto; min-width: 104px; }
  .compare-table tbody th[scope="row"], .compare-table thead th:first-child { width: 150px; min-width: 150px; max-width: 150px; white-space: normal; }
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 0.9375rem; color: var(--c-ink-soft); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend-symbol { font-weight: 700; color: var(--c-ink); }
.note { font-size: 0.9375rem; color: var(--c-ink-soft); line-height: 1.85; }
.table-wrap + .legend + .note { margin-top: 16px; }

/* ---------- Check list (terms) ---------- */
.check-list { display: grid; gap: 4px; background: var(--c-ivory); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.check-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #f0d9bf; }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { flex: none; margin-top: 5px; color: var(--c-sage-strong); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; }
.faq-item { background: var(--c-white); border-radius: 20px; box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px clamp(20px, 3vw, 32px); cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.7; border-radius: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q, .faq-a {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; font-weight: 700; font-size: 1rem; line-height: 1;
}
.faq-q { background: var(--c-sage-strong); color: #fff; }
.faq-a { background: var(--c-mint); color: var(--c-ink); }
.faq-question { flex: 1; padding-top: 3px; }
.faq-toggle { flex: none; margin-top: 6px; color: var(--c-sage-strong); transition: transform .2s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer { display: flex; gap: 16px; padding: 0 clamp(20px, 3vw, 32px) 28px; }
.faq-answer p { padding-top: 3px; color: var(--c-ink-soft); }

.inline-cta { margin-top: clamp(56px, 7vw, 80px); text-align: center; }
.inline-cta-text { margin-bottom: 28px; font-weight: 700; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); }
@media (max-width: 599px) { .inline-cta .btn { width: 100%; } }

/* ---------- Related links ---------- */
.related-links { display: grid; gap: 12px; max-width: 720px; margin-inline: auto; }
.related-links-center { margin-top: 40px; }
.related-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 24px; border-radius: 16px;
  background: var(--c-white); border: 1px solid var(--c-line);
  color: var(--c-ink); font-weight: 700; text-decoration: none;
}
.related-link .icon { flex: none; color: var(--c-sage-strong); transition: transform .2s; }
.related-link:hover { border-color: var(--c-sage); color: var(--c-ink); }
.related-link:hover .icon { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-card {
  max-width: 760px; margin-inline: auto; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius); background: var(--c-ivory); text-align: center;
}
.contact-card .icon-circle { margin: 0 auto 20px; }
.contact-card > p { color: var(--c-ink-soft); }
.field-list { display: grid; gap: 0; margin: 28px 0 40px; text-align: left; background: var(--c-white); border-radius: 16px; padding: 8px 24px; }
.field-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 1rem; }
.field-list li:last-child { border-bottom: 0; }
.req, .opt { flex: none; padding: 2px 10px; border-radius: 6px; font-size: 0.8125rem; font-weight: 700; }
.req { background: var(--c-sage-strong); color: #fff; }
.opt { background: var(--c-mint); color: var(--c-ink); }
.form-cta .btn { width: 100%; max-width: 420px; }
.form-cta .note { margin-top: 14px; }
.form-embed { margin-top: 32px; text-align: left; }
.form-embed summary { cursor: pointer; font-weight: 700; color: var(--c-sage-strong); text-align: center; padding: 8px; }
.form-embed-frame { margin-top: 20px; border-radius: 16px; overflow: hidden; background: #fff; }
.form-embed iframe { display: block; width: 100%; height: 1400px; border: 0; }
.privacy-note { margin-top: 36px; font-size: 0.9375rem; color: var(--c-ink-soft); }

/* ---------- Column ---------- */
.category-nav ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.category-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 18px; border-radius: 999px; background: var(--c-white); border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-size: 0.9375rem; font-weight: 600; }
.card-post { padding: 0; }
.card-post a { display: block; height: 100%; padding: 32px; color: var(--c-ink); text-decoration: none; border-radius: var(--radius); }
.card-post a:hover .card-title { text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; font-size: 0.875rem; color: var(--c-ink-soft); }
.post-meta .tag { margin-left: 0; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { margin-top: 2.4em; padding-bottom: 12px; border-bottom: 2px solid var(--c-mint); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.prose h3 { margin-top: 2em; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-white); border-top: 1px solid var(--c-line); padding-top: 64px; }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.footer-logo { display: inline-block; }
.footer-logo .logo { display: block; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 48px; padding-block: 24px 32px; border-top: 1px solid var(--c-line); }
.operated { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.875rem; letter-spacing: 0.12em; color: var(--c-ink-soft); }
.operated-legal { letter-spacing: 0.06em; }
.footer-lead { margin-top: 8px; font-size: 0.9375rem; color: var(--c-ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 8px 0; color: var(--c-ink); font-size: 0.9375rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { color: var(--c-ink-soft); }

/* ---------- Consent banner ---------- */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: 60; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-inner {
  max-width: 760px; width: 100%; padding: 20px 24px; border-radius: 20px;
  background: #fff; box-shadow: 0 12px 40px rgba(46, 36, 31, 0.18); border: 1px solid var(--c-line);
  display: grid; gap: 16px; font-size: 0.9375rem; line-height: 1.8;
}
@media (min-width: 720px) { .consent-inner { grid-template-columns: 1fr auto; align-items: center; } }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media (max-width: 599px) {
  .contact-card { padding: 36px 16px; }
  .field-list { padding: 4px 16px; }
  .btn-lg { padding: 16px 24px; }
  .form-cta .btn { gap: 8px; }
}

/* ---------- Privacy (contact) ---------- */
.section-privacy { padding-block: 0 var(--section-y); background: var(--c-white); }
.privacy-box { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--c-line); }
.privacy-box .card-title { margin-bottom: 16px; }
.privacy-box p { color: var(--c-ink-soft); font-size: 1rem; }
.privacy-box p + p { margin-top: 12px; }
.section:not(.section-white) .check-list { background: var(--c-white); }

/* スマホ・タブレットでは写真を先に表示し、ファーストビューに人物写真が入るようにする */
@media (max-width: 959px) {
  .hero { padding-top: 24px; }
  .hero-inner { gap: 36px; }
  .hero-media { order: -1; }
  .hero-media::before { inset: auto -10px -10px auto; }
}

/* ---------- Privacy policy ---------- */
.policy h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.policy h3 { font-size: 1.125rem; }
.policy p, .policy li { font-size: 1rem; }
.policy-dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--c-line); }
.policy-dl > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.policy-dl dt { font-weight: 700; }
.policy-dl dd { margin: 0; }
.policy-date { margin-top: 3em; text-align: right; color: var(--c-ink-soft); }
.todo { background: #fff1c2; color: #7a4a00; font-weight: 700; padding: 0 4px; border-radius: 4px; }
