*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1a2744;
  --navy-light: #2a3a5c;
  --navy-deep: #111c30;
  --blue: #425a7d;
  --accent: #06c755;
  --accent-hover: #05b34b;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #eef1f5;
  --gray-600: #6b7a8d;
  --copper: #c4825a;
  --text: #2c3e50;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo svg { height: auto; fill: currentColor; }

/* ===== LINE button ===== */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.35);
}

.btn-line:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 199, 85, 0.45);
}

.btn-line svg { width: 22px; height: 22px; fill: currentColor; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18, 28, 50, 0.7) 0%, rgba(18, 28, 50, 0.82) 60%, rgba(18, 28, 50, 0.96) 100%),
    url('/assets/images/hero.jpg') center / cover no-repeat;
}

.hero__content {
  padding: 4rem 1rem;
  max-width: 640px;
}

.hero .logo { color: var(--white); font-size: 1.5rem; margin-bottom: 1.75rem; }
.hero .logo svg { width: 42px; }

.hero__badge {
  display: inline-block;
  background: rgba(6, 199, 85, 0.15);
  border: 1px solid rgba(6, 199, 85, 0.4);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.hero h1 em { font-style: normal; color: var(--copper); }

.hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.25rem;
  line-height: 1.9;
}

.hero__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 1rem; }
.section--gray { background: var(--gray-50); }

.section-inner { max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

/* ===== FEATURES ===== */
.features__grid { display: grid; gap: 1.25rem; }

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-100);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(66, 90, 125, 0.08);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.feature-card p { font-size: 0.9rem; color: var(--gray-600); }

@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== CTA ===== */
.cta {
  background: var(--navy);
  padding: 4.5rem 1rem;
  text-align: center;
  color: var(--white);
}

.cta h2 {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.cta p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 2rem; }

.cta__qr {
  display: none;
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  margin: 0 auto 2rem;
  width: fit-content;
}

.cta__qr img { display: block; width: 160px; height: 160px; }

.cta__qr span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 0.5rem;
}

/* QR は PC のみ（スマホはボタンから直接追加） */
@media (min-width: 768px) {
  .cta__qr { display: block; }
}

/* ===== SUB PAGE HEADER ===== */
.site-header {
  background: var(--navy);
  padding: 0.9rem 1rem;
}

.site-header .logo { color: var(--white); font-size: 1.1rem; }
.site-header .logo svg { width: 30px; }

/* ===== DOCUMENT (利用規約など) ===== */
.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1rem 4.5rem;
}

.doc h1 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2rem;
}

.doc h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--blue);
  line-height: 1.5;
}

.doc p, .doc li { font-size: 0.92rem; }
.doc p + p { margin-top: 0.75rem; }

.doc ol, .doc ul { list-style: none; }
.doc li + li { margin-top: 0.5rem; }
.doc li > ol, .doc li > ul { margin: 0.5rem 0 0 1.25rem; }
.doc .bullets li::before { content: '・'; }

.doc .notice {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 1.25rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.88rem;
}

.doc .notice strong { display: block; color: var(--navy); margin-bottom: 0.4rem; }

/* ===== FOOTER (共通) ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.5rem 1rem;
  text-align: center;
}

.site-footer .logo { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; margin-bottom: 1rem; }
.site-footer .logo svg { width: 24px; }

.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.site-footer nav a {
  font-size: 0.82rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer nav a:hover { color: var(--white); text-decoration: underline; }

.site-footer small { font-size: 0.7rem; color: rgba(255, 255, 255, 0.35); }
