/* =============================================================
   あいおい塾 — Style Sheet
   Theme: AIの力で受験をHACKしろ！
   ============================================================= */

/* ---------------------------------------------------------------
   1. Custom Properties
--------------------------------------------------------------- */
:root {
  /* Color */
  --navy:       #0f1a2e;
  --navy-700:   #1e3a5f;
  --navy-500:   #2a4f7a;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --amber:      #f59e0b;
  --amber-dark: #d97706;
  --ink:        #1e293b;
  --ink-soft:   #475569;
  --surface:    #f8fafc;
  --surface-2:  #eef2f9;
  --white:      #ffffff;
  --line:       #e2e8f0;
  --line-dark:  #c8d4e8;

  /* Typography */
  --font-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-cond:  'Barlow Condensed', impact, sans-serif;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-7: 1.75rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-w: 1100px;
  --max-w-narrow: 720px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(15,26,46,0.10), 0 1px 2px rgba(15,26,46,0.06);
  --shadow-lift: 0 8px 24px rgba(15,26,46,0.15);
}

/* ---------------------------------------------------------------
   2. Reset / Base
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

/* キーボード操作時のフォーカスリング（マウスでは出さない） */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline-color: var(--amber);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------
   3. Layout Utilities
--------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ---------------------------------------------------------------
   4. Sections
--------------------------------------------------------------- */
.section {
  padding-block: var(--sp-20);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--navy-mid {
  background: var(--navy-700);
  color: var(--white);
}

.section--light {
  background: var(--surface);
}

.section--white {
  background: var(--white);
}

.section--cta {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin-bottom: var(--sp-3);
}

.section-kicker--light {
  color: var(--amber);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  margin-top: var(--sp-4);
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 40em;
  margin-inline: auto;
}

.highlight-amber { color: var(--amber); font-style: normal; }
.highlight-blue  { color: var(--blue-light); font-style: normal; }

.subsection-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
  padding-left: var(--sp-3);
  border-left: 3px solid var(--blue);
}

/* ---------------------------------------------------------------
   5. Buttons
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75em 1.8em;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--amber {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn--amber:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn--sm { font-size: 0.85rem; padding: 0.55em 1.2em; }
.btn--lg { font-size: 1.1rem; padding: 0.9em 2.4em; }

.btn__note {
  display: inline-block;
  font-size: 0.72em;
  font-weight: 500;
  opacity: 0.75;
  background: rgba(0,0,0,0.15);
  padding: 0.15em 0.5em;
  border-radius: var(--r-sm);
  margin-left: var(--sp-2);
}

/* ---------------------------------------------------------------
   6. Header
--------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s, box-shadow 0.25s;
}

.site-header--transparent {
  background: transparent;
}

.site-header--solid {
  background: rgba(15,26,46,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 64px;
}

.site-header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__logo-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
}

.site-header__logo-sub {
  font-size: 0.65rem;
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.site-header__nav {
  display: none;
  gap: var(--sp-6);
  margin-left: auto;
}

@media (min-width: 768px) {
  .site-header__nav { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.15s;
}

.nav-link:hover { color: var(--white); text-decoration: none; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: auto;
}

@media (min-width: 768px) {
  .site-header__actions { margin-left: 0; }
}

/* ---------------------------------------------------------------
   7. Hamburger
--------------------------------------------------------------- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger__bar {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* ---------------------------------------------------------------
   8. Mobile Nav
--------------------------------------------------------------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--navy);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: var(--sp-2);
}

.mobile-nav__inner {
  padding: var(--sp-16) var(--sp-6) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.mobile-nav__link {
  display: block;
  padding: var(--sp-4) 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav__link:hover { color: var(--amber); text-decoration: none; }

.mobile-nav__link--cta {
  margin-top: var(--sp-4);
  color: var(--amber);
  border-bottom: none;
}

.mobile-nav__meta {
  margin-top: var(--sp-8);
}

.mobile-nav__meta-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---------------------------------------------------------------
   9. Hero
--------------------------------------------------------------- */
.hero {
  padding-top: 0;
}

.hero__image-wrap {
  background: var(--navy);
  line-height: 0;
  padding-top: 64px; /* header height */
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px;
  background: var(--navy-700);
}

.hero__body {
  background: var(--navy);
  padding: var(--sp-10) 0 var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero__lead {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-8);
}

.hero__lead em {
  font-style: normal;
  color: var(--amber);
}

.hero__lead strong {
  color: var(--white);
  font-weight: 900;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* ---------------------------------------------------------------
   10. Problem Section
--------------------------------------------------------------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .compare-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
  }
}

.compare-divider {
  display: none;
  align-self: center;
  font-size: 2rem;
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--amber);
  padding-inline: var(--sp-4);
  text-align: center;
}

@media (min-width: 768px) {
  .compare-divider { display: block; }
}

.compare-col__title {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.compare-col--old .compare-col__title { color: rgba(255,255,255,0.5); }
.compare-col--new .compare-col__title { color: var(--amber); }

.compare-col__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

.compare-col--old .compare-col__icon {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
}

.compare-col--new .compare-col__icon {
  background: rgba(245,158,11,0.2);
  color: var(--amber);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.compare-col--old .compare-list li {
  color: rgba(255,255,255,0.45);
  font-size: 0.925rem;
  padding-left: var(--sp-4);
  position: relative;
}

.compare-col--old .compare-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
}

.compare-col--new .compare-list li {
  color: rgba(255,255,255,0.9);
  font-size: 0.925rem;
  padding-left: var(--sp-4);
  position: relative;
  font-weight: 500;
}

.compare-col--new .compare-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  font-size: 0.6em;
  top: 0.3em;
  color: var(--amber);
}

/* ---------------------------------------------------------------
   11. Concept Cards
--------------------------------------------------------------- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) {
  .concept-grid { grid-template-columns: 1fr 1fr; }
}

.concept-card {
  display: flex;
  gap: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}

.concept-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.concept-card__num {
  font-family: var(--font-cond);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--line-dark);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5ch;
  user-select: none;
}

.concept-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.concept-card__meta {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.concept-card__body {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   12. Outcomes
--------------------------------------------------------------- */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) {
  .outcomes-grid { grid-template-columns: repeat(3, 1fr); }
}

.outcome-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
}

.outcome-card__num {
  font-family: var(--font-cond);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: var(--sp-3);
}

.outcome-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.outcome-card__body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ---------------------------------------------------------------
   13. Curriculum
--------------------------------------------------------------- */
.tools-section {
  margin-bottom: var(--sp-12);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
}

.tool-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-8);
}

.tool-card__name {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: var(--sp-2);
}

.tool-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.tool-card .arrow {
  color: var(--blue-light);
}

.curriculum-table-wrap {
  margin-bottom: var(--sp-10);
  overflow-x: auto;
}

.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.curriculum-table th {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.curriculum-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.curriculum-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; }

.curriculum-table td {
  padding: var(--sp-4);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.6;
}

.curriculum-table tr:last-child td { border-bottom: none; }
.curriculum-table tr:hover td { background: var(--surface); }

.format-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
}

.format-box__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-5);
  color: var(--navy);
}

.format-grid {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

@media (min-width: 640px) {
  .format-grid { grid-template-columns: repeat(3, 1fr); }
}

.format-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.format-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.format-item__value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.format-box__note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------
   14. Trust
--------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}

.trust-stat {
  text-align: center;
  padding: var(--sp-6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
}

.trust-stat__num {
  font-family: var(--font-cond);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.trust-stat__unit {
  font-size: 0.6em;
  font-weight: 700;
}

.trust-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.instructor-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.instructor-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.instructor-card__tags {
  font-size: 0.8rem;
  color: var(--amber);
  margin-bottom: var(--sp-4);
}

.instructor-card__bio {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.instructor-card__bio::before { content: '"'; }
.instructor-card__bio::after  { content: '"'; }

.trust-parent-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
}

.trust-parent-note strong { color: rgba(255,255,255,0.85); }

/* ---------------------------------------------------------------
   15. FAQ
--------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  transition: color 0.15s;
}

.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { display: none; }

.faq-item__q:hover { color: var(--blue); }

.faq-item__q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-item__q {
  color: var(--blue);
}

.faq-item__a {
  padding-bottom: var(--sp-5);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.8;
  animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
   16. CTA Section
--------------------------------------------------------------- */
.cta-block {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-block__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.cta-block__lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: var(--sp-8);
}

.cta-block__date {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-6);
  margin-bottom: var(--sp-8);
}

.cta-date-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.cta-date-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.cta-block__actions {
  margin-bottom: var(--sp-4);
}

.cta-block__note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-10);
}

.price-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-8);
}

.price-item {
  text-align: center;
}

.price-item__label {
  display: block;
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: var(--sp-1);
  letter-spacing: 0.04em;
}

.price-item__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}

.price-item__note {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: var(--sp-1);
}

.price-divider {
  color: rgba(255,255,255,0.15);
  font-size: 1.5rem;
}

/* ---------------------------------------------------------------
   17. Footer
--------------------------------------------------------------- */
.footer {
  background: #080e1a;
  color: rgba(255,255,255,0.6);
  padding-block: var(--sp-12) var(--sp-8);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: var(--sp-6);
}

@media (min-width: 640px) {
  .footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  margin-bottom: var(--sp-2);
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--amber);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
}

.footer__nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.footer__nav a:hover { color: var(--white); text-decoration: none; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copy {
  font-size: 0.78rem;
}

.footer__legal {
  display: flex;
  gap: var(--sp-4);
}

.footer__legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

/* ---------------------------------------------------------------
   18. Scroll Reveal Animations
--------------------------------------------------------------- */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.concept-grid .concept-card:nth-child(2) { transition-delay: 0.08s; }
.concept-grid .concept-card:nth-child(3) { transition-delay: 0.16s; }
.concept-grid .concept-card:nth-child(4) { transition-delay: 0.24s; }

.outcomes-grid .outcome-card:nth-child(2) { transition-delay: 0.08s; }
.outcomes-grid .outcome-card:nth-child(3) { transition-delay: 0.16s; }

.trust-grid .trust-stat:nth-child(2) { transition-delay: 0.08s; }
.trust-grid .trust-stat:nth-child(3) { transition-delay: 0.16s; }

/* ---------------------------------------------------------------
   19. Responsive Overrides
--------------------------------------------------------------- */
@media (max-width: 480px) {
  .section { padding-block: var(--sp-16); }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-block__date { flex-direction: column; gap: var(--sp-1); }
  .price-summary { flex-direction: column; gap: var(--sp-4); }
  .price-divider { display: none; }
}

/* ---------------------------------------------------------------
   20. Reduced Motion — アニメーションを抑える設定への配慮
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------------------------------------------------------------
   Contact Form / メールで問い合わせ
--------------------------------------------------------------- */
.contact-form {
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

/* ハニーポット（画面・スクリーンリーダーから隠す） */
.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-field {
  display: block;
  margin-bottom: var(--sp-5);
}

.form-field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.form-req,
.form-opt {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.05em 0.5em;
  border-radius: var(--r-sm);
  margin-left: var(--sp-1);
  vertical-align: 0.1em;
}
.form-req { background: var(--amber); color: var(--navy); }
.form-opt { background: var(--surface-2); color: var(--ink-soft); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__submit {
  text-align: center;
  margin-top: var(--sp-6);
}

.contact-form__privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: var(--sp-4);
}

.form-status {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
}
.form-status--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.form-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------------------------------------------------------------
   Contact Paths — 統合CTA内の2導線（LINE / メールフォーム）
--------------------------------------------------------------- */
.contact-paths {
  max-width: 640px;
  margin: var(--sp-10) auto 0;
}

.contact-path {
  text-align: center;
}

.contact-path__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--amber);
  padding: 0.2em 0.8em;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}

.contact-path__title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.contact-path__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

/* 「または」区切り */
.contact-paths__or {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: var(--sp-8) 0;
}
.contact-paths__or::before,
.contact-paths__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.contact-paths__or span {
  padding: 0 var(--sp-4);
}

.contact-path--form {
  text-align: left;
}
.contact-path--form .contact-path__title,
.contact-path--form .contact-path__desc {
  text-align: center;
}

/* 濃紺背景でのフォーム配色（入力欄は白地のまま・ラベルや注記を明色に） */
.contact-form--on-dark {
  margin-top: var(--sp-6);
}
.contact-form--on-dark .form-field__label {
  color: rgba(255, 255, 255, 0.92);
}
.contact-form--on-dark .form-opt {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
}
.contact-form--on-dark .contact-form__privacy {
  color: rgba(255, 255, 255, 0.5);
}

/* 料金まとめを統合セクションで中央寄せ */
.section--cta .price-summary {
  max-width: 640px;
  margin: var(--sp-10) auto 0;
}
