:root{
  --bg: #0a0e1a;
  --bg-panel: #10162a;
  --gold: #d4af37;
  --gold-bright: #f1c84f;
  --red: #c0392b;
  --text: #e8e6df;
  --text-dim: #9aa1b4;
  --border: #2a3350;
}
*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
.wrap{ max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---- Kicker / badge ---- */
.kicker{
  display:inline-block;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---- HERO ---- */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 100px 20px 80px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: url('../img/AdobeStock_1886779126.jpeg');
  background-size: cover;
  background-position: center;
  filter: saturate(0.6) brightness(0.35);
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.75) 45%, var(--bg) 100%);
  z-index:1;
}
.hero-inner{ position:relative; z-index:2; max-width: 780px; }
.hero-eyebrow{
  color: var(--gold-bright);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-weight: 600;
}
.hero-title{ margin-bottom: 40px; }
.hero-title .line1{
  display:block;
  color: var(--red);
  font-size: clamp(1.25rem, 4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(192,57,43,0.5);
}
.hero-title .line2{
  display:block;
  color: #fff;
  font-size: clamp(2.5rem, 10vw, 5.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 34px rgba(0,0,0,0.75);
}
.hero-title .line3{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--gold-bright);
  font-size: clamp(1.2rem, 3.6vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 22px rgba(212,175,55,0.55);
}
.hero-title .line3::before,
.hero-title .line3::after{
  content:"";
  flex: 1 1 50px;
  max-width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright));
}
.hero-title .line3::after{
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.hero-sub{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin: 0 auto 36px;
  max-width: 620px;
}
.hero-sub p{
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  color: var(--text);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  text-align: left;
  font-weight: 500;
}
.hero-lecturer{
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 34px;
  letter-spacing: 0.03em;
}

/* ---- CTA button ---- */
.cta-btn{
  display:inline-block;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1406;
  font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  padding: 20px 44px;
  border-radius: 8px;
  text-decoration:none;
  box-shadow: 0 8px 30px rgba(212,175,55,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.02em;
}
.cta-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212,175,55,0.5);
}
.cta-note{
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.cta-center{ text-align:center; margin: 60px 0; }

/* ---- Section shell ---- */
section{ padding: 90px 0; position:relative; }
.section-head{ text-align:center; margin-bottom: 56px; }
.section-head .kicker{ margin-bottom: 16px; }
.section-head h2{
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color:#fff;
}
.section-head p.lead{
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 1rem;
}

/* ---- Whitman quote section ---- */
.quote-section{
  position:relative;
  padding: 100px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-wrap{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.quote-portrait{
  flex: 0 0 280px;
  position: relative;
}
.quote-portrait::before{
  content:"";
  position:absolute;
  top:-16px; left:-16px;
  width:100%; height:100%;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index:0;
}
.quote-portrait img{
  position:relative;
  z-index:1;
  width:100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(1) contrast(1.12) brightness(1.05);
  border-radius: 4px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.55);
}
.quote-portrait-cap{
  position:relative;
  z-index:1;
  margin-top: 18px;
  text-align:center;
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
}
.quote-text{ flex: 1; min-width: 0; }
.quote-mark{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  color: var(--gold);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: -18px;
}
.poem{
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #f2efe6;
  line-height: 2.05;
  text-align: left;
}
.poem span{ display:block; }
.poem span:nth-child(even){ margin-left: 1.2em; }
.quote-attrib{
  margin-top: 30px;
  text-align: right;
  color: var(--gold-bright);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  font-style: normal;
}
@media (max-width: 760px){
  .quote-wrap{ flex-direction: column; gap: 40px; }
  .quote-portrait{ flex: 0 0 auto; width: 200px; }
  .poem{ text-align:left; }
  .poem span:nth-child(even){ margin-left: 0.6em; }
}

/* ---- PHASE cards ---- */
.phase-grid{
  display:flex;
  flex-direction:column;
  gap: 28px;
}
.phase-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 30px;
  position: relative;
  overflow:hidden;
}
.phase-card::before{
  content: attr(data-num);
  position:absolute;
  right: 18px; top: -10px;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(212,175,55,0.08);
  line-height:1;
  pointer-events:none;
}
.phase-tag{
  display:inline-block;
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.phase-card h3{
  font-size: 1.25rem;
  color:#fff;
  margin-bottom: 14px;
  font-weight: 800;
}
.phase-card p{
  color: var(--text-dim);
  font-size: 0.96rem;
}
.phase-card p b{ color: var(--text); font-weight:600; }

.phase-card--photo{
  display:flex;
  align-items:stretch;
  padding:0;
}
.phase-photo{
  flex: 0 0 40%;
  position: relative;
  min-height: 340px;
  overflow:hidden;
}
.phase-photo img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.2) brightness(0.92);
}
.phase-photo::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(16,22,42,0) 55%, var(--bg-panel) 100%);
}
.phase-photo-cap{
  position:absolute;
  left:16px; bottom:14px;
  z-index:2;
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.phase-card--photo .phase-content{
  flex: 1;
  min-width:0;
  padding: 32px 30px;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px){
  .phase-card--photo{ flex-direction: column; }
  .phase-photo{ flex: 0 0 260px; width: 100%; min-height:0; }
  .phase-photo::after{ background: linear-gradient(180deg, rgba(16,22,42,0) 55%, var(--bg-panel) 100%); }
}

/* ---- Schedule ---- */
.schedule{
  display:flex;
  flex-direction:column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.sched-row{
  display:flex;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.sched-day{
  flex: 0 0 auto;
  min-width: 118px;
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight:700;
  padding-top: 2px;
}
.sched-body{ flex:1; }
.sched-body .title{ font-weight:700; color:#fff; margin-bottom:4px; }
.sched-body .title .len{ color: var(--text-dim); font-weight:500; font-size:0.85rem; }
.free-badge{
  display:inline-block;
  background: rgba(46,204,113,0.12);
  border:1px solid #2ecc71;
  color:#2ecc71;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.paid-badge{
  display:inline-block;
  background: rgba(192,57,43,0.14);
  border:1px solid var(--red);
  color:#e57368;
  font-size: 0.72rem;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.schedule-note{
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-left: 3px solid var(--border);
  padding-left: 14px;
}

/* ---- Instructor ---- */
.instructor{
  display:flex;
  gap: 40px;
  align-items:flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.instructor img{
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
}
.instructor-body h3{
  color: var(--gold-bright);
  font-size: 0.85rem;
  letter-spacing:0.05em;
  margin-bottom: 6px;
}
.instructor-body .name{
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.instructor-body p{
  color: var(--text-dim);
  font-size: 0.94rem;
  margin-bottom: 6px;
}

/* ---- Closing ---- */
.closing{
  position:relative;
  padding: 110px 0 100px;
  text-align:center;
}
.closing::before{
  content:"";
  position:absolute; inset:0;
  background-image: url('../img/AdobeStock_1639394103.jpeg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.32) saturate(0.7);
  z-index:0;
}
.closing::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,14,26,0.5) 25%, rgba(10,14,26,0.5) 75%, var(--bg) 100%);
  z-index:1;
}
.closing-inner{ position:relative; z-index:2; max-width: 680px; margin:0 auto; padding: 0 24px; }
.closing-inner p.msg{
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  color: #f2efe6;
  margin-bottom: 44px;
  font-weight: 500;
}

/* ---- Footer ---- */
footer{
  padding: 40px 24px 60px;
  text-align:center;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}
footer a{ color: var(--text-dim); text-decoration: underline; margin: 0 10px; }
footer .copyright{ margin-top: 10px; }

@media (max-width: 640px){
  .instructor{ flex-direction:column; align-items:center; text-align:center; padding: 30px 24px; }
  .instructor img{ width: 140px; height:140px; }
  section{ padding: 60px 0; }
  .hero{ padding-top: 80px; }
}
