/* ============= GLOBAL RESET ============= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============= CSS VARIABLES ============= */
:root {
  --color-bg: #fff;
  --color-text: #1a1a1a;
  --color-accent: #3a7ca5;
  --color-accent2: #e8f4f8;
  --color-peach: #d4e9f7;
  --color-dark: #1a2e3b;
  --container-max: 1440px;
}

/* ============= ANNOUNCEMENT BAR ============= */
.announcement-bar {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 9px 0;
  width: 100%;
}

.announcement-bar p {
  margin: 0;
  font-weight: 500;
}

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
  padding: 14px 24px;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: .04em;
  text-decoration: none;
}

.logo svg {
  flex-shrink: 0;
}

/* nav */
.main-nav { display:flex; gap:24px; }
.main-nav a {
  font-size: 13px;
  color: #1a1a1a;
  padding: 10px 6px;
  position: relative;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--color-accent); }
.main-nav a.active { color: var(--color-accent); border-bottom: 2px solid var(--color-accent); }

/* burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #1a1a1a;
  font-size: 22px;
}

.header-icons { display:flex; gap:18px; align-items:center; }
.header-icons a { color:#1a1a1a; font-size:16px; }
.header-icons a:hover { color: var(--color-accent); }

/* mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 999;
}
.mobile-nav.open { display:block; }
.mobile-nav-inner {
  background: #fff;
  width: 280px;
  height: 100%;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-inner a {
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #1a1a1a;
}
.mobile-nav-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 8px;
}

/* ============= HERO ============= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 24px;
  background: var(--color-accent2);
  padding: 60px 32px;
  align-items: center;
  min-height: 520px;
}

.hero-img-left,
.hero-img-right {
  background: #fff;
  padding: 12px 12px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.hero-img-left { transform: rotate(-1.5deg); }
.hero-img-right { transform: rotate(2deg); }

.hero-img-left img,
.hero-img-right img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-weight: 600;
  font-size: 52px;
  line-height: 1.15;
  color: var(--color-dark);
  margin: 0 0 12px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-copy .styled-by {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.hero-copy p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 380px;
  color: #444;
}

/* ============= BUTTONS ============= */
.btn,
.btn-primary {
  display: inline-block;
  background: var(--color-dark);
  color: #fff !important;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s ease;
  font-family: inherit;
}
.btn:hover { background: var(--color-accent); }

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}
.btn-secondary:hover { background: var(--color-dark); color:#fff !important; }

.btn-white {
  background: #fff;
  color: #111 !important;
  padding: 12px 22px;
  border-radius: 2px;
  display: inline-block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s ease;
  cursor: pointer;
  border: none;
}
.btn-white:hover { background: var(--color-accent2); }

/* ============= CATEGORY CIRCLES ============= */
.cat-circles {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  padding: 48px 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.cat-circles .cat {
  text-align: center;
  cursor: pointer;
}

.cat-circles .cat .thumb {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 10px;
  object-fit: cover;
  background: #e8f0f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-accent);
  transition: transform .3s ease;
}
.cat-circles .cat:hover .thumb { transform: scale(1.07); }
.cat-circles .cat span {
  font-size: 12px;
  color: #1a1a1a;
  display: block;
  line-height: 1.4;
}

/* ============= SECTION BAND (course/product grid) ============= */
.section-band {
  padding: 48px 24px 56px;
}

.section-band .band-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-band .band-head h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0;
  color: #1a1a1a;
}

.shop-now-btn {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid #1a1a1a;
  border-radius: 24px;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transition: all .2s ease;
}
.shop-now-btn:hover { background:#1a1a1a; color:#fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* course/product card */
.product-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card .card-img {
  background: #e8f0f5;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 4px;
}

.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .card-img img { transform: scale(1.03); }

.product-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-dark);
}
.product-card .badge.popular { background: var(--color-accent); color:#fff; }
.product-card .badge.new { background: #27ae60; color:#fff; }

.product-card h3,
.product-card .name {
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  margin: 4px 0 4px;
  line-height: 1.45;
}

.product-card .price {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 600;
}
.product-card .price .strike {
  text-decoration: line-through;
  color: #6b6b6b;
  margin-right: 6px;
  font-weight: 400;
  font-size: 13px;
}
.product-card .price .sale { color: #c00; }

.product-card .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}
.product-card .rating .stars {
  color: #f5b800;
  font-size: 12px;
  letter-spacing: 1px;
}

.product-card .duration {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* ============= ALTERNATING CONTENT BAND ============= */
.alt-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 24px 24px 48px;
}
.alt-band.rtl { direction: rtl; }

.alt-band .alt-img {
  position: relative;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
}
.alt-band .alt-img .overlay {
  direction: ltr;
  position: absolute;
  left: 32px;
  bottom: 32px;
  color: #fff;
  max-width: 340px;
}
.alt-band .alt-img .overlay h3 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
}
.alt-band .alt-img .overlay p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.alt-band .mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  direction: ltr;
}

/* ============= 3-COL PROMO BAND ============= */
.promo-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 40px 24px;
}

.promo-3 .tile {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
  border-radius: 4px;
  cursor: pointer;
}
.promo-3 .tile img { width: 100%; height: 100%; object-fit: cover; }
.promo-3 .tile .tile-copy {
  position: absolute;
  inset: 0;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
}
.promo-3 .tile .tile-copy h3 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.3;
}

/* ============= REVIEWS ============= */
.reviews {
  padding: 56px 24px;
  background: #f7fafc;
}
.reviews h2 {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 28px;
  text-align: center;
}
.reviews .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.review-card {
  font-size: 13px;
  color: #1a1a1a;
  background: #fff;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.review-card .stars {
  color: #FFB800;
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.review-card .quote {
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.6;
  font-size: 14px;
}
.review-card .name {
  color: #666;
  font-size: 12px;
}

/* ============= PRICING SECTION ============= */
.pricing-section {
  padding: 64px 24px;
  background: #fff;
}
.pricing-section .section-title {
  text-align: center;
  margin-bottom: 48px;
}
.pricing-section .section-title h2 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 12px;
}
.pricing-section .section-title p {
  font-size: 15px;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.pricing-card.featured {
  border-color: var(--color-accent);
  background: var(--color-accent2);
}
.pricing-card .plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 12px;
}
.pricing-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 8px;
}
.pricing-card .price-tag {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 16px 0 4px;
  line-height: 1;
}
.pricing-card .price-tag span {
  font-size: 16px;
  font-weight: 400;
  color: #888;
}
.pricing-card .price-note {
  font-size: 12px;
  color: #888;
  margin-bottom: 24px;
}
.pricing-card ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.pricing-card ul li {
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #333;
}
.pricing-card ul li i { color: var(--color-accent); margin-top: 2px; }

/* ============= STATS BAND ============= */
.stats-band {
  background: var(--color-dark);
  color: #fff;
  padding: 56px 24px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat-item .number {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 52px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .label {
  font-size: 13px;
  opacity: .75;
  letter-spacing: .06em;
}

/* ============= CONTACT FORM ============= */
.contact-section {
  padding: 64px 24px;
  background: #f7fafc;
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-dark);
}
.contact-inner p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--color-accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============= FOOTER ============= */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 56px 24px 24px;
  font-size: 13px;
}
.site-footer .footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.site-footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #fff; opacity: .8; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }

.footer-brand p {
  font-size: 13px;
  opacity: .7;
  line-height: 1.65;
  margin: 0 0 20px;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-socials a {
  font-size: 18px;
  opacity: .8;
  transition: opacity .2s ease;
}
.footer-socials a:hover { opacity: 1; }

.footer-contact-info {
  font-size: 13px;
  opacity: .75;
  line-height: 1.8;
  margin-top: 8px;
}

.site-footer .legal {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: .6;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer .legal a { opacity: .8; }
.site-footer .legal a:hover { opacity: 1; }

/* ============= COOKIES GDPR ============= */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2e3b;
  color: #fff;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.cookie-bar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}
.cookie-bar a { color: #7ec8e3; text-decoration: underline; }
.cookie-bar-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
  font-family: inherit;
}
.cookie-accept:hover { background: #2c6a92; }
.cookie-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}
.cookie-decline:hover { border-color: #fff; }

/* ============= PAGE HERO (inner pages) ============= */
.page-hero {
  background: var(--color-accent2);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--color-dark);
  margin: 0 0 12px;
  line-height: 1.2;
}
.page-hero p {
  font-size: 16px;
  color: #555;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============= PROSE SECTION ============= */
.prose-section {
  padding: 64px 24px;
  max-width: 860px;
  margin: 0 auto;
}
.prose-section h2 {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 14px;
  color: var(--color-dark);
}
.prose-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #222;
}
.prose-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 18px;
}
.prose-section ul {
  padding-left: 20px;
  margin: 0 0 18px;
}
.prose-section ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 6px;
}

/* ============= UTILITIES ============= */
.d-flex { display: flex; }
.align-center { align-items: center; }
.text-center { text-align: center !important; }
.mt-0 { margin-top: 0 !important; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 24px; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* legacy float fallback */
.clearfix::after { content: ""; display: table; clear: both; }
.pull-left { float: left; }
.pull-right { float: right; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1200px) {
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; }
  .reviews .row { grid-template-columns: repeat(2, 1fr); }
  .cat-circles { grid-template-columns: repeat(5, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 48px 20px; }
  .hero-img-left, .hero-img-right { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .alt-band { grid-template-columns: 1fr; }
  .alt-band .alt-img { min-height: 360px; }
  .promo-3 { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .site-header { padding: 10px 16px; }
  .main-nav { display: none; }
  .burger-btn { display: block; }
  .hero-copy h1 { font-size: 34px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reviews .row { grid-template-columns: 1fr; }
  .cat-circles { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cat-circles .cat .thumb { width: 72px; height: 72px; }
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .section-band { padding: 32px 16px 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 28px; }
  .btn, .btn-primary { padding: 12px 22px; font-size: 11px; }
  .promo-3 .tile .tile-copy h3 { font-size: 18px; }
  .stat-item .number { font-size: 38px; }
  .cookie-bar { flex-direction: column; }
  .cookie-bar-btns { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}
