/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Variables ===== */
:root {
  --purple: #7b5ea7;
  --purple-light: #9b7ec8;
  --pink: #e8a0b0;
  --pink-light: #f5d0da;
  --green: #7aab8a;
  --gold: #c4a35a;
  --bg-cream: #fdf9f5;
  --bg-lavender: #f3eef9;
  --text-dark: #3a3a3a;
  --text-mid: #666;
  --section-pad: 80px 20px;
}

/* ===== 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); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border-radius: 6px;
  overflow: hidden;
  z-index: 100;
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  padding: 10px 18px;
  font-size: 13px;
  border-bottom: 1px solid #f0e8f5;
}

.dropdown-menu li a:hover { background: var(--bg-lavender); color: var(--purple); }

/* 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;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 20px;
}

.hero-content .en-catch {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: 18px;
}

.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: 14px;
  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;
}

/* ===== NEWS Section ===== */
.news { background: var(--bg-cream); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(123,94,167,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(123,94,167,0.18); }

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body { padding: 18px; }

.news-card-date {
  font-size: 12px;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== 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);
}

.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;
}

.content-text .cta { margin-top: 28px; }

/* ===== School Section ===== */
.school { background: var(--bg-cream); }

.school-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.school-inner img {
  width: 260px;
  margin: 0 auto 30px;
}

.school-inner h2 {
  font-size: 28px;
  color: var(--purple);
  margin-bottom: 20px;
}

.school-inner p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto 30px;
}

/* ===== Pendulum Section ===== */
.pendulum { background: var(--bg-lavender); }

.pendulum-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pendulum-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.12);
}

.pendulum-text h2 {
  font-size: 26px;
  color: var(--purple);
  margin-bottom: 18px;
}

.pendulum-text .course-level {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px;
}

.course-level-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(123,94,167,0.08);
}

.course-level-item .level-badge {
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.course-level-item .level-name {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== Instagram Section ===== */
.instagram { background: #fff; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 900px;
  margin: 0 auto 30px;
}

.instagram-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--purple-light);
  transition: opacity 0.3s;
}

.instagram-item:hover { opacity: 0.85; }

.instagram-follow {
  text-align: center;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.instagram-follow img { width: 24px; }
.instagram-follow a {
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
}

/* ===== Instructors Section ===== */
.instructors { background: var(--bg-cream); }

.instructors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.instructor-card {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 24px rgba(123,94,167,0.10);
  transition: transform 0.3s;
}

.instructor-card:hover { transform: translateY(-6px); }

.instructor-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 4px solid var(--pink-light);
}

.instructor-card h3 {
  font-size: 22px;
  color: var(--purple);
  margin-bottom: 8px;
}

.instructor-card .role {
  font-size: 12px;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.instructor-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ===== 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;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.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-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.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; }

.footer-sns { display: flex; gap: 12px; }
.footer-sns img { width: 24px; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-sns img:hover { opacity: 1; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--bg-lavender);
  padding: 130px 20px 60px;
  text-align: center;
}

.page-hero-en {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--purple-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--purple);
  font-weight: 700;
}

/* ===== Services Overview ===== */
.services-overview { background: var(--bg-cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(123,94,167,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123,94,167,0.18);
}

.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: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-link {
  display: block;
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ===== Session Plans ===== */
.session-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 28px;
}

.session-plan {
  background: var(--bg-lavender);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.session-plan--featured {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 4px 20px rgba(123,94,167,0.12);
}

.plan-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.plan-note {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .session-plans { grid-template-columns: 1fr; }
}

/* ===== Healing Section ===== */
.healing-section { background: var(--bg-cream); }

.healing-intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.healing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.healing-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(123,94,167,0.10);
  transition: transform 0.3s, box-shadow 0.3s;
}

.healing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123,94,167,0.18);
}

.healing-card-icon {
  font-size: 36px;
  margin-bottom: 18px;
  line-height: 1;
}

.healing-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 14px;
  line-height: 1.5;
}

.healing-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.healing-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .healing-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== Media / SNS Section ===== */
.media-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-lavender);
  border-radius: 16px;
  padding: 36px 24px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(123,94,167,0.18);
}

.media-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
  color: #fff;
}

.media-icon--youtube  { background: #ff0000; }
.media-icon--tiktok   { background: #010101; }
.media-icon--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.media-icon--instagram img { width: 32px; filter: brightness(0) invert(1); }

.media-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 8px;
}

.media-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .media-links { grid-template-columns: 1fr; max-width: 400px; }
}

/* ===== Contact Section ===== */
.contact-section { background: var(--bg-cream); }

.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;
}

.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; }
}

/* ===== 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,
  .pendulum-inner,
  .instructors-grid { 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; }

  .instagram-grid { grid-template-columns: repeat(3, 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; }
  .dropdown-menu { position: static; box-shadow: none; display: none; }
  .dropdown.open .dropdown-menu { display: block; background: var(--bg-lavender); }

  .hamburger { display: flex; }

  .header-inner { position: relative; }

  .hero-content .en-catch { font-size: 22px; }

  .news-grid { grid-template-columns: 1fr; }

  .instagram-grid { grid-template-columns: repeat(2, 1fr); }

  section { padding: 60px 16px; }
}
