/* ========================================
   BOROIMISE 絵画教室 — common.css
   共通スタイル（全ページで使用）
   ======================================== */

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

:root {
  /* Theme Colors for 3 main pillars */
  --c-theme-design: #33302E; /* デザイン事務所：洗練されたウォームブラック/チャコール */
  --c-theme-regular: #2A3B4D; /* 絵画教室 通常クラス：落ち着いたネイビー（既存） */
  --c-theme-trial: #C4654A;   /* 体験コース：親しみやすいテラコッタ（既存） */

  /* Colors */
  --c-bg: #FAF8F5;
  --c-bg-warm: #F4EDE5;
  --c-bg-alt: #FEFEFE;
  --c-terra: var(--c-theme-trial);
  --c-terra-dark: #B5543A;
  --c-terra-light: #C9A88C;
  --c-navy: var(--c-theme-regular);
  --c-navy-light: #3A4F5E;
  --c-text: #3A3A3A;
  --c-text-light: #6B6B6B;
  --c-text-muted: #999;
  --c-border: #E0D5CA;
  --c-accent-green: #7A9B7E;
  --c-accent-red: #DB4D3F; /* 体験色と同色相・高彩度のアクセントレッド */
  --c-success: #4A8C5C;

  /* Class Theme Colors */
  --c-class-jiyu: #5B8FA8;
  --c-class-design: #5B6FA8;
  --c-class-kiso: #8B7B6B;
  --c-class-family: #7A9B7E;

  /* Fonts */
  --f-serif: 'Noto Serif JP', serif;
  --f-sans: 'Noto Sans JP', sans-serif;

  /* Spacing — mobile-first (default = mobile) */
  --s-section: 40px;
  --s-container: 1080px;

  /* Transitions */
  --t-base: 0.3s ease;
  --t-slow: 0.6s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--f-sans);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-terra);
  text-decoration: none;
  transition: color var(--t-base);
}

a:hover {
  color: var(--c-terra-dark);
}

.container {
  max-width: var(--s-container);
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only {
  display: inline;
}

.pc-only {
  display: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t-base);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-terra) 0%, var(--c-terra-dark) 100%);
  color: #FFF;
  box-shadow: 0 4px 20px rgba(196, 101, 74, 0.3);
  position: relative;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--c-terra-dark) 0%, #944530 100%);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 101, 74, 0.45);
}

/* CTA pulse animation */
@keyframes ctaPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(196, 101, 74, 0.3);
  }

  50% {
    box-shadow: 0 4px 30px rgba(196, 101, 74, 0.5);
  }
}

.section-cta .btn-primary,
.hero .btn-primary {
  animation: ctaPulse 3s ease-in-out infinite;
}

.section-cta .btn-primary:hover,
.hero .btn-primary:hover {
  animation: none;
}

/* --- Sections --- */
.section {
  padding: var(--s-section) 0;
  position: relative;
}

/* Base override for access to reduce top margin */
.access {
  padding-top: calc(var(--s-section) * 0.6);
}

.section-title {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 500;
  text-align: center;
  color: var(--c-navy);
  margin-bottom: 20px;
  line-height: 1.5;
}

.section-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--c-terra-light);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-cta {
  text-align: center;
  margin-top: 24px;
}

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base);
}

.navbar.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--s-container);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-logo span {
  font-size: 0.75rem;
  font-weight: 400;
  margin-left: 8px;
  color: var(--c-text-light);
  letter-spacing: 0.1em;
}

.nav-logo:hover {
  color: var(--c-navy);
}

/* Mobile: nav-menu is hidden by default */
.nav-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  flex-direction: column;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(10px);
  padding: 24px 20px;
  gap: 0;
  transform: translateY(-120%);
  transition: transform var(--t-base);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  list-style: none;
}

.nav-menu.open {
  transform: translateY(0);
}

.nav-menu li {
  width: 100%;
  text-align: center;
}

.nav-menu a {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem;
}

.nav-menu a {
  font-size: 0.875rem;
  color: var(--c-text);
  font-weight: 400;
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-terra);
  transition: width var(--t-base);
}

.nav-menu a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-menu a.nav-cta,
.nav-menu a.nav-btn-regular {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  width: auto;
  margin-top: 8px;
}

.nav-cta {
  background: var(--c-theme-trial);
  color: #FFF !important;
}

.nav-cta:hover {
  background: var(--c-terra-dark);
  color: #FFF !important;
}

.nav-btn-regular {
  background: var(--c-theme-regular);
  color: #FFF !important;
}

.nav-btn-regular:hover {
  background: var(--c-navy-light);
  color: #FFF !important;
}

/* Mobile: toggle visible by default */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* The margin-top is already handled above for both buttons */

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--c-navy);
  transition: all var(--t-base);
  border-radius: 2px;
}

/* ========== 01 HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(250, 248, 245, 0.88) 0%,
      rgba(250, 248, 245, 0.72) 50%,
      rgba(250, 248, 245, 0.60) 100%);
}

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

.hero-location {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-theme-regular);
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(44, 62, 80, 0.1);
}

.hero-title {
  font-family: var(--f-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--c-text);
  margin-bottom: 8px;
  line-height: 1.7;
}

.hero-dates {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-terra-dark);
  line-height: 1.9;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.hero-sub-adult {
  font-size: 0.85rem;
  color: var(--c-text-light);
  margin-bottom: 28px;
  font-style: italic;
}

.hero .btn {
  font-size: 0.95rem;
  padding: 14px 32px;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.hero-note {
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-terra-dark);
  background: rgba(196, 101, 74, 0.08);
  border: 1px solid var(--c-terra);
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ========== 02 EMPATHY — OPTION 4 (ICON+KEYWORD) ========== */
.empathy-v4 {
  background: var(--c-bg-alt);
  padding: 60px 0;
}

/* デフォルト（モバイル）: 縦積み × 縦積み */
.empathy-v4-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}

.empathy-v4-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empathy-v4-block-label {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-navy);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}

.empathy-v4-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.empathy-v4-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFF;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empathy-v4-icon {
  width: 28px;
  height: 28px;
  color: var(--c-terra);
  flex-shrink: 0;
}

.empathy-v4-keyword {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--c-text-light);
  font-weight: 500;
}

.empathy-bridge {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-text);
  margin-top: 20px;
}

.empathy-bridge strong {
  color: var(--c-navy);
  font-weight: 500;
}

/* ========== PHOTO STRIP ========== */
.photo-strip {
  padding: 0;
  overflow: hidden;
}

.photo-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.photo-strip-item {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-strip-item:hover img {
  transform: scale(1.05);
}

/* ========== 03 CONCEPT ========== */
.concept {
  background: var(--c-bg);
  position: relative;
}

.concept::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
}

.concept-body {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--c-text);
}

.concept-body p+p {
  margin-top: 16px;
}

.concept-table {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.concept-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.concept-header {
  background: var(--c-navy);
}

.concept-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
  font-weight: bold;
  font-size: 0.85rem;
}

.concept-cell.negative .concept-icon {
  background: rgba(0, 0, 0, 0.05);
  color: var(--c-text-muted);
}

.concept-cell.positive .concept-icon {
  background: var(--c-terra-light);
  color: #FFF;
}

.concept-header .concept-cell {
  color: #FFF;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: none;
}

.concept-cell {
  padding: 10px 12px;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--c-border);
  line-height: 1.5;
}

.concept-row:last-child .concept-cell {
  border-bottom: none;
}

.concept-cell.negative {
  color: var(--c-text-muted);
  background: #FAFAFA;
}

.concept-cell.positive {
  color: var(--c-navy);
  background: #FFF;
  font-weight: 400;
}

/* ========== 04 FEATURES ========== */
.features {
  background: var(--c-bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  transition: all var(--t-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--c-terra-light);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border: 1px solid var(--c-border);
  transition: all var(--t-base);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--c-navy);
  transition: all var(--t-base);
}

.feature-card:hover .feature-icon {
  background: var(--c-terra);
  border-color: var(--c-terra);
  transform: scale(1.08);
}

.feature-card:hover .feature-icon svg {
  color: #FFF;
}

.feature-card h3 {
  font-family: var(--f-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.75rem;
  color: var(--c-text-light);
  line-height: 1.5;
}

/* ========== 05 INSTRUCTOR ========== */
.instructor {
  background: var(--c-bg);
}

.instructor-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.instructor-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 280px;
  margin: 0 auto;
}

.instructor-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.instructor-text h3 {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: 4px;
}

.instructor-text h3 span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--c-text-muted);
  margin-left: 12px;
  font-family: var(--f-sans);
}

.instructor-title-sub {
  font-size: 0.95rem;
  color: var(--c-text-light);
  margin-bottom: 24px;
}

.instructor-summary {
  list-style: none;
  background: var(--c-bg-alt);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--c-border);
}

.instructor-summary li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--c-text);
}

.instructor-summary li:last-child {
  margin-bottom: 0;
}

.instructor-summary li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-terra);
  font-weight: bold;
}

.instructor-summary strong {
  color: var(--c-navy);
}

.instructor-text p {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--c-text);
}

.instructor-quote {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--c-bg-warm);
  border-left: 3px solid var(--c-terra);
  border-radius: 0 10px 10px 0;
  font-family: var(--f-serif);
  font-size: 0.9rem;
  color: var(--c-navy);
  font-style: italic;
  line-height: 1.7;
}

/* ========== 06 CLASSES ========== */
.classes {
}

.class-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

.class-card {
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
  transition: all var(--t-base);
}

.class-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.class-card.highlight {
  border: 2px solid var(--c-terra);
}

.class-card-header {
  padding: 10px 12px;
  text-align: center;
}

.class-card-header.jiyu {
  background: var(--c-class-jiyu);
  color: #FFF;
}

.class-card-header.family {
  background: var(--c-class-family);
  color: #FFF;
}

.class-card-header.kiso {
  background: var(--c-class-kiso);
  color: #FFF;
}

.class-card-header.trial {
  background: var(--c-terra);
  color: #FFF;
}

.class-card-header.design {
  background: var(--c-class-design);
  color: #FFF;
}

.class-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.class-card-header h3 {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  margin-top: 2px;
}

.class-card-body {
  padding: 12px 10px;
  text-align: center;
  background: #FFF;
}

.class-target {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}

.class-schedule {
  font-size: 0.82rem;
  color: var(--c-text);
  margin-bottom: 4px;
}

.class-price {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-navy);
}

.class-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--c-text-muted);
}

.class-note {
  font-size: 0.75rem;
  color: var(--c-terra);
  margin-top: 6px;
  font-weight: 500;
}

/* Week note on class schedule */
.class-week-note {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  font-weight: 400;
  margin-left: 2px;
  display: block;
}

/* Free atelier line in class cards */
.class-schedule-free {
  font-size: 0.72rem;
  color: var(--c-accent-green);
  font-weight: 500;
  margin-top: 2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

/* Free atelier info block */
.free-atelier-info {
  max-width: 720px;
  margin: 24px auto;
  padding: 20px 18px 18px;
  background: linear-gradient(135deg, rgba(122, 155, 126, 0.06) 0%, rgba(122, 155, 126, 0.12) 100%);
  border: 1px solid rgba(122, 155, 126, 0.2);
  border-radius: 14px;
  text-align: center;
  position: relative;
}

.free-atelier-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.free-atelier-icon svg {
  width: 20px;
  height: 20px;
  color: #FFF;
}

.free-atelier-info h3 {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: 10px;
}

.free-atelier-info p {
  font-size: 0.82rem;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.free-atelier-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.free-atelier-points li {
  font-size: 0.78rem;
  color: var(--c-accent-green);
  font-weight: 500;
  position: relative;
  padding-left: 16px;
}

.free-atelier-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Pricing tuition rows */
.pricing-row-tuition td:first-child {
  font-weight: 500;
  color: var(--c-navy);
}

.pricing-amount {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-navy);
}

.pricing-unit {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-left: 2px;
}

/* ========== CLASSES SCHEDULE MAP ========== */
.schedule-map {
  background: var(--c-bg-alt);
}

.schedule-map h3 {
  text-align: center;
  font-family: var(--f-serif);
  color: var(--c-navy);
  margin-bottom: 14px;
  font-size: 1rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 68px 1fr 1fr 1fr;
  gap: 4px;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

.schedule-header {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-border);
}

.schedule-time {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--c-navy);
  background: var(--c-bg-warm);
  border-radius: 6px;
  font-size: 0.6rem;
  letter-spacing: 0;
  padding: 4px 2px;
}

.schedule-cell {
  background: #FFF;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 8px 2px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
}

.schedule-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--c-terra-light);
}

.schedule-cell span {
  font-size: 0.68rem;
  font-weight: 500;
}

.class-jiyu {
  border-left: 4px solid var(--c-class-jiyu);
  color: var(--c-class-jiyu);
}

.class-family {
  border-left: 4px solid var(--c-class-family);
  color: var(--c-class-family);
}

.class-kiso {
  border-left: 4px solid var(--c-class-kiso);
  color: var(--c-class-kiso);
}

.class-design {
  border-left: 4px solid var(--c-class-design);
  color: var(--c-class-design);
}

.schedule-adjusting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 24px;
  margin-bottom: 10px;
  border: 1.5px dashed var(--c-text-muted);
  border-radius: 8px;
  text-align: center;
}

.schedule-adjusting svg {
  width: 32px;
  height: 32px;
  color: var(--c-text-muted);
}

.schedule-adjusting-title {
  font-size: 1rem;
  font-family: var(--f-serif);
  color: var(--c-text-light);
  letter-spacing: 0.12em;
  margin: 0;
}

.schedule-adjusting-sub {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin: 0;
}

.schedule-note {
  font-size: 0.75rem;
  color: var(--c-text-light);
  text-align: center;
  line-height: 1.5;
}

/* Pricing extras table */
.pricing-extras {
  max-width: 640px;
  margin: 0 auto;
}

.pricing-extras h3 {
  font-family: var(--f-serif);
  font-size: 1rem;
  color: var(--c-navy);
  margin-bottom: 14px;
  text-align: center;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.pricing-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.85rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table td:first-child {
  font-weight: 500;
  color: var(--c-navy);
  white-space: normal;
  background: var(--c-bg-warm);
  width: 140px;
  font-size: 0.82rem;
}

.pricing-table small {
  color: var(--c-text-muted);
  font-size: 0.8rem;
}

.pricing-table strong {
  color: var(--c-terra);
}

/* ========== 07 FLOW ========== */
.flow {
  background: var(--c-bg);
}

.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-border);
}

.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-terra);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(196, 101, 74, 0.25);
}

.timeline-number svg {
  width: 24px;
  height: 24px;
}

.timeline-content {
  padding-top: 8px;
}

.timeline-content h3 {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--c-text-light);
  line-height: 1.6;
}

.timeline-content strong {
  color: var(--c-terra);
}

/* ========== 08 FAQ ========== */
.faq {
  background: var(--c-bg-alt);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-navy);
  text-align: left;
  transition: color var(--t-base);
  gap: 12px;
}

.faq-question:hover {
  color: var(--c-terra);
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-text-muted);
  transition: transform var(--t-base);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 0 16px;
  font-size: 0.82rem;
  color: var(--c-text-light);
  line-height: 1.7;
}

/* ========== 09 ACCESS ========== */
.access {
  background: var(--c-bg);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.access-details {
  display: grid;
  gap: 16px;
}

.access-details dt {
  font-family: var(--f-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-terra);
  letter-spacing: 0.08em;
}

.access-details dd {
  font-size: 0.88rem;
  color: var(--c-text);
  line-height: 1.6;
}

.access-details small {
  color: var(--c-text-muted);
  font-size: 0.75rem;
}

.access-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.access-map iframe {
  display: block;
}

/* ========== 10 CONTACT / CTA ========== */
.contact {
  background: var(--c-navy);
  color: #FFF;
}

.contact .section-title {
  color: #FFF;
}

.contact-sub {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -24px;
  margin-bottom: 32px;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.form-group label .optional {
  font-size: 0.75rem;
  background: #E5E7EB;
  color: var(--c-text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.form-help {
  font-size: 0.8rem;
  color: var(--c-text-light);
  margin-top: -4px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.required {
  font-size: 0.7rem;
  background: var(--c-terra);
  color: #FFF;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
  vertical-align: middle;
}

.optional {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 400;
  vertical-align: middle;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  transition: all var(--t-base);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form select option {
  background: var(--c-navy);
  color: #FFF;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-terra);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(196, 101, 74, 0.25);
}

.form-error {
  font-size: 0.8rem;
  color: var(--c-terra-light);
  margin-top: 6px;
  min-height: 0;
}

.form-error:empty {
  display: none;
}

.btn-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 18px;
  margin-top: 8px;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 60px 24px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-success);
  color: #FFF;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: scaleIn 0.4s ease;
}

.form-success h3 {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* ========== FOOTER ========== */
.footer {
  background: #3A3530;
  color: rgba(255, 255, 255, 0.65);
  padding: 36px 0 24px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-logo {
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 6px;
}

.footer-logo span {
  font-size: 0.7rem;
  font-weight: 400;
  margin-left: 6px;
  opacity: 0.6;
}

.footer-address {
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--t-base);
}

.footer-links a:hover {
  color: #FFF;
}

.footer-extra-link {
  text-align: center;
  margin-bottom: 16px;
}

.footer-extra-link a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--t-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
}

.footer-extra-link a:hover {
  color: #FFF;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.footer-sns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--t-base);
}

.footer-sns a:hover {
  color: #FFF;
}

.footer-sns svg {
  width: 22px;
  height: 22px;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ========== SLOT INDICATOR ========== */
.slot-indicator {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--c-navy);
  font-weight: 500;
}

.slot-indicator.full {
  color: var(--c-accent-red);
  font-weight: 700;
}

.slot-number {
  font-weight: 700;
  color: var(--c-terra);
}

/* ========== RESPONSIVE — Mobile First (min-width) ========== */

/* --- Small Tablet (480px+): 横並び × 縦積み --- */
@media (min-width: 480px) {
  /* Empathy: カード3枚横並び、グループは縦積みのまま */
  .empathy-v4-items {
    flex-direction: row;
    align-items: stretch;
  }

  .empathy-v4-item {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 8px;
  }

  .empathy-v4-icon {
    width: 36px;
    height: 36px;
    flex-shrink: unset;
  }

  .empathy-v4-keyword {
    font-size: 0.78rem;
  }
}

/* --- Tablet (769px+) --- */
@media (min-width: 769px) {
  :root {
    --s-section: 80px;
  }

  .container {
    padding: 0 24px;
  }

  .sp-only {
    display: none;
  }

  .pc-only {
    display: inline;
  }

  /* Buttons */
  .btn {
    padding: 16px 40px;
    font-size: 1rem;
  }

  /* Nav — desktop layout */
  .nav-container {
    height: 72px;
    padding: 0 16px;
  }

  .nav-logo {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end; /* Align menu items to the right */
    gap: 16px;
    transform: none;
    background: none;
    backdrop-filter: none;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    flex-grow: 1; /* Allow menu to take available space */
  }

  .nav-menu li {
    width: auto;
    text-align: left;
  }

  .nav-menu a {
    display: inline-block; /* Change from inline to inline-block so padding applies correctly */
    padding: 8px 0;
    font-size: 0.85rem;
  }
  
  .nav-menu a.nav-cta,
  .nav-menu a.nav-btn-regular {
    padding: 10px 24px; /* Restore specific padding for the CTA button */
    /* margin-left: 8px; -> removed to ensure equal gap spacing */
    margin-top: 0;
  }

  /* Section titles */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 48px;
  }

  .section-title::after {
    width: 40px;
    height: 3px;
    margin: 16px auto 0;
  }

  .section-cta {
    margin-top: 40px;
  }

  /* Hero */
  .hero-content {
    padding: 0 24px;
  }

  .hero-location {
    font-size: 0.85rem;
    padding: 6px 16px;
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.8;
  }

  .hero-sub-adult {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .hero .btn {
    font-size: 1.05rem;
    padding: 16px 44px;
  }

  /* Empathy — 横並び × 横並び（769px以上）
     Grid 2列×2行でラベル行・カード行を揃え、全6枚を同じ高さに */
  .empathy-v4-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 12px;
    margin-bottom: 40px;
  }

  .empathy-v4-block {
    display: contents;
  }

  .empathy-v4-block:first-child .empathy-v4-block-label { grid-column: 1; grid-row: 1; }
  .empathy-v4-block:first-child .empathy-v4-items       { grid-column: 1; grid-row: 2; }
  .empathy-v4-block:last-child  .empathy-v4-block-label { grid-column: 2; grid-row: 1; }
  .empathy-v4-block:last-child  .empathy-v4-items       { grid-column: 2; grid-row: 2; }

  .empathy-v4-block-label {
    font-size: 1rem;
  }

  .empathy-v4-item {
    padding: 20px 10px;
  }

  .empathy-v4-icon {
    width: 40px;
    height: 40px;
  }

  .empathy-v4-keyword {
    font-size: 0.85rem;
  }

  .empathy-bridge {
    font-size: 1.1rem;
    line-height: 2;
    margin-top: 32px;
  }

  /* Concept */
  .concept-body {
    margin: 0 auto 40px;
    font-size: 1rem;
    line-height: 2;
  }

  .concept-cell {
    padding: 14px 20px;
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
  }

  .feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .feature-card h3 {
    font-size: 1.02rem;
    margin-bottom: 10px;
  }

  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  /* Instructor */
  .instructor-content {
    grid-template-columns: 280px 1fr;
    gap: 36px;
  }

  .instructor-photo {
    max-width: none;
    margin: 0;
    border-radius: 16px;
  }

  .instructor-text h3 {
    font-size: 1.4rem;
  }

  .instructor-summary {
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 28px;
  }

  .instructor-text p {
    font-size: 0.88rem;
    line-height: 1.9;
    margin-bottom: 22px;
  }

  .instructor-quote {
    margin-top: 22px;
    padding: 18px 22px;
    font-size: 0.95rem;
    border-left: 4px solid var(--c-terra);
    border-radius: 0 12px 12px 0;
    line-height: 1.8;
  }

  /* Classes */
  .class-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 40px;
  }

  .class-card-header {
    padding: 18px 22px;
  }

  .class-card-body {
    padding: 22px;
  }

  /* Schedule */
  .schedule-grid {
    grid-template-columns: 110px 1fr 1fr 1fr;
    gap: 12px;
  }

  .schedule-header {
    font-size: 0.85rem;
  }

  .schedule-cell {
    padding: 16px 8px;
  }

  .schedule-cell span {
    font-size: 0.9rem;
  }

  .schedule-time {
    font-size: 0.85rem;
    letter-spacing: 0.02em;
  }

  /* Access */
  .access-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 32px;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 32px;
  }

  .footer-logo {
    font-size: 1.1rem;
  }

  .footer-address {
    font-size: 0.8rem;
  }

  .footer-links {
    gap: 24px;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}

/* --- Desktop (1025px+) --- */

@media (min-width: 1025px) {
  :root {
    --s-section: 100px;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
    margin-bottom: 56px;
  }

  .section-cta {
    margin-top: 48px;
  }

  /* Hero */
  .hero-title {
    font-size: 3.2rem;
    margin-bottom: 24px;
  }

  .hero-sub {
    font-size: 1.15rem;
  }

  .hero-sub-adult {
    margin-bottom: 40px;
  }

  .hero .btn {
    font-size: 1.1rem;
    padding: 18px 48px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-card {
    padding: 36px 28px;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
  }

  .feature-icon svg {
    width: 32px;
    height: 32px;
  }

  .feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  .feature-card p {
    font-size: 0.875rem;
  }

  /* Instructor */
  .instructor-content {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }

  .instructor-text h3 {
    font-size: 1.5rem;
  }

  .instructor-summary {
    padding: 24px;
    margin-bottom: 32px;
  }

  .instructor-text p {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .instructor-quote {
    margin-top: 24px;
    padding: 20px 24px;
    font-size: 1rem;
  }

  /* Classes */
  .class-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
  }

  .class-card-header {
    padding: 20px 24px;
  }

  .class-card-body {
    padding: 24px;
  }

  /* Concept */
  .concept-body {
    margin: 0 auto 48px;
    font-size: 1.05rem;
  }

  .concept-cell {
    padding: 16px 24px;
    font-size: 0.9rem;
  }

  /* Empathy — Desktop（1025px以上） */
  .empathy-v4 {
    padding: 80px 0;
  }

  .empathy-v4-wrap {
    gap: 28px;
    margin-bottom: 56px;
  }

  .empathy-v4-block-label {
    font-size: 1.1rem;
  }

  .empathy-v4-item {
    padding: 28px 14px;
  }

  .empathy-v4-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
  }

  .empathy-v4-keyword {
    font-size: 0.92rem;
  }

  .empathy-bridge {
    font-size: 1.15rem;
    margin-top: 40px;
  }
}

/* スマホのみ表示する改行 */
.sp-br { display: none; }
@media (max-width: 768px) {
  .sp-br { display: inline; }
}
