:root {
  --paper: #ffffff;
  --paper-deep: #fdf1f4;
  --ink: #3d2b30;
  --ink-soft: #9c8085;
  --terracotta: #f6c9d1;
  --terracotta-deep: #e28a9c;
  --terracotta-soft: #fce4e8;
  --plum: #e28a9c;
  --plum-deep: #e28a9c;
  --gold: #c99a4b;
  --gold-soft: #ecd7ab;
  --white: #ffffff;
  --font-display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --max-width: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.wc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Page loader: signature written by a brush ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
.page-loader-signature {
  width: min(58vw, 340px);
  height: auto;
  clip-path: inset(0 100% 0 0);
  filter: drop-shadow(0 6px 16px rgba(193,118,144,0.28));
  animation: loaderWrite 1.7s cubic-bezier(0.65,0,0.35,1) 0.2s forwards;
}
@keyframes loaderWrite {
  to { clip-path: inset(0 0 0 0); }
}
.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .page-loader-signature { animation: none; clip-path: inset(0 0 0 0); }
  .page-loader { transition: none; }
}
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}

/* subtle paper grain, no big asset needed */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(193,118,144,0.05) 1px, transparent 0);
  background-size: 22px 22px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.sp-only { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--terracotta-deep);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.35);
}
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 5px 14px -6px rgba(0,0,0,0.35); }
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 8px;
}
.btn-outline:hover { background: var(--white); }
.btn.btn-line-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.3;
  background: #06c755;
  border-color: #06c755;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(6,199,85,0.5);
}
.btn.btn-line-cta:hover { background: #05b64c; border-color: #05b64c; }
.btn-line-cta-label {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.02em;
}
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-line {
  background: #06c755;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
}
.btn-line:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0,0,0,0.15); }
.btn.btn-archive {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.3;
  background: #fff;
  border: 1.5px solid var(--terracotta-deep);
  color: var(--terracotta-deep);
  box-shadow: 0 8px 20px -8px rgba(226,138,156,0.4);
}
.btn.btn-archive:hover { background: var(--terracotta-soft); }
.btn-archive-label {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.btn-disabled {
  background: #d9d9d9;
  color: #8a8a8a;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.btn-disabled:hover { transform: none; box-shadow: none; }
.btn-lg { padding: 16px 38px; font-size: 1.02rem; }
.header-cta { padding: 9px 22px; font-size: 0.86rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(193,118,144,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 6px 20px -10px rgba(193,118,144,0.35);
}
.site-header.is-scrolled .header-inner { height: 60px; }
.logo {
  display: flex;
  align-items: center;
}
.logo-image {
  height: 50px;
  width: auto;
  display: block;
}
.main-nav { display: flex; gap: 30px; font-size: 0.9rem; font-weight: 500; font-family: var(--font-display); }
.main-nav a {
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

@media (max-width: 880px) {
  .main-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--paper);
  padding: 72px 0 96px;
}
/* ---------- Watercolor wash blobs (shared signature motif) ---------- */
.wc-blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  --parallax-y: 0px;
}
.wc-blob-hero-a { width: 480px; height: 480px; top: -190px; right: -150px; transform: rotate(6deg) translateY(var(--parallax-y)); }
.wc-blob-hero-b { width: 320px; height: 320px; bottom: -130px; left: -100px; transform: rotate(-12deg) translateY(var(--parallax-y)); }
.wc-blob-frame {
  position: absolute;
  width: 340px; height: 340px;
  top: -60px; right: -70px;
  z-index: 0;
  pointer-events: none;
}
.wc-blob-about { width: 300px; height: 300px; top: 40px; right: -110px; transform: rotate(-8deg) translateY(var(--parallax-y)); opacity: 0.8; }
.wc-blob-persona-a { width: 380px; height: 380px; top: -100px; left: -140px; transform: rotate(-4deg) translateY(var(--parallax-y)); }
.wc-blob-persona-b { width: 300px; height: 300px; bottom: -120px; right: -110px; transform: rotate(10deg) translateY(var(--parallax-y)); }
.wc-blob-curriculum-a { width: 340px; height: 340px; top: -110px; right: -130px; transform: rotate(14deg) translateY(var(--parallax-y)); }
.wc-blob-curriculum-b { width: 260px; height: 260px; bottom: -100px; left: -90px; transform: rotate(-10deg) translateY(var(--parallax-y)); }

@media (max-width: 880px) {
  .wc-blob { transform: scale(0.7) translateY(var(--parallax-y)); opacity: 0.7; }
}

/* ---------- Brush-stroke section dividers ---------- */
.brush-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 1;
  pointer-events: none;
}
.brush-divider-top { top: -1px; }
.brush-divider-bottom { bottom: -1px; transform: scaleY(-1); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--terracotta-deep);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.hero-callout {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--terracotta-deep);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.hero-text{
  z-index: 2;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--plum);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  position: relative;
}
.accent {
  color: var(--terracotta-deep);
  position: relative;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 480px;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.badge {
  background: var(--white);
  border: 1px solid var(--paper-deep);
  color: var(--terracotta-deep);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
}
.badge-gold {
  border-color: var(--gold);
  color: var(--gold);
  position: relative;
  padding-left: 30px;
}
.badge-gold::before {
  content: "";
  position: absolute;
  left: 10px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -5px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta-group .btn-line-cta { width: 100%; max-width: 460px; }

.hero-visual {
  position: relative;
  z-index: 1;
  overflow: visible;
}
.hero-signature {
  position: absolute;
  top: -170px;
  right: -100px;
  width: 240px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(193,118,144,0.3));
}
@media (max-width: 880px) {
  .hero-signature { width: 110px; top: -12px; right: 4px; }
}
.hero-frame {
  position: relative;
  transform: scale(2);
  transform-origin: center;
}
.hero-flyer {
  position: relative;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 48%, #000 40%, transparent 75%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 48%, #000 40%, transparent 75%);
}
@media (max-width: 880px) {
  .hero { padding: 50px 0 96px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto 12px; }
  .hero-frame { transform: scale(1.16); }
  .hero-flyer {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .btn-lg.btn-line-cta,
  .btn-lg.btn-outline { width: 100%; text-align: center; }
}

/* ---------- 7/17 seminar teaser (prominent, right under hero) ---------- */
.seminar-teaser {
  background: var(--paper-deep);
  padding: 22px 0;
  border-top: 1px solid rgba(193,118,144,0.1);
  border-bottom: 1px solid rgba(193,118,144,0.1);
}
.seminar-teaser-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.seminar-teaser-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 8px 18px -6px rgba(193,118,144,0.35);
}
.seminar-teaser-photo img { width: 100%; height: 100%; object-fit: cover; }
.seminar-teaser-text { flex: 1; min-width: 240px; }
.seminar-teaser-eyebrow {
  font-weight: 800;
  color: var(--terracotta-deep);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.seminar-teaser-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 4px;
  line-height: 1.4;
}
.seminar-teaser-desc { font-size: 0.85rem; color: var(--ink-soft); }
.seminar-teaser-cta { flex-shrink: 0; white-space: nowrap; }
.seminar-ended-note {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  margin-top: 8px;
}
.seminar-cta-group { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.seminar-ended-block { filter: grayscale(1); opacity: 0.55; }
.seminar-archive-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; }

@media (max-width: 880px) {
  .seminar-teaser-inner { flex-direction: column; text-align: center; }
  .seminar-teaser-cta { width: 100%; text-align: center; white-space: normal; }
  .seminar-cta-group { width: 100%; }
  .seminar-cta-group .btn { white-space: normal; }
}

/* ---------- Facts strip (replaces dark stat block) ---------- */
.overview-bar {
  background: var(--paper);
  padding: 0;
  border-top: 1px solid rgba(193,118,144,0.1);
  border-bottom: 1px solid rgba(193,118,144,0.1);
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.overview-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 28px;
  border-left: 1px solid rgba(193,118,144,0.12);
}
.overview-item:first-child { border-left: none; }
.overview-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  letter-spacing: 0.08em;
}
.overview-value { font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.overview-value.highlight { color: var(--gold); font-weight: 800; font-size: 1.05rem; }
.overview-value-split { display: flex; flex-direction: column; }
.overview-sub-label {
  font-weight: 800;
  color: var(--terracotta-deep);
  font-size: 0.88rem;
  margin-top: 6px;
}
.overview-sub-label:first-child { margin-top: 0; }
.overview-sub-detail { font-size: 0.88rem; color: var(--ink); margin-bottom: 2px; }

@media (max-width: 880px) {
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .overview-item:nth-child(2n+1) { border-left: none; }
  .overview-item:nth-child(-n+2) { border-bottom: 1px solid rgba(193,118,144,0.12); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-alt {
  background: var(--paper);
  border-top: 1px solid rgba(193,118,144,0.08);
  border-bottom: 1px solid rgba(193,118,144,0.08);
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.eyebrow-light { color: var(--gold-soft); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 22px;
  line-height: 1.55;
}
.title-light { color: #fff; }
.section-title-note {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--terracotta-deep);
  margin-left: 10px;
  vertical-align: middle;
}
.section-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 52px;
}

/* ---------- Flow diagram (steps in a straight line) ---------- */
.flow-diagram {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 24px;
  padding-top: 20px;
  margin-bottom: 12px;
}
.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.flow-step h3 {
  font-family: var(--font-display);
  color: var(--plum);
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-weight: 800;
}
.flow-step p { font-size: 0.82rem; color: var(--ink-soft); }
.flow-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--terracotta);
  color: var(--terracotta-deep);
  font-weight: 800;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px -2px rgba(0,0,0,0.1);
}
.flow-arrow {
  display: none;
}
.flow-diagram::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 39px;
  height: 1px;
  border-top: 2px dashed var(--gold-soft);
  z-index: -1;
}

@media (max-width: 880px) {
  .flow-diagram { flex-direction: column; align-items: stretch; gap: 28px; padding-top: 0; }
  .flow-diagram::before { display: none; }
  .flow-step { transform: none !important; text-align: center; }
}

/* ---------- Persona voices: worries only, no identifying details ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.persona-card {
  text-align: center;
}
.persona-card blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.75;
  background: var(--paper-deep);
  border-radius: 22px;
  padding: 24px 22px 20px;
  margin-top: 22px;
}
.persona-card blockquote::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 15px solid var(--paper-deep);
}
.persona-note {
  text-align: center;
  margin-top: 56px;
  font-weight: 700;
  color: var(--plum);
  font-size: 1.02rem;
  font-family: var(--font-display);
}

@media (max-width: 880px) {
  .persona-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Support: stepping-stones path ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
  position: relative;
  padding-top: 10px;
}
.support-grid-5 { grid-template-columns: repeat(5, 1fr); }
.support-grid::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 54px;
  height: 0;
  border-top: 2px dotted var(--terracotta-soft);
  z-index: 0;
}
.support-card {
  background: transparent;
  padding: 0 10px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-deep);
  box-shadow: 0 10px 24px -8px rgba(193,118,144,0.18);
}
.support-icon svg { width: 26px; height: 26px; }
.support-card h3 { font-size: 1rem; font-weight: 800; color: var(--plum); margin-bottom: 8px; }
.support-card p { font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .support-grid-5 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}

@media (max-width: 880px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid::before { display: none; }
}

@media (max-width: 560px) {
  .support-grid-5 { grid-template-columns: 1fr; }
}

/* ---------- Curriculum: ascending staircase ---------- */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 30px;
}
.curriculum-card {
  background: var(--white);
  border-radius: 28px 6px 28px 6px;
  padding: 30px 26px;
  box-shadow: 0 16px 36px -16px rgba(193,118,144,0.22);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--paper-deep);
}
.curriculum-card:nth-child(1) { transform: translateY(36px); }
.curriculum-card:nth-child(2) { transform: translateY(0); }
.curriculum-card:nth-child(3) { transform: translateY(-36px); }
.curriculum-step-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.curriculum-step {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--plum);
  padding: 5px 14px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: 0.05em;
}
.beginner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--paper-deep);
  padding: 4px 10px;
  border-radius: 999px;
}
.beginner-badge svg { width: 12px; height: 12px; fill: var(--gold); }
.curriculum-card h3 { font-size: 1.08rem; color: var(--plum); margin-bottom: 10px; font-weight: 800; }
.curriculum-desc { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 20px; }
.curriculum-list { list-style: none; flex-grow: 1; margin-bottom: 18px; }
.curriculum-list li {
  font-size: 0.87rem;
  padding: 9px 0;
  border-bottom: 1px dashed var(--paper-deep);
  padding-left: 22px;
  position: relative;
  color: var(--ink);
}
.curriculum-list-spacer::before { display: none; }
.curriculum-list li::before {
  content: "";
  position: absolute; left: 2px; top: 16px;
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
}
.curriculum-meta { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); text-align: right; }
.curriculum-total {
  text-align: center;
  margin-top: 56px;
  font-weight: 700;
  color: var(--plum);
  font-size: 1.05rem;
  font-family: var(--font-display);
}

@media (max-width: 880px) {
  .curriculum-grid { grid-template-columns: 1fr; padding-top: 0; gap: 22px; }
  .curriculum-card:nth-child(1), .curriculum-card:nth-child(2), .curriculum-card:nth-child(3) {
    transform: none;
  }
}

/* ---------- Timeline (wavy rising spine) ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 7px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='80' viewBox='0 0 7 80'%3E%3Cpath d='M3.5 0 C6.5 10 0.5 20 3.5 30 C6.5 40 0.5 50 3.5 60 C6.5 70 0.5 76 3.5 80' fill='none' stroke='%23c2645c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  opacity: 0.6;
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--terracotta-soft);
}
.highlight-item .timeline-dot {
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-soft);
  width: 18px; height: 18px;
  left: -42px;
}
.timeline-month {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--terracotta-deep);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.highlight-item .timeline-month { color: var(--plum); }
.timeline-content { font-size: 0.95rem; color: var(--ink); }
/* ---------- Schedule table ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.schedule-table-wrap { margin-top: 8px; }
.schedule-scroll-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--terracotta-deep);
  font-weight: 700;
  margin-bottom: 10px;
}
.schedule-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  box-shadow: 0 10px 24px -16px rgba(193,118,144,0.35);
}
.schedule-table {
  width: 100%;
  min-width: 920px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--paper-deep);
  border-radius: 18px;
  overflow: hidden;
}
.schedule-table th,
.schedule-table td {
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--paper-deep);
  border-right: 1px solid var(--paper-deep);
}
.schedule-table th:last-child,
.schedule-table td:last-child { border-right: none; }
.schedule-table tbody tr:last-child th,
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table thead th {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--terracotta-deep);
  text-align: center;
  padding: 12px 14px;
}
.schedule-table thead th.schedule-th-label { background: var(--plum); }
.schedule-th-label {
  width: 168px;
  min-width: 168px;
  background: var(--paper-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--plum);
}
.schedule-th-sub {
  display: block;
  margin-top: 6px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.schedule-row-group-top td { border-bottom: none; }
.schedule-row-group-top > th.schedule-th-label {
  text-align: center;
  vertical-align: middle;
}
.schedule-table tbody td strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 6px;
}
.schedule-table tbody td span:not(.schedule-bar):not(.schedule-bar-note) {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.schedule-row-bar td { vertical-align: middle; }
.schedule-bar {
  display: block;
  height: 10px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--terracotta-deep), var(--gold));
  margin-bottom: 8px;
}
.schedule-bar-note {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.schedule-notes {
  margin-top: 14px;
  font-size: 0.74rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

@media (max-width: 880px) {
  .schedule-scroll-hint { display: block; }
  .schedule-table tbody td span:not(.schedule-bar):not(.schedule-bar-note) { font-size: 0.6rem; }
}

/* ---------- Seminar section ---------- */
.section-seminar {
  background: var(--plum-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* section background now matches --terracotta-deep, so the primary
   button needs its own contrast instead of blending into the section */
.section-seminar .btn-primary {
  background: #fff;
  color: var(--terracotta-deep);
  box-shadow: 0 6px 0 rgba(0,0,0,0.15);
}
.section-seminar .btn-primary:hover {
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.section-seminar::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,75,0.22) 0%, transparent 70%);
  top: -160px; right: -120px;
}
.seminar-inner { display: flex; justify-content: center; position: relative; z-index: 1; }
.seminar-info { max-width: 720px; }
.seminar-secondary {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.seminar-desc { font-size: 1rem; color: rgba(255,255,255,0.82); margin-bottom: 30px; }
.seminar-detail-list { list-style: none; margin-bottom: 36px; }
.seminar-detail-list li {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 0.95rem;
}
.seminar-detail-list li span {
  flex-shrink: 0;
  width: 64px;
  font-weight: 800;
  color: var(--gold-soft);
}
.seminar-detail-content {
  width: auto !important;
  font-weight: 400 !important;
  color: #fff !important;
}
.seminar-detail-note {
  width: auto !important;
  font-size: 0.82rem;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.75) !important;
}
.section-seminar .seminar-ended-note { color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.section-seminar .btn-disabled { background: rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }
.section-seminar .seminar-archive-note { color: rgba(255,255,255,0.82); margin-top: 0; margin-bottom: 18px; }
/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--paper-deep);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--plum);
  list-style: none;
  position: relative;
  padding-left: 34px;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--terracotta-deep);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--terracotta-deep);
  border-bottom: 2px solid var(--terracotta-deep);
  transform: rotate(45deg);
  transition: transform 0.25s ease, top 0.25s ease;
}
.faq-item[open] summary::after {
  top: 9px;
  transform: rotate(-135deg);
}
.faq-item p {
  margin-top: 14px;
  padding-left: 34px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Apply ---------- */
.section-apply {
  background: var(--terracotta-deep);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-apply::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  bottom: -260px; left: -160px;
}
.apply-inner { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.apply-desc { font-size: 1rem; color: rgba(255,255,255,0.92); margin-bottom: 34px; }
.apply-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.apply-org {
  background: var(--white);
  border-radius: 24px;
  padding: 32px 40px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.9;
  box-shadow: 0 20px 44px -20px rgba(0,0,0,0.3);
}
.apply-org-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--plum);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.apply-org-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: left;
}
.apply-org-logo-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.apply-org-logo-col img {
  height: 38px;
  width: auto;
  display: block;
}
.apply-org-logo-kumamoto {
  height: 60px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--paper-deep);
}
.apply-org-info-col { text-align: left; }
.apply-org-name { color: var(--plum); font-weight: 700; }
.apply-org a { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 3px; }
.apply-org a:hover { opacity: 0.75; }
.apply-org-privacy { margin-top: 12px; }
.apply-org-privacy a { font-weight: 700; }

@media (max-width: 560px) {
  .apply-org { padding: 28px 22px; }
  .apply-org-columns { flex-direction: column; text-align: center; }
  .apply-org-info-col { text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,0.65); padding: 44px 0; }
.footer-inner { text-align: center; }
.footer-logo { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.footer-desc { font-size: 0.85rem; margin-bottom: 0; }
.footer-links { font-size: 0.82rem; margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.78rem; opacity: 0.7; }

/* ---------- About intro ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 40px;
  align-items: center;
  margin-bottom: 8px;
}
.about-deco {
  text-align: center;
}
.about-deco img {
  width: 100%;
  max-width: 200px;
  mix-blend-mode: multiply;
}
@media (max-width: 880px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-deco { display: none; }
}

/* ---------- Persona card image ---------- */
.persona-card-img {
  text-align: center;
  margin-bottom: 20px;
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.persona-card-img img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.persona-card-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--terracotta-deep);
  background: var(--paper-deep);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Curriculum header ---------- */
.curriculum-header {
  margin-bottom: 0;
}

/* ---------- Seminar image ---------- */
.seminar-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.seminar-img {
  flex-shrink: 0;
  width: 220px;
  opacity: 0.88;
}
.seminar-img img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  mix-blend-mode: multiply;
}
.seminar-img-photo {
  width: 300px;
  opacity: 1;
  border-radius: 50%;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.5);
}
.seminar-img-photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  mix-blend-mode: normal;
  border: 4px solid rgba(255,255,255,0.9);
}
@media (max-width: 880px) {
  .seminar-inner { flex-direction: column; gap: 0; }
  .seminar-img { display: none; }
}

/* ---------- Privacy policy page ---------- */
.policy-container { max-width: 860px; }
.policy-lead {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--terracotta-soft);
}
.policy-article { margin-bottom: 40px; }
.policy-article h2 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 14px;
}
.policy-article p {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 10px;
}
.policy-list {
  list-style: none;
  margin: 0 0 4px;
}
.policy-list > li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.9;
}
.policy-list > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}
.policy-sublist {
  list-style: none;
  margin-top: 10px;
}
.policy-sublist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.8;
}
.policy-sublist li::before {
  content: "―";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.policy-contact-box {
  background: var(--paper-deep);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 16px;
}
.policy-contact-box p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 2px;
}

/* ---------- Floating 7/17 seminar button ---------- */
.floating-seminar-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.floating-seminar-badge {
  background: var(--gold);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 10px;
  white-space: nowrap;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.35);
  transform: rotate(-4deg);
}
.floating-seminar-btn {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  color: var(--terracotta-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  padding: 0 8px;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.4);
  border: 3px solid var(--terracotta-deep);
  animation: floatPulse 2.4s ease-in-out infinite;
}
.floating-seminar-btn:hover { animation-play-state: paused; }
.floating-seminar-date {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
}
.floating-seminar-label { font-size: 0.66rem; font-weight: 700; }

@keyframes floatPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@media (max-width: 560px) {
  .floating-seminar-wrap { right: 14px; bottom: 14px; }
  .floating-seminar-btn { width: 80px; height: 80px; }
  .floating-seminar-date { font-size: 0.94rem; }
  .floating-seminar-label { font-size: 0.58rem; }
  .floating-seminar-badge { font-size: 0.58rem; padding: 4px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-seminar-btn { animation: none; }
}

/* ---------- Reveal ---------- */
/* opacity-only: several elements above already carry their own
   nth-child transform (staircase/stepping-stone offsets), so reveal
   must not touch `transform` or it would cancel those out on completion */
.reveal {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; }

/* elements free of their own nth-child transform can also rise into place */
.reveal-rise {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-rise.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Hero: gentle fade-and-rise on page load ---------- */
.hero-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-fade.is-visible { opacity: 1; transform: translateY(0); }
.hero-fade-1 { transition-delay: 0.15s; }
.hero-fade-2 { transition-delay: 0.35s; }
.hero-fade-3 { transition-delay: 0.55s; }
.hero-fade-4 { transition-delay: 0.75s; }
.hero-fade-5 { transition-delay: 0.9s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-rise, .hero-fade { opacity: 1; transform: none; transition: none; }
  .wc-blob { transition: none !important; }
  html { scroll-behavior: auto; }
}
