* {
  box-sizing: border-box;
}

:root {
  --navy: #16345f;
  --red: #c9404b;
  --soft-red: #f8e7ea;
  --white: #ffffff;
  --text: #1f2a37;
  --muted: #5b6470;
  --line: #e6e8ec;
  --bg: #fffaf9;
  --shadow: 0 15px 35px rgba(22, 52, 95, 0.08);
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230,232,236,0.9);
}

.header-inner,
.footer-inner,
.contact-grid,
.support-grid,
.intro-grid,
.feature-grid,
.flow-grid,
.price-grid,
.hero-inner {
  display: grid;
  gap: 24px;
}

.header-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 0;
}

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

.brand h1,
.site-footer h2 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--navy);
}

.brand-sub {
  margin: 0 0 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 6px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--navy);
  font-weight: 600;
}

.hero {
  padding: 56px 0 36px;
  background:
    radial-gradient(circle at top left, #fff4f5 0%, #ffffff 45%),
    linear-gradient(180deg, #ffffff 0%, #fffaf9 100%);
}

.hero-inner {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(230,232,236,0.9);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 30px 0 0 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(22,52,95,0.12), rgba(201,64,75,0.12));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 22px 50px rgba(22,52,95,0.16);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.white { color: #ffd9de; }

.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.2;
  color: var(--navy);
}

.lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: rgba(255,255,255,0.75);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.full {
  width: 100%;
  border: none;
  font-size: 1rem;
}

.intro {
  padding: 8px 0 0;
}

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

.card,
.feature-card,
.flow-card,
.support-box,
.contact-form,
.price-card,
.campaign-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card { padding: 28px; }

.card h3,
.feature-card h3,
.flow-card h3,
.support-box h3,
.price-card h3,
.campaign-box h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.card p,
.feature-card p,
.flow-card p,
.support-text,
.contact-text,
.support-box li,
.price-card p,
.section-note,
.campaign-box p {
  color: var(--muted);
}

.section { padding: 96px 0; }
.section-soft { background: var(--bg); }

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head.left { text-align: left; }

.section-head h2,
.cta h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.3;
}

.section-note {
  max-width: 760px;
  margin: 10px auto 0;
}

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

.feature-card { padding: 32px; }

.feature-number,
.flow-card span,
.price-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--soft-red);
  border-radius: 999px;
  padding: 7px 12px;
}

.support-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.support-box {
  padding: 30px;
  border-top: 4px solid var(--red);
}

.support-box ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

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

.price-card {
  padding: 28px;
  text-align: center;
}

.price-card.featured {
  border: 2px solid rgba(201,64,75,0.35);
  transform: translateY(-6px);
}

.price-value {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy) !important;
  line-height: 1.3;
}

.price-value span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.campaign-box {
  margin-top: 26px;
  padding: 28px;
  border-left: 6px solid var(--red);
  background: linear-gradient(180deg, #fff, #fff8f8);
}

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

.flow-card { padding: 28px; }

.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy), #284d86);
  color: var(--white);
  text-align: center;
}

.cta h2 { color: var(--white); }

.cta p {
  max-width: 720px;
  margin: 14px auto 28px;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-form { padding: 28px; }

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.mail-link {
  color: var(--red);
  font-weight: 700;
}

.site-footer {
  padding: 34px 0 42px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.copy {
  color: var(--muted);
  align-self: end;
}

@media (max-width: 920px) {
  .header-inner,
  .support-grid,
  .contact-grid,
  .feature-grid,
  .flow-grid,
  .intro-grid,
  .price-grid,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .nav { display: none; }

  .hero {
    padding-top: 30px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .price-card.featured {
    transform: none;
  }
}

.hero-top {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}
.hero-top-image {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  background: #fff;
}
/* removed overlay */ {
  position: absolute;
  inset: 0;
  
  display: flex;
  align-items: center;
}
.hero-top-content {
  color: white;
}
.hero-top h2 {
  color: white;
}


/* ===== Hero spacing ===== */
.hero-top {
  background: #fff;
  padding: 30px 20px 0;
}
.hero-top-image {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  background: #fff;
}

/* ===== Message section ===== */
.hero-message {
  background: #fff;
  text-align: center;
  padding: 60px 20px 80px;
}
.hero-message h2 {
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-size: 2.6rem;
  color: var(--navy);
}
.hero-message .lead {
  line-height: 2;
  font-size: 1.05rem;
}

/* ===== Buttons ===== */
.btn-primary {
  background: #c9404b;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  box-shadow: 0 10px 20px rgba(201,64,75,0.3);
}
.btn-primary:hover {
  background: #b33640;
  transform: translateY(-2px);
}
.btn-secondary {
  border: 1px solid #16345f;
  color: #16345f;
  background: #fff;
}
