/* ============================================================
   ミライコ LP — style.css
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Noto Sans JP", sans-serif; color: #1e293b; line-height: 1.8; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  padding: 16px 0;
  background: #fff;
}
.site-header__inner {
  display: flex;
  align-items: center;
}
.site-header__logo img {
  height: 52px;
  width: auto;
}

/* ---------- Section Title ---------- */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}
.section-title__star {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  display: inline-block;
}
.section-title__num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: #3b82f6;
  font-size: 2.25rem;
  vertical-align: -3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}
.btn--primary:hover { box-shadow: 0 8px 28px rgba(59,130,246,0.45); }
.btn--white {
  background: #fff;
  color: #3b82f6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--white:hover { background: #f0f7ff; }
.btn--lg {
  font-size: 1.25rem;
  padding: 20px 48px;
  min-width: 300px;
}
.btn__arrow { display: flex; align-items: center; flex-shrink: 0; }

/* ---------- Section Divider ---------- */
.section-divider {
  height: 7px;
  background: url('images/section-divider.png') repeat-x left center;
  background-size: auto 7px;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* --- SP版: 画像1枚 + ボタン --- */
.hero__sp { display: none; }
.hero__sp-img { width: 100%; height: auto; }
.hero__sp-cta {
  padding: 24px 20px 32px;
  text-align: right;
  padding-right: 32px;
}

/* --- PC版: テキスト + コラージュ --- */
.hero__inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero__text {
  flex: 0 0 44%;
  padding-top: 16px;
  position: relative;
  z-index: 2;
}
.hero__catch {
  font-family: "Zen Kurenaido", "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  color: #0ea5e9;
  margin-bottom: 12px;
  line-height: 1.7;
  font-style: italic;
}
.hero__title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.5;
  color: #1e293b;
  margin-bottom: 24px;
}
.hero__hl { color: #0ea5e9; }

.hero__badges {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.4;
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  padding: 10px 16px;
}
.hero__badge-icon { flex-shrink: 0; display: flex; align-items: center; }


.hero__photo {
  position: relative;
}
.hero__photo--desktop {
  flex: 0 0 58%;
  margin-right: -32px;
}
.hero__photo img {
  width: 100%;
  height: auto;
}

/* ==========================================================
   FEELINGS
   ========================================================== */
.feelings {
  padding: 64px 0 72px;
}
.feelings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feelings__card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.feelings__card:hover { transform: translateY(-3px); }
.feelings__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}
.feelings__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feelings__label {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.6;
}

/* ==========================================================
   MESSAGE
   ========================================================== */
.message {
  padding: 72px 0;
  background: #fff;
}
.message__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.message__text { flex: 1; }
.message__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 24px;
  line-height: 1.5;
}
.message__body {
  font-size: 1rem;
  color: #475569;
  line-height: 2;
  margin-bottom: 12px;
}
.message__body:last-child { margin-bottom: 0; }
.message__photo { flex: 0 0 44%; }
.message__photo img {
  width: 100%;
  border-radius: 12px;
}

/* ==========================================================
   PROGRAMS
   ========================================================== */
.programs {
  padding: 72px 0;
}
.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.program-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.program-card__ribbon {
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 16px;
  color: #fff;
}
.program-card__ribbon--blue { background: #3b82f6; }
.program-card__ribbon--green { background: #16a34a; }
.program-card__body { padding: 28px 32px 32px; }
.program-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.program-card__course {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
}
.program-card__course small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 2px;
}
.program-card__course--blue { color: #3b82f6; }
.program-card__course--green { color: #16a34a; }
.program-card__name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #1e293b;
}
.program-card__price {
  text-align: center;
  padding: 12px 0 20px;
}
.program-card__badge-red {
  display: inline-block;
  background: #fef2f2;
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.program-card__amount {
  font-size: 1.125rem;
  font-weight: 700;
  color: #334155;
}
.program-card__big {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
}
.program-card__big--blue { color: #3b82f6; }
.program-card__big--green { color: #16a34a; }
.program-card__unit { font-size: 1.125rem; font-weight: 700; }
.program-card__note {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 4px;
}
.program-card__list { margin-bottom: 24px; }
.program-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  color: #475569;
  line-height: 2.2;
}
.program-card__list li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  top: 0;
  line-height: 3.6;
}
.program-card__list--blue li::before { color: #3b82f6; }
.program-card__list--green li::before { color: #16a34a; }
.program-card__rec {
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}
.program-card__rec--blue { background: #eff6ff; }
.program-card__rec--green { background: #f0fdf4; }
.program-card__rec-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.program-card__rec--blue .program-card__rec-title { color: #3b82f6; }
.program-card__rec--green .program-card__rec-title { color: #16a34a; }
.program-card__rec-body {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
}

/* ==========================================================
   STEPS
   ========================================================== */
.steps {
  padding: 72px 0;
  background: #fff;
}
.steps__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.step-img {
  flex: 0 0 220px;
}
.step-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.step-img--note {
  flex: 0 0 200px;
}
.step-img--note img {
  border-radius: 0;
}
.step__arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.step__arrow svg { width: 100%; height: 100%; }

/* ==========================================================
   FOOTER CTA
   ========================================================== */
.footer-cta {
  padding: 64px 0;
  background: linear-gradient(160deg, #dbeafe 0%, #e0f0ff 30%, #eff8ff 100%);
}
.footer-cta__inner {
  text-align: center;
}
.footer-cta__text { text-align: center; }
.footer-cta__lead {
  font-size: 1.75rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-cta__bold { font-weight: 900; }
.footer-cta__underline {
  font-weight: 900;
  background: linear-gradient(transparent 60%, #facc15 60%);
  padding-bottom: 2px;
}
.footer-cta__sub {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ==========================================================
   SITE FOOTER
   ========================================================== */
.site-footer {
  padding: 40px 0;
  background: #fff;
}
.site-footer__inner {
  text-align: center;
}
.site-footer__company {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}
.site-footer__address {
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 16px;
}
.site-footer__copy {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ==========================================================
   RESPONSIVE — Tablet (≤ 768px)
   ========================================================== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-title { font-size: 1.5rem; margin-bottom: 36px; }

  /* Header */
  .site-header { padding: 8px 0; }

  /* Hero: SP版表示、PC版非表示 */
  .hero__sp { display: block; }
  .hero__inner { display: none; }

  /* Feelings */
  .feelings { padding: 48px 0; }
  .feelings__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .feelings__card { padding: 22px 18px; }
  .feelings__label { font-size: 1rem; }

  /* Message */
  .message { padding: 56px 0; }
  .message__inner { flex-direction: column; gap: 32px; }
  .message__photo { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }

  /* Programs */
  .programs { padding: 56px 0; }
  .programs__grid { grid-template-columns: 1fr; gap: 24px; max-width: 480px; margin: 0 auto; }
  .program-card__body { padding: 24px 24px 28px; }
  .program-card__name { font-size: 1.0625rem; }
  .program-card__list li { font-size: 0.9375rem; }

  /* Steps */
  .steps { padding: 56px 0; }
  .steps__row { flex-wrap: wrap; gap: 14px; justify-content: center; }
  .step-img { flex: 0 0 calc(50% - 10px); }
  .step__arrow { display: none; }
  .step-img--note { flex: 0 0 calc(50% - 10px); }

  /* Footer CTA */
  .footer-cta { padding: 48px 0; }
  .footer-cta__lead { font-size: 1.5rem; }
}

/* ==========================================================
   RESPONSIVE — Mobile (≤ 480px)
   ========================================================== */
@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .section-title { font-size: 1.3125rem; margin-bottom: 28px; }
  .btn--lg { font-size: 1.0625rem; padding: 16px 36px; min-width: 260px; }

  /* Hero */
  .hero__sp-cta { padding: 20px 16px 28px; }

  /* Feelings */
  .feelings__grid { gap: 10px; }
  .feelings__card { padding: 18px 14px; gap: 10px; }
  .feelings__label { font-size: 0.9375rem; }
  .feelings__icon { width: 44px; height: 44px; }

  /* Message */
  .message__title { font-size: 1.25rem; }
  .message__body { font-size: 0.9375rem; }
  .message__body br { display: none; }

  /* Programs */
  .program-card__body { padding: 20px 20px 24px; }
  .program-card__header { gap: 8px; }
  .program-card__name { font-size: 1rem; }
  .program-card__big { font-size: 2.5rem; }
  .program-card__list li { font-size: 0.875rem; }
  .program-card__rec-body { font-size: 0.875rem; }

  /* Steps — 2列維持 */
  .steps__row { gap: 10px; }
  .step-img { flex: 0 0 calc(50% - 8px); }
  .step-img--note { flex: 0 0 calc(50% - 8px); }

  /* Footer */
  .footer-cta__lead { font-size: 1.25rem; }
  .footer-cta__sub { font-size: 0.9375rem; }
}
