/* =========================================================
   SpecPattern Study PM - LP Stylesheet
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* ---------- Header ---------- */
#site-header {
  background: transparent;
}
#site-header.scrolled {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(11, 19, 36, 0.08);
}
#site-header.scrolled a span:last-child,
#site-header.scrolled nav a {
  color: #182746;
}
.mobile-link {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef2f8;
}

/* ---------- Hero background ---------- */
.hero-bg {
  background: linear-gradient(160deg, #0b1324 0%, #182746 45%, #2c4370 100%);
  position: relative;
}
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(243, 202, 106, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(123, 192, 234, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(123, 192, 234, 0.12) 0%, transparent 45%);
}

.message-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  box-shadow: 0 20px 40px rgba(11, 19, 36, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, #f3ca6a 0%, #e3a121 100%);
  color: #182746;
  font-weight: 800;
  padding: 1.1rem 2.4rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(227, 161, 33, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(227, 161, 33, 0.45);
}

/* ---------- Section eyebrow ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c4831a;
  background: #fdf3d9;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.section-navy-soft {
  background: linear-gradient(180deg, #eef2f8 0%, #f4f7fb 100%);
}

.underline-gold {
  background-image: linear-gradient(180deg, transparent 65%, #f9e2a6 65%);
}

/* ---------- Lineup cards ---------- */
.lineup-card {
  background: #fbfcfe;
  border: 1px solid #dbe3f0;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lineup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(31, 49, 87, 0.1);
  border-color: #aebedb;
}
.lineup-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #e3a121;
  display: block;
  margin-bottom: 0.3rem;
}
.lineup-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #4d68a0;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.lineup-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #182746;
  line-height: 1.6;
}

/* ---------- Info panels ---------- */
.info-panel {
  background: #eef7fd;
  border: 1px solid #d3ecfa;
  border-radius: 1.25rem;
  padding: 1.75rem;
}

/* ---------- Problem cards ---------- */
.problem-card {
  background: #ffffff;
  border: 1px solid #dbe3f0;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(11, 19, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(11, 19, 36, 0.1);
}
.problem-card i {
  font-size: 1.8rem;
  color: #e3a121;
  margin-bottom: 1rem;
  display: inline-block;
}
.problem-card p {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f3157;
  line-height: 1.8;
}

/* ---------- Reason cards ---------- */
.reason-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid #dbe3f0;
  border-radius: 1.5rem;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 10px 24px rgba(11, 19, 36, 0.06);
}
.reason-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: #f3ca6a;
  -webkit-text-stroke: 1.5px #e3a121;
  margin-bottom: 0.5rem;
}
.reason-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #182746;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.reason-card p {
  font-size: 0.9rem;
  color: #4d68a0;
  line-height: 1.85;
}

/* ---------- Step cards ---------- */
.step-line {
  position: absolute;
  top: 2.6rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #aebedb 0, #aebedb 8px, transparent 8px, transparent 16px);
}
.step-card {
  background: #ffffff;
  border: 1px solid #dbe3f0;
  border-radius: 1.5rem;
  padding: 2.4rem 1.8rem 2rem;
  text-align: center;
  box-shadow: 0 10px 26px rgba(11, 19, 36, 0.07);
  position: relative;
}
.step-badge {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #182746 0%, #2c4370 100%);
  color: #f3ca6a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 18px rgba(24, 39, 70, 0.35);
}
.step-tag {
  display: inline-block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #c4831a;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.step-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #182746;
  margin-bottom: 0.25rem;
}
.step-sub {
  font-size: 0.78rem;
  color: #7f96c1;
  font-weight: 600;
  margin-bottom: 1rem;
}
.step-card p:not(.step-sub) {
  font-size: 0.88rem;
  color: #4d68a0;
  line-height: 1.85;
}

/* ---------- Achievement cards ---------- */
.achieve-card {
  background: #182746;
  color: #eef2f8;
  border-radius: 1.25rem;
  padding: 1.8rem 1.3rem;
  text-align: center;
  box-shadow: 0 10px 24px rgba(11, 19, 36, 0.18);
}
.achieve-card i {
  font-size: 1.7rem;
  color: #f3ca6a;
  margin-bottom: 0.9rem;
  display: inline-block;
}
.achieve-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.achieve-desc {
  font-size: 0.78rem;
  color: #aebedb;
  line-height: 1.7;
}

/* ---------- Voice cards ---------- */
.voice-card {
  background: #fdf3d9;
  border-left: 4px solid #e3a121;
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
}
.voice-card i {
  color: #f3ca6a;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: inline-block;
}
.voice-card p {
  font-size: 0.92rem;
  color: #182746;
  line-height: 1.85;
  font-weight: 500;
  margin-bottom: 1rem;
}
.voice-card footer {
  font-size: 0.78rem;
  color: #c4831a;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #ffffff;
  border: 1px solid #dbe3f0;
  border-radius: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #182746;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-question i {
  color: #e3a121;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
  font-size: 0.88rem;
  color: #4d68a0;
  line-height: 1.85;
}

/* ---------- Floating CTA (mobile) ---------- */
#floating-cta {
  animation: pulse-cta 2.4s infinite;
}
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 20px rgba(227, 161, 33, 0.4); }
  50% { box-shadow: 0 8px 28px rgba(227, 161, 33, 0.7); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
