/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   JOWA SCHOOL — subpage.css  サブページ共通
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── PAGE HERO ── */
.pg-hero {
  padding: calc(52px + 56px) 48px 60px;
  position: relative; overflow: hidden;
}
.pg-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pg-hero-inner {
  max-width: 1120px; margin: 0 auto;
  position: relative; z-index: 1;
}
.pg-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.pg-breadcrumb a, .pg-breadcrumb span {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.5); letter-spacing: .04em;
}
.pg-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.pg-breadcrumb .sep { color: rgba(255,255,255,.25); }
.pg-breadcrumb .current { color: rgba(255,255,255,.8); }

.pg-hero-badges {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.pg-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
}
.pg-badge-coral { background: var(--coral); color: var(--white); }

.pg-hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800; color: var(--white);
  line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.pg-hero-lead {
  font-size: 15px; color: rgba(255,255,255,.7);
  line-height: 1.85; max-width: 680px; margin-bottom: 32px;
}
.pg-hero-specs {
  display: flex; gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  overflow: hidden; flex-wrap: wrap;
  max-width: 640px;
}
.pg-hero-spec {
  padding: 16px 24px; flex: 1; min-width: 120px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.pg-hero-spec:last-child { border-right: none; }
.pg-hero-spec-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  color: rgba(255,255,255,.45); text-transform: uppercase; margin-bottom: 4px;
}
.pg-hero-spec-value {
  font-family: var(--font-disp);
  font-size: 16px; font-weight: 800; color: var(--white);
  line-height: 1.2;
}

/* ── BODY LAYOUT ── */
.pg-body {
  max-width: 1120px; margin: 0 auto;
  padding: 64px 48px;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 56px; align-items: start;
}
.pg-main {}
.pg-sidebar {}

/* ── SECTION BLOCK ── */
.pg-section { margin-bottom: 56px; }
.pg-section:last-child { margin-bottom: 0; }
.pg-section-title {
  font-family: var(--font-disp);
  font-size: 20px; font-weight: 800; color: var(--ink);
  letter-spacing: -.015em; margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.pg-section p {
  font-size: 15px; color: var(--sub); line-height: 1.9;
  margin-bottom: 12px;
}
.pg-section p:last-child { margin-bottom: 0; }

/* ── HIGHLIGHT BOX ── */
.pg-highlight {
  background: rgba(14,116,144,.06);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 20px 0;
}
.pg-highlight p {
  font-family: var(--font-disp);
  font-size: 16px; font-weight: 700;
  color: var(--teal-dark); line-height: 1.6;
  margin: 0;
}

/* ── FEATURE LIST ── */
.pg-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-top: 20px;
}
.pg-feature {
  background: var(--ice);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex; gap: 12px; align-items: flex-start;
}
.pg-feature-icon {
  font-size: 22px; flex-shrink: 0; margin-top: 1px;
}
.pg-feature-title {
  font-family: var(--font-disp);
  font-size: 13px; font-weight: 800; color: var(--ink);
  margin-bottom: 4px;
}
.pg-feature-desc { font-size: 12px; color: var(--sub); line-height: 1.65; }

/* ── SCENES LIST ── */
.pg-scenes { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pg-scene {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.pg-scene-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0; margin-top: 6px;
}
.pg-scene-text { font-size: 14px; color: var(--ink); line-height: 1.6; }
.pg-scene-text strong { font-weight: 700; color: var(--teal-dark); display: block; margin-bottom: 2px; }

/* ── FLOW STEPS ── */
.pg-flow { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.pg-flow-step {
  display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 24px; position: relative;
}
.pg-flow-step:not(:last-child)::before {
  content: '';
  position: absolute; left: 15px; top: 32px;
  width: 2px; height: calc(100% - 12px);
  background: var(--rule);
}
.pg-flow-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-family: var(--font-disp); font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.pg-flow-body {}
.pg-flow-title {
  font-family: var(--font-disp);
  font-size: 14px; font-weight: 800; color: var(--ink);
  margin-bottom: 4px; line-height: 1.3;
}
.pg-flow-desc { font-size: 13px; color: var(--sub); line-height: 1.65; }

/* ── SCHEDULE TABLE ── */
.pg-schedule {
  border: 1px solid var(--rule); border-radius: var(--radius-md);
  overflow: hidden; margin-top: 20px;
}
.pg-schedule-row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--rule);
}
.pg-schedule-row:last-child { border-bottom: none; }
.pg-schedule-row:first-child { background: var(--teal); }
.pg-schedule-time {
  width: 90px; flex-shrink: 0;
  padding: 12px 14px;
  font-family: var(--font-disp); font-size: 13px; font-weight: 700;
  color: var(--teal); background: rgba(14,116,144,.06);
  border-right: 1px solid var(--rule);
  display: flex; align-items: center;
}
.pg-schedule-row:first-child .pg-schedule-time {
  color: rgba(255,255,255,.8); background: transparent; border-right-color: rgba(255,255,255,.2);
}
.pg-schedule-content {
  padding: 12px 16px; font-size: 13px; color: var(--ink);
  line-height: 1.6; flex: 1; display: flex; align-items: center;
}
.pg-schedule-row:first-child .pg-schedule-content {
  font-family: var(--font-disp); font-weight: 800; color: var(--white); font-size: 12px; letter-spacing: .06em;
}

/* ── CONDITIONS ── */
.pg-conditions { margin-top: 16px; }
.pg-condition {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
}
.pg-condition:last-child { border-bottom: none; }
.pg-condition-num {
  font-family: var(--font-disp); font-size: 11px; font-weight: 800;
  color: var(--white); background: var(--teal);
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.pg-condition-text { font-size: 14px; color: var(--ink); line-height: 1.6; }

/* ── SIDEBAR ── */
.pg-sidebar-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.pg-sidebar-card-head {
  background: var(--teal);
  padding: 14px 20px;
  font-family: var(--font-disp);
  font-size: 13px; font-weight: 800;
  color: var(--white); letter-spacing: .04em;
}
.pg-sidebar-card-body { padding: 20px; }
.pg-sidebar-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--rule);
}
.pg-sidebar-row:last-child { border-bottom: none; }
.pg-sidebar-label { font-size: 12px; color: var(--sub); font-weight: 600; flex-shrink: 0; }
.pg-sidebar-value { font-size: 13px; color: var(--ink); font-weight: 700; text-align: right; line-height: 1.4; }

.pg-sidebar-cta {
  background: var(--ice);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 24px 20px; text-align: center;
}
.pg-sidebar-cta p {
  font-size: 13px; color: var(--sub); line-height: 1.7; margin-bottom: 16px;
}
.pg-sidebar-cta .btn-primary { width: 100%; justify-content: center; margin-bottom: 10px; }
.pg-sidebar-cta .btn-outline { width: 100%; justify-content: center; }

/* ── CTA SECTION ── */
.pg-cta-section {
  background: var(--teal-dark);
  padding: 64px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.pg-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pg-cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.pg-cta-title {
  font-family: var(--font-disp);
  font-size: clamp(22px,2.5vw,32px); font-weight: 800;
  color: var(--white); margin-bottom: 12px; letter-spacing: -.02em;
}
.pg-cta-lead { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 32px; }
.pg-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .pg-body { grid-template-columns: 1fr; gap: 40px; }
  .pg-sidebar { order: -1; }
  .pg-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pg-hero { padding: calc(52px + 40px) 24px 44px; }
  .pg-body { padding: 40px 24px; }
  .pg-hero-specs { flex-direction: column; }
  .pg-hero-spec { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pg-hero-spec:last-child { border-bottom: none; }
  .pg-cta-section { padding: 48px 24px; }
}
