:root {
  --navy: #10263f;
  --ink: #162331;
  --muted: #657182;
  --ivory: #f8f4ec;
  --paper: #fffdf8;
  --sage: #8fa399;
  --teal: #286d74;
  --coral: #c96c58;
  --brass: #b89047;
  --line: rgba(16, 38, 63, 0.12);
  --shadow: 0 24px 70px rgba(20, 30, 45, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 34px rgba(11, 24, 38, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 2px;
  font-size: 0.68rem;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 8px 17px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 63% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 18, 32, 0.9) 0%, rgba(8, 18, 32, 0.72) 33%, rgba(8, 18, 32, 0.2) 63%, rgba(8, 18, 32, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 18, 32, 0.35) 0%, rgba(8, 18, 32, 0.08) 44%, rgba(8, 18, 32, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 188px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e4be74;
  font-size: 0.9rem;
}

h1,
h2,
h3,
p,
li,
summary {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(3.15rem, 8vw, 7.1rem);
  font-weight: 700;
  line-height: 1.06;
}

.desktop-title-line,
.mobile-title-line {
  display: block;
}

.mobile-title-line {
  display: none;
}

h2 {
  margin-bottom: 22px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.25;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.45;
}

.hero-copy {
  max-width: min(650px, 100%);
  margin-bottom: 34px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.88);
}

.mobile-copy {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 14px 36px rgba(201, 108, 88, 0.3);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 1px;
  width: min(100%, 520px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-metrics dt {
  margin-bottom: 2px;
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.section {
  padding: clamp(76px, 10vw, 126px) 0;
}

.section-inner {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.problem {
  background: var(--navy);
  color: #fff;
}

.problem-grid,
.intro-grid,
.strength-grid,
.price-grid,
.faq-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
}

.problem h2,
.problem p {
  color: #fff;
}

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

.problem-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.problem-list span {
  color: #e4be74;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.problem-list p {
  margin: 0;
}

.intro {
  background: linear-gradient(180deg, var(--paper), var(--ivory));
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.intro-copy p,
.strength-copy p,
.price-grid > div > p,
.contact-grid > div > p {
  color: var(--muted);
  font-size: 1rem;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.services {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 268px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(40, 109, 116, 0.1);
}

.service-card p,
.strength-cards p,
.flow-list p,
.price-cards p,
.faq-list p {
  color: var(--muted);
  font-size: 0.95rem;
}

.strength {
  background: linear-gradient(135deg, #f4f7f2, #fffaf0 52%, #fbf3ee);
}

.strength-cards {
  display: grid;
  gap: 16px;
}

.strength-cards article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(43, 55, 72, 0.08);
}

.strength-cards strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--coral);
  font-family: Georgia, serif;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(32px, 5vw, 56px);
  color: #fff;
  background: var(--navy);
}

.visual-band img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.visual-band p {
  color: rgba(255, 255, 255, 0.76);
}

.visual-band h2 {
  max-width: 520px;
}

.flow {
  background: var(--paper);
}

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

.flow-list li {
  position: relative;
  min-height: 230px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.flow-list span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price {
  background: var(--ivory);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.price-cards article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-cards .featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.plan-name {
  margin-bottom: 12px;
  font-weight: 900;
}

.price-cards strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  white-space: nowrap;
}

.price-cards span {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
}

.price-cards .price-unit {
  font-size: 0.95rem;
}

.price-cards .featured p {
  color: rgba(255, 255, 255, 0.78);
}

.faq {
  background: #fff;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
  margin: 0;
}

.contact {
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(201, 108, 88, 0.18), transparent 32%),
    linear-gradient(135deg, #10263f, #173a47 58%, #2a4f4e);
}

.contact .eyebrow,
.contact h2,
.contact p {
  color: #fff;
}

.contact-grid {
  align-items: start;
}

.contact-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-note span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(228, 190, 116, 0.8);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: #e4be74;
  font-weight: 800;
}

.footer {
  padding: 32px 0;
  color: #fff;
  background: #071523;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 150px;
  }

  .problem-grid,
  .intro-grid,
  .strength-grid,
  .price-grid,
  .faq-grid,
  .contact-grid,
  .visual-band {
    grid-template-columns: 1fr;
  }

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

  .visual-band {
    padding: 28px 18px 54px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  h2,
  h3,
  p,
  li,
  summary {
    word-break: auto-phrase;
  }

  .site-header {
    padding: 13px 16px;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 18, 32, 0.72), rgba(8, 18, 32, 0.8)),
      linear-gradient(90deg, rgba(8, 18, 32, 0.86), rgba(8, 18, 32, 0.34));
  }

  .hero-content {
    width: min(calc(100% - 30px), var(--max));
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 3.55rem);
    line-height: 1.09;
  }

  .desktop-title-line {
    display: none;
  }

  .mobile-title-line {
    display: block;
  }

  h2 {
    font-size: clamp(1.75rem, 8.6vw, 2.25rem);
    line-height: 1.35;
  }

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

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .problem-list article {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .flow-list,
  .price-cards {
    grid-template-columns: 1fr;
  }

  .service-card,
  .flow-list li {
    min-height: 0;
  }

  .image-panel img {
    aspect-ratio: 1 / 1.05;
  }
}
