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

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-main);
  background: linear-gradient(to bottom, #efe2cc 0%, #e2cfb3 100%);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

details summary {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.pc-only {
  display: none;
}

/* =========================================================
   Colors / Variables
========================================================= */
:root {
  --bg-main: #e9dcc6;
  --bg-white: #fbf5ea;
  --bg-soft: #efe4d2;

  --text-main: #35291d;
  --text-sub: #5f4f41;
  --text-muted: #8d7764;

  --navy: #2e4b68;
  --navy-2: #496582;

  --border: #ccb89b;
  --shadow: 0 10px 24px rgba(84, 61, 36, 0.10);

  --phone: #c96f1a;
  --phone-dark: #a85a11;

  --line: #3d7b52;
  --line-dark: #2f6241;

  --form: #314a63;
  --form-dark: #24384d;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* =========================================================
   Common Section
========================================================= */
.section {
  padding: 56px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid rgba(204, 184, 155, 0.72);
  border-bottom: 1px solid rgba(204, 184, 155, 0.72);
}

.section-head {
  margin-bottom: 24px;
}

.section-head-center {
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-text {
  color: var(--text-sub);
  font-size: 0.98rem;
}

.card-grid {
  display: grid;
  gap: 14px;
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 238, 224, 0.94);
  border-bottom: 1px solid #cdb89a;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 10px 0 12px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--navy);
}

.logo-mark {
  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.header-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid transparent;
  transition: opacity 0.2s ease;
  text-align: center;
}

.btn:hover {
  opacity: 0.92;
}

.btn-phone {
  grid-column: 1 / -1;
  background: #fff0df;
  border-color: #e9bf8d;
  color: #8f4c11;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  line-height: 1.3;
}

.btn-phone .btn-label {
  font-size: 0.78rem;
}

.btn-phone .btn-value {
  font-size: 1.05rem;
}

.btn-line {
  background: #edf7ef;
  border-color: #b8d4bd;
  color: #2f6241;
}

.btn-form {
  background: #eef2f5;
  border-color: #c5d0da;
  color: #314a63;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  padding: 22px 0 28px;
  background:
    linear-gradient(to bottom, #f4eadb, #e7d7bf);
}

.hero-inner {
  display: grid;
  gap: 18px;
}

.hero-content {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-lead {
  display: inline-block;
  background: #efe3d1;
  color: var(--navy);
  border: 1px solid #d7c3a5;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 1.6rem;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 12px;
  word-break: keep-all;
}

.hero-copy {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 46ch;
}

.hero-copy strong {
  color: var(--navy);
}

.hero-cta-group {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cta-card {
  border-radius: 14px;
  padding: 14px;
  border: 1px solid transparent;
  display: grid;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, opacity 0.2s ease;
  min-width: 0;
}

.cta-card:hover {
  transform: translateY(-1px);
  opacity: 0.97;
}

.cta-card-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-card-main {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.cta-card-sub {
  font-size: 0.82rem;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.5;
}

.cta-card-phone {
  background: #fff0df;
  border-color: #e9bf8d;
  color: #8f4c11;
}

.cta-card-line {
  background: #edf7ef;
  border-color: #b8d4bd;
  color: #2f6241;
}

.cta-card-form {
  background: #efe3d1;
  border-color: #d7e3f3;
  color: var(--navy);
}

.hero-meta {
  margin-top: 14px;
  border-top: 1px dashed #ccb89b;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

.hero-area,
.hero-note {
  font-size: 1.2rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.hero-note {
  color: #7a5530;
  background: #f8eddc;
  border: 1px solid #e2c9a6;
  border-radius: 10px;
  padding: 8px 10px;
}

.hero-visual {
  display: none;
}

.hero-image-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-image-card figcaption {
  padding: 10px 12px;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid #eee6d7;
}


.hero-content-consultation {
  display: grid;
  gap: 16px;
}

.hero-consultation-top {
  text-align: center;
}

.hero-title-consultation {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.45;
  margin-bottom: 12px;
  text-wrap: balance;
}

.hero-copy-consultation {
  max-width: 58ch;
  margin-inline: auto;
  text-align: center;
}

.hero-consultation-grid {
  margin-top: 2px;
}

.hero-consultation-grid .consultation-card {
  background: #f7ecdd;
  box-shadow: none;
}

.hero-content-consultation .hero-cta-group {
  margin-top: 4px;
}


/* =========================================================
   Problems
========================================================= */
.problem-grid {
  display: grid;
  gap: 12px;
}

.problem-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  padding: 14px;
}

.problem-card h3 {
  font-size: 1.03rem;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 6px;
}

.problem-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.bridge-message {
  margin-top: 16px;
  background: var(--bg-white);
  border: 1px solid #d7c3a5;
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 14px;
}

.bridge-message p {
  color: var(--text-sub);
  font-size: 0.96rem;
}

/* =========================================================
   Item Cards
========================================================= */
.item-grid {
  grid-template-columns: 1fr;
}

.item-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 3px 10px rgba(30, 53, 83, 0.03);
}

.item-card h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--navy);
}

.item-card h3 a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: #c8d4e3;
  text-underline-offset: 3px;
}

.item-card p {
  color: var(--text-sub);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* =========================================================
   Reasons
========================================================= */
.reason-grid {
  display: grid;
  gap: 12px;
}

.reason-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px 12px;
  align-items: start;
}

.reason-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #efe3d1;
  border: 1px solid #d7c3a5;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.reason-card h3 {
  grid-column: 2 / 3;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--navy);
  margin-top: 2px;
}

.reason-card p {
  grid-column: 1 / -1;
  color: var(--text-sub);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* =========================================================
   Flow
========================================================= */
.flow-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.flow-item {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 86px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #efe3d1;
  border: 1px solid #d7c3a5;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
}

.flow-body h3 {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 4px;
}

.flow-body p {
  color: var(--text-sub);
  font-size: 0.94rem;
}

/* =========================================================
   Areas
========================================================= */
.area-box {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 16px;
  padding: 16px;
}

.area-box-title {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.area-link-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.area-link-list li a {
  display: block;
  background: #f4ecdf;
  border: 1px solid #dac7aa;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-main);
  font-weight: 700;
}

.area-link-list li a:hover {
  background: #efe3d1;
  border-color: #d7e3f3;
}

.area-note {
  color: var(--text-sub);
  font-size: 0.92rem;
}

/* =========================================================
   Results
========================================================= */
.result-grid {
  grid-template-columns: 1fr;
}

.result-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  padding: 14px;
  min-width: 0;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.result-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe4d2;
  border: 1px solid #dac7aa;
  color: #374151;
  font-size: 0.8rem;
  font-weight: 700;
}

.result-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.5;
}

.result-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.result-comment {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #ccb89b;
}

/* =========================================================
   FAQ
========================================================= */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-right: 44px;
  line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--navy-2);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  border-top: 1px solid #eee6d7;
  padding: 12px 16px 14px;
}

.faq-answer p {
  color: var(--text-sub);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* =========================================================
   Final CTA
========================================================= */
.final-cta {
  background: linear-gradient(180deg, #efe2cf 0%, #e2d1b7 100%);
  border-top: 1px solid #ddd5c7;
  border-bottom: 1px solid #ddd5c7;
}

.final-cta-inner {
  background: rgba(251, 245, 234, 0.78);
  border: 1px solid rgba(204, 184, 155, 0.88);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.final-cta-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.final-cta-btn {
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  display: grid;
  gap: 2px;
  min-height: 72px;
  align-content: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 20px rgba(49, 39, 25, 0.12);
}

.final-cta-label {
  font-size: 0.88rem;
  opacity: 0.95;
  font-weight: 700;
}

.final-cta-value {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.final-cta-phone {
  background: linear-gradient(180deg, var(--phone), var(--phone-dark));
}

.final-cta-line {
  background: linear-gradient(180deg, var(--line), var(--line-dark));
}

.final-cta-form {
  background: linear-gradient(180deg, var(--form), var(--form-dark));
}

.final-cta-note {
  margin-top: 12px;
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 12px;
  padding: 12px;
}

.final-cta-note p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

.final-cta-note p + p {
  margin-top: 6px;
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
  background: #3b2f24;
  color: #f4eadb;
}

.footer-inner {
  display: grid;
  gap: 20px;
  padding: 28px 0 20px;
}

.footer-name {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff7ea;
}

.footer-text {
  font-size: 0.92rem;
  color: #eadfce;
  line-height: 1.7;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-nav a {
  display: inline-block;
  color: #fff7ea;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  font-size: 0.94rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.copyright {
  margin: 0;
  padding: 12px 0 18px;
  font-size: 0.82rem;
  color: #d7c8b2;
  text-align: center;
}

/* =========================================================
   Responsive (Tablet)
========================================================= */
@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(1120px, calc(100% - 40px));
  }

  .pc-only {
    display: inline;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
  }

  .header-cta {
    justify-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .btn-phone {
    grid-column: auto;
    min-width: 220px;
    padding-inline: 14px;
  }

  .btn-line,
  .btn-form {
    min-width: 140px;
  }

  .hero {
    padding: 28px 0 36px;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    align-items: start;
  }

  .hero-content {
    padding: 22px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-visual {
    display: block;
  }

  .hero-cta-group {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .flow-list {
    gap: 14px;
  }

  .flow-item {
    grid-template-columns: 120px 1fr;
    align-items: start;
    gap: 12px;
  }

  .flow-step {
    margin-top: 2px;
  }

  .flow-body h3 {
    font-size: 1.05rem;
  }

  .area-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .final-cta-inner {
    padding: 24px;
  }

  .final-cta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

/* =========================================================
   Responsive (Desktop)
========================================================= */
@media (min-width: 1024px) {
  .section {
    padding: 84px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-content {
    padding: 26px;
  }

  .hero-image-card img {
    aspect-ratio: 4 / 3;
  }

  .problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .item-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .reason-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-list {
    gap: 12px;
  }
}

/* =========================================================
   Focus Visible (Accessibility)
========================================================= */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(30, 53, 83, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

/* =========================================================
   Hero visual removed + width balance fix
   右画像削除後の幅バランス調整版
========================================================= */

/* Heroは1カラム */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start; /* 左揃えで下段コンテンツの始点と揃える */
}

/* Hero本文カードの幅を広げて、下段とのバランスを整える */
.hero-content {
  width: 100%;
  max-width: 1000px; /* ← 前回の720pxより広げる */
}

/* 右画像は非表示（HTMLに残っていても消える） */
.hero-visual {
  display: none !important;
}

/* タブレット */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-content {
    max-width: 900px;
  }
}

/* PC */
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .hero-content {
    max-width: 1100px;
  }
}

/* =========================================================
   Hero CTA 2-column layout (PC only)
   左: テキスト / 右: ビジュアル
========================================================= */

/* CTAカード内テキストのラッパー */
.cta-card-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

/* 右側ビジュアルは初期状態では非表示（スマホ優先） */
.cta-card-media {
  display: none;
}

.cta-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

/* タブレット以上で、CTAカードを2カラム化 */
@media (min-width: 768px) {
  .cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(180px, 0.95fr);
    align-items: center;
    gap: 14px;
    padding: 14px;
  }

  .cta-card-text {
    gap: 4px;
  }

  .cta-card-media {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 92px;
  }

  .cta-card-main {
    line-height: 1.45;
  }

  .cta-card-sub {
    line-height: 1.5;
  }
}

/* PCで少し見栄えを整える */
@media (min-width: 1024px) {
  .cta-card {
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .cta-card-media {
    min-height: 104px;
  }

  .cta-card-main {
    font-size: 1.08rem;
  }
}

.hero-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* PCでCTAカード内の文字を大きくする */
@media (min-width: 1024px) {
  .cta-card-title {
    font-size: 1.3rem;
    line-height: 1.45;
  }

  .cta-card-main {
    font-size: 1.48rem;
    line-height: 1.4;
    font-weight: 800;
  }

  .cta-card-sub {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

/* =========================================================
   選ばれる理由：見出し中央寄せ + 少し大きく
   （実際のクラス名 .reason-card に合わせる）
========================================================= */

/* カード全体の中央揃え（見出し用） */
.reason-card {
  text-align: center;
  /* 既存の2カラム指定を解除して、1カラムにする */
  grid-template-columns: 1fr;
  gap: 10px;
}

/* 見出し（太字）を中央寄せ＆サイズアップ */
.reason-card h3 {
  grid-column: 1 / -1;   /* 既存指定の上書き */
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 6px;
}

/* 本文は読みやすさ優先で左寄せ（中央寄せにしたいなら center に変更） */
.reason-card p {
  grid-column: 1 / -1;   /* 既存指定の上書き */
  text-align: left;
  margin: 0;
}

/* PCで見出しを少しだけ大きく */
@media (min-width: 1024px) {
  .reason-card h3 {
    font-size: 1.28rem;
  }
}

/* =========================================================
   Company Page additions
========================================================= */
.page-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.page-lead {
  display: inline-block;
  background: #efe3d1;
  border: 1px solid #d7c3a5;
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title {
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.4;
  margin-bottom: 10px;
}

.page-text {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
}

.page-links,
.page-bottom-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4ecdf;
  border: 1px solid #dac7aa;
  font-weight: 700;
  color: var(--navy);
}

.link-chip:hover {
  background: #efe3d1;
  border-color: #d7e3f3;
}

.info-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 4px 14px rgba(30, 53, 83, 0.05);
}

.info-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dcc8aa;
  border-radius: 12px;
  background: var(--bg-white);
}

.info-row dt {
  font-weight: 800;
  color: var(--navy);
}

.info-row dd {
  margin: 0;
  color: var(--text-sub);
}

.plain-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--navy);
}

.note-box {
  margin-top: 14px;
  background: #f8eddc;
  border: 1px solid #e2c9a6;
  border-radius: 12px;
  padding: 12px;
}

.note-title {
  margin: 0 0 6px;
  font-weight: 800;
  color: #7a5530;
}

.note-text {
  margin: 0;
  color: var(--text-sub);
}

.promise-grid {
  display: grid;
  gap: 12px;
}

.promise-item {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 14px;
  padding: 14px;
}

.promise-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.05rem;
}

.promise-item p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dac7aa;
  background: var(--bg-white);
  font-weight: 700;
  color: #374151;
}

.cta-panel {
  margin-top: 14px;
  background: var(--bg-white);
  border: 1px solid #d7c3a5;
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 14px;
}

.cta-panel-title {
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--navy);
}

.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
}

.mini-btn-phone {
  background: #fff0df;
  border-color: #e9bf8d;
  color: #8f4c11;
}

.mini-btn-line {
  background: #edf7ef;
  border-color: #b8d4bd;
  color: #2f6241;
}

.mini-btn-form {
  background: #efe3d1;
  border-color: #d7e3f3;
  color: var(--navy);
}

.flow-simple {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-sub);
  line-height: 1.8;
}

.flow-simple li {
  margin: 6px 0;
}

@media (min-width: 768px) {
  .page-card,
  .info-card {
    padding: 22px;
  }

  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .info-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FAQ/Page common additions (もし未定義なら追加)
========================================================= */
.page-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.page-lead {
  display: inline-block;
  background: #efe3d1;
  border: 1px solid #d7c3a5;
  color: var(--navy);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title {
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.4;
  margin: 0 0 10px;
}

.page-text {
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.page-links,
.page-bottom-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4ecdf;
  border: 1px solid #dac7aa;
  font-weight: 700;
  color: var(--navy);
}

.link-chip:hover {
  background: #efe3d1;
  border-color: #d7e3f3;
}
/* === phone CTAを主役に（追記） === */
.cta-card-phone{
  border-width: 2px;
}

.cta-card-phone .cta-card-main{
  font-size: 1.25rem;
}

@media (min-width: 768px){
  .hero-cta-group{
    grid-template-columns: 1fr 1fr;
  }
  /* 電話CTAだけ横幅を広げて主役に */
  .cta-card-phone{
    grid-column: 1 / -1;
  }
}

/* ===== 対応エリア：リンク無しのシンプル一覧 ===== */
.area-simple-list .area-item{
  display: block;
  background: #f4ecdf;
  border: 1px solid #dac7aa;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-main);
  font-weight: 700;
}

/* 主な対応地域：枠なしの市名1行表示 */
.area-cityline{
  margin: 10px 0 14px;
  font-weight: 700;
  line-height: 1.8;
}

/* もし旧リストが残っていた場合でも枠が出ないように保険（任意） */
.area-simple-list .area-item{
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* 主な対応地域：1行（折り返しOK）で詰める */
.area-cityline{
  margin: 6px 0 10px;   /* 余白を小さく */
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .02em;
}

/* 念のため：旧リストが残っていても余白が暴れないように（保険） */
.area-link-list{
  display: block !important;
  padding: 0 !important;
  margin: 6px 0 10px !important;
}
.area-link-list li{
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}
.area-link-list li + li::before{
  content: "、";
}
.area-link-list a,
.area-link-list span{
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-weight: 700;
}

/* =========================================================
   Header visual band
========================================================= */
.top-visual-band {
  padding: 0 0 10px;
  background: linear-gradient(to bottom, rgba(246,237,223,0.96), #e9dcc6);
}

.top-visual-band .container {
  width: min(1120px, calc(100% - 32px));
}

.top-visual-inner {
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  border: 1px solid #d5c0a1;
  box-shadow: 0 8px 24px rgba(84, 61, 36, 0.10);
  background: #dcc39f;
}

.top-visual-inner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}

.hero {
  padding-top: 10px;
}

@media (max-width: 767px) {
  .top-visual-inner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }

  .hero {
    padding-top: 8px;
  }

  .hero-content {
    padding: 16px;
  }

  .hero-title {
    font-size: 1.48rem;
    margin-bottom: 10px;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .cta-card {
    padding: 12px;
  }

  .cta-card-title {
    font-size: 0.88rem;
  }

  .cta-card-main {
    font-size: 1rem;
  }

  .final-cta-grid {
    gap: 12px;
  }

  .final-cta-btn {
    min-height: 68px;
  }
}

/* =========================================================
   Second pass: trust / proof / CTA support
========================================================= */
.trust-strip {
  margin-top: 14px;
  padding: 12px;
  background: #f7efe2;
  border: 1px solid #dec9ab;
  border-radius: 12px;
}

.trust-strip-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.trust-list {
  list-style: none;
  display: grid;
  gap: 6px;
}

.trust-list li {
  position: relative;
  padding-left: 1.1em;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.6;
}

.trust-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.consultation-section .section-head {
  margin-bottom: 28px;
}

.consultation-intro {
  width: min(760px, 100%);
  margin-inline: auto;
}

.consultation-grid {
  display: grid;
  gap: 14px;
}

.consultation-card {
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(84, 61, 36, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.consultation-card h3 {
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 8px;
}

.consultation-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.8;
}

section[aria-labelledby="results-title"] {
  display: none;
}

.proof-results .section-head {
  margin-bottom: 20px;
}

.proof-results .result-grid {
  align-items: stretch;
}

.result-summary {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.result-summary p {
  margin: 0;
  padding: 10px 12px;
  background: #f8f1e5;
  border: 1px solid #e0cdb0;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.result-summary strong {
  color: var(--navy);
}

.cta-support {
  display: grid;
  gap: 8px;
  margin: 4px 0 12px;
  padding: 12px;
  background: var(--bg-white);
  border: 1px solid #d9c5a8;
  border-radius: 12px;
}

.cta-support p {
  margin: 0;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.65;
}

.cta-reassurance {
  margin: 0 0 12px;
  padding: 12px;
  background: #f7efe2;
  border: 1px solid #dec9ab;
  border-radius: 12px;
}

.cta-reassurance-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.cta-reassurance-list {
  list-style: none;
  display: grid;
  gap: 6px;
}

.cta-reassurance-list li {
  position: relative;
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cta-reassurance-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

@media (min-width: 768px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }

  .consultation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .cta-reassurance-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
  }
}

@media (min-width: 1024px) {
  .consultation-card {
    min-height: 100%;
  }
}

.trust-list li::before,
.cta-reassurance-list li::before {
  content: "・";
}

.result-card-image {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
}

.result-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* =========================================================
   Mobile overflow fix
   原因: 入れ子のgrid/flex要素が縮まず、長い文言が最小幅を押し広げていた
   対策: 親幅を超えない制約と、モバイル時の折り返し・1カラム化を最終段で統一
========================================================= */
.header-inner,
.header-cta,
.header-cta > *,
.hero-inner,
.hero-content,
.hero-content-consultation,
.hero-consultation-top,
.hero-cta-group,
.hero-cta-group > *,
.cta-card,
.cta-card-text,
.cta-card-media,
.consultation-grid,
.consultation-grid > *,
.consultation-card,
.card-grid,
.card-grid > *,
.result-grid,
.result-grid > *,
.result-card,
.result-summary,
.hero-area,
.area-box,
.final-cta-inner,
.final-cta-grid,
.final-cta-grid > *,
.final-cta-btn,
.top-visual-band,
.top-visual-band .container,
.top-visual-inner,
.top-visual-inner img {
  min-width: 0;
  max-width: 100%;
}

.hero-title,
.hero-copy,
.cta-card-title,
.cta-card-main,
.cta-card-sub,
.consultation-card h3,
.consultation-card p,
.result-card h3,
.result-card p,
.result-summary p,
.hero-area,
.area-cityline,
.area-note,
.final-cta-label,
.final-cta-value,
.final-cta-note p,
.section-title,
.section-text,
.btn {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  .hero-title {
    word-break: normal;
  }

  .header-inner,
  .hero-inner,
  .hero-content,
  .hero-cta-group,
  .consultation-grid,
  .card-grid,
  .result-grid,
  .final-cta-grid,
  .area-box,
  .final-cta-inner {
    width: 100%;
  }

  .hero-cta-group,
  .consultation-grid,
  .card-grid,
  .result-grid,
  .final-cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-card {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cta-card-media {
    width: 100%;
  }

  .hero-area {
    font-size: 1rem;
  }
}
