:root {
  --primary: #2e7d6f;
  --primary-light: #4a9e8e;
  --primary-dark: #1b5e50;
  --accent: #c47d2e;
  --accent-light: #e8a85c;
  --paper: #faf7f2;
  --paper2: #f2ece4;
  --warm: #f9f6f2;
  --text: #2e2e2e;
  --text-light: #6a6a6a;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 16px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 2;
  font-size: 16px;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,247,242,0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img { height: 44px; width: auto; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--primary); color: var(--white); }

/* ===== FADE ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
              transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0) scale(1); }
.fade-in-delay-1 { transition-delay: 0.12s; }
.fade-in-delay-2 { transition-delay: 0.24s; }

/* ===== HERO (course landing) ===== */
.hero {
  margin-top: 64px;
  padding: 80px 20px 60px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper2) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,125,111,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--primary); }
.hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-lead {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2.1;
  margin-bottom: 40px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-image {
  max-width: 480px;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== DAY HERO (each day page) ===== */
.day-hero {
  margin-top: 64px;
  padding: 70px 20px 50px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper2) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.day-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46,125,111,0.08) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
}
.day-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.day-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.day-hero-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  margin: 8px 0 12px;
  text-shadow: 0 2px 12px rgba(46,125,111,0.15);
}
.day-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
}
.day-hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
.day-hero-divider {
  width: 50px;
  height: 2px;
  background: var(--primary);
  margin: 22px auto 0;
}

/* ===== OPENING SCENE (landing page) ===== */
.scene-section { background: var(--white); padding: 70px 20px; }
.scene-inner { max-width: 680px; margin: 0 auto; }
.scene-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 32px;
  color: var(--primary-dark);
  line-height: 1.6;
}
.scene-text p { font-size: 0.98rem; line-height: 2.2; margin-bottom: 20px; }
.scene-text p:last-child { margin-bottom: 0; }

/* ===== SELF CHECK ===== */
.check-section {
  background: linear-gradient(180deg, var(--paper2) 0%, var(--paper) 100%);
  padding: 70px 20px;
}
.check-inner { max-width: 680px; margin: 0 auto; }
.check-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 3px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.check-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  margin-bottom: 14px;
  line-height: 1.6;
  color: var(--text);
}
.check-lead { color: var(--text-light); margin-bottom: 28px; font-size: 0.92rem; }
.check-list {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  list-style: none;
}
.check-list li {
  padding: 14px 0 14px 36px;
  position: relative;
  font-size: 0.94rem;
  line-height: 1.8;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  background: transparent;
}
.check-note { margin-top: 20px; text-align: center; font-size: 0.88rem; color: var(--text-light); }
.check-note strong { color: var(--accent); font-size: 1rem; }

/* ===== TOC ===== */
.toc {
  background: var(--white);
  padding: 60px 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.toc-inner { max-width: 760px; margin: 0 auto; }
.toc-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-dark);
}
.toc-list { list-style: none; display: grid; gap: 12px; }
.toc-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  padding: 16px 22px;
  background: var(--paper);
  border-radius: 10px;
  transition: all 0.3s;
  font-size: 0.93rem;
}
.toc-list a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(4px);
}
.toc-list a:hover .toc-num { color: var(--white); }
.toc-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  min-width: 60px;
}
.start-cta {
  display: block;
  text-align: center;
  margin: 40px auto 0;
  max-width: 320px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(46,125,111,0.4);
  transition: all 0.3s;
}
.start-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(46,125,111,0.55);
}

/* ===== DAY PAGE BODY ===== */
.day-body {
  padding: 60px 20px 50px;
  background: var(--paper);
}
.day-inner { max-width: 720px; margin: 0 auto; }

/* day scene */
.day-scene {
  background: linear-gradient(135deg, var(--paper2) 0%, #ece4d6 100%);
  border-radius: var(--radius);
  padding: 32px 30px;
  margin-bottom: 36px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text);
  position: relative;
}
.day-scene::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}
.day-scene p { margin-bottom: 12px; }
.day-scene p:last-child { margin-bottom: 0; }

/* blocks */
.day-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.day-block h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.day-block h3 .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  min-width: 32px; min-height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
}
.day-block p {
  font-size: 0.95rem;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 14px;
}
.day-block p:last-child { margin-bottom: 0; }
.day-block strong { color: var(--primary-dark); font-weight: 600; }

/* mini check */
.mini-check {
  background: #fff8ec;
  border: 1.5px solid #f0d498;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 20px 0;
}
.mini-check .mc-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  padding: 3px 12px;
  border-radius: 16px;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
}
.mini-check p { font-size: 0.93rem; margin-bottom: 0; line-height: 1.9; }
.mini-check p strong { color: #8a5a1e; }

/* vs hospital block */
.vs-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 28px; }
.vs-card { border-radius: 12px; padding: 22px 20px; }
.vs-card.hospital { background: #fdf2f2; border: 1.5px solid #e8b4b4; }
.vs-card.truth { background: #eef7f4; border: 1.5px solid #a3d4c5; }
.vs-label {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.vs-card.hospital .vs-label { background: #e8b4b4; color: #7a2e2e; }
.vs-card.truth .vs-label { background: #a3d4c5; color: #1b5e50; }
.vs-card p { font-size: 0.88rem !important; line-height: 1.8 !important; margin-bottom: 0 !important; }

/* work list */
.work-list { list-style: none; counter-reset: work; margin-top: 10px; }
.work-list li {
  counter-increment: work;
  padding: 12px 0 12px 44px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.9;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.work-list li:last-child { border-bottom: none; }
.work-list li::before {
  content: counter(work);
  position: absolute;
  left: 0;
  top: 13px;
  width: 28px; height: 28px;
  min-width: 28px; min-height: 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  font-weight: 700;
}

/* feel block */
.feel-block {
  background: linear-gradient(135deg, #f0f7f4 0%, #e5efea 100%);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.feel-block .day-feel-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1rem;
}
.feel-list { list-style: none; margin-top: 8px; }
.feel-list li { padding: 6px 0 6px 22px; position: relative; font-size: 0.93rem; }
.feel-list li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.7rem;
  top: 9px;
}

/* episode */
.episode {
  background: #fbf3e8;
  border-radius: 12px;
  padding: 24px 26px;
  margin-bottom: 28px;
  border-left: 3px solid var(--accent);
}
.episode-label {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.episode p { font-size: 0.9rem; line-height: 2; font-style: italic; color: #614a2a; margin-bottom: 0; }

/* day image */
.day-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  max-height: 320px;
  box-shadow: var(--shadow);
}
.day-image img { width: 100%; height: 320px; object-fit: cover; }

/* tomorrow */
.tomorrow-section { background: var(--white); padding: 60px 20px; text-align: center; }
.tomorrow-inner { max-width: 580px; margin: 0 auto; }
.tomorrow-label {
  display: inline-block;
  font-size: 0.78rem;
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.tomorrow-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: var(--primary-dark);
  line-height: 1.9;
  margin-bottom: 28px;
}
.tomorrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(46,125,111,0.35);
  transition: all 0.3s;
}
.tomorrow-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,111,0.5);
}
.back-toc {
  display: inline-block;
  margin-top: 24px;
  color: var(--text-light);
  font-size: 0.85rem;
  text-decoration: none;
}
.back-toc:hover { color: var(--primary); }

/* Day 7 Final CTA */
.day7-final {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #164b40 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  margin-bottom: 28px;
  text-align: center;
}
.day7-final h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--white);
}
.day7-final p {
  font-size: 0.95rem;
  line-height: 2.1;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.92);
}
.day7-features {
  list-style: none;
  margin: 28px 0;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.day7-features li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}
.day7-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-weight: 700;
  top: 11px;
}
.cta-big {
  display: inline-block;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, #a96020 100%);
  color: var(--white);
  text-decoration: none;
  padding: 18px 44px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(196,125,46,0.4);
  transition: all 0.3s;
}
.cta-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(196,125,46,0.55);
}

.signature {
  font-family: 'Noto Serif JP', serif;
  text-align: right;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* FOOTER */
.footer {
  background: #2d3a36;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 40px 20px 28px;
  font-size: 0.85rem;
}
.footer .logo-mini {
  max-width: 140px;
  margin: 0 auto 16px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}
.footer p { line-height: 1.9; font-size: 0.82rem; }
.footer-contact { margin-top: 16px; font-size: 0.82rem; }
.footer-contact a { color: var(--accent-light); text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .header-inner { padding: 8px 14px; }
  .header-logo img { height: 36px; }
  .header-cta { padding: 7px 14px; font-size: 0.75rem; }

  .hero { margin-top: 56px; padding: 56px 18px 40px; }
  .hero h1 { font-size: 1.55rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-lead { font-size: 0.9rem; }

  .day-hero { margin-top: 56px; padding: 50px 18px 36px; }
  .day-hero-num { font-size: 4rem; }
  .day-hero h1 { font-size: 1.4rem; }
  .day-hero-sub { font-size: 0.92rem; }

  .scene-section, .check-section, .toc, .tomorrow-section { padding: 46px 18px; }
  .scene-title, .check-title { font-size: 1.15rem; }
  .scene-text p { font-size: 0.92rem; }
  .toc-list a { padding: 14px 18px; font-size: 0.88rem; }
  .toc-num { font-size: 1rem; min-width: 52px; }

  .day-body { padding: 40px 18px 30px; }
  .day-block { padding: 26px 20px; }
  .day-block h3 { font-size: 1.05rem; }
  .day-block p, .work-list li, .feel-list li { font-size: 0.9rem; }
  .day-scene { padding: 24px 22px; font-size: 0.92rem; }
  .vs-block { grid-template-columns: 1fr; }
  .day-image img { height: 220px; }
  .day-image { max-height: 220px; }
  .day7-final { padding: 36px 22px; }
  .day7-final h3 { font-size: 1.2rem; }
  .cta-big { padding: 16px 32px; font-size: 0.95rem; }
  .tomorrow-text { font-size: 0.95rem; }
  .tomorrow-link { padding: 14px 26px; font-size: 0.9rem; }
}
