/* =========================================
   top.css (トップページ専用スタイル)
   ─ 配色トークン・nav/footer/button/card等の
     共通定義は /mezen_live/css/common.css を参照
   ========================================= */

/* ── NAV(トップページ専用の拡張) ── */
.top-nav .nav-inner {
  justify-content: flex-start;
  gap: 28px;
  max-width: 1120px;
}
.nav-links {
  display: flex; align-items: center; gap: 24px;
  list-style: none; flex: 1; justify-content: flex-end;
}
.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap; transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 9px 18px; border-radius: 20px;
  font-weight: 700 !important;
  transition: background 0.2s;
}
.nav-links a.nav-cta:hover { background: var(--blue-dk); }
.nav-login {
  flex-shrink: 0;
  border: 1px solid var(--p-border);
  padding: 7px 16px; border-radius: 20px;
  font-size: 12px; color: var(--muted);
  text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
  background:#ededed;
}
.nav-login:hover { border-color: var(--blue); color: var(--blue); }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: 8px; flex-shrink: 0;
  margin-left: auto;
  transition: background 0.2s;
}
.menu-btn:hover { background: var(--bg-alt); }

/* ── ドロワーメニュー ── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: 280px; max-width: 82vw; height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(15,23,42,0.14);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  height: 56px; padding: 0 20px;
  border-bottom: 1px solid var(--p-border);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.drawer-logo {
  /* font-family: 'Noto Serif JP', serif; */
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--navy); letter-spacing: 0.06em;
}
.drawer-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 20px; line-height: 1; padding: 4px;
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--navy); }
.drawer-body { flex: 1; padding: 12px 0; overflow-y: auto; }
.drawer-links { list-style: none; }
.drawer-links li { border-bottom: 1px solid var(--bg-alt); }
.drawer-links a {
  display: block; padding: 16px 24px;
  color: var(--text); text-decoration: none; font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.drawer-links a:hover { background: var(--bg); color: var(--blue); }
.drawer-footer { padding: 20px 24px; border-top: 1px solid var(--p-border); }
.drawer-cta {
  display: block; text-align: center;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 13px 20px; border-radius: 14px;
  text-decoration: none; margin-bottom: 12px;
  transition: background 0.2s;
}
.drawer-cta:hover { background: var(--blue-dk); }
.drawer-login {
  display: block; text-align: center;
  border: 1px solid var(--p-border); color: var(--muted);
  font-size: 13px; padding: 11px 20px; border-radius: 14px;
  text-decoration: none;
  background:#ededed;
}

@media (max-width: 1040px) {
  .nav-links li:not(:nth-last-child(3)):not(:nth-last-child(4)) { display: none; }
}
@media (max-width: 700px) {
  .top-nav .nav-inner { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-login { margin-left: auto; } /* 「マイページ/ログイン」ボタンはスマホ幅でもハンバーガーの左に常時表示 */
  .top-nav .nav-inner { gap: 8px; }
  .menu-btn { display: flex; margin-left: 0; }
}
@media (max-width: 480px) {
  .top-nav .nav-logo-sub { display: none; } /* 狭い幅ではロゴの副題を隠し、ログイン/マイページボタンとハンバーガーが収まるようにする */
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--navy) 0%, #111C33 55%, var(--navy-dk) 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 82% 8%, rgba(37,99,235,0.35) 0%, transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(99,102,241,0.22) 0%, transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 108px 20px 56px;
  max-width: 700px;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.22em;
  color: #93C5FD;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: #93C5FD;
}
.hero-sub {
  font-size: clamp(13px, 2vw, 16px);
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex; flex-wrap: nowrap; gap: 16px;
  justify-content: center; align-items: stretch;
}
.btn-hero-primary, .btn-hero-ghost {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  white-space: nowrap; text-decoration: none;
  font-weight: 700; font-size: 15px;
  padding: 16px 32px; border-radius: 14px;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn-hero-primary svg, .btn-hero-ghost svg { flex-shrink: 0; }
.btn-hero-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.btn-hero-primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.5);
}
.btn-hero-ghost {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}
.btn-hero-ghost svg { color: #93C5FD; }
.btn-hero-ghost:hover { border-color: #93C5FD; color: #93C5FD; }
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; white-space: normal; }
}
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.55);
}
.hero-trust-item svg { flex-shrink: 0; color: #93C5FD; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.35); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
@media (max-height: 800px), (max-width: 600px) {
  .hero-scroll { display: none; }
}
.hero-scroll::after {
  content: '';
  display: block; width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(147,197,253,0.6), transparent);
  animation: scrollline 1.8s ease-in-out infinite;
}
@keyframes scrollline {
  0% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.3) translateY(20px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll::after { animation: none; }
}

/* ── SECTION 共通 ── */
.section { padding: 90px 20px; }
.section-alt { background: var(--bg); }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-inner-narrow { max-width: 680px; }
.section-inner-medium { max-width: 760px; }
.section-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 40px;
  color: var(--navy);
}
.divider { width: 40px; height: 3px; background: var(--blue); margin: 0 0 32px 0; border-radius: 2px; }

/* ── WORLD ── */
.world-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .world-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .world-grid { grid-template-columns: 1fr; } }
.world-card {
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.world-card:hover { box-shadow: 0 10px 28px rgba(15,23,42,0.09); transform: translateY(-2px); }
.world-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.world-card-icon.icon-blue    { background: var(--blue-lt); color: var(--blue); }
.world-card-icon.icon-emerald { background: var(--emerald-lt); color: var(--emerald); }
.world-card-icon.icon-amber   { background: var(--amber-lt); color: var(--amber); }
.world-card-icon.icon-violet  { background: #EDE9FE; color: #7C3AED; }
.world-card-eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.world-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; letter-spacing: 0.02em;
}
.world-card p { font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ── ABOUT ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-content { order: -1; }
}
.about-photo {
  aspect-ratio: 3/4;
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
}
.about-photo-mobile { display: none; }
@media (max-width: 760px) {
  .about-photo { max-width: 260px; margin: 0 auto; }
  .about-photo-desktop { display: none; }
  .about-photo-mobile { display: block; margin: 0 auto 28px; }
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-books-head {
  margin-top: 24px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.about-books-title {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px; font-weight: 700; color: var(--navy);
}
.about-books-title svg { color: var(--blue); flex-shrink: 0; }
.about-books-note { font-size: 11px; color: var(--muted); }
.about-books {
  display: grid; grid-template-columns: repeat(auto-fill, 136px); gap: 12px;
}
.about-book-item {
  text-align: center;
  background: var(--bg); border: 1px solid var(--p-border);
  border-radius: 12px; padding: 8px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-book-item:hover { border-color: rgba(37,99,235,0.3); box-shadow: 0 8px 20px rgba(15,23,42,0.08); }
.about-book-cover {
  position: relative; display: block;
  aspect-ratio: 3/4; border-radius: 8px; overflow: hidden;
  margin-bottom: 10px; background: var(--bg-alt);
  box-shadow: 0 6px 16px rgba(15,23,42,0.14);
}
.about-book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.about-book-cover:hover img { transform: scale(1.06); }
.about-book-badge {
  position: absolute; bottom: 2px; right: 2px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.02em;
  padding: 2px 7px; border-radius: 5px;
}
.about-book-badge.badge-navy   { background: rgba(15,23,42,0.88); color: #fff; }
.about-book-badge.badge-amber  { background: var(--amber); color: #1E293B; }
.about-book-badge.badge-violet { background: #7C3AED; color: #fff; }
.about-book-meta {
  font-size: 11px; color: var(--muted); line-height: 1.5; flex: 1;
}
.about-book-meta strong { display: block; color: var(--navy); font-size: 12px; margin-bottom: 2px; }
.about-book-link {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid var(--p-border);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--blue);
  text-decoration: none;
}
.about-book-link:hover { color: var(--blue-dk); text-decoration: underline; }
.about-book-link svg { flex-shrink: 0; }
.about-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.about-name-ruby { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 24px; display: block; }
.about-content p { font-size: 14px; line-height: 2; color: var(--text); margin-bottom: 14px; }
.about-tags { margin-top: 18px; }
.about-tag {
  display: inline-block;
  background: var(--navy); color: #93C5FD;
  font-size: 11px; padding: 4px 12px; border-radius: 12px;
  margin: 4px 4px 4px 0; letter-spacing: 0.04em;
}

/* ── SAMPLE ── */
.sample-intro {
  font-size: 15px; color: var(--muted);
  line-height: 2; margin-bottom: 44px; max-width: 640px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-bottom: 40px;
}
.episode-card {
  background: #fff; border: 1px solid var(--p-border);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.episode-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15,23,42,0.1); }
.ep-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--bg-alt); }
.ep-body { padding: 18px 20px; }
.ep-meta { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 6px; }
.ep-title { font-family: 'Noto Serif JP', serif; font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.ep-summary { font-size: 12px; color: var(--muted); line-height: 1.8; }
.ep-tag {
  display: inline-block; font-size: 10px; letter-spacing: 0.06em;
  padding: 2px 9px; border-radius: 10px; margin-bottom: 8px;
}
.ep-tag-free { background: var(--emerald-lt); color: #047857; }
.ep-tag-special { background: var(--amber-lt); color: #B45309; }
.sample-more { text-align: center; }
.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 14px;
  border: 1.5px solid var(--navy); color: var(--navy);
  font-weight: 700; font-size: 14px; letter-spacing: 0.03em;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── LIVE(Zoomセミナー) ── */
.live-intro {
  font-size: 14px; color: var(--muted);
  line-height: 2; margin-bottom: 28px;
}
.event-card-featured {
  position: relative;
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(37,99,235,0.16);
}
.event-card-ribbon {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  padding: 5px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}
/* .live-pill-*, .live-info-* は /mezen_live/css/common.css に共通化(mezen_live側のview.htmlでも使用) */
/* .live-apply-btn, .live-apply-note は /mezen_live/css/common.css に共通化(mezen_live側のview.htmlでも使用) */

/* ── WHY ── */
.why-block {
  border-left: 3px solid var(--blue);
  padding-left: 24px;
}
.why-block p {
  font-size: 14px; line-height: 2; color: var(--text);
  margin-bottom: 16px;
}
.why-block p:last-child { margin-bottom: 0; }

/* ── PLAN(料金) ── */
.pricing-sub {
  text-align: center; color: var(--muted); font-size: 14px;
  margin: 8px auto 40px; max-width: 520px;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  max-width: 840px; margin: 0 auto;
}
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  position: relative;
  background: var(--bg); border: 1px solid var(--p-border);
  border-radius: 24px; padding: 32px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  display: flex; flex-direction: column;
}
.pricing-card-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(37,99,235,0.14);
}
.pricing-card-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 800; white-space: nowrap;
  padding: 5px 18px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}
.pricing-head {
  text-align: center; padding: 8px 0 22px;
  border-bottom: 1px solid var(--p-border); margin-bottom: 20px;
}
.pricing-head-label {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pricing-price {
  display: flex; align-items: baseline; justify-content: center; gap: 5px;
  margin-top: 8px;
}
.pricing-price-value {
  /* font-family: 'Noto Serif JP', serif; */
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 38px; font-weight: 800; color: var(--navy);
}
.pricing-price-unit { font-size: 12px; color: var(--muted); font-weight: 700; }
.pricing-price-note { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.pricing-price-note-emerald { color: var(--emerald); }
.pricing-features {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px; flex: 1;
}
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); }
.pricing-features li svg { flex-shrink: 0; }
.pricing-card-featured .pricing-features li svg { color: var(--emerald); }
.pricing-card:not(.pricing-card-featured) .pricing-features li svg { color: var(--blue); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--p-border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 18px 22px; text-align: left;
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-chevron { flex-shrink: 0; color: var(--muted); transition: transform 0.2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; border-top: 1px solid var(--bg-alt); }
.faq-item.open .faq-a { display: block; padding-top: 12px; }
.faq-a p { font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ── VOICES(お客様の声) ── */
.voices-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 40px;
}
.voice-card {
  background: #fff; border: 1px solid var(--p-border);
  border-radius: 16px; padding: 26px 24px;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
}
.voice-stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.voice-text { font-size: 13px; color: var(--text); line-height: 2; margin-bottom: 18px; }
.voice-author { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.03em; }
.voices-disclaimer { text-align: center; font-size: 11px; color: var(--muted); margin-top: 24px; }

/* ── スクロールでフェードイン ── */
.reveal { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.world-card.reveal { transform: translateY(28px); }
.world-card.reveal:nth-child(1) { transition-delay: 0s; }
.world-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.world-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.world-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); transition-delay: 0.1s; }
@media (max-width: 760px) {
  .reveal-left, .reveal-right { transform: translateY(28px); transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── BACK TO TOP ── */
/* #back-to-top は /mezen_live/css/common.css に共通化(mezen_live側の各ページでも使用) */

/* ── FOOTER(トップページ専用の拡張) ── */
/* .footer-logo-row/.footer-logo-icon/.footer-logo-text は /mezen_live/css/common.css に共通化(mezen_live側の各ページでも使用) */
.footer-links {
  list-style: none;
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none; font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: #93C5FD; }
