/*
Theme Name: wow-fitness
Theme URI: https://example.com/wow-fitness
Author: wow-fitness
Author URI: https://example.com
Description: Custom theme for WOW Fitness.
Version: 1.0.0
Text Domain: wow-fitness
*/

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --brown: #e8b9c7;
  --brown-dark: #515151;
  --beige: #e2d6c5;
  --accent: #e8b9c7;
  --accent-2: #b27a7d;
  --ink: #2d2520;
  --ink-soft: #6c5c50;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(37, 29, 23, 0.12);
  --radius: 0px;
  --radius-lg: 0px;
  --container: 1100px;
  --container-narrow: 900px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

p {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0 0 2rem;
  color: var(--brown-dark);
}

.section-lead {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 20px;
  background: #de878b;
  color: var(--white);
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
  box-shadow: 0 16px 36px rgba(37, 29, 23, 0.2);
}

.wow-button-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* 島を浮かせるための外側余白 */
  padding: 0.75rem 1rem;
  pointer-events: none; /* 島の外のクリックを透過 */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  gap: 1.5rem;
  position: relative;
  pointer-events: auto; /* 島の中はクリック有効 */
  /* 島のスタイル */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brown-dark);
}

.site-brand span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.custom-logo {
  max-height: 52px;
  width: auto;
}

.header-cta {
  flex-shrink: 0;
  font-size: 0.8rem;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .header-cta {
    display: none;
  }
}

/* モバイルナビ内CTAボタン */
.nav-cta {
  display: none;
}

@media (max-width: 600px) {
  .nav-cta {
    display: flex;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
    font-size: 0.95rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--brown-dark);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  margin: 0;
}

.nav-toggle span:nth-child(2) {
  position: absolute;
  top: 21px;
  left: 10px;
  right: 10px;
  margin: 0;
}

.nav-toggle span:nth-child(3) {
  position: absolute;
  top: 30px;
  left: 10px;
  right: 10px;
  margin: 0;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  background: linear-gradient(180deg, rgba(251, 248, 243, 0.3) 0%, rgba(244, 237, 229, 0.35) 100%),
    url("assets/images/hero.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.32) 55%, rgba(0,0,0,0.04) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0 0 1.2rem;
  color: #fff;
  letter-spacing: 0.08em;
}

.hero-copy p {
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.6rem;
}


.section-alt {
  background: var(--bg-2);
}

.about-split {
  padding: 0;
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-media {
  width: 100%;
  height: 100%;
}

.about-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-content {
  padding: 5rem clamp(2rem, 6vw, 5rem);
}

.about-quote {
  font-style: italic;
  color: var(--accent-2);
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

/* Maternity & Childcare Sections */
.about-maternity,
.about-childcare {
  padding: 0;
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-maternity {
  grid-template-areas: "content media";
}

.about-childcare {
  grid-template-areas: "media content";
}

.about-maternity-media,
.about-childcare-media {
  grid-area: media;
  width: 100%;
  height: 100%;
}

.about-maternity-media img,
.about-childcare-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-maternity-content,
.about-childcare-content {
  grid-area: content;
  padding: 5rem clamp(2rem, 6vw, 5rem);
}

@media (max-width: 960px) {

  .about-maternity,
  .about-childcare {
    grid-template-columns: 1fr;
  }

  .about-maternity {
    grid-template-areas: "media" "content";
  }

  .about-childcare {
    grid-template-areas: "media" "content";
  }

  .about-maternity-content,
  .about-childcare-content {
    padding: 3rem 2rem 4rem;
  }
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.program-card h3 {
  margin: 0 0 0.8rem;
  color: var(--brown-dark);
  font-size: 1.25rem;
}

.program-photo {
  margin: -1.8rem -1.8rem 1.2rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.program-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-target {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-weight: 600;
}

.program-target span {
  display: inline-block;
  background: var(--bg-2);
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
  margin-right: 0.6rem;
  color: var(--brown);
  border-radius: 4px;
}

.program-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.8rem;
}

.program-meta p {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.program-meta span {
  color: var(--ink-soft);
  font-weight: 600;
  opacity: 0.7;
}

/* Plan section (front page): mockup-aligned pricing cards + LINE banner */
.plan-pricing-section {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.plan-pricing-section .section-title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  margin-bottom: 0.75rem;
}

.plan-pricing-section .plan-tax-note {
  text-align: center;
  font-size: 0.8125rem;
  color: #8a7f72;
  margin: 0 0 2rem;
  letter-spacing: 0.04em;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #c4bbb2;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 22px rgba(37, 29, 23, 0.07);
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 0.4rem 0.75rem 0.4rem 0.65rem;
  background: #e8b9c7;
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  border-radius: 14px 0 10px 0;
  box-shadow: 0 2px 6px rgba(178, 122, 125, 0.25);
}

.plan-card--popular .plan-card__head {
  /* padding-top: 2.35rem; */
  background: #faf0f2;
  border-bottom: 1px solid rgba(200, 170, 178, 0.35);
}

.plan-card--weekday .plan-card__head {
  background: #e9e6e1;
  border-bottom: 1px solid rgba(45, 37, 32, 0.1);
}
.plan-card--monthly4 .plan-card__head {
  background: #e6ede9;
  border-bottom: 1px solid rgba(74, 125, 104, 0.2);
}

.plan-card__head {
  margin: 0;
  padding: 1rem 1rem 0.95rem;
  text-align: center;
}

.plan-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b27a7d;
}

.plan-card__title--weekday {
  color: var(--ink);
  letter-spacing: 0.1em;
}

.plan-card__body {
  flex: 1;
  padding: 1.5rem 1.25rem 1.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.plan-card__label {
  margin: 0;
  font-size: 0.8125rem;
  color: #6c6258;
  font-weight: 500;
}

.plan-card__price {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.plan-card__price-num {
  font-size: 1em;
}

.plan-card__price--accent {
  color: #b27a7d;
}

.plan-card__catch {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.plan-card__fine {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: #5c534c;
  line-height: 1.55;
}

.plan-line-banner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  border: 2px solid #5d8f73;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 22px rgba(37, 29, 23, 0.07);
}

.plan-line-banner__text {
  flex: 1 1 58%;
  min-width: 0;
  margin: 0;
  padding: 1.35rem 1rem;
  background: #4a7d68;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
}

.plan-line-banner__line {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.plan-line-banner__line--lead {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0.15rem 0;
}

.plan-line-banner__line--sub {
  font-size: 0.8125rem;
  opacity: 0.95;
}

.plan-line-banner__price {
  flex: 1 1 42%;
  min-width: 0;
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  background: var(--white);
}

.plan-line-banner__amount {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.plan-line-banner__tax {
  font-size: 0.875rem;
  color: #4a423a;
  font-weight: 500;
}

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

  .plan-line-banner {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .plan-line-banner__text {
    flex: none;
    padding: 1.5rem 1.25rem;
  }

  .plan-line-banner__price {
    flex: none;
    border-top: 1px solid rgba(93, 143, 115, 0.45);
  }
}

.program-table-wrap {
  overflow-x: auto;
  background: var(--white);
  box-shadow: var(--shadow);
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.98rem;
  margin: 0 auto;
}

.program-table thead th {
  text-align: left;
  padding: 1rem 1.2rem;
  background: var(--bg-2);
  color: var(--brown-dark);
  letter-spacing: 0.08em;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.program-table tbody th,
.program-table tbody td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ink-soft);
}

.program-table tbody th {
  color: var(--brown-dark);
  font-weight: 600;
  text-transform: uppercase;
}

.program-table tbody tr:nth-child(even) {
  background: rgba(245, 240, 238, 0.5);
}

.price-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.price-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.price-table-wrap {
  overflow-x: auto;
  background: transparent;
  box-shadow: none;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.98rem;
}

.price-table thead th {
  text-align: center;
  padding: 1rem 1.2rem;
  background: var(--bg-2);
  color: var(--brown-dark);
  letter-spacing: 0.08em;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.price-table tbody th,
.price-table tbody td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--ink-soft);
  text-align: center;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(245, 240, 238, 0.5);
}

.price-table tbody th {
  color: var(--brown-dark);
  font-weight: 600;
  text-transform: uppercase;
}

.price-table-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.price-subtitle {
  margin: 0 0 1rem;
  color: var(--brown-dark);
  letter-spacing: 0.08em;
  text-align: center;
}

.price-note {
  color: var(--ink-soft);
  margin: 1rem 0 1.5rem;
  text-align: center;
}

.price-actions {
  display: flex;
  justify-content: center;
}

.price-campaign {
  background: #f3baa8;
  width: 80vw;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 960px) {
  .price-campaign {
    width: 100%;
  }
}

.price-campaign .section-title,
.price-campaign .section-lead {
  color: #3a2d24;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.campaign-card {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.steps {
  padding: 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.trial .steps {
  padding: 0;
}

.trial .step-grid {
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.trial .step {
  background: transparent;
  border-radius: 0;
  padding: 0 0 0 1.5rem;
  position: relative;
}

.trial .step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  bottom: -0.6rem;
  width: 2px;
  background: var(--accent);
}

.trial .step:last-child::before {
  bottom: 0.6rem;
}

.trial .step span {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.step span {
  display: block;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.card-scroller {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.card-scroller>* {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.card-scroller::-webkit-scrollbar {
  height: 8px;
}

.card-scroller::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
}

 .review-grid.card-scroller,
.instructor-grid.card-scroller {
  display: flex;
}

.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.review h4 {
  margin: 0 0 0.8rem;
  color: var(--brown-dark);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.instructor-card {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.instructor-card h3 {
  margin: 0;
  color: var(--brown-dark);
}

.instructor-card a {
  color: var(--accent);
  font-weight: 600;
}

.instructor-qualifications {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.instructor-bio {
  margin: 0;
  color: var(--ink-soft);
}

.full-bleed {
  padding: 0;
}

.full-bleed img {

  width: 100vw;
  max-width: 100vw;
  height: auto;
  display: block;
  margin-left: calc(50% - 50vw);
}

.instructor-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.instructor-detail h2 {
  margin-top: 0;
  color: var(--brown-dark);
}

.instructor-roman {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.instructor-detail .instructor-qualifications,
.instructor-detail .instructor-bio {
  color: var(--ink);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(37, 29, 23, 0.2);
}

.blog-card .content {
  padding: 1.2rem 1.4rem 1.6rem;
}

.blog-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--brown-dark);
}

/* ─────────────────────────────────────────
   Access
───────────────────────────────────────── */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.access-dl {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.access-dl__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(111, 85, 63, 0.12);
}

.access-dl__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.access-dl dt {
  font-weight: 600;
  color: var(--brown-dark);
  font-size: 0.875rem;
  padding-top: 0.1rem;
}

.access-dl dd {
  color: var(--ink);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.access-dl dd a {
  color: var(--ink);
  text-decoration: none;
}

.access-dl dd a:hover {
  color: var(--accent);
}

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

.access-map iframe {
  display: block;
  width: 100%;
  height: 420px;
}

@media (max-width: 768px) {
  .access-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .access-map iframe {
    height: 280px;
  }
}

.contact {
  background: var(--bg-2);
  color: var(--ink);
}

.contact .section-title {
  color: var(--brown-dark);
}

.contact-box {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--brown-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(111, 85, 63, 0.25);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.contact-alert {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin: 1rem 0 0;
}

.contact-alert-success {
  background: #e8f8ee;
  color: #1f5f34;
}

.contact-alert-error {
  background: #fdeaea;
  color: #000;
}

.footer {
  background: #e8b9c7;
  color: #3a2d24;
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer a {
  color: #3a2d24;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer .btn {
  background: #ffffff;
  color: #2d2520;
  box-shadow: none;
}

.footer .btn:hover {
  background: #ffffff;
  color: #2d2520;
  transform: translateY(-2px);
}

.footer h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.copyright {
  text-align: center;
  margin-top: 2.5rem;
  color: rgba(58, 45, 36, 0.7);
}

.page-hero {
  padding: 7rem 0 2.5rem;
  background: var(--bg-2);
}

.page-hero h1 {
  margin: 0;
  font-size: 2.3rem;
  color: var(--brown-dark);
}

.price-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(251, 248, 243, 0.75) 0%, rgba(244, 237, 229, 0.8) 100%),
    url("assets/images/hero.webp") center / cover no-repeat;
}

.price-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 248, 243, 0.55);
  z-index: 1;
}

.price-hero .container {
  position: relative;
  z-index: 2;
}

.price-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--brown-dark);
  letter-spacing: 0.08em;
}

.price-hero p {
  margin: 0;
  color: var(--ink-soft);
}

.content-area {
  padding: 3rem 0 5rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.post-meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.pagination a,
.pagination span {
  padding: 0.6rem 0.9rem;
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {

  .hero-grid,
  .program-grid,
  .step-grid,
  .review-grid,
  .instructor-grid,
  .blog-grid,
  .footer-grid,
  .instructor-detail-grid {
    grid-template-columns: 1fr;
  }

  .badge-list {
    grid-template-columns: 1fr;
  }

  .steps {
    padding: 2rem;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .about-content {
    padding: 3rem 2rem 4rem;
  }

  .price-block,
  .price-table-grid,
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: fixed;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border: 1px solid rgba(255,255,255,0.7);
    padding: 1rem 1.5rem 1.2rem;
    z-index: 49;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0;
  }

  .nav-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(111, 85, 63, 0.12);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.2rem 0;
  }

  .nav-list a:hover,
  .nav-list a:focus {
    background: rgba(209, 140, 144, 0.12);
  }

  .hero {
    padding: 3rem 0 4rem;
    background-position: center top;
  }

  .section {
    /* padding: 3.5rem 0; */
  }

  .section-title {
    font-size: 1.6rem;
  }

  .price-table {
    min-width: 0;
  }
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.blog-card .content {
  position: relative;
  padding-bottom: 2.4rem;
}

.blog-card .card-more {
  position: absolute;
  right: 1.2rem;
  bottom: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* Voice Section Adjustments */
.voice-classpass {
  text-align: center;
  margin-bottom: 4rem;
}

.classpass-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

.voice-google {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 4rem;
}

.voice-google h4 {
  font-size: 1.5rem;
  color: var(--brown-dark);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────
   Before / After
───────────────────────────────────────── */
.ba-section {
  overflow: hidden;
  padding-bottom: 3rem;
}
.ba-lead {
  text-align: center;
  font-size: 0.9375rem;
  color: #6c6258;
  margin: -0.75rem 0 0;
}
.ba-scroll-outer {
  position: relative;
  max-width: var(--container);
  margin: 2rem auto 0;
}
.ba-scroller {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 1.25rem 1.5rem;
  scroll-padding-left: 1.25rem;
}
.ba-scroller::-webkit-scrollbar {
  display: none;
}
.ba-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(37, 29, 23, 0.09);
}
.ba-card__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0ece8;
}
.ba-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-card__info {
  padding: 0.85rem 1rem 1rem;
  text-align: center;
}
.ba-card__period {
  margin: 0 0 0.2rem;
  font-size: 0.8125rem;
  color: #8a7f72;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ba-card__result {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.ba-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0ece8 0%, #e4ddd6 100%);
}
.ba-card__data {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: grid;
  gap: 0;
}
.ba-card__data li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(111, 85, 63, 0.08);
  gap: 0.5rem;
}
.ba-card__data li:last-child {
  border-bottom: none;
}
.ba-card__data-label {
  font-size: 0.75rem;
  color: #8a7f72;
  font-weight: 500;
  flex-shrink: 0;
}
.ba-card__data-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.ba-card__comment {
  margin: 0;
  font-size: 0.8rem;
  color: #5c534c;
  line-height: 1.65;
  background: #fff;
  padding: 0.6rem 0;
  text-align: left;
}

/* scroll hint (mobile only) */
.ba-scroll-outer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 5rem;
  background: linear-gradient(to right, transparent, rgba(251, 248, 243, 0.88));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}
.ba-scroll-outer.is-scrolled::after {
  opacity: 0;
}
.ba-hint {
  display: block;
  text-align: right;
  padding: 0 1.25rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: #b27a7d;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.ba-hint.is-scrolled {
  opacity: 0;
}
@keyframes ba-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(5px); }
}
.ba-hint__arrow {
  display: inline-block;
  animation: ba-arrow-nudge 1.1s ease-in-out infinite;
  margin-right: 0.25em;
}

@media (max-width: 768px) {
  .ba-scroller {
    gap: 0.75rem;
    padding: 0 1.25rem 1rem;
    scroll-padding-left: 1.25rem;
  }
  .ba-card {
    flex: 0 0 80%;
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(37, 29, 23, 0.09);
    background: var(--white);
    padding: 0;
    box-sizing: border-box;
  }
  .ba-card__img-wrap {
    border-radius: 14px 14px 0 0;
    box-shadow: none;
  }
}

/* ─────────────────────────────────────────
   Trial / Contact page
───────────────────────────────────────── */
.trial-hero {
  padding: 7.5rem 0 3rem;
  background: url("assets/images/img-2.webp") center / cover no-repeat;
  text-align: center;
  position: relative;
}
.trial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
}
.trial-hero .container {
  position: relative;
  z-index: 1;
}
.trial-hero__label {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  text-transform: uppercase;
}
.trial-hero__title {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}
.trial-hero__sub {
  margin: 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}

/* ── flow ── */
.trial-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.trial-flow__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid rgba(111, 85, 63, 0.15);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(37, 29, 23, 0.06);
  min-width: 160px;
}
.trial-flow__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b27a7d;
  line-height: 1;
  flex-shrink: 0;
}
.trial-flow__text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.trial-flow__text span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: #8a7f72;
  margin-top: 0.15rem;
}
.trial-flow__arrow {
  font-size: 1.25rem;
  color: #c4bbb2;
  flex-shrink: 0;
}

/* ── form wrap ── */
.trial-form-wrap {
  background: var(--white);
  border: 1px solid rgba(111, 85, 63, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(37, 29, 23, 0.08);
  margin-bottom: 3rem;
}
.trial-form-head {
  padding: 1.75rem 2rem 1.5rem;
  background: #faf7f4;
  border-bottom: 1px solid rgba(111, 85, 63, 0.1);
  text-align: center;
}
.trial-form-head__title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  font-family: "Noto Sans JP", sans-serif;
}

/* CF7 ※必須マーク */
.cf7-required-mark,
.wpcf7-form .require {
  margin-left: 0.4em;
  font-size: 0.7em;
  font-weight: 400;
  color: #d32f2f;
  vertical-align: middle;
  white-space: nowrap;
}

/* 予約希望日時 ヘッダー行 */
.wpcf7-form th[colspan],
.wpcf7-form td[colspan] {
  text-align: center;
}
.trial-form-head__note {
  margin: 0;
  font-size: 0.8125rem;
  color: #8a7f72;
}
.trial-form-body {
  padding: 2rem;
}

/* CF7 overrides */
.trial-form-body .wpcf7-form {
  display: grid;
  gap: 0;
}
.trial-form-body .wpcf7-form p {
  margin: 0 0 1.25rem;
}
.trial-form-body .wpcf7-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.trial-form-body .wpcf7-form input[type="text"],
.trial-form-body .wpcf7-form input[type="email"],
.trial-form-body .wpcf7-form input[type="tel"],
.trial-form-body .wpcf7-form input[type="date"],
.trial-form-body .wpcf7-form select,
.trial-form-body .wpcf7-form textarea {
  width: 100%;
  border: 1px solid rgba(111, 85, 63, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.trial-form-body .wpcf7-form input:focus,
.trial-form-body .wpcf7-form select:focus,
.trial-form-body .wpcf7-form textarea:focus {
  outline: none;
  border-color: #b27a7d;
  box-shadow: 0 0 0 3px rgba(178, 122, 125, 0.15);
}
.trial-form-body .wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}
.trial-form-body .wpcf7-form input[type="submit"],
.trial-form-body .wpcf7-submit {
  display: inline-block;
  background: #b27a7d;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 0.9rem 2.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.trial-form-body .wpcf7-form input[type="submit"]:hover,
.trial-form-body .wpcf7-submit:hover {
  background: #9e6568;
  transform: translateY(-2px);
}
.trial-form-body .wpcf7-not-valid-tip {
  font-size: 0.8125rem;
  color: #c0392b;
  margin-top: 0.25rem;
  display: block;
}
.trial-form-body .wpcf7-response-output {
  display: none !important;
}
.trial-cf7-notice {
  background: #fff8e1;
  border: 1px solid #f0c040;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: #5a4a00;
  line-height: 1.7;
}

/* ── alt contact ── */
.trial-contact-alt {
  text-align: center;
}
.trial-contact-alt__lead {
  font-size: 0.9375rem;
  color: #6c6258;
  margin: 0 0 1.25rem;
}
.trial-contact-alt__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}
.trial-contact-alt__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid rgba(111, 85, 63, 0.15);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 2px 12px rgba(37, 29, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trial-contact-alt__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 29, 23, 0.1);
}
.trial-contact-alt__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trial-contact-alt__icon svg {
  display: block;
}
.trial-contact-alt__label {
  font-size: 0.8125rem;
  color: #8a7f72;
  font-weight: 500;
}
.trial-contact-alt__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
}
.trial-contact-alt__hours {
  font-size: 0.75rem;
  color: #8a7f72;
}

@media (max-width: 600px) {
  .trial-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .trial-flow__arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .trial-form-body {
    padding: 1.25rem;
  }
  .trial-form-head {
    padding: 1.25rem;
  }
  .trial-contact-alt__items {
    grid-template-columns: 1fr;
  }
}

/* ── CF7 フォームコントロールラップ ── */
.trial-form-body .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ── 日付input：ブラウザデフォルト幅をリセット ── */
.trial-form-body .wpcf7-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  padding: 0.8rem 1rem;
  line-height: 1.75;
  min-height: 3.35rem;
  height: auto;
}

/* 日付プレースホルダー（::before） */
.trial-form-body .wpcf7-form .wpcf7-form-control-wrap[data-name="first-choice-date"] {
  position: relative;
  display: block;
  min-height: 3.35rem;
}
/* プレースホルダー：値なしのとき表示（JS が .has-value クラスを付け外し） */
.trial-form-body .wpcf7-form .wpcf7-form-control-wrap[data-name="first-choice-date"]:not(.has-value)::before {
  content: "日付を選択";
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 1rem;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  pointer-events: none;
  z-index: 1;
}

/* ── モバイル：テーブルを縦積みレイアウトに ── */
@media (max-width: 640px) {
  .trial-form-body .wpcf7-form table,
  .trial-form-body .wpcf7-form tbody,
  .trial-form-body .wpcf7-form tr,
  .trial-form-body .wpcf7-form td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .trial-form-body .wpcf7-form td.label-cell {
    padding: 0.4rem 0 0.15rem;
  }
  .trial-form-body .wpcf7-form td.label-cell label {
    margin-bottom: 0;
  }
  .trial-form-body .wpcf7-form td:not(.label-cell):not(.submit-cell) {
    padding-bottom: 0.25rem;
  }
  .trial-form-body .wpcf7-form td.submit-cell {
    padding-top: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* CF7 スピナー非表示（submit ボタンの中央ズレ防止） */
.trial-form-body .wpcf7-spinner {
  display: none !important;
}

/* 日付プレースホルダー：PC（641px以上）では非表示 */
@media (min-width: 641px) {
  .trial-form-body .wpcf7-form .wpcf7-form-control-wrap[data-name="first-choice-date"]::before {
    display: none;
  }
}

span.require {
  font-size: 0.8rem;
  color: #d32f2f;
}

/*CLOUDFRAREレイアウト調整*/
div.cloudflare {
  display: flex !important;
  justify-content: center !important;
  margin-top:100px;
 }
 

