:root {
  --navy: #1E2A5E;
  --blue: #1C9FE0;
  --blue-deep: #0066CC;
  --red: #D63A2F;
  --ink: #22262B;
  --gray: #5F6670;
  --line: #E3E7EC;
  --bg-alt: #F4F7FA;
  --bg-blue-soft: #EAF6FD;
  --bg-red-soft: #FDEFEC;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: #fff;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

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

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-weight: 900; font-size: 20px; letter-spacing: .02em;
  color: var(--navy); text-decoration: none;
}
.logo span { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
}
.nav a:hover { color: var(--blue-deep); }
.btn-header {
  background: var(--red); color: #fff !important; font-weight: 700;
  padding: 9px 22px; border-radius: 6px; white-space: nowrap;
}
.btn-header:hover { opacity: .88; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 34px; border-radius: 8px; font-size: 16px;
  transition: transform .15s, opacity .15s; border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: .92; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(214,58,47,.28); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }

/* ===== Hero ===== */
.hero {
  padding: 130px 0 56px;
  background: linear-gradient(160deg, #FFFFFF 55%, var(--bg-blue-soft) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; color: var(--blue-deep); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; border: 1px solid var(--blue); border-radius: 100px;
  padding: 4px 16px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px; font-weight: 900; line-height: 1.35; color: var(--navy);
  letter-spacing: .01em; margin-bottom: 22px;
}
.hero-lead { font-size: 16px; color: var(--gray); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual img { border-radius: 14px; box-shadow: 0 18px 44px rgba(30,42,94,.14); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 24px; box-shadow: 0 6px 20px rgba(30,42,94,.06);
}
.stat-num { font-size: 21px; font-weight: 900; color: var(--navy); white-space: nowrap; }
.stat-arrow { color: var(--red); margin: 0 6px; }
.stat-note { font-size: 15px; }
.stat-label { font-size: 12.5px; color: var(--gray); margin-top: 6px; line-height: 1.6; }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; color: var(--blue-deep); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; margin-bottom: 14px; border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
}
.section-head h2 {
  font-size: 33px; font-weight: 900; color: var(--navy); line-height: 1.45;
  margin-bottom: 18px;
}
.section-desc { color: var(--gray); font-size: 15.5px; }
.section-desc em { font-style: normal; color: var(--red); font-weight: 700; }

/* ===== Problem ===== */
.problem-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center;
  margin-bottom: 64px;
}
.problem-visual img { border-radius: 14px; }
.walls-lead { font-size: 17px; margin-bottom: 22px; }
.wall {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 24px; margin-bottom: 14px;
}
.wall-num {
  flex-shrink: 0; background: var(--navy); color: #fff; font-weight: 700;
  font-size: 13px; border-radius: 6px; padding: 4px 12px; margin-top: 4px;
}
.wall h3 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.wall p { font-size: 14px; color: var(--gray); }

.principle {
  background: var(--navy); border-radius: 18px; padding: 48px 40px; text-align: center;
}
.principle-main { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.7; margin-bottom: 28px; }
.principle-main strong { color: #7FD0F7; }
.principle-formula { max-width: 620px; margin: 0 auto 26px; }
.formula-row {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  font-weight: 900; font-size: 20px; border-radius: 10px; padding: 14px 10px; margin-bottom: 12px;
}
.formula-row.win { background: var(--bg-blue-soft); color: var(--navy); }
.formula-row.win .result { color: var(--blue-deep); }
.formula-row.lose { background: var(--bg-red-soft); color: var(--gray); }
.formula-row.lose .result { color: var(--red); }
.formula-row .op { color: var(--gray); font-weight: 700; }
.principle-note { color: #C6CFE4; font-size: 14px; }

/* ===== Solution ===== */
.solution-formula {
  display: flex; justify-content: center; align-items: stretch; gap: 18px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.sf-item {
  background: #fff; border: 2px solid var(--blue); border-radius: 14px;
  padding: 24px 30px; font-size: 18px; font-weight: 900; color: var(--navy);
  text-align: center; line-height: 1.5; position: relative; min-width: 218px;
}
.sf-num {
  display: block; width: 30px; height: 30px; line-height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 15px; margin: 0 auto 10px;
}
.sf-op { align-self: center; font-size: 30px; font-weight: 900; color: var(--red); }

.solution-visual { max-width: 760px; margin: 0 auto 72px; }
.solution-visual img { border-radius: 14px; }

.program-title {
  text-align: center; font-size: 24px; font-weight: 900; color: var(--navy); margin-bottom: 34px;
}
.program-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px;
}
.program-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px;
  box-shadow: 0 6px 20px rgba(30,42,94,.05);
}
.pc-num {
  width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 900; margin-bottom: 14px;
}
.program-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.program-card p { font-size: 13.5px; color: var(--gray); }
.program-note { text-align: center; color: var(--gray); font-size: 15px; margin-bottom: 72px; }
.program-note strong { color: var(--navy); }

.before-after {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
  max-width: 900px; margin: 0 auto 72px;
}
.ba-col { border-radius: 14px; padding: 28px 30px; }
.ba-before { background: #fff; border: 1px solid var(--line); }
.ba-after { background: var(--bg-blue-soft); border: 2px solid var(--blue); }
.ba-col h4 { font-size: 15px; letter-spacing: .12em; margin-bottom: 14px; }
.ba-before h4 { color: var(--gray); }
.ba-after h4 { color: var(--blue-deep); }
.ba-col ul { list-style: none; }
.ba-col li { font-size: 14px; padding: 6px 0 6px 20px; position: relative; }
.ba-before li::before { content: "・"; position: absolute; left: 0; color: var(--gray); }
.ba-after li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-deep); font-weight: 700; }
.ba-arrow { font-size: 34px; font-weight: 900; color: var(--red); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px;
  position: relative;
}
.price-card.recommended { border: 2px solid var(--red); box-shadow: 0 12px 30px rgba(214,58,47,.12); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700;
  border-radius: 100px; padding: 3px 18px;
}
.price-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.option-tag {
  font-size: 11px; color: var(--blue-deep); border: 1px solid var(--blue);
  border-radius: 100px; padding: 1px 10px; margin-left: 8px; vertical-align: middle;
}
.price { font-size: 34px; font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.price span { font-size: 16px; }
.price-card ul { list-style: none; }
.price-card li { font-size: 13.5px; color: var(--gray); padding: 5px 0 5px 18px; position: relative; }
.price-card li::before { content: "・"; position: absolute; left: 0; }
.pricing-note { text-align: center; color: var(--gray); font-size: 13px; margin-top: 22px; }

/* ===== Results ===== */
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.result-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: 12px; padding: 30px 32px; box-shadow: 0 6px 20px rgba(30,42,94,.05);
}
.rc-cat { font-size: 13px; font-weight: 700; color: var(--blue-deep); margin-bottom: 8px; }
.rc-num { font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.rc-desc { font-size: 14px; color: var(--gray); }
.results-note { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--gray); }
.results-note a { color: var(--blue-deep); font-weight: 700; }

/* ===== Profile ===== */
.profile-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start;
  max-width: 980px; margin: 0 auto;
}
.profile-photo img { border-radius: 14px; box-shadow: 0 14px 34px rgba(30,42,94,.14); }
.profile-name { font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.profile-name span { display: block; font-size: 14px; font-weight: 500; color: var(--gray); margin-top: 4px; }
.profile-bio { font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.profile-book {
  display: flex; gap: 20px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-top: 24px;
}
.profile-book img { width: 84px; flex-shrink: 0; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.book-title { font-weight: 700; color: var(--navy); font-size: 15px; }
.book-pub { font-size: 13px; color: var(--gray); margin: 2px 0 8px; }
.book-etc { font-size: 12.5px; color: var(--gray); }

/* ===== Contact ===== */
.section-contact { background: var(--navy); }
.on-dark { color: #fff !important; }
.section-contact .section-tag { border-color: #7FD0F7; color: #7FD0F7; }
.section-contact .section-desc { color: #C6CFE4 !important; }

.form-area {
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: 18px;
  padding: 44px 46px; box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px;
}
.req {
  background: var(--red); color: #fff; font-size: 10.5px; border-radius: 4px;
  padding: 1px 7px; margin-left: 6px; vertical-align: middle;
}
.opt {
  background: var(--line); color: var(--gray); font-size: 10.5px; border-radius: 4px;
  padding: 1px 7px; margin-left: 6px; vertical-align: middle;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid #C9D2DC; border-radius: 8px; padding: 12px 14px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #FDFEFE;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--blue); border-color: var(--blue);
}
.form-group textarea { resize: vertical; }
.hidden-field { display: none; }
.form-submit { text-align: center; margin-top: 28px; }
.btn-submit { width: 100%; max-width: 380px; font-size: 17px; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 12px; }
.form-message { display: none; margin-top: 20px; border-radius: 10px; padding: 18px; text-align: center; font-weight: 700; }
.form-message.success { display: block; background: #E6F7EF; color: #0B7A46; }
.form-message.error { display: block; background: var(--bg-red-soft); color: var(--red); }

/* ===== Footer ===== */
.footer { background: #141D42; padding: 44px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-weight: 900; font-size: 18px; color: #fff; }
.footer-logo span { color: var(--blue); }
.footer-company { color: #8E9AB8; font-size: 13px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #C6CFE4; text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-copy { color: #6C7899; font-size: 12px; margin-top: 30px; }

.sp-only { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding-top: 108px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { grid-template-columns: 1fr; margin-top: 36px; }
  .stat-num { white-space: normal; }
  .nav a:not(.btn-header) { display: none; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 25px; }
  .problem-grid { grid-template-columns: 1fr; }
  .principle { padding: 34px 20px; }
  .principle-main { font-size: 19px; }
  .formula-row { font-size: 15px; flex-wrap: wrap; }
  .sp-only { display: inline; }
  .solution-formula { flex-direction: column; align-items: center; }
  .sf-op { transform: rotate(90deg); }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .pricing { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 320px; margin: 0 auto; }
  .form-area { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
}
