@charset "UTF-8";

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* brand colors */
  --color-navy: #16233c;
  --color-navy-soft: #2b3a56;
  --color-green: #2f4a3c;
  --color-green-dark: #223729;
  --color-green-light: #4d6d59;
  --color-gold: #c0a15c;
  --color-gold-light: #dcc38b;
  --color-gold-pale: #f3ead6;

  /* surfaces */
  --color-bg: #faf8f4;
  --color-bg-alt: #f2ece1;
  --color-white: #ffffff;
  --color-line: #e3dbcb;

  /* text */
  --color-text: #26303f;
  --color-text-muted: #6d7480;
  --color-text-invert: #f7f4ed;

  /* typography */
  --font-mincho: "Zen Old Mincho", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --font-gothic: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  /* layout */
  --container: 1120px;
  --container-narrow: 840px;
  --header-h: 92px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 10px rgba(34, 45, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(34, 45, 40, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-gothic);
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 48px, var(--container-narrow)); }

.sp-only { display: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--green {
  background: var(--color-green);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--green:hover { background: var(--color-green-dark); }

.btn--gold {
  background: var(--color-gold);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: #ad8f4c; }

.btn--outline {
  border-color: currentColor;
  color: var(--color-green);
  background: rgba(255, 255, 255, 0.7);
}
.btn--outline:hover {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}

.btn--lg {
  min-width: 260px;
  padding: 18px 36px;
  font-size: 16px;
}

.btn__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.btn__main {
  font-size: 21px;
  letter-spacing: 0.06em;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.is-scrolled {
  height: 72px;
  background: rgba(250, 248, 244, 0.97);
  border-bottom-color: var(--color-line);
  box-shadow: 0 4px 20px rgba(34, 45, 40, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, 1400px);
  height: 100%;
  margin-inline: auto;
}

.header__logo {
  position: relative;
  z-index: 2;
}
.header__logo img {
  width: auto;
  height: 52px;
  transition: height 0.3s var(--ease);
}
.header.is-scrolled .header__logo img { height: 42px; }

.gnav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-mincho);
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.gnav__list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--color-navy);
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.gnav__list a:hover { color: var(--color-green); }
.gnav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.gnav__contact { display: none; }

.header__side {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
  color: var(--color-navy);
}
.header__tel-label {
  font-family: var(--font-gothic);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.header__tel-num {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header__btn { padding: 12px 24px; font-size: 14px; }

.hamburger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-green);
}
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22.5px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 22.5px; transform: translateX(-50%) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 22.5px; transform: translateX(-50%) rotate(-45deg); }

/* =========================================================
   Section common
   ========================================================= */
.section {
  position: relative;
  padding: 108px 0;
}
.section--alt { background: var(--color-bg-alt); }

.section__head {
  margin-bottom: 56px;
  text-align: center;
}
.section__en {
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}
.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--color-gold);
}
.section__desc {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 15.5px;
  color: var(--color-text-muted);
  line-height: 2.1;
}

.section__head--light .section__title,
.section__head--light .section__desc { color: var(--color-text-invert); }
.section__head--light .section__desc { opacity: 0.82; }
.section__head--light .section__en { color: var(--color-gold-light); }
.section__head--light .section__title::after { background: var(--color-gold-light); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(560px, 76vh, 820px);
  padding: calc(var(--header-h) + 72px) 0 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(192, 161, 92, 0.14) 0%, rgba(192, 161, 92, 0) 55%),
    linear-gradient(180deg, #f7f3ea 0%, var(--color-bg) 62%);
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 248, 244, 0.6) 0%, rgba(250, 248, 244, 0) 20%),
    linear-gradient(180deg, rgba(250, 248, 244, 0) 60%, rgba(250, 248, 244, 0.86) 88%, var(--color-bg) 100%),
    linear-gradient(96deg, rgba(250, 248, 244, 0.97) 0%, rgba(250, 248, 244, 0.93) 32%,
      rgba(250, 248, 244, 0.6) 50%, rgba(250, 248, 244, 0.18) 72%, rgba(250, 248, 244, 0.02) 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  padding-bottom: 84px;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--color-green);
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-green);
  margin-bottom: 26px;
}

.hero__lead {
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.1em;
  color: var(--color-green);
  margin-bottom: 14px;
  padding-left: 2px;
}

.hero__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.46;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}
.hero__title-main {
  display: block;
  color: var(--color-green);
}
.hero__title-sub {
  display: block;
  font-size: 0.78em;
  margin-top: 6px;
}

.hero__text {
  margin-top: 28px;
  font-size: 16px;
  line-height: 2.15;
  color: var(--color-text);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.hero__tags li {
  padding: 7px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}
.hero__tags li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  vertical-align: 2px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__badge {
  justify-self: center;
  width: 176px;
  height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  text-align: center;
  line-height: 1.5;
}
.hero__badge-sub {
  font-family: var(--font-gothic);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}
.hero__badge-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-gold);
}
.hero__badge-note {
  font-family: var(--font-gothic);
  font-size: 10px;
  color: var(--color-text-muted);
}

.hero__points {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  transform: translateY(50%);
  background: var(--color-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero__points li {
  padding: 22px 12px;
  text-align: center;
  font-family: var(--font-gothic);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__points li:last-child { border-right: none; }
.hero__points span {
  display: block;
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  margin-bottom: 2px;
}

#problem { padding-top: 150px; }

/* =========================================================
   Problem
   ========================================================= */
.problem {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 640px;
  margin-inline: auto;
}
.problem__col {
  padding: 40px 38px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.problem__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
}
.problem__badge {
  align-self: flex-start;
  padding: 4px 14px;
  background: var(--color-green);
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
}
.problem__badge--gold { background: var(--color-gold); }

.problem__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.9;
}
.problem__list li + li { margin-top: 14px; }
.problem__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.69em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-gold-pale);
}
.problem__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  /* top: 0.86em; */
  top: 1.05em;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid var(--color-gold);
  border-bottom: 1.6px solid var(--color-gold);
  transform: rotate(-45deg);
}

.problem__catch {
  margin-top: 46px;
  text-align: center;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}
.problem__catch em {
  font-style: normal;
  color: var(--color-green);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 2px;
}

/* =========================================================
   Services
   ========================================================= */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.service-card {
  position: relative;
  flex: 0 1 calc((100% - 52px) / 3);
  padding: 44px 32px 40px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-green);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--color-green);
  color: var(--color-gold-light);
}
.service-card__icon svg { width: 42px; height: 42px; }
.service-card__title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 14px;
}
.service-card__text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--color-text-muted);
  text-align: left;
}

.services__note {
  margin-top: 34px;
  padding: 18px 24px;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-gothic);
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--color-text-muted);
}

/* =========================================================
   Merit
   ========================================================= */
.merit {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    var(--color-green);
  color: var(--color-text-invert);
}
.merit__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 26px;
  max-width: 940px;
  margin-inline: auto;
}
.merit__list li:first-child { grid-column: 1 / -1; }
.merit__list li {
  position: relative;
  padding: 20px 26px 20px 62px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-size: 16.5px;
  letter-spacing: 0.05em;
}
.merit__list li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 20px;
  height: 11px;
  border-left: 2px solid var(--color-gold-light);
  border-bottom: 2px solid var(--color-gold-light);
  transform: translateY(-70%) rotate(-45deg);
}

.merit__banner {
  margin-top: 56px;
  padding: 46px 30px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.merit__banner-sub {
  font-family: var(--font-gothic);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.merit__banner-main {
  font-size: clamp(20px, 2.6vw, 29px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--color-green);
  margin-bottom: 30px;
}

/* =========================================================
   Reasons
   ========================================================= */
.reasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.reason-card {
  padding: 34px 24px 30px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.reason-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  color: var(--color-green);
}
.reason-card__icon svg { width: 32px; height: 32px; }
.reason-card__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.6;
}
.reason-card__text {
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

/* =========================================================
   Cases
   ========================================================= */
.cases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.case-card {
  flex: 0 1 calc((100% - 60px) / 3);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.case-card__img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-card__img img { transform: scale(1.05); }

.case-card__body { padding: 26px 26px 30px; }
.case-card__cat {
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 12px;
  background: var(--color-bg-alt);
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--color-green);
}
.case-card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  line-height: 1.6;
  margin-bottom: 12px;
}
.case-card__text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--color-text-muted);
}

/* =========================================================
   Bundle
   ========================================================= */
.bundle {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}
.bundle__list {
  display: grid;
  gap: 18px;
}
.bundle__list li {
  padding: 26px 30px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-green);
  box-shadow: var(--shadow-sm);
}
.bundle__list h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-green);
  margin-bottom: 6px;
}
.bundle__list p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-text-muted);
}
.bundle__note {
  padding: 34px 30px;
  background: var(--color-gold-pale);
  border: 1px dashed var(--color-gold);
  border-radius: var(--radius-lg);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  text-align: center;
}

/* =========================================================
   Flow
   ========================================================= */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: flow;
}
.flow__step {
  position: relative;
  padding: 34px 22px 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
}
.flow__step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--color-gold);
  border-right: 1.5px solid var(--color-gold);
  transform: translateY(-50%) rotate(45deg);
}
.flow__step:last-child::after { display: none; }

.flow__num {
  display: block;
  font-family: var(--font-gothic);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.flow__title {
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  line-height: 1.6;
  margin-bottom: 10px;
}
.flow__text {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--color-text-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item + .faq__item { margin-top: 14px; }

.faq__q { font-size: inherit; font-weight: inherit; }
.faq__btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 24px 60px 24px 26px;
  position: relative;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  line-height: 1.7;
  transition: background-color 0.25s var(--ease);
}
.faq__btn:hover { background: var(--color-bg); }

.faq__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.faq__mark--a { background: var(--color-gold); }

.faq__icon {
  position: absolute;
  right: 26px;
  top: 32px;
  width: 15px;
  height: 15px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--color-gold);
  transition: transform 0.3s var(--ease);
}
.faq__icon::before {
  width: 15px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px;
  height: 15px;
  transform: translate(-50%, -50%);
}
.faq__btn[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
  padding: 24px 26px 26px;
  border-top: 1px solid var(--color-line);
}
.faq__a[hidden] { display: none; }
.faq__a p {
  font-size: 15px;
  line-height: 2.05;
  color: var(--color-text);
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  padding: 100px 0;
  background:
    radial-gradient(70% 90% at 12% 8%, rgba(47, 74, 60, 0.85) 0%, rgba(47, 74, 60, 0) 62%),
    radial-gradient(60% 80% at 92% 100%, rgba(192, 161, 92, 0.22) 0%, rgba(192, 161, 92, 0) 60%),
    linear-gradient(160deg, #1c2c47 0%, #16233c 55%, #101a2c 100%);
  color: var(--color-text-invert);
}
.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 940px;
  margin-inline: auto;
}
.contact__card {
  padding: 38px 30px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.contact__label {
  display: inline-block;
  padding: 5px 18px;
  margin-bottom: 18px;
  background: var(--color-green);
  border-radius: 999px;
  font-family: var(--font-gothic);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: #fff;
}
.contact__tel {
  display: block;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--color-navy);
}
.contact__tel:hover { color: var(--color-green); }
.contact__mail {
  display: block;
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  word-break: break-all;
  color: var(--color-navy);
  padding: 8px 0;
}
.contact__mail:hover { color: var(--color-gold); }
.contact__note {
  margin-top: 12px;
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-muted);
}
.contact__lead {
  margin-top: 34px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* =========================================================
   Company
   ========================================================= */
.company {
  border-top: 1px solid var(--color-line);
}
.company__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--color-line);
}
.company__row dt {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-green);
}
.company__row dd {
  font-size: 15.5px;
  line-height: 1.9;
}
.company__row a { border-bottom: 1px solid var(--color-gold); }
.company__row a:hover { color: var(--color-gold); }

.company__more {
  margin-top: 40px;
  text-align: center;
}

/* =========================================================
   Privacy policy
   ========================================================= */
.policy {
  display: grid;
  gap: 36px;
}
.policy__heading {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}
.policy__block p {
  font-size: 15.5px;
  line-height: 2;
}
.policy__block a { border-bottom: 1px solid var(--color-gold); }
.policy__block a:hover { color: var(--color-gold); }
.policy__date {
  font-family: var(--font-gothic);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* =========================================================
   Contact form
   ========================================================= */
.form {
  display: grid;
  gap: 22px;
}
.form__row {
  display: grid;
  gap: 22px;
}
.form__row--split { grid-template-columns: 1fr 1fr; }
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__label {
  font-family: var(--font-gothic);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}
.form__req {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--color-gold-pale);
  color: #9a7a3a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-navy);
  font-family: var(--font-gothic);
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form__input::placeholder,
.form__textarea::placeholder { color: #b0b6bf; }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(192, 161, 92, 0.22);
}
.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2316233c' stroke-width='1.4' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.form__select:invalid { color: #b0b6bf; }
.form__select option { color: var(--color-navy); }
.form__textarea {
  min-height: 180px;
  resize: vertical;
}
.form__hint {
  font-family: var(--font-gothic);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  cursor: pointer;
}
.form__check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-green);
  cursor: pointer;
}
.form__check a { border-bottom: 1px solid var(--color-gold); }
.form__check a:hover { color: var(--color-gold); }
.form__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.form__actions--dual {
  gap: 16px;
  flex-wrap: wrap;
}

/* --- エラー表示 --- */
.form__alert {
  margin-bottom: 30px;
  padding: 16px 20px;
  border: 1px solid #d8b0ac;
  border-left: 4px solid #b3453c;
  border-radius: var(--radius);
  background: #fbf1f0;
  font-family: var(--font-gothic);
  font-size: 14.5px;
  line-height: 1.8;
  color: #8f342d;
}
.form__error {
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 1.7;
  color: #b3453c;
}
.form__input.is-error,
.form__select.is-error,
.form__textarea.is-error {
  border-color: #c9736b;
  background: #fdf8f7;
}
.form__input.is-error:focus,
.form__select.is-error:focus,
.form__textarea.is-error:focus {
  border-color: #b3453c;
  box-shadow: 0 0 0 3px rgba(179, 69, 60, 0.18);
}

/* --- ハニーポット（画面にも読み上げにも出さない） --- */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- 確認画面 --- */
.form__confirm {
  border-top: 1px solid var(--color-line);
}
.form__confirm-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--color-line);
}
.form__confirm-row dt {
  font-family: var(--font-gothic);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--color-navy);
}
.form__confirm-row dd {
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  word-break: break-word;
}
.form__confirm-empty { color: var(--color-text-muted); }

/* --- 完了画面 --- */
.form__done {
  padding: 44px 40px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  gap: 18px;
}
.form__done-lead {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.9;
  color: var(--color-green);
}
.form__done-note {
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-muted);
}
.form__done-note a {
  color: var(--color-green);
  border-bottom: 1px solid var(--color-gold);
}
.form__done-note a:hover { color: var(--color-gold); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 68px 0 28px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--color-line);
}
.footer__logo { height: 62px; width: auto; margin-bottom: 18px; }
.footer__address {
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 2;
  color: var(--color-text-muted);
}
.footer__address a:hover { color: var(--color-green); }

.footer__nav {
  display: flex;
  gap: 56px;
}
.footer__nav ul { display: grid; gap: 12px; }
.footer__nav a {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}
.footer__nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
  transform: translateY(-50%) rotate(45deg);
}
.footer__nav a:hover { color: var(--color-green); }

.footer__copy {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-gothic);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* =========================================================
   Fixed CTA (SP)
   ========================================================= */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 -4px 18px rgba(34, 45, 40, 0.14);
}
.fixed-cta.is-visible { transform: translateY(0); }
.fixed-cta a {
  flex: 1;
  padding: 16px 8px;
  text-align: center;
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.fixed-cta__tel { background: var(--color-green); }
.fixed-cta__mail { background: var(--color-gold); }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .gnav__list { gap: 18px; font-size: 14px; }
  .header__tel-num { font-size: 20px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }

  .section { padding: 84px 0; }
  #problem { padding-top: 120px; }

  .header__inner { width: min(100% - 32px, 100%); }
  .header__logo img { height: 44px; }
  .header.is-scrolled { height: 64px; }
  .header.is-scrolled .header__logo img { height: 38px; }
  .header__tel { display: none; }
  .header__btn { display: none; }
  .hamburger { display: block; }

  /* The header uses backdrop-filter, which makes it the containing block for
     fixed children, so the overlay is sized with viewport units instead of inset. */
  .gnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: calc(var(--header-h) + 20px) 24px 40px;
    background: var(--color-bg);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .gnav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .gnav__list {
    flex-direction: column;
    gap: 22px;
    font-size: 19px;
  }
  .gnav__contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid var(--color-line);
    width: min(100%, 340px);
  }
  .gnav__tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-navy);
  }
  .gnav__tel-label {
    font-family: var(--font-gothic);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
  }
  .gnav__tel-num { font-size: 28px; font-weight: 700; }
  .gnav__btn { width: 100%; }

  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 74px;
  }
  .hero__bg-img { object-position: 48% 62%; }
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(250, 248, 244, 0.9) 0%, rgba(250, 248, 244, 0.84) 30%,
        rgba(250, 248, 244, 0.82) 66%, rgba(250, 248, 244, 0.9) 92%, var(--color-bg) 100%);
  }
  .hero__badge { width: 140px; height: 140px; }

  .reasons { grid-template-columns: repeat(2, 1fr); }
  .service-card { flex-basis: calc((100% - 26px) / 2); }
  .case-card { flex-basis: calc((100% - 30px) / 2); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step::after { display: none; }
  .bundle { grid-template-columns: 1fr; }

  .fixed-cta { display: flex; }
  .footer { padding-bottom: 84px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.9; }

  .container,
  .container--narrow { width: min(100% - 36px, var(--container)); }

  .sp-only { display: inline; }

  .section { padding: 68px 0; }
  #problem { padding-top: 104px; }
  .section__head { margin-bottom: 40px; }
  .section__desc { font-size: 14.5px; text-align: left; }
  .contact .section__desc { text-align: center; }

  .hero { min-height: 0; }
  .hero__points {
    grid-template-columns: repeat(2, 1fr);
    transform: translateY(38px);
  }
  .hero__points li:nth-child(2n) { border-right: none; }
  .hero__points li:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero__points span { font-size: 19px; }

  .hero__title { font-size: clamp(23px, 7.4vw, 34px); }
  .hero__actions .btn { width: 100%; }
  .btn--lg { min-width: 0; width: 100%; }

  .problem { grid-template-columns: 1fr; gap: 20px; }
  .problem__col { padding: 30px 24px; }
  .problem__title { font-size: 18px; }

  .service-card { flex-basis: 100%; padding: 34px 26px; }

  .merit__list { grid-template-columns: 1fr; }
  .merit__list li { font-size: 15.5px; padding: 16px 20px 16px 54px; }
  .merit__list li::before { left: 20px; }
  .merit__banner { padding: 34px 22px; }

  .reasons { gap: 14px; }
  .reason-card { padding: 26px 16px 24px; }
  .reason-card__title { font-size: 15.5px; }

  .cases { gap: 22px; }
  .case-card { flex-basis: 100%; }
  .flow { grid-template-columns: 1fr; gap: 14px; }

  .faq__btn { font-size: 15.5px; padding: 20px 52px 20px 20px; gap: 12px; }
  .faq__icon { right: 20px; top: 27px; }
  .faq__a { padding: 20px 20px 22px; gap: 12px; }
  .faq__a p { font-size: 14.5px; }

  .contact { padding: 72px 0; }
  .contact__cards { grid-template-columns: 1fr; gap: 18px; }
  .contact__card { padding: 30px 20px; }

  .company__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 4px;
  }
  .form__row--split { grid-template-columns: 1fr; }
  .form__textarea { min-height: 150px; }
  .form__confirm-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 4px;
  }
  .form__actions--dual {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  .form__actions--dual .btn { width: 100%; }
  .form__done { padding: 34px 22px; }
  .form__done-lead { font-size: 17px; }

  .company__row dt { font-size: 14px; }
  .company__row dd { font-size: 15px; }

  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__nav { gap: 32px; }
}

@media (max-width: 480px) {
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.1em; }
  .hero__badge { width: 124px; height: 124px; }
  .hero__badge-main { font-size: 15px; }
  .bundle__note { padding: 26px 18px; font-size: 15px; }
  .footer__nav { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Sub pages (士業の先生方へ／不動産業者様へ)

   .page-sub carries everything the two sub pages share; .page-pro and
   .page-re only set the brand colour each one is built around.
   ========================================================= */
.gnav__list a[aria-current="page"] { color: var(--color-green); }
.gnav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Company / contact pages: no hero, so offset the fixed header. */
.page-company,
.page-contact,
.page-privacy {
  padding-top: var(--header-h);
}

body.page-pro { --hero-tint: 34, 55, 41; }

body.page-re {
  --hero-tint: 22, 35, 60;
  --color-green: #1c3a63;
  --color-green-dark: #142b4a;
  --color-green-light: #3a5c8c;
}

/* Hero: a dark treatment so each sub page reads differently from the top
   page at a glance, tinted with the page's own brand colour. */
.page-sub .hero__bg { background: rgb(var(--hero-tint)); }
.page-pro .hero__bg-img { object-position: 50% 42%; }
.page-re .hero__bg-img { object-position: 50% 54%; }
.page-sub .hero__bg::after {
  background:
    linear-gradient(180deg, rgba(var(--hero-tint), 0.7) 0%, rgba(var(--hero-tint), 0.34) 34%,
      rgba(var(--hero-tint), 0.6) 78%, rgba(var(--hero-tint), 0.88) 100%),
    linear-gradient(96deg, rgba(var(--hero-tint), 0.95) 0%, rgba(var(--hero-tint), 0.88) 34%,
      rgba(var(--hero-tint), 0.62) 56%, rgba(var(--hero-tint), 0.34) 78%, rgba(var(--hero-tint), 0.16) 100%);
}

.page-sub .hero__eyebrow {
  border-color: var(--color-gold-light);
  background: rgba(var(--hero-tint), 0.32);
  color: var(--color-gold-light);
}
.page-sub .hero__lead { color: var(--color-gold-light); }
.page-sub .hero__title { color: var(--color-text-invert); }
.page-sub .hero__title-main { color: #fff; }
.page-sub .hero__text { color: rgba(247, 244, 237, 0.88); }

/* The brand colour does not carry enough contrast on the dark overlay. */
.page-sub .hero__actions .btn--green {
  background: var(--color-gold);
  color: #fff;
}
.page-sub .hero__actions .btn--green:hover { background: #ad8f4c; }
.page-sub .hero__actions .btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-text-invert);
}
.page-sub .hero__actions .btn--outline:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-green);
}

.page-sub .hero__points {
  background: linear-gradient(90deg, var(--color-gold) 0%, #b6944f 100%);
}
.page-sub .hero__points li {
  color: rgba(var(--hero-tint), 0.78);
  border-right-color: rgba(var(--hero-tint), 0.16);
}
.page-sub .hero__points span { color: rgb(var(--hero-tint)); }

/* The shared contact block washes in the brand green, which has to follow
   the page colour on the navy page. */
.page-re .contact {
  background:
    radial-gradient(70% 90% at 12% 8%, rgba(28, 58, 99, 0.9) 0%, rgba(28, 58, 99, 0) 62%),
    radial-gradient(60% 80% at 92% 100%, rgba(192, 161, 92, 0.22) 0%, rgba(192, 161, 92, 0) 60%),
    linear-gradient(160deg, #1c2c47 0%, #16233c 55%, #101a2c 100%);
}

/* The hero points bar overhangs the next section, as on the top page. */
#assure { padding-top: 150px; }

/* Promise cards */
.promise {
  counter-reset: promise;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 960px;
  margin-inline: auto;
}
.promise__item {
  counter-increment: promise;
  position: relative;
  overflow: hidden;
  padding: 52px 26px 34px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.promise__item::before {
  content: counter(promise, decimal-leading-zero);
  position: absolute;
  right: 8px;
  bottom: -24px;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.11;
}
.promise__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
}
.promise__label {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font-gothic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.promise__label::after { content: " " counter(promise, decimal-leading-zero); }
.promise__badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 152px;
  height: 152px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-gold);
  box-shadow: inset 0 0 0 5px var(--color-bg), inset 0 0 0 6px var(--color-gold-light);
}
.promise__badge-main {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: var(--color-navy);
}
.promise__note {
  position: relative;
  font-family: var(--font-gothic);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* Worry speech bubbles */
.worry__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  text-align: center;
}
.worry__label .problem__badge { align-self: center; }
.worry + .worry__label { margin-top: 54px; }

/* The row gap has to clear the speech-bubble tail below each card. */
.worry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 38px 26px;
}
.worry__item {
  position: relative;
  flex: 0 1 calc((100% - 52px) / 3);
  padding: 34px 26px 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.worry__item::before,
.worry__item::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
}
.worry__item::before {
  bottom: -15px;
  margin-left: -15px;
  border-width: 15px 15px 0;
  border-top-color: var(--color-line);
}
.worry__item::after {
  bottom: -13px;
  margin-left: -14px;
  border-width: 14px 14px 0;
  border-top-color: var(--color-white);
}
.worry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  color: var(--color-green);
}
.worry__icon svg { width: 34px; height: 34px; }
.worry__text {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--color-navy);
}

.worry__answer {
  max-width: 900px;
  margin: 58px auto 0;
  padding: 36px 40px 38px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
    var(--color-green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--color-text-invert);
  text-align: center;
}
.worry__answer-lead {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 22px;
  border-radius: 999px;
  background: var(--color-gold);
  font-family: var(--font-gothic);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}
.worry__answer-main {
  font-size: clamp(17px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.85;
  letter-spacing: 0.05em;
}

.solution {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1000px;
  margin-inline: auto;
}
.solution__col {
  position: relative;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
}
.solution__col:last-child {
  background: rgba(192, 161, 92, 0.2);
  border-color: var(--color-gold-light);
}
.solution__col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-top: 2px solid var(--color-gold-light);
  border-right: 2px solid var(--color-gold-light);
  transform: rotate(45deg);
}
.solution__step {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(220, 195, 139, 0.38);
  font-family: var(--font-gothic);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}
.solution__title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.solution__text {
  font-family: var(--font-gothic);
  font-size: 13.5px;
  line-height: 2;
  opacity: 0.86;
}

.partner__list {
  counter-reset: point;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.partner__list li {
  counter-increment: point;
  position: relative;
  overflow: hidden;
  padding: 42px 30px 28px;
  background: var(--color-white);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.partner__list li::before {
  content: "Point " counter(point, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 18px;
  background: var(--color-gold);
  border-radius: 0 0 var(--radius) 0;
  font-family: var(--font-gothic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff;
}
.partner__list h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.partner__list p {
  font-family: var(--font-gothic);
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--color-text-muted);
}

/* ---------------------------------------------------------
   Overrides for components shared with the top page.
   Scoped to .page-sub so index.html keeps its own layout.
   --------------------------------------------------------- */
.page-sub .reason-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  padding: 28px 22px 26px;
  border-top: 3px solid var(--color-gold);
  text-align: left;
}
.page-sub .reason-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  flex-shrink: 0;
  border-color: var(--color-gold-light);
  background: var(--color-gold-pale);
}
.page-sub .reason-card__icon svg { width: 25px; height: 25px; }
.page-sub .reason-card__title {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  font-size: 16px;
}
.page-sub .reason-card__text {
  flex-basis: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-line);
}

.page-sub .case-card__body { position: relative; }
.page-sub .case-card__cat {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin: 0;
  padding: 7px 20px;
  border-radius: 0 var(--radius) 0 0;
  background: var(--color-green);
  color: var(--color-text-invert);
  line-height: 1.6;
}

.page-sub .flow {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 840px;
  margin-inline: auto;
}
.page-sub .flow__step {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 0 26px;
  padding: 0 0 34px;
  background: none;
  border: none;
  border-radius: 0;
}
.page-sub .flow__step:last-child { padding-bottom: 0; }
.page-sub .flow__step::after { display: none; }
.page-sub .flow__step::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 82px;
  bottom: 2px;
  width: 2px;
  background: var(--color-line);
}
.page-sub .flow__step:last-child::before { display: none; }
.page-sub .flow__num {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 50%;
  background: var(--color-green);
  font-size: 25px;
  color: var(--color-gold-light);
}
.page-sub .flow__title {
  grid-column: 2;
  margin: 0 0 10px;
  padding-top: 18px;
}
.page-sub .flow__text {
  grid-column: 2;
  font-size: 14.5px;
}

@media (max-width: 1024px) {
  #assure { padding-top: 120px; }

  /* The base stylesheet swaps in a light vertical wash here, so the dark
     overlay has to be restated for the narrow layout. */
  .page-pro .hero__bg-img { object-position: 48% 46%; }
  .page-re .hero__bg-img { object-position: 50% 56%; }
  .page-sub .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(var(--hero-tint), 0.86) 0%, rgba(var(--hero-tint), 0.76) 34%,
        rgba(var(--hero-tint), 0.8) 68%, rgba(var(--hero-tint), 0.9) 100%);
  }

  .promise { gap: 20px; }
  .promise__item { padding: 48px 18px 30px; }
  .promise__badge { width: 138px; height: 138px; }
  .promise__badge-main { font-size: 18px; }

  .worry__item { flex-basis: calc((100% - 26px) / 2); }

  .solution { grid-template-columns: 1fr; }
  .solution__col:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 50%;
    margin: 0 0 0 -6px;
    transform: rotate(135deg);
  }
}

@media (max-width: 768px) {
  #assure { padding-top: 104px; }

  .promise { grid-template-columns: 1fr; gap: 20px; }
  .promise__item { padding: 46px 24px 30px; }
  .promise__badge { width: 148px; height: 148px; }
  .promise__badge-main { font-size: 19px; }

  .worry { gap: 34px 20px; }
  .worry__item { flex-basis: 100%; padding: 28px 22px 26px; }
  .worry__text { font-size: 15.5px; }
  .worry__answer { margin-top: 48px; padding: 28px 22px 30px; }

  .solution__col { padding: 26px 22px; }
  .solution__title { font-size: 17.5px; }

  .partner__list { grid-template-columns: 1fr; gap: 16px; }
  .partner__list li { padding: 40px 22px 24px; }

  .page-sub .reason-card { gap: 12px; padding: 22px 18px; }
  .page-sub .reason-card__icon { width: 40px; height: 40px; }
  .page-sub .reason-card__icon svg { width: 22px; height: 22px; }
  .page-sub .reason-card__title { flex-basis: 100%; font-size: 15px; }
  .page-sub .reason-card__text { margin-top: 0; padding-top: 12px; }

  .page-sub .flow__step {
    grid-template-columns: 58px 1fr;
    gap: 0 18px;
    padding-bottom: 28px;
  }
  .page-sub .flow__num { width: 58px; height: 58px; font-size: 21px; }
  .page-sub .flow__step::before { left: 28px; top: 68px; }
  .page-sub .flow__title { padding-top: 12px; font-size: 16.5px; }
}
