:root {
  --paper: #fffaf6;
  --paper-soft: #f7efe5;
  --ink: #3e332d;
  --muted: #77695f;
  --tiffany: #86d5d8;
  --tiffany-deep: #63c7cb;
  --rose: #b76573;
  --rose-dark: #8f4654;
  --sage: #73845f;
  --gold: #b69055;
  --line: #ead8cd;
  --white: #fffdfb;
  --shadow: 0 14px 34px rgb(82 50 43 / 12%);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.82;
}

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

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

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.utility,
.header-main,
.global-nav,
.page-shell,
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.utility {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.utility p {
  margin: 0;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 20px;
}

.brand strong {
  display: block;
  color: #6e4b2e;
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 600;
  line-height: 1.25;
}

.brand span,
.brand address {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.brand span {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 15px;
}

.header-contact {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.header-phone {
  color: #b17d22;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 8px 18px;
  font-weight: 700;
  line-height: 1.35;
}

.button.primary {
  border-color: var(--rose);
  background: var(--rose);
  color: white;
}

.button.line {
  background: var(--sage);
  color: white;
}

.button.male {
  border-color: #18a4b1;
  color: #1395a0;
}

.button.female {
  border-color: #de5d91;
  color: #d44b83;
}

.global-wrap {
  border-top: 0;
  background: var(--tiffany);
}

.global-nav {
  display: flex;
  justify-content: flex-start;
  max-width: none;
  gap: 0;
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-top: 0;
  padding-bottom: 0;
}

.global-nav::-webkit-scrollbar {
  display: none;
}

.global-nav a {
  position: relative;
  min-width: 140px;
  padding: 13px 18px;
  color: white;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  white-space: nowrap;
}

.global-nav a:hover,
.global-nav a.is-active {
  background: var(--tiffany-deep);
  color: white;
}

.global-nav a.is-active::after {
  content: none;
}

.page-hero {
  background: #f6f3f0;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 44px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: #6e4b2e;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
}

.breadcrumbs {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.page-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  padding-top: 58px;
  padding-bottom: 72px;
}

.side-box {
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.side-box h2 {
  margin: 0;
  border-top: 5px solid #c7b27d;
  background: #f5f0e8;
  padding: 13px 18px;
  color: #6e4b2e;
  font-family: var(--serif);
  font-size: 22px;
  text-align: center;
}

.side-box-body {
  padding: 18px;
}

.side-box img {
  width: 100%;
  margin-bottom: 14px;
}

.side-phone {
  display: block;
  color: #b17d22;
  font-size: 25px;
  font-weight: 700;
}

.side-menu {
  display: grid;
  gap: 0;
  padding: 0;
  list-style: none;
}

.side-menu a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  color: var(--muted);
}

.side-menu a.is-active {
  color: var(--rose-dark);
  font-weight: 700;
}

.content {
  min-width: 0;
}

.lead-box {
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e7faf8;
  padding: 28px;
  text-align: center;
}

.lead-box strong {
  color: red;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.section {
  margin-bottom: 42px;
}

.section h2 {
  margin: 0 0 18px;
  color: #8a6537;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
}

.section h3 {
  margin: 0 0 12px;
  color: var(--rose-dark);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.section p {
  margin: 0 0 14px;
}

.media-block,
.counselor-grid,
.flow-step,
.reason-block,
.plan-block {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.media-block img,
.counselor-grid img,
.flow-step img,
.reason-block img,
.plan-block img {
  width: 100%;
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.two-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 26px;
}

.worry-list,
.check-list {
  margin: 0;
  padding: 22px 24px 22px 42px;
  border: 1px solid var(--line);
  background: var(--white);
}

.cta-panel {
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  text-align: center;
}

.cta-panel h2 {
  margin: 0 0 10px;
  color: #6e4b2e;
  font-family: var(--serif);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.price-table,
.profile-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.price-table th,
.price-table td,
.profile-table th,
.profile-table td,
.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
}

.price-table th,
.profile-table th,
.data-table th {
  width: 36%;
  background: #f5f0e8;
  color: #6e4b2e;
}

.faq-item {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-item h3 {
  margin: 0;
  background: #f5f0e8;
  padding: 14px 18px;
}

.faq-item div {
  padding: 16px 18px;
}

.data-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.data-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
  text-align: center;
}

.data-card strong {
  display: block;
  color: #9f211c;
  font-size: 26px;
}

.map {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  background: #4b3a35;
  color: #fff8f4;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .header-main,
  .page-shell,
  .media-block,
  .counselor-grid,
  .flow-step,
  .reason-block,
  .plan-block {
    grid-template-columns: 1fr;
  }

  .header-contact {
    justify-items: start;
  }

  .global-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .global-nav a {
    min-width: 140px;
  }

  .sidebar {
    order: 2;
  }

  .content {
    order: 1;
  }
}

@media (max-width: 640px) {
  .utility,
  .site-footer-inner,
  .header-actions,
  .cta-actions,
  .two-list {
    display: block;
  }

  .utility p + p,
  .button + .button,
  .worry-list + .worry-list {
    margin-top: 10px;
  }

  .button {
    width: 100%;
  }

  .brand strong {
    font-size: 27px;
  }

  .header-phone {
    font-size: 26px;
  }

  .data-cards {
    grid-template-columns: 1fr;
  }
}
