:root {
  --bg: #f6f3ec;
  --bg-soft: #fbfaf7;
  --card: #ffffff;
  --line: #d8e1d7;
  --text: #1f2a2d;
  --muted: #475651;
  --navy: #1f3c55;
  --navy-2: #2d5678;
  --green: #5d8564;
  --green-soft: #eef5ef;
  --beige: #efe6d9;
  --accent: #ebb467;
  --danger: #b14e42;
  --shadow: 0 14px 34px rgba(31, 42, 45, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1100px, calc(100% - 28px));
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #fcfbf8 0%, var(--bg) 100%);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid #cad6cd;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}
textarea { min-height: 136px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(93, 133, 100, 0.18);
  border-color: var(--green);
}
.container { width: var(--container); margin: 0 auto; }
.section { padding: 64px 0; }
.section-head { max-width: 740px; margin-bottom: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 13px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(28px, 4vw, 52px); line-height: 1.16; letter-spacing: .01em; }
h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.3; margin-top: 14px; }
h3 { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.42; }
p.lead, .section-head p, .muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 40; min-height: var(--header-h);
  backdrop-filter: blur(12px); background: rgba(252, 251, 248, 0.94); border-bottom: 1px solid rgba(216,225,215,.8);
}
.site-header__inner {
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; max-width: 430px; }
.brand img { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__text { min-width: 0; }
.brand__name { font-weight: 800; color: var(--navy); font-size: 16px; line-height: 1.22; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .btn { min-height: 44px; padding: 11px 14px; font-size: 13px; }
.header-actions .btn__icon { width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; padding: 14px 18px; text-align: center; font-weight: 800; cursor: pointer;
  transition: transform .2s ease, opacity .2s ease; white-space: nowrap; line-height: 1.2; letter-spacing: .01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn--primary { color: #fff; background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: 0 10px 22px rgba(31,60,85,.16); }
.btn--secondary { color: var(--navy); background: #fff; border: 1px solid rgba(31,60,85,.14); }
.btn--soft { color: var(--green); background: var(--green-soft); }
.btn--wide { width: 100%; min-height: 54px; }
.btn__icon, .icon { width: 18px; height: 18px; flex: 0 0 auto; }

.hero { padding: 14px 0 24px; }
.hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, .98fr);
  grid-template-areas:
    "intro media"
    "actions media";
  gap: 18px 22px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(249,247,242,.99));
  border: 1px solid rgba(216,225,215,.92); border-radius: 32px; padding: 24px 28px; box-shadow: var(--shadow);
}
.hero__intro { grid-area: intro; display: grid; gap: 12px; align-content: start; min-width: 0; }
.hero__intro h1 { max-width: 11.8ch; text-wrap: balance; }
.hero__actions { grid-area: actions; display: grid; gap: 12px; align-content: start; min-width: 0; max-width: 540px; }
.hero__copy { display: grid; gap: 12px; }
.hero__lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 34ch; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid rgba(216,225,215,.92); font-size: 13px; color: var(--text); font-weight: 700;
}
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__cta .btn { min-height: 56px; font-size: 15px; }
.hero__cta .btn--primary { min-height: 60px; font-size: 16px; box-shadow: 0 14px 26px rgba(31,60,85,.18); }
.hero__note { font-size: 13px; color: var(--muted); font-weight: 600; line-height: 1.55; }
.hero__media {
  grid-area: media; align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0;
}
.hero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 24px;
  border: 1px solid rgba(216,225,215,.92); box-shadow: 0 10px 28px rgba(31,42,45,.08); max-height: 360px;
}
.trust-strip {
  margin-top: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
}
.trust-card, .card, .faq-item, .step-card {
  background: #fff; border: 1px solid rgba(216,225,215,.95); border-radius: 20px; box-shadow: 0 10px 24px rgba(31,42,45,.05);
}
.trust-card { padding: 16px; }
.trust-card strong { display: block; margin-bottom: 6px; color: var(--navy); }
.trust-card p { font-size: 14px; line-height: 1.7; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.visual-card img, .visual-card .img-box {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px;
}
.visual-card { padding: 14px; position: sticky; top: 84px; }
.visual-card .caption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.72; }

.problem-list, .services-grid, .reason-grid, .assurance-grid, .pricing-grid, .faq-grid, .footer-grid {
  display: grid; gap: 14px;
}
.problem-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.problem-item, .service-card, .reason-card, .assurance-card, .pricing-card { padding: 18px; }
.problem-item {
  display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid rgba(216,225,215,.95); border-radius: 18px;
  box-shadow: 0 8px 22px rgba(31,42,45,.05);
}
.problem-item .badge {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #fff2df; color: #b37a2f; flex: 0 0 auto;
}
.services-grid, .reason-grid, .assurance-grid, .pricing-grid, .faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.service-card, .reason-card, .assurance-card, .pricing-card { background: #fff; }
.service-card__top, .mini-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.service-card__icon, .mini-icon {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg,#eef4ee,#e2ece3); color: var(--green);
}
.reason-number, .step-num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 84px; padding: 8px 12px; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-weight: 800; margin-bottom: 12px;
}
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.step-card { padding: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag {
  padding: 10px 15px; border-radius: 999px; background: #fff; border: 1px solid rgba(216,225,215,.95); font-weight: 700; color: var(--navy);
}
.soft-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,247,242,.98)); border: 1px solid rgba(216,225,215,.95); border-radius: 28px; padding: 24px; box-shadow: var(--shadow);
}
.cta-band {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center;
  background: linear-gradient(135deg, #203d56, #2d5678); color: #fff; border-radius: 30px; padding: 28px; box-shadow: var(--shadow);
}
.cta-band p { color: rgba(255,255,255,.84); }
.cta-band__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cta-band__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.cta-band .btn--secondary { background: #fff; }
.cta-band .btn--soft { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.18); }

.form-shell {
  background: #fff; border: 1px solid rgba(216,225,215,.95); border-radius: 28px; padding: 24px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-weight: 700; }
.required { display: inline-flex; margin-left: 8px; font-size: 12px; color: var(--danger); background: #fff0ef; padding: 2px 8px; border-radius: 999px; }
.help, .consent-copy, .submit-note { color: var(--muted); font-size: 14px; }
.error {
  display: none; color: var(--danger); font-size: 13px; line-height: 1.5;
  background: #fff5f4; border: 1px solid #f2d1cd; border-radius: 12px; padding: 8px 10px;
}
.input-error { border-color: var(--danger); background: #fffafa; }
.consent-box { margin-top: 18px; padding: 18px; border-radius: 18px; background: var(--bg-soft); border: 1px solid rgba(216,225,215,.95); }
.checkbox-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.checkbox-line input { width: 22px; min-width: 22px; height: 22px; min-height: 22px; margin-top: 2px; }

.faq-item { padding: 18px; }
.faq-item details { width: 100%; }
.faq-item summary { list-style: none; font-weight: 800; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green); font-size: 20px; line-height: 1; }
.faq-item details[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--muted); }

.site-footer {
  padding: 36px 0 calc(108px + env(safe-area-inset-bottom)); margin-top: 40px; background: #183247; color: rgba(255,255,255,.88);
}
.footer-grid { grid-template-columns: 1.2fr 1fr; }
.footer-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.footer-card h3 { color: #fff; margin-bottom: 10px; }
.footer-logo { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.footer-logo img { width: 38px; height: 38px; flex: 0 0 auto; }
.footer-logo__title { color: #fff; font-weight: 800; line-height: 1.3; }
.footer-logo__sub { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; margin-top: 4px; }
.footer-links { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.footer-bottom { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.64); }

.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 18px;
  background: rgba(255,255,255,.93); backdrop-filter: blur(12px); border: 1px solid rgba(216,225,215,.95); box-shadow: 0 14px 26px rgba(31,42,45,.16);
}

@media (max-width: 980px) {
  .hero__shell, .grid-2, .cta-band, .footer-grid,
  .services-grid, .reason-grid, .assurance-grid, .pricing-grid, .faq-grid,
  .problem-list, .form-grid, .step-grid, .trust-strip { grid-template-columns: 1fr; }
  .hero__shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "actions"
      "media";
    gap: 16px;
  }
  .hero__intro h1, .hero__lead, .hero__actions { max-width: none; }
  .visual-card { position: static; }
  .cta-band__buttons, .hero__cta { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 20px, 1000px); --header-h: 58px; }
  body { font-size: 15px; }
  .section { padding: 48px 0; }
  h1 { font-size: clamp(25px, 7.4vw, 31px); line-height: 1.14; }
  h2 { font-size: clamp(23px, 6vw, 29px); }
  .site-header__inner { gap: 8px; padding: 7px 0; }
  .brand { gap: 8px; max-width: calc(100% - 154px); }
  .brand img { width: 28px; height: 28px; }
  .brand__name {
    font-size: 12px; line-height: 1.24; white-space: normal; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .brand__sub { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .btn { min-height: 38px; padding: 9px 10px; font-size: 11px; }
  .header-actions .btn__icon { width: 14px; height: 14px; }
  .hero { padding: 10px 0 20px; }
  .hero__shell { padding: 16px 14px 14px; gap: 12px; border-radius: 22px; }
  .hero__intro { gap: 10px; }
  .hero__intro h1 { max-width: 10.8ch; }
  .hero__lead { font-size: 13.5px; line-height: 1.58; }
  .hero__actions { gap: 10px; }
  .hero__chips { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
  .chip {
    min-height: 40px; justify-content: center; text-align: center; line-height: 1.32;
    font-size: 10.5px; padding: 7px 6px; gap: 5px;
  }
  .chip .icon { width: 14px; height: 14px; }
  .hero__cta { gap: 8px; }
  .hero__cta .btn { min-height: 50px; padding: 12px; font-size: 14px; }
  .hero__cta .btn--primary { min-height: 54px; font-size: 15px; }
  .hero__note { font-size: 11.5px; line-height: 1.5; text-align: center; }
  .hero__media img { max-height: 136px; aspect-ratio: 16 / 9; object-position: center; border-radius: 18px; }
  .trust-card, .problem-item, .service-card, .reason-card, .assurance-card, .pricing-card, .step-card, .faq-item, .footer-card, .form-shell { padding: 16px; }
  .soft-panel, .cta-band { padding: 18px; border-radius: 24px; }
  .cta-band__media img { max-height: 220px; }
  .footer-logo img { width: 32px; height: 32px; }
  .field label, .submit-note, .help, .consent-copy, .error { font-size: 13px; }
  .mobile-cta { display: grid; }
  .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}
