/* ============================================================
   株式会社スピカ ブランドサイト — 共通デザインシステム
   コンセプト: 「導きの星」スピカ（おとめ座の一等星）
   ─ ご本人とご家族の人生の節目を、静かに照らす星。
   配色: 夜空のネイビー × 星明かりのゴールド × 温かなクリーム
   思想: 品格・信頼・誠実 ＝ 明朝見出し／シニア配慮の大きめ可読性／JSフリー
   ============================================================ */

:root {
  /* ── インク（文字・濃色） ── */
  --ink: #1c2a47; /* 本文・見出しの基調（深い藍） */
  --ink-soft: #44516c; /* 副次テキスト */
  --ink-mute: #6c7790; /* 注釈・キャプション */

  /* ── 夜空ネイビー（ヒーロー・フッター） ── */
  --navy: #14233f;
  --navy-2: #1d3157;
  --navy-3: #28406b;

  /* ── 星明かりゴールド（アクセント） ── */
  --gold: #c39a4e;
  --gold-soft: #d8b87a;
  --gold-deep: #a37f33;
  --gold-glow: rgba(199, 154, 78, 0.22);

  /* ── 地色 ── */
  --cream: #fbf7ef; /* ページ基調 */
  --cream-2: #f4ebd9; /* 交互セクション */
  --paper: #ffffff; /* カード */
  --line: #e8ddc6; /* ゴールド寄りの罫線 */
  --line-soft: #f0e8d7;

  /* ── テーマ可変アクセント（LPごとに上書き） ── */
  --accent: var(--gold);
  --accent-deep: var(--gold-deep);
  --accent-soft: var(--gold-soft);
  --accent-glow: var(--gold-glow);

  /* ── かたち ── */
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 11px;
  --shadow: 0 18px 48px -24px rgba(20, 35, 63, 0.4);
  --shadow-soft: 0 10px 30px -18px rgba(20, 35, 63, 0.3);
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* ── 書体 ── */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:
    "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
}

/* 老人ホーム紹介LP: 暮らし・健やかさのセージ系アクセントへ差し替え */
body.theme-shoukai {
  --accent: #5d8c7e;
  --accent-deep: #436b5f;
  --accent-soft: #8db5a8;
  --accent-glow: rgba(93, 140, 126, 0.2);
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
ul {
  list-style: none;
  padding: 0;
}

/* アクセシビリティ: スキップリンク・フォーカス */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.7em 1.2em;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ LAYOUT ============ */
.wrap {
  width: min(var(--maxw), 100% - 2.6rem);
  margin-inline: auto;
}
.wrap-narrow {
  width: min(820px, 100% - 2.6rem);
  margin-inline: auto;
}
section {
  position: relative;
}
.sect {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.sect-cream {
  background: var(--cream-2);
}
.sect-paper {
  background: var(--paper);
}

/* セクション見出し（星のeyebrow付き） */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.9em;
}
.sect-title {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.sect-title .sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin-top: 0.7rem;
}
.sect-lead {
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 46em;
  margin-top: 1rem;
}
.center {
  text-align: center;
}
.center .sect-lead {
  margin-inline: auto;
}

/* ============ HEADER / NAV（JSフリー） ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
  width: min(var(--maxw), 100% - 2.6rem);
  margin-inline: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.logo:hover {
  color: var(--ink);
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-co {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--ink-mute);
  font-weight: 600;
}
.logo-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.logo-name .en {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--accent-deep);
  margin-left: 0.4em;
  font-family: var(--sans);
  font-weight: 600;
}

.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav-link {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.3em 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-current::after {
  width: 100%;
}
.header-cta {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.2s var(--ease);
  text-align: center;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #fff;
  box-shadow: 0 14px 30px -14px var(--gold-glow);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 18px 38px -14px rgba(163, 127, 51, 0.55);
}
body.theme-shoukai .btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}
.btn-line {
  background: #06c755;
  color: #fff;
}
.btn-line:hover {
  color: #fff;
  filter: brightness(1.05);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  font-weight: 600;
}
.btn-outline:hover {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--paper);
}
.btn-tel {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--accent);
  flex-direction: column;
  gap: 0.1em;
  padding: 0.7em 1.6em;
}
.btn-tel:hover {
  color: var(--ink);
}
.btn-tel .num {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.btn-tel .lbl {
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.btn-lg {
  font-size: 1.08rem;
  padding: 1.1em 2.3em;
}
.btn-block {
  width: 100%;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 78% -8%, var(--navy-3) 0%, transparent 60%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 70%, #16294a 100%);
  color: #f3ecde;
  overflow: hidden;
  isolation: isolate;
}
/* 星空 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(
      1.6px 1.6px at 12% 22%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(
      1.4px 1.4px at 28% 70%,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(
      1.2px 1.2px at 52% 30%,
      rgba(255, 255, 255, 0.5),
      transparent
    ),
    radial-gradient(
      1.7px 1.7px at 70% 58%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(
      1.3px 1.3px at 86% 18%,
      rgba(255, 255, 255, 0.55),
      transparent
    ),
    radial-gradient(
      1.2px 1.2px at 92% 76%,
      rgba(255, 255, 255, 0.5),
      transparent
    ),
    radial-gradient(
      1.1px 1.1px at 40% 86%,
      rgba(255, 255, 255, 0.45),
      transparent
    );
  opacity: 0.9;
}
.hero-inner {
  width: min(var(--maxw), 100% - 2.6rem);
  margin-inline: auto;
  padding: clamp(3.6rem, 9vw, 6.5rem) 0 clamp(4rem, 9vw, 6rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy {
  max-width: 38rem;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  border: 1px solid rgba(216, 184, 122, 0.4);
  border-radius: 999px;
  padding: 0.4em 1.1em;
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.05rem, 5.6vw, 3.35rem);
  line-height: 1.5;
  color: #fff;
  letter-spacing: 0.045em;
  margin-bottom: 1.3rem;
  text-wrap: balance;
}
.hero h1 .hl {
  color: var(--gold-soft);
  position: relative;
  white-space: nowrap;
}
.hero .lead {
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  color: #d9d0c0;
  line-height: 2.05;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.hero-note {
  margin-top: 1.3rem;
  font-size: 0.86rem;
  color: #b9b1a2;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

/* ヒーロー右: スピカの星 */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-star {
  width: 78%;
  max-width: 360px;
  filter: drop-shadow(0 0 40px var(--gold-glow));
}

/* ============ SERVICE PILLARS（ハブの2本柱） ============ */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.pillar {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
}
.pillar.is-shoukai::before {
  background: linear-gradient(90deg, #436b5f, #8db5a8);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.pillar-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
}
.pillar h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.pillar .pillar-en {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 1rem;
}
.pillar p {
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  flex: 1;
}
.pillar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--cream-2);
  border-radius: 999px;
  padding: 0.35em 0.9em;
}
.pillar.is-shoukai .tag {
  color: #436b5f;
  background: #eef4f1;
}
.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 0.98rem;
}
.pillar-cta::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.pillar:hover .pillar-cta::after {
  transform: translateX(5px);
}

/* ============ PAIN / 共感ブロック ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.pain-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.pain-card .q {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.pain-card p {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.85;
}
.pain-card p strong {
  color: var(--accent-deep);
  font-weight: 700;
}

/* ============ FEATURE / 選ばれる理由 ============ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2.8rem;
}
.feature {
  text-align: left;
  padding: 0.4rem 0.2rem;
}
.feature-num {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  margin-bottom: 0.9rem;
}
.feature-num::before {
  content: "✦";
  color: var(--accent);
}
.feature h3 {
  font-size: 1.24rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.feature p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ============ SERVICE DETAIL（サービス一覧カード） ============ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}
.svc:hover {
  transform: translateY(-4px);
}
.svc-ico {
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  color: var(--accent-deep);
}
.svc h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.svc ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.svc li {
  position: relative;
  padding-left: 1.5em;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}
.svc li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--accent);
  font-size: 0.85em;
}

/* ============ FLOW（ご相談の流れ） ============ */
.flow {
  counter-reset: step;
  display: grid;
  gap: 1.2rem;
  margin-top: 2.8rem;
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.9rem;
  box-shadow: var(--shadow-soft);
}
.flow-step .step-no {
  counter-increment: step;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1.5px solid var(--accent-soft);
  font-family: var(--serif);
  color: var(--accent-deep);
  line-height: 1;
  flex: none;
}
.flow-step .step-no::before {
  content: "STEP";
  position: absolute;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  transform: translateY(-1.45em);
  color: var(--ink-mute);
  font-family: var(--sans);
  font-weight: 700;
}
.flow-step .step-no span {
  font-size: 1.85rem;
  font-weight: 600;
}
.flow-step h3 {
  font-size: 1.18rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.flow-step p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ============ PRICE / プラン ============ */
.note-box {
  background: var(--cream-2);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 1.7rem;
  margin-top: 2rem;
  color: var(--ink-soft);
}
.note-box strong {
  color: var(--ink);
}

/* ============ FAQ（details/summary・JSフリー） ============ */
.faq {
  margin-top: 2.6rem;
  display: grid;
  gap: 0.9rem;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 3.2rem 1.3rem 3.2rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  font-size: 1.02rem;
  line-height: 1.7;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  font-family: var(--serif);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-deep);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq .ans {
  padding: 0 3.2rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.95;
}

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  background:
    radial-gradient(900px 400px at 80% 0%, var(--navy-3), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #f3ecde;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "✦";
  position: absolute;
  font-size: 22rem;
  color: rgba(216, 184, 122, 0.06);
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  line-height: 1;
}
.cta-inner {
  text-align: center;
  padding: clamp(3.4rem, 8vw, 5.4rem) 0;
}
.cta-inner h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.4rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-inner p {
  color: #d3cabb;
  max-width: 40em;
  margin: 0 auto 2.3rem;
  font-size: 1.04rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.cta-tel .num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.cta-tel .lbl {
  font-size: 0.82rem;
  color: #c0b8a8;
  letter-spacing: 0.06em;
}

/* ============ CONTACT FORM ============ */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 5vw, 3rem);
  box-shadow: var(--shadow);
  margin-top: 2.4rem;
}
.field {
  margin-bottom: 1.5rem;
}
.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
}
.field .req {
  font-size: 0.72rem;
  color: #c0392b;
  margin-left: 0.5em;
  font-weight: 700;
}
.field .opt {
  font-size: 0.72rem;
  color: var(--ink-mute);
  margin-left: 0.5em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  color: #c8c0b2;
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo-name {
  color: #fff;
}
.footer-brand .logo-co {
  color: #9a9386;
}
.footer-brand p {
  margin-top: 1rem;
  color: #a59d8f;
  line-height: 1.9;
  font-size: 0.88rem;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col a {
  color: #c8c0b2;
}
.footer-col a:hover {
  color: #fff;
}
.footer-meta {
  color: #a59d8f;
  line-height: 1.9;
  font-size: 0.86rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.8rem;
  color: #8d8678;
}

/* ============ BREADCRUMB ============ */
.crumb {
  font-size: 0.82rem;
  color: var(--ink-mute);
  padding: 1.1rem 0;
}
.crumb a {
  color: var(--ink-soft);
}
.crumb span {
  margin: 0 0.5em;
  color: var(--line);
}

/* ============ PAGE HEAD（下層共通） ============ */
.page-head {
  background:
    radial-gradient(700px 300px at 85% 0%, var(--accent-glow), transparent 60%),
    var(--cream-2);
  padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2.4rem, 5vw, 3.4rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--ink);
}
.page-head .en {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.page-head p {
  color: var(--ink-soft);
  margin-top: 0.9rem;
  max-width: 44em;
}

/* ============ TABLE（会社概要） ============ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 0.98rem;
}
.info-table th {
  width: 32%;
  background: var(--cream-2);
  color: var(--ink);
  font-weight: 700;
}
.info-table td {
  color: var(--ink-soft);
}
.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* ============ 汎用 ============ */
.lede-rich {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 2.1;
}
.lede-rich strong {
  color: var(--ink);
  font-weight: 700;
}
.mt-s {
  margin-top: 1rem;
}
.mt-l {
  margin-top: 2.4rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    max-width: none;
    order: 2;
  }
  .hero-visual {
    order: 1;
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-actions,
  .hero-note {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  /* PC専用改行はスタック時に無効化 */
  .pc-br {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  /* モバイルナビ（checkbox トグル） */
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    z-index: 120;
  }
  .nav-toggle-label span {
    display: block;
    height: 2px;
    width: 26px;
    background: var(--ink);
    border-radius: 2px;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s var(--ease);
  }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 6rem 2rem 2rem;
    box-shadow: -20px 0 50px -20px rgba(20, 35, 63, 0.4);
    transform: translateX(105%);
    transition: transform 0.34s var(--ease);
    z-index: 110;
    overflow-y: auto;
  }
  .nav-link {
    width: 100%;
    padding: 0.85em 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-link::after {
    display: none;
  }
  .header-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 1.2rem;
    gap: 0.7rem;
  }
  .header-cta .btn {
    width: 100%;
  }
  .nav-mask {
    position: fixed;
    inset: 0;
    background: rgba(20, 35, 63, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease);
    z-index: 105;
  }
  .nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
  }
  .nav-toggle:checked ~ .nav-mask {
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .pillars {
    grid-template-columns: 1fr;
  }
  .flow-step {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.8rem;
  }
  .flow-step .step-no {
    margin: 0 auto;
  }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    border-bottom: none;
    padding-bottom: 0.3rem;
  }
  .faq summary {
    padding-left: 2.8rem;
  }
  .faq summary::before {
    left: 1rem;
  }
  .faq .ans {
    padding-left: 2.8rem;
    padding-right: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
