:root {
  color-scheme: light;
  --ink: #10233f;
  --muted: #526274;
  --soft: #f7f1e7;
  --paper: #fffdf9;
  --line: #ded4c3;
  --navy: #123057;
  --teal: #0d7f8d;
  --teal-dark: #075e68;
  --gold: #c98f2c;
  --warm: #fff5e4;
  --shadow: 0 18px 55px rgba(25, 38, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 20px;
  line-height: 1.85;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f7ead4 48%, #d5a54b 100%);
  color: #10233f;
  font-family: "HanziPen SC", "Klee", "YuKyokasho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 2px rgba(18, 48, 87, 0.12), 0 8px 22px rgba(18, 48, 87, 0.16);
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover {
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: 760px;
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px) 60px;
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.88) 42%, rgba(255, 253, 249, 0.45) 100%),
    radial-gradient(circle at 12% 12%, rgba(13, 127, 141, 0.14), transparent 32%),
    var(--paper);
}

.hero-copy {
  max-width: 730px;
}

.hero-alert,
.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: 0;
}

.hero-alert {
  display: block;
  width: min(100%, 820px);
  margin-bottom: 26px;
  padding: clamp(20px, 3vw, 30px);
  border: 5px solid rgba(13, 127, 141, 0.24);
  border-left: 18px solid var(--teal);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fbfa 100%);
  color: #064f58;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.16;
  box-shadow: 0 18px 48px rgba(13, 127, 141, 0.2);
}

.hero-alert span,
.hero-alert strong {
  display: block;
}

.hero-alert span {
  margin-bottom: 8px;
}

.hero-alert strong {
  color: var(--navy);
  font-size: 1.18em;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 10px;
  text-underline-offset: -4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.17;
  letter-spacing: 0;
}

.hero-copy h1 {
  color: #142746;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-weight: 800;
  line-height: 1.28;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.35;
}

.lead {
  margin-bottom: 28px;
  color: #263c58;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.75;
}

.hero-copy .lead {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-weight: 700;
  line-height: 1.9;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border-color: var(--teal);
  color: var(--teal-dark);
}

.button.wide {
  width: 100%;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.reassurance {
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.hero-visual img {
  display: block;
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.notice-band {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 22px clamp(20px, 5vw, 72px);
  background: var(--navy);
  color: #fff;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 800;
}

.notice-band strong {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--gold);
  color: #191106;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.cards,
.steps,
.faq-list,
.mini-grid {
  display: grid;
  gap: 18px;
}

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

.card,
.step,
details,
.price-box,
.contact-section,
.guide,
.law {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(31, 43, 62, 0.08);
}

.card,
.step {
  padding: 28px;
}

.card p,
.step p,
details p,
.guide p,
.contact-section p {
  color: var(--muted);
  font-size: 20px;
}

.card-icon,
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--warm);
  color: var(--teal-dark);
  font-weight: 900;
}

.card-icon {
  width: 48px;
  height: 48px;
}

.step span {
  min-height: 42px;
  padding: 4px 14px;
  font-size: 16px;
}

.price-section {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.price-box {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 56px);
}

.price {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
}

.price span {
  font-size: clamp(72px, 12vw, 132px);
  line-height: 1;
}

.price-note {
  color: var(--muted);
  font-size: 21px;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px 16px 52px;
  border-radius: 8px;
  background: #f5fbfa;
  font-size: 22px;
  font-weight: 800;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: var(--teal);
  font-weight: 900;
}

.payment-box {
  margin-top: 28px;
  padding: 26px;
  border-radius: 8px;
  background: var(--warm);
}

.bank-box {
  margin-top: 22px;
  padding: 22px;
  border: 2px solid rgba(13, 127, 141, 0.22);
  border-radius: 8px;
  background: #fff;
}

.bank-box h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}

.bank-box p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 19px;
  font-weight: 800;
}

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

.bank-box dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bank-box dt,
.bank-box dd {
  padding: 12px 14px;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.45;
}

.bank-box dt {
  background: #f5fbfa;
  color: var(--teal-dark);
}

.bank-box dd {
  color: var(--navy);
  font-weight: 900;
}

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

.warm {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  background: var(--warm);
}

.large-list {
  display: grid;
  gap: 14px;
}

.large-list p {
  margin: 0;
  padding: 20px 24px;
  border-left: 8px solid var(--teal);
  border-radius: 6px;
  background: #fff;
  font-size: clamp(22px, 2.3vw, 29px);
  font-weight: 900;
}

details {
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 24px 30px;
  color: var(--navy);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
}

details p {
  padding: 0 30px 28px;
  margin-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: center;
  margin: clamp(30px, 5vw, 56px) clamp(20px, 5vw, 72px);
  padding: clamp(34px, 6vw, 56px);
  background: var(--navy);
  color: #fff;
}

.contact-section .section-label,
.contact-section p {
  color: #d9f7f7;
}

.guide {
  margin: 0 clamp(20px, 5vw, 72px) clamp(46px, 6vw, 80px);
}

.guide .mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.mini-grid div,
.mini-grid a {
  display: block;
  padding: 20px;
  border-radius: 8px;
  background: #f5fbfa;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.mini-grid a {
  border: 2px solid rgba(13, 127, 141, 0.18);
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.45;
}

.mini-grid a:hover {
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mini-grid a span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.law dl {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.law dl div {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--line);
}

.law dl div:last-child {
  border-bottom: 0;
}

dt,
dd {
  margin: 0;
  padding: 18px 20px;
}

dt {
  background: #f8f3ea;
  font-weight: 900;
}

dd {
  color: var(--muted);
  font-weight: 700;
}

.law {
  max-width: 980px;
  margin: 0 auto;
  box-shadow: none;
}

.law .section-label {
  font-size: 16px;
}

.law h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.law dt,
.law dd {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.6;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 16px 22px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

footer {
  padding: 36px 20px 80px;
  background: #0b1d35;
  color: #d9e8f7;
  text-align: center;
}

footer p {
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .warm,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards,
  .steps,
  .guide .mini-grid {
    grid-template-columns: 1fr;
  }

  .notice-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 20px;
    line-height: 1.8;
  }

  .site-header {
    position: static;
    padding: 14px 16px;
  }

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

  nav a {
    padding: 7px 9px;
    font-size: 14px;
  }

  .hero {
    padding: 28px 16px 42px;
  }

  .hero-alert {
    display: block;
    width: 100%;
    margin-bottom: 22px;
    padding: 20px 16px;
    border-left-width: 12px;
    font-size: clamp(37px, 11.4vw, 54px);
    line-height: 1.14;
  }

  .hero-alert strong {
    font-size: 1.22em;
    text-decoration-thickness: 8px;
  }

  h1 {
    font-size: clamp(32px, 8.6vw, 44px);
  }

  .lead {
    font-size: 23px;
    line-height: 1.65;
  }

  .section {
    padding: 48px 16px;
  }

  .price-box,
  .card,
  .step,
  .payment-box {
    padding: 22px 18px;
  }

  .price span {
    font-size: clamp(78px, 21vw, 110px);
  }

  .check-list li {
    padding: 16px 14px 16px 48px;
    font-size: 21px;
    line-height: 1.55;
  }

  .button {
    width: 100%;
    min-height: 72px;
    font-size: 23px;
  }

  .bank-box {
    padding: 18px;
  }

  .bank-box dl div {
    grid-template-columns: 1fr;
  }

  .bank-box dt {
    padding-bottom: 6px;
  }

  .bank-box dd {
    padding-top: 6px;
  }

  .hero-visual img {
    min-height: 280px;
  }

  .law dl div {
    grid-template-columns: 1fr;
  }

  dt {
    padding-bottom: 8px;
  }

  dd {
    padding-top: 8px;
    word-break: break-word;
  }

  .law {
    margin: 0 14px;
  }
}
