﻿:root {
  --bg-color: #050117; /* Deep Space */
  --text-color: #e2e8f0;
  --primary-accent: #00f0ff; /* Cyber Cyan */
  --secondary-accent: #f000ff; /* Neon Pink */
  --primary-hover: #00c3d0;
  --secondary-bg: #0b0228; /* Slightly lighter deep space */
  --glass-bg: rgba(20, 10, 50, 0.4);
  --glass-border: rgba(0, 240, 255, 0.3);
  --font-main: 'M PLUS Rounded 1c', sans-serif; /* Casual, rounded */
  --font-display: 'Zen Dots', display; /* Futuristic */
}

.course-group-title {
  text-align: center;
  color: var(--primary-accent);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  background-image: radial-gradient(circle at 50% 50%, #150030 0%, #050117 100%);
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.1);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: transparent;
  color: var(--primary-accent);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-accent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5), inset 0 0 10px rgba(0, 240, 255, 0.2);
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-main);
  white-space: normal;
  word-break: break-word;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-accent);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.8), inset 0 0 10px rgba(0, 240, 255, 0.5);
}
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
}
.btn-block {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 100;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 1, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-accent);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 0 10px var(--secondary-accent), 0 0 20px var(--secondary-accent);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  white-space: normal;
}
.nav-links a:hover {
  color: var(--primary-accent);
  text-shadow: 0 0 8px var(--primary-accent);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('./quasar_mahjong_bg.png');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5,1,23,0.3) 0%, rgba(5,1,23,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}
.hero-title {
  margin-bottom: 1.5rem;
}
.sub-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-accent);
  text-shadow: 0 0 10px var(--secondary-accent);
  letter-spacing: 2px;
}
.main-title {
  font-size: clamp(2rem, 5vw, 4rem);
  white-space: normal;
  word-break: break-word;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 15px var(--primary-accent), 0 0 30px var(--primary-accent);
  display: inline-block;
  margin-top: 0.5rem;
  letter-spacing: 2px;
}
.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Sections */
.section {
  padding: 6rem 2rem;
}
.alt-bg {
  background-color: var(--secondary-bg);
  border-top: 1px solid rgba(240, 0, 255, 0.2);
  border-bottom: 1px solid rgba(240, 0, 255, 0.2);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 0 0 10px var(--primary-accent);
  margin-bottom: 4rem;
  position: relative;
  letter-spacing: 3px;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.about-card {
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-color: rgba(240, 0, 255, 0.3);
}
.about-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 20px rgba(240, 0, 255, 0.4);
}
.about-card h3 {
  color: var(--secondary-accent);
  text-shadow: 0 0 5px var(--secondary-accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}
.pricing-card {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}
.pricing-card.featured {
  border: 2px solid var(--secondary-accent);
  box-shadow: 0 0 30px rgba(240, 0, 255, 0.2), inset 0 0 20px rgba(240, 0, 255, 0.1);
  transform: scale(1.05);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 0 40px rgba(240, 0, 255, 0.4);
}
.badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 0 15px var(--secondary-accent);
}
.course-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.price {
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--primary-accent);
  text-shadow: 0 0 10px var(--primary-accent);
  margin-bottom: 2rem;
}
.price span {
  font-size: 1rem;
  font-family: var(--font-main);
  color: #94a3b8;
  text-shadow: none;
}
.features {
  list-style: none;
  text-align: left;
}
.features li {
  margin-bottom: 1rem;
  padding-left: 1.8rem;
  position: relative;
  color: #e2e8f0;
  font-weight: 700;
}
.features li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  text-shadow: 0 0 5px var(--primary-accent);
}

/* Contact Form */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #00f0ff;
  font-weight: 700;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
.form-group option {
  background-color: var(--bg-color);
  color: #fff;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem;
  border-top: 1px solid rgba(0, 240, 255, 0.3);
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Access Section */
.access-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}
.access-info h3 {
  color: var(--secondary-accent);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-shadow: 0 0 5px var(--secondary-accent);
}
.access-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.access-map iframe {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Trial Flow Section */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
}
.flow-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-badge {
  background: linear-gradient(135deg, var(--primary-accent), #f9d423);
  color: #000;
  font-weight: 800;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.flow-card h3 {
  color: var(--secondary-accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-shadow: 0 0 5px var(--secondary-accent);
}
.flow-card p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
}
@media (min-width: 992px) {
  .flow-card:not(:last-child)::after {
    content: "▶";
    position: absolute;
    top: 50%;
    right: -1.8rem;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--secondary-accent);
    opacity: 0.7;
    text-shadow: 0 0 10px var(--secondary-accent);
  }
}

/* Reason Cards (for responsive) */
.reason-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.reason-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: block;
  border: 3px solid var(--primary-accent);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* LINE Reservation */
.line-reserve-wrapper {
  text-align: center;
  padding: 2rem 0;
}
.line-reserve-text {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
}
.line-reserve-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: inline-block;
  text-align: left;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
}
.line-reserve-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--secondary-accent);
  font-weight: bold;
  line-height: 2;
  font-size: 1.05rem;
}
.btn-line {
  display: inline-block;
  padding: 1.2rem 4rem;
  background: #06C755;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 1px;
  font-family: var(--font-main);
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 100%;
}

/* Footer Social Links */
.social-links-footer {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-social {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-family: var(--font-main);
  transition: transform 0.3s, opacity 0.3s;
  text-align: center;
}
.btn-social:hover {
  opacity: 0.8;
  transform: scale(1.05);
}
.btn-social-line { background: #06C755; }
.btn-social-x { background: #1DA1F2; }

/* Responsive */
@media (max-width: 768px) {
  p br {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-container {
    padding: 0 1.2rem;
  }
  .logo {
    font-size: 1.1rem;
  }
  .navbar .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .sub-title {
    font-size: clamp(1rem, 5vw, 1.5rem);
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  .hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 0 1rem;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .section-title {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
  }
  .about-grid, .pricing-grid, .flow-grid, .access-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .reason-card {
    padding: 2rem 1.5rem !important;
  }
  .reason-img {
    width: 140px !important;
    height: 140px !important;
    margin-bottom: 1.5rem;
  }
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  .line-reserve-wrapper {
    padding: 1rem 0;
  }
  .line-reserve-box {
    padding: 2rem 1.5rem;
    width: 100%;
  }
  .line-reserve-list {
    font-size: 1rem;
    line-height: 2.2;
  }
  .btn-line {
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    width: 100%;
  }
  .access-map iframe {
    height: 250px !important;
  }
  .social-links-footer {
    flex-direction: column;
    gap: 1.5rem;
  }
  .btn-social {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }
}

/* --- 新規追加・改善用スタイル --- */
.section-subtitle {
  font-size: 1.2rem;
  display: block;
  margin-top: 0.5rem;
  color: var(--text-color);
  letter-spacing: 1px;
}
.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.line-height-large { line-height: 1.8; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.badge-item {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--primary-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
}
.cta-wrapper {
  margin-top: 1.5rem;
}
.cta-subtext {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--primary-accent);
  font-weight: bold;
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.reason-title {
  color: var(--primary-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.reason-highlight {
  color: var(--secondary-accent);
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.info-box {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  text-align: left;
}
.info-box p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-blue { font-size: 1.2rem; }

.course-target {
  color: var(--primary-accent);
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.pricing-card.featured .course-target {
  color: var(--secondary-accent);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-item {
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--primary-accent);
  border-radius: 0 12px 12px 0;
  position: relative;
}
.timeline-badge {
  background: var(--primary-accent);
  color: #000;
  font-weight: bold;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.timeline-content h3 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.flow-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.flow-title {
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.faq-q {
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.8rem;
  line-height: 1.5;
}
.faq-q span {
  font-size: 1.4rem;
  text-shadow: 0 0 8px var(--primary-accent);
}
.faq-a {
  color: var(--text-color);
  line-height: 1.8;
  display: flex;
  gap: 0.8rem;
}
.faq-a span {
  color: var(--secondary-accent);
  font-weight: bold;
  font-size: 1.3rem;
  text-shadow: 0 0 8px var(--secondary-accent);
}

.access-heading {
  color: var(--secondary-accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 5px var(--secondary-accent);
}
.access-details p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}
.directions-placeholder {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 0.95rem;
  color: #94a3b8;
  border: 1px dashed rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .timeline-item {
    padding: 1.2rem;
  }
}