@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
  --bg: #2a315e;
  --primary: #e1be5a;
  --secondary: #1C223F;
  --text: #ffffff;
  --footer-dark: #333333;
  --footer-red: #1a2040;
  --accent: #e2bf5a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  color:#e1be5a;
  background: #2a315e;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(28, 34, 63, 0.97);
  border-bottom: 1px solid rgba(225, 190, 90, 0.2);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo svg { width: 44px; height: 44px; }

.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: #e1be5a;
  line-height: 1.2;
}
.logo-text span { display: block; font-size: 11px; font-weight: 300; color:#ffffff; letter-spacing: 3px; text-transform: uppercase; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color .25s;
  position: relative;
}
.nav-menu a::after {
  content:'';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: #e1be5a;
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-menu a:hover { color:#e1be5a; }
.nav-menu a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: #e1be5a;
  color: #2a315e !important;
  padding: 9px 22px;
  font-weight: 700;
  border: 1px solid #FFF;
  transition: background .25s, color .25s !important;
}
.nav-cta:hover { background: #1C223F !important; color:#FFF !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 26px; height: 2px; background:#e1be5a; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: #1C223F;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-menu.active { transform: translateX(0); }
  .nav-menu a { font-size: 18px; }
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1C223F 0%, #2a315e 60%, #3a4480 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../../build/resources/hero-bg.webp') center/cover no-repeat;
  opacity: 0.18;
}

.hero-content { position: relative; max-width: 860px; }

.hero-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 7px;
  color: #e2bf5a;
  font-family: 'Noto Serif JP', serif;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 24px;
}
.hero h1 span { color: #e1be5a; }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid #FFF;
  cursor: pointer;
  transition: background .25s, color .25s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-primary {
  background: #e1be5a;
  color: #2a315e;
}
.btn-primary:hover { background: #1C223F; color:#FFF; }

.btn-outline {
  background: transparent;
  color: #FFF;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: #e1be5a; color:#2a315e; border-color: #e1be5a; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 36px; font-weight: 700; color:#e1be5a; font-family: 'Noto Serif JP', serif; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 1px; margin-top: 4px; }

/* ========== SECTION GENERIC ========== */
.section {
  padding: 100px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: 6px;
  color: #e2bf5a;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #e1be5a;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-desc {
  color: rgba(255,255,255,0.8);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  font-size: 16px;
  line-height: 1.8;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: #e1be5a;
  margin: 0 auto 24px;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img { position: relative; }
.about-img img { width:100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: #e1be5a;
  color: #2a315e;
  padding: 20px 24px;
  text-align: center;
  font-weight: 700;
}
.about-img-badge strong { display: block; font-size: 32px; font-family: 'Noto Serif JP', serif; }
.about-img-badge span { font-size: 12px; }

.about-text h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 34px);
  color: #e1be5a;
  margin-bottom: 20px;
  line-height: 1.35;
}
.about-text p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.about-point i { color: #e1be5a; margin-top: 3px; font-size: 15px; flex-shrink: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-badge { right: 0; }
}

/* ========== COURSES / PRICING ========== */
.courses-bg { background: #1C223F; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.course-card {
  background: #2a315e;
  border: 1px solid rgba(225,190,90,0.2);
  padding: 40px 30px;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.course-card:hover { transform: translateY(-6px); border-color: #e1be5a; }

.course-card.featured {
  border-color: #e1be5a;
  transform: scale(1.03);
}
.course-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: #e1be5a;
  color: #2a315e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.course-icon { font-size: 32px; color: #e1be5a; margin-bottom: 20px; }
.course-name { font-family: 'Noto Serif JP', serif; font-size: 20px; color: #e1be5a; margin-bottom: 10px; }
.course-tagline { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 24px; line-height: 1.6; }
.course-price { font-size: 36px; font-weight: 700; color:#FFF; font-family: 'Noto Serif JP', serif; }
.course-price sup { font-size: 18px; vertical-align: super; }
.course-price sub { font-size: 13px; color: rgba(255,255,255,0.6); font-family: 'Noto Sans JP'; font-weight: 400; }
.course-divider { width: 40px; height: 1px; background: rgba(225,190,90,0.4); margin: 20px 0; }

.course-features { list-style: none; margin-bottom: 32px; }
.course-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.8);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.course-features li:last-child { border-bottom: none; }
.course-features li i { color: #e1be5a; font-size: 12px; }

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .course-card.featured { transform: none; }
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 1px;
  background: rgba(225,190,90,0.25);
}

.step { text-align: center; padding: 20px 10px; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px;
  background: #1C223F;
  border: 2px solid #e1be5a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #e1be5a;
  font-family: 'Noto Serif JP', serif;
  margin: 0 auto 20px;
}
.step h3 { color: #e1be5a; font-size: 15px; margin-bottom: 10px; font-family: 'Noto Serif JP', serif; }
.step p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ========== WHY US ========== */
.why-bg { background: #1C223F; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-img img { width: 100%; object-fit: cover; }

.why-list { display: flex; flex-direction: column; gap: 28px; }

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(225,190,90,0.1);
  border: 1px solid rgba(225,190,90,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #e1be5a;
}
.why-item h3 { color: #e1be5a; font-size: 16px; margin-bottom: 6px; font-family: 'Noto Serif JP', serif; }
.why-item p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #1C223F;
  border: 1px solid rgba(225,190,90,0.15);
  padding: 32px 28px;
}

.t-stars { color: #e1be5a; font-size: 13px; margin-bottom: 16px; letter-spacing: 2px; }
.t-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px;
  background: rgba(225,190,90,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #e1be5a; font-size: 18px;
}
.t-name { font-size: 14px; font-weight: 700; color: #e1be5a; }
.t-role { font-size: 12px; color: rgba(255,255,255,0.5); }

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ========== CONTACT ========== */
.contact-bg { background: #1C223F; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.8vw, 32px);
  color: #e1be5a;
  margin-bottom: 20px;
  line-height: 1.35;
}
.contact-info-block p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.contact-detail i { color: #e1be5a; font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.contact-detail a { color: #e2bf5a; }
.contact-detail a:hover { text-decoration: underline; }

.contact-social { margin-top: 28px; display: flex; gap: 14px; }
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(225,190,90,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; font-size: 16px;
  transition: background .25s, border-color .25s;
}
.social-btn:hover { background: #e1be5a; border-color: #e1be5a; color: #2a315e; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  font-family: 'Noto Sans JP';
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid #FFF;
  color: #FFF;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 10px 0;
  outline: none;
  transition: border-color .25s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: #e1be5a; }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select option { background: #1C223F; color: #FFF; }

.form-submit { text-align: right; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ========== FOOTER ========== */
.footer-top {
  background: #333333;
  border-top: 1px solid #3a3a3a;
  padding: 60px 20px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo-text { font-size: 20px; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 260px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 14px;
  transition: all .25s;
}
.footer-social a:hover { background: #e1be5a; border-color: #e1be5a; color: #2a315e; }

.footer-col h4 {
  color: #e1be5a;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color .25s;
}
.footer-col ul li a:hover { color: #e1be5a; }
.footer-col address {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-col address a { color: #e2bf5a; }

.footer-bottom {
  background: #1a2040;
  padding: 18px 20px;
  border-top: 1px solid #1a2040;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ========== COOKIE ALERT ========== */
#cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1C223F;
  border-top: 2px solid #e1be5a;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-bar.visible { transform: translateY(0); }
#cookie-bar p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  flex: 1;
  min-width: 220px;
}
#cookie-bar p a { color: #e1be5a; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-accept {
  background: #e1be5a;
  color: #2a315e;
  border: 1px solid #FFF;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background .25s;
}
.cookie-accept:hover { background: #1C223F; color:#FFF; }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px 18px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color .25s;
}
.cookie-decline:hover { border-color: #e1be5a; color: #e1be5a; }

/* ========== INNER PAGES ========== */
.page-hero {
  padding: 140px 20px 80px;
  text-align: center;
  background: linear-gradient(160deg, #1C223F 0%, #2a315e 100%);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e1be5a, transparent);
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: #e1be5a;
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 560px; margin: 0 auto; }

.text-section { padding: 80px 20px; }
.text-inner { max-width: 860px; margin: 0 auto; }

.text-inner h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  color: #e1be5a;
  margin: 40px 0 14px;
  line-height: 1.35;
}
.text-inner h2:first-child { margin-top: 0; }
.text-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 14px;
}
.text-inner ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.text-inner ul li {
  list-style: disc;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 6px;
  padding-left: 4px;
}

/* about page team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.team-card {
  background: #1C223F;
  border: 1px solid rgba(225,190,90,0.15);
  padding: 32px 24px;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  background: rgba(225,190,90,0.1);
  border: 2px solid #e1be5a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #e1be5a;
  margin: 0 auto 16px;
}
.team-name { color: #e1be5a; font-size: 16px; font-family: 'Noto Serif JP', serif; margin-bottom: 4px; }
.team-role { color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
.team-bio { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }

@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }

/* ========== MISC ========== */
.text-gold { color: #e1be5a; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }

.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.breadcrumb a { color: rgba(225,190,90,0.6); }
.breadcrumb a:hover { color: #e1be5a; }

/* Responsive base */
@media (max-width: 480px) {
  .hero-stats { gap: 28px; }
  .hero-actions { flex-direction: column; align-items: center; }
  #cookie-bar { flex-direction: column; align-items: flex-start; }
}
