/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #20233d;
  background: #fbfaf8;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
strong, b { color: #c4a35a; }

/* ===== Variables ===== */
:root {
  --header-height: 82px;
  --purple: #4d4b85;
  --purple-light: #8581b7;
  --pink: #c98fa4;
  --pink-light: #f4e8ec;
  --green: #668f82;
  --gold: #b59454;
  --navy: #161b3b;
  --navy-soft: #252b52;
  --bg-cream: #f5f1e9;
  --bg-lavender: #f0eef6;
  --surface: #fbfaf8;
  --text-dark: #20233d;
  --text-mid: #666879;
  --line: rgba(38, 43, 79, 0.12);
  --shadow: 0 24px 60px rgba(28, 31, 62, 0.11);
  --section-pad: clamp(80px, 10vw, 136px) 24px;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 12px rgba(123,94,167,0.10);
  z-index: 1000;
  padding: 0 30px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 50px;
  width: auto;
}

/* ===== Navigation ===== */
nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav ul li { position: relative; }

nav ul li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

nav ul li a:hover { color: var(--purple); }

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  border-radius: 50px;
  padding: 7px 18px !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--purple-light) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  margin-top: 70px;
  position: relative;
  height: calc(100vh - 70px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 30, 0.35) 0%,
    rgba(10, 8, 30, 0.20) 50%,
    rgba(10, 8, 30, 0.50) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 20px;
}

.hero-content .ja-catch {
  font-size: clamp(15px, 2.2vw, 22px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 36px;
}

.hero-content .hero-sub {
  font-size: 24px;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 40px;
  background: var(--purple);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(123,94,167,0.35);
}

.btn-primary:hover { background: var(--purple-light); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: 11px 32px;
  border: 2px solid var(--purple);
  color: var(--purple);
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.btn-outline:hover { background: var(--purple); color: #fff; }

/* ===== Section Common ===== */
section { padding: var(--section-pad); }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-title .en {
  display: block;
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ===== Content Sections (alternating) ===== */
.content-section { background: #fff; }
.content-section.alt { background: var(--bg-lavender); }

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }

.content-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.course-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
  background: #000;
}

.course-video-embed iframe,
.course-video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.course-video-embed video {
  object-fit: cover;
}

.content-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.4;
}

.content-text h2 .en {
  display: block;
  font-size: 11px;
  color: var(--text-mid);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 400;
}

.content-text p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.content-text .tag {
  display: inline-block;
  background: var(--pink-light);
  color: var(--purple);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0 4px 8px 0;
}

/* ===== School Section ===== */
.school {
  background: linear-gradient(180deg, #0d0b24 0%, #1a1040 60%, #2a1a5e 100%);
  position: relative;
  overflow: hidden;
}

.school::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(155, 126, 200, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(100, 60, 180, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.school-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.school-inner img {
  width: 260px;
  margin: 0 auto 30px;
}

.school-inner h2 {
  font-size: 28px;
  color: #e8daf8;
  margin-bottom: 20px;
}

.school-inner p {
  color: rgba(220, 210, 240, 0.82);
  font-size: 15px;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto 30px;
}

.school .divider {
  color: #c9a8e8;
}

.about-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.about-cta-btns .btn-primary,
.about-cta-btns .btn-outline {
  margin-top: 0;
  padding: 14px 40px;
}

.school .btn-outline {
  border-color: rgba(200, 170, 240, 0.6);
  color: #e8daf8;
}

.school .btn-outline:hover {
  background: rgba(200, 170, 240, 0.15);
  color: #fff;
}

.school .btn-primary {
  background: rgba(123, 94, 167, 0.85);
  border: 1px solid rgba(200, 170, 240, 0.4);
  backdrop-filter: blur(4px);
}

.school--light { background: var(--bg-lavender); }
.school--light::before { display: none; }
.school--light .school-inner h2 { color: var(--purple); }
.school--light .school-inner p  { color: var(--text-mid); }
.school--light .divider          { color: var(--purple-light); }
.school--light .btn-primary      { background: var(--purple); border: none; backdrop-filter: none; }

/* ===== Footer Banner ===== */
.footer-banner {
  background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%);
  padding: 22px 20px;
  text-align: center;
}

.footer-banner p {
  color: #fff;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

/* ===== Footer ===== */
footer {
  background: var(--purple);
  color: rgba(255,255,255,0.85);
  padding: 60px 20px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-logo p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-nav h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  color: #fff;
}

.footer-nav ul li a {
  font-size: 12px;
  opacity: 0.75;
  transition: opacity 0.2s;
  line-height: 2;
  display: block;
}

.footer-nav ul li a:hover { opacity: 1; }

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 28px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-sns-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.footer-sns-icon:hover { opacity: 0.82; transform: translateY(-3px); }

.footer-sns-icon--youtube   { background: #ff0000; }
.footer-sns-icon--tiktok    { background: #010101; }
.footer-sns-icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.footer-sns-icon--line      { background: #06c755; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.footer-sns-icon--instagram svg { display: block; }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom .legal a {
  font-size: 12px;
  opacity: 0.7;
  margin-right: 20px;
  transition: opacity 0.2s;
}

.footer-bottom .legal a:hover { opacity: 1; }

.footer-bottom .copyright { font-size: 12px; opacity: 0.6; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(160deg, #0d0b24 0%, #2a1a5e 55%, #1a0e3a 100%);
  padding: 140px 20px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(155,126,200,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(100,60,180,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-en {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(200,170,240,0.75);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  color: #e8daf8;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 20px rgba(100,60,180,0.4);
}

/* ===== Services Overview ===== */
.services-overview { background: #fff; }

.section-subtitle {
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 2px 0 rgba(123,94,167,0.15), 0 6px 24px rgba(123,94,167,0.09);
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple) 0%, #c9a8e8 100%);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 2px 0 rgba(123,94,167,0.2), 0 16px 36px rgba(123,94,167,0.17);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 16px;
}

.service-price {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.service-link {
  display: inline-block;
  font-size: 12px;
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(123,94,167,0.3);
  padding-bottom: 1px;
}

.service-card--soon {
  opacity: 0.72;
  cursor: default;
}

.service-card--soon:hover {
  transform: none;
  box-shadow: 0 2px 0 rgba(123,94,167,0.15), 0 6px 24px rgba(123,94,167,0.09);
}

.service-price--soon {
  font-size: 14px !important;
  color: var(--text-mid) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== FAQ ===== */
.faq { background: var(--bg-lavender); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(123,94,167,0.08);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--purple-light);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-question {
  color: var(--purple);
  border-bottom: 1px solid #e8e0f0;
}

.faq-answer {
  padding: 18px 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

.faq-more {
  text-align: center;
  margin-top: 32px;
}

/* FAQ専用ページ */
.faq--page { background: #fff; }

.faq-category {
  margin-bottom: 56px;
}

.faq-category:last-child { margin-bottom: 0; }

.faq-category__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-lavender);
  letter-spacing: 0.04em;
}

.faq-category__icon {
  font-size: 22px;
  line-height: 1;
}

/* ===== Approach Cards ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.approach-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px 36px;
  text-align: center;
  box-shadow: 0 2px 0 rgba(123,94,167,0.15), 0 8px 28px rgba(123,94,167,0.09);
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple) 0%, #c9a8e8 100%);
}

.approach-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 2px 0 rgba(123,94,167,0.2), 0 18px 38px rgba(123,94,167,0.16);
}

.approach-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--purple-light);
  margin-bottom: 14px;
  font-family: Georgia, 'Times New Roman', serif;
}

.approach-icon {
  font-size: 38px;
  margin-bottom: 18px;
  line-height: 1;
}

.approach-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
  line-height: 1.5;
}

.approach-card h3::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-light), transparent);
  margin: 8px auto 0;
  border-radius: 2px;
}

.approach-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
}

@media (max-width: 768px) {
  .approach-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== Consultation Section ===== */
.consultation-section {
  background: var(--bg-lavender);
}

.consultation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto 48px;
}

.consultation-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 16px rgba(123,94,167,0.08);
  border-left: 3px solid var(--purple-light);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.consultation-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(123,94,167,0.14);
  border-left-color: var(--purple);
}

.consultation-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.section-cta {
  text-align: center;
}

@media (max-width: 640px) {
  .consultation-grid { grid-template-columns: 1fr; }
}

/* ===== Pricing Section ===== */
.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(123,94,167,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.pricing-card--featured {
  background: linear-gradient(145deg, var(--purple) 0%, #5a3d85 100%);
  box-shadow: 0 8px 32px rgba(123,94,167,0.35);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 14px;
  margin-top: 8px;
}

.pricing-card--featured .pricing-label {
  color: rgba(255,255,255,0.75);
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1;
}

.pricing-card--featured .pricing-price {
  color: #fff;
}

.pricing-features {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 1px solid #f0eaf8;
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  font-size: 9px;
  color: var(--purple-light);
  top: 9px;
}

.pricing-card--featured .pricing-features li {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.15);
}

.pricing-card--featured .pricing-features li::before {
  color: rgba(255,255,255,0.6);
}

.pricing-card .btn-outline {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.pricing-card--featured .btn-primary {
  width: 100%;
  text-align: center;
  background: #fff;
  color: var(--purple);
  margin-top: auto;
}

.pricing-card--featured .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ===== Contact Section ===== */
.contact-section {
  background: linear-gradient(160deg, #f9f6fd 0%, #ede4f8 50%, #f9f6fd 100%);
  padding: var(--section-pad);
}

.contact-layout {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.contact-info > p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(123,94,167,0.08);
  border-left: 3px solid var(--purple-light);
}

.contact-info-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.contact-info-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-list li strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-info-list li span {
  font-size: 12px;
  color: var(--text-mid);
}

.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(123,94,167,0.10);
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.contact-alert {
  max-width: 700px;
  margin: 0 auto 36px;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
}
.contact-alert ul { list-style: disc; padding-left: 20px; }
.contact-alert--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.contact-alert--error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f48fb1;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===== Legal Pages (Privacy / Tokusho) ===== */
.legal-section {
  background: #fff;
  padding: var(--section-pad);
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
}

.legal-intro {
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 40px;
  font-size: 15px;
}

.legal-block {
  margin-bottom: 40px;
}

.legal-block h2 {
  font-size: 18px;
  color: var(--purple);
  font-weight: 700;
  border-left: 4px solid var(--purple);
  padding-left: 14px;
  margin-bottom: 14px;
}

.legal-block p,
.legal-block li {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.9;
}

.legal-block ul {
  padding-left: 1.4em;
  list-style: disc;
  margin-top: 8px;
}

.legal-block ul li {
  margin-bottom: 4px;
}

.legal-link {
  color: var(--purple);
  text-decoration: underline;
}

.legal-date {
  margin-top: 48px;
  font-size: 13px;
  color: #aaa;
  text-align: right;
}

/* Legal Table (Tokusho) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #ede8f5;
  vertical-align: top;
}

.legal-table th {
  width: 200px;
  white-space: nowrap;
  color: var(--purple);
  font-weight: 600;
  background: var(--bg-lavender);
}

.legal-table td {
  color: var(--text-mid);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--bg-lavender);
  padding: 10px 30px;
}

.breadcrumb ol {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mid);
  list-style: none;
  padding: 0;
}

.breadcrumb li + li::before {
  content: '›';
  margin: 0 8px;
  color: #bbb;
}

.breadcrumb a {
  color: var(--purple);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ===== figcaption ===== */
figure { margin: 0; }

figcaption {
  font-size: 12px;
  color: var(--text-mid);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

/* ===== Pricing Table ===== */
.pricing-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(123,94,167,0.10);
}

.pricing-table caption {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 18px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #ede8f5;
  border-right: 1px solid #ede8f5;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  border-right: none;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table thead th {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: none;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.pricing-table thead th:last-child {
  border-right: none;
}

.pricing-table thead th:first-child {
  background: linear-gradient(135deg, #5a4280 0%, var(--purple) 100%);
}

/* ブース列とミーティング列の区切り */
.pricing-table thead th:nth-child(4),
.pricing-table td:nth-child(4) {
  border-left: 2px solid #d0c0e8;
}

.pricing-table tbody th {
  background: var(--bg-lavender);
  color: var(--purple);
  font-weight: 700;
  text-align: left;
  width: 110px;
  font-size: 13px;
}

/* 料金行を強調 */
.pricing-table tbody tr:first-child td {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  background: #faf7ff;
}

.pricing-table tbody tr:nth-child(even) {
  background: #fdfbff;
}

.pricing-table tbody tr:hover td {
  background: #f3eef9;
  transition: background 0.2s;
}

/* ===== Related Content ===== */
.related-content {
  background: var(--bg-cream);
  padding: 60px 20px;
}

.related-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ede8f5;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--text-dark);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(123,94,167,0.12);
  border-color: var(--purple-light);
}

.related-card__icon { font-size: 28px; }

.related-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--purple);
}

@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
  .breadcrumb { padding: 10px 16px; }
  .pricing-table tbody th { width: 90px; }
}

@media (max-width: 600px) {
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    white-space: normal;
    border-bottom: none;
    padding-bottom: 6px;
  }

  .legal-table td {
    padding-top: 6px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ede8f5;
  }
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.form-group .required {
  color: #c62828;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(155, 126, 200, 0.15);
}

.form-group textarea { resize: vertical; }

.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn-primary { min-width: 180px; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===== Badge ===== */
.badge-new {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.coming-soon-note {
  font-size: 13px !important;
  background: var(--bg-lavender);
  border-left: 3px solid var(--purple-light);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px !important;
}

/* ===== Decorative divider ===== */
.divider {
  text-align: center;
  font-size: 18px;
  color: var(--pink);
  letter-spacing: 8px;
  margin: 10px 0;
}

/* ===== Scroll animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .content-block { grid-template-columns: 1fr; gap: 36px; }

  .content-block.reverse { direction: ltr; }

  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 70px; left: 0; width: 100%; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 16px 0; }
  nav.open ul { flex-direction: column; }
  nav.open ul li a { padding: 12px 24px; font-size: 15px; }
  .hamburger { display: flex; }

  .header-inner { position: relative; }

  section { padding: 60px 16px; }
}

/* ===== YouTube Promo (TOP) ===== */
.yt-promo {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
  padding: var(--section-pad);
}

.yt-promo-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.yt-promo-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #ff0000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,0,0,0.35);
}

.yt-promo-text { flex: 1; }

.yt-promo-en {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.yt-promo-text h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  color: #fff;
  margin-bottom: 12px;
}

.yt-promo-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}

.yt-promo-btn {
  flex-shrink: 0;
  border-color: rgba(200,170,240,0.6);
  color: #e8daf8;
  white-space: nowrap;
  margin-top: 0;
}

.yt-promo-btn:hover {
  background: rgba(200,170,240,0.15);
  color: #fff;
}

@media (max-width: 680px) {
  .yt-promo-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* ===== Fortune Section ===== */
.fortune-notices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.fortune-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-lavender) 0%, #ede4f8 100%);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
  padding: 16px 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-dark);
}

.fortune-notice-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.fortune-notice strong { color: var(--purple); }

.fortune-notices--sm {
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 0;
}

.fortune-notice--sm {
  background: none;
  border-left: 2px solid #d0c0e8;
  border-radius: 0;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-mid);
  gap: 8px;
}

.fortune-notice--sm .fortune-notice-icon { font-size: 13px; }

.fortune-notice--sm strong { color: var(--text-mid); font-weight: 600; }

.fortune-group {
  margin-bottom: 60px;
}

.fortune-group--inperson { margin-bottom: 0; }

.fortune-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-lavender);
}

.fortune-group-icon { font-size: 24px; line-height: 1; }

.fortune-group-title {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.04em;
}

.fortune-notes {
  margin-top: 32px;
  padding: 0 4px;
}

.fortune-notes li {
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  line-height: 1.8;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

/* ===== Glossary ===== */
.glossary-intro {
  background: linear-gradient(160deg, var(--bg-lavender) 0%, #f7f0fe 100%);
  padding: 64px 24px;
}

.glossary-intro-inner {
  max-width: 800px;
  margin: 0 auto;
}

.glossary-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.glossary-intro-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(123,94,167,0.15);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(123,94,167,0.07);
}

.glossary-intro-icon {
  font-size: 36px;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(123,94,167,0.18));
}

.glossary-intro-card-text {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.9;
}

.glossary-section {
  padding: var(--section-pad);
}

.service-disclaimer {
  padding: 0 24px 72px;
}

.service-disclaimer-box,
.glossary-editorial-note {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px solid rgba(106, 76, 147, 0.2);
  border-radius: 12px;
  background: #faf8fc;
  color: var(--text-mid);
}

.service-disclaimer-box h2 {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 1.15rem;
}

.service-disclaimer-box p,
.glossary-editorial-note p {
  margin: 0;
  line-height: 1.9;
}

.glossary-editorial-note {
  margin-top: 24px;
  margin-bottom: 32px;
  font-size: 0.92rem;
}

.glossary-editorial-note--footer {
  margin-top: 40px;
}

.glossary-article-author {
  color: var(--text-mid);
  font-size: 0.9rem;
}

.glossary-filter {
  margin-bottom: 32px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #ede8f5;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(123,94,167,0.06);
}

.glossary-filter-label {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.glossary-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.glossary-filter-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: var(--text-mid);
  background: #fff;
  border: 1px solid #ddd5e9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.glossary-filter-button span {
  margin-left: 3px;
  font-size: 10px;
  opacity: 0.75;
}

.glossary-filter-button:hover,
.glossary-filter-button.is-active {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.glossary-filter-button:focus-visible {
  outline: 3px solid rgba(123,94,167,0.25);
  outline-offset: 2px;
}

.glossary-filter-status {
  margin-top: 12px;
  color: var(--text-mid);
  font-size: 12px;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.glossary-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ede8f5;
  box-shadow: 0 4px 20px rgba(123,94,167,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.glossary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(123,94,167,0.15);
}

.glossary-card-inner {
  padding: 30px 30px 26px;
}

.glossary-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.glossary-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--bg-lavender);
  padding: 3px 12px;
  border-radius: 20px;
}

.glossary-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9a6a20;
  background: #fef3dd;
  border: 1px solid #f0d898;
  padding: 3px 12px;
  border-radius: 20px;
}

.glossary-card-title {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.glossary-card-reading {
  margin: -8px 0 10px;
  color: var(--text-mid);
  font-size: 12px;
}

.glossary-card-desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glossary-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.04em;
}

.glossary-empty {
  text-align: center;
  color: var(--text-mid);
  padding: 60px 0;
}

.glossary-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.glossary-pagination-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--text-mid);
  background: #fff;
  border: 1px solid #ddd5e9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.glossary-pagination-link:hover,
.glossary-pagination-link.is-active {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.glossary-pagination-link:focus-visible {
  outline: 3px solid rgba(123,94,167,0.25);
  outline-offset: 2px;
}

.glossary-pagination-nav {
  padding-inline: 16px;
}

@media (max-width: 640px) {
  .glossary-intro-grid { grid-template-columns: 1fr; }
  .glossary-filter { padding: 18px 16px; }
  .glossary-filter-button { padding: 7px 11px; }
  .glossary-grid { grid-template-columns: 1fr; }
  .glossary-card-inner { padding: 22px 20px 18px; }
  .glossary-pagination { margin-top: 30px; }
}

/* Glossary Detail */
.glossary-article {
  padding: var(--section-pad);
}

.glossary-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.glossary-article-date {
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.06em;
}

.glossary-article-lead {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 2;
  padding: 24px 28px;
  background: var(--bg-lavender);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
  margin-bottom: 56px;
}

.glossary-article-reading {
  margin: 0 0 10px;
  color: var(--text-mid);
  font-size: 13px;
}

.glossary-section-block {
  margin-bottom: 52px;
}

.glossary-section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-lavender);
  margin-bottom: 24px;
}

.glossary-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.glossary-section-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.glossary-list {
  list-style: none;
  margin-bottom: 16px;
}

.glossary-list li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-dark);
  padding-left: 1.4em;
  position: relative;
}

.glossary-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
}

.glossary-youtube {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px solid var(--bg-lavender);
}

.glossary-youtube-title {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.glossary-youtube-title::before {
  content: '▶';
  font-size: 14px;
  color: var(--purple-light);
}

.glossary-youtube-wrap {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(123,94,167,0.12);
  aspect-ratio: 16 / 9;
}

.glossary-youtube-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.glossary-youtube-channel {
  margin-top: 20px;
  text-align: center;
}

.glossary-youtube-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple);
  border: 1.5px solid var(--purple-light);
  border-radius: 24px;
  padding: 8px 22px;
  transition: background 0.2s, color 0.2s;
}

.glossary-youtube-channel-link:hover {
  background: var(--purple);
  color: #fff;
}

.glossary-back {
  margin-top: 56px;
  text-align: center;
}


/* ===== YouTube Section ===== */
.yt-intro {
  background: var(--bg-lavender);
  padding: 56px 24px;
  text-align: center;
}

.yt-intro-inner {
  max-width: 640px;
  margin: 0 auto;
}

.yt-intro-en {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--purple-light);
  margin-bottom: 20px;
}

.yt-intro-text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.yt-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.06em;
  border-bottom: 1.5px solid var(--purple-light);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.yt-intro-link:hover { opacity: 0.7; }

.yt-intro-link-icon {
  font-size: 10px;
  background: #ff0000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===== YouTube Featured embed ===== */
.yt-featured-section {
  background: var(--bg-cream);
  padding: 56px 24px 48px;
}

.yt-featured {
  max-width: 760px;
  margin: 0 auto;
}

.yt-featured-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 6px 32px rgba(123,94,167,0.18);
}

.yt-featured-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.yt-featured-info {
  padding: 20px 4px 0;
  text-align: center;
}

.yt-featured-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.65;
  margin-top: 6px;
}

/* ===== YouTube Grid ===== */
.yt-section { background: var(--bg-lavender); }

.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.yt-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(123,94,167,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}

.yt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(123,94,167,0.18);
}

.yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yt-card:hover .yt-thumb img { transform: scale(1.04); }

.yt-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  color: #fff;
  font-size: 36px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.yt-card:hover .yt-play { opacity: 1; }

.yt-card-body { padding: 14px 16px 18px; flex: 1; }

.yt-card-date {
  font-size: 11px;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.yt-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-card-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-channel-cta {
  text-align: center;
  margin-top: 40px;
}

.yt-empty {
  text-align: center;
  padding: 60px 20px;
}

.yt-empty-icon {
  font-size: 48px;
  color: var(--purple-light);
  margin-bottom: 16px;
  opacity: 0.5;
}

.yt-empty p:not(.yt-empty-icon) {
  color: var(--text-mid);
  margin-bottom: 24px;
}

@media (max-width: 560px) {
  .yt-grid { grid-template-columns: 1fr; }
  .yt-featured-section { padding: 40px 16px 36px; }
}

/* ===== 2026 Design Refresh ===== */
::selection {
  color: #fff;
  background: var(--purple);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 143, 164, 0.08), transparent 24rem),
    var(--surface);
}

p,
h1,
h2,
h3,
li {
  overflow-wrap: break-word;
}

body,
button,
input,
select,
textarea {
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

h1,
h2,
h3,
.hero-kicker,
.page-hero-en,
.section-eyebrow {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', 'Times New Roman', serif;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(181, 148, 84, 0.58);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  padding: 0 32px;
  background: rgba(251, 250, 248, 0.88);
  border-bottom: 1px solid rgba(38, 43, 79, 0.08);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 248, 0.97);
  box-shadow: 0 10px 36px rgba(22, 27, 59, 0.08);
}

.header-inner {
  max-width: 1320px;
  height: 82px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.logo::after {
  content: '';
  position: absolute;
  right: -19px;
  width: 1px;
  height: 28px;
  background: var(--line);
}

.logo img {
  height: 46px;
  width: auto;
  filter: saturate(0.8) contrast(1.04);
}

.main-nav ul {
  gap: 2px;
}

.main-nav ul li a {
  position: relative;
  padding: 10px 9px;
  color: #343750;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.main-nav ul li a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  right: 9px;
  bottom: 4px;
  left: 9px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav ul li a:hover {
  color: var(--navy);
}

.main-nav ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  margin-left: 7px;
  padding: 11px 19px !important;
  color: #fff !important;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 3px;
  box-shadow: 0 8px 22px rgba(22, 27, 59, 0.15);
}

.nav-cta:hover {
  color: var(--navy) !important;
  background: transparent !important;
  transform: none;
}

.hamburger {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.hamburger span {
  width: 20px;
  height: 1px;
  background: var(--navy);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* Hero */
.hero {
  margin-top: 82px;
  height: calc(100svh - 82px);
  min-height: 620px;
  justify-content: flex-start;
  text-align: left;
}

.hero-bg img {
  object-position: center;
  transform: scale(1.015);
  animation: hero-breathe 14s ease-out both;
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(13, 19, 45, 0.92) 0%, rgba(24, 34, 70, 0.7) 43%, rgba(29, 49, 82, 0.12) 78%),
    linear-gradient(0deg, rgba(8, 15, 36, 0.4), transparent 46%);
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 76px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: #e4d3a7;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: '';
  width: 48px;
  height: 1px;
  background: currentColor;
}

.hero-content .ja-catch {
  max-width: 900px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(29px, 4.25vw, 58px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: 0.075em;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.25);
}

.hero-content .hero-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 2;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 38px;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  margin-top: 0;
}

.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  min-height: 52px;
  margin-top: 0;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.content-text > .btn-primary,
.content-text > .btn-outline {
  margin-top: 18px;
}

.school-inner > .btn-primary,
.school-inner > .btn-outline {
  margin-top: 30px;
}

.about-cta-btns .btn-primary,
.about-cta-btns .btn-outline {
  margin-top: 0;
}

.btn-primary {
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 0 12px 30px rgba(22, 27, 59, 0.2);
}

.btn-primary:hover {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 16px 34px rgba(77, 75, 133, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(22, 27, 59, 0.45);
}

.btn-outline:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  letter-spacing: 0.28em;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, #fff 50%, transparent 50%);
  background-size: 100% 200%;
  animation: scroll-line 2s ease-in-out infinite;
}

/* Sections and typography */
section {
  padding: var(--section-pad);
}

.section-inner,
.content-block {
  max-width: 1160px;
}

.section-title {
  margin-bottom: clamp(40px, 6vw, 70px);
}

.section-title h2,
.school-inner h2 {
  color: var(--navy);
  font-size: clamp(25px, 3.3vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.section-title .en,
.section-subtitle,
.section-eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title .section-subtitle {
  margin-top: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 42px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--gold);
}

.content-section {
  position: relative;
  background: var(--surface);
}

.content-section.alt,
.consultation-section,
.faq,
.yt-section {
  background: #f0eef3;
}

.content-block {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(48px, 7vw, 96px);
}

.content-img {
  position: relative;
}

.content-img::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  width: 72%;
  height: 72%;
  border: 1px solid rgba(181, 148, 84, 0.48);
  pointer-events: none;
}

.content-block.reverse .content-img::before {
  right: -18px;
  left: auto;
}

.content-img img,
.course-video-embed {
  height: clamp(360px, 42vw, 520px);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.content-text h2 {
  margin-bottom: 26px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.055em;
}

.content-text h2 .en {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
}

.content-text p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 2.05;
}

.content-text .tag {
  margin-bottom: 18px;
  color: #50516c;
  background: transparent;
  border: 1px solid rgba(77, 75, 133, 0.2);
  border-radius: 2px;
}

.school {
  padding-top: clamp(100px, 12vw, 154px);
  padding-bottom: clamp(100px, 12vw, 154px);
  background:
    radial-gradient(circle at 22% 22%, rgba(133, 129, 183, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 76%, rgba(201, 143, 164, 0.14), transparent 25rem),
    linear-gradient(145deg, #111735 0%, #20264d 100%);
}

.school::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.38) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
  opacity: 0.18;
}

.school-inner {
  max-width: 820px;
}

.school-inner h2 {
  margin: 16px 0 28px;
  color: #fff;
}

.school-inner p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 2.2;
}

.school .section-eyebrow {
  color: #d6bd84;
}

.school .btn-primary {
  color: var(--navy);
  background: #fff;
  border-color: #fff;
  backdrop-filter: none;
}

.school .btn-primary:hover {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

.school .btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.school--light {
  background: var(--bg-lavender);
}

.school--light .school-inner h2 {
  color: var(--navy);
}

.school--light .school-inner p {
  color: var(--text-mid);
}

/* Inner page hero */
.page-hero {
  min-height: 390px;
  display: flex;
  align-items: center;
  padding: 148px 24px 72px;
  background:
    radial-gradient(circle at 76% 32%, rgba(201, 143, 164, 0.22), transparent 18rem),
    radial-gradient(circle at 18% 70%, rgba(133, 129, 183, 0.25), transparent 24rem),
    linear-gradient(135deg, #111735 0%, #252b55 100%);
}

.page-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-hero::after {
  top: auto;
  right: 10%;
  bottom: 56px;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 189, 132, 0.5), transparent);
}

.page-hero-en {
  margin-bottom: 18px;
  color: #d6bd84;
  font-weight: 600;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.3vw, 50px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: none;
}

.breadcrumb {
  padding: 14px 30px;
  background: #f5f2ed;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  max-width: 1160px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: var(--purple);
}

/* Cards */
.service-card,
.approach-card,
.pricing-card,
.glossary-card,
.yt-card,
.related-card,
.faq-item,
.contact-form-wrap {
  border: 1px solid rgba(38, 43, 79, 0.1);
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(28, 31, 62, 0.07);
}

.services-grid {
  max-width: 940px;
  gap: 22px;
}

.service-card {
  padding: 42px 30px 32px;
  text-align: left;
}

.service-card::before {
  right: auto;
  width: 54px;
  height: 2px;
  background: var(--gold);
}

.service-card:hover,
.approach-card:hover,
.glossary-card:hover,
.yt-card:hover,
.related-card:hover {
  border-color: rgba(181, 148, 84, 0.4);
  box-shadow: 0 24px 58px rgba(28, 31, 62, 0.13);
  transform: translateY(-5px);
}

.service-card--soon {
  opacity: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(77, 75, 133, 0.04) 10px 11px);
}

.service-card--soon:hover {
  border-color: rgba(38, 43, 79, 0.1);
  box-shadow: 0 18px 50px rgba(28, 31, 62, 0.07);
  transform: none;
}

.service-icon,
.approach-icon {
  font-size: 34px;
}

.service-card h3,
.approach-card h3,
.related-card__name {
  color: var(--navy);
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 600;
}

.service-card p,
.approach-card p {
  font-size: 13px;
  line-height: 1.9;
}

.service-link,
.glossary-card-link {
  color: var(--purple);
  border: 0;
}

.service-link::after,
.glossary-card-link::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: currentColor;
}

.approach-grid {
  gap: 20px;
}

.approach-card {
  padding: 44px 28px 38px;
}

.approach-card::before {
  width: 52px;
  height: 2px;
  background: var(--gold);
}

.consultation-grid {
  gap: 14px;
  max-width: 900px;
}

.consultation-item,
.contact-info-list li {
  padding: 21px 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(38, 43, 79, 0.09);
  border-left: 1px solid rgba(38, 43, 79, 0.09);
  border-radius: 3px;
  box-shadow: none;
}

.contact-info-list .contact-info-link-item {
  padding: 0;
}

.contact-info-link {
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  color: inherit;
}

.contact-line-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #06c755;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.contact-info-link-item:hover {
  border-color: rgba(6, 199, 85, 0.35);
  box-shadow: 0 10px 30px rgba(28, 31, 62, 0.08);
}

.consultation-item:hover {
  border-color: rgba(181, 148, 84, 0.4);
  box-shadow: 0 10px 30px rgba(28, 31, 62, 0.08);
  transform: translateY(-2px);
}

.pricing-grid {
  max-width: 780px;
  align-items: stretch;
}

.pricing-card {
  padding: 46px 34px 38px;
}

.pricing-card--featured {
  background:
    radial-gradient(circle at 80% 10%, rgba(201, 143, 164, 0.2), transparent 13rem),
    linear-gradient(145deg, #171d3e, #2a315c);
  box-shadow: 0 24px 55px rgba(22, 27, 59, 0.25);
}

.pricing-price {
  color: var(--navy);
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 40px;
  font-weight: 500;
}

.pricing-badge,
.badge-new {
  color: #fff;
  background: var(--gold);
  border-radius: 2px;
}

.pricing-table {
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 16px 44px rgba(28, 31, 62, 0.07);
}

.pricing-table thead th {
  background: var(--navy-soft);
}

.pricing-table thead th:first-child {
  background: var(--navy);
}

.faq-list {
  max-width: 820px;
}

.faq-item {
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.faq-question {
  padding: 23px 26px;
  font-size: 14px;
}

.faq-question::after {
  color: var(--gold);
}

.faq-item[open] {
  border-color: rgba(181, 148, 84, 0.38);
  box-shadow: 0 14px 36px rgba(28, 31, 62, 0.07);
}

.related-content {
  padding: clamp(72px, 9vw, 110px) 24px;
  background: #f6f2eb;
}

.related-grid {
  max-width: 960px;
  gap: 16px;
}

.related-card {
  min-height: 150px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
}

/* Forms and article surfaces */
.contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 143, 164, 0.12), transparent 22rem),
    #f0eef3;
}

.contact-layout {
  max-width: 1120px;
  gap: clamp(40px, 6vw, 80px);
}

.contact-info h2 {
  color: var(--navy);
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
}

.contact-form-wrap {
  padding: clamp(30px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid rgba(38, 43, 79, 0.18);
  border-radius: 2px;
  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9798a5;
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(77, 75, 133, 0.1);
}

.legal-section,
.glossary-article,
.glossary-section {
  background: var(--surface);
}

.legal-inner,
.glossary-article .section-inner {
  max-width: 900px;
}

.legal-block {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-block h2,
.glossary-section-heading {
  color: var(--navy);
  border-color: var(--gold);
}

.glossary-intro,
.yt-intro {
  background: #f0eef3;
}

.glossary-intro-card {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}

.glossary-card {
  overflow: hidden;
}

.glossary-card-category {
  color: var(--purple);
  background: var(--bg-lavender);
  border-radius: 2px;
}

.glossary-article-lead,
.coming-soon-note {
  background: #f0eef3;
  border-color: var(--gold);
  border-radius: 0 3px 3px 0;
}

.yt-promo {
  background:
    radial-gradient(circle at 70% 0%, rgba(201, 143, 164, 0.18), transparent 22rem),
    linear-gradient(135deg, #121836, #252b52);
}

.yt-promo-icon {
  border-radius: 4px;
}

.yt-featured-section {
  background: #f6f2eb;
}

.yt-featured-embed,
.glossary-youtube-wrap {
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.yt-card {
  border-radius: 4px;
}

/* Footer */
.footer-banner {
  padding: 28px 24px;
  background: #d9c49a;
}

.footer-banner p {
  color: var(--navy);
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 600;
}

footer {
  padding: 76px 24px 30px;
  background:
    radial-gradient(circle at 10% 15%, rgba(133, 129, 183, 0.15), transparent 24rem),
    #111735;
}

.footer-inner {
  max-width: 1160px;
}

.footer-top {
  grid-template-columns: 240px 1fr;
  gap: 90px;
}

.footer-logo img {
  width: 190px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.footer-nav h4 {
  color: #d9c49a;
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.footer-nav ul li a {
  line-height: 2.3;
}

.footer-sns-icon {
  width: 42px;
  height: 42px;
  border-radius: 3px;
  filter: saturate(0.7);
}

.footer-sns-icon:hover {
  filter: saturate(1);
}

/* Motion */
@keyframes hero-breathe {
  from { transform: scale(1.06); }
  to { transform: scale(1.015); }
}

@keyframes scroll-line {
  0% { background-position: 0 100%; }
  60%, 100% { background-position: 0 -100%; }
}

.fade-in {
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Responsive */
@media (max-width: 1180px) {
  .site-header {
    padding: 0 22px;
  }

  .logo::after {
    display: none;
  }

  .main-nav ul li a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 11px;
  }

  .nav-cta {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .main-nav.open {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    padding: 22px;
    background: rgba(251, 250, 248, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(22, 27, 59, 0.14);
    overscroll-behavior: contain;
  }

  .main-nav.open ul {
    max-width: 720px;
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open ul li a {
    padding: 13px 8px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open ul li a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav.open .nav-cta {
    margin: 16px 0 0;
    color: #fff !important;
    text-align: center;
    background: var(--navy);
    border: 0;
  }

  .hamburger {
    display: flex;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .content-block.reverse {
    direction: ltr;
  }

  .content-img {
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .breadcrumb {
    display: block;
  }

  .site-header {
    padding: 0 16px;
  }

  .header-inner {
    height: 72px;
  }

  .logo img {
    height: 40px;
  }

  .main-nav.open {
    top: 72px;
    max-height: calc(100svh - 72px);
  }

  .hero {
    height: auto;
    min-height: calc(100svh - 72px);
    margin-top: 72px;
  }

  .hero-bg img {
    object-position: 62% center;
  }

  .hero-bg::after {
    background:
      linear-gradient(90deg, rgba(13, 19, 45, 0.91), rgba(24, 34, 70, 0.6)),
      linear-gradient(0deg, rgba(8, 15, 36, 0.35), transparent);
  }

  .hero-content {
    width: min(100% - 36px, 620px);
    padding: 72px 0 110px;
  }

  .hero-content .ja-catch {
    font-size: clamp(26px, 7vw, 38px);
    line-height: 1.55;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions a {
    min-width: 190px;
  }

  .hero-scroll {
    left: auto;
    right: 18px;
    transform: none;
  }

  section {
    padding: 76px 18px;
  }

  .page-hero {
    min-height: 320px;
    padding: 126px 18px 60px;
  }

  .content-img::before {
    top: -10px;
    left: -10px;
  }

  .content-img img,
  .course-video-embed {
    height: min(72vw, 460px);
  }

  .services-grid {
    max-width: 520px;
  }

  .service-card {
    padding: 36px 25px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 560px) {
  .hero-kicker {
    gap: 11px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .hero-kicker::before {
    width: 34px;
  }

  .hero-content .ja-catch {
    max-width: 100%;
    font-size: clamp(23px, 6.6vw, 30px);
    line-height: 1.65;
    letter-spacing: 0.035em;
    overflow-wrap: break-word;
  }

  .hero-content .hero-sub {
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.035em;
  }

  .hero-content .ja-catch br {
    display: none;
  }

  .hero-content .hero-sub br {
    display: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .hero-actions a {
    width: 100%;
  }

  .section-title h2,
  .school-inner h2 {
    letter-spacing: 0.04em;
  }

  .content-img img {
    height: 78vw;
    min-height: 300px;
  }

  .content-text h2 {
    font-size: 25px;
  }

  .pricing-card {
    padding: 42px 25px 32px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
