/* かぶ自動LOGIN — shared brand styles */
:root {
  --c-primary: #0F2A4A;
  --c-primary-soft: #1B3A60;
  --c-accent: #E84118;
  --c-accent-hover: #C0341C;
  --c-bg: #FAFBFD;
  --c-bg-soft: #F0F3F8;
  --c-card: #FFFFFF;
  --c-text: #1C1C1C;
  --c-text-muted: #6B7280;
  --c-border: #E5E7EB;
  --c-success: #16A34A;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(15,42,74,.08);
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Yu Gothic UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--c-accent); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Top Nav === */
.nav {
  background: var(--c-primary);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; text-decoration: none; }
.nav-brand-sub { font-size: 11px; color: #9FB4D1; font-weight: 600; }
.nav-brand-main { font-size: 15px; line-height: 1.1; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: #BCD0EC; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #fff; }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #0F2A4A 0%, #1B3A60 100%);
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232,65,24,.18), transparent 50%);
}
.hero .container { position: relative; }
.hero-logo {
  display: block;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.hero-note {
  margin-top: 28px;
  font-size: 12px;
  color: #9FB4D1;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  padding: 12px 18px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  border-left: 3px solid #FFB8A6;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(232,65,24,.18);
  color: #FFB8A6;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: #FF7E5C; }
.hero-sub {
  font-size: clamp(15px, 2.2vw, 19px);
  color: #C9D6EA;
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-video {
  position: relative;
  width: 80vw;
  max-width: 1000px;
  margin: 0 auto 36px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-meta {
  margin-top: 24px;
  font-size: 13px;
  color: #9FB4D1;
}
.hero-meta span { margin: 0 12px; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--c-accent-hover); color: #fff; }
.btn-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-secondary:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* === Sections === */
section { padding: 88px 0; }
.section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section-lead {
  text-align: center;
  font-size: 16px;
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-soft { background: var(--c-bg-soft); }

/* === Problem cards === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.problem-card {
  background: var(--c-card);
  padding: 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.problem-card h3 { margin: 0 0 8px; font-size: 17px; }
.problem-card p { margin: 0; color: var(--c-text-muted); font-size: 14px; }

/* === Solution / Feature cards === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--c-card);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #FFB8A6, #E84118);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--c-text-muted); font-size: 14px; }

/* === Step list === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.step {
  position: relative;
  background: var(--c-card);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--c-accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.step h4 { margin: 8px 0; font-size: 16px; }
.step p { margin: 0; color: var(--c-text-muted); font-size: 14px; }

/* === Security highlight === */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.security-item {
  background: var(--c-card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}
.security-item .badge {
  color: var(--c-success);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.security-item h4 { margin: 0 0 6px; font-size: 16px; }
.security-item p { margin: 0; color: var(--c-text-muted); font-size: 14px; }

/* === Brand block === */
.brand-block {
  background: linear-gradient(135deg, #0F2A4A, #1B3A60);
  color: #fff;
  border-radius: 14px;
  padding: 56px;
}
.brand-block h2 { color: #fff; margin: 0 0 16px; font-size: 26px; }
.brand-block p { color: #C9D6EA; max-width: 640px; }
.brand-block .btn { margin-top: 24px; }

/* === FAQ === */
.faq-list details {
  background: var(--c-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.faq-list summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  font-size: 22px;
  color: var(--c-accent);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div {
  padding: 0 24px 20px;
  color: var(--c-text-muted);
  font-size: 14px;
}

/* === Email signup === */
.signup {
  background: var(--c-card);
  padding: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.signup h2 { margin: 0 0 12px; font-size: 26px; }
.signup p { color: var(--c-text-muted); margin: 0 0 28px; }
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.signup-form input[type=email] {
  flex: 1 1 240px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.signup-form input[type=email]:focus { outline: 2px solid var(--c-primary); }
.signup-note { font-size: 12px; color: var(--c-text-muted); margin-top: 14px; }

/* === Footer === */
.footer {
  background: #0A1D33;
  color: #9FB4D1;
  padding: 48px 0 28px;
  font-size: 13px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer h5 { color: #fff; margin: 0 0 12px; font-size: 13px; letter-spacing: .04em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: #9FB4D1; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1B3A60;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11px;
  color: #6680A0;
  max-width: 760px;
  margin-top: 16px;
  line-height: 1.6;
}

/* === Page content (guide / support) === */
.page-header {
  background: var(--c-primary);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { margin: 0 0 8px; font-size: 32px; }
.page-header p { margin: 0; color: #C9D6EA; }

.content {
  background: var(--c-card);
  max-width: 820px;
  margin: -40px auto 80px;
  padding: 48px 56px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.content h2 { font-size: 22px; margin-top: 40px; padding-bottom: 8px; border-bottom: 2px solid var(--c-bg-soft); }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 17px; margin-top: 28px; }
.content p, .content li { font-size: 15px; }
.content code { background: var(--c-bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.callout {
  background: #FFF7ED;
  border-left: 4px solid #F59E0B;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 14px;
}
.callout-info {
  background: #EFF6FF;
  border-left-color: #3B82F6;
}
.callout-success {
  background: #F0FDF4;
  border-left-color: #16A34A;
}

/* === Responsive === */
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .brand-block { padding: 36px 24px; }
  .signup { padding: 32px 20px; }
  .content { padding: 32px 22px; margin: -30px 16px 60px; border-radius: 10px; }
  .nav-links { display: none; }
}
