/* ===== Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  color: var(--color-text);
  background:
    linear-gradient(180deg, #f3f9ff 0%, #ffffff 38%, #eef7f3 100%);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
main,
section,
div,
article,
form,
fieldset,
label {
  min-width: 0;
}
h1,
h2,
h3,
p,
li,
dt,
dd,
a,
span,
label,
button {
  overflow-wrap: break-word;
}
.section-title,
.hero-title,
.hero-sub,
.section-lead {
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--sp-5);
}
.container-narrow { max-width: var(--container-narrow); }
.mobile-only { display: none; }

.page-simple,
.result-main,
.error-page {
  padding-block: var(--sp-10);
}
.page-title {
  margin: 0 0 var(--sp-5);
  color: var(--color-navy);
  font-size: var(--fs-3xl);
  line-height: 1.25;
}
.page-simple h2 {
  margin: var(--sp-7) 0 var(--sp-2);
  color: var(--color-navy);
  font-size: var(--fs-lg);
  line-height: 1.5;
}
.page-simple p,
.page-simple li {
  color: var(--color-text);
}
.page-simple ul {
  padding-left: 1.4em;
}
.page-simple a,
.page-back a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.page-meta {
  margin-top: var(--sp-8);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
.page-back {
  margin-top: var(--sp-8);
  text-align: center;
}
.error-page {
  text-align: center;
}
.error-code {
  margin: 0 0 var(--sp-3);
  color: var(--color-navy);
  font-size: var(--fs-3xl);
  line-height: 1.2;
}
.error-contact {
  margin-top: var(--sp-5);
}
.error-tel {
  font-size: var(--fs-xl);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #dbe6f2;
  box-shadow: 0 10px 24px rgba(8, 34, 74, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px var(--sp-6);
}
.brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-logo {
  width: auto;
  object-fit: contain;
}
.brand-logo-kokuei {
  height: 34px;
  max-width: 54vw;
}
.brand-kokuei { align-items: flex-start; }
.global-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 54px);
  flex: 1 1 auto;
  color: #0c1726;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.global-nav a {
  text-decoration: none;
}
.header-phone-link {
  display: none;
  width: 236px;
  padding: 0;
  background: transparent;
  box-shadow: 0 10px 22px rgba(8, 58, 120, 0.18);
  text-decoration: none;
}
.header-phone-link img {
  display: block;
  width: 100%;
  height: auto;
}
.header-menu-button {
  display: none;
  gap: 5px;
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #0b3a75;
  background: transparent;
}
.header-menu-button span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}
@media (min-width: 760px) {
  .header-inner {
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
    padding: 8px var(--sp-6);
  }
  .brand-logo-kokuei {
    height: 48px;
    max-width: none;
  }
  .header-menu-button { display: none; }
}
@media (min-width: 1040px) {
  .header-inner {
    padding-block: 8px;
  }
  .brand-logo-kokuei { height: 52px; }
  .global-nav { display: flex; }
  .header-phone-link { display: flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding-bottom: 44px;
  background: #fff;
  border-bottom: 1px solid #e5eef7;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.98) 37%, rgba(255, 255, 255, 0.74) 48%, rgba(255, 255, 255, 0.04) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 38%;
  z-index: 2;
  width: 160px;
  background: linear-gradient(105deg, #fff 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0) 43%);
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(1.06) contrast(1.02);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(54px, 6vw, 82px) var(--sp-6) clamp(72px, 6vw, 96px);
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  min-width: 0;
}
.section-kicker {
  margin: 0 0 var(--sp-2);
  color: var(--color-green);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 0;
  color: #0b58a8;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}
.hero-kicker span:first-child { color: #0b58a8; }
.hero-title {
  margin: 0 0 28px;
  color: #071427;
  font-size: clamp(38px, 4.1vw, 60px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}
.hero-title span { display: block; }
.hero-title em {
  color: #ef6f00;
  font-style: normal;
}
.hero-sub {
  max-width: 620px;
  margin: 0;
  color: #102033;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.9;
}
.hero-lower {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, 1040px);
  margin: -56px auto 0;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 22px 34px;
  list-style: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(8, 34, 74, 0.13);
}
.hero-stat {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 0 26px;
  border-right: 1px solid #dbe5f1;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child {
  padding-right: 0;
  border-right: 0;
}
.hero-stat-icon {
  display: grid;
  place-items: center;
  color: #064f9d;
}
.hero-stat-icon svg {
  width: 42px;
  height: 42px;
}
.hero-stat-icon-laurel,
.hero-stat-icon-pin {
  color: var(--color-green);
}
.hero-stat-body {
  display: grid;
  gap: 2px;
}
.hero-stat-label,
.hero-stat-sub {
  color: #26384c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.hero-stat-main {
  color: #071427;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
.hero-stat-main strong {
  font-size: 34px;
  line-height: 1;
}
.hero-estimate-banner {
  display: block;
  margin-top: 22px;
  padding: 0;
  background: transparent;
  box-shadow: 0 18px 42px rgba(7, 58, 120, 0.24);
  text-decoration: none;
}
.hero-estimate-banner picture,
.hero-estimate-banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 760px) {
  .hero-inner { padding-inline: var(--sp-6); }
}
@media (max-width: 620px) {
  .hero {
    display: block;
    position: relative;
    min-height: 0;
    padding-bottom: 28px;
    background: #fff;
    border-bottom: 0;
  }
  .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.22) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.48) 50%, rgba(255, 255, 255, 0) 100%);
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 82%);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
    margin: 0;
    border: 0;
  }
  .hero-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-position: 88% center;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
  }
  .hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 0;
    align-items: flex-start;
    padding: 44px var(--sp-5) 18px;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #0b2f58;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero-kicker {
    gap: 0;
    margin-bottom: 16px;
    color: #2e8b35;
    font-size: 16px;
    line-height: 1.55;
  }
  .hero-kicker span {
    display: block;
    width: 100%;
  }
  .hero-title {
    margin-bottom: 18px;
    max-width: 100%;
    color: #071427;
    font-size: clamp(25px, 7.1vw, 28px);
    line-height: 1.36;
    word-break: normal;
  }
  .hero-title span {
    white-space: nowrap;
  }
  .hero-sub {
    max-width: 300px;
    color: #1a2d43;
    font-size: 14px;
    line-height: 1.68;
    font-weight: 800;
    word-break: normal;
  }
  .hero-lower {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: calc(100% - 32px);
    margin: 16px auto 0;
  }
  .hero-stats {
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    padding: 18px 8px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e4ecf4;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 26px rgba(8, 34, 74, 0.1);
  }
  .hero-stat {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    min-height: 0;
    padding: 0 8px;
    text-align: center;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid #dce6ef;
  }
  .hero-stat:first-child {
    padding-left: 8px;
    border-left: 0;
  }
  .hero-stat:last-child {
    padding-right: 8px;
  }
  .hero-stat-icon svg {
    width: 30px;
    height: 30px;
  }
  .hero-stat-icon { color: #45a34b; }
  .hero-stat-body { gap: 2px; }
  .hero-stat-label,
  .hero-stat-sub {
    font-size: 9px;
    line-height: 1.3;
  }
  .hero-stat-main {
    font-size: 14px;
    line-height: 1.35;
  }
  .hero-stat-main strong {
    font-size: 18px;
  }
  .hero-estimate-banner {
    order: 1;
    margin-top: 0;
    width: calc(100% - 28px);
    align-self: center;
    box-shadow: 0 14px 28px rgba(244, 122, 0, 0.28);
  }
  .mobile-only { display: block; }
  .section-title { font-size: 23px; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .hero { min-height: 0; }
  .hero-inner {
    min-height: 430px;
  }
  .hero-copy { max-width: 620px; }
  .hero-title { font-size: 42px; }
  .hero-stats { padding: 20px 28px; }
  .hero-stat {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 0 18px;
  }
  .hero-stat-main { font-size: 22px; }
  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.94) 50%, rgba(247, 252, 255, 0.68) 76%, rgba(255, 255, 255, 0.06) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(246, 251, 255, 0.18) 100%);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.35;
  transition: transform 0.08s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { box-shadow: 0 12px 24px rgba(8, 34, 74, 0.12); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible,
.chip input:focus-visible + span,
.form-select:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-consent input:focus-visible {
  outline: 3px solid rgba(244, 122, 0, 0.35);
  outline-offset: 2px;
}
.btn-cta { min-height: 58px; font-size: var(--fs-lg); }
.btn-cta-primary,
.btn-submit {
  color: var(--color-white);
  background: linear-gradient(180deg, #ff8a1b, #ee6100);
  box-shadow: 0 12px 28px rgba(244, 122, 0, 0.28);
}
.btn-cta-primary:hover,
.btn-submit:hover { background: linear-gradient(180deg, #ff7d0b, #da5900); }
.btn-cta-secondary {
  color: var(--color-green);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--color-green);
}
.btn-cta-secondary:hover { background: #f4fbf2; }
/* ===== Headings ===== */
.section-heading {
  max-width: 760px;
  margin: 0 auto var(--sp-6);
  text-align: center;
}
.section-title {
  margin: 0;
  color: var(--color-navy);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: break-word;
}
.section-lead {
  margin: var(--sp-3) 0 0;
  color: #5f7084;
  font-size: var(--fs-sm);
}

@media (min-width: 760px) {
  .section-title { font-size: 28px; }
}

/* ===== Anniversary ===== */
.anniversary-section {
  padding: var(--sp-8) 0 var(--sp-10);
  background:
    linear-gradient(135deg, #f4f8fc 0%, #ffffff 46%, #f7fbf2 100%);
}
.anniversary-inner {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
}
.anniversary-title {
  margin: 0;
  color: var(--color-navy);
  font-size: var(--fs-xl);
  line-height: 1.45;
}
.anniversary-lead {
  margin: var(--sp-3) 0 0;
  color: #52657a;
  font-size: var(--fs-sm);
}
.anniversary-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  justify-self: center;
}

@media (min-width: 820px) {
  .anniversary-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  }
}

/* ===== Estimate Form ===== */
.estimate-section {
  padding: var(--sp-12) 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(46, 139, 53, 0.08), transparent 28%),
    linear-gradient(180deg, #f1f7fd 0%, #ffffff 46%, #f7fbff 100%);
}
.estimate-form {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid #cfdeec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(8, 34, 74, 0.1);
  overflow: hidden;
}
.form-errors {
  max-width: 980px;
  margin: 0 auto var(--sp-5);
  padding: var(--sp-4);
  border: 1px solid #f1a9a9;
  border-radius: 8px;
  color: #8a1f1f;
  background: #fff1f1;
}
.form-errors p { margin: 0 0 var(--sp-2); font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-group {
  padding: var(--sp-4);
  border-bottom: 1px solid #dce8f2;
}
.form-group:last-of-type { border-bottom: 0; }
.form-group-contact {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.form-group-head {
  display: grid;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}
.form-group-head h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: var(--fs-lg);
}
.form-group-head p {
  margin: 0;
  color: #65768a;
  font-size: var(--fs-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
}
.form-row + .form-row {
  border-top: 1px solid #edf2f7;
}
.form-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  color: var(--color-navy);
  font-weight: 700;
}
.badge-req {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px var(--sp-2);
  border: 1px solid #ffb26f;
  border-radius: 4px;
  color: #e96100;
  background: #fff6ed;
  font-size: var(--fs-xxs);
  font-weight: 700;
}
.chip-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-2);
}
.chip { position: relative; min-width: 0; }
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid #ccd8e4;
  border-radius: 8px;
  color: #25384d;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: inset 0 -1px 0 rgba(8, 34, 74, 0.04), 0 2px 5px rgba(8, 34, 74, 0.04);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
}
.chip input:checked + span {
  color: var(--color-white);
  border-color: var(--color-primary);
  background: linear-gradient(180deg, #0b72d9, #0057b8);
  box-shadow: 0 8px 18px rgba(0, 87, 184, 0.22);
}
.form-select,
.form-input,
.form-textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid #cbd8e5;
  border-radius: 8px;
  color: #1e3045;
  background: #fff;
}
.form-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #49647f 50%),
    linear-gradient(135deg, #49647f 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 51%,
    calc(100% - 16px) 51%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.form-textarea {
  min-height: 112px;
  resize: vertical;
}
.contact-grid {
  display: grid;
  gap: 0;
}
.form-consent {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  color: #33465c;
  font-size: var(--fs-sm);
}
.form-consent span { min-width: 0; }
.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}
.form-consent a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-submit {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: #f7fbff;
}
.btn-submit {
  width: 100%;
  min-height: 58px;
  font-size: var(--fs-lg);
}
.form-submit-note {
  margin: 0;
  color: #4f6478;
  font-size: var(--fs-sm);
  line-height: 1.6;
  text-align: center;
}
.result-note {
  margin: 0 0 var(--sp-4);
  color: #687b8f;
  font-size: var(--fs-sm);
  text-align: left;
}

@media (min-width: 760px) {
  .form-group { padding: var(--sp-5) var(--sp-6); }
  .form-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: var(--sp-2);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--sp-5);
  }
  .contact-grid .form-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .contact-grid .form-row + .form-row {
    border-top: 0;
  }
  .form-row-consent {
    border-top: 1px solid #edf2f7;
    margin-top: var(--sp-3);
  }
  .form-submit {
    padding: var(--sp-5) var(--sp-6);
  }
}
@media (max-width: 520px) {
  .container {
    padding-inline: var(--sp-4);
  }
  .chip-group {
    grid-template-columns: 1fr;
  }
  .form-row-wide .chip-group .chip:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .chip span {
    min-height: 48px;
    padding-inline: var(--sp-2);
    font-size: var(--fs-xs);
  }
  .form-group { padding: var(--sp-4); }
}

/* ===== Service Cards ===== */
.services {
  padding: clamp(58px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(46, 139, 53, 0.07), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}
.services .container {
  max-width: 1160px;
}
.reasons {
  padding: var(--sp-12) 0;
  color: #fff;
  background:
    linear-gradient(135deg, #073266 0%, #0b3a75 58%, #0f4d7f 100%);
}
.reasons .section-kicker { color: #bfecc4; }
.reasons .section-title { color: #fff; }
.reasons .section-lead { color: rgba(255, 255, 255, 0.78); }
.cards-grid,
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-height: 188px;
  padding: 24px 24px 24px 28px;
  border: 1px solid #d3e0ec;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96));
  box-shadow: 0 14px 34px rgba(8, 34, 74, 0.07);
  overflow: hidden;
  text-align: left;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0057b8, #2e8b35);
}
.service-card::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.05);
  pointer-events: none;
}
.service-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(231, 243, 255, 0.95), rgba(242, 250, 245, 0.95));
  box-shadow: inset 0 0 0 1px rgba(0, 87, 184, 0.11);
}
.service-symbol svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: #0b3a75;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 8px;
}
.service-label {
  width: fit-content;
  margin: 0;
  padding: 3px 10px;
  border-radius: 4px;
  color: #1f7b2b;
  background: #eaf7ec;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
}
.service-card-title,
.reason-title,
.flow-stage-title {
  margin: 0;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.45;
}
.service-card-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}
.service-card-desc,
.reason-desc,
.flow-stage-desc {
  margin: 0;
  color: #40556e;
  font-size: 15px;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 820px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Flow ===== */
.flow {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(46, 139, 53, 0.09), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(0, 87, 184, 0.11), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #edf6fd 100%);
}
.flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 58, 117, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(11, 58, 117, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}
.flow .container {
  position: relative;
  z-index: 1;
}
.flow-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-stage {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #d3e0ec;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.95));
  box-shadow: 0 14px 34px rgba(8, 34, 74, 0.07);
}
.flow-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 45px;
  top: calc(100% + 1px);
  width: 2px;
  height: 15px;
  background: linear-gradient(180deg, #0057b8, rgba(0, 87, 184, 0));
}
.flow-stage-index {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, #0057b8 0%, #0b3a75 100%);
  box-shadow: 0 10px 24px rgba(0, 87, 184, 0.22);
}
.flow-stage-index span {
  font-size: var(--fs-base);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.flow-stage-body {
  display: grid;
  gap: 6px;
  align-content: center;
}
.flow-stage-meta {
  width: fit-content;
  margin: 0 0 2px;
  padding: 2px 9px;
  border-radius: 4px;
  color: #1f7b2b;
  background: #eaf7ec;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.4;
}
.flow-stage-title {
  font-size: 18px;
  font-weight: 800;
}
.flow-stage-desc {
  max-width: 34em;
}

@media (min-width: 900px) {
  .flow-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .flow-stage {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 256px;
    padding: 22px 18px;
    text-align: left;
  }
  .flow-stage:not(:last-child)::after {
    left: auto;
    right: -14px;
    top: 48px;
    z-index: 2;
    width: 14px;
    height: 2px;
    background: linear-gradient(90deg, #9cc7eb, #a7d8ad);
  }
  .flow-stage-index {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    border: 4px solid #fff;
    box-shadow: 0 12px 26px rgba(0, 87, 184, 0.22);
  }
  .flow-stage-desc {
    max-width: none;
    font-size: 14px;
  }
}

/* ===== Reasons ===== */
.reason-card {
  display: grid;
  align-content: start;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border-color: rgba(255, 255, 255, 0.18);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}
.reason-card-featured {
  border-color: #b9ddbd;
  background: linear-gradient(180deg, #ffffff, #f5fbf2);
}
.reason-num {
  display: inline-flex;
  width: fit-content;
  padding: 2px var(--sp-2);
  border-radius: 4px;
  color: #fff;
  background: var(--color-green);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
}
.reason-title { font-size: var(--fs-lg); }
.reason-source {
  margin: var(--sp-2) 0 0;
  padding-top: var(--sp-3);
  border-top: 1px solid #e3ecf4;
  color: #33536f;
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* ===== Notes (料金・サービス注意事項) ===== */
.notes-section {
  padding: clamp(58px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 87, 184, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}
.notes-section .container {
  max-width: 1240px;
  padding-inline: var(--sp-5);
}
.notes-grid {
  list-style: none;
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.notes-grid > li { margin: 0; }
.note-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 18px;
  min-height: 224px;
  padding: 22px 22px 22px 28px;
  border: 1px solid #d5e1ed;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.96));
  box-shadow: 0 14px 36px rgba(13, 42, 74, 0.08);
  color: #071827;
  overflow: hidden;
}
.note-card::before,
.note-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.note-card::before {
  inset: 1px;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.note-card::after {
  right: -48px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.055);
}
.note-card-content,
.note-card-visual {
  position: relative;
  z-index: 1;
}
.note-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin: 0 0 14px;
  padding: 0 0 11px;
  border-bottom: 1px solid #b9dcff;
}
.note-card-num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #064c93 0%, #062b66 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.2),
    0 3px 8px rgba(6, 43, 102, 0.22);
  color: #fff;
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
}
.note-card-title {
  flex: 1 1 0;
  margin: 0;
  color: #07356d;
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}
.note-card-points {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.note-card-points li {
  position: relative;
  margin: 0;
  padding-left: 34px;
  color: #102338;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.75;
}
.note-card-points li + li {
  padding-top: 11px;
  border-top: 1px dashed #b8d6f1;
}
.note-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #dff4d9;
}
.note-card-points li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 9px;
  height: 5px;
  border-left: 3px solid #1e9c35;
  border-bottom: 3px solid #1e9c35;
  transform: rotate(-45deg);
}
.note-card-points li + li::before { top: 14px; }
.note-card-points li + li::after { top: 21px; }
.note-highlight {
  color: #168a2d;
  font-weight: 800;
}
.note-card-visual {
  display: grid;
  min-height: 168px;
  place-items: center;
  align-self: stretch;
  margin: 0;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 48%, rgba(220, 243, 255, 0.92), rgba(247, 252, 255, 0.72) 62%, rgba(255, 255, 255, 0) 72%);
}
.note-card-illust {
  display: block;
  width: min(100%, 178px);
  max-height: 156px;
  height: auto;
  margin: 0;
  object-fit: contain;
}
@media (min-width: 640px) {
  .notes-grid { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  .notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .note-card { grid-template-columns: minmax(0, 1fr) 165px; }
  .note-card-illust { width: min(100%, 154px); }
}
@media (max-width: 700px) {
  .notes-section .container { padding-inline: var(--sp-4); }
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .note-card {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 22px 20px 20px;
  }
  .note-card-head {
    align-items: center;
    gap: 12px;
  }
  .note-card-num {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .note-card-title { font-size: 21px; }
  .note-card-visual {
    order: -1;
    min-height: 142px;
    margin: -2px 0 2px;
  }
  .note-card-illust { width: min(100%, 190px); max-height: 134px; }
  .note-card-points li {
    padding-left: 31px;
    font-size: 15px;
    line-height: 1.72;
  }
}
@media (max-width: 420px) {
  .note-card-title { font-size: 20px; }
  .note-card-points li { font-size: 14.5px; }
  .note-card-visual {
    min-height: 132px;
  }
  .note-card-illust {
    width: min(100%, 176px);
    max-height: 126px;
  }
}

/* ===== SDGs / LINE ===== */
.sdgs-section {
  padding: var(--sp-12) 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 87, 184, 0.11), transparent 26%),
    linear-gradient(135deg, #f6fbff 0%, #ffffff 48%, #f2fbf5 100%);
}
.sdgs-goals {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
.sdgs-goal {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  align-content: start;
  gap: var(--sp-2) var(--sp-3);
  min-height: 0;
  padding: var(--sp-4);
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(8, 34, 74, 0.12);
}
.sdgs-goal span {
  grid-row: 1 / 3;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.sdgs-goal h3 {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.35;
}
.sdgs-goal p {
  margin: 0;
  grid-column: 2;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.sdgs-goal-2 { background: #dda300; }
.sdgs-goal-4 { background: #c5192d; }
.sdgs-goal-8 { background: #a21942; }
.sdgs-goal-11 { background: #fd9d24; }
.sdgs-goal-14 { background: #0a97d9; }

@media (min-width: 680px) {
  .sdgs-goals { grid-template-columns: repeat(2, 1fr); }
  .sdgs-goal {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 170px;
  }
  .sdgs-goal span,
  .sdgs-goal p {
    grid-row: auto;
    grid-column: auto;
  }
}
@media (min-width: 1040px) {
  .sdgs-goals { grid-template-columns: repeat(5, 1fr); }
}
.line-section {
  padding: var(--sp-12) 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 24%, rgba(6, 199, 85, 0.32), transparent 30%),
    linear-gradient(135deg, #062b5f 0%, #0b3a75 52%, #0f6b53 100%);
}
.line-section .section-kicker { color: #9ff0bc; }
.line-section .section-title { color: #fff; }
.line-section .section-lead { color: rgba(255, 255, 255, 0.78); }
.line-panel {
  text-align: center;
}
.line-friend-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 48px;
  transition: transform 0.16s ease, filter 0.16s ease;
}
.line-friend-banner:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.line-friend-banner img {
  width: 180px;
  height: auto;
  display: block;
}
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.official-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 48px;
  padding: var(--sp-2) var(--sp-3);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
}
.official-form-link:hover {
  background: rgba(255, 255, 255, 0.18);
}
@media (max-width: 520px) {
  .line-section {
    padding: var(--sp-10) 0;
  }
  .contact-methods {
    flex-direction: column;
    align-items: center;
  }
  .line-friend-banner { width: 180px; }
  .official-form-link { width: 180px; }
  .line-friend-banner img { width: 180px; }
  .line-friend-banner {
    justify-content: center;
  }
}

/* ===== Result Page ===== */
.result-title {
  margin-bottom: var(--sp-5);
}
.result-preview {
  max-width: var(--container-narrow);
  margin: var(--sp-6) auto;
  padding: 0 var(--sp-5);
}
.result-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border: 1px solid #d4e5c4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfff8 0%, #ffffff 100%);
  box-shadow: 0 6px 18px rgba(8, 34, 74, 0.06);
}
.result-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.result-card-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--color-green-dark);
  background: #e8f5e0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.result-price {
  margin: var(--sp-2) 0 0;
  color: #054024;
  font-size: var(--fs-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.result-price-amount {
  display: inline-block;
  white-space: nowrap;
}
.result-price-consult {
  font-size: var(--fs-2xl);
  font-weight: 700;
}
.result-price-tax {
  display: inline-block;
  margin-left: var(--sp-2);
  color: #6b7c8e;
  font-size: var(--fs-base);
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
}
.btn-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--sp-4) var(--sp-5);
  color: #fff;
  background: var(--color-green);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(7, 96, 50, 0.22);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-result:hover {
  background: var(--color-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(7, 96, 50, 0.30);
}
.btn-result-label {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.btn-result-tel {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.btn-result-hours {
  font-size: var(--fs-xs);
  opacity: 0.88;
  margin-top: 2px;
}
.result-note-left {
  margin: 0;
  text-align: left;
  color: #6b7c8e;
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.result-section-lead {
  margin: 0 0 var(--sp-3);
  color: #4f6478;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.result-section {
  margin-top: var(--sp-8);
}
.result-section-title {
  margin: 0;
  color: var(--color-navy);
  font-size: var(--fs-lg);
  line-height: 1.5;
}
.result-detail-list {
  margin: var(--sp-3) 0 0;
  border-top: 1px solid var(--color-border);
}
.result-detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.result-detail-row dt {
  color: var(--color-navy);
  font-weight: 700;
}
.result-detail-row dd {
  margin: 0;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

@media (min-width: 720px) {
  .result-card {
    padding: var(--sp-7) var(--sp-6);
  }
}
@media (max-width: 520px) {
  .result-card { padding: var(--sp-5); }
  .result-price { font-size: var(--fs-2xl); }
  .result-detail-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ===== お問い合わせ 連絡手段リスト（電話・LINE・メール） ===== */
.contact-list {
  list-style: none;
  margin: var(--sp-4) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.contact-list > li { margin: 0; }
.contact-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 76px;
  padding: var(--sp-3) var(--sp-5);
  border-radius: 14px;
  text-decoration: none;
  color: var(--color-navy);
  background: #fff;
  border: 1.5px solid #d8e2ec;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.contact-btn:hover {
  transform: translateY(-1px);
  background: #f7fbff;
  border-color: var(--color-green);
  box-shadow: 0 8px 18px rgba(8, 34, 74, 0.08);
}
.contact-btn:focus-visible {
  outline: 2px solid var(--color-green-dark);
  outline-offset: 3px;
}
.contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
}
.contact-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.contact-label {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.contact-sub {
  font-size: var(--fs-sm);
  line-height: 1.5;
  opacity: 0.92;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}
.contact-strong {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.contact-sub-divider {
  opacity: 0.55;
}
.contact-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.contact-btn:hover .contact-arrow { transform: translateX(2px); }

/* アイコン背景：種類ごとに変える（ボタン本体は全部共通の白＋枠線） */
.contact-btn-phone .contact-icon {
  background: var(--color-green);
  color: #fff;
}
.contact-btn-line .contact-icon {
  background: transparent;
  padding: 0;
}
.contact-btn-mail .contact-icon {
  background: #eaf4e3;
  color: var(--color-green-dark);
}
.contact-sub { color: #6b7c8e; opacity: 1; }
.contact-strong { color: var(--color-navy); }

@media (max-width: 520px) {
  .contact-btn { gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); min-height: 72px; }
  .contact-icon { width: 40px; height: 40px; }
  .contact-label { font-size: var(--fs-base); }
  .contact-sub { font-size: var(--fs-xs); }
  .contact-arrow { display: none; }
}

/* ===== Footer ===== */
.site-footer {
  padding: var(--sp-8) 0 var(--sp-5);
  border-top: 1px solid #d5e2ef;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #f4fbf2 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.footer-brand img {
  width: auto;
  height: 48px;
  margin: 0 auto;
}
.footer-contact {
  text-align: center;
}
.footer-contact-label {
  margin: 0 0 var(--sp-1);
  color: #52657a;
  font-size: var(--fs-sm);
}
.footer-company-name {
  margin: 0 0 2px;
  color: #183452;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.footer-tel {
  display: inline-flex;
  flex-direction: column;
  color: var(--color-navy);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.footer-tel small {
  display: block;
  margin-top: var(--sp-1);
  color: #65768a;
  font-size: var(--fs-xs);
  font-weight: 400;
}
.footer-address {
  margin: var(--sp-2) 0 0;
  color: #65768a;
  font-size: var(--fs-xs);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-inline: var(--sp-5);
  font-size: var(--fs-sm);
}
.footer-nav a {
  color: #65768a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-copy {
  margin: var(--sp-5) var(--sp-5) 0;
  padding-top: var(--sp-4);
  border-top: 1px solid #e1e8f0;
  color: #718195;
  font-size: var(--fs-xs);
  text-align: center;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: var(--sp-8);
  }
  .footer-contact {
    justify-self: end;
    text-align: right;
  }
  .footer-brand img {
    margin: 0;
  }
  .footer-tel {
    align-items: flex-end;
  }
}

/* ===== Skip link（アクセシビリティ：キーボードで本文へジャンプ） ===== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 16px;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.15s ease;
  z-index: 9999;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid rgba(244, 122, 0, 0.5);
  outline-offset: 2px;
}

/* ===== Form submit notes：3 つの注意書きを統一 ===== */
.form-submit > p {
  margin: 0;
  color: #5f7084;
  font-size: var(--fs-sm);
  line-height: 1.7;
  text-align: left;
}
.form-submit > p::before { content: ""; }
.form-submit-note,
.form-submit .result-note {
  margin: 0;
  text-align: left;
}
