:root {
  --bg-deep: #020715;
  --bg-mid: #071632;
  --bg-blue: #153965;
  --gold: #f1d58b;
  --gold-soft: rgba(241, 213, 139, 0.72);
  --white: #fffaf0;
  --muted: rgba(255, 250, 240, 0.72);
  --panel: rgba(7, 16, 36, 0.76);
  --panel-strong: rgba(4, 11, 26, 0.88);
  --border: rgba(241, 213, 139, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max-width: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.8;
  background:
    radial-gradient(circle at 18% 14%, rgba(130, 146, 221, 0.18), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(241, 213, 139, 0.12), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(64, 126, 196, 0.46), transparent 38%),
    linear-gradient(180deg, #010411 0%, #07122b 42%, #12325d 78%, #456b9a 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: 0.76;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(241, 213, 139, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(174, 205, 255, 0.75) 0 0.9px, transparent 1.4px);
  background-size: 120px 120px, 180px 180px, 260px 260px;
  background-position: 18px 30px, 90px 120px, 40px 75px;
}

body::after {
  background: linear-gradient(180deg, rgba(1, 4, 17, 0.06), rgba(1, 4, 17, 0.34));
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--gold);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #fff3bd;
}

.site-shell {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 32px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(241, 213, 139, 0.20);
  border-radius: 999px;
  background: rgba(2, 7, 21, 0.58);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--bg-deep);
  font-size: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff6cf, var(--gold) 52%, #a77a29);
  box-shadow: 0 0 28px rgba(241, 213, 139, 0.34);
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-color: rgba(241, 213, 139, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

main {
  display: grid;
  gap: 22px;
}

.section-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 44%),
    linear-gradient(135deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(241, 213, 139, 0.15), transparent 26%),
    radial-gradient(circle at 92% 0%, rgba(135, 165, 255, 0.18), transparent 30%);
}

.section-card > * {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  min-height: 560px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0.12em;
  text-shadow: 0 0 36px rgba(241, 213, 139, 0.18);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.5;
}

p {
  color: var(--muted);
}

.lead {
  color: var(--white);
  font-size: clamp(1.28rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.55;
}

.hero-copy p:not(.eyebrow):not(.lead) {
  max-width: 650px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
}

.button-primary {
  color: #120b02;
  background: linear-gradient(135deg, #fff2bf, var(--gold), #b98735);
  box-shadow: 0 12px 26px rgba(241, 213, 139, 0.22);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.phone-preview {
  display: grid;
  place-items: center;
}

.phone-sky {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 9 / 18.5;
  padding: 22px;
  border: 1px solid rgba(241, 213, 139, 0.26);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 95%, rgba(93, 153, 228, 0.52), transparent 42%),
    linear-gradient(180deg, #020715 0%, #081434 50%, #1b4b83 100%);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.03), 0 28px 70px rgba(0, 0, 0, 0.42);
}

.star {
  position: absolute;
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fffdf0;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8), 0 0 28px rgba(241, 213, 139, 0.34);
}

.star-a { left: 26%; top: 18%; width: 4px; height: 4px; opacity: 0.58; }
.star-b { left: 68%; top: 26%; width: 8px; height: 8px; background: #ffd97a; }
.star-c { left: 42%; top: 43%; width: 6px; height: 6px; }
.star-d { left: 78%; top: 55%; width: 4px; height: 4px; opacity: 0.62; }
.star-e { left: 23%; top: 66%; width: 7px; height: 7px; background: #cfd8ff; }

.phone-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(241, 213, 139, 0.24);
  border-radius: 24px;
  background: rgba(2, 7, 21, 0.58);
  backdrop-filter: blur(10px);
}

.phone-copy span,
.phone-copy strong,
.phone-copy small {
  display: block;
}

.phone-copy span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.phone-copy strong {
  margin-top: 4px;
  color: var(--white);
  font-size: 1.08rem;
}

.phone-copy small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--gold);
  border-radius: 50%;
  background: rgba(241, 213, 139, 0.10);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 22px;
}

.note-box,
.contact-card {
  padding: 22px;
  border: 1px solid rgba(241, 213, 139, 0.22);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.note-box p,
.contact-card p {
  margin-bottom: 0;
}

.text-link {
  font-weight: 800;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 6vw, 3.8rem);
  letter-spacing: 0.04em;
}

.legal-page section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-page h2 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 3vw, 1.55rem);
}

.legal-meta {
  color: var(--gold-soft);
  font-weight: 800;
}

.large-contact {
  margin: 28px 0;
}

.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-top: 10px;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.site-footer {
  margin-top: 28px;
  padding: 24px 6px 0;
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p {
  margin: 0 0 4px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

  .phone-preview {
    order: -1;
  }

  .phone-sky {
    width: min(100%, 240px);
  }

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

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 20px, var(--max-width));
    padding-top: 14px;
  }

  .section-card {
    border-radius: 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 1rem;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-nav a {
    justify-content: center;
    font-size: 0.82rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .feature-card {
    min-height: auto;
  }
}

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