/* ========================================
   Design Tokens
======================================== */
:root {
  --blue: #0057b8;
  --blue-dark: #003c84;
  --blue-light: #eaf5ff;
  --cyan: #12a8e0;
  --yellow: #ffd928;
  --red: #d71920;

  --text: #173153;
  --text-muted: #5b6f87;
  --line: #dce7f1;
  --surface: #ffffff;
  --surface-soft: #f5faff;
  --shadow: 0 14px 38px rgba(0, 61, 132, 0.12);

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;

  --container: 1120px;
  --header-height: 74px;
}

/* ========================================
   Reset / Base
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding-block: 76px;
}

.section--soft {
  background: var(--surface-soft);
}

.section--blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 10px 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 8px 12px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

/* ========================================
   Heading
======================================== */
.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading__eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.section-heading__eyebrow--light {
  color: #bde9ff;
}

.section-heading h2,
.character-banner h2,
.brand-story h2,
.cta h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ========================================
   Header
======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  color: var(--blue-dark);
  font-size: 0.98rem;
}

.brand__text small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.site-nav__toggle {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--blue-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-nav__toggle i {
  font-size: 1.6rem;
}

.site-nav__menu {
  position: absolute;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  display: none;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.site-nav__menu.is-open {
  display: grid;
  gap: 12px;
}

.site-nav__menu > a:not(.button) {
  padding: 8px 4px;
  font-weight: 800;
}

/* ========================================
   Buttons
======================================== */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.button--small {
  min-height: 42px;
  padding: 9px 18px;
  font-size: .9rem;
}

.button--large {
  min-height: 58px;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #0875d1, var(--blue));
  box-shadow: 0 12px 24px rgba(0, 87, 184, .23);
}

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

.button--white {
  color: var(--blue-dark);
  background: #fff;
}

.button--outline {
  color: #fff;
  border-color: rgba(255,255,255,.75);
}

/* ========================================
   Hero
======================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(46, 189, 241, .13), transparent 24%),
    linear-gradient(180deg, #fff 0%, #edf8ff 100%);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  content: "";
  background: rgba(255, 217, 40, .12);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
  padding-block: 40px 52px;
}

.hero__eyebrow {
  display: inline-block;
  padding: 7px 13px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.hero__title {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 10vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.hero__title span {
  color: var(--blue);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
}

.hero-point i {
  color: var(--blue);
}

.hero__actions {
  display: grid;
  gap: 10px;
}

.hero__note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: .82rem;
}

.hero__media {
  position: relative;
}

.hero__media img {
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* ========================================
   Trust strip
======================================== */
.trust-strip {
  background: var(--blue-dark);
  color: #fff;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.trust-strip__grid > div {
  display: grid;
  gap: 2px;
  padding: 18px 10px;
  text-align: center;
}

.trust-strip i {
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 1.4rem;
}

.trust-strip strong {
  font-size: .9rem;
}

.trust-strip span {
  color: rgba(255,255,255,.68);
  font-size: .7rem;
}

/* ========================================
   Problem
======================================== */
.problem-grid {
  display: grid;
  gap: 16px;
}

.problem-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,61,132,.06);
}

.problem-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 16px;
}

.problem-card__icon i {
  font-size: 1.4rem;
}

.problem-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ========================================
   Service
======================================== */
.service-list {
  display: grid;
  gap: 26px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-card__image {
  background: #e8f6ff;
}

.service-card__image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
}

.service-card__image--square img {
  object-position: center;
}

.service-card__content {
  padding: 28px;
}

.service-card__tag {
  display: inline-flex;
  padding: 5px 10px;
  margin-bottom: 12px;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.service-card p {
  color: var(--text-muted);
}

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

.check-list li {
  position: relative;
  padding-left: 26px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: .1em;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 900;
}

/* ========================================
   Character banner
======================================== */
.character-banner {
  overflow: hidden;
}

.character-banner__inner {
  display: grid;
  gap: 30px;
  align-items: center;
}

.character-banner__image img {
  border: 7px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0,0,0,.15);
}

.character-banner__content p:not(.section-heading__eyebrow) {
  color: rgba(255,255,255,.84);
}

.quality-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quality-points span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
}

/* ========================================
   Reasons
======================================== */
.reason-grid {
  display: grid;
  gap: 16px;
}

.reason-card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.reason-card > span {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #dcecff;
  font-size: 2rem;
  font-weight: 900;
}

.reason-card > i {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 17px;
  font-size: 1.45rem;
}

.reason-card h3 {
  margin-bottom: 8px;
}

.reason-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ========================================
   Price
======================================== */
.price-grid {
  display: grid;
  gap: 16px;
}

.price-card {
  position: relative;
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.price-card--featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  padding: 5px 13px;
  color: var(--blue-dark);
  background: var(--yellow);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  transform: translateX(-50%);
}

.price-card__label {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 18px;
}

.price-card__price {
  margin-bottom: 0;
}

.price-card__price strong {
  color: var(--blue-dark);
  font-size: 2.15rem;
  line-height: 1;
}

.price-card__price span {
  margin-left: 4px;
  color: var(--text-muted);
  font-size: .82rem;
}

/* ========================================
   Flow
======================================== */
.flow-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.flow-item__number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 16px;
  font-size: .78rem;
  font-weight: 900;
}

.flow-item > i {
  padding-top: 10px;
  color: var(--blue);
  font-size: 1.4rem;
}

.flow-item h3 {
  margin-bottom: 5px;
}

.flow-item p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ========================================
   Brand Story
======================================== */
.brand-story__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.brand-story__content p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.brand-story__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ========================================
   FAQ
======================================== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-item summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-item summary i {
  flex: 0 0 auto;
  color: var(--blue);
  transition: transform .18s ease;
}

.faq-item[open] summary i {
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 20px 20px;
}

.faq-item__body p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ========================================
   CTA
======================================== */
.cta {
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(255,255,255,.15), transparent 30%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.cta__inner {
  display: grid;
  gap: 28px;
}

.cta p:not(.section-heading__eyebrow) {
  margin-bottom: 0;
  color: rgba(255,255,255,.8);
}

.cta__buttons {
  display: grid;
  gap: 10px;
}

/* ========================================
   Footer
======================================== */
.site-footer {
  padding-block: 42px 100px;
  color: rgba(255,255,255,.72);
  background: #062d5b;
}

.site-footer__inner {
  display: grid;
  gap: 26px;
}

.brand--footer .brand__text strong {
  color: #fff;
}

.brand--footer .brand__text small {
  color: rgba(255,255,255,.58);
}

.site-footer__inner p {
  margin: 10px 0 0;
  font-size: .86rem;
}

.site-footer__nav {
  display: grid;
  gap: 10px;
  font-size: .9rem;
}

.site-footer__bottom {
  padding-top: 26px;
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* ========================================
   Mobile CTA
======================================== */
.mobile-cta {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0, 61, 132, .22);
}

.mobile-cta a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 900;
}

.mobile-cta a:first-child {
  color: #fff;
  background: var(--blue);
}

/* ========================================
   Tablet / Desktop
======================================== */
@media (min-width: 768px) {
  .section {
    padding-block: 96px;
  }

  .site-nav__toggle {
    display: none;
  }

  .site-nav__menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav__menu > a:not(.button) {
    padding: 0;
    font-size: .88rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    min-height: 660px;
    padding-block: 58px 70px;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .problem-grid,
  .reason-grid,
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: stretch;
  }

  .service-card--reverse {
    grid-template-columns: 1.1fr .9fr;
  }

  .service-card--reverse .service-card__image {
    order: 2;
  }

  .service-card--reverse .service-card__content {
    order: 1;
  }

  .service-card__image img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .service-card__content {
    padding: 42px;
  }

  .character-banner__inner,
  .brand-story__inner {
    grid-template-columns: .85fr 1.15fr;
  }

  .brand-story__inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .cta__inner {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, auto);
    gap: 10px 24px;
  }

  .mobile-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero__media img {
    border-radius: 34px;
  }

  .problem-card,
  .reason-card,
  .price-card {
    padding: 30px;
  }
}

/* ========================================
   Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
