:root {
  --logo-navy: #001f36;
  --blue: #2b39b7;
  --red: #c91224;
  --text: #17233f;
  --line: #d8ddee;
  --bg: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #050a28, #3a37c5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}

.brand-icon img {
  width: 62px;
  height: 56px;
  display: block;
  object-fit: contain;
  background: #001f36;
  border-radius: 8px;
}

.header-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 2.4vw, 2.4rem);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.desktop-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.04rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.desktop-nav a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.78);
}

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
  border-radius: 999px;
  margin-left: 8px;
  padding: 7px 11px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.1rem;
  line-height: 1;
}

.mobile-nav {
  display: none;
  background: #101a5f;
  padding: 8px 12px;
  gap: 10px;
  position: fixed;
  left: 0;
  right: 0;
  top: 72px;
  z-index: 48;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.mobile-nav.open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  text-align: center;
}

.lp {
  width: min(914px, 100%);
  margin: 0 auto 16px;
}

.hero,
.section,
.site-footer {
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 8px;
}

.full-image,
.book-card img {
  width: 100%;
  display: block;
  height: auto;
}

.hero {
  padding: 0;
  border-top: 0;
}

.hero-top {
  position: relative;
}

.hero-main {
  width: 100%;
  display: block;
  height: auto;
}

.hero-overlay {
  display: none;
}

.pdf-icon-image {
  position: absolute;
  right: clamp(14px, 5vw, 52px);
  bottom: -20px;
  width: clamp(70px, 12vw, 128px);
  height: auto;
  transform: rotate(8deg);
}

.hero-copy {
  background: #efefef;
  padding: 20px clamp(14px, 4vw, 30px) 24px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1.28;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 700;
}

.hero-copy .red {
  color: #be0f13;
}

.sub {
  margin: 22px 0 0;
  color: #000;
  font-size: clamp(1.2rem, 3.4vw, 2.25rem);
  font-weight: 500;
}

.note {
  margin: 22px 0 0;
  color: #111;
  font-size: clamp(1.05rem, 2.9vw, 1.95rem);
  font-weight: 500;
  text-align: center;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 8px 6px;
  font-weight: 500;
  font-size: 0.78rem;
  color: #fff;
}

.btn.small {
  margin-top: 8px;
  width: 100%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  border-radius: 10px;
  padding: 12px 10px;
  background: linear-gradient(180deg, #e7b95b 0%, #c89734 60%, #9b6f1b 100%);
  box-shadow: 0 10px 22px rgba(116, 77, 16, 0.35);
  border: 1px solid #7b5514;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn.small:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
  box-shadow: 0 14px 26px rgba(116, 77, 16, 0.45);
}

.hero-copy .btn {
  padding: 12px 10px;
  font-size: clamp(1rem, 2.9vw, 2rem);
}

.btn-red { background: var(--red); }
.btn-blue { background: var(--blue); }

.band {
  margin: 0 0 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}
.band.blue { background: var(--blue); }

.section-sub {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: #333;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.book-card {
  border: 1px solid var(--line);
  padding: 8px;
}

.campaign-lead {
  margin: 10px 0 14px;
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.45;
}

.campaign-illustration {
  margin: 2px 0 12px;
}

.campaign-book-title {
  margin: 10px 0 8px;
  color: #111;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  font-weight: 700;
}

.campaign-bullets {
  margin: 0;
  padding-left: 1.2em;
}

.campaign-bullets li {
  margin: 4px 0;
  font-size: clamp(0.98rem, 1.5vw, 1.2rem);
  line-height: 1.5;
}

.campaign-end {
  margin: 14px 0 4px;
  text-align: center;
  font-size: clamp(1.08rem, 2vw, 1.6rem);
  line-height: 1.55;
  font-weight: 500;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 14px;
}

.pain-item img {
  width: 100%;
  display: block;
}

.pain-item p {
  margin: 8px 0 0;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  line-height: 1.45;
  font-weight: 500;
}

.pain-solution {
  margin-top: 18px;
}

.pain-solution img {
  width: 100%;
  display: block;
}

.mode-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 16px;
  padding: 18px 12px;
  background: #fff;
}

.mode-card.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.mode-card img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.mode-copy h3 {
  margin: 0 0 18px;
  display: inline-block;
  background: #f0dfe3;
  color: #c20000;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1.2;
  padding: 6px 20px;
  border-radius: 10px;
}

.mode-copy p,
.mode-copy li {
  margin: 0;
  color: #111;
  font-size: clamp(1.1rem, 2vw, 1.95rem);
  line-height: 1.5;
}

.mode-copy ul {
  margin: 8px 0 20px 1.2em;
  padding-left: 0;
}

.mode-common {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: start;
  padding: 18px 12px 10px;
}

.mode-common img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.mode-common p {
  margin: 0 0 8px;
  color: #111;
  font-size: clamp(1.12rem, 1.9vw, 1.75rem);
  line-height: 1.45;
}

.mode-common-note {
  margin-top: 12px !important;
  font-size: clamp(1rem, 1.5vw, 1.35rem) !important;
}

.usage-step {
  margin-top: 10px;
}

.usage-step + .usage-step {
  margin-top: 16px;
}

.usage-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.usage-grid-2 img {
  width: 100%;
  display: block;
}

.usage-caption {
  margin: 10px 0 0;
  text-align: center;
  color: #111;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  line-height: 1.45;
}

.usage-detail {
  margin: 8px 0 0;
  text-align: center;
  color: #111;
  font-size: clamp(0.95rem, 1.6vw, 1.35rem);
  line-height: 1.5;
}

.usage-detail.caution {
  margin-top: 16px;
  font-size: clamp(0.82rem, 1.2vw, 1.02rem);
  line-height: 1.6;
  font-weight: 500;
}

.usage-cta {
  margin: 18px auto 2px;
  display: flex;
  width: min(760px, 98%);
  min-height: 98px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important;
  font-weight: 700;
  border-radius: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  position: relative;
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 3px solid transparent;
}

.price-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  font-weight: 700;
}

.price-main {
  margin: 6px 0 0;
  font-size: clamp(3.2rem, 5vw, 4.9rem);
  line-height: 1;
  font-weight: 700;
}

.price-sub {
  margin: 6px 0 14px;
  color: #5d687d;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 700;
}

.price-card dl {
  margin: 0;
}

.price-card dl div {
  margin: 0 0 10px;
}

.price-card dt {
  color: #6a7487;
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
}

.price-card dd {
  margin: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.price-card.free {
  background: #cfdaea;
  border-color: #b3c0d7;
}

.price-card.pro {
  background: #efe8bf;
  border-color: #e0981a;
}

.price-card.max {
  background: #c7eddb;
  border-color: #40b884;
}

.price-card .badge {
  position: absolute;
  right: 14px;
  top: 14px;
  margin: 0;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
}

.price-card.pro .badge {
  background: #f2d877;
  color: #704f00;
}

.price-card.max .badge {
  background: #9ce5bd;
  color: #165b3d;
}

.additional-credit {
  margin-top: 14px;
  background: linear-gradient(90deg, #f7d6d8 0%, #f8e4e4 100%);
  border: 2px solid #e4b8bf;
  border-radius: 10px;
  padding: 14px 16px;
}

.additional-credit p {
  margin: 0 0 4px;
  color: #6f1313;
  font-size: clamp(1.1rem, 1.75vw, 1.7rem);
  font-weight: 700;
}

.credit-wrap {
  background: #fff;
}

.credit-heading {
  margin: 16px 0 8px;
  border-left: 8px solid #1772c5;
  padding-left: 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
}

.credit-subhead {
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  padding: 6px 8px;
  border: 2px solid #222;
  border-bottom: none;
}

.credit-subhead.reading { background: #ffc700; }
.credit-subhead.lecture { background: #86c55a; }

.credit-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 8px;
}

.credit-table th,
.credit-table td {
  border: 2px solid #222;
  padding: 8px 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.6rem);
  line-height: 1.4;
}

.credit-table th {
  background: #d9ebfb;
  font-weight: 700;
}

.credit-table td:last-child,
.credit-table th:last-child {
  width: 48%;
  text-align: center;
  font-weight: 700;
}

details {
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 1rem;
  background: #fafbff;
}

details + details { margin-top: 6px; }

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
}

details p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  background: #f2edb8;
  border-radius: 24px;
  padding: 22px 18px;
  text-align: center;
}

.trust-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 700;
}

.trust-card p {
  margin: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.8rem);
  line-height: 1.65;
}

.final-cta-section .full-image {
  margin-top: 10px;
}

.final-cta-copy {
  text-align: center;
  padding: 12px 8px 2px;
}

.final-cta-copy p {
  margin: 0 0 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(1rem, 1.75vw, 1.6rem);
  line-height: 1.55;
}

.site-footer {
  background: linear-gradient(180deg, #2e2cb8, #1c1488);
  color: #fff;
  border-color: #2e2cb8;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  display: grid;
  gap: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

body[data-lang="ja"] .en-only,
body[data-lang="ja"] .en-only-inline,
body:not([data-lang="ja"]) .ja-only,
body:not([data-lang="ja"]) .ja-only-inline {
  display: none;
}

@media (min-width: 760px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .header-title {
    font-size: 1rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .band {
    font-size: 2rem;
    padding: 12px 14px;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-item p {
    font-size: 1.55rem;
  }

  .pain-solution {
    margin-top: 12px;
  }

  .mode-card,
  .mode-card.reverse {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 8px 0;
  }

  .mode-card img {
    max-height: none;
  }

  .mode-card.reverse .mode-copy {
    order: 1;
  }

  .mode-card.reverse img {
    order: 2;
  }

  .mode-copy h3 {
    font-size: clamp(1.8rem, 7vw, 2.7rem);
    padding: 6px 12px;
  }

  .mode-copy p,
  .mode-copy li {
    font-size: clamp(1.03rem, 4.6vw, 1.4rem);
  }

  .campaign-book-title {
    font-size: 1.12rem;
  }

  .campaign-bullets li {
    font-size: 1rem;
  }

  .mode-common {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 0 0;
  }

  .mode-common img {
    max-width: 170px;
  }

  .mode-common p {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .usage-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .usage-caption {
    font-size: clamp(1rem, 4.7vw, 1.35rem);
  }

  .usage-detail {
    font-size: clamp(0.88rem, 3.9vw, 1.05rem);
  }

  .usage-detail.caution {
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
  }

  .usage-cta {
    min-height: 72px;
    font-size: clamp(1.35rem, 6.8vw, 2rem) !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-main {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  .price-card dd {
    font-size: clamp(1rem, 4.5vw, 1.25rem);
  }

  .credit-heading {
    font-size: clamp(1.3rem, 6.3vw, 1.8rem);
  }

  .credit-subhead {
    font-size: clamp(1.15rem, 5.6vw, 1.45rem);
  }

  .credit-table th,
  .credit-table td {
    font-size: clamp(0.92rem, 3.8vw, 1.1rem);
    padding: 7px 6px;
  }

  summary {
    font-size: 1rem;
  }

  details p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card h3 {
    font-size: clamp(1.4rem, 6.2vw, 1.9rem);
  }

  .trust-card p {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
  }

  .final-cta-copy p {
    font-size: clamp(0.92rem, 4vw, 1.15rem);
  }
}
