/* =========================
   Reset and Base Styles
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.font-inter { font-family: 'Inter', sans-serif; }
.font-noto { font-family: 'Noto Serif JP', serif; }
.font-zen { font-family: 'Zen Antique', serif; }

/* =========================
   Header
========================= */
header {
  position: fixed;
  z-index: 50;
  width: 100%;
  background-color: rgba(233, 249, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 25px 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-box {
  background-color: #2f3f66;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 400;
  color: #2f3f66;
  font-size: 16px;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-weight: 600;
  font-size: 14px;
  color: rgba(47, 63, 102, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: #2f3f66;
}

.cta-button {
  background-color: #2f3f66;
  color: #fff;
  padding: 10px 32px;
  border-radius: 5px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.cta-button:hover {
  background-color: #3d5082;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #2f3f66;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

/* =========================
   Hero Section
========================= */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: rgba(233, 249, 255, 0.95);
}

.hero-container {
  position: relative;
  min-height: 760px;
  isolation: isolate;
}

.hero-map {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  z-index: 1;
}

.hero-map-bd {
  top: 0;
  left: 70px;
  width: 35%;
}

.hero-map-jp {
  top: 50px;
  right: 120px;
  width: 35%;
}

.hero-headline {
  position: absolute;
  z-index: 10;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 40px));
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-headline p {
  margin: 0;
  color: #6f6a6a;
  position: relative;
}

.from-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  align-self: flex-start;
  margin-left: 10%;
  opacity: 0.7;
}

.main-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 8vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.main-text-left {
  align-self: flex-start;
  margin-left: 15%;
}

.to-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  margin-top: -10px;
  opacity: 0.7;
}

.main-text-right {
  align-self: flex-end;
  margin-right: 15%;
}

.subtitle {
  margin-top: 12px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(80, 80, 80, 0.7);
  padding: 0 20px;
  opacity: 0.7;
}

.one-stop-text {
  position: absolute;
  right: 0;
  bottom: 15%;
  z-index: 2;
}

.one-stop-text p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 150px;
  font-weight: 600;
  line-height: 0.9;
  color: rgba(120, 110, 110, 0.16);
  letter-spacing: 0.03em;
}

/* 3D Carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  perspective: 2000px;
  perspective-origin: 50% 60%;
  overflow: hidden;
  margin-top: 4rem;
}

.hero-carousel__viewport {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 150px;
  width: 100%;
  height: 600px;
  transform-style: preserve-3d;
}

.hero-carousel__ring {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-carousel__slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  aspect-ratio: 551 / 730;
  margin-left: -150px;
  margin-top: -200px;
  overflow: hidden;
  background: #fff;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0.98;
  transition: opacity 0.5s ease;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.78) 78%,
    rgba(255, 255, 255, 1) 100%
  );
}

/* =========================
   Section Common Styles
========================= */
section {
  padding: 80px 0;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 48px);
  color: #2f3f66;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: clamp(15px, 4vw, 20px);
  color: #797d81;
  max-width: 800px;
  margin: 0 auto;
}

/* =========================
   Concept Section
========================= */
#concept {
  scroll-margin-top: 100px;
}

.concept-section {
  background-color: #ffffff;
  padding: 100px 0 64px;
}

.concept-section .section-container {
  max-width: 1100px;
  padding: 0 24px;
}

.concept-section .section-header {
  margin-bottom: 56px;
}

.concept-intro {
  max-width: 860px;
  margin: 0 auto 48px;
}

.concept-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  text-align: center;
}

/* Challenge -> Solution */
.concept-pairs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.concept-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.concept-card {
  position: relative;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(47, 63, 102, 0.06);
}

.concept-card-challenge {
  background: #f4f7fb;
  border-color: #dbe4f0;
}

.concept-card-solution {
  background: #e9f9ff;
  border-color: #cfeaf5;
}

.concept-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.concept-card-challenge .concept-card-icon {
  background: #2f3f66;
  color: #fff;
}

.concept-card-solution .concept-card-icon {
  background: #5fa8c4;
  color: #fff;
}

.concept-label {
  display: table;
  margin: 0 auto 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.concept-label-challenge {
  background: #e6edf5;
  color: #2f3f66;
}

.concept-label-solution {
  background: #d8f1fa;
  color: #2f3f66;
}

.concept-pair-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  font-weight: 700;
  color: #5fa8c4;
}

.concept-card .concept-block-title {
  font-size: 1.45rem;
  line-height: 1.45;
  color: #2f3f66;
  margin: 0 0 16px;
  text-align: center;
}

.concept-card .concept-block-text {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.9);
  margin: 0 0 18px;
  text-align: center;
}

.concept-card .concept-list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(47, 63, 102, 0.92);
  font-size: 14px;
}

.concept-card .concept-list li {
  margin-bottom: 5px;
  line-height: 1.8;
}

/* One-Stop section */
#One-Stop {
  padding: 0;
  margin: 0;
  background: transparent;
}

.concept-flow {
  margin: 0;
  text-align: center;
  padding: 120px 24px 100px;
  position: relative;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4f8 100%);
  overflow: hidden;
}

.concept-flow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 50px solid #ffffff;
  z-index: 10;
  filter: drop-shadow(0 15px 15px rgba(47, 63, 102, 0.08));
}

.concept-flow-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#d1dce5 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.concept-flow-bg-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90, 123, 176, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.concept-flow-hub {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 240px minmax(220px, 1fr);
  gap: 20px;
  align-items: center;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
}

.concept-flow-hub::before,
.concept-flow-hub::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(47, 63, 102, 0.18) 0%,
    rgba(95, 168, 196, 0.45) 50%,
    rgba(47, 63, 102, 0.18) 100%
  );
}

.concept-flow-hub::before {
  left: 24%;
  width: 20%;
}

.concept-flow-hub::after {
  right: 24%;
  width: 20%;
}

.concept-flow-country-card,
.concept-flow-center-wrap {
  position: relative;
  z-index: 1;
}

.concept-flow-country-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(47, 63, 102, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.concept-flow-country-card-bd {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.concept-flow-country-card-jp {
  background: linear-gradient(180deg, #eef9ff 0%, #ffffff 100%);
}

.concept-flow-card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 36px 34px;
}

.concept-flow-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.3;
}

.concept-flow-map img {
  width: 52%;
  max-width: 180px;
  object-fit: contain;
}

.concept-flow-country {
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 4px;
  color: #2f3f66;
  border-bottom: 1px solid #1d4e89;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.concept-flow-country-card h4 {
  font-size: 1.24rem;
  margin: 0 0 12px;
  color: #2f3f66;
  line-height: 1.45;
}

.concept-flow-country-card p {
  margin: 0;
  line-height: 1.8;
  color: rgba(47, 63, 102, 0.9);
  font-size: 0.95rem;
}

.concept-flow-center-wrap,
.concept-flow-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.concept-flow-center-badge {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f3f66 0%, #5a7bb0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 30px rgba(47, 63, 102, 0.18);
  border: 10px solid rgba(233, 249, 255, 0.95);
  position: relative;
  z-index: 2;
}

/* Why this system is needed */
.concept-detail {
  max-width: 1100px;
  margin: 0 auto;
}

.concept-detail-title {
  font-size: 1.5rem;
  margin: 0 0 18px;
  color: #1a1a1a;
}

.concept-detail p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #444;
  margin: 0 0 20px;
}

.concept-costs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.concept-cost-card {
  background: #f8fafc;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.concept-cost-card h4 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  color: #4a4a4a;
}

.concept-cost-card p {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
}

.concept-cost-total {
  background: #1d4e89;
  border-color: #1d4e89;
}

.concept-cost-total h4,
.concept-cost-total p {
  color: #fff;
}

/* =========================
   Key Feature Section
========================= */
.key-feature-section {
  background-color: #e9f9ff;
  padding: 100px 0;
}

.key-feature-section .section-container {
  max-width: 1200px;
  padding: 0 24px;
}

.key-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 40px;
}

.feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #d5eaf2;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(47, 63, 102, 0.05);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #2f3f66 0%, #77bdd8 100%);
}

.feature-card-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2f3f66;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 1.35rem;
  line-height: 1.45;
  color: #2f3f66;
  margin: 0 0 16px;
}

.feature-card-text {
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.9);
  margin: 0 0 14px;
}

.feature-card-text:last-child {
  margin-bottom: 0;
}

.method-section {
  background: #ffffff;
  border: 1px solid #d5eaf2;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(47, 63, 102, 0.05);
  margin-bottom: 32px;
}

.method-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.method-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #dff5fc;
  color: #2f3f66;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.method-title {
  font-size: 2rem;
  color: #2f3f66;
  margin: 0 0 14px;
}

.method-description {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.9);
  margin: 0;
}

.method-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.method-point {
  background: #f7fcff;
  border: 1px solid #d5eaf2;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
}

.method-point-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e9f9ff;
  color: #2f3f66;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid #d5eaf2;
}

.method-point h4 {
  font-size: 1.05rem;
  color: #2f3f66;
  margin: 0 0 12px;
}

.method-point p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(47, 63, 102, 0.9);
  margin: 0;
}

.method-detail {
  max-width: 900px;
  margin: 0 auto;
}

.method-detail p {
  font-size: 0.98rem;
  line-height: 1.95;
  color: rgba(47, 63, 102, 0.9);
  margin: 0 0 16px;
  text-align: center;
}

.method-detail p:last-child {
  margin-bottom: 0;
}

.founder-profile {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
  background: #ffffff;
  border: 1px solid #d5eaf2;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(47, 63, 102, 0.05);
}

.founder-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #dff5fc;
  color: #2f3f66;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-title {
  font-size: 1.9rem;
  color: #2f3f66;
  margin: 0 0 14px;
}

.founder-text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.92);
  margin: 0 0 22px;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.founder-stat {
  background: #f7fcff;
  border: 1px solid #d5eaf2;
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
}

.founder-stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: #2f3f66;
  margin-bottom: 6px;
}

.founder-stat-label {
  display: block;
  font-size: 0.84rem;
  color: rgba(47, 63, 102, 0.8);
  line-height: 1.5;
}

.founder-career {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(47, 63, 102, 0.92);
}

.founder-career li {
  margin-bottom: 12px;
  line-height: 1.85;
}

/* =========================
   Courses Section
========================= */
.courses-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.courses-section .section-container {
  max-width: 1100px;
  padding: 0 24px;
}

/* ここからコース */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 36px;
}

.course-card {
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(47, 63, 102, 0.05);
}

.course-card-primary {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-color: #cfe0ef;
}

.course-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #2f3f66;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-badge-light {
  background: #e9f9ff;
  color: #2f3f66;
}

.course-title {
  font-size: 1.9rem;
  line-height: 1.35;
  color: #2f3f66;
  margin: 0 0 16px;
}

.course-lead {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.92);
  margin: 0 0 24px;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.course-meta-item {
  background: #f8fbff;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  padding: 18px 16px;
}

.course-meta-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(47, 63, 102, 0.72);
  margin-bottom: 8px;
}

.course-meta-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2f3f66;
}

.course-highlight {
  background: #eef8fc;
  border: 1px solid #d5eaf2;
  border-radius: 18px;
  padding: 20px 18px;
  margin-bottom: 22px;
}

.course-highlight h4 {
  font-size: 1rem;
  color: #2f3f66;
  margin: 0 0 10px;
}

.course-highlight p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(47, 63, 102, 0.9);
  margin: 0;
}

.course-points {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(47, 63, 102, 0.92);
}

.course-points li {
  margin-bottom: 10px;
  line-height: 1.8;
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
  margin-bottom: 40px;
  align-items: stretch;
}

.course-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 32px;
  padding: 34px 32px 30px;
  box-shadow: 0 14px 34px rgba(47, 63, 102, 0.06);
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #cfe0ef 0%, #e9f9ff 100%);
}

.course-card-primary {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-color: #cfe0ef;
  box-shadow: 0 18px 40px rgba(47, 63, 102, 0.09);
}

.course-card-primary::before {
  background: linear-gradient(90deg, #2f3f66 0%, #77bdd8 100%);
}

.course-card-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.course-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.course-card-mark {
  flex-shrink: 0;
  min-width: 68px;
  height: 68px;
  border-radius: 20px;
  background: #f3f7fb;
  border: 1px solid #dbe4f0;
  color: #2f3f66;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.course-card-primary .course-card-mark {
  background: #2f3f66;
  border-color: #2f3f66;
  color: #ffffff;
}

.course-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #2f3f66;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-badge-light {
  background: #e9f9ff;
  color: #2f3f66;
}

.course-title {
  font-size: 2rem;
  line-height: 1.25;
  color: #2f3f66;
  margin: 0;
}

.course-lead {
  font-size: 1rem;
  line-height: 1.95;
  color: rgba(47, 63, 102, 0.9);
  margin: 0 0 26px;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.course-meta-item {
  background: #f8fbff;
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  padding: 18px 18px;
}

.course-card-primary .course-meta-item {
  background: rgba(255, 255, 255, 0.9);
}

.course-meta-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(47, 63, 102, 0.68);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.course-meta-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2f3f66;
  line-height: 1.4;
}

.course-highlight {
  background: #eef8fc;
  border: 1px solid #d5eaf2;
  border-radius: 20px;
  padding: 20px 18px;
  margin-bottom: 24px;
}

.course-highlight h4 {
  font-size: 0.98rem;
  color: #2f3f66;
  margin: 0 0 10px;
}

.course-highlight p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(47, 63, 102, 0.9);
  margin: 0;
}

.course-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.course-points li {
  position: relative;
  padding-left: 26px;
  line-height: 1.8;
  color: rgba(47, 63, 102, 0.92);
}

.course-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #77bdd8;
  transform: translateY(-50%);
}

.course-card-primary .course-points li::before {
  background: #2f3f66;
}

@media (max-width: 980px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .course-card {
    padding: 26px 20px 24px;
    border-radius: 24px;
  }

  .course-card-head {
    gap: 14px;
    margin-bottom: 16px;
  }

  .course-card-mark {
    min-width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .course-title {
    font-size: 1.55rem;
  }

  .course-lead,
  .course-highlight p,
  .course-points li {
    font-size: 0.95rem;
  }

  .course-meta {
    grid-template-columns: 1fr;
  }

  .course-meta-value {
    font-size: 1.08rem;
  }
}


/* ここからクラス編成 */
.class-schedule-section {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid #dbe4f0;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(47, 63, 102, 0.05);
}

.class-schedule-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
}

.class-schedule-title {
  font-size: 1.8rem;
  color: #2f3f66;
  margin: 0 0 12px;
}

.class-schedule-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.9);
}

.class-schedule-summary {
  margin-bottom: 28px;
}

.class-summary-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 18px;
  background: #f8fbff;
}

.class-summary-table th,
.class-summary-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dbe4f0;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
}

.class-summary-table th {
  width: 240px;
  background: #eef6fb;
  color: #2f3f66;
  font-weight: 700;
}

.class-summary-table td {
  color: rgba(47, 63, 102, 0.9);
  background: #ffffff;
}

.class-summary-table tr:last-child th,
.class-summary-table tr:last-child td {
  border-bottom: none;
}

.class-schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 18px;
}

.class-schedule-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border: 1px solid #cfdbea;
  background: #ffffff;
  table-layout: fixed;
}

.class-schedule-table th,
.class-schedule-table td {
  border: 1px solid #cfdbea;
  padding: 14px 10px;
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
}

.class-schedule-table thead th {
  background: #dfeef7;
  color: #2f3f66;
  font-weight: 700;
}

.class-schedule-table tbody th {
  background: #f3f8fc;
  color: #2f3f66;
  font-weight: 700;
  white-space: nowrap;
}

.class-schedule-table td {
  font-weight: 600;
  color: #2f3f66;
}

.class-schedule-table .group-a {
  background: #bfefff;
}

.class-schedule-table .group-b {
  background: #ffe27a;
}

.class-schedule-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.class-schedule-note p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(47, 63, 102, 0.82);
}

/* =========================
   About Us Section
========================= */
.about-section {
  background-color: #e9f9ff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.about-mission-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  color: #2f3f66;
  margin-bottom: 16px;
  text-align: center;
}

.about-mission-text {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(47, 63, 102, 0.9);
  margin-bottom: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-stat {
  background: #ffffff;
  border: 1px solid #d5eaf2;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(47, 63, 102, 0.05);
}

.about-stat-number {
  font-size: 2rem;
  color: #2f3f66;
  margin-bottom: 8px;
}

.about-stat-label {
  color: rgba(47, 63, 102, 0.82);
  font-size: 0.95rem;
}

.about-block {
  background: #ffffff;
  border: 1px solid #d5eaf2;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(47, 63, 102, 0.05);
  margin-bottom: 24px;
}

.about-subblock {
  width: 90%;
  margin: 0 auto;
}
.about-subblock + .about-subblock {
  margin-top: 24px;
}

.about-subblock h4 {
  font-size: 1rem;
  color: #2f3f66;
  margin-bottom: 14px;
  padding-left: 8px;
  border-left: 3px solid #2f3f66;
  align-items: center;
}

.about-subblock dl,
.company-card dl {
  margin: 0 auto;
  width: 90%;
}

.about-subblock dt,
.company-card dt {
  font-weight: 700;
  color: #2f3f66;
  margin-bottom: 6px;
}

.about-subblock dd,
.company-card dd {
  margin: 0;
  color: rgba(47, 63, 102, 0.9);
  line-height: 1.8;
}

.about-overview {
  overflow-x: auto;
}

.about-overview table {
  width: 90%;
  border-collapse: collapse;
  min-width: 640px;
  margin: 0 auto;
}

.about-overview th,
.about-overview td {
  border: 1px solid #dbe4f0;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-overview th {
  background: #eef6fb;
  color: #2f3f66;
}

.company-card {
  background: #ffffff;
  border: 1px solid #d5eaf2;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(47, 63, 102, 0.05);
  overflow: hidden;
  margin: 20px auto;
  width: 90%;
}

.company-card h4 {
  background: #f7fcff;
  color: #2f3f66;
  padding: 18px 20px;
  font-size: 1rem;
  border-bottom: 1px solid #d5eaf2;
}

.company-row {
  border-bottom: 1px solid #e7eef5;
}
.company-row a {
  text-decoration: none;
  color:rgba(47, 63, 102, 0.9);
}
.company-row a:hover{
  text-decoration: underline;
  color:rgba(47, 63, 102, 0.9);
}
.company-row:last-child {
  border-bottom: none;
}

.company-card dt {
  padding: 20px 20px 6px;
  font-size: 14px;
}

.company-card dd {
  padding: 0 20px 20px;
  font-size: 15px;
}

/* =========================
   FAQ Section
========================= */
.faq-section {
  background-color: #ffffff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

.faq-list {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-button {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-button:hover {
  background-color: #f9fafb;
}

.faq-question {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 18px;
  color: #2f3f66;
  padding-right: 32px;
}

.faq-icon {
  color: #2f3f66;
  font-size: 24px;
  transform: rotate(0deg);
  transition: transform 0.3s;
}

.faq-icon.open {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 24px;
  display: none;
}

.faq-content.show {
  display: block;
}

.faq-answer {
  font-size: 16px;
  color: #797d81;
  line-height: 1.8;
}

.faq-cta {
  margin-top: 48px;
  text-align: center;
}

.faq-cta-text {
  font-size: 18px;
  color: #797d81;
  margin-bottom: 24px;
}

.faq-cta-button {
  background-color: #2f3f66;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-cta-button:hover {
  background-color: #3d5082;
}

/* =========================
   Footer
========================= */
footer {
  background-color: #2f3f66;
  color: #ffffff;
  padding: 48px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-weight: 600;
  font-size: 26px;
  line-height: 1.4;
}

.footer-logo-text span {
  font-size: 20px;
}

.footer-section-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  color: #ffffff;
  font-size: 0.95rem;
  width: 18px;
  margin-top: 0.2em;
  flex-shrink: 0;
}

.footer-contact span {
  display: inline-block;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {
  .header-container {
    padding: 15px 24px;
  }

  .logo-text {
    font-size: 14px;
  }

  nav {
    gap: 20px;
  }

  .hero-container {
    min-height: 680px;
  }

  .hero-carousel__viewport {
    top: 130px;
    height: 500px;
  }

  .hero-carousel__slide {
    width: 260px;
    margin-left: -130px;
    margin-top: -172px;
  }

  .key-feature-grid,
  .method-points,
  .founder-profile,
  .courses-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .course-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .concept-flow-hub {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .concept-flow-hub::before,
  .concept-flow-hub::after {
    display: none;
  }

  .concept-flow-country-card {
    width: min(320px, 100%);
  }

  .concept-flow-center-badge {
    width: 150px;
    height: 150px;
    font-size: 0.98rem;
  }

  .concept-costs {
    grid-template-columns: 1fr;
  }

  .founder-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .concept-pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .concept-pair-arrow {
    transform: rotate(90deg);
    min-height: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .logo-text {
    font-size: 12px;
    white-space: normal;
    max-width: 200px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(233, 249, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 100;
    gap: 32px;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 20px;
  }

  .cta-button {
    padding: 12px 48px;
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .hero-container {
    min-height: 700px;
  }

  .hero-headline {
    top: 65px;
    width: 100%;
    padding: 0 15px;
  }

  .hero-headline p {
    margin: 5px;
  }

  .from-text {
    font-size: 18px;
    margin-left: 10%;
  }

  .main-text {
    font-size: 25px;
  }

  .main-text-left {
    margin-left: 10%;
  }

  .to-text {
    font-size: 16px;
    margin-top: -5px;
  }

  .main-text-right {
    margin-right: 10%;
    text-align: right;
  }

  .subtitle {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    padding: 0 30px;
  }

  .hero-carousel {
    perspective: 1200px;
    margin-top: 0;
  }

  .hero-carousel__viewport {
    top: 280px;
    height: 320px;
  }

  .hero-carousel__slide {
    width: 150px;
    margin-left: -75px;
    margin-top: -100px;
  }

  .one-stop-text p {
    font-size: 50px;
    bottom: 5%;
  }

  .hero-map {
    opacity: 0.08;
  }
}

@media (max-width: 640px) {
  .concept-section,
  .key-feature-section,
  .courses-section {
    padding: 72px 0;
  }

  .section-container,
  .faq-container,
  .footer-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .concept-card,
  .feature-card,
  .method-section,
  .founder-profile,
  .course-card,
  .class-schedule-section,
  .about-block,
  .company-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .concept-card .concept-block-title,
  .feature-card-title,
  .course-title,
  .class-schedule-title,
  .method-title,
  .founder-title,
  .about-mission-title {
    font-size: 1.3rem;
  }

  .concept-card .concept-block-text,
  .concept-card .concept-list li,
  .feature-card-text,
  .method-description,
  .method-point p,
  .method-detail p,
  .founder-text,
  .founder-career li,
  .course-lead,
  .course-highlight p,
  .course-points li,
  .class-schedule-lead,
  .class-summary-table th,
  .class-summary-table td,
  .class-schedule-table th,
  .class-schedule-table td,
  .class-schedule-note p,
  .about-mission-text,
  .about-subblock dd,
  .company-card dd,
  .faq-answer {
    font-size: 0.95rem;
  }

  .concept-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .concept-flow {
    padding: 90px 12px 64px;
  }

  .concept-flow::before {
    border-left-width: 48px;
    border-right-width: 48px;
    border-top-width: 30px;
  }

  .concept-flow-country-card {
    width: min(280px, 100%);
  }

  .concept-flow-card-inner {
    padding: 28px 24px;
  }

  .concept-flow-country-card h4 {
    font-size: 1.08rem;
  }

  .concept-flow-country-card p {
    font-size: 0.9rem;
  }

  .concept-flow-center-badge {
    width: 130px;
    height: 130px;
    font-size: 0.9rem;
  }

  .concept-flow-map img {
    width: 48%;
  }

  .course-meta {
    grid-template-columns: 1fr;
  }

  .class-summary-table th {
    width: 160px;
  }

  .about-overview table {
    min-width: 560px;
  }

  .faq-button {
    padding: 20px;
  }

  .faq-question {
    font-size: 16px;
    padding-right: 20px;
  }

  .faq-icon {
    font-size: 20px;
  }

  .faq-content {
    padding: 0 20px 20px;
  }

  .footer-logo-text {
    font-size: 20px;
  }

  .footer-logo-text span {
    font-size: 16px;
  }
}