:root {
  --blue: #1976b8;
  --blue-dark: #15496d;
  --blue-soft: #edf7fc;
  --mint: #dff6ee;
  --mint-dark: #24745f;
  --coral: #ffe9df;
  --coral-dark: #a35036;
  --yellow: #fff5c7;
  --ink: #1d3442;
  --muted: #607684;
  --line: #d8e8ef;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(21, 73, 109, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  background: var(--blue);
  border-radius: 8px;
}

.brand-name,
.brand-note {
  display: block;
  line-height: 1.25;
}

.brand-name {
  font-weight: 800;
  color: var(--blue-dark);
}

.brand-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.site-nav a {
  padding: 6px 0;
}

.site-nav a:hover,
.lead a,
.site-footer a:hover {
  color: var(--blue);
}

.hero {
  background:
    linear-gradient(180deg, #f6fbff 0%, #ffffff 78%),
    var(--blue-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  width: min(1120px, calc(100% - 36px));
  min-height: min(680px, calc(100vh - 70px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.compact-hero .hero-inner {
  min-height: 460px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--mint-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.compact-hero h1 {
  font-size: clamp(2rem, 4.3vw, 3.8rem);
}

h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.22rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.main-copy {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  font-weight: 700;
  color: #274e60;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 360px;
  padding: clamp(20px, 4vw, 34px);
  background: linear-gradient(180deg, #ffffff 0%, #edf7fc 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-side img {
  width: min(100%, 390px);
  margin: 0 auto;
}

.small-side {
  min-height: 300px;
}

.small-side img {
  width: min(100%, 330px);
}

.side-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.side-panel span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
}

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

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.link-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

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

.link-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(21, 73, 109, 0.08);
}

.link-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px;
  border-top: 5px solid var(--blue);
}

.link-card.accent-green {
  border-top-color: var(--mint-dark);
}

.link-card.accent-coral {
  border-top-color: var(--coral-dark);
}

.card-kicker {
  width: fit-content;
  margin: 0 0 14px;
  padding: 3px 10px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--blue-soft);
  border-radius: 999px;
}

.accent-green .card-kicker {
  color: var(--mint-dark);
  background: var(--mint);
}

.accent-coral .card-kicker {
  color: var(--coral-dark);
  background: var(--coral);
}

.link-card p:not(.card-kicker) {
  margin: 14px 0 24px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  margin-top: auto;
  padding: 10px 18px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.35;
  background: var(--blue);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(25, 118, 184, 0.18);
}

.button:hover {
  background: var(--blue-dark);
}

.soft-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - 1120px) / 2));
  padding-left: max(18px, calc((100% - 1120px) / 2));
  background: #f7fbfd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 26px;
  align-items: start;
}

.note-layout p:last-child {
  margin: 0;
  color: var(--muted);
}

.intro-section {
  padding-bottom: 26px;
}

.affiliate-note {
  padding: 18px 20px;
  color: #4d5960;
  background: var(--yellow);
  border: 1px solid #f2dc81;
  border-radius: 8px;
}

.page-note {
  margin: 16px 0 0;
  color: var(--muted);
}

.product-section {
  padding-top: 34px;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 26px;
}

.product-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-weight: 800;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
}

.product-card dt {
  color: var(--blue-dark);
  font-weight: 800;
}

.product-card dd {
  margin: 0 0 12px;
  color: var(--muted);
}

.product-button {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: #f4f8fa;
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer .footer-company {
  margin: 0;
  font-weight: 800;
  color: var(--blue-dark);
}

@media (max-width: 900px) {
  .hero-inner,
  .note-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-side {
    min-height: 0;
  }

  .link-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .link-card,
  .product-card {
    min-height: 0;
  }
}

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

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-inner,
  .section {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 2.05rem;
  }

  .main-copy {
    font-size: 1.08rem;
  }

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

  .link-card,
  .product-card {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
