:root {
  --ink: #2c261f;
  --brown: #8b571f;
  --brown-dark: #5e3916;
  --yellow: #f7c84e;
  --yellow-soft: #fff3bd;
  --blue: #1874bd;
  --blue-dark: #123d72;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --line: rgba(75, 52, 25, 0.15);
  --shadow: 0 18px 50px rgba(83, 55, 21, 0.13);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.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;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 999;
  padding: 10px 16px; background: #fff; border: 2px solid var(--ink); border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,253,248,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(89,59,27,.08);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; min-height: 78px; padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; width: 210px; }
.global-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 800; }
.global-nav a { text-decoration: none; transition: opacity .2s ease, transform .2s ease; }
.global-nav a:hover { opacity: .72; transform: translateY(-1px); }
.nav-cta { padding: 11px 18px; color: #fff; background: var(--brown); border-radius: 999px; }
.menu-button { display: none; }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,.85) 0 7%, transparent 7.5%),
    radial-gradient(circle at 89% 14%, rgba(255,255,255,.55) 0 6%, transparent 6.5%),
    linear-gradient(130deg, #fff8cc 0%, #ffed9d 46%, #dff2ff 100%);
  border-bottom: 1px solid rgba(92,57,18,.08);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .25; pointer-events: none;
  background-image:
    linear-gradient(45deg, transparent 46%, rgba(116,76,26,.08) 48%, transparent 50%),
    linear-gradient(-45deg, transparent 46%, rgba(116,76,26,.08) 48%, transparent 50%);
  background-size: 60px 60px;
}
.hero-message {
  position: relative; z-index: 3; max-width: var(--max); margin: 0 auto; padding: 52px 24px 0;
  text-align: center; color: var(--brown-dark);
}
.hero-message-target {
  margin: 0 0 4px; font-size: clamp(18px, 2vw, 24px);
  font-weight: 900; letter-spacing: .08em;
}
.hero-message-copy {
  margin: 0; font-size: clamp(26px, 3.3vw, 44px); line-height: 1.35;
  font-weight: 900; letter-spacing: .03em;
}
.hero-message-copy span { display: inline; }
.hero-message-copy span + span::before { content: ""; }
.hero-message-copy::after {
  content: ""; display: block; width: 76px; height: 5px; margin: 18px auto 0;
  border-radius: 999px; background: linear-gradient(90deg, var(--yellow), var(--blue));
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 42px 24px 54px;
  min-height: 720px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 34px;
}
.hero-copy { padding: 24px 0 80px; }
.eyebrow, .section-kicker {
  margin: 0 0 14px; font-size: 12px; font-weight: 900; letter-spacing: .22em; color: var(--brown);
}
.hero-logo { width: min(510px, 92%); margin-bottom: 30px; }
.hero h1 {
  margin: 0; font-size: clamp(38px, 4.2vw, 56px); line-height: 1.28; letter-spacing: -.02em;
  font-weight: 900;
}
.title-line { display: block; white-space: nowrap; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { margin: 26px 0 0; font-size: 17px; font-weight: 650; color: rgba(44,38,31,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 54px; padding: 14px 24px; border-radius: 999px; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 900; box-shadow: 0 9px 22px rgba(87,55,18,.12);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(87,55,18,.18); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--brown) 0%, #a76a24 100%); }
.button-secondary { background: #fff; border: 2px solid var(--brown); color: var(--brown-dark); }

.hero-visual { position: relative; height: 625px; display: flex; align-items: flex-end; justify-content: center; }
.hero-main-visual { width: 100%; max-width: 620px; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(79,48,16,.17)); }
.hero-deco { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35; }
.hero-deco-a { width: 320px; height: 320px; background: #fff; left: -130px; bottom: 30px; }
.hero-deco-b { width: 240px; height: 240px; background: #8fd2f6; right: -80px; top: 65px; }
.update-strip {
  position: relative; z-index: 4; max-width: 960px; margin: 8px auto 0;
  padding: 18px 26px; border-radius: 999px; background: var(--brown-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow); font-size: 14px;
}
.update-strip span { color: var(--yellow); font-weight: 900; letter-spacing: .12em; }

.section { padding: 120px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading h2, .about-copy h2, .scene-copy h2 {
  margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.35; letter-spacing: -.01em;
}
.about-copy h2 { font-size: clamp(34px, 3.8vw, 48px); }
.section-heading p:last-child { margin: 16px 0 0; color: rgba(44,38,31,.67); }
.about { padding-top: 120px; background: #fffdf9; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.about-copy p:not(.section-kicker) { margin: 24px 0 0; font-size: 16px; color: rgba(44,38,31,.78); }
.feature-list { display: grid; gap: 16px; }
.feature-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 26px 28px 25px 88px;
  border: 2px solid rgba(80,55,25,.09); box-shadow: 0 12px 28px rgba(82,54,21,.08);
}
.feature-card h3 { margin: 0 0 7px; font-size: 20px; }
.feature-card p { margin: 0; color: rgba(44,38,31,.72); font-size: 14px; }
.feature-number {
  position: absolute; left: 22px; top: 22px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; color: #fff; background: var(--brown);
}
.feature-yellow { background: #fff3bd; }
.feature-blue { background: #e3f4ff; }
.feature-blue .feature-number { background: var(--blue); }
.feature-cream { background: #fff; }

.video {
  position: relative; overflow: hidden; background: #fff7da;
}
.video::before {
  content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -110px;
  border-radius: 50%; background: rgba(139, 205, 241, .35);
}
.video-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  gap: 58px; align-items: center; max-width: 1120px;
}
.video-player-wrap { display: flex; justify-content: center; }
.video-player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 10px solid #fff; border-radius: 28px; background: #111;
  box-shadow: 0 22px 55px rgba(69, 47, 21, .24);
}
.video-player::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 2px solid rgba(44, 38, 31, .1); border-radius: 18px;
}
.video-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.35;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.video-copy .title-line {
  white-space: normal;
}
.video-copy p:not(.section-kicker) {
  margin: 22px 0 0; color: rgba(44,38,31,.76); font-size: 16px;
}
.video-youtube-link { margin-top: 30px; }

.characters {
  background:
    radial-gradient(circle at 7% 20%, rgba(255,255,255,.8) 0 4%, transparent 4.5%),
    linear-gradient(180deg, #edf8ff 0%, #fff9df 100%);
  overflow: hidden;
}
.character-carousel { position: relative; max-width: 1030px; margin: 0 auto; }
.character-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 43%); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 20px 12px 34px;
  scroll-behavior: smooth;
}
.character-track::-webkit-scrollbar { display: none; }
.character-slide {
  scroll-snap-align: center; border-radius: 28px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 42px rgba(57,51,39,.18); transform: scale(.96); transition: transform .25s ease, opacity .25s ease;
}
.character-slide.is-active { transform: scale(1); }
.character-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.carousel-button {
  position: absolute; top: 50%; z-index: 4; width: 54px; height: 54px; transform: translateY(-50%);
  border: 0; border-radius: 50%; background: #fff; color: var(--brown-dark); font-size: 40px; line-height: 1;
  box-shadow: 0 9px 25px rgba(63,47,27,.2); cursor: pointer;
}
.carousel-button:hover { background: var(--yellow); }
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 12px; }
.carousel-dots button { width: 11px; height: 11px; border: 0; border-radius: 50%; padding: 0; background: rgba(44,38,31,.22); cursor: pointer; }
.carousel-dots button.is-active { width: 28px; border-radius: 999px; background: var(--brown); }

.scene { background: #fff; }
.scene-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 66px; align-items: center; }
.scene-image { position: relative; }
.scene-image::before { content: ""; position: absolute; inset: -14px 16px 14px -14px; border-radius: 24px; background: var(--yellow); transform: rotate(-2deg); }
.scene-image img { position: relative; border-radius: 22px; box-shadow: var(--shadow); }
.scene-copy p { color: rgba(44,38,31,.74); }
.quote {
  margin: 30px 0 0; padding: 24px 26px; background: var(--yellow-soft); border-left: 7px solid var(--brown);
  border-radius: 0 18px 18px 0; font-weight: 900; color: var(--ink) !important;
}

.read { background: #fff7da; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 950px; margin: 0 auto; }
.platform-card {
  min-height: 112px; padding: 24px; border-radius: 24px; text-decoration: none;
  display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 18px;
  background: #fff; border: 2px solid rgba(68,47,23,.08); box-shadow: 0 12px 28px rgba(76,51,21,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(76,51,21,.14); }
.platform-mark { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 25px; }
.platform-card strong { display: block; font-size: 18px; }
.platform-card small { color: rgba(44,38,31,.6); }
.platform-arrow { font-size: 24px; }
.platform-note .platform-mark { background: #111; }
.platform-line .platform-mark { background: #06c755; }
.platform-instagram .platform-mark { background: linear-gradient(135deg,#7f3fc4,#f94673,#f7b13c); }
.platform-tiktok .platform-mark { background: #111; }
.platform-youtube .platform-mark { background: #ff0033; }
.platform-youtube { grid-column: 1 / -1; }

.closing {
  padding: 110px 24px; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.13) 0 11%, transparent 11.5%),
    radial-gradient(circle at 90% 90%, rgba(255,255,255,.1) 0 16%, transparent 16.5%),
    linear-gradient(135deg, #254f7a 0%, #123d72 52%, #543214 100%);
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing img { width: min(470px, 90%); margin: 0 auto 28px; }
.closing p { font-size: clamp(22px, 4vw, 34px); line-height: 1.6; font-weight: 900; }
.closing .button-primary { margin-top: 18px; background: var(--yellow); color: var(--brown-dark); }

.site-footer { padding: 22px 24px 90px; background: #211a14; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; text-decoration: none; }
.mobile-read { display: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 920px) {
  .header-inner { min-height: 68px; }
  .brand { width: 175px; }
  .menu-button {
    display: grid; width: 46px; height: 46px; padding: 11px; background: #fff; border: 2px solid var(--brown); border-radius: 14px; cursor: pointer;
    align-content: center; gap: 5px;
  }
  .menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--brown); border-radius: 999px; }
  .global-nav {
    position: fixed; inset: 68px 16px auto; padding: 24px; border-radius: 22px; background: #fff;
    box-shadow: var(--shadow); display: none; flex-direction: column; align-items: stretch; gap: 0;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .global-nav .nav-cta { margin-top: 12px; text-align: center; border: 0; }

  .hero-message { padding-top: 38px; }
  .hero-message-copy span { display: inline; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; padding-top: 34px; }
  .hero-copy { text-align: center; padding: 0; }
  .hero-logo { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 620px; max-width: 620px; width: 100%; margin: 0 auto; }
  .hero-main-visual { max-width: 100%; }
  .update-strip { max-width: calc(100% - 32px); border-radius: 24px; gap: 8px 18px; }

  .about-grid, .scene-grid, .video-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-copy, .scene-copy, .video-copy { max-width: 720px; }
  .video-copy { text-align: center; margin: 0 auto; }
  .video-player { width: 100%; max-width: 760px; }
  .character-track { grid-auto-columns: minmax(280px, 66%); }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-youtube { grid-column: auto; }
}

@media (max-width: 620px) {
  .header-inner { padding-inline: 16px; }
  .brand { width: 148px; }
  .hero-message {
    width: calc(100% - 32px); margin: 22px auto 0; padding: 18px 16px 19px;
    border: 2px solid rgba(139, 87, 31, .22); border-radius: 22px;
    background: rgba(255, 253, 248, .9); box-shadow: 0 12px 28px rgba(83, 55, 21, .12);
    backdrop-filter: blur(8px);
  }
  .hero-message-target {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 0 7px; padding: 4px 12px; border-radius: 999px;
    color: #fff; background: var(--brown); font-size: 13px; line-height: 1.45;
    letter-spacing: .08em;
  }
  .hero-message-copy {
    margin: 0; color: var(--ink); font-size: clamp(21px, 6.4vw, 27px);
    line-height: 1.45; letter-spacing: .01em;
  }
  .hero-message-copy span { display: block; white-space: nowrap; }
  .hero-message-copy::after { width: 54px; height: 4px; margin-top: 13px; }
  .hero-inner { padding-inline: 18px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .about-copy h2, .video-copy h2 { font-size: clamp(29px, 8vw, 38px); }
  .hero-lead br { display: none; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { height: 470px; }
  .hero-main-visual { max-width: 100%; }
  .update-strip { padding: 14px 16px; font-size: 11px; }
  .update-strip span { width: 100%; text-align: center; }

  .section { padding: 90px 18px; }
  .about { padding-top: 90px; }
  .section-heading { margin-bottom: 34px; }
  .video-grid { gap: 38px; }
  .video-player { width: 100%; max-width: 100%; border-width: 7px; border-radius: 22px; }
  .video-copy .title-line { white-space: normal; }
  .video-youtube-link { width: 100%; }
  .feature-card { padding: 78px 22px 22px; }
  .feature-number { left: 20px; top: 18px; }
  .character-track { grid-auto-columns: 84%; gap: 16px; padding-inline: 6px; }
  .carousel-button { display: none; }
  .scene-image::before { inset: -8px 8px 8px -8px; }
  .platform-card { padding: 18px; grid-template-columns: 48px 1fr auto; gap: 13px; }
  .platform-mark { width: 48px; height: 48px; border-radius: 14px; }
  .closing { padding: 80px 18px 100px; }
  .site-footer { padding-bottom: 100px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .mobile-read {
    display: flex; position: fixed; z-index: 45; left: 14px; right: 14px; bottom: 14px; min-height: 54px;
    align-items: center; justify-content: center; color: #fff; background: var(--brown); text-decoration: none;
    border-radius: 999px; font-weight: 900; box-shadow: 0 12px 30px rgba(59,37,14,.3);
  }
}

/* 2026-08-30 portal refresh */
.start {
  background: #fff;
}
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 58px;
  align-items: center;
}
.start-copy h2,
.membership-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.35;
  letter-spacing: -.01em;
}
.start-copy p:not(.section-kicker),
.membership-copy p:not(.section-kicker) {
  margin: 20px 0 0;
  color: rgba(44,38,31,.76);
  font-size: 16px;
}
.start-copy strong,
.membership-copy strong { color: var(--brown-dark); }
.start-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}
.text-link {
  font-weight: 900;
  color: var(--blue-dark);
  text-underline-offset: 4px;
}
.start-banner,
.membership-banner {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 2px solid rgba(68,47,23,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.start-banner:hover,
.membership-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(76,51,21,.18);
}
.start-banner img,
.membership-banner img { width: 100%; height: auto; }
.banner-label {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--brown-dark);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 16px rgba(0,0,0,.12);
}

.platform-grid { grid-template-columns: repeat(2, 1fr); }
.platform-kindle .platform-mark { background: #232f3e; }
.platform-threads .platform-mark { background: #111; }
.platform-x .platform-mark { background: #111; }
.platform-youtube { grid-column: auto; }
.platform-x { grid-column: 1 / -1; }

.membership {
  background: linear-gradient(180deg, #fff 0%, #fff7da 100%);
}
.membership-grid {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
  max-width: 1080px;
}
.membership-copy .button { margin-top: 28px; }

.closing-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.closing-actions .button { margin-top: 0; }
.button-light {
  background: rgba(255,255,255,.94);
  color: var(--blue-dark);
  border: 2px solid rgba(255,255,255,.94);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 920px) {
  .start-grid,
  .membership-grid { grid-template-columns: 1fr; gap: 42px; }
  .start-copy,
  .membership-copy { max-width: 760px; }
  .start-banner,
  .membership-banner { max-width: 760px; width: 100%; margin: 0 auto; }
  .platform-x { grid-column: auto; }
}

@media (max-width: 620px) {
  .start-copy h2,
  .membership-copy h2 { font-size: clamp(29px, 8vw, 38px); }
  .start-links { display: grid; gap: 10px; }
  .banner-label {
    position: static;
    display: block;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    background: var(--yellow-soft);
  }
  .platform-grid { grid-template-columns: 1fr; }
  .closing-actions { display: grid; }
  .footer-links { justify-content: center; }
}
