:root {
  /* 書体: 見出しは明朝、本文はゴシック。トップページと揃える */
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic",
               "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  --font-heading: "Hiragino Mincho ProN", "HiraMinProN-W3", "Yu Mincho", "YuMincho",
                  "Noto Serif JP", "MS PMincho", serif;

  /* 藍×生成り×柿渋 */
  --ink: #1c2b3a;
  --muted: #56646f;
  --bg: #faf7f2;
  --panel: #fffdfa;
  --line: #e3dacc;
  --accent: #e0a888;
  --accent-dark: #1f3a5f;
  --accent-cool: #9fb3cb;
  --rose: #b35a30;
  --danger: #d76573;
  --soft: #f3ece1;
  --night: #15273c;
  --shadow: 0 14px 36px rgba(74, 52, 30, .10);
}

* { box-sizing: border-box; }
html { color: var(--ink); background: var(--bg); font-family: var(--font-body); font-size: 17px; line-height: 1.82; }
body { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.mobile-only { display: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 10px; background: #fff; padding: 10px; z-index: 20; }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(140deg, var(--night), #2d5280); font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--font-heading); }
.brand small { color: var(--muted); font-size: 13px; line-height: 1.55; }
.nav { display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav .is-active { color: var(--accent-dark); }
.nav-cta { color: #fff !important; background: var(--accent-dark); padding: 10px 14px; border-radius: 8px; }
.nav-toggle { display: none; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { color: var(--ink); background: radial-gradient(circle at 16% 18%, rgba(242,182,202,.52), transparent 34%), radial-gradient(circle at 86% 16%, rgba(140,184,201,.28), transparent 32%), linear-gradient(135deg, #fffdfa, #faf7f2); padding: clamp(74px, 10vw, 126px) 0; }
.hero-home { padding: clamp(42px, 6vw, 78px) 0; }
.hero.compact { padding: clamp(58px, 8vw, 92px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-heading); text-wrap: balance; line-break: strict; }
h1 { max-width: 11.5em; font-size: 66px; line-height: 1.18; letter-spacing: 0; margin-bottom: 22px; }
.hero-home h1 { font-size: 60px; }
h1 span { display: block; color: var(--rose); }
h2 { font-size: 39px; line-height: 1.4; margin-bottom: 18px; }
h3 { font-size: 21px; line-height: 1.45; }
p { margin-bottom: 1.05em; }
.lead { max-width: 45em; color: var(--muted); font-size: 19px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 8px; text-decoration: none; font-weight: 900; font-size: 16px; }
.btn.primary { background: var(--accent-dark); color: #fff; }
.btn.ghost { border: 1px solid rgba(200,95,140,.34); color: var(--accent-dark); background: rgba(255,255,255,.58); }
.hero-panel, .guard-box { border: 1px solid rgba(240,220,230,.95); border-radius: 8px; padding: 22px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); }
.hero-panel ul, .guard-box ul { margin-bottom: 0; padding-left: 1.2em; }
.hero-side { display: grid; gap: 16px; }
.hero-photo-card, .inline-photo, .wide-photo, .photo-row figure { margin: 0; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); background: rgba(255,255,255,.72); }
.hero-photo-card { border: 1px solid var(--line); }
.hero-photo-card img { width: 100%; height: clamp(210px, 20vw, 260px); object-fit: cover; }
.hero-photo-card figcaption, .wide-photo figcaption, .photo-row figcaption { padding: 11px 13px; color: var(--accent-dark); font-size: 14px; font-weight: 800; line-height: 1.65; }
.hero-side .hero-panel { padding: 16px; font-size: 15px; line-height: 1.7; }
.hero-side .hero-panel strong { display: block; margin-bottom: 8px; }
.inline-photo { margin-top: 24px; border: 1px solid var(--line); }
.inline-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.photo-row figure { border: 1px solid var(--line); background: #fff; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-row figcaption { color: var(--accent-dark); background: #fff; }
.dark-photo { border-color: var(--line); }
.wide-photo { margin-top: 26px; border: 1px solid var(--line); background: #fff; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
.trust-grid div { padding: 22px 24px; border-left: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 1px solid var(--line); }
.trust-grid strong { display: block; color: var(--accent-dark); font-family: var(--font-heading); font-size: 28px; line-height: 1.3; text-wrap: balance; }
.trust-grid span { display: block; margin-top: 5px; color: var(--muted); font-weight: 800; font-size: 14px; line-height: 1.55; }
.summary-ribbon { background: #fff; border-bottom: 1px solid var(--line); }
.summary-flow { display: flex; align-items: stretch; justify-content: space-between; gap: 1px; }
.summary-flow p { flex: 1 1 0; margin: 0; padding: 22px 24px; border-left: 1px solid var(--line); }
.summary-flow p:last-child { border-right: 1px solid var(--line); }
.summary-flow strong { display: block; color: var(--accent-dark); font-family: var(--font-heading); font-size: 27px; line-height: 1.35; text-wrap: balance; }
.summary-flow span { display: block; margin-top: 5px; color: var(--muted); font-weight: 800; font-size: 14px; line-height: 1.55; }

.section { padding: clamp(58px, 8vw, 104px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: linear-gradient(135deg, #f0fff9, #fdf9f5); color: var(--ink); }
.section.warm-band { background: linear-gradient(180deg, #fffdfa, #ffffff); }
.story-section { background: linear-gradient(180deg, #ffffff, #fffdfa); }
.detail-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.threat-section { background: linear-gradient(135deg, #f1fff9, #fdf9f5); }
.calm-section { background: #fff; }
.boundary-section { background: linear-gradient(180deg, #fffdfa, #fff); }
.support-section { background: var(--soft); }
.migration-section { background: linear-gradient(135deg, #fffdfa, #f5fffb); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.split p { color: var(--muted); }
.split .eyebrow { color: var(--accent-dark); }
.dark .split p { color: var(--muted); }
.section-intro { max-width: 58em; color: var(--muted); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); }
.story-layout, .support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
.story-layout.reverse { grid-template-columns: 420px minmax(0, 1fr); }
.story-copy p, .calm-copy p, .support-layout p { color: var(--muted); }
.story-photo { margin: 0; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-photo figcaption { padding: 13px 15px; color: var(--accent-dark); font-size: 14px; font-weight: 800; line-height: 1.65; }
.story-points { margin-top: 26px; border-top: 1px solid var(--line); }
.story-points p { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.story-points strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 20px; line-height: 1.45; }
.story-points span { color: var(--muted); }
.migration-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 48px; align-items: center; }
.migration-copy p { color: var(--muted); }
.migration-copy h2 { max-width: 12em; }
.migration-note { display: grid; gap: 8px; margin: 28px 0 0; padding: 24px; border: 1px solid var(--line); border-left: 6px solid var(--accent-dark); border-radius: 8px; background: rgba(255,255,255,.84); box-shadow: var(--shadow); }
.migration-note strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 23px; line-height: 1.55; }
.migration-note span { color: var(--muted); font-weight: 800; line-height: 1.75; }
.migration-panel { display: grid; gap: 16px; }
.migration-choice-list { display: grid; gap: 12px; }
.migration-choice-list article { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(190, 99, 139, 0.1); }
.migration-choice-list span { color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.migration-choice-list h3 { margin: 4px 0 6px; font-size: 20px; }
.migration-choice-list p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.narrative-band { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 34px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); }
.narrative-band figure { margin: 0; overflow: hidden; border-radius: 8px; }
.narrative-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.narrative-copy p { color: var(--muted); }
.narrative-copy strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 24px; line-height: 1.45; }
.price-steps { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.6); }
.price-steps p { display: grid; grid-template-columns: 130px 230px minmax(0, 1fr); gap: 18px; align-items: baseline; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.price-steps p:first-child { border-top: 0; }
.price-steps span { color: var(--muted); font-weight: 900; }
.price-steps strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 28px; line-height: 1.3; }
.price-steps em { color: var(--muted); font-style: normal; }
.threat-list { margin-top: 24px; border-left: 5px solid var(--accent); padding-left: 18px; }
.threat-list p { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(184,79,124,.18); color: var(--ink); font-weight: 800; }
.threat-list p:last-child { border-bottom: 0; }
.calm-layout { max-width: 940px; margin: 0 auto; }
.calm-copy { max-width: 760px; margin-bottom: 30px; }
.calm-photo img { aspect-ratio: 16 / 7; }
.boundary-rows { border-top: 1px solid var(--line); }
.boundary-rows article { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.boundary-rows article > span { color: var(--accent-dark); font-family: var(--font-heading); font-size: 24px; font-weight: 900; line-height: 1.4; }
.boundary-rows h3 { margin-bottom: 10px; }
.boundary-rows p { margin-bottom: 0; color: var(--muted); }
.diagnosis-hero { padding-block: clamp(50px, 7vw, 88px); }
.diagnosis-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 38px; align-items: center; }
.diagnosis-hero h1 { max-width: 10.5em; }
.diagnosis-safe-note { margin-top: 18px; max-width: 42em; color: var(--accent-dark); font-weight: 900; line-height: 1.75; }
.diagnosis-strip .trust-grid strong { font-size: 36px; }
.diagnosis-result-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: start; }
.diagnosis-promise-list { border-top: 1px solid var(--line); }
.diagnosis-promise-list article { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.diagnosis-promise-list article > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #f6e9e0; color: var(--accent-dark); font-weight: 900; }
.diagnosis-promise-list h3 { margin-bottom: 8px; }
.diagnosis-promise-list p { margin-bottom: 0; color: var(--muted); }
.diagnosis-form-section { scroll-margin-top: 88px; }
.diagnosis-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.diagnosis-layout > div > p { color: var(--muted); }
.diagnosis-assurance { margin-top: 24px; border-top: 1px solid var(--line); }
.diagnosis-assurance p { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.diagnosis-assurance strong { color: var(--accent-dark); font-family: var(--font-heading); line-height: 1.45; }
.diagnosis-assurance span { color: var(--muted); }
.emergency-guidance { margin-top: 24px; padding: 20px; border: 1px solid #cfc2ae; border-left: 6px solid var(--accent); border-radius: 8px; background: #fffdfa; }
.emergency-guidance .eyebrow { margin-bottom: 6px; }
.emergency-guidance h3 { margin-bottom: 9px; font-size: 22px; line-height: 1.45; }
.emergency-guidance p:last-child { margin-bottom: 0; color: var(--muted); }
.form-note { padding: 14px 16px; border-left: 5px solid var(--accent); background: rgba(255,255,255,.72); border-radius: 8px; font-weight: 800; }
.diagnosis-form { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.diagnosis-form label, .diagnosis-form legend { color: var(--ink); font-weight: 900; }
.diagnosis-form input[type="text"], .diagnosis-form input[type="email"], .diagnosis-form input[type="url"], .diagnosis-form select, .diagnosis-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.diagnosis-form textarea { resize: vertical; min-height: 150px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.diagnosis-form fieldset { margin: 18px 0; padding: 0; border: 0; }
.check-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.check-options label { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 800; line-height: 1.5; }
.check-options input { margin-top: 4px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.form-status { min-height: 1.6em; margin: 12px 0 0; color: var(--accent-dark); font-weight: 900; }
.diagnosis-next-section { background: linear-gradient(180deg, #fff, #fffdfa); }
.hq-flow-section { background: linear-gradient(180deg, #fff, #fffdfa); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.offer-card, .cards-three article, .contact-grid article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: var(--shadow); }
.offer-card h3 { margin-bottom: 8px; }
.offer-card p { color: var(--muted); }
.offer-price { color: var(--accent-dark) !important; font-weight: 900; font-size: 20px; }
.offer-card span, .cards-three span { color: var(--accent-dark); font-weight: 900; font-size: 14px; line-height: 1.55; }
.offer-link { display: inline-flex; margin-top: 16px; color: var(--accent-dark); font-weight: 900; text-decoration: none; }
.offer-link::after { content: "→"; margin-left: 6px; }
.cards-three, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guard-box { background: #fff; border-color: var(--line); color: var(--ink); }
.price-note, .contact-card { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 8px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.price-note { margin-bottom: 26px; }
.price-note strong { display: block; margin-bottom: 8px; color: var(--accent-dark); font-family: var(--font-heading); font-size: 22px; line-height: 1.45; }
.price-note p, .contact-card p { margin-bottom: 0; color: var(--muted); }
#charioot-contact { scroll-margin-top: 96px; }
.contact-chat-section { background: linear-gradient(135deg, #fffdfa, #f5fffb); border-top: 1px solid var(--line); }
.contact-chat-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-chat-copy > p { color: var(--muted); font-size: 17px; line-height: 1.85; }
.contact-chat-note { margin-top: 24px; padding: 18px 20px; border: 1px solid rgba(200,95,140,.22); border-radius: 8px; background: rgba(255,255,255,.72); }
.contact-chat-note strong { display: block; margin-bottom: 7px; color: var(--accent-dark); font-family: var(--font-heading); font-size: 18px; }
.contact-chat-note p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.contact-chat-frame { min-width: 0; display: grid; place-items: center; padding: clamp(18px, 3vw, 30px); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.contact-chat-frame .charioot-intake { width: min(100%, 520px); }
.contact-chat-frame .charioot-intake__box { width: 100%; box-sizing: border-box; box-shadow: 0 18px 44px rgba(112,72,95,.12); }
.contact-chat-noscript { margin: 0; color: var(--muted); line-height: 1.8; }
.contact-chat-noscript a { color: var(--accent-dark); font-weight: 900; }

.column-index-section { background: linear-gradient(180deg, #fff, #fffdfa); }
.column-list { display: grid; gap: 18px; }
.column-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.column-card figure { margin: 0; overflow: hidden; border-radius: 8px; }
.column-card img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.column-card span { display: inline-flex; margin-bottom: 8px; color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.column-card h3 { margin-bottom: 10px; font-size: 26px; }
.column-card h3 a { text-decoration: none; }
.column-card p { color: var(--muted); }
.column-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.column-list-head .section-heading { margin-bottom: 0; }
.column-count-box { flex: 0 0 auto; min-width: 172px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); text-align: right; }
.column-count-box strong { display: block; color: var(--accent-dark); font-family: var(--font-heading); font-size: 32px; line-height: 1.15; }
.column-count-box span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 900; line-height: 1.5; }
.column-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.column-card-meta small { color: var(--muted); font-weight: 800; }
.column-card-meta .offer-link { margin-top: 0; }
.column-empty { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.column-empty p { color: var(--muted); }
.column-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.column-pagination a, .column-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--accent-dark); font-weight: 900; text-decoration: none; box-shadow: 0 10px 24px rgba(190, 99, 139, 0.08); }
.column-pagination .is-current { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.column-pagination .is-disabled { color: #a89a8a; background: #fffdfa; box-shadow: none; }

.article-hero { padding: clamp(54px, 8vw, 94px) 0; background: radial-gradient(circle at 18% 16%, rgba(255,185,208,.54), transparent 34%), radial-gradient(circle at 84% 14%, rgba(136,205,185,.24), transparent 30%), linear-gradient(135deg, #fffdfa, #f8fffc); }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; align-items: center; }
.article-hero h1 { max-width: 12.5em; font-size: clamp(40px, 5.2vw, 58px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; color: var(--accent-dark); font-weight: 900; font-size: 14px; }
.article-meta span { padding: 6px 10px; border: 1px solid rgba(185,79,124,.18); border-radius: 999px; background: rgba(255,255,255,.58); }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 56px; align-items: start; padding-block: clamp(48px, 7vw, 88px); }
.article-sidebar { position: sticky; top: 96px; }
.article-box { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.article-box strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 20px; line-height: 1.45; }
.article-box a { color: var(--muted); font-weight: 900; text-decoration: none; line-height: 1.55; }
.article-box a:hover { color: var(--accent-dark); }
.article-body { min-width: 0; padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.article-body > section { margin-bottom: clamp(40px, 6vw, 64px); }
.article-body > .wide-photo { margin: clamp(34px, 5vw, 52px) 0 clamp(52px, 7vw, 78px); }
.article-body h2 { font-size: 34px; }
.article-body p { color: var(--muted); }
.article-lead-copy { padding: 22px 24px; border-left: 6px solid var(--accent); border-radius: 8px; background: #fff; color: var(--ink) !important; font-weight: 800; }
.article-steps { display: grid; gap: 16px; margin-top: 22px; }
.article-steps section { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.article-steps span { color: var(--accent-dark); font-family: var(--font-heading); font-size: 22px; font-weight: 900; }
.article-steps h3 { margin: 4px 0 8px; }
.article-steps p { margin-bottom: 0; }
.article-callout, .article-cta { padding: clamp(24px, 4vw, 34px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #f6e9e0, #f4fff9); box-shadow: var(--shadow); }
.article-callout h2, .article-cta h2 { margin-bottom: 10px; }
.article-cta .btn { margin-right: 10px; margin-top: 8px; }
.article-list { margin: 20px 0 0; padding-left: 1.2em; color: var(--muted); font-weight: 800; }
.article-list li { margin-bottom: 10px; }
.article-points { margin-bottom: 22px; }
.article-boundary { margin-top: 22px; }
.article-faq { display: grid; gap: 10px; }
.article-faq details { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.article-faq summary { cursor: pointer; padding: 16px 18px; color: var(--ink); font-family: var(--font-heading); font-weight: 900; line-height: 1.5; }
.article-faq details p { padding: 0 18px 18px; margin: 0; }
.article-sources { padding-top: 26px; border-top: 1px solid var(--line); }
.article-sources ul { padding-left: 1.2em; color: var(--muted); }
.article-sources a { color: var(--accent-dark); font-weight: 900; }

.site-footer { background: var(--night); color: #fff; padding: 0 0 22px; }
.footer-rescue-shell { background: linear-gradient(135deg, #15273c, #15273c); border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-rescue { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 34px; }
.footer-rescue > div { max-width: 720px; }
.footer-rescue strong { display: block; margin-bottom: 7px; font-family: var(--font-heading); font-size: clamp(23px, 3vw, 31px); line-height: 1.4; }
.footer-rescue p { margin: 0; color: #e7edf4; font-size: 14px; line-height: 1.75; }
.footer-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 8px !important; color: #e8c9b4 !important; font-size: 11px !important; font-weight: 900; letter-spacing: .14em; }
.footer-kicker span { width: 9px; height: 9px; border-radius: 50%; background: #e8c9b4; box-shadow: 0 0 0 5px rgba(244,190,209,.14); }
.footer-rescue-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 0 0 auto; min-height: 52px; padding: 13px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: var(--rose); color: #fff; box-shadow: 0 14px 30px rgba(7,28,40,.25); font-weight: 900; text-decoration: none; }
.footer-rescue-button:hover { background: #8f4523; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .92fr .82fr 1.12fr; gap: clamp(28px, 4vw, 52px); padding-block: 52px 44px; }
.footer-brand-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand-mark { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: linear-gradient(140deg, #2d5280, var(--rose)); color: #fff; font-weight: 900; }
.footer-brand-heading strong, .footer-brand-heading small { display: block; }
.footer-brand-heading strong { font-family: var(--font-heading); font-size: 18px; }
.footer-brand-heading small { margin-top: 2px; color: #bccadb; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.footer-brand > p { margin-bottom: 20px; color: #e7edf4; font-size: 13px; line-height: 1.85; }
.footer-trust-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #e7edf4; font-size: 12px; font-weight: 800; }
.footer-trust-list li { position: relative; padding-left: 20px; }
.footer-trust-list li::before { content: "✓"; position: absolute; left: 0; color: #91d4c0; font-weight: 900; }
.footer-title { display: block; margin-bottom: 14px; color: #fff; font-family: var(--font-heading); font-size: 14px; }
.footer-nav { display: grid; align-content: start; gap: 3px; }
.footer-nav a, .footer-link { color: #e7edf4; font-size: 12px; line-height: 1.55; text-decoration: none; }
.footer-nav a { display: flex; align-items: center; min-height: 36px; }
.footer-nav a::before { content: "›"; margin-right: 7px; color: #9fb3cb; font-size: 16px; }
.footer-nav a:hover, .footer-link:hover { color: #fff; }
.footer-operator p { color: #e7edf4; font-size: 12px; line-height: 1.75; }
.footer-company { margin-bottom: 10px; color: #fff !important; font-weight: 900; }
.footer-address { margin-bottom: 12px; }
.footer-link { display: flex; align-items: center; min-height: 36px; width: fit-content; }
.footer-link + .footer-link { margin-top: 2px; }
.footer-hours { margin-top: 16px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(255,255,255,.05); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; color: #bccadb; }
.footer-bottom small { font-size: 10px; letter-spacing: .02em; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a { display: inline-flex; align-items: center; min-height: 36px; color: #d5dfea; font-size: 11px; text-decoration: none; }

@media (max-width: 820px) {
  html { font-size: 16.5px; }
  .hero-grid, .diagnosis-hero-grid, .split, .offer-grid, .cards-three, .contact-grid, .contact-chat-layout, .footer-grid, .trust-grid, .diagnosis-result-layout, .article-hero-grid, .article-layout, .column-card { grid-template-columns: 1fr; }
  .summary-flow, .story-layout, .story-layout.reverse, .support-layout, .narrative-band, .diagnosis-layout, .migration-layout { display: grid; grid-template-columns: 1fr; }
  .summary-flow p { border-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .summary-flow p:first-child { border-top: 0; }
  .story-layout.reverse .story-photo { order: 2; }
  .story-layout.reverse .story-copy { order: 1; }
  .price-steps p, .boundary-rows article, .story-points p, .diagnosis-assurance p { grid-template-columns: 1fr; gap: 7px; }
  .diagnosis-promise-list article { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .form-grid, .check-options { grid-template-columns: 1fr; }
  .diagnosis-form { padding: 18px; }
  .narrative-band { padding: 18px; }
  .article-sidebar { position: static; }
  .article-layout { gap: 30px; }
  .article-body { padding: 22px 18px; }
  .article-body > .wide-photo { margin: 28px 0 42px; }
  .column-card img { height: 220px; }
  .calm-photo img { aspect-ratio: 4 / 3; }
  .hero-photo-card img { height: 230px; }
  .photo-row { grid-template-columns: 1fr; }
  .trust-grid div { border-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .trust-grid div:first-child { border-top: 0; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 74px; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: grid; }
  .nav-toggle { display: block; }
  h1, .hero-home h1 { max-width: 9.5em; font-size: 43px; line-height: 1.22; }
  h2 { font-size: 30px; line-height: 1.45; }
  h3 { font-size: 20px; }
  .lead { font-size: 17px; line-height: 1.9; }
  .btn { width: auto; min-height: 50px; padding-inline: 18px; }
  .contact-chat-frame { padding: 14px; }
}

@media (max-width: 1100px) {
  .mobile-only { display: block; }
}

@media (max-width: 420px) {
  h1, .hero-home h1 { font-size: 40px; max-width: 8.8em; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand small { font-size: 12px; }
}
.column-category-band { background: #fff; border-bottom: 1px solid var(--line); }
.column-category-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.column-category-inner h2 { margin-bottom: 0; font-size: 28px; }
.column-category-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.column-category-chip { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fffdfa; color: var(--accent-dark); font-weight: 900; text-decoration: none; }
.column-category-chip.is-active { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.column-category-chip small { color: var(--muted); font-weight: 800; }
.column-category-chip.is-active small { color: #fffdfa; }
.column-card { scroll-margin-top: 96px; }
.article-topic-box { margin-top: 14px; }
.related-columns { margin-top: clamp(46px, 7vw, 74px); padding-top: 34px; border-top: 1px solid var(--line); }
.related-column-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.related-column-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.related-column-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related-column-card div { padding: 18px; }
.related-column-card span { color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.related-column-card h3 { margin: 8px 0; font-size: 21px; }
.related-column-card h3 a { text-decoration: none; }
.related-column-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 820px) {
  .column-category-inner { display: grid; align-items: start; }
  .column-category-list { justify-content: flex-start; }
  .column-list-head { display: grid; align-items: start; }
  .column-count-box { width: 100%; text-align: left; }
  .column-card-meta { display: grid; }
  .related-column-grid { grid-template-columns: 1fr; }
}

/* 2026-07-21: Keep long Japanese article titles inside the mobile viewport. */
@media (max-width: 820px) {
  .article-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.2vw, 43px);
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* 2026-07-21: WordPress specialist homepage and Charioot-first rescue paths. */
.home-specialist { overflow: clip; }
.home-specialist-hero { position: relative; padding: clamp(54px, 7vw, 92px) 0 clamp(48px, 6vw, 78px); }
.home-specialist-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 78%); }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); gap: clamp(44px, 7vw, 82px); align-items: center; }
.home-hero-copy h1 { max-width: 9em; margin-bottom: 22px; font-size: clamp(50px, 5.4vw, 72px); }
.home-hero-copy .lead { max-width: 42em; margin-bottom: 0; color: #56646f; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-chat-button { gap: 10px; min-height: 56px; padding-inline: 24px; background: var(--rose) !important; box-shadow: 0 14px 30px rgba(185,79,124,.24); }
.home-chat-dot { position: relative; width: 11px; height: 11px; flex: 0 0 11px; border-radius: 50%; background: #baf3d9; box-shadow: 0 0 0 4px rgba(186,243,217,.18); }
.home-chat-dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(186,243,217,.5); border-radius: 50%; animation: home-chat-pulse 2.2s ease-out infinite; }
@keyframes home-chat-pulse { 0%, 45% { transform: scale(.6); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .home-chat-dot::after { animation: none; } }
.home-hero-assurance { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; font-weight: 800; }
.home-hero-assurance li { position: relative; padding-left: 18px; }
.home-hero-assurance li::before { content: "✓"; position: absolute; left: 0; color: #378b72; font-weight: 900; }
.home-scope-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.home-scope-tags span { padding: 7px 11px; border: 1px solid rgba(185,79,124,.17); border-radius: 999px; background: rgba(255,255,255,.56); color: var(--accent-dark); font-size: 12px; font-weight: 900; letter-spacing: .02em; }
.wp-care-console { position: relative; overflow: hidden; padding: 0; border: 1px solid rgba(193,155,176,.32); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 28px 70px rgba(112,72,95,.18); }
.wp-care-console::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #2d5280, var(--accent-dark), var(--accent-cool)); }
.wp-console-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 22px 17px; border-bottom: 1px solid #e3dacc; }
.wp-console-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.wp-console-brand div { min-width: 0; }
.wp-console-brand strong, .wp-console-brand small { display: block; line-height: 1.4; }
.wp-console-brand strong { font-size: 14px; white-space: nowrap; }
.wp-console-brand small { color: var(--muted); font-size: 11px; }
.wp-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #2d5280; color: #fff; font-family: Georgia, serif; font-size: 21px; font-weight: 700; }
.wp-status-chip { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; background: #eaf9f4; color: #2f7f68; font-size: 11px; font-weight: 900; }
.wp-alert-card { display: flex; gap: 12px; align-items: center; margin: 20px 20px 14px; padding: 14px; border: 1px solid #cfc2ae; border-radius: 10px; background: #fffdfa; }
.wp-alert-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--accent-dark); color: #fff; font-weight: 900; }
.wp-alert-card strong, .wp-alert-card small { display: block; line-height: 1.5; }
.wp-alert-card strong { font-size: 14px; }
.wp-alert-card small { color: var(--muted); font-size: 11px; }
.wp-check-list { margin: 0 20px; border: 1px solid #e3dacc; border-radius: 10px; background: #fff; }
.wp-check-list p { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 0; padding: 12px 13px; border-top: 1px solid #e3dacc; }
.wp-check-list p:first-child { border-top: 0; }
.wp-check-list strong { min-width: 0; font-size: 13px; }
.wp-check-list small { color: var(--muted); font-size: 10px; font-weight: 800; text-align: right; }
.wp-check-icon { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; background: #eaf9f4; color: #2f7f68; font-size: 12px; font-weight: 900; }
.wp-chat-preview { display: flex; gap: 11px; align-items: center; margin: 14px 20px 20px; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, var(--night), #2d5280); color: #fff; }
.wp-chat-preview > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 11px; background: linear-gradient(140deg, var(--rose), var(--accent)); font-weight: 900; }
.wp-chat-preview p { margin: 0; }
.wp-chat-preview strong, .wp-chat-preview small { display: block; line-height: 1.5; }
.wp-chat-preview strong { font-size: 13px; }
.wp-chat-preview small { color: #e3dacc; font-size: 10px; }
.home-rescue-band { position: relative; background: var(--night); color: #fff; }
.home-rescue-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% 0, rgba(255,185,208,.24), transparent 38%); }
.home-rescue-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 46px; align-items: center; padding-block: 30px; }
.home-rescue-copy h2 { margin: 3px 0 6px; font-size: clamp(23px, 2.5vw, 31px); line-height: 1.4; }
.home-rescue-copy p { max-width: 58em; margin: 0; color: #e3dacc; font-size: 14px; line-height: 1.75; }
.home-rescue-kicker { display: flex; align-items: center; gap: 8px; color: #f6e9e0 !important; font-size: 12px !important; font-weight: 900; letter-spacing: .1em; }
.home-rescue-kicker span { width: 9px; height: 9px; border-radius: 50%; background: #ffcf8d; box-shadow: 0 0 0 5px rgba(255,207,141,.14); }
.home-rescue-actions { display: grid; gap: 9px; min-width: 250px; }
.home-rescue-button { background: #fff; color: var(--night); box-shadow: 0 12px 28px rgba(10,31,44,.18); }
.home-text-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; color: #fdf9f5; font-size: 13px; font-weight: 900; text-decoration: none; }
.home-text-link.is-dark { justify-content: flex-start; margin-top: 20px; color: var(--accent-dark); font-size: 15px; }
.home-entry-section { background: #fff; }
.home-centered-heading { margin-inline: auto; text-align: center; }
.home-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-entry-card { position: relative; min-width: 0; padding: 27px 25px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 42px rgba(112,72,95,.09); }
.home-entry-card.is-urgent { border-color: rgba(215,101,115,.34); background: linear-gradient(180deg, #fffdfa, #fff); }
.home-entry-label { display: inline-flex; min-height: 27px; align-items: center; padding: 4px 9px; border-radius: 999px; background: #f6e9e0; color: var(--accent-dark); font-size: 11px; font-weight: 900; }
.home-entry-card.is-urgent .home-entry-label { background: #f6e9e0; color: #bb4d5a; }
.home-entry-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 20px 0 15px; border-radius: 14px; background: linear-gradient(135deg, #f6e9e0, #eaf9f4); color: var(--accent-dark); font-family: var(--font-heading); font-size: 25px; font-weight: 900; }
.home-entry-card.is-urgent .home-entry-icon { background: #f6e9e0; color: #bb4d5a; }
.home-entry-icon.is-shield { color: #2f7f68; }
.home-entry-card h3 { margin-bottom: 10px; }
.home-entry-card p { min-height: 6em; color: var(--muted); font-size: 15px; line-height: 1.75; }
.home-entry-card > a { display: inline-flex; min-height: 44px; gap: 8px; align-items: center; color: var(--accent-dark); font-size: 14px; font-weight: 900; text-decoration: none; }
.home-entry-card.is-urgent > a { color: #bb4d5a; }
.home-expertise-section { background: linear-gradient(135deg, #fffdfa 0%, #f5fffb 100%); border-block: 1px solid var(--line); }
.home-expertise-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: clamp(42px, 7vw, 74px); align-items: center; }
.home-expertise-copy .lead { color: var(--muted); font-size: 17px; }
.home-safety-note { margin-top: 26px; padding: 22px; border-left: 5px solid var(--accent-dark); border-radius: 10px; background: rgba(255,255,255,.84); box-shadow: 0 14px 34px rgba(112,72,95,.08); }
.home-safety-note strong { display: block; margin-bottom: 7px; color: var(--accent-dark); font-family: var(--font-heading); font-size: 18px; line-height: 1.55; }
.home-safety-note p { margin: 0; color: var(--muted); font-size: 14px; }
.home-expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-expertise-grid article { min-width: 0; padding: 22px; border: 1px solid rgba(216,190,204,.62); border-radius: 12px; background: rgba(255,255,255,.88); box-shadow: 0 14px 34px rgba(112,72,95,.07); }
.home-expertise-grid span { color: var(--accent-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.home-expertise-grid h3 { margin: 8px 0; font-size: 19px; }
.home-expertise-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-process-section { background: #fff; }
.home-process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.home-process-list li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 28px 30px; border-left: 1px solid var(--line); }
.home-process-list li:first-child { padding-left: 0; border-left: 0; }
.home-process-list li:last-child { padding-right: 0; }
.home-process-list > li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #f6e9e0; color: var(--accent-dark); font-size: 13px; font-weight: 900; }
.home-process-list h3 { margin-bottom: 7px; font-size: 18px; }
.home-process-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.home-trust-row p { display: grid; grid-template-columns: 30px minmax(0, 1fr); margin: 0; padding: 16px; border-radius: 10px; background: #fffdfa; }
.home-trust-row p > span { grid-row: 1 / 3; display: grid; place-items: center; align-self: start; width: 23px; height: 23px; border-radius: 7px; background: #eaf9f4; color: #2f7f68; font-size: 12px; font-weight: 900; }
.home-trust-row strong, .home-trust-row small { display: block; line-height: 1.55; }
.home-trust-row strong { font-size: 14px; }
.home-trust-row small { color: var(--muted); font-size: 11px; }
.home-care-section { background: var(--soft); }
.home-care-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(40px, 7vw, 76px); align-items: center; }
.home-care-layout > div:first-child > p { max-width: 47em; color: var(--muted); }
.home-care-card { padding: 26px; border: 1px solid rgba(216,190,204,.7); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.home-care-price { margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.home-care-price span, .home-care-price strong { display: block; }
.home-care-price span { color: var(--muted); font-size: 13px; font-weight: 900; }
.home-care-price strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 30px; line-height: 1.4; }
.home-care-card ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 14px; font-weight: 800; }
.home-care-card li + li { margin-top: 8px; }
.home-final-cta { padding: clamp(42px, 6vw, 66px) 0; background: linear-gradient(135deg, var(--night), #2d5280); color: #fff; }
.home-final-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 52px; align-items: center; }
.home-final-inner .eyebrow { color: #f6e9e0; }
.home-final-inner h2 { max-width: 18em; margin-bottom: 10px; font-size: clamp(28px, 3.4vw, 42px); }
.home-final-inner p { max-width: 53em; margin: 0; color: #e3dacc; }
.home-final-actions { display: grid; gap: 10px; min-width: 260px; text-align: center; }
.home-final-button { gap: 10px; min-height: 56px; background: #fff; color: var(--night); box-shadow: 0 14px 30px rgba(10,31,44,.22); }
.home-final-actions small { color: #e3dacc; font-size: 11px; }
.home-specialist a:focus-visible { outline: 3px solid #ffcf8d; outline-offset: 3px; }
.home-specialist .btn:hover, .home-entry-card > a:hover, .home-text-link:hover { transform: translateY(-1px); }

@media (max-width: 980px) {
  .home-hero-grid, .home-expertise-layout { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 720px; }
  .wp-care-console { width: min(100%, 620px); }
  .home-rescue-inner { grid-template-columns: 1fr; gap: 22px; }
  .home-rescue-actions { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; }
  .home-entry-grid { grid-template-columns: 1fr; }
  .home-entry-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; }
  .home-entry-label { grid-column: 1 / 3; justify-self: start; }
  .home-entry-icon { grid-row: 2 / 5; margin: 20px 0 0; }
  .home-entry-card h3 { margin-top: 20px; }
  .home-entry-card p { min-height: 0; }
  .home-expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-process-list { grid-template-columns: 1fr; }
  .home-process-list li, .home-process-list li:first-child, .home-process-list li:last-child { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .home-process-list li:first-child { border-top: 0; }
  .home-care-layout, .home-final-inner { grid-template-columns: 1fr; }
  .home-care-card { width: min(100%, 520px); }
  .home-final-actions { justify-self: start; min-width: min(100%, 340px); }
}

@media (max-width: 720px) {
  .home-specialist-hero { padding-top: 42px; }
  .home-hero-copy h1 { max-width: 8.8em; font-size: clamp(42px, 12vw, 54px); }
  .home-hero-actions { display: grid; }
  .home-hero-actions .btn { width: 100%; }
  .home-hero-assurance { display: grid; gap: 7px; }
  .wp-console-head { align-items: flex-start; padding: 18px 16px 14px; }
  .wp-status-chip { padding-inline: 8px; }
  .wp-alert-card, .wp-check-list, .wp-chat-preview { margin-inline: 14px; }
  .wp-check-list p { grid-template-columns: 25px minmax(0, 1fr); }
  .wp-check-list small { grid-column: 2; text-align: left; }
  .home-rescue-inner { padding-block: 26px; }
  .home-rescue-actions { display: grid; }
  .home-rescue-button { width: 100%; }
  .home-text-link { justify-content: flex-start; }
  .home-centered-heading { text-align: left; }
  .home-entry-card { display: block; padding: 23px 20px; }
  .home-entry-icon { margin: 18px 0 14px; }
  .home-entry-card h3 { margin-top: 0; }
  .home-expertise-grid { grid-template-columns: 1fr; }
  .home-process-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 13px; }
  .home-process-list > li > span { width: 44px; height: 44px; }
  .home-trust-row { grid-template-columns: 1fr; }
  .home-final-actions { width: 100%; min-width: 0; }
  .home-final-button { width: 100%; }
}

@media (max-width: 420px) {
  .home-hero-copy h1 { font-size: 42px; }
  .home-scope-tags span { font-size: 11px; }
  .wp-console-brand strong { white-space: normal; }
  .wp-status-chip { display: none; }
  .home-expertise-grid article { padding: 19px; }
}
/* 2026-07-21: first-hand expertise, rescue service, and agency support. */
.home-proof-band { border-block: 1px solid var(--line); background: #fff; }
.home-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: stretch; }
.home-proof-grid p { display: grid; align-content: center; gap: 2px; min-width: 0; margin: 0; padding: 20px 24px; border-left: 1px solid var(--line); }
.home-proof-grid p:first-child { padding-left: 0; border-left: 0; }
.home-proof-grid strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 23px; line-height: 1.35; }
.home-proof-grid span { color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.55; }
.home-proof-grid > a { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 190px; padding: 18px; background: #fffdfa; color: var(--accent-dark); font-size: 13px; font-weight: 900; text-decoration: none; }
.home-agency-note { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 22px; padding: 19px 22px; border: 1px solid rgba(216,190,204,.72); border-radius: 12px; background: linear-gradient(135deg, #fffdfa, #f5fffb); }
.home-agency-note strong, .home-agency-note span { display: block; }
.home-agency-note strong { margin-bottom: 3px; font-family: var(--font-heading); font-size: 17px; }
.home-agency-note span { color: var(--muted); font-size: 13px; }
.home-agency-note a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex: 0 0 auto; color: var(--accent-dark); font-size: 13px; font-weight: 900; text-decoration: none; }
.expert-page { overflow: clip; }
.expert-hero { padding: clamp(54px, 7vw, 94px) 0; }
.expert-hero.is-urgent { background: radial-gradient(circle at 14% 14%, rgba(255,185,208,.68), transparent 34%), radial-gradient(circle at 88% 8%, rgba(255,207,141,.26), transparent 28%), linear-gradient(135deg, #fdf9f5, #fffdfa); }
.expert-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr); gap: clamp(40px, 7vw, 82px); align-items: center; }
.expert-hero h1 { max-width: 12em; font-size: clamp(45px, 5.2vw, 66px); }
.expert-hero .lead { max-width: 44em; color: #56646f; }
.expert-proof-panel { overflow: hidden; border: 1px solid rgba(193,155,176,.35); border-radius: 16px; background: rgba(255,255,255,.9); box-shadow: 0 26px 66px rgba(112,72,95,.16); }
.expert-proof-panel p { display: grid; gap: 3px; margin: 0; padding: 22px 24px; border-top: 1px solid var(--line); }
.expert-proof-panel p:first-child { border-top: 4px solid var(--accent-dark); }
.expert-proof-panel strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 28px; line-height: 1.35; }
.expert-proof-panel span { color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.65; }
.expert-principles { background: #fff; }
.expert-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.expert-step-grid article { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(112,72,95,.08); }
.expert-step-grid article > span { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 9px; border-radius: 999px; background: #f6e9e0; color: var(--accent-dark); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.expert-step-grid h3 { margin: 16px 0 8px; }
.expert-step-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.expert-two-column { display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); gap: clamp(40px, 7vw, 78px); align-items: start; }
.expert-two-column > div:first-child > p { color: var(--muted); }
.expert-scope-list { display: grid; gap: 11px; }
.expert-scope-list article { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: center; padding: 17px 19px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.expert-scope-list strong { color: var(--accent-dark); font-family: var(--font-heading); font-size: 17px; }
.expert-scope-list span { color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.65; }
.expert-case { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(38px, 7vw, 80px); align-items: start; padding: clamp(28px, 5vw, 52px); border: 1px solid rgba(216,190,204,.72); border-radius: 18px; background: linear-gradient(135deg, #fffdfa, #f6fffb); box-shadow: var(--shadow); }
.expert-case.is-small { padding: clamp(26px, 4vw, 42px); }
.expert-case p { color: var(--muted); }
.expert-note { padding: 15px 17px; border-left: 4px solid var(--accent-dark); border-radius: 8px; background: rgba(255,255,255,.85); font-size: 13px; line-height: 1.75; }
.expert-boundaries { border-top: 1px solid var(--line); background: linear-gradient(135deg, #fffdfa, #f4fff9); }
.expert-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; max-width: 850px; margin: 0; padding: 0; list-style: none; }
.expert-check-list li { position: relative; padding: 14px 16px 14px 43px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); font-size: 14px; font-weight: 800; }
.expert-check-list li::before { content: "✓"; position: absolute; left: 15px; top: 14px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #eaf9f4; color: #2f7f68; font-size: 11px; }
.expert-check-list.is-compact { grid-template-columns: 1fr; }
.rescue-now-card { padding: 30px; border: 1px solid rgba(215,101,115,.3); border-radius: 18px; background: #fff; box-shadow: 0 24px 64px rgba(112,72,95,.16); }
.rescue-now-card > span { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #f6e9e0; color: #b84655; font-size: 11px; font-weight: 900; }
.rescue-now-card strong { display: block; margin: 20px 0 13px; color: #8f3845; font-family: var(--font-heading); font-size: clamp(34px, 4vw, 48px); line-height: 1.3; }
.rescue-now-card p { margin: 0; color: var(--muted); font-size: 14px; }
.rescue-warning-band { background: var(--night); color: #fff; }
.rescue-warning-inner { display: flex; flex-wrap: wrap; gap: 11px 17px; align-items: center; min-height: 78px; }
.rescue-warning-inner strong { font-family: var(--font-heading); font-size: 20px; }
.rescue-warning-inner > span { color: #f6e9e0; }
.rescue-warning-inner p { margin: 0 0 0 auto; color: #e3dacc; font-size: 13px; }
.rescue-symptom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rescue-symptom-grid article { display: flex; min-width: 0; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 15px 38px rgba(112,72,95,.08); }
.rescue-symptom-grid article > span { color: var(--accent-dark); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.rescue-symptom-grid h3 { margin: 10px 0 8px; }
.rescue-symptom-grid p { flex: 1; color: var(--muted); font-size: 14px; }
.rescue-symptom-grid a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent-dark); font-size: 13px; font-weight: 900; text-decoration: none; }
.rescue-stop-list { display: grid; gap: 10px; }
.rescue-stop-list p { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; padding: 17px 19px; border: 1px solid #cfc2ae; border-radius: 10px; background: #fff; }
.rescue-stop-list strong { color: #b84655; font-size: 12px; letter-spacing: .08em; }
.rescue-stop-list span { color: var(--muted); font-size: 14px; font-weight: 800; }
.expert-process { background: #fff; }
.expert-flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.expert-flow-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 13px; padding: 25px 22px; border-left: 1px solid var(--line); }
.expert-flow-list li:first-child { border-left: 0; }
.expert-flow-list > li > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f6e9e0; color: var(--accent-dark); font-size: 12px; font-weight: 900; }
.expert-flow-list h3 { margin: 5px 0 7px; font-size: 17px; }
.expert-flow-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.agency-scope-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.agency-role-box { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.agency-role-box h3 { color: var(--accent-dark); }
.agency-role-box p { color: var(--muted); }

@media (max-width: 980px) {
  .home-proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-proof-grid > a { grid-column: 1 / -1; min-height: 48px; }
  .expert-hero-grid, .expert-two-column, .expert-case { grid-template-columns: 1fr; }
  .expert-proof-panel, .rescue-now-card { width: min(100%, 620px); }
  .expert-step-grid { grid-template-columns: 1fr; }
  .agency-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rescue-symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expert-flow-list { grid-template-columns: 1fr 1fr; }
  .expert-flow-list li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .expert-flow-list li:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-grid p, .home-proof-grid p:first-child { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .home-proof-grid p:first-child { border-top: 0; }
  .home-proof-grid > a { grid-column: auto; margin-inline: -16px; }
  .home-agency-note { display: grid; align-items: start; }
  .expert-hero h1 { max-width: 100%; font-size: clamp(40px, 11.5vw, 50px); }
  .expert-scope-list article { grid-template-columns: 1fr; gap: 4px; }
  .expert-check-list, .agency-scope-grid, .rescue-symptom-grid { grid-template-columns: 1fr; }
  .rescue-warning-inner { padding-block: 18px; }
  .rescue-warning-inner p { width: 100%; margin-left: 0; }
  .expert-flow-list { grid-template-columns: 1fr; }
  .expert-flow-list li, .expert-flow-list li:nth-child(3), .expert-flow-list li:nth-child(4) { padding-inline: 0; border-left: 0; border-top: 1px solid var(--line); }
  .expert-flow-list li:first-child { border-top: 0; }
}
/* Mobile touch targets for the shared navigation and footer. */
.nav-toggle { min-width: 44px; min-height: 44px; padding: 8px 10px; }
@media (max-width: 820px) {
  .footer-grid nav { gap: 0; }
  .footer-grid nav a { display: flex; align-items: center; min-height: 44px; }
  .footer-grid > div a { display: inline-flex; align-items: center; min-height: 44px; }
  .article-box a { display: flex; align-items: center; min-height: 44px; }
}

/* Keep the embedded consultation UI comfortably tappable. */
body .charioot-fab { min-height: 48px !important; }
body .charioot-panel__close { min-width: 44px !important; min-height: 44px !important; }
body .charioot-intake__choice,
body .charioot-intake__direct,
body .charioot-intake__send,
body .charioot-intake__skip { min-height: 44px !important; }
.contact-chat-frame { scroll-margin-top: 92px; }

.mm-chat-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 1000; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 12px 19px; border: 1px solid rgba(255,255,255,.38); border-radius: 999px; background: var(--rose); color: #fff; box-shadow: 0 14px 34px rgba(23,59,82,.28); font-size: 14px; font-weight: 900; text-decoration: none; }
.mm-chat-launcher:hover { color: #fff; transform: translateY(-1px); }
.mm-chat-launcher:focus-visible { outline: 3px solid #ffcf8d; outline-offset: 3px; }
.mm-chat-launcher__dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #baf3d9; box-shadow: 0 0 0 4px rgba(186,243,217,.18); }
@media (max-width: 420px) { .mm-chat-launcher { right: 14px; bottom: 14px; min-height: 50px; padding: 11px 16px; font-size: 13px; } }
/* Expanded trust footer: stack cleanly without losing the rescue action. */
@media (max-width: 820px) {
  .footer-rescue { display: grid; gap: 20px; padding-block: 28px; }
  .footer-rescue-button { width: fit-content; min-height: 52px; }
  .footer-grid { gap: 36px; padding-block: 42px 34px; }
  .footer-nav a, .footer-link, .footer-bottom-links a { min-height: 44px; }
  .footer-bottom { display: grid; gap: 10px; }
}
@media (max-width: 420px) {
  .footer-rescue-button { width: 100%; }
  .footer-grid { padding-block: 36px 30px; }
}

/* ---------- 規約・法務ページ（利用規約 / 特商法 など） ---------- */
.legal-doc { max-width: 46em; }
.legal-doc h2 {
  margin: 46px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.6;
}
.legal-doc h2:first-of-type { margin-top: 8px; }
.legal-doc ol { margin: 0; padding-left: 1.5em; }
.legal-doc > ol > li { margin: 0 0 12px; line-height: 1.95; }
.legal-doc ol ol {
  margin: 10px 0 4px;
  padding-left: 1.4em;
  list-style-type: lower-latin;
}
.legal-doc ol ol > li { margin: 0 0 8px; color: var(--muted); }
.legal-doc b { font-weight: 700; color: var(--ink); }
.legal-doc a { color: var(--accent-dark); }

.legal-summary {
  margin: 0 0 12px;
  padding: 24px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-dark);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.legal-summary > strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 17px;
}
.legal-summary ul { margin: 0; padding-left: 1.2em; }
.legal-summary li { margin-bottom: 10px; line-height: 1.85; }
.legal-summary-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 13px;
}

.legal-operator {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 10px 18px;
}
.legal-operator dt { color: var(--muted); font-size: 14px; }
.legal-operator dd { margin: 0; }

.legal-meta { margin-top: 40px; color: var(--muted); font-size: 14px; }
.legal-related {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .legal-doc h2 { font-size: 18px; }
  .legal-summary { padding: 20px 18px; }
  .legal-operator { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-operator dd { margin-bottom: 10px; }
}

/* 特商法などの「項目 / 内容」形式 */
.legal-table {
  margin: 0;
  display: grid;
  grid-template-columns: 13em 1fr;
  border-top: 1px solid var(--line);
}
.legal-table dt,
.legal-table dd {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  line-height: 1.9;
}
.legal-table dt {
  background: var(--bg);
  font-weight: 700;
  font-size: 15px;
}
.legal-table dd ul { margin: 0; padding-left: 1.2em; }
.legal-table dd li { margin-bottom: 6px; }
.legal-table dd small { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.legal-table a { color: var(--accent-dark); }

@media (max-width: 640px) {
  .legal-table { grid-template-columns: 1fr; border-top: none; }
  .legal-table dt {
    padding: 14px 16px 8px;
    border-bottom: none;
    border-top: 2px solid var(--accent-dark);
  }
  .legal-table dt br { display: none; }
  .legal-table dd { padding: 0 16px 16px; }
}

/* ==========================================================================
   共通シェルをトップページに揃える（2026-08-09）

   色と書体は変数の付け替えで揃った。残っていた違和感は「構造」の3点。
     ・緊急バーがトップにしか無い
     ・ブランドマークが 守 と M で違う
     ・主要ボタンの色が、トップは柿渋、下層は藍で割れていた
   ここで揃える。マークアップ側は _inc/chs.php を直している。
   ========================================================================== */

/* --- 緊急バー: 慌てている人が、やさしい見出しを読む前に脱出できる場所 --- */
.emergency-bar {
  background: var(--night); color: #f4efe7;
  border-bottom: 3px solid var(--rose);
}
.emergency-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-block: 13px;
}
.emergency-msg { display: flex; align-items: center; gap: 14px; min-width: 0; }
.emergency-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: grid; place-items: center; font-size: 19px; font-weight: 700; line-height: 1;
}
.emergency-title { display: block; font-size: 17px; font-weight: 700; letter-spacing: .02em; line-height: 1.5; }
.emergency-note  { display: block; font-size: 14.5px; line-height: 1.6; color: #dbe5f0; }
.emergency-actions { display: flex; gap: 10px; flex: none; }
.emergency-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 15.5px; }

/* --- ヘッダー: 生成りの地に、藍の角印 --- */
.site-header { background: rgba(250, 247, 242, .90); }
.brand-mark {
  border-radius: 4px;
  background: var(--accent-dark); color: var(--bg);
  font-family: var(--font-heading); font-size: 21px; font-weight: 600;
}
.brand strong { font-size: 18px; font-weight: 600; letter-spacing: .04em; color: var(--accent-dark); }
.brand small { font-size: 11.5px; }

/* --- 主要ボタンは柿渋に統一する。トップと下層で色が割れていた --- */
.btn.primary, .nav-cta { background: var(--rose); }
.btn.primary:hover, .nav-cta:hover { background: #8f4523; color: #fff; }
.btn.ghost {
  border: 1px solid var(--line-strong, #cfc2ae);
  color: var(--accent-dark);
  background: rgba(255, 253, 250, .58);
}
/* 濃い地の上に置くボタン（緊急バーなど） */
.btn.ghost-dark {
  border: 1px solid rgba(244, 239, 231, .28);
  background: transparent; color: #f4efe7;
}
.btn.ghost-dark:hover { background: rgba(244, 239, 231, .10); color: #fff; }

@media (max-width: 860px) {
  .emergency-bar .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .emergency-actions { width: 100%; }
  .emergency-actions .btn { flex: 1; }
}

/* --- フォームの必須／任意の印 ---
   必須は目に留まる色、任意は控えめに。
   色だけに頼らず文字でも示す（色が見分けにくい方にも伝わるように）。 */
.req-mark, .opt-mark {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  border-radius: 4px; font-size: 11px; font-weight: 800;
  line-height: 1.7; vertical-align: 2px; letter-spacing: .04em;
}
.req-mark { background: var(--rose); color: #fff; }
.opt-mark { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.form-required-note {
  margin: 0 0 16px; padding: 10px 14px;
  border-left: 3px solid var(--rose); background: var(--soft);
  color: var(--ink); font-size: 13.5px; line-height: 1.8;
}
.form-required-note .req-mark { margin-left: 0; margin-right: 2px; }

/* ===== 無料診断のサンクスページ ===== */
.thanks-receipt {
  margin-top: 20px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.thanks-receipt strong { font-size: 1.35rem; letter-spacing: .04em; color: var(--accent-dark); }
.thanks-receipt span { font-size: .85rem; color: var(--muted); }

.thanks-steps { counter-reset: thanks; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; }
.thanks-steps li {
  counter-increment: thanks;
  position: relative;
  padding: 20px 22px 20px 62px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.thanks-steps li::before {
  content: counter(thanks);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: grid;
  place-items: center;
}
.thanks-step-when {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 700;
}
.thanks-steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.thanks-steps p { margin: 0; color: var(--ink); line-height: 1.85; }

.thanks-note {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.thanks-note h3 { margin: 0 0 8px; font-size: 1rem; }
.thanks-note p { margin: 0; color: var(--ink); line-height: 1.85; }
.thanks-note code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--soft);
  font-size: .92em;
}

@media (max-width: 640px) {
  .thanks-steps li { padding: 18px 18px 18px 56px; }
}
