:root {
  --ink: #15243a;
  --ink-soft: #415168;
  --navy: #132d4f;
  --navy-deep: #0d213a;
  --teal: #19776f;
  --teal-soft: #e6f3f1;
  --amber: #d78c25;
  --amber-soft: #fff4df;
  --paper: #ffffff;
  --canvas: #f6f8f7;
  --line: #d8e0df;
  --line-strong: #b8c5c5;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow: 0 18px 50px rgba(13, 33, 58, 0.1);
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
  line-break: strict;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--paper);
  background: var(--navy-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.proposal-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 38px;
  padding: 7px 20px;
  color: #fff;
  background: var(--navy-deep);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.proposal-notice strong {
  color: #ffd895;
  white-space: nowrap;
}

.proposal-notice span {
  overflow-wrap: normal;
  word-break: auto-phrase;
  text-wrap: pretty;
}

@media (max-width: 640px) {
  .proposal-notice {
    flex-direction: column;
    gap: 2px;
    padding-block: 9px;
  }

  .proposal-notice strong {
    white-space: normal;
  }

  .status-chip {
    max-width: 15ch;
    line-height: 1.35;
    text-align: center;
  }
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
}

.status-chip {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(215, 140, 37, 0.14), transparent 23rem),
    linear-gradient(145deg, #f8fbfa 0%, #edf5f2 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -85px;
  right: 8%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(25, 119, 111, 0.22);
  animation: float-decoration 14s ease-in-out infinite;
}

.hero::after {
  right: -36px;
  bottom: -72px;
  width: 160px;
  height: 160px;
  background: rgba(25, 119, 111, 0.08);
  animation: float-decoration 17s ease-in-out 1s infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.35;
}

h1 {
  max-width: 12em;
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
}

h1 .hero-title__accent {
  color: var(--teal);
}

.hero-title__line {
  display: block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.3vw, 2.8rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  justify-content: center;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

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

.button-secondary {
  border-color: var(--line-strong);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.8);
}

.button-disabled {
  min-width: 280px;
  border-color: var(--line-strong);
  color: #657171;
  background: #e8eceb;
  cursor: not-allowed;
}

.microcopy {
  max-width: 45rem;
  margin: 17px 0 0;
  color: #63716f;
  font-size: 0.76rem;
}

.order-map {
  position: relative;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(25, 119, 111, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.map-label {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.order-map ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-map li {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 76px;
}

.order-map li:not(:last-child)::after {
  position: absolute;
  top: 61px;
  bottom: -15px;
  left: 22px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.order-map li > span {
  display: grid;
  z-index: 1;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 0.73rem;
  font-weight: 800;
}

.order-map strong,
.order-map small {
  display: block;
}

.order-map strong {
  margin-bottom: 2px;
}

.order-map small {
  color: var(--ink-soft);
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-compact {
  padding-bottom: clamp(54px, 7vw, 84px);
}

.section-tint {
  background: #edf3f2;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.entry-card {
  position: relative;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(13, 33, 58, 0.05);
}

.entry-card p {
  color: var(--ink-soft);
}

.entry-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 4px;
}

.card-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
  background: var(--amber-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.comparison-card {
  min-width: 0;
  padding: 26px;
  border-top: 4px solid var(--teal);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--paper);
}

.placeholder-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.comparison-card dl {
  margin: 20px 0 0;
}

.comparison-card dl div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.comparison-card dt {
  font-size: 0.82rem;
  font-weight: 700;
}

.comparison-card dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  word-break: normal;
  word-break: auto-phrase;
}

.boundary-note {
  margin: 20px 0 0;
  padding: 14px 17px;
  border-left: 3px solid var(--amber);
  color: var(--ink-soft);
  background: var(--amber-soft);
  font-size: 0.82rem;
}

.reorder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 8vw, 100px);
}

.sticky-heading {
  align-self: start;
}

.reorder-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reorder-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.reorder-list li > span {
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.reorder-list h3 {
  margin-bottom: 5px;
}

.reorder-list p {
  margin: 0;
  color: var(--ink-soft);
}

.policy-section {
  color: #fff;
  background: var(--navy-deep);
}

.policy-section .eyebrow {
  color: #83d6cc;
}

.policy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
}

.policy-panel blockquote {
  margin: 0;
  padding: 30px;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.08);
}

.policy-panel blockquote p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  word-break: normal;
  word-break: auto-phrase;
}

.policy-panel blockquote footer {
  margin-top: 14px;
  color: #c2cdd8;
  font-size: 0.78rem;
}

.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.check-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(13, 33, 58, 0.06);
}

.check-panel-title {
  margin: 0 0 18px;
  font-weight: 800;
}

.check-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-panel li {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--teal-soft);
}

.check-panel li span {
  color: var(--teal);
  font-weight: 800;
}

.check-panel > p:last-child {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-width: 0;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.flow-list li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 42px;
  right: -10px;
  color: var(--amber);
  content: "→";
  font-weight: 800;
}

.flow-list span,
.flow-list strong,
.flow-list small {
  display: block;
}

.flow-list span {
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.flow-list small {
  margin-top: 6px;
  color: var(--ink-soft);
}

.faq-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 8vw, 100px);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 19px;
  right: 6px;
  color: var(--teal);
  content: "＋";
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 0 20px;
  color: var(--ink-soft);
}

.final-cta {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(25, 119, 111, 0.95), rgba(19, 45, 79, 0.97));
}

.final-cta .eyebrow {
  color: #bfe7e2;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
}

.final-cta-inner h2 {
  margin-bottom: 10px;
}

.final-cta-inner p {
  margin-bottom: 0;
}

.disabled-help {
  grid-column: 2;
  margin-top: -12px;
  color: #dce8e7;
  font-size: 0.75rem;
  text-align: center;
}

.site-footer {
  padding: 32px 0 110px;
  color: #ced8e2;
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.76rem;
}

.mobile-cta {
  display: none;
}

.reveal {
  animation: reveal-up 560ms cubic-bezier(0.2, 0.72, 0.28, 1) both;
}

.reveal-delay {
  animation: reveal-up 660ms 100ms cubic-bezier(0.2, 0.72, 0.28, 1) both;
}

.button,
.entry-card,
.comparison-card,
.reorder-list li,
.faq-list summary {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover {
    transform: translateY(-2px);
  }

  .button-primary:hover {
    background: #12665f;
    box-shadow: 0 10px 24px rgba(25, 119, 111, 0.2);
  }

  .button-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  .entry-card:hover,
  .comparison-card:hover,
  .reorder-list li:hover {
    border-color: #aabdbb;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(13, 33, 58, 0.08);
  }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #f2ae4d;
  outline-offset: 4px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-decoration {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 10px, 0);
  }
}

@media (min-width: 900px) {
  .sticky-heading {
    position: sticky;
    top: 32px;
  }
}

@media (max-width: 899px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero-grid,
  .reorder-grid,
  .policy-panel,
  .consult-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .policy-panel,
  .consult-grid,
  .faq-grid {
    gap: 28px;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li:nth-child(2)::after {
    display: none;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .disabled-help {
    grid-column: 1;
    margin-top: -8px;
    text-align: left;
  }
}

@media (max-width: 599px) {
  :root {
    --shell: min(100% - 28px, 560px);
  }

  body {
    padding-bottom: 80px;
  }

  .proposal-notice {
    display: block;
    padding: 9px 14px;
    line-height: 1.55;
  }

  .proposal-notice strong,
  .proposal-notice span {
    display: block;
  }

  .proposal-notice strong {
    white-space: normal;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand small {
    max-width: 18em;
  }

  .status-chip {
    display: none;
  }

  .hero {
    padding: 58px 0 64px;
  }

  h1 {
    font-size: clamp(1.9rem, 9.4vw, 2.95rem);
    line-height: 1.28;
    letter-spacing: -0.035em;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .order-map {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .entry-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .entry-card,
  .comparison-card,
  .reorder-list li,
  .check-panel {
    padding: 22px;
  }

  .comparison-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .comparison-card dd {
    font-size: 0.78rem;
  }

  .reorder-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .check-panel ul {
    grid-template-columns: 1fr;
  }

  .policy-panel blockquote p {
    font-size: 1rem;
  }

  .policy-panel blockquote {
    padding: 18px;
  }

  .flow-list li::after {
    display: none;
  }

  .button-disabled {
    width: 100%;
    min-width: 0;
  }

  .footer-inner {
    display: grid;
  }

  .site-footer {
    padding-bottom: 32px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    min-height: 80px;
    padding: 12px 14px;
    border-top: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.97);
  }

  .mobile-cta button {
    width: 100%;
    min-height: 54px;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: #657171;
    background: #e8eceb;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
