:root {
  --bg: #FFFEF8;
  --accent: #C8960A;
  --accent-hover: #A87808;
  --btn-bg: rgba(247, 196, 0, 0.62);
  --btn-hover: rgba(247, 196, 0, 0.82);
  --accent-light: #FFF0B0;
  --text: #333333;
  --text-light: #777777;
  --card: #ffffff;
  --section-alt: #FFFADF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(180, 140, 20, 0.08);
  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --max: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 254, 248, 0.93);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(200, 150, 0, 0.12);
  z-index: 100;
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 13.5px;
}
.site-nav a { color: var(--text-light); transition: color 0.2s; }
.site-nav a:hover { color: var(--accent); }
.site-nav .nav-cta {
  background: var(--btn-bg);
  color: #5C3D00;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.2s;
}
.site-nav .nav-cta:hover { background: var(--btn-hover); }
.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
.header-cta-mobile {
  background: var(--btn-bg);
  color: #5C3D00;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  background: rgba(255, 254, 248, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(200, 150, 0, 0.12);
  z-index: 99;
  padding: 8px 0 20px;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-size: 15px;
  color: var(--text-light);
  border-bottom: 1px solid #EDE8DA;
  transition: color 0.2s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--accent); }

/* ─── Hero ─── */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 252, 238, 0.78) 0%, rgba(255, 252, 238, 0.55) 60%, transparent 100%),
    linear-gradient(180deg,
      rgba(255, 250, 232, 0.75) 0%,
      rgba(255, 248, 225, 0.70) 40%,
      rgba(255, 246, 218, 0.67) 70%,
      rgba(255, 246, 218, 0.65) 100%
    ),
    url('images/hero-bg.jpg') center / cover no-repeat;
  padding: 100px 0 90px;
  text-align: center;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #FDFCF5);
  pointer-events: none;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-text > a {
  margin-top: 24px;
}
.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 22px;
  border-radius: 24px;
  font-size: 13.5px;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.75;
  color: #5C3D00;
  text-shadow: 0 0 20px rgba(255,255,255,1), 0 0 50px rgba(255,255,255,0.9), 0 0 90px rgba(255,255,255,0.6);
}
.hero-sub {
  font-size: 16px;
  color: #5C3D00;
  line-height: 2;
  max-width: 480px;
  text-shadow: 0 0 16px rgba(255,255,255,1), 0 0 36px rgba(255,255,255,0.85);
}
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: #5C3D00;
  padding: 14px 40px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(200, 160, 0, 0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  touch-action: manipulation;
}
.btn:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 160, 0, 0.36);
}
.btn-outline {
  background: var(--accent-light);
  color: var(--accent);
  border-color: transparent;
  box-shadow: none;
}
.btn-outline:hover {
  background: #FFE898;
  box-shadow: none;
}
.section-alt .btn-outline {
  border-color: #fff;
}
.btn-ghost {
  background: rgba(247, 196, 0, 0.48);
  color: #5C3D00;
  border-color: transparent;
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--btn-bg);
  color: #5C3D00;
  box-shadow: none;
}
.hero .btn-ghost {
  background: rgba(247, 196, 0, 0.92);
}
.hero .btn-ghost:hover {
  background: rgba(247, 196, 0, 1);
}

/* ─── Sections ─── */
.section,
.section-alt {
  position: relative;
}
#for-you::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #FFF7E0, transparent);
  pointer-events: none;
  z-index: 1;
}
.section {
  padding: 80px 0;
  background: #FDFCF5;
}
.section-alt {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFADF 10%, #FFE090 55%, #FFF5D0 100%);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 28px;
}
.section-title.no-sep::after {
  display: none;
}
.section-title::after {
  content: '✦ ✦ ✦';
  display: block;
  width: auto;
  height: auto;
  background: none;
  color: var(--accent);
  opacity: 0.45;
  font-size: 10px;
  letter-spacing: 10px;
  border-radius: 0;
  margin: 14px auto 0;
}

/* ─── Empathy ─── */
.empathy-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.empathy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.empathy-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #FFFBEC;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
}
.empathy-list li::before {
  content: '✿';
  color: var(--accent);
  opacity: 0.7;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.empathy-note {
  text-align: center;
  color: var(--accent);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 2;
  padding-top: 8px;
  border-top: 1px solid var(--accent-light);
  font-family: var(--font-serif);
}

/* ─── About ─── */
.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 20px rgba(123, 94, 167, 0.22);
  position: relative;
  z-index: 1;
  margin-bottom: -60px;
}
.about-content { width: 100%; }
.about-card {
  background: transparent;
  border-radius: 0;
  padding: 72px 24px 20px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.about-card p { font-size: 15px; line-height: 2; text-align: left; }
.about-card strong { color: var(--accent); }
.about-card .about-name {
  text-align: right;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-light);
}

/* ─── Era Shift ─── */
.shift-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shift-card p { font-size: 15px; line-height: 2; text-align: left; }
.shift-card strong { color: var(--accent); }
.shift-card .shift-emphasis {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 16px;
}
.shift-card u {
  text-decoration: underline;
  text-decoration-color: rgba(200, 150, 10, 0.7);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ─── Gallery ─── */
.gallery-lead {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.gallery-note {
  text-align: center;
  color: var(--text-light);
  font-size: 13.5px;
  margin-top: 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(200, 150, 10, 0.28);
  box-shadow: 0 6px 28px rgba(180, 140, 20, 0.14);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(180, 140, 20, 0.26);
}
.gallery-card-thumb {
  height: 120px;
  overflow: hidden;
  background: var(--accent-light);
  display: block;
  position: relative;
}
.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
  filter: none;
}
.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.04);
}
.gallery-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 2px solid var(--accent-light);
  position: relative;
}
.gallery-card-body::after {
  content: "↗";
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 13px;
  color: var(--accent);
  opacity: 0.4;
  transition: opacity 0.2s;
}
.gallery-card:hover .gallery-card-body::after { opacity: 1; }
.gallery-card-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.gallery-card-desc {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}
.gallery-card-tag {
  font-size: 10.5px;
  color: var(--accent);
  background: rgba(255, 240, 150, 0.18);
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
  align-self: center;
  text-align: center;
  margin-top: 4px;
}

.gallery-card--soon {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}
.gallery-card--soon:hover {
  transform: none;
  box-shadow: 0 6px 28px rgba(180, 140, 20, 0.14);
}
.gallery-card-thumb--soon {
  background: repeating-linear-gradient(
    -45deg,
    #F5EFDC,
    #F5EFDC 6px,
    #EDE8D4 6px,
    #EDE8D4 12px
  );
}

.gallery-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 10px;
  z-index: 1;
}

#gallery {
  background: #FDFCF5;
}

/* ─── What Changed ─── */
.change-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.change-item {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFEF5 100%);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.change-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  padding-top: 2px;
}
.change-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.change-body strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  display: block;
}
.change-body p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-light);
  text-align: left;
}

/* ─── Course Overview ─── */
.course-overview {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.course-overview p {
  font-size: 15px;
  line-height: 2;
  text-align: left;
}
.course-overview .btn { align-self: center; }

/* ─── Compare Intro ─── */
.compare-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.compare-intro p {
  font-size: 15px;
  line-height: 2;
  text-align: left;
}
.compare-intro .btn { align-self: center; }

/* ─── Compare Table ─── */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--card);
  border: 5px solid #A89878;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(140, 110, 40, 0.32);
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #E0D8C4;
  border-right: 1px solid #E0D8C4;
  line-height: 1.7;
}
.compare-table th:last-child,
.compare-table td:last-child { border-right: none; }
.compare-table thead th {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
}
.compare-table thead th:first-child { background: #F0EBE0; color: var(--text-light); }
.compare-table thead th:nth-child(2) { background: #EDE8DA; color: #999; text-align: center; }
.compare-table thead th:nth-child(3) { background: var(--accent); color: white; text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child { background: #FFFEF8; color: var(--text-light); font-size: 13px; }
.compare-table tbody td:nth-child(2) { text-align: center; }
.compare-table tbody td:nth-child(3) { color: var(--accent); font-weight: 500; text-align: center; }

/* ─── Chapters ─── */
.phase-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.phase-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phase-header {
  background: linear-gradient(90deg, var(--accent) 0%, #E8B820 100%);
  color: white;
  padding: 14px 28px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phase-label {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.phase-body {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
}
.phase-chapter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #EDE8F7;
  line-height: 1.7;
  text-align: left;
}
.phase-chapter:last-child { border-bottom: none; }
.ch-num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: 10px;
  line-height: 1.6;
}
.phase-note {
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #D8CFED;
  line-height: 1.8;
  text-align: left;
}

/* ─── Suitable ─── */
.suitable-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.suitable-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.suitable-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.75;
  text-align: left;
}
.suitable-list li::before {
  content: '✿';
  color: var(--accent);
  opacity: 0.7;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Teacher ─── */
.teacher-card {
  background: linear-gradient(150deg, #FFFFFF 0%, #FFFEF0 100%);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.teacher-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--accent-light);
}
.teacher-icon {
  width: 100px;
  height: 100px;
  background: transparent;
  overflow: hidden;
  flex-shrink: 0;
}
.teacher-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.teacher-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.teacher-title {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.teacher-card p {
  font-size: 15px;
  line-height: 2;
  text-align: left;
}
.teacher-quote {
  border-left: 3px solid var(--accent-light);
  padding-left: 20px;
  font-style: italic;
  color: var(--text-light);
  font-size: 14px;
  line-height: 2;
  text-align: left;
}
.teacher-kikumi-note {
  font-size: 14px;
  color: var(--accent-hover);
  font-family: var(--font-serif);
  text-align: left;
}
.teacher-kikumi-sig {
  display: block;
  text-align: right;
}

/* ─── Price ─── */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.price-grid--single {
  grid-template-columns: minmax(0, 500px);
  justify-content: center;
}
.price-grid--single + .caution-box {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.price-cta {
  text-align: center;
  margin-top: 36px;
}
.price-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 32px 36px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-card--featured {
  border: 1px solid var(--accent-light);
}
.price-plan-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-hover);
  margin-bottom: 14px;
}
.price-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 18px;
  border-radius: 20px;
}
.price-amount {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
}
.price-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.price-tax {
  font-size: 13px;
  color: var(--text-light);
}
.price-includes {
  text-align: left;
  font-size: 13.5px;
  line-height: 2;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-includes li {
  padding-left: 1.3em;
  text-indent: -1.3em;
}
.price-includes li::before {
  content: '・';
  color: var(--accent);
}
.price-partner {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--accent-light);
  font-size: 12.5px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.9;
}
.caution-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
  line-height: 2;
  text-align: left;
}
.caution-top {
  background: #FFFCEC;
  padding: 20px 28px 16px;
}
.caution-bot {
  background: #FFF9DC;
  padding: 16px 28px 20px;
}
.caution-box li { padding-left: 1.5em; text-indent: -1.5em; }
.caution-box li + li { margin-top: 4px; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #FFF8E4;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.15s;
  text-align: left;
}
.faq-item summary:hover { background: var(--accent-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.faq-item[open] summary {
  border-bottom: 1px solid #F0E8C0;
  background: #FFFBF0;
}
.faq-body {
  padding: 20px 24px 22px 64px;
  text-align: left;
}
.faq-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.95;
}
.faq-body p + p { margin-top: 12px; }

/* ─── Contact CTA ─── */
.contact-section {
  background:
    linear-gradient(to bottom, rgba(255, 242, 198, 0.5) 0%, transparent 120px),
    radial-gradient(ellipse 44% 110px at 0% 0%, rgba(255, 216, 80, 0.42), transparent),
    radial-gradient(ellipse 44% 110px at 100% 0%, rgba(255, 216, 80, 0.42), transparent),
    linear-gradient(140deg, #FFF3D0 0%, #FFFBE8 50%, var(--bg) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
}
.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 600;
  margin-bottom: 24px;
}
.contact-desc {
  font-size: 15px;
  color: var(--text-light);
  margin: 0 auto 36px;
  max-width: 90%;
  line-height: 2.1;
  text-align: left;
}

/* ─── Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 44, 8, 0.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.is-open {
  display: flex;
}
.modal-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(61, 44, 8, 0.2);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-light);
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
  line-height: 1;
}
.modal-close:hover { background: var(--accent-light); }
.modal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--text);
  text-align: center;
}

/* ─── Footer ─── */
.site-footer {
  background: #EDE0C8;
  color: #8B7050;
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
}

.br-sp { display: none; }

/* ─── Teacher Badges ─── */
.teacher-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  list-style: none;
  padding: 0;
}
.teacher-badges li {
  background: #F0EBE0;
  color: var(--text-light);
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ─── Price Compare Table ─── */
.price-compare-lead {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin: 8px 0 12px;
}
.price-compare {
  margin-bottom: 40px;
}
.price-compare .compare-table thead th:nth-child(2),
.price-compare .compare-table thead th:nth-child(3),
.price-compare .compare-table thead th:nth-child(4) {
  background: #EDE8DA;
  color: var(--text-light);
  text-align: left;
}
.price-compare .compare-table tbody td:nth-child(2),
.price-compare .compare-table tbody td:nth-child(3),
.price-compare .compare-table tbody td:nth-child(4) {
  color: var(--text);
  font-weight: normal;
  text-align: left;
}
.price-compare .compare-table tbody tr.is-this td {
  background: var(--accent-light);
  font-weight: 500;
}
.price-compare .compare-table tbody tr.is-this td:first-child {
  color: var(--accent);
  font-weight: 600;
}

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .compare-table { min-width: 360px; display: block; }
  .compare-table thead,
  .compare-table tbody { display: flex; flex-direction: column; }
  .compare-table tr { display: flex; }
  .compare-table th,
  .compare-table td { display: block; padding: 12px 10px; }
  .compare-table thead th,
  .compare-table tbody td { text-align: left !important; }
  /* 比較ポイント列（HTML上1番目）→ 右端へ */
  .compare-table th:first-child,
  .compare-table td:first-child { order: 3; width: 72px; flex-shrink: 0; font-size: 11px; white-space: nowrap; }
  /* WordPress列（HTML上2番目）→ 左 */
  .compare-table th:nth-child(2),
  .compare-table td:nth-child(2) { order: 1; flex: 1; }
  /* AI Web Master列（HTML上3番目）→ 右 */
  .compare-table th:nth-child(3),
  .compare-table td:nth-child(3) { order: 2; flex: 1; }

  .title-line {
    display: block;
    white-space: nowrap;
    font-size: clamp(14px, 4.5vw, 20px);
  }
  .site-nav { display: none; }
  .mobile-menu { display: block; }
  .header-mobile-actions { display: flex; }
  .hero { padding: 56px 0 52px; }
  .section, .section-alt { padding: 60px 0; }
  .contact-section { padding: 60px 0; }
  .empathy-card { padding: 28px 20px; }
  .about-card { padding: 72px 24px 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card-thumb { height: auto; aspect-ratio: 16 / 9; }
  .gallery-card-body { padding: 10px 10px 12px; gap: 4px; }
  .gallery-card-name { font-size: 12.5px; word-break: break-word; }
  .gallery-card-desc { font-size: 11px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .gallery-card-tag { font-size: 10px; word-break: break-all; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 44px 24px 32px; }
  .teacher-card { padding: 28px 24px; }
  .teacher-header { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .suitable-card { padding: 28px 24px; }
  .faq-body { padding: 18px 20px; }
  .caution-top { padding: 16px 20px 12px; }
  .caution-bot { padding: 12px 20px 16px; }
  .price-partner { text-align: left; }
  .price-partner br { display: none; }
  .phase-body { padding: 16px 20px; }
  .phase-header { padding: 12px 20px; }
  .contact-section { padding: 60px 0; }
  .br-sp { display: initial; }
  .change-item { padding: 24px 20px; gap: 18px; }
  .change-num { font-size: 22px; }
  .modal-box { padding: 40px 24px 32px; }
  .modal-box .compare-table { display: table; min-width: 0; width: 100%; }
  .modal-box .compare-table thead,
  .modal-box .compare-table tbody { display: table-row-group; flex-direction: unset; }
  .modal-box .compare-table tr { display: table-row; }
  .modal-box .compare-table th,
  .modal-box .compare-table td { display: table-cell; padding: 8px 7px; }
  .modal-box .compare-table th:first-child,
  .modal-box .compare-table td:first-child { order: unset; width: auto; white-space: normal; font-size: 11px; }
  .modal-box .compare-table th:nth-child(2),
  .modal-box .compare-table td:nth-child(2) { order: unset; flex: unset; }
  .modal-box .compare-table th:nth-child(3),
  .modal-box .compare-table td:nth-child(3) { order: unset; flex: unset; }
  .modal-box .compare-table thead th:nth-child(2),
  .modal-box .compare-table thead th:nth-child(3) { text-align: center !important; }
  .modal-box .compare-table tbody td:nth-child(2),
  .modal-box .compare-table tbody td:nth-child(3) { text-align: center !important; }
  .price-compare .compare-table { display: table; }
  .price-compare .compare-table thead,
  .price-compare .compare-table tbody { display: table-row-group; flex-direction: unset; }
  .price-compare .compare-table tr { display: table-row; }
  .price-compare .compare-table th,
  .price-compare .compare-table td { display: table-cell; }
  .price-compare .compare-table th:first-child,
  .price-compare .compare-table td:first-child { order: unset; width: auto; white-space: normal; }
  .price-compare .compare-table th:nth-child(2),
  .price-compare .compare-table td:nth-child(2) { order: unset; flex: unset; }
  .price-compare .compare-table th:nth-child(3),
  .price-compare .compare-table td:nth-child(3) { order: unset; flex: unset; }
  .price-compare .compare-table th:nth-child(4),
  .price-compare .compare-table td:nth-child(4) { order: unset; flex: unset; }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card-thumb { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 320px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── Why Claude Code ─── */
.why-cc-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.why-cc-block {
  background: rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
}
.why-cc-q {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 14px;
  line-height: 1.7;
}
.why-cc-block p { font-size: 15px; line-height: 2; text-align: left; }
.why-cc-block p + p { margin-top: 14px; }
.why-cc-block a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
.why-cc-block a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .why-cc-block { padding: 20px; }
}
