@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans, "Noto Sans JP", sans-serif);
  background: var(--body-bg, #F8F5EF);
  color: var(--body-text, #1A1A2E);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

:root {
  --navy: #0D1F3C;
  --navy-mid: #162845;
  --navy-lite: #1E3560;
  --gold: #B8973E;
  --gold-lite: #D4AF55;
  --cream: #F8F5EF;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-mid: #3D4466;
  --text-lite: #6B7399;
  --green: #2A6644;
  --green-bg: #EAF2ED;
  --blue: #1A4A7A;
  --blue-bg: #EBF1F8;
  --teal: #1A5F6A;
  --teal-bg: #E8F3F5;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13, 31, 60, 0.10);
  --shadow-lg: 0 12px 48px rgba(13, 31, 60, 0.18);
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --body-bg: var(--cream);
  --body-text: var(--text);
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up:nth-child(2) {
  transition-delay: 0.08s;
}
.fade-up:nth-child(3) {
  transition-delay: 0.16s;
}
.fade-up:nth-child(4) {
  transition-delay: 0.24s;
}
.fade-up:nth-child(5) {
  transition-delay: 0.28s;
}
.fade-up:nth-child(6) {
  transition-delay: 0.35s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
section {
  padding: 72px 32px;
}
@media (max-width: 640px) {
  section {
    padding: 52px 20px;
  }
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.site-header {
  background: #fff;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e5e5e5;
}
@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-company {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333;
  margin-left: 10px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 640px) {
  .header-nav {
    display: none;
  }
}
.header-nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.04);
}
.header-nav .btn-contact {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  padding: 7px 16px;
}
.header-nav .btn-contact:hover {
  background: var(--navy-dark, #1a2a4a);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
@media (max-width: 640px) {
  .hamburger {
    display: flex;
  }
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #555;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  flex-direction: column;
  padding: 16px 24px;
  gap: 0;
  z-index: 99;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
.mobile-nav a:hover {
  background: #f5f5f5;
}

.sub-nav {
  background: var(--navy);
  padding: 0 32px;
}
@media (max-width: 640px) {
  .sub-nav {
    padding: 0 16px;
  }
}

.sub-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  overflow-x: auto;
}
.sub-nav-inner a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.sub-nav-inner a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  background: #060F1E;
  padding: 48px 32px 32px;
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 640px) {
  .site-footer {
    padding: 36px 20px 24px;
  }
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  align-items: start;
}
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.footer-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 10px;
}

.footer-tagline {
  font-size: 0.7rem;
  color: var(--gold-lite);
  margin-top: 6px;
}

.footer-desc {
  font-size: 0.78rem;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 380px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
@media (max-width: 640px) {
  .footer-links {
    align-items: flex-start;
  }
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.65);
}

:root {
  --green: #2A8C5A;
  --green-mid: #23754C;
  --green-dark: #1A5738;
  --green-lite: #4CAF80;
  --green-pale: #E8F6EF;
  --green-soft: #D1EDE0;
  --yellow: #F5C842;
  --yellow-pale:#FFF8DC;
  --orange: #F08030;
  --text: #1C2D22;
  --text-mid: #3D5247;
  --text-lite: #6B8878;
  --white: #FFFFFF;
  --cream: #F9FAF8;
  --light: #F0F7F3;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 20px rgba(42,140,90,0.10);
  --shadow-lg: 0 12px 40px rgba(42,140,90,0.16);
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-round: 'M PLUS Rounded 1c', sans-serif;
  --body-bg: var(--cream);
  --body-text: var(--text);
}

.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--green-soft);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(42, 140, 90, 0.08);
}
@media (max-width: 640px) {
  .site-header {
    padding: 0 16px;
  }
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
}

.header-brand-main {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.header-brand-sub {
  font-size: 0.62rem;
  color: var(--text-lite);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-nav a {
  font-size: 0.78rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-nav a:hover {
  background: var(--green-pale);
  color: var(--green);
}
.header-nav .btn-cta {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 8px 18px;
}
.header-nav .btn-cta:hover {
  background: var(--green-mid);
}
@media (max-width: 640px) {
  .header-nav {
    display: none;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 640px) {
  .hamburger {
    display: flex;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--white);
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  z-index: 99;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 14px 16px;
  border-bottom: 1px solid var(--green-pale);
}

.hero {
  background: linear-gradient(160deg, #E8F6EF 0%, #D1EDE0 40%, #C8E8D4 100%);
  padding: 60px 24px 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(42, 140, 90, 0.06);
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero {
    padding: 48px 20px 0;
  }
}

.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-content {
  padding-bottom: 56px;
}
@media (max-width: 640px) {
  .hero-content {
    padding-bottom: 48px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}
.hero-badge::before {
  content: "★";
  font-size: 0.8rem;
}

.hero h1 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  z-index: -1;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(42, 140, 90, 0.3);
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 140, 90, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  border: 2px solid var(--green);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

.hero-books {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  padding-bottom: 0;
}
@media (max-width: 900px) {
  .hero-books {
    display: none;
  }
}

.hero-book-stack {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.hero-book-img {
  border-radius: 6px;
  box-shadow: 6px 8px 24px rgba(0, 0, 0, 0.18);
  object-fit: cover;
  transition: transform 0.3s;
}
.hero-book-img:hover {
  transform: translateY(-6px) rotate(2deg);
}

.hero-book-main {
  width: 160px;
  height: auto;
}

.hero-book-sub {
  width: 110px;
  height: auto;
  opacity: 0.9;
}

.hero-book-sub2 {
  width: 100px;
  height: auto;
  opacity: 0.75;
}

.highlights-bar {
  background: var(--green);
  padding: 20px 24px;
}

.highlights-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  white-space: nowrap;
}
.highlight-item .icon {
  font-size: 1rem;
}

section {
  padding: 64px 24px;
}
@media (max-width: 640px) {
  section {
    padding: 48px 20px;
  }
}

.section-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.section-sub {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 40px;
  line-height: 1.75;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .exam-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .exam-grid {
    grid-template-columns: 1fr;
  }
}

.exam-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exam-card-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.exam-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-lite);
  text-transform: uppercase;
}

.exam-card-value {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.2;
}

.exam-card-note {
  font-size: 0.78rem;
  color: var(--text-lite);
  line-height: 1.6;
}

.flow-section {
  background: var(--light);
}

.flow-steps {
  display: flex;
  gap: 0;
  align-items: stretch;
  position: relative;
}
@media (max-width: 900px) {
  .flow-steps {
    flex-direction: column;
  }
}

.flow-step {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow);
}
.flow-step + .flow-step {
  margin-left: 40px;
}
.flow-step + .flow-step::before {
  content: "→";
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--green-lite);
  font-weight: 700;
}
@media (max-width: 900px) {
  .flow-step + .flow-step {
    margin-left: 0;
    margin-top: 36px;
  }
  .flow-step + .flow-step::before {
    content: "↓";
    left: 50%;
    top: -26px;
    transform: translateX(-50%);
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.step-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

.step-book-img {
  width: 80px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.12);
  margin: 4px 0;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s;
}
.step-link:hover {
  gap: 8px;
}

.flow-step-wide {
  flex: 2;
  background: linear-gradient(135deg, #FFFDE8 0%, #FFF8DC 100%);
  border: 2px solid var(--yellow);
}

.step-covers-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 8px 0 12px;
}

.step-book-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-book-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.step-book-label {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.step-book-name {
  font-weight: 700;
  color: var(--text);
}

.step-book-price {
  font-size: 0.72rem;
  color: var(--text-mid);
  white-space: nowrap;
  margin-left: auto;
}

.step-links-row {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.products-section {
  background: var(--cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card:hover .product-img {
  transform: translateY(-4px) rotate(1deg);
}

.product-card-top {
  background: linear-gradient(145deg, var(--green-pale), var(--green-soft));
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}
.product-badge.new-badge {
  background: #E53E3E;
}

.product-img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.product-card-body {
  padding: 22px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 4px;
}

.price-num {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}

.price-tax {
  font-size: 0.72rem;
  color: var(--text-lite);
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.product-features li::before {
  content: "✓";
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-card-footer {
  padding: 14px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-buy-main {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(42, 140, 90, 0.25);
}
.btn-buy-main:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.btn-buy-amazon {
  background: #FF9900;
  color: var(--white);
}
.btn-buy-amazon:hover {
  background: #E68A00;
  transform: translateY(-1px);
}

.btn-buy-yahoo {
  background: #E91E1E;
  color: var(--white);
}
.btn-buy-yahoo:hover {
  background: #CC1919;
  transform: translateY(-1px);
}

.books-section {
  background: var(--cream);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--green-soft);
}
@media (max-width: 640px) {
  .tabs {
    gap: 2px;
    margin-bottom: 24px;
  }
}

.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-lite);
  padding: 12px 24px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 640px) {
  .tab-btn {
    font-size: 0.82rem;
    padding: 10px 14px;
  }
}
.tab-btn:hover {
  color: var(--green);
}
.tab-btn.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tab-count {
  font-size: 0.72em;
  color: var(--text-lite);
  background: var(--green-pale);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}
.tab-btn.active .tab-count {
  background: var(--green);
  color: var(--white);
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.book-card {
  background: var(--white);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.book-card-img {
  background: linear-gradient(145deg, var(--light), var(--green-pale));
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}
@media (max-width: 640px) {
  .book-card-img {
    min-height: 160px;
    padding: 18px 14px;
  }
}

.book-card .book-cover {
  width: 110px;
  height: auto;
  border-radius: 3px;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.2);
}
@media (max-width: 640px) {
  .book-card .book-cover {
    width: 88px;
  }
}

.book-new-tag,
.book-old-tag,
.book-new-badge {
  position: absolute;
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.book-new-tag {
  top: 10px;
  left: 10px;
  background: var(--green);
}

.book-old-tag {
  top: 10px;
  left: 10px;
  background: #8B9991;
}

.book-new-badge {
  top: 10px;
  right: 10px;
  background: var(--orange);
}

.book-card-body {
  padding: 16px 16px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.5;
}
@media (max-width: 640px) {
  .book-title {
    font-size: 0.85rem;
  }
}

.book-meta {
  font-size: 0.72rem;
  color: var(--text-lite);
  line-height: 1.6;
}

.book-price {
  margin-top: auto;
  padding-top: 6px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-mid);
}

.book-card-footer {
  padding: 10px 16px 16px;
}

.btn-book-detail {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.book-card:hover .btn-book-detail {
  background: var(--green-dark);
}

.tokka-banner {
  margin-top: 36px;
  background: linear-gradient(135deg, #FFFDE8 0%, #FFF8DC 100%);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-xl);
  padding: 32px;
}
@media (max-width: 640px) {
  .tokka-banner {
    padding: 24px 20px;
  }
}

.tokka-banner-label {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tokka-banner-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 8px;
}

.tokka-banner-desc {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tokka-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .tokka-grid {
    grid-template-columns: 1fr;
  }
}

.tokka-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .tokka-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.tokka-img {
  width: 140px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.tokka-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tokka-tag {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.tokka-name {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
}

.tokka-meta {
  font-size: 0.72rem;
  color: var(--text-lite);
}

.tokka-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.tokka-price .price-num {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}
.tokka-price .price-tax {
  font-size: 0.7rem;
  color: var(--text-mid);
}
@media (max-width: 640px) {
  .tokka-price {
    justify-content: center;
  }
}

.tokka-points {
  list-style: none;
  padding: 0;
  margin: 4px 0;
}
.tokka-points li {
  font-size: 0.76rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.tokka-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
@media (max-width: 640px) {
  .tokka-points {
    text-align: left;
  }
}

.pref-section {
  background: var(--yellow-pale);
}

.pref-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .pref-card {
    grid-template-columns: 1fr;
  }
}

.pref-card-left {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.pref-card-right {
  background: linear-gradient(135deg, #2A8C5A 0%, #1A5738 100%);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
@media (max-width: 900px) {
  .pref-card-right {
    padding: 32px;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
}

.pref-map-visual {
  font-size: 4rem;
  text-align: center;
}

.pref-count {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  text-align: center;
}

.pref-count-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  line-height: 1.5;
}

.pref-prefectures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pref-tag {
  font-size: 0.7rem;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 500;
}

.lecture-section {
  background: var(--light);
}

.lecture-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 900px) {
  .lecture-card {
    grid-template-columns: 8px 1fr;
  }
}

.lecture-accent {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}

.lecture-body {
  padding: 32px 36px;
}

.lecture-cta {
  padding: 32px 36px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .lecture-cta {
    display: none;
  }
}

.faq-section {
  background: var(--cream);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-item.open .faq-answer {
  display: block;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.faq-q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.faq-arrow {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-lite);
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  padding: 0 22px 18px 66px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.4;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  background: var(--green-dark);
  padding: 40px 24px 28px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo-name {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
  display: block;
}

.footer-desc {
  font-size: 0.78rem;
  margin-top: 12px;
  line-height: 1.75;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
.footer-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 900px) {
  .footer-links {
    align-items: flex-start;
  }
}

.footer-bottom {
  font-size: 0.72rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
