/* =========================================================
   petweb シニアペットケアサイト 共通スタイルシート
   全ページ共通で読み込みます。編集する場合はこのファイルだけ
   直せば、全ページに反映されます。
   ========================================================= */

:root {
  --color-bg: #ece8dc;
  --color-surface: #f8f5ed;
  --color-text: #2c2d25;
  --color-text-muted: #66634f;
  --color-accent: #3f5b4b;
  --color-accent-contrast: #f7f5ec;
  --color-highlight: #a8792a;
  --color-border: #dcd5bf;

  --font-heading: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Noto Sans JP", system-ui, sans-serif;

  --max-width: 880px;
  --radius: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(70,58,30,.05), 0 3px 10px rgba(70,58,30,.06);
  --shadow-md: 0 6px 26px rgba(70,58,30,.11);
  --shadow-lift: 0 10px 30px rgba(70,58,30,.16);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #191b15;
    --color-surface: #24261e;
    --color-text: #ece8d9;
    --color-text-muted: #b0ac99;
    --color-accent: #8fae9b;
    --color-accent-contrast: #14160f;
    --color-highlight: #dcac5c;
    --color-border: #3a3b31;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.25), 0 3px 10px rgba(0,0,0,.28);
    --shadow-md: 0 6px 26px rgba(0,0,0,.36);
    --shadow-lift: 0 10px 30px rgba(0,0,0,.44);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-highlight);
  outline-offset: 2px;
  border-radius: 4px;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 0.7em;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 1.2em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* トップページなど、ゆったり見せたいページ用の広い枠 */
.container-wide {
  max-width: 1000px;
}

/* ---------------- ヘッダー ---------------- */

.site-header {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1000px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.03em;
}

.site-logo a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.site-nav a {
  color: var(--color-text);
  font-size: 0.95rem;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-highlight);
  text-decoration: none;
}

/* ---------------- ヒーロー(トップページ用) ---------------- */

.hero {
  padding: 72px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hero .eyebrow {
  color: var(--color-highlight);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  font-weight: 600;
}

.hero h1 {
  font-size: 2.3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lead {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- ボタン ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  text-decoration: none;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn .ico {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-accent-contrast);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-highlight {
  background-color: var(--color-highlight);
  color: #2a2b24;
}

/* ---------------- セクション共通 ---------------- */

section {
  padding: 56px 0;
}

section + section {
  border-top: 1px solid var(--color-border);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title .eyebrow {
  display: block;
  color: var(--color-highlight);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ---------------- カード ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}

.card h3 {
  margin-bottom: 0.5em;
}

.card .card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

/* ---------------- 記事カード / 一覧 ---------------- */

.article-list {
  display: grid;
  gap: 22px;
}

.article-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: block;
  color: var(--color-text);
}

.article-card:hover {
  text-decoration: none;
  border-color: var(--color-accent);
}

.article-card .category-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--color-highlight);
  border: 1px solid var(--color-highlight);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.article-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.article-card p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ---------------- 記事詳細 ---------------- */

.article-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--color-border);
}

.article-header .category-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--color-highlight);
  border: 1px solid var(--color-highlight);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.article-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.article-body {
  padding: 48px 0;
  max-width: 720px;
  margin: 0 auto;
}

.article-body h2 {
  margin-top: 1.6em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-footnote {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-highlight);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.article-cta {
  margin-top: 36px;
  padding: 28px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
}

/* ---------------- 注意書き・警告ボックス ---------------- */

.notice-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 24px;
}

.notice-box p:last-child {
  margin-bottom: 0;
}

.notice-box.highlight {
  border-left-color: var(--color-highlight);
}

/* ---------------- 価格テーブル ---------------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table .price {
  color: var(--color-highlight);
  font-weight: 700;
  font-size: 1.05rem;
}

/* ---------------- ステップ(手順) ---------------- */

.step-list {
  counter-reset: step;
  display: grid;
  gap: 20px;
  margin: 24px 0;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.step-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.step-item h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.step-item p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------------- フォーム ---------------- */

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-required {
  color: var(--color-highlight);
  font-size: 0.78rem;
  margin-left: 6px;
  font-weight: 600;
}

.form-hint {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: -14px;
  margin-bottom: 20px;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px;
}

.consent-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 0.9rem;
}

.consent-box label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}

.radio-group {
  display: grid;
  gap: 14px;
}

.radio-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  cursor: pointer;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.radio-option input[type="radio"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: auto;
}

.radio-option-desc {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ---------------- FAQ ---------------- */

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 6px;
  color: var(--color-accent);
  font-size: 1.05rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.faq-item ul {
  margin: 8px 0 0;
  padding-left: 1.3em;
  color: var(--color-text-muted);
}

/* ---------------- プロフィール ---------------- */

.profile-hero {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--color-border);
}

.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  flex-shrink: 0;
  padding: 10px;
}

.profile-hero-text h1 {
  margin-bottom: 8px;
}

.profile-hero-text .role {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.timeline {
  border-left: 2px solid var(--color-border);
  padding-left: 24px;
  display: grid;
  gap: 22px;
}

.timeline-item .year {
  color: var(--color-highlight);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

/* ---------------- みんなの声(Q&A) ---------------- */

.voice-list {
  display: grid;
  gap: 22px;
}

.voice-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.voice-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.voice-row + .voice-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.voice-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.voice-icon.q {
  background-color: var(--color-border);
  color: var(--color-text);
}

.voice-icon.a {
  background-color: var(--color-accent);
  color: var(--color-accent-contrast);
}

.voice-row .voice-role {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.voice-row p {
  margin: 0;
}

.voice-row .voice-answer-text {
  color: var(--color-text-muted);
}

.voice-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.voice-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 10px 0 0;
}

.voice-pending {
  color: var(--color-text-muted);
  font-style: italic;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 8px;
}

/* ---------------- カテゴリタグ（共通） ---------------- */

.category-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--color-highlight);
  border: 1px solid var(--color-highlight);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

/* ---------------- マイページ：ボタン群（見出し付き） ---------------- */

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0 8px;
  text-align: left;
}

.action-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}

.action-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.action-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

/* ---------------- 個別相談：無料告知・フォローアップ注記 ---------------- */

.free-notice {
  background-color: var(--color-surface);
  border: 1px dashed var(--color-highlight);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.followup-note {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin: 0 0 14px;
}

/* ---------------- 個別相談：マイページ一覧カード ---------------- */

.consult-list {
  display: grid;
  gap: 18px;
  margin: 24px 0;
  text-align: left;
}

.consult-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.consult-card-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.consult-card-status {
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 6px;
}

.status-declined { color: var(--color-text-muted); }
.status-answered { color: var(--color-accent); }
.status-submitted,
.status-accepted { color: var(--color-highlight); }

/* ---------------- 個別相談：スレッド表示 ---------------- */

.thread-status-banner {
  text-align: center;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.thread-list {
  display: grid;
  gap: 18px;
  margin: 0 0 32px;
}

.thread-message {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.thread-message.role-customer {
  border-left: 4px solid var(--color-accent);
}

.thread-message.role-vet {
  border-left: 4px solid var(--color-highlight);
}

.thread-message-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.thread-message-text {
  margin: 0;
  white-space: pre-line;
}

/* ---------------- パンくず ---------------- */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 20px 0 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

/* ---------------- フッター ---------------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 36px 0;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* ---------------- 汎用ページ見出し ---------------- */

.page-header {
  padding: 56px 0 8px;
  text-align: center;
}

.page-header p.lead {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------------- レスポンシブ ---------------- */

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.7rem; }
  section { padding: 40px 0; }
  .profile-hero { text-align: center; justify-content: center; }
  .site-footer .container { flex-direction: column; text-align: center; }
}

/* =========================================================
   UIリフレッシュ（2026-07 Stage1）
   既存の配色・明朝トーンはそのまま、
   角と影をやわらかく／トップの新レイアウトを追加
   ========================================================= */

/* カードにやわらかい影と浮き上がり */
.card,
.article-card,
.voice-card,
.action-card,
.consult-card,
.step-item,
.thread-message {
  box-shadow: var(--shadow-sm);
}
.card,
.article-card {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card:hover,
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---- トップ：ヘッダー（新レイアウト＋ハンバーガー） ---- */
.header-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.brand a {
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand a:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: 0 0 auto; }

.header-right { display: flex; align-items: center; gap: 18px; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a {
  color: var(--color-text);
  font-size: 0.93rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-accent);
  border-bottom-color: var(--color-highlight);
  text-decoration: none;
}
.nav-cta { display: inline-flex; white-space: nowrap; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, background 0.2s;
}
.menu-btn span { position: relative; }
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
body.nav-open .menu-btn span { background: transparent; }
body.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(82vw, 320px);
  background: var(--color-surface);
  box-shadow: var(--shadow-lift);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  z-index: 55;
  padding: 84px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--color-border);
}
body.nav-open .drawer { transform: translateX(0); }
.drawer a {
  color: var(--color-text);
  font-size: 1.05rem;
  padding: 13px 8px;
  border-bottom: 1px solid var(--color-border);
}
.drawer a.strong { color: var(--color-accent); font-weight: 700; }
.scrim {
  position: fixed; inset: 0;
  background: rgba(20,18,10,.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.24s;
  z-index: 50;
}
body.nav-open .scrim { opacity: 1; pointer-events: auto; }

/* ---- トップ：ヒーロー（2カラム＋イラスト） ---- */
.hero2 {
  padding: 44px 0 8px;
  border-bottom: 1px solid var(--color-border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.hero-text { text-align: left; }
.hero2 .eyebrow {
  display: inline-block;
  color: var(--color-highlight);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.hero2 h1 { font-size: 2.4rem; line-height: 1.42; margin-bottom: 18px; }
.hero2 .lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 30em;
  margin-bottom: 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-illust { width: 100%; height: auto; filter: drop-shadow(var(--shadow-md)); }
.reassure {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reassure .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex: 0 0 auto;
}

/* ---- トップ：悩みから入る ---- */
.worry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.worry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--color-text);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.worry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.worry-card .ico { width: 34px; height: 34px; color: var(--color-accent); }
.worry-card h3 { font-size: 1.05rem; }
.worry-card p { color: var(--color-text-muted); font-size: 0.88rem; margin: 0; }
.worry-card .go { margin-top: auto; color: var(--color-highlight); font-size: 0.84rem; font-weight: 700; }

/* ---- トップ：記事3カラム ---- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- トップ：信頼の一文 ---- */
.trust {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.trust .ico { width: 20px; height: 20px; color: var(--color-accent); flex: 0 0 auto; }

/* ---- トップ：レスポンシブ ---- */
@media (max-width: 860px) {
  .worry-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illust-wrap { order: -1; max-width: 360px; margin: 0 auto; }
  .hero2 h1 { font-size: 2rem; }
}
@media (max-width: 960px) {
  .main-nav, .nav-cta { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 480px) {
  .worry-grid { grid-template-columns: 1fr; }
  .hero2 h1 { font-size: 1.75rem; }
}

/* ---- ヒーローのイラスト配色（SVG属性ではvarが効かないためCSSで指定） ---- */
.hero-illust .il-bg { fill: var(--color-surface); }
.hero-illust .il-moon-0 { stop-color: var(--color-surface); }
.hero-illust .il-moon-1 { stop-color: var(--color-bg); }
.hero-illust .il-cresc,
.hero-illust .il-star,
.hero-illust .il-zzz { fill: var(--color-highlight); }
.hero-illust .il-cushion { fill: var(--color-accent); }
.hero-illust .il-dog { fill: var(--color-accent); }
.hero-illust .il-dog-stroke { stroke: var(--color-accent); }
.hero-illust .il-face { fill: var(--color-surface); }
.hero-illust .il-face-stroke { stroke: var(--color-surface); }

/* =========================================================
   Stage3（温かみの仕上げ）
   ========================================================= */

/* 記事カードのカテゴリアイコン */
.article-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.article-card-top .category-tag { margin-bottom: 0; }
.cat-ico {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  flex: 0 0 auto;
  display: inline-flex;
}
.cat-ico svg { width: 100%; height: 100%; }

/* ページ見出しの小さなアイコン（個別相談・AIチャット等） */
.ph-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.ph-badge svg { width: 28px; height: 28px; }

/* ============================================================
   記事のシェアボタン＋関連記事（回遊・拡散の構造）
   ============================================================ */
.article-share {
  margin: 36px 0 8px;
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.article-share .share-label {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--color-text);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-line { background: #06C755; }
.share-x { background: #000; }

.article-related {
  margin: 28px 0 8px;
  padding: 22px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.article-related h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 14px;
  color: var(--color-text);
}
.article-related ul { list-style: none; margin: 0; padding: 0; }
.article-related li { border-top: 1px solid var(--color-border); }
.article-related li:first-child { border-top: none; }
.article-related a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  color: var(--color-accent);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
}
.article-related a:hover { color: var(--color-highlight); }
.article-related a::before {
  content: "";
  flex: 0 0 7px;
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
