/* あすなろ個別指導塾 — 信頼×熱意（ネイビー×オレンジ） */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --navy: #24395c;
  --navy-deep: #182944;
  --orange: #f08c2e;
  --ink: #2e3440;
  --line: #dde2ea;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.95;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5vw;
  background: #fff;
  box-shadow: 0 2px 8px rgba(36,57,92,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo { font-size: 24px; font-weight: 900; color: var(--navy); }
.logo span { font-size: 14px; color: var(--orange); margin-left: 6px; }

.nav { display: flex; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; margin-left: 22px; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--orange); }

.nav-cta { background: var(--orange); color: #fff !important; padding: 9px 24px; border-radius: 999px; }

/* hero */
.hero {
  position: relative;
  padding: 90px 8vw 110px;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
  overflow: hidden;
}

.hero-inner { max-width: 640px; position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h2 { font-size: clamp(30px, 4.8vw, 48px); font-weight: 900; line-height: 1.5; margin-bottom: 16px; }
.hero h2 span { color: var(--orange); }
.hero-lead { opacity: 0.92; margin-bottom: 34px; }

.hero-button {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 17px 46px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(240,140,46,0.4);
  transition: 0.2s;
}

.hero-button:hover { transform: translateY(-2px); }

.hero-score {
  position: absolute;
  right: 6vw;
  bottom: 40px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transform: rotate(2deg);
}

.score-label { font-size: 12px; font-weight: 700; color: var(--navy); }
.score-num { font-size: 22px; font-weight: 900; }
.score-num b { color: var(--orange); font-size: 28px; }
.score-name { font-size: 12px; color: #7b8494; }

/* sections */
.section { padding: 84px 5vw; max-width: 940px; margin: 0 auto; }

.section-title { text-align: center; font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 46px; }
.section-title::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 4px; background: var(--orange); margin: 14px auto 0; }
.section-title.light { color: #fff; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.feature { background: var(--bg-alt); border-radius: 14px; padding: 32px 26px; }
.feature-num { font-size: 30px; font-weight: 900; color: var(--orange); margin-bottom: 8px; }
.feature h3 { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.feature p:last-child { font-size: 14px; }

/* results */
.section-navy { background: var(--navy); max-width: none; }
.section-navy > * { max-width: 940px; margin-left: auto; margin-right: auto; }

.result-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; color: #fff; }

.result { background: rgba(255,255,255,0.08); border-radius: 14px; padding: 34px 20px; }
.result-num { font-size: 52px; font-weight: 900; color: var(--orange); line-height: 1.2; }
.result-num span { font-size: 20px; color: #fff; }
.result p:last-child { font-weight: 700; margin-top: 6px; }
.result-note { text-align: center; color: rgba(255,255,255,0.6); font-size: 12px; margin-top: 24px; }

/* price */
.price-table { width: 100%; max-width: 680px; margin: 0 auto; border-collapse: collapse; }

.price-table th, .price-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-table th { text-align: left; font-weight: 500; }
.price-table td { text-align: right; font-weight: 900; color: var(--navy); font-size: 18px; white-space: nowrap; }

.price-note { max-width: 680px; margin: 20px auto 0; font-size: 13px; color: #7b8494; }

/* cta */
.cta { text-align: center; padding: 90px 5vw; background: linear-gradient(160deg, #fdf3e6, #fbe8d2); }
.cta h2 { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 14px; }

.cta-buttons { display: flex; justify-content: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }

.cta-button { display: inline-block; color: #fff; font-weight: 900; text-decoration: none; padding: 16px 46px; border-radius: 999px; transition: 0.2s; }
.cta-button.line { background: #06c755; }
.cta-button.tel { background: var(--navy); }
.cta-button:hover { transform: translateY(-2px); }
.cta-sub { margin-top: 22px; font-size: 13px; }

/* footer */
.footer { text-align: center; padding: 30px; background: var(--navy-deep); color: #fff; font-weight: 700; }
.footer-copy { font-size: 12px; font-weight: 400; opacity: 0.75; margin-top: 6px; }

/* mobile */
@media (max-width: 760px) {
  .header { flex-direction: column; gap: 10px; }
  .nav a { margin: 0 8px; font-size: 13px; }
  .hero { padding: 60px 6vw 180px; }
  .hero-score { right: 50%; transform: translateX(50%) rotate(0); bottom: 26px; }
  .feature-grid, .result-list { grid-template-columns: 1fr; }
  .section { padding: 56px 6vw; }
}
