/*
Theme Name: portfolio-base
Text Domain: underscores-theme-generator
*/

/* ===== はみ出し事故防止（必須） ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  background: #000;
}

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

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem 0;
  font-weight: bold;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

/* 段落 */
p {
  margin: 0 0 1rem 0;
}

/* リスト */
ul,
ol {
  margin: 0 0 1rem 2rem;
}

/* リンク */
a {
  color: #0073aa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ボタン（基本） */
.button,
button {
  display: inline-block;
  background-color: #0073aa;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}
.button:hover,
button:hover {
  background-color: #005177;
}

/* ゴーストボタン */
.button--ghost {
  background: transparent;
  border: 1px solid #fff;
}

/* Gutenbergブロック幅 */
.alignwide {
  max-width: 100%;
}
.alignfull {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ===== レイアウト土台 ===== */
.site,
#page,
.site-content,
.site-main {
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  width: 92%;
  margin: 0 auto;
}

/* ===== ヘッダー ===== */
.site-header {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-weight: 700;
  font-size: 18px;
  color: inherit;
}

/* メニュー（wp_nav_menu） */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}
.site-nav a {
  color: inherit;
  text-decoration: none;
}
.site-nav a:hover {
  text-decoration: underline;
}

/* ===== セクション共通 ===== */
.section {
  padding: 48px 0;
  overflow: hidden;
  display: flow-root;
}

.section > * + * {
  margin-top: 16px;
}

/* ===== 黒ベースセクション ===== */
.section--dark {
  background: #000;
  color: #fff;
}

.section--dark a {
  color: inherit;
}

/* 見出し群（SWELL寄せ） */
.section__head {
  margin-bottom: 24px;
}

.section__en {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 56px;
  opacity: 0.15;
  margin: 0;
  line-height: 1;
}

.section__title {
  margin-top: -18px;
  font-size: 22px;
}

.section__lead {
  opacity: 0.85;
}

/* ===== MV（動画対応・完成形寄せ） ===== */
.mv {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.mv__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.mv__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 16px 90px;
}

.mv__logo {
  width: min(420px, 78vw);
  height: auto;
  display: block;
  margin: 0 0 22px;
}

.mv__catch {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.25;
}

.mv__catch-accent {
  background: #e60012;
  padding: 0.2em 0.4em;
  display: inline-block;
  margin-right: 0.25em;
}

.mv__lead {
  margin: 12px 0 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
}

.mv__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 18px 26px;
  background: #e60012;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.mv__cta:hover {
  filter: brightness(1.05);
}

.mv__cta-arrow {
  font-size: 20px;
  line-height: 1;
}

/* ===== ダミー画像 ===== */
.ph {
  background: #fff;
  color: #000;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph--wide {
  height: 260px;
}

/* ===== レイアウト（2カラム/グリッド） ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

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

/* MENUカード */
.menu-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
}

.menu-card__img {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.menu-card__title {
  margin: 6px 0 4px;
  font-size: 18px;
}

.menu-card__text {
  opacity: 0.85;
}

/* PRICE */
.price-box {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}
.price-box__label {
  margin: 0;
  opacity: 0.7;
}
.price-box__value {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.price-card {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 18px;
}
.price-card__list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.price-option {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
}

.price-option__title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.price-option__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.price-option li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #ddd;
}

/* ===== スライダー（横スクロール） ===== */
.slider {
  position: relative;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 50;
}

.slider__btn[data-prev] {
  left: 6px;
}
.slider__btn[data-next] {
  right: 6px;
}

.person,
.review {
  scroll-snap-align: start;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  position: relative;
  z-index: 1;
}

.person__img {
  height: 160px;
}

.person__name {
  text-align: center;
  margin: 10px 0 0;
  font-weight: 700;
}

.review__name {
  font-weight: 800;
  margin: 0 0 8px;
}
.review__text {
  margin: 0;
  opacity: 0.9;
}

/* TRAINERS 無限ループ用（滑らか） */

#voices .review {
  min-width: 280px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 16px 14px;
}

#voices .review__meta {
  margin: 0 0 10px;
  font-size: 12px;
  opacity: 0.85;
}

#voices .review__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.9;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* ===== GYM INFO ===== */

.gym-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
}

.gym-card__title {
  margin: 0 0 12px;
  font-size: 18px;
}

.gym-dl {
  margin: 0;
}

.gym-dl__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gym-dl__row:last-child {
  border-bottom: none;
}

.gym-dl dt {
  opacity: 0.85;
  font-weight: 700;
}

.gym-dl dd {
  margin: 0;
  opacity: 0.95;
}

.gym-map {
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.gym-map__link {
  display: inline-block;
  font-size: 12px;
  opacity: 0.9;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

/* ===== FAQ ===== */
.faq-list {
  width: 100%;
  max-width: none; /* 820px制限を解除 */
  margin: 0; /* container内なので基本0でOK */
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.faq-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
  position: relative;
}

.faq-icon::before {
  content: "+";
}

.faq-item.is-open .faq-icon::before {
  content: "×";
}

.faq-a {
  display: flex; /* ← ここがズレ解消の肝 */
  align-items: flex-start; /* 複数行でも上揃え */
  gap: 14px;

  /* 余白：上が詰まって不自然 → 上をしっかり取る */
  padding: 16px 22px 18px; /* ←ここで上余白を確保 */

  border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.95;
}

.faq-a[hidden] {
  display: none !important;
}
/* ===== FAQ：Q/Aバッジ ===== */

/* 質問のテキストをバッジ込みで横並びにする */
.faq-q span {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Qバッジ */
.faq-q span::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(230, 0, 18, 0.95); /* 赤系（好みでOK） */
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 auto;
}

/* 回答側：段落をバッジ込みで横並びに */
.faq-a p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0; /* pの余白でズレないように */
}

/* Aバッジ */
.faq-a p::before {
  content: "A";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.95); /* 青系（好みでOK） */
  color: #041018;
  font-weight: 900;
  font-size: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* ===== CTA ===== */
#cta.cta {
  padding: 72px 0;
  margin-top: 32px;
}

#cta .cta__box {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

#cta .cta__eyebrow {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.9;
}

#cta .cta__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.25;
}

#cta .cta__lead {
  margin: 0;
  opacity: 0.88;
}

#cta .cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

#cta .cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
}

#cta .cta__btn--primary {
  background: #e60012;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#cta .cta__btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  background: rgba(40, 60, 100, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-action:hover {
  transform: translateY(-1px);
  background: rgba(50, 70, 110, 0.9);
}

.header-action:focus {
  outline: none;
}
.header-action:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

/* ===== 右上：サイドナビ（アイコン＋ラベル、箱なし） ===== */
.side-nav {
  position: fixed;
  right: 18px;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 9999;
}

.side-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  line-height: 1;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.side-nav__item i,
.side-nav__item svg {
  font-size: 26px;
  width: 1.2em;
  text-align: center;
  line-height: 1;
  display: block;
  color: rgba(255, 255, 255, 0.92);
}

.side-nav__item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

.side-nav__item:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* ===== TOPボタン（スクロールで表示・右下固定） ===== */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;

  width: 52px;
  height: 52px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;

  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;

  z-index: 9998;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  background: rgba(230, 0, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.to-top span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* =========================
   FOOTER (SIX PACK ACADEMY)
========================= */
.site-footer.section--dark {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  padding: 64px 0;
  background: radial-gradient(
      900px 240px at 55% 10%,
      rgba(70, 120, 200, 0.18),
      rgba(0, 0, 0, 0) 60%
    ),
    radial-gradient(
      700px 220px at 10% 30%,
      rgba(70, 120, 200, 0.1),
      rgba(0, 0, 0, 0) 65%
    ),
    linear-gradient(180deg, #0b0f14 0%, #070a0e 100%);
}

.site-footer.section--dark .container {
  max-width: 1200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.footer-brand .footer-logo img {
  width: 180px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 0 0 22px;
  font-size: 14px;
}

.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-info li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-info a:hover {
  color: rgba(255, 255, 255, 0.98);
}

.footer-col .footer-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 2px 0 18px;
  font-weight: 700;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-menu a:hover {
  color: rgba(255, 255, 255, 0.96);
}

.footer-cta {
  justify-self: end;
  width: min(460px, 100%);
}

.footer-cta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 22px 20px;
  backdrop-filter: blur(8px);
}

.footer-cta-title {
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
}

.footer-cta-actions {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}

.footer-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #e60012;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(230, 0, 18, 0.18);
}

.footer-cta-primary:hover {
  filter: brightness(1.05);
}

.footer-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.footer-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.footer-cta-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

.site-footer .footer-grid hr,
.site-footer hr {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  margin: 48px 0 18px;
  display: block;
}

.site-footer .site-info,
.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  padding: 0 0 24px;
  opacity: 0.75;
  font-size: 12px;
}

/* ===== 右上：ヘッダーボタン（3つ並べる） ===== */
.header-actions {
  position: fixed;
  top: 30px;
  right: 120px; /* サイドナビと重ならないように右から120px */
  display: flex;
  gap: 10px;
  z-index: 2000;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  background: rgba(40, 60, 100, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-action:hover {
  transform: translateY(-1px);
  background: rgba(50, 70, 110, 0.9);
}

.header-action__icon {
  font-size: 16px;
}

.header-action__text {
  font-size: 12px;
}

.header-action--tel {
  gap: 6px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.2rem;
  }

  .section {
    padding: 32px 0;
  }

  .section__en {
    font-size: 38px;
  }

  .mv__inner {
    padding: 120px 16px 70px;
  }
  .mv__logo {
    width: min(340px, 84vw);
    margin-bottom: 18px;
  }
  .mv__cta {
    width: min(520px, 92vw);
    justify-content: center;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  #cta.cta {
    padding: 56px 0;
    margin-top: 24px;
  }
  #cta .cta__box {
    padding: 22px;
  }
  #cta .cta__actions {
    flex-direction: column;
  }
  #cta .cta__btn {
    width: 100%;
  }

  .side-nav {
    right: 12px;
    top: 12px;
    gap: 14px;
  }
  .side-nav__item i,
  .side-nav__item svg {
    font-size: 22px;
  }
  .to-top i {
    font-size: 22px;
  }

  /* SP用：ヘッダーボタンを調整 */
  .header-actions {
    right: 90px; /* SP時はサイドナビが小さいので調整 */
    top: 12px;
    gap: 8px;
  }
  .header-action {
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-cta {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-cta {
    justify-self: start;
  }
}
/* ===== MV内：左上ロゴ ===== */
.mv__header-logo {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 10;
}

.mv__header-logo img {
  width: 180px;
  height: auto;
}

/* ===== スクロール追尾ヘッダー（青い帯） ===== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(40, 80, 140, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;

  /* 初期状態：非表示・上に隠れている */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* スクロール時に表示 */
.sticky-header.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-header__logo img {
  height: 40px;
  width: auto;
}

.sticky-header__actions {
  display: flex;
  gap: 10px;
  margin-right: 120px; /* サイドナビと重ならないように */
}

.sticky-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: all 0.2s ease;
}

.sticky-header__btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* SP対応 */
@media (max-width: 768px) {
  .mv__header-logo {
    left: 16px;
    top: 16px;
  }

  .mv__header-logo img {
    width: 140px;
  }

  .sticky-header {
    height: 60px;
  }

  .sticky-header__logo img {
    height: 32px;
  }

  .sticky-header__actions {
    gap: 8px;
    margin-right: 90px;
  }

  .sticky-header__btn {
    height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }
}
/* 写真を表示させるための枠の設定 */
.person__img {
  width: 320px; /* 適切なサイズに調整してください */
  height: 240px; /* 適切なサイズに調整してください */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none !important; /* 「写真1」の背景色を消す */
}

.person__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠に合わせて綺麗に切り抜く */
  display: block;
}

/* 「写真1」というテキストが残っている場合は消す */
.ph {
  font-size: 0 !important;
  text-indent: -9999px;
}
/* メニューカード画像の枠 */
.menu-card__img {
  width: 100%;
  height: 200px; /* メニュー画像の高さを指定。デザインに合わせて調整してください */
  overflow: hidden;
  background: none !important; /* 「画像」という文字の背景色を消す */
}

.menu-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠いっぱいに綺麗に表示 */
  display: block;
}

/* 「画像」というダミーテキストを消す */
.menu-card__img.ph {
  font-size: 0 !important;
  text-indent: -9999px;
}

/* ===== MENU 4カラムグリッド（完全版） ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

#menu .grid-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

#menu .menu-card {
  width: 100% !important;
  margin: 0 !important;
  padding: 14px !important;
}

/* ===== TRAINERSとMENUを完全に揃える ===== */

#trainers .person:first-child {
  margin-left: 0 !important;
}

/* --- PRICEセクションの調整 --- */

/* 2列（上段）と3列（下段）の共通設定 */
#price .grid-2,
#price .grid-3 {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* 上段2つ：50%ずつに割る */
.grid-2 .price-box {
  flex: 1 !important;
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

/* 下段3つ：高さを揃えて3等分 */
.grid-3 .price-card {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #fff;
  color: #000;
  padding: 30px 20px;
  border-radius: 8px;
  /* 中身の量に関わらず高さを一番高いものに合わせる */
}

/* 価格の数字を目立たせる */
.price-box__value {
  font-size: 24px !important;
  font-weight: bold !important;
  margin: 10px 0 !important;
  color: #e60012; /* アクセントカラー */
}

/* リストのポインを調整 */
.price-card__list {
  margin-top: auto; /* 説明文が短くてもリストが下端に揃う */
  padding: 0;
  list-style: none;
  text-align: left;
}

/* --- CTAセクションの調整 --- */

.cta__box {
  background: #111 !important; /* 真っ黒より少し明るくして立体感を出す */
  border: 1px solid #333 !important;
  border-radius: 16px !important;
  padding: 60px 40px !important;
  text-align: center;
}

.cta__actions {
  display: flex !important;
  justify-content: center !important;
  gap: 20px !important;
  margin-top: 40px !important;
}

/* ボタンの横幅を揃える、または適切に配置 */
.cta__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 32px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  transition: background 0.3s !important;
}

.cta__btn--primary {
  background: #e60012 !important;
  color: #fff !important;
}

.cta__btn--ghost {
  border: 1px solid #fff !important;
  color: #fff !important;
}

/* レスポンシブ（スマホで見た時に縦に並べる） */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .cta__actions {
    flex-direction: column !important;
  }
}
/* 価格の色を落ち着いた青に変更 */
.price-box__value {
  font-size: 24px !important;
  font-weight: bold !important;
  margin: 10px 0 !important;
  /* 清潔感のあるブルー（お好みで調整してください） */
  color: #1a1a1a !important;
}

/* カードのデザインを少しブラッシュアップ */
.price-card,
.price-box {
  background: #fff;
  color: #333; /* 真っ黒より少しグレーにすると読みやすくなります */
  border-top: 4px solid #0056b3; /* ボックスの頭にだけ青のラインを入れるとおしゃれです */
  padding: 30px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 軽く影をつけて浮かせます */
}

/* 有料オプションの外枠：タイトル・説明・リストを縦に並べる */
.price-option {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 60px 5% !important;
  color: #333 !important;
  margin-top: 40px !important;
  /* 縦並びを強制してタイトルを表示させる */
  display: flex !important;
  flex-direction: column !important;
}

/* タイトルの設定：消えないように幅と表示形式を固定 */
.price-option__title {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  font-size: 24px !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
}

/* 説明文の設定：中央寄せ */
.price-option__sub {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #666 !important;
  margin-bottom: 40px !important;
}

/* 2カラムのグリッド：ここだけ横並び */
.price-option__grid {
  display: flex !important;
  justify-content: space-between !important;
  gap: 8% !important;
  width: 100% !important;
}

/* 各リストの幅を半分弱に固定 */
.price-option__list {
  flex: 0 0 46% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* 各行：項目名を左、金額を右へ */
.price-option__list li {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 12px 0 !important;
  border-bottom: 1px dotted #ccc !important;
}

/* 金額（上品・世界観対応） */
.price-option__list .price {
  color: #1a1a1a;
  font-weight: 600;
  white-space: nowrap;
}

/* 項目名（黒）の設定 */
.price-option__list span:first-child {
  color: #333 !important;
}

/* CTAの外枠：上のコンテンツと横幅を合わせる */
.cta {
  padding: 100px 0 !important;
}

.cta__box {
  max-width: 1200px !important; /* ここを料金プランの最大幅と同じ数値にする */
  width: 100% !important;
  margin: 0 auto !important;
  background: #111 !important;
  border-radius: 16px !important;
  padding: 80px 40px !important;
  text-align: center !important;

  /* 背景画像を入れるための設定 */
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

/* テキストが画像に埋もれないように白く強調 */
.cta__eyebrow,
.cta__title,
.cta__lead {
  color: #fff !important;
  position: relative !important;
  z-index: 2 !important;
}
/* 1. PRICEセクションの下の余白を削る */
#price.section {
  padding-bottom: 40px !important; /* 元が100pxなら大幅にカット */
}

/* 2. CTAセクションの上の余白を削る */
#cta.section {
  padding-top: 40px !important; /* 上のセクションとくっつけたい場合はさらに小さく */
}

/* 3. CTAボックス自体のマージンを調整 */
.cta__box {
  margin-top: 0 !important; /* ボックスが浮いて見えるのを防ぐ */
}

/* 1. セクション同士の隙間を最小限にする */
#price.section {
  padding-bottom: 0 !important; /* 下側の余白をゼロに */
}

#cta.section {
  padding-top: 20px !important; /* 上側を極限まで詰める */
}

/* 2. PRICEセクション内、最後の要素（有料オプション）の下マージンを消す */
.price-option {
  margin-bottom: 0 !important;
}

/* 3. CTAボックスの配置を上へ引き上げる */
.cta__box {
  margin-top: 0 !important;
  padding-top: 60px !important; /* ボックス内の上余白も少し詰めるとバランスが良いです */
}

/* ===== 有料オプションを他の料金カードと揃える ===== */

/* ① 上の余白を詰める */
.price-option {
  margin-top: 20px !important; /* 40px → 20px */
  padding: 40px 5% !important; /* 60px → 40px */

  /* ② 他カードと同じ“青＋浮き”を付ける */
  border-top: 4px solid #0056b3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* タイトル周りも少し詰める */
.price-option__title {
  margin-bottom: 8px !important;
}

.price-option__sub {
  margin-bottom: 24px !important; /* 40px → 24px */
}
/* =========================
   PRICE: 有料オプションを詰める + 青の二重枠
========================= */

/* 上の余白（外側）も少し詰める */
.price-option {
  margin-top: 20px !important; /* 40px → 20px */
  padding: 32px 5% 34px !important; /* 60px → 32px（上が空く原因） */

  /* 他ボックス寄せの見た目 */
  border-radius: 10px !important;
  background: #fff !important;
  color: #333 !important;

  /* 青の二重枠っぽさ（外側に薄い青） */
  border: 2px solid #0056b3 !important;
  box-shadow: 0 0 0 6px rgba(0, 86, 179, 0.12),
    /* 外側の薄い枠 */ 0 4px 15px rgba(0, 0, 0, 0.1) !important; /* 影 */
}

/* タイトル周りも詰める（“上が開いてる感”をさらに消す） */
.price-option__title {
  margin: 0 0 8px !important;
  font-size: 22px !important;
}

.price-option__sub {
  margin: 0 0 18px !important; /* 40px → 18px */
}

/* リストの行間が広ければ少しだけ詰める */
.price-option__list li {
  padding: 10px 0 !important;
}
/* =========================
   PRICE: 有料オプションを詰める + 青の二重枠
========================= */

/* 上の余白（外側）も少し詰める */
.price-option {
  margin-top: 20px !important; /* 40px → 20px */
  padding: 32px 5% 34px !important; /* 60px → 32px（上が空く原因） */

  /* 他ボックス寄せの見た目 */
  border-radius: 10px !important;
  background: #fff !important;
  color: #333 !important;

  /* 青の二重枠っぽさ（外側に薄い青） */
  border: 2px solid #0056b3 !important;
  box-shadow: 0 0 0 6px rgba(0, 86, 179, 0.12),
    /* 外側の薄い枠 */ 0 4px 15px rgba(0, 0, 0, 0.1) !important; /* 影 */
}

/* タイトル周りも詰める（“上が開いてる感”をさらに消す） */
.price-option__title {
  margin: 0 0 8px !important;
  font-size: 22px !important;
}

.price-option__sub {
  margin: 0 0 18px !important; /* 40px → 18px */
}

/* リストの行間が広ければ少しだけ詰める */
.price-option__list li {
  padding: 10px 0 !important;
}
/* =========================
   VOICES（Google風カード）
   これだけ追記（既存の崩れを上書き）
========================= */

#voices .voices__track::-webkit-scrollbar {
  height: 6px;
}

#voices .review__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#voices .review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  object-fit: cover;
  flex: 0 0 auto;
}

#voices .review__who {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#voices .review__name {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#voices .review__date {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

#voices .review__gmark {
  margin-left: auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.95;
}

#voices .review__stars {
  color: #f5c400; /* 星だけ黄色 */
  letter-spacing: 0.18em;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1;
}

#voices .review__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.92;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2行で... */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.6em * 2);
}

#voices .review__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: #4aa3ff;
  text-decoration: none;
}

#voices .review__link:hover {
  text-decoration: underline;
}

/* =========================
   GYM INFO 横幅・揃え修正
========================= */

/* GYM INFO 全体を他セクションと同じ基準に */
#gym .container {
  max-width: 1100px; /* 他と完全に揃える */
}

/* grid-3 をきっちり3等分 */
#gym .grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  margin-top: 24px;
}

/* 各カードの横幅ブレ防止 */
#gym .gym-card {
  width: 100%;
  height: 100%;
}

/* MAPカードだけ中身が小さく見えるのを防ぐ */
#gym .gym-map {
  width: 100%;
  height: 180px;
}
/* =========================
   GYM INFO - MAP強化
========================= */

/* MAPカード全体を他より存在感出す */
#gym .gym-card:nth-child(3) {
  padding: 20px;
}

/* 地図の高さを一気に上げる */
#gym .gym-map {
  height: 260px; /* ← ここが一番効く */
  border-radius: 12px;
  background: #fff;
}

/* Googleマップリンクを中央寄せ＋ボタン風に */
#gym .gym-map__link {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 10px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
}
/* ===== GYM: 左に2枚まとめて、右に地図ドカン ===== */
#gym .gym-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 18px;
  align-items: start;
}

#gym .gym-side {
  display: grid;
  gap: 18px;
}

/* 地図カードは右列でデカく */
#gym .gym-card--map {
  width: 100%;
}

/* 地図の高さを上げる（小さい問題の本体） */
#gym .gym-map {
  height: 360px; /* 好みで 320〜420 */
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.06); /* ダミー時の背景 */
}

/* いま白い四角が出る対策（.phの白背景を避ける） */
#gym .gym-map__ph {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

/* レスポンシブ */
@media (max-width: 768px) {
  #gym .gym-layout {
    grid-template-columns: 1fr;
  }
  #gym .gym-map {
    height: 280px;
  }
}
/* GYM INFO：左右の高さを揃える（左を右に合わせる） */
.gym-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: stretch; /* ここが肝：同じ行の高さに合わせる */
}

.gym-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%; /* 右と同じ行高を受け取る */
}

/* 左の2枚を均等に伸ばして、合計で右と同じ高さにする */
.gym-side .gym-card {
  flex: 1;
}

/* 右（MAP）カード内：地図エリアを伸ばしてボタンは下に固定 */
.gym-card--map {
  display: flex;
  flex-direction: column;
}

.gym-card--map .gym-map {
  flex: 1; /* 地図エリアが伸びる */
  display: flex;
}

.gym-card--map .gym-map__ph,
.gym-card--map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* スマホ：縦積み */
@media (max-width: 900px) {
  .gym-layout {
    grid-template-columns: 1fr;
  }
  .gym-side .gym-card {
    flex: initial;
  }
}
/* =========================
   GYM MAPリンク：SPだけ表示（PCは非表示）
========================= */

/* PC（769px以上）は非表示 */
@media (min-width: 769px) {
  #gym .gym-map__link {
    display: none !important;
  }
}

/* SP（768px以下）は表示 */
@media (max-width: 768px) {
  #gym .gym-map__link {
    display: inline-block !important;
  }
}
/* CTA */

.cta__btn:hover {
  transform: translateY(-1px);
}

.cta__btn:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .cta {
    padding: 40px 20px;
  }
  .cta__btn {
    width: 100%;
  }
}
/* ===== Trial CTA (scoped) ===== */
#cta-trial {
  margin: 20px 0;
}

#cta-trial .trial-cta__inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(46, 13, 13, 0.08);
  border-radius: 22px;
  padding: 42px 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

#cta-trial .trial-cta__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr; /* 右に画像スペース */
  gap: 28px;
  align-items: center;
}

#cta-trial .trial-cta__kicker {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.85;
}

#cta-trial .trial-cta__title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

#cta-trial .trial-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

#cta-trial .trial-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#cta-trial .trial-cta__btn--primary {
  background: #0ea5e9;
  color: #041018;
  border-color: transparent;
}

/* 右：画像枠 */
#cta-trial .trial-cta__media {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 220px;
}

#cta-trial .trial-cta__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* SP：縦積み＆画像は下 */
@media (max-width: 768px) {
  #cta-trial .trial-cta__inner {
    padding: 28px 22px;
  }
  #cta-trial .trial-cta__grid {
    grid-template-columns: 1fr;
  }
  #cta-trial .trial-cta__media {
    min-height: 180px;
  }
  #cta-trial .trial-cta__btn {
    width: 100%;
  }
}

.trial-cta__media {
  position: relative;
  overflow: hidden;
  border-radius: 16px; /* カードと合わせる */
}

.trial-cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trial-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 55%,
    rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
}
.trial-cta__media {
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.8);
}

/* =========================
   Trial CTA：右画像を“馴染ませる”
========================= */
#cta-trial .trial-cta__media {
  position: relative !important;
  border-radius: 22px !important;

  /* 「箱」っぽさを消す */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  overflow: hidden !important; /* フェード用 */
}

/* 画像自体 */
#cta-trial .trial-cta__img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;

  /* 画像の“素材感”を出しつつ、暗くしすぎない */
  filter: saturate(1.05) contrast(1.08) brightness(0.92) !important;
  opacity: 0.95 !important;
}

/* 端を溶かす（重要） */
#cta-trial .trial-cta__media::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;

  /* 左側へ自然にフェード＋周辺落とし */
  background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.55) 18%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0) 68%
    ),
    radial-gradient(
      120% 120% at 80% 40%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.45) 70%,
      rgba(0, 0, 0, 0.72) 100%
    ) !important;

  mix-blend-mode: multiply !important;
  opacity: 0.95 !important;
}

/* 角の立ちを消す（薄い光） */
#cta-trial .trial-cta__media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  border-radius: 22px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}
/* =========================
   Trial CTA 画像：四角感を消して馴染ませる（完成図寄せ）
========================= */
#cta-trial .trial-cta__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;

  /* 「枠で囲われてる感」対策：枠線は消す */
  border: 0 !important;

  /* ふわっと浮かせる（やりすぎない） */
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

#cta-trial .trial-cta__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* “暗くなるだけ”を避けつつ締める */
  filter: saturate(1.05) contrast(1.05) brightness(0.95);
}

/* 左側に溶かすグラデ（テキスト側と一体化） */
#cta-trial .trial-cta__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* 左→右：黒に溶ける。右側はほぼ素の画像 */
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0) 75%
  );
}

/* 周辺だけ軽く落とす（中央を残す＝暗くなり過ぎない） */
#cta-trial .trial-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    70% 85% at 60% 45%,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* いちばん効く：四角いエッジを“フェード”させる（対応ブラウザ多い） */
#cta-trial .trial-cta__media {
  -webkit-mask-image: radial-gradient(
    circle at 55% 50%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(circle at 55% 50%, #000 62%, transparent 100%);
}
/* =========================
   Trial CTA：背景に画像を敷いて馴染ませる（#cta-trial限定）
========================= */
#cta-trial .trial-cta__inner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 42px 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* 右寄せで背景画像を敷く（四角い“箱”を作らない） */
#cta-trial .trial-cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--trial-cta-bg);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0.9;
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;

  /* 左側へ自然に溶ける（これで“四角”が消える） */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 38%,
    #000 100%
  );
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
}

/* 全体の読みやすさ用：黒のグラデ + うっすらビネット */
#cta-trial .trial-cta__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 320px at 70% 35%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.55) 70%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.25) 100%
    );
  z-index: 1;
}

/* 中身は前面へ */
#cta-trial .trial-cta__inner > * {
  position: relative;
  z-index: 2;
}

/* 右の画像ブロックを残してる場合は無効化 */
#cta-trial .trial-cta__media {
  display: none !important;
}

/* SPは縦にして、マスクを弱める */
@media (max-width: 768px) {
  #cta-trial .trial-cta__inner {
    padding: 34px 22px;
  }
  #cta-trial .trial-cta__inner::before {
    background-position: center;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 60%,
      transparent 100%
    );
    mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  }
  #cta-trial .trial-cta__inner::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      rgba(0, 0, 0, 0.75) 100%
    );
  }
}
#cta-trial .trial-cta__inner::before {
  background-size: min(500px, 52%);
  background-position: right 45%;
}
#cta-trial .trial-cta__inner::before {
  background-size: min(520px, 58%);
  background-position: right 30%; /* ← 45% → 30% */
}
#cta-trial .trial-cta__content {
  max-width: 540px; /* 480〜560で調整 */
}
#cta-trial .trial-cta__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.15) 65%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
.two-col__media {
  border-radius: 18px;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: auto; /* ←ここ重要 */
  display: block;
  object-fit: cover;
}

.two-col__title .accent {
  color: #c62828;
  opacity: 0.9;
}
/* TRAINERS: 無限ループ用（上書き） */

#trainers .person {
  flex: 0 0 260px;
  min-width: 260px;
}

/* ボタン表示修正 */
#trainers .slider__btn {
  display: flex !important;
  z-index: 100;
}

#trainers .slider__btn[data-prev] {
  left: 10px;
}

#trainers .slider__btn[data-next] {
  right: 10px;
}

.person {
  flex: 0 0 260px;
  margin: 0;
}
/* =========================
   SLIDER CORE（無限ループ専用）
========================= */

.slider {
  position: relative;
}

.person,
.review {
  flex: 0 0 260px;
  margin: 0;
  scroll-snap-align: unset !important;
}

.person,
.voice-card {
  flex: 0 0 260px;
  margin: 0;
}
/* =========================================
   slider 基本（潰れ・ズレ防止）
========================================= */
.slider__track {
  overflow: hidden;
}

.slider__rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  min-width: max-content;
  will-change: transform;
}

/* 重要：カードが縮まないように固定 */
#trainers .person,
#voices .review {
  flex: 0 0 auto;
  min-width: 0;
}
/* =========================================
   TRAINERS：画像のズレ/切れ方を矯正
========================================= */
#trainers .person {
  overflow: hidden;
  border-radius: 14px;
}

#trainers .person img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}
/* =========================================
   VOICES：カード幅が潰れてズレるのを防止
========================================= */

#voices .review * {
  min-width: 0;
}
/* ========= ズレ最終調整（超重要） ========= */

/* 幅計算を安定させる：padding/border込みでwidthを扱う */
#trainers .person,
#voices .review {
  box-sizing: border-box;
}

/* 1枚の“実幅”をブレさせない（どっちかに寄せる） */
#trainers .person {
  width: 280px; /* ←デザインに合わせて固定。好みで調整 */
  flex: 0 0 280px;
}

#voices .review {
  width: 360px; /* すでに指定してるが念のため“固定”として明示 */
  flex: 0 0 360px;
}

/* track/railの中で、カードが勝手に縮んだり広がったりするのを完全停止 */
.slider__rail > * {
  flex: 0 0 auto;
}

/* rail を “gapで並ぶ横列” として固定（念押し） */
.slider__rail {
  align-items: stretch;
}
/* ================================
   VOICES：常に4枚ピッタリ表示
================================ */

/* trackは余計な余白ゼロ（ズレ防止） */
#voices .slider__track {
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* railは横一列。min-width:max-content は VOICESでは使わない */
#voices .slider__rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  min-width: 0; /* ← 重要：max-content系を殺す */
  margin: 0;
  padding: 0;
  will-change: transform;
}

/* 4枚ぴったり： (100% - gap*3) / 4 */
#voices .review {
  flex: 0 0 calc((100% - (18px * 3)) / 4);
  max-width: calc((100% - (18px * 3)) / 4);
  box-sizing: border-box;
  min-width: 0;
}

/* 長文で横に押し広げる事故を防ぐ */
#voices .review * {
  min-width: 0;
}

/* 画面が狭い時は自然に枚数を落とす（必要なら調整） */
@media (max-width: 1024px) {
  #voices .review {
    flex-basis: calc((100% - (18px * 2)) / 3);
    max-width: calc((100% - (18px * 2)) / 3);
  }
}
@media (max-width: 768px) {
  #voices .review {
    flex-basis: calc((100% - (18px * 1)) / 2);
    max-width: calc((100% - (18px * 1)) / 2);
  }
}
@media (max-width: 480px) {
  #voices .review {
    flex-basis: 100%;
    max-width: 100%;
  }
}
/* =========================================
   slider 基本（潰れ・ズレ防止）
========================================= */
.slider__track {
  overflow: hidden;
  padding: 0;
  margin: 0;
  text-align: left; /* 余計な中央寄せ等を殺す */
}

.slider__rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  margin: 0;
  padding: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* 重要：中身が縮まない */
.slider__rail > * {
  flex: 0 0 auto;
}

/* =========================================
   VOICES：常に4枚ピッタリ（PC想定）
   ※ ここが本体
========================================= */

/* まず “固定px幅” をやめる：#voices .review { width:360px; } は削除 */

#voices .review {
  box-sizing: border-box;
  /* 4枚 + gap(18px*3) でピッタリ */
  flex: 0 0 calc((100% - 18px * 3) / 4);
  max-width: calc((100% - 18px * 3) / 4);
  min-width: 0; /* 長文で横に押し広げる事故を防ぐ */
  overflow: hidden;
  border-radius: 14px; /* 必要なら */
}

/* 中のテキストや要素が横に伸びて崩す事故防止 */
#voices .review * {
  min-width: 0;
}

/* =========================================
   （任意）画面が狭い時は4枚は物理的にキツいので崩す
   いらないなら丸ごと消してOK
========================================= */
@media (max-width: 1100px) {
  #voices .review {
    flex-basis: calc((100% - 18px * 1) / 2);
    max-width: calc((100% - 18px * 1) / 2);
  }
}
@media (max-width: 640px) {
  #voices .review {
    flex-basis: 100%;
    max-width: 100%;
  }
}
/* ================================
   VOICES：常に4枚ピッタリ表示
================================ */

/* 1. containerで左右を制限 */
#voices .container {
  overflow: hidden !important;
  position: relative;
}

/* 2. sliderで切り取る */
#voices .slider {
  position: relative;
  overflow: hidden !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 3. trackで切り取る */
#voices .slider__track {
  overflow: hidden !important;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* 4. rail */
#voices .slider__rail {
  display: flex;
  gap: 18px;
  will-change: transform;
  padding: 0;
  margin: 0;
}

/* 5. カードを4枚ピッタリに（重要） */
#voices .review {
  /* gap 3つ分を引いて4等分 */
  flex: 0 0 calc((100% - (18px * 3)) / 4);
  width: calc((100% - (18px * 3)) / 4);
  min-width: calc((100% - (18px * 3)) / 4);
  max-width: calc((100% - (18px * 3)) / 4);
  box-sizing: border-box;
  overflow: hidden;
}

/* 6. 中身が横に広がらないように */
#voices .review * {
  min-width: 0;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 7. ボタン */
#voices .slider__btn {
  position: absolute;
  z-index: 100;
}

/* ================================
   レスポンシブ
================================ */
@media (max-width: 1024px) {
  #voices .review {
    flex: 0 0 calc((100% - (18px * 2)) / 3);
    width: calc((100% - (18px * 2)) / 3);
    min-width: calc((100% - (18px * 2)) / 3);
    max-width: calc((100% - (18px * 2)) / 3);
  }
}

@media (max-width: 768px) {
  #voices .review {
    flex: 0 0 calc((100% - 18px) / 2);
    width: calc((100% - 18px) / 2);
    min-width: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 480px) {
  #voices .review {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
/* =========================================
   TRAINERS：4枚ピッタリ表示（完全版・最終）
   既存の固定幅を完全に上書き
========================================= */

/* 1. containerで左右を制限 */
#trainers .container {
  overflow: hidden !important;
  position: relative;
}

/* 2. sliderで切り取る */
#trainers .slider {
  position: relative;
  overflow: hidden !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3. trackで切り取る */
#trainers .slider__track {
  overflow: hidden !important;
  position: relative;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 4. rail */
#trainers .slider__rail {
  display: flex !important;
  gap: 18px !important;
  will-change: transform;
  padding: 0 !important;
  margin: 0 !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}

/* 5. カードを4枚ピッタリに（最重要・全ての固定幅を上書き） */
#trainers .person {
  /* 既存の width: 280px, flex: 0 0 260px 等を全て無効化 */
  flex: 0 0 calc((100% - (18px * 3)) / 4) !important;
  width: calc((100% - (18px * 3)) / 4) !important;
  min-width: calc((100% - (18px * 3)) / 4) !important;
  max-width: calc((100% - (18px * 3)) / 4) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 14px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 6. 画像 */
#trainers .person__img {
  width: 100% !important;
  height: 220px !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
}

#trainers .person__img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* 7. 名前 */
#trainers .person__name {
  text-align: center !important;
  margin: 10px 0 0 !important;
  font-weight: 700 !important;
}

/* 8. ボタン */
#trainers .slider__btn {
  position: absolute !important;
  z-index: 100 !important;
  display: flex !important;
}

#trainers .slider__btn[data-prev] {
  left: 10px !important;
}

#trainers .slider__btn[data-next] {
  right: 10px !important;
}

/* ================================
   レスポンシブ
================================ */
@media (max-width: 1024px) {
  #trainers .person {
    flex: 0 0 calc((100% - (18px * 2)) / 3) !important;
    width: calc((100% - (18px * 2)) / 3) !important;
    min-width: calc((100% - (18px * 2)) / 3) !important;
    max-width: calc((100% - (18px * 2)) / 3) !important;
  }
}

@media (max-width: 768px) {
  #trainers .person {
    flex: 0 0 calc((100% - 18px) / 2) !important;
    width: calc((100% - 18px) / 2) !important;
    min-width: calc((100% - 18px) / 2) !important;
    max-width: calc((100% - 18px) / 2) !important;
  }

  #trainers .person__img {
    height: 200px !important;
  }
}

@media (max-width: 480px) {
  #trainers .person {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  #trainers .person__img {
    height: 240px !important;
  }
}
/* 1番目CTAと完全に同じ余白にする */
#gym.section {
  padding-bottom: 0 !important;
}

.mv__content {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mv__content.is-show {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   Page Loader
========================= */
#page-loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* 中身 */
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* スピナー */
.loader-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #e60012; /* アクセント赤 */
  animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* テキスト */
.loader-text {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Page Loader ===== */
#page-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.is-loading #page-loader {
  opacity: 1;
  pointer-events: all;
}

#page-loader .loader-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.18);
  border-top-color: #e60012; /* 赤だけアクセント */
  animation: spin 0.9s linear infinite;
}

#page-loader .loader-text {
  margin-top: 12px;
  color: #fff;
  font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#cta.section {
  padding-bottom: 48px !important;
}

#voices.section {
  padding-top: 48px !important;
}

section#gym + #cta-trial {
  margin-top: 0 !important;
}
#cta-trial {
  margin: 0 !important;
}

#cta .cta__box {
  border: none !important; /* または border: 0 !important; */
}

#cta.section {
  padding-bottom: 48px !important;
}

.site-footer .footer-grid {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   FOOTER SNS FIX
========================= */

/* SNSセクション全体 */
.footer-sns-wrap {
  grid-column: 1 / -1;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* SNSリスト */
.footer-sns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-sns li {
  margin: 0;
}

/* アイコンリンク */
.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.footer-sns a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* SVGアイコン（ここが最重要） */
.footer-sns svg {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.85); /* ← これが必須 */
  transition: fill 0.3s ease;
}

.footer-sns a:hover svg {
  fill: #fff;
}

/* =========================
   FOOTER SNS - Font Awesome版
========================= */

.footer-sns i {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.footer-sns a:hover i {
  color: #fff;
  transform: scale(1.1);
}

/* 各SNSの個別カラー（ホバー時） */
.footer-sns a:hover .fa-instagram {
  color: #e4405f;
}

.footer-sns a:hover .fa-x-twitter {
  color: #1da1f2;
}

.footer-sns a:hover .fa-youtube {
  color: #ff0000;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-card__body {
  padding: 18px;
}

.blog-card__date {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 6px;
}

.blog-card__title {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

.blog-card__excerpt {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

.blog-more {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}

/* ===== TOPボタン（スクロールで表示） ===== */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;

  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ABOUT */
.section--about {
  background: #1c1c1c;
  box-shadow: inset 0 40px 60px rgba(0, 0, 0, 0.6);
}

/* MENU & PRICE（選択ゾーン） */
.section--menu,
.section--price {
  background: #0f1720;
}

/* CTA（締め・行動ゾーン） */
.section--cta {
  background: #080808;
}

.section--voices {
  background: #262626;
}

/* ============================
   MENU section (目的別メニュー)
============================ */
.section--menu .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* タブレット：2列 */
@media (max-width: 1024px) {
  .section--menu .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ：1列 */
@media (max-width: 640px) {
  .section--menu .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.section--menu .menu-card {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

/* 画像が縦に暴れないように固定 */
.section--menu .menu-card__img {
  width: 100%;
  aspect-ratio: 3 / 4; /* ←ここで縦長を安定させる */
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.section--menu .menu-card__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* 文字が細い列で潰れないように */
.section--menu .menu-card__title {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.2;
}

.section--menu .menu-card__text {
  margin-top: 10px;
  line-height: 1.7;
  font-size: 14px;
}

/* スマホは少し文字を読みやすく */
@media (max-width: 640px) {
  .section--menu .menu-card {
    padding: 16px;
  }
  .section--menu .menu-card__title {
    font-size: 18px;
  }
  .section--menu .menu-card__text {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}
/* ============================
   MENU：SPは必ず1列（競合潰し）
============================ */
@media (max-width: 768px) {
  #menu .grid-4 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    overflow: visible !important;
  }

  #menu .menu-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* =========================================
   Hamburger (SP): button is always visible (top-right)
   Menu: hidden by default, slides in from left
========================================= */

/* --- Button (SP only) --- */
button.hamburger {
  display: none; /* PCは非表示にしておく（下の@mediaでSPだけ表示） */
}

/* SPで表示＆右上固定 */
@media (max-width: 768px) {
  button.hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;

    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;

    width: 52px !important;
    height: 52px !important;

    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px !important;
    padding: 8px !important;

    cursor: pointer !important;
    z-index: 2147483647 !important;
  }

  button.hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #fff !important;
    border-radius: 2px !important;
  }
}

/* --- Menu wrapper: hidden by default --- */
.hamburger-menu {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;

  visibility: hidden !important;
  pointer-events: none !important;
}

/* overlay */
.hamburger-menu::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
}

/* panel (from left) */
.hamburger-menu__inner {
  position: relative !important;
  width: 280px !important;
  max-width: 86vw !important;
  height: 100% !important;

  background: #111 !important;
  padding: 24px 18px !important;
  overflow-y: auto !important;

  transform: translateX(-110%) !important;
  transition: transform 0.25s ease !important;
}

/* --- Open state (JS toggles body.menu-open) --- */
body.menu-open .hamburger-menu {
  visibility: visible !important;
  pointer-events: auto !important;
}
body.menu-open .hamburger-menu::before {
  opacity: 1 !important;
}
body.menu-open .hamburger-menu__inner {
  transform: translateX(0) !important;
}

@media (max-width: 768px) {
  .header-actions,
  .header-buttons,
  .sticky-header__actions {
    display: none !important;
  }
}

/* ================================
   SP固定ヘッダー（ロゴ＋ハンバーガー）
================================ */
.sp-header {
  display: none;
}

@media (max-width: 768px) {
  .sp-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    height: 72px !important;
    padding: 0 14px !important;

    background: rgba(0, 0, 0, 0.72) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 2147483647 !important;
  }

  /* ロゴ側：クリック領域を整える */
  .sp-header__logo {
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  @media (max-width: 768px) {
    /* ロゴ画像：サイズ＋微調整 */
    .sp-header__logo img {
      height: 30px !important;
      width: auto !important;
      display: block !important;
      margin: 0 !important;
      padding: 0 !important;
      vertical-align: middle !important;

      transform: translateY(5px) !important; /* ←ここで上下を合わせる */
    }

    /* ハンバーガー：微調整 */
    button.hamburger {
      transform: translateY(-2px) !important; /* ←ここで上下を合わせる */
    }
  }

  /* ================================
   ハンバーガーメニュー：中身の見た目改善
================================ */

  /* リストの点・余白を消す */
  .hamburger-menu__nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 1行（li）に余白 */
  .hamburger-menu__nav li {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* リンクを“ボタンっぽく” */
  .hamburger-menu__nav a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    padding: 14px 14px !important;
    border-radius: 12px !important;

    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;

    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;

    transition: transform 0.12s ease, background 0.12s ease,
      border-color 0.12s ease !important;
  }

  /* 押したくなるホバー */
  .hamburger-menu__nav a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    transform: translateY(-1px) !important;
  }

  /* アイコンの見た目を統一（丸背景＋中央揃え） */
  .hamburger-menu__nav a i {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;

    font-size: 16px !important;
    color: #fff !important;
    flex: 0 0 auto !important;
  }

  /* メニュー全体の余白と“見出し感” */
  .hamburger-menu__inner {
    padding: 18px 16px 20px !important;
  }

  /* もしメニュー上部に詰まり感があるなら */
  .hamburger-menu__nav {
    display: grid !important;
    gap: 10px !important;
    margin-top: 6px !important;
  }

  /* 下のアクションエリアも“押しやすく” */
  .hamburger-menu__actions {
    margin-top: 16px !important;
    display: grid !important;
    gap: 10px !important;
  }

  .hamburger-menu__btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;

    padding: 14px 14px !important;
    border-radius: 12px !important;
    text-decoration: none !important;

    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .hamburger-menu__btn i {
    width: 34px !important;
    height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  /* CTAは少し強調（好みで） */
  .hamburger-menu__btn--primary {
    background: rgba(255, 0, 0, 0.22) !important;
    border-color: rgba(255, 0, 0, 0.35) !important;
  }

  /* =================================
   SP：全面メニュー＋右上×
================================= */
  @media (max-width: 768px) {
    /* メニューは“画面全体”を使う */
    .hamburger-menu {
      position: fixed !important;
      inset: 0 !important;
      z-index: 2147483646 !important;

      visibility: hidden !important;
      pointer-events: none !important;
    }

    /* ここで全面の黒背景 */
    .hamburger-menu::before {
      content: "" !important;
      position: absolute !important;
      inset: 0 !important;
      background: rgba(0, 0, 0, 0.92) !important;
      opacity: 0 !important;
      transition: opacity 0.18s ease !important;
    }

    /* パネルを“全面コンテナ”として使う（左スライドやめる） */
    .hamburger-menu__inner {
      position: relative !important;
      width: 100% !important;
      max-width: none !important;
      height: 100% !important;

      background: transparent !important; /* 背景は ::before に任せる */
      padding: 92px 18px 24px !important; /* 上は×と余白ぶん */
      overflow-y: auto !important;

      transform: none !important;
    }

    /* 開いた状態 */
    body.menu-open .hamburger-menu {
      visibility: visible !important;
      pointer-events: auto !important;
    }
    body.menu-open .hamburger-menu::before {
      opacity: 1 !important;
    }

    /* 右上の×ボタン */
    .menu-close {
      position: fixed !important;
      top: 14px !important;
      right: 14px !important;

      width: 52px !important;
      height: 52px !important;

      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
      border-radius: 12px !important;

      cursor: pointer !important;
      z-index: 2147483647 !important;
    }

    /* ×の2本線 */
    .menu-close span {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;

      width: 22px !important;
      height: 2px !important;
      background: #fff !important;
      border-radius: 2px !important;
      transform-origin: center !important;
    }
    .menu-close span:nth-child(1) {
      transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .menu-close span:nth-child(2) {
      transform: translate(-50%, -50%) rotate(-45deg) !important;
    }

    /* 開いてる間は右上の≡（ハンバーガー）を消す（邪魔なら） */
    body.menu-open button.hamburger {
      opacity: 0 !important;
      pointer-events: none !important;
    }
  }
  @media (max-width: 768px) {
    .menu-close {
      display: block !important;
      position: fixed !important;
      top: 14px !important;
      right: 14px !important;

      width: 52px !important;
      height: 52px !important;

      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
      border-radius: 12px !important;

      z-index: 2147483648 !important; /* ← これで絶対勝つ */
      cursor: pointer !important;
    }

    .menu-close span {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      width: 22px !important;
      height: 2px !important;
      background: #fff !important;
      border-radius: 2px !important;
    }
    .menu-close span:nth-child(1) {
      transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .menu-close span:nth-child(2) {
      transform: translate(-50%, -50%) rotate(-45deg) !important;
    }
  }
  @media (max-width: 768px) {
    .menu-close {
      display: block !important;
      position: fixed !important;
      top: 14px !important;
      right: 14px !important;

      width: 52px !important;
      height: 52px !important;

      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
      border-radius: 12px !important;

      z-index: 2147483648 !important;
      cursor: pointer !important;
    }

    /* ×を疑似要素で描く（span不要） */
    .menu-close::before,
    .menu-close::after {
      content: "" !important;
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      width: 22px !important;
      height: 2px !important;
      background: #fff !important;
      border-radius: 2px !important;
      transform-origin: center !important;
    }
    .menu-close::before {
      transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .menu-close::after {
      transform: translate(-50%, -50%) rotate(-45deg) !important;
    }
  }
  /* ===== menu-close 強制可視（切り分け用）===== */
  .menu-close {
    display: block !important;
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    width: 80px !important;
    height: 80px !important;
    background: red !important; /* ←絶対わかる */
    border: 3px solid #fff !important;
    z-index: 999999999 !important; /* ←絶対勝つ */
  }
  .menu-close::before,
  .menu-close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 46px !important;
    height: 6px !important;
    background: #fff !important;
  }
  .menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }
  .menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .menu-close {
    position: fixed !important;
    top: 14px !important; /* ← ロゴ帯の中央に合わせる */
    right: 14px !important;

    width: 40px !important;
    height: 40px !important;

    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 8px !important;

    color: #fff !important;
    font-size: 26px !important;
    line-height: 1 !important;

    z-index: 2147483647 !important;
  }
  .hamburger-menu__inner {
    padding-top: 70px !important;
  }

  .menu-close {
    position: fixed;
    top: 16px;
    right: 16px;

    width: 44px;
    height: 44px;

    z-index: 1000000;
  }
  /* ================================
   ハンバーガーメニュー：閉じるボタン修正
================================ */

  /* 既存の.menu-closeスタイルを全て上書き */
  .menu-close {
    display: block !important;
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;

    width: 52px !important;
    height: 52px !important;

    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 8px !important;

    cursor: pointer !important;
    z-index: 2147483648 !important;

    /* ボタン自体を中央配置の基準点に */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ×印を疑似要素で描画 */
  .menu-close::before,
  .menu-close::after {
    content: "" !important;
    position: absolute !important;

    width: 24px !important;
    height: 3px !important;

    background: #fff !important;
    border-radius: 2px !important;
  }

  .menu-close::before {
    transform: rotate(45deg) !important;
  }

  .menu-close::after {
    transform: rotate(-45deg) !important;
  }

  /* ホバー時の見た目改善 */
  .menu-close:hover {
    background: rgba(230, 0, 18, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
  }

  /* 既存のspan要素は非表示（疑似要素で描画するため） */
  .menu-close span {
    display: none !important;
  }

  /* メニューが開いている時だけ表示 */
  .menu-close {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease !important;
  }

  body.menu-open .menu-close {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  /* ================================
   ハンバーガーメニュー：閉じるボタン（シンプル版）
================================ */
  @media (max-width: 768px) {
    .menu-close {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;

      position: fixed !important;
      top: 16px !important;
      right: 16px !important;

      width: 52px !important;
      height: 52px !important;

      background: rgba(0, 0, 0, 0.8) !important;
      border: 2px solid rgba(255, 255, 255, 0.6) !important;
      border-radius: 8px !important;

      cursor: pointer !important;
      z-index: 2147483648 !important;

      padding: 0 !important;
    }

    .menu-close::before,
    .menu-close::after {
      content: "" !important;
      position: absolute !important;
      width: 24px !important;
      height: 3px !important;
      background: #fff !important;
      border-radius: 2px !important;
    }

    .menu-close::before {
      transform: rotate(45deg) !important;
    }

    .menu-close::after {
      transform: rotate(-45deg) !important;
    }

    .menu-close span {
      display: none !important;
    }
  }
  /* ================================
   ハンバーガーメニュー：閉じるボタン（最優先表示）
================================ */
  @media (max-width: 768px) {
    /* メニュー全体のz-index階層を整理 */
    .hamburger-menu {
      z-index: 999998 !important;
    }

    .hamburger-menu__inner {
      z-index: 999999 !important;
      position: relative !important;
    }

    /* 閉じるボタンを最前面に */
    .menu-close {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;

      position: fixed !important;
      top: 16px !important;
      right: 16px !important;

      width: 52px !important;
      height: 52px !important;

      background: rgba(230, 0, 18, 0.95) !important; /* 赤背景で目立たせる */
      border: 2px solid rgba(255, 255, 255, 0.9) !important;
      border-radius: 8px !important;

      cursor: pointer !important;
      z-index: 9999999 !important; /* 最高値 */

      padding: 0 !important;
      margin: 0 !important;

      /* 他の要素に邪魔されないように */
      pointer-events: auto !important;
      isolation: isolate !important;
    }

    /* ×印 */
    .menu-close::before,
    .menu-close::after {
      content: "" !important;
      position: absolute !important;
      width: 26px !important;
      height: 3px !important;
      background: #fff !important;
      border-radius: 2px !important;
      pointer-events: none !important;
    }

    .menu-close::before {
      transform: rotate(45deg) !important;
    }

    .menu-close::after {
      transform: rotate(-45deg) !important;
    }

    /* span要素は完全に消す */
    .menu-close span {
      display: none !important;
      visibility: hidden !important;
    }

    /* SP固定ヘッダーより前に出す */
    .sp-header {
      z-index: 999997 !important;
    }

    /* ハンバーガーボタンも調整 */
    button.hamburger {
      z-index: 999997 !important;
    }

    /* メニューが開いてない時は閉じるボタンを完全に隠す */
    body:not(.menu-open) .menu-close {
      display: none !important;
    }
  }

  /* ================================
   閉じるボタン：見た目だけ修正（機能は触らない）
   目標：黒丸＋白い×（画像の見た目）
================================ */
  @media (max-width: 768px) {
    /* 1) ボタン本体：黒い丸 */
    .menu-close {
      /* 既存の位置/表示/クリックはそのまま。見た目だけ上書き */
      width: 52px !important;
      height: 52px !important;
      border-radius: 999px !important;

      background: rgba(0, 0, 0, 0.92) !important;
      border: 0 !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45) !important;

      display: flex !important;
      align-items: center !important;
      justify-content: center !important;

      padding: 0 !important;
      margin: 0 !important;

      /* iOSの変な見た目対策 */
      -webkit-appearance: none !important;
      appearance: none !important;
    }

    /* 2) もし以前のCSSで span を消してない場合でも、線を確実に出す */
    .menu-close span {
      display: none !important;
    }

    /* 3) ×印（白く太め、端が丸い） */
    .menu-close::before,
    .menu-close::after {
      content: "" !important;
      position: absolute !important;

      width: 28px !important;
      height: 3px !important;
      background: rgba(255, 255, 255, 0.95) !important;
      border-radius: 999px !important;

      /* 線がボタン中央に来るように */
      left: 50% !important;
      top: 50% !important;
      transform-origin: center !important;
    }
    .menu-close::before {
      transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .menu-close::after {
      transform: translate(-50%, -50%) rotate(-45deg) !important;
    }

    /* 4) 押した時の軽いフィードバック（任意） */
    .menu-close:active {
      transform: scale(0.98) !important;
    }
  }
  /* toTop（右下の↑） */
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .to-top i {
    font-size: 18px;
  }

  .to-top span {
    font-size: 9px;
  }
}

/* お問い合わせページ：内側レイアウト */
.contact-page-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px;
}

/* トップページ以外の共通ヘッダー */
.common-header {
  background: #000;
  color: #fff;
}

.common-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* スマホ版のヘッダーの高さを変更 */
@media (max-width: 768px) {
  .common-header {
    height: 70px; /* 現在は50pxくらい？これを大きくする */
  }

  .common-header__inner {
    height: 70px; /* 同じ値に */
  }

  .common-header__logo img {
    width: 160px; /* お好みのサイズ */
    height: auto;
  }
}
.common-header__nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* パンくずリストの設定 */
.breadcrumb {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.85;
  color: #fff; /* ← 追加：これが本命 */
}

.breadcrumb__link {
  color: inherit; /* ← 変更：#fff固定じゃなく継承 */
  text-decoration: none;
}

.breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.6;
}

.breadcrumb__current {
  opacity: 0.9;
}

/* 下層ページ（固定ページ/投稿）だけ：タイトルを適正化 */
body:not(.home) .entry-title {
  font-size: 36px; /* ← 好みで 32〜42 くらい */
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}

/* 下層ページ：本文全体の左右余白＆幅を作る */
body:not(.home) .site-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 60px; /* 上はヘッダー分も含めて少し多め */
}

body:not(.home) .breadcrumb {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.85;
}

/* WPForms: プライバシーポリシーリンクだけ青寄りに */
.wpforms-container .wpforms-field-description a,
.wpforms-container .wpforms-field-description a.pp-link {
  color: #9ecbff !important;
  text-decoration: underline;
}

/* ホバー時に少しだけ明るく */
.wpforms-container .wpforms-field-description a:hover {
  color: #cfe5ff !important;
}

/* 1) フォーム（WPForms）の外側の下余白をゼロに */
.wpforms-container,
.wpforms-container-full,
.wpforms-container .wpforms-form {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 2) ページ本文の最後のブロックの下余白をゼロに（これが効くこと多い） */
.entry-content > :last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 3) フッターの上余白を少し詰める（最終調整） */
.site-footer {
  margin-top: 0 !important;
  padding-top: 24px !important; /* 24〜40で好みに調整 */
}

/* =========================
  TRAINER（見本寄せ：画像上 + 下段2カラム）
  前提：外側=trainer-card / 左箱=name-box
========================= */

.trainer-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
  background: #fff;
}

/* --- 画像：見本みたいに「小さめで中央」 --- */
.trainer-card .wp-block-image {
  margin: 0 0 28px;
  text-align: center; /* 画像を中央に */
}

.trainer-card .wp-block-image img {
  display: inline-block;
  width: 100%;
  max-width: 560px; /* ←ここが重要：見本っぽいサイズ */
  height: auto;
  border-radius: 0; /* 見本は角丸ほぼ無し */
}

/* --- 下段：2カラム --- */
.trainer-card .wp-block-columns {
  margin: 0;
  gap: 26px;
  align-items: flex-start;
}

/* PC時：比率（左を少し広めにすると見本に近い） */
@media (min-width: 782px) {
  .trainer-card .wp-block-columns > .wp-block-column:first-child {
    flex-basis: 38%;
  }
  .trainer-card .wp-block-columns > .wp-block-column:last-child {
    flex-basis: 62%;
  }
}

/* --- 左の箱（見本のベージュ＋下線） --- */
.name-box {
  background: #f5f5f5;
  padding: 22px 22px 18px;
}

/* 名前（最初の段落を名前として扱う） */
.name-box > p:first-child {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  position: relative;
  padding-bottom: 12px; /* 下線用の余白 */
}

/* 名前（最初の段落） */
.name-box > p:first-child {
  position: relative; /* ← これが無いと線は出ない */
  padding-bottom: 12px;
}

/* 名前の下の横線 */
.name-box > p:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.55);
}

/* 経歴（2つ目以降） */
.name-box > p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #111;
}
.name-box > p:last-child {
  margin-bottom: 0;
}

/* --- 右本文（見本の読みやすさ） --- */
.trainer-card .wp-block-columns > .wp-block-column:last-child p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.95;
  color: #111;
}
.trainer-card .wp-block-columns > .wp-block-column:last-child p:last-child {
  margin-bottom: 0;
}

/* --- SP：縦並び（箱→本文の順） --- */
@media (max-width: 781px) {
  .trainer-card {
    padding: 28px 0;
  }
  .trainer-card .wp-block-columns {
    gap: 14px;
  }
  .trainer-card .wp-block-image img {
    max-width: 100%;
  }
  .name-box {
    padding: 18px;
  }
  .name-box > p:first-child {
    font-size: 22px;
  }
}

/* =========================
  出現アニメ（見本：画像→少し遅れてテキスト）
  ※ページ表示時に1回だけ
========================= */

@media (prefers-reduced-motion: no-preference) {
  /* 初期状態 */
  .trainer-card .wp-block-image img,
  .trainer-card .name-box,
  .trainer-card .wp-block-columns > .wp-block-column:last-child {
    opacity: 0;
    transform: translateY(10px);
  }

  /* 画像：左からスッ */
  .trainer-card .wp-block-image img {
    transform: translateX(-18px);
    animation: trainerSlideIn 700ms ease-out forwards;
  }

  /* 下段：ワンテンポ遅れ（ほぼ同時） */
  .trainer-card .name-box {
    animation: trainerFadeUp 650ms ease-out forwards;
    animation-delay: 180ms;
  }
  .trainer-card .wp-block-columns > .wp-block-column:last-child {
    animation: trainerFadeUp 650ms ease-out forwards;
    animation-delay: 240ms;
  }

  @keyframes trainerSlideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes trainerFadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
/* アニメ中の一瞬のはみ出し（縦スクロール）を防ぐ */
.trainer-card {
  overflow: clip; /* 対応ブラウザならこれが最強 */
}

/* clipが効かない環境向けの保険 */
@supports not (overflow: clip) {
  .trainer-card {
    overflow: hidden;
  }
}
/* 名前（最初の要素） */
.name-box > .wp-block-group__inner-container > *:first-child {
  position: relative;
  margin: 0 0 12px;
  padding-bottom: 12px;
}

/* 名前の下線 */
.name-box > .wp-block-group__inner-container > *:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.55);
}
/* 右カラム：背景は付けない */
.trainer-card .wp-block-columns > .wp-block-column:last-child {
  background: none;
}

/* 右テキスト：可読性を作る */
.trainer-card .wp-block-columns > .wp-block-column:last-child p {
  color: #f0f0f0; /* 真っ白にしないのがポイント */
  font-size: 15px;
  line-height: 1.95;
  max-width: 48ch; /* 行幅制御：超重要 */
}
.trainer-card .wp-block-columns > .wp-block-column:last-child p {
  max-width: none !important;
}
.name-box {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.trainer-card .wp-block-columns > .wp-block-column:last-child {
  padding-left: 4px;
}

/* =========================
  Privacy Policy レイアウト調整
========================= */

.privacy-policy {
  max-width: 900px; /* 横幅を読みやすく制限 */
  margin: 0 auto; /* 中央寄せ */
  padding: 80px 24px 100px; /* 上下にしっかり余白 */
}

/* 見出し（h2相当：個人情報の利用目的など） */
.privacy-policy h2,
.privacy-policy h3 {
  margin-top: 56px;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

/* 最初の見出しだけ詰める */
.privacy-policy h2:first-of-type,
.privacy-policy h3:first-of-type {
  margin-top: 32px;
}

/* 段落 */
.privacy-policy p {
  margin: 0 0 18px;
  line-height: 1.9;
  font-size: 15px;
  opacity: 0.95;
}

/* リスト */
.privacy-policy ul {
  margin: 12px 0 24px 1.2em;
}

.privacy-policy li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* セクションの区切り感（うっすら） */
.privacy-policy h2::before,
.privacy-policy h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 12px;
}

.privacy-back {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.privacy-back p {
  margin-bottom: 16px;
  color: #ccc;
  font-size: 14px;
}

.privacy-back__link {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

.privacy-back__link:hover {
  opacity: 0.7;
}

/* =========================
   CONTACT リンクボタンの統一スタイル（Footer対応版）
========================= */

/* 全てのcontactリンクに共通の基本スタイル */
a[href*="contact"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 20px !important;
  min-height: 48px !important;
  border-radius: 9999px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

/* ヘッダーエリア内のcontactボタン */
.header-actions a[href*="contact"],
.mv__inner a[href*="contact"],
.sticky-header a[href*="contact"] {
  background: rgba(40, 60, 100, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.header-actions a[href*="contact"]:hover,
.mv__inner a[href*="contact"]:hover,
.sticky-header a[href*="contact"]:hover {
  background: rgba(50, 70, 110, 0.9) !important;
  transform: translateY(-1px) !important;
}

/* MVセクションのメインCTAボタン */
.mv__content a[href*="contact"] {
  background: #e60012 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 18px 26px !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
  margin-top: 40px !important; /* ← ここで上余白を追加 */
}

.mv__content a[href*="contact"]:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

/* CTAセクション内のボタン */
#cta a[href*="contact"],
#cta-trial a[href*="contact"],
.cta a[href*="contact"] {
  background: #e60012 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  min-height: 52px !important;
  padding: 0 26px !important;
  border-radius: 12px !important;
}

#cta a[href*="contact"]:hover,
#cta-trial a[href*="contact"]:hover,
.cta a[href*="contact"]:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

/* Footer内のcontactボタン（重要！） */
.footer-cta-actions a[href*="contact"],
.site-footer a[href*="contact"] {
  background: #e60012 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  min-height: 52px !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(230, 0, 18, 0.18) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.footer-cta-actions a[href*="contact"]:hover,
.site-footer a[href*="contact"]:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

/* SPメニュー内のボタン */
.hamburger-menu__nav a[href*="contact"],
.hamburger-menu__actions a[href*="contact"] {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 14px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hamburger-menu__nav a[href*="contact"]:hover,
.hamburger-menu__actions a[href*="contact"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  transform: translateY(-1px) !important;
}

/* 矢印アイコンの調整 */
a[href*="contact"] .mv__cta-arrow,
a[href*="contact"] .cta__arrow {
  font-size: 20px !important;
  line-height: 1 !important;
  margin-left: 4px !important;
}

/* SP対応 */
@media (max-width: 768px) {
  a[href*="contact"] {
    font-size: 13px !important;
    padding: 0 16px !important;
    min-height: 44px !important;
  }

  .mv__content a[href*="contact"] {
    padding: 16px 20px !important;
    width: min(520px, 92vw) !important;
    margin-top: 32px !important; /* SPでの上余白 */
  }

  #cta a[href*="contact"],
  #cta-trial a[href*="contact"],
  .footer-cta-actions a[href*="contact"] {
    width: 100% !important;
  }
}

/* ===== 投稿下部の不要要素を非表示 ===== */

/* カテゴリ・タグ・編集リンク */
.entry-footer,
.cat-links,
.tags-links,
.edit-link {
  display: none !important;
}

/* Previous / Next ナビ */
.post-navigation,
.nav-links,
.nav-previous,
.nav-next {
  display: none !important;
}

/* コメントエリア一式 */
.comments-area,
.comment-respond,
.comments-title,
.comment-list,
.comment-form,
.logged-in-as {
  display: none !important;
}

/* ✅ 腹筋割(169) + コースページ(246/249/251) だけ横幅を統一 */
body.page-id-169 .entry-content > *,
body.page-id-246 .entry-content > *,
body.page-id-249 .entry-content > *,
body.page-id-251 .entry-content > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* ✅ 先頭のヒーロー画像を枠いっぱいにする */
body.page-id-169 .entry-content figure.wp-block-image,
body.page-id-169 .entry-content .wp-block-image,
body.page-id-169 .entry-content img,
body.page-id-246 .entry-content figure.wp-block-image,
body.page-id-246 .entry-content .wp-block-image,
body.page-id-246 .entry-content img,
body.page-id-249 .entry-content figure.wp-block-image,
body.page-id-249 .entry-content .wp-block-image,
body.page-id-249 .entry-content img,
body.page-id-251 .entry-content figure.wp-block-image,
body.page-id-251 .entry-content .wp-block-image,
body.page-id-251 .entry-content img {
  max-width: 100%;
}

body.page-id-169 .entry-content figure.wp-block-image,
body.page-id-169 .entry-content .wp-block-image,
body.page-id-246 .entry-content figure.wp-block-image,
body.page-id-246 .entry-content .wp-block-image,
body.page-id-249 .entry-content figure.wp-block-image,
body.page-id-249 .entry-content .wp-block-image,
body.page-id-251 .entry-content figure.wp-block-image,
body.page-id-251 .entry-content .wp-block-image {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-169 .entry-content .wp-block-image img,
body.page-id-246 .entry-content .wp-block-image img,
body.page-id-249 .entry-content .wp-block-image img,
body.page-id-251 .entry-content .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ラッパー：幅/レイアウトには干渉しない */
.hero-block {
  position: relative;
}

/* 画像：縮めない・崩さない（今の表示を維持） */
.hero-block .hero-img {
  display: block;
}

/* 文字ボックスだけ中央へ */
.hero-block .hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  /* 透明感：もっと透明に */
  background: rgba(0, 0, 0, 0.28);
  padding: 28px 42px;
  border-radius: 10px;

  color: #fff;
  text-align: center;
  max-width: min(720px, 92%);
}

/* 見出しをかなり大きく */
.hero-block .hero-text h2 {
  margin: 0 0 10px;
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* サブ */
.hero-block .hero-text p {
  margin: 0;
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.95;
}

.hero-block .hero-text h2 {
  margin: 0 0 12px;

  /* サイズ：もう一段上げる */
  font-size: clamp(42px, 5.8vw, 68px);
  font-weight: 800;
  letter-spacing: 0.05em;

  /* 立体感 */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.35);
}
.hero-block .hero-text h2 {
  margin: 0 0 12px;

  /* まずは1行固定 */
  white-space: nowrap;

  /* もし長くても崩さない（はみ出し防止） */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;

  /* サイズ：大きいまま（ただし安全に） */
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 800;

  /* 字間が広いと折れやすいので弱める */
  letter-spacing: 0.02em;

  /* 目立たせる：シャドー */
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), 0 8px 22px rgba(0, 0, 0, 0.35);
}

.hero-block .hero-text p {
  display: inline-block;
  margin: 0;

  padding: 6px 16px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.22); /* ← うっすら色 */
  color: #fff;

  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.03em;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hero-block .hero-text p {
  background: rgba(220, 38, 38, 0.22); /* くすみ赤 */
  color: #fff;
}

/* =========================
   こんな方におすすめ（完成版）
========================= */
.recommend-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 28px 32px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* 見出し */
.recommend-section h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* リスト */
.recommend-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.recommend-section li {
  position: relative;
  padding-left: 30px;
  line-height: 1.7;
  opacity: 0.95;
}

.recommend-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-weight: 900;
  opacity: 0.85;
}

/* 説明文 */
.recommend-section .recommend-note {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

/* CTAエリア */
.recommend-section .recommend-cta {
  margin-top: 18px;
  padding: 20px 18px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: center;
}

/* ボタン */
.recommend-section .recommend-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;

  transition: transform 0.15s ease, background 0.15s ease;
}

.recommend-section .recommend-cta .wp-block-button__link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

/* SP微調整 */
@media (max-width: 768px) {
  .recommend-section {
    margin: 40px 16px;
    padding: 22px 18px;
  }
}
/* CTAボタン：赤に統一 */
.recommend-section .recommend-cta .wp-block-button__link {
  background: #e53935; /* 単色でキレよく */
  border: none;
  color: #fff;

  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;

  box-shadow: none; /* ← にじみ削除 */
  transition: background 0.15s ease, transform 0.15s ease;
}

.recommend-section .recommend-cta .wp-block-button__link:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

.recommend-section .recommend-cta {
  background: none;
  border: none;
  padding: 0;
  margin-top: 22px;
}
/* CTAブロック全体：上に余白 */
.recommend-section .recommend-cta {
  margin-top: 26px; /* 説明文→CTAの距離 */
}

/* ボタンの下に余白を作る */
.recommend-section .recommend-cta .wp-block-button {
  margin-bottom: 14px; /* ボタン→サブテキスト */
}

/* サブテキスト：上余白をゼロにして、行間も少し */
.recommend-section .cta-subtext {
  font-size: 11px; /* ← ここまで落としてOK */
  line-height: 1.5;
  opacity: 0.55;

  margin-top: 0;
  text-align: center;
}
/* ふわっと出る（初期） */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

/* 表示状態 */
.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ほんの少しだけ時間差（上品） */
.delay-1 {
  transition-delay: 0.06s;
}
.delay-2 {
  transition-delay: 0.14s;
}
.delay-3 {
  transition-delay: 0.22s;
}

/* 動きを好まない人には無効化 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* transformを既に使ってる（絶対配置など）要素専用 */
.reveal-abs {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.reveal-abs.is-inview {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.cover-competition {
  position: relative;
}

.cover-competition::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.recommend-section .recommend-cta .wp-block-button__link {
  background: #e53935;
  border: none;
  color: #fff;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.recommend-section .recommend-cta .wp-block-button__link:hover {
  background: #ff5252; /* 明るい赤に変える（暗くするより目立つ） */
  transform: translateY(-3px) scale(1.03); /* 浮く + 少し大きく */
  box-shadow: 0 8px 20px rgba(230, 0, 18, 0.4); /* 影を強く */
}

.recommend-section .recommend-cta .wp-block-button__link:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
/* =========================
   MENU：ホバー時に画像が拡大
========================= */

/* カード全体にoverflow: hiddenを設定（画像がはみ出さないように） */
.section--menu .menu-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

/* リンク全体のホバー効果（下線を消す） */
.section--menu .menu-card:hover {
  text-decoration: none;
}

/* 画像エリアのホバー時に拡大 */
.section--menu .menu-card__img {
  transition: transform 0.35s ease;
  overflow: hidden;
}

.section--menu .menu-card:hover .menu-card__img {
  transform: scale(1.08); /* 8%拡大 */
}

/* 画像自体も滑らかに */
.section--menu .menu-card__img img {
  transition: transform 0.35s ease;
}

.section--menu .menu-card:hover .menu-card__img img {
  transform: scale(1.05); /* さらに5%拡大で合計13%くらいの拡大感 */
}

/* タイトルの下線を消す */
.section--menu .menu-card__title {
  text-decoration: none !important;
}

/* リンクの下線を完全に消す */
.section--menu a.menu-card,
.section--menu a.menu-card:hover,
.section--menu a.menu-card:focus {
  text-decoration: none !important;
}

/* カード全体がふわっと浮く効果（オプション） */
.section--menu .menu-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section--menu .menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* =========================
   TRAINERS：ホバー時に画像が拡大
========================= */

/* カード全体の設定 */
#trainers .person {
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* リンク全体のホバー効果（下線を消す） */
#trainers .person__link {
  text-decoration: none !important;
  display: block;
}

#trainers .person__link:hover {
  text-decoration: none !important;
}

/* 画像エリアのホバー時に拡大 */
#trainers .person__img {
  transition: transform 0.35s ease;
  overflow: hidden;
}

#trainers .person:hover .person__img {
  transform: scale(1.08);
}

/* 画像自体も滑らかに */
#trainers .person__img img {
  transition: transform 0.35s ease;
}

#trainers .person:hover .person__img img {
  transform: scale(1.05);
}

/* 名前の下線を消す */
#trainers .person__name {
  text-decoration: none !important;
}

/* カード全体がふわっと浮く効果 */
#trainers .person:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* リンク色の調整（必要に応じて） */
#trainers .person__link,
#trainers .person__link:hover,
#trainers .person__link:focus {
  color: inherit;
  text-decoration: none !important;
}
/* =========================
   CTA ボタン：ホバー時の効果強化
========================= */

/* 赤いボタン（プライマリ） */
#cta .cta__btn--primary,
#cta-trial .trial-cta__btn--primary,
.trial-cta__actions .header-action {
  transition: all 0.25s ease;
}

#cta .cta__btn--primary:hover,
#cta-trial .trial-cta__btn--primary:hover,
.trial-cta__actions .header-action:hover {
  background: #ff5252 !important; /* 明るい赤 */
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

#cta .cta__btn--primary:active,
#cta-trial .trial-cta__btn--primary:active,
.trial-cta__actions .header-action:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.3) !important;
}

/* ゴーストボタン（電話で相談する） */
#cta .cta__btn--ghost,
#cta-trial .trial-cta__btn--ghost {
  transition: all 0.25s ease;
}

#cta .cta__btn--ghost:hover,
#cta-trial .trial-cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1) !important;
}

#cta .cta__btn--ghost:active,
#cta-trial .trial-cta__btn--ghost:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.08) !important;
}

/* 矢印の動き（オプション） */
#cta .cta__arrow,
.trial-cta__actions .header-action .mv__cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

#cta .cta__btn:hover .cta__arrow,
.trial-cta__actions .header-action:hover .mv__cta-arrow {
  transform: translateX(4px);
}
/* =========================
   VOICES：ホバー時にカードが拡大
========================= */

/* カード全体の設定 */
#voices .review {
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ホバー時の効果 */
#voices .review:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.09) !important;
}

/* アバター画像も少し拡大 */
#voices .review__avatar {
  transition: transform 0.3s ease;
}

#voices .review:hover .review__avatar {
  transform: scale(1.08);
}

/* 星も少し強調 */
#voices .review__stars {
  transition: color 0.3s ease, transform 0.3s ease;
}

#voices .review:hover .review__stars {
  color: #ffd700; /* より明るいゴールド */
  transform: scale(1.05);
}

/* 「続きを読む」リンクの効果 */
#voices .review__link {
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
}

#voices .review:hover .review__link {
  color: #6dc3ff;
  border-bottom-color: #6dc3ff;
}

/* Googleアイコンも反応 */
#voices .review__gmark {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#voices .review:hover .review__gmark {
  transform: scale(1.1);
  opacity: 1;
}
/* =========================
   BLOG：ホバー時にカードが拡大
========================= */

/* カード全体の設定 */
.blog-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* リンク全体のホバー効果（下線を消す） */
.blog-card__link {
  text-decoration: none !important;
  display: block;
}

.blog-card__link:hover {
  text-decoration: none !important;
}

/* ホバー時の効果 */
.blog-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.07) !important;
}

/* サムネイル画像の拡大 */
.blog-card__thumb {
  overflow: hidden;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__thumb {
  transform: scale(1.08);
}

.blog-card__thumb img {
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__thumb img {
  transform: scale(1.05);
}

/* タイトルの変化 */
.blog-card__title {
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: #9ecbff;
}

/* 日付の変化 */
.blog-card__date {
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-card__date {
  opacity: 1;
}

/* =========================
   BLOG：「BLOG一覧を見る」ボタン強化
========================= */

.blog-more .cta__btn--ghost {
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-more .cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15) !important;
}

.blog-more .cta__btn--ghost:active {
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1) !important;
}
/* =========================
   CTA-TRIAL：「初回体験を申し込む」ボタン強化
========================= */

#cta-trial .trial-cta__actions .header-action {
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2);
}

#cta-trial .trial-cta__actions .header-action:hover {
  background: #ff5252 !important; /* 明るい赤 */
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 14px 32px rgba(230, 0, 18, 0.45) !important;
  filter: brightness(1.1) !important;
}

#cta-trial .trial-cta__actions .header-action:active {
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(230, 0, 18, 0.35) !important;
}

/* 矢印がある場合の動き（もしあれば） */
#cta-trial .trial-cta__actions .header-action .mv__cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

#cta-trial .trial-cta__actions .header-action:hover .mv__cta-arrow {
  transform: translateX(6px);
}

/* ふわっと出る（初期） */
.reveal {
  opacity: 0;
  transform: translateY(30px); /* 12px → 30px（より下から） */
  transition: opacity 0.9s ease, transform 0.9s ease; /* 0.55s → 0.9s（ゆっくり） */
  will-change: opacity, transform;
}

/* 表示状態 */
.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ほんの少しだけ時間差（上品） */
.delay-1 {
  transition-delay: 0.15s; /* 0.06s → 0.15s */
}
.delay-2 {
  transition-delay: 0.3s; /* 0.14s → 0.3s */
}
.delay-3 {
  transition-delay: 0.45s; /* 0.22s → 0.45s */
}

/* 動きを好まない人には無効化 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
transform: translateY(50px); /* さらに下から */
transition: opacity 1.2s ease, transform 1.2s ease; /* 1.2秒 */

/* =========================
   ページ読み込み時の制御（超重要）
========================= */

/* ページ読み込み完了までbodyを固定 */
body.is-loading {
  overflow: hidden !important;
}

/* reveal要素は最初完全に非表示 */
.reveal {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: opacity 0.9s ease, transform 0.9s ease;
  visibility: hidden; /* これを追加 */
}

.reveal.is-inview {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible;
}

/* スクロールバーのガタつき防止 */
html {
  overflow-y: scroll !important;
  width: 100vw;
}

body {
  overflow-x: hidden !important;
  width: 100%;
}
/* プライバシーポリシーページのみ：スクロールバーを出さない */
body.page-id-XXX * {
  overflow: visible !important;
}

/* プライバシーポリシーページ（ID:124）：スクロールバーを絶対に出さない */
body.page-id-124 * {
  overflow: visible !important;
}

body.page-id-124 .entry-content {
  overflow: visible !important;
}

body.page-id-124 article {
  overflow: visible !important;
}
/* プライバシーポリシーページ：スクロールバー完全削除 */
body.page-id-124,
body.page-id-124 *,
body.page-id-124 .site,
body.page-id-124 .site-content,
body.page-id-124 main,
body.page-id-124 article,
body.page-id-124 .entry-content,
body.page-id-124 .privacy-policy {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}
/* =========================
   全ボタン統一ホバー（完全版）
   動き：ふわっと浮く + 少し拡大 + 影が強くなる
========================= */

/* 全てのボタン・リンクボタンに共通スタイル */
.header-action,
.mv__cta,
.cta__btn,
.trial-cta__btn,
.footer-cta-primary,
.footer-cta-secondary,
.blog-more .cta__btn,
.recommend-section .wp-block-button__link,
.hamburger-menu__btn,
a[href*="contact"] {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease !important;
}

/* ホバー時の統一動作 */
.header-action:hover,
.mv__cta:hover,
.cta__btn:hover,
.trial-cta__btn:hover,
.footer-cta-primary:hover,
.footer-cta-secondary:hover,
.blog-more .cta__btn:hover,
.recommend-section .wp-block-button__link:hover,
.hamburger-menu__btn:hover,
a[href*="contact"]:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3) !important;
}

/* 赤ボタン専用のホバー */
.mv__cta:hover,
.cta__btn--primary:hover,
.trial-cta__btn--primary:hover,
.footer-cta-primary:hover,
.recommend-section .wp-block-button__link:hover,
a[href*="contact"]:hover {
  background: #ff5252 !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

/* ゴースト（枠線）ボタン専用のホバー */
.cta__btn--ghost:hover,
.trial-cta__btn--ghost:hover,
.footer-cta-secondary:hover,
.blog-more .cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15) !important;
}

/* ヘッダーアクション（青系）ボタンのホバー */
.header-action:hover,
.sticky-header__btn:hover {
  background: rgba(50, 70, 110, 0.9) !important;
  box-shadow: 0 12px 28px rgba(40, 60, 100, 0.3) !important;
}

/* 押した時（active）の動き */
.header-action:active,
.mv__cta:active,
.cta__btn:active,
.trial-cta__btn:active,
.footer-cta-primary:active,
.footer-cta-secondary:active,
.blog-more .cta__btn:active,
.recommend-section .wp-block-button__link:active,
.hamburger-menu__btn:active,
a[href*="contact"]:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* 矢印の動き（ボタン内にある場合） */
.mv__cta-arrow,
.cta__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.header-action:hover .mv__cta-arrow,
.header-action:hover .cta__arrow,
.mv__cta:hover .mv__cta-arrow,
.cta__btn:hover .cta__arrow {
  transform: translateX(4px);
}

/* SP対応 */
@media (max-width: 768px) {
  .header-action,
  .cta__btn,
  .trial-cta__btn,
  .footer-cta-primary,
  .footer-cta-secondary,
  a[href*="contact"] {
    font-size: 13px !important;
    padding: 0 16px !important;
    min-height: 44px !important;
  }

  .mv__content a[href*="contact"] {
    padding: 16px 20px !important;
    width: min(520px, 92vw) !important;
    margin-top: 32px !important;
  }

  #cta .cta__btn,
  #cta-trial .trial-cta__btn,
  .footer-cta-actions a {
    width: 100% !important;
  }
}

.mv__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 18px 26px;
  background: #e60012;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  /* ここを追加・修正 */
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.mv__cta:hover {
  background: #ff5252 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

.mv__cta:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.3) !important;
}
/* MV赤ボタン：超強制 */
.mv__content .mv__cta,
#mv .mv__cta {
  background: #e60012 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.mv__content .mv__cta:hover,
#mv .mv__cta:hover {
  background: #ff5252 !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
  filter: none !important;
}

.mv__content .mv__cta:active,
#mv .mv__cta:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.3) !important;
}

/* =========================
   全ボタン完全統一（最優先・上書き専用）
========================= */

/* 対象：サイト内の全てのボタン・リンクボタン */
.header-action,
.mv__cta,
.cta__btn,
.cta__btn--primary,
.cta__btn--ghost,
.trial-cta__btn,
.trial-cta__btn--primary,
.trial-cta__btn--ghost,
.footer-cta-primary,
.footer-cta-secondary,
.footer-cta-actions .header-action,
.blog-more .cta__btn,
.recommend-section .wp-block-button__link,
.hamburger-menu__btn,
.hamburger-menu__nav a,
.sticky-header__btn,
a[href*="contact"],
.menu-card,
.person,
.blog-card,
.review {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease, opacity 0.3s ease !important;
}

/* ホバー時：完全統一の動き */
.header-action:hover,
.mv__cta:hover,
.cta__btn:hover,
.cta__btn--primary:hover,
.cta__btn--ghost:hover,
.trial-cta__btn:hover,
.trial-cta__btn--primary:hover,
.trial-cta__btn--ghost:hover,
.footer-cta-primary:hover,
.footer-cta-secondary:hover,
.footer-cta-actions .header-action:hover,
.blog-more .cta__btn:hover,
.recommend-section .wp-block-button__link:hover,
.hamburger-menu__btn:hover,
.hamburger-menu__nav a:hover,
.sticky-header__btn:hover,
a[href*="contact"]:hover,
.menu-card:hover,
.person:hover,
.blog-card:hover,
.review:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3) !important;
}

/* 押した時：完全統一 */
.header-action:active,
.mv__cta:active,
.cta__btn:active,
.trial-cta__btn:active,
.footer-cta-primary:active,
.footer-cta-secondary:active,
.blog-more .cta__btn:active,
.recommend-section .wp-block-button__link:active,
a[href*="contact"]:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* 赤ボタンのホバー時の色変化 */
.mv__cta:hover,
.cta__btn--primary:hover,
.trial-cta__btn--primary:hover,
.footer-cta-primary:hover,
.recommend-section .wp-block-button__link:hover,
.mv__content .mv__cta:hover,
#cta-trial .header-action:hover {
  background: #ff5252 !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

/* ゴーストボタンのホバー時 */
.cta__btn--ghost:hover,
.trial-cta__btn--ghost:hover,
.footer-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

/* 青系ボタン（ヘッダー等）のホバー時 */
.header-action:hover,
.sticky-header__btn:hover {
  background: rgba(50, 70, 110, 0.9) !important;
  box-shadow: 0 12px 28px rgba(40, 60, 100, 0.4) !important;
}

/* 矢印の動き */
.mv__cta-arrow,
.cta__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.mv__cta:hover .mv__cta-arrow,
.cta__btn:hover .cta__arrow,
.header-action:hover .mv__cta-arrow {
  transform: translateX(4px);
}
/* 電話で相談する（ゴーストボタン）：白背景を追加 */
.cta__btn--ghost:hover,
.trial-cta__btn--ghost:hover,
.footer-cta-secondary:hover,
a[href*="tel:"]:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-4px) scale(1.02) !important;
}

/* CTA・Trial CTA内の全ボタンを赤に統一 */
#cta .header-action,
#cta .cta__btn,
#cta-trial .header-action,
#cta-trial .trial-cta__btn,
.cta__actions .header-action,
.trial-cta__actions .header-action {
  background: #e60012 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  padding: 0 26px !important;
  min-height: 52px !important;
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

#cta .header-action:hover,
#cta .cta__btn:hover,
#cta-trial .header-action:hover,
#cta-trial .trial-cta__btn:hover,
.cta__actions .header-action:hover,
.trial-cta__actions .header-action:hover {
  background: #ff5252 !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

#cta .header-action:active,
#cta-trial .header-action:active,
.cta__actions .header-action:active,
.trial-cta__actions .header-action:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.3) !important;
}

/* 電話ボタンだけ白枠に戻す */
a[href^="tel:"],
.cta__btn--ghost,
.footer-cta-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}

a[href^="tel:"]:hover,
.cta__btn--ghost:hover,
.footer-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15) !important;
}

a[href^="tel:"]:active,
.cta__btn--ghost:active,
.footer-cta-secondary:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1) !important;
}

/* 電話ボタン：白枠に強制 */
.cta__btn.cta__btn--ghost,
a.cta__btn--ghost,
a[href^="tel:"].cta__btn,
#cta .cta__btn--ghost,
#cta-trial .cta__btn--ghost {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
}

.cta__btn.cta__btn--ghost:hover,
a.cta__btn--ghost:hover,
a[href^="tel:"].cta__btn:hover,
#cta .cta__btn--ghost:hover,
#cta-trial .cta__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15) !important;
}

/* =========================
   電話ボタン3つ：完全統一（白枠）
========================= */

/* 基本スタイル：白枠 */
a[href^="tel:"].header-action,
a[href^="tel:"].cta__btn,
a[href^="tel:"].cta__btn--ghost,
a[href^="tel:"].footer-cta-secondary,
.cta__btn.cta__btn--ghost[href^="tel:"],
.footer-cta-secondary[href^="tel:"] {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease !important;
}

/* ホバー時：完全統一 */
a[href^="tel:"].header-action:hover,
a[href^="tel:"].cta__btn:hover,
a[href^="tel:"].cta__btn--ghost:hover,
a[href^="tel:"].footer-cta-secondary:hover,
.cta__btn.cta__btn--ghost[href^="tel:"]:hover,
.footer-cta-secondary[href^="tel:"]:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15) !important;
}

/* 押した時：完全統一 */
a[href^="tel:"].header-action:active,
a[href^="tel:"].cta__btn:active,
a[href^="tel:"].cta__btn--ghost:active,
a[href^="tel:"].footer-cta-secondary:active,
.cta__btn.cta__btn--ghost[href^="tel:"]:active,
.footer-cta-secondary[href^="tel:"]:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1) !important;
}
/* =========================
   WPForms送信ボタン：赤ボタンに統一
========================= */

/* 基本スタイル */
.wpforms-submit,
button.wpforms-submit,
input.wpforms-submit {
  background: #e60012 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  color: #fff !important;
  padding: 0 26px !important;
  min-height: 52px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(230, 0, 18, 0.2) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

/* ホバー時：他の赤ボタンと完全統一 */
.wpforms-submit:hover,
button.wpforms-submit:hover,
input.wpforms-submit:hover {
  background: #ff5252 !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

/* 押した時 */
.wpforms-submit:active,
button.wpforms-submit:active,
input.wpforms-submit:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(230, 0, 18, 0.3) !important;
}

/* フォーカス時の枠線を調整 */
.wpforms-submit:focus,
button.wpforms-submit:focus,
input.wpforms-submit:focus {
  outline: 2px solid rgba(230, 0, 18, 0.5) !important;
  outline-offset: 2px !important;
}
/* =========================
   フッターボタン：拡大を強制
========================= */

/* フッターの赤ボタン */
.footer-cta-actions .header-action,
.footer-cta-box .header-action,
.site-footer .header-action {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
  will-change: transform !important;
}

.footer-cta-actions .header-action:hover,
.footer-cta-box .header-action:hover,
.site-footer .header-action:hover {
  background: #ff5252 !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(230, 0, 18, 0.4) !important;
}

/* フッターの白枠ボタン（電話） */
.footer-cta-actions .footer-cta-secondary,
.footer-cta-box .footer-cta-secondary,
.site-footer .footer-cta-secondary {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease !important;
  will-change: transform !important;
}

.footer-cta-actions .footer-cta-secondary:hover,
.footer-cta-box .footer-cta-secondary:hover,
.site-footer .footer-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.15) !important;
}

/* 押した時 */
.footer-cta-actions .header-action:active,
.footer-cta-actions .footer-cta-secondary:active {
  transform: translateY(-1px) scale(1) !important;
}
/* フッターボタン：最強制で拡大 */
.site-footer a[href*="contact"],
.footer-cta-actions a,
.footer-cta-box a {
  transform: scale(1) !important;
}

.site-footer a[href*="contact"]:hover,
.footer-cta-actions a:hover,
.footer-cta-box a:hover {
  transform: translateY(-4px) scale(1.02) !important;
  transform-origin: center !important;
}
/* =========================
   余計なスクロールバーを完全削除
========================= */

html {
  overflow-y: scroll !important; /* ブラウザのスクロールバーだけ残す */
  overflow-x: hidden !important;
}

body {
  overflow: visible !important; /* bodyの余計なスクロールを消す */
  overflow-x: hidden !important;
}

.site,
#page,
.site-content,
main,
#primary,
article {
  overflow: visible !important; /* 全ての余計なスクロールを消す */
  height: auto !important;
  max-height: none !important;
}

/* =========================
   ABOUT: フォント・デザイン改善
========================= */

/* セクション全体のフォント */
#about {
  font-family: "Helvetica Neue", "Yu Gothic", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  letter-spacing: 0.03em;
}

/* 見出し（ABOUT US / SIX PACK ACADEMYの特徴） */
#about .section__en {
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  letter-spacing: 0.1em;
}

#about .section__title {
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* メインタイトル */
.two-col__title {
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* 「割れた腹筋」のアクセント部分 */
.two-col__title .accent {
  /* ダサい赤から洗練された色へ */
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* またはシンプルに単色なら */
  /* color: #ff6b6b; */

  font-weight: 900;
  font-size: 1.1em;
  letter-spacing: 0.06em;

  /* 少し立体感を出す（グラデーション使わない場合） */
  text-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);

  /* 下線を追加する場合 */
  /* border-bottom: 3px solid #ff6b6b; */
  /* padding-bottom: 2px; */
}

/* 本文 */
.two-col__text {
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.03em;
  opacity: 0.92;
}
@media (max-width: 768px) {
  h1.entry-title {
    font-size: 24px !important;
  }
}

/* スマホ版のヒーローテキスト調整 */
@media (max-width: 768px) {
  .hero-text .wp-block-heading {
    font-size: 28px !important; /* タイトルサイズ */
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* 折り返しを許可 */
  }

  .hero-text p {
    font-size: 14px; /* サブテキストサイズ */
    line-height: 1.4;
  }

  /* ヒーローブロック全体の調整 */
  .hero-text {
    padding: 15px;
    width: 90%; /* 幅を調整 */
    max-width: 100%;
  }

  .wp-block-group__inner-container {
    padding: 10px;
  }
}
/* =========================
   斜め線：CTA → VOICES
========================= */

#cta {
  position: relative;
  overflow: visible;
}

#cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  border-bottom: 60px solid #262626;
  border-left: 100vw solid transparent;
  z-index: 100;
}
/* VOICESの上に余白を作る */
#voices.section {
  padding-top: 120px !important;
  margin-top: 0 !important;
}
/* CTAの下に余白を作る（斜め線の前） */
#cta {
  position: relative;
  overflow: visible;
  padding-bottom: 100px !important;
}

#cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  border-bottom: 60px solid #262626;
  border-left: 100vw solid transparent;
  z-index: 100;
}

/* VOICESの上に余白を作る（斜め線の後） */
#voices.section {
  padding-top: 120px !important;
}
/* CTAの下に余白を作る */
section#cta.section.section--dark.section--cta {
  padding-bottom: 120px !important;
}

/* VOICESの上に余白を作る */
section#voices.section.section--dark.section--voices {
  padding-top: 120px !important;
}

#cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px; /* ← 0 から -1px に変更 */
  width: 100%;
  height: 0;
  border-bottom: 60px solid #262626;
  border-left: 100vw solid transparent;
  z-index: 100;
}
/* =========================
   斜め線：ABOUT → TRAINERS
========================= */

#about {
  position: relative;
  overflow: visible;
}

#about::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 0;
  border-bottom: 60px solid #000;
  border-right: 100vw solid transparent; /* ←逆向き */
  z-index: 100;
}

/* ABOUTの下に余白 */
section#about.section {
  padding-bottom: 120px !important;
}

/* TRAINERSの上に余白 */
section#trainers.section {
  padding-top: 120px !important;
}
/* =========================
   斜め線：TRAINERS → MENU
========================= */

section#trainers.section.section--dark {
  position: relative !important;
  overflow: visible !important;
  padding-bottom: 120px !important;
}

section#trainers.section.section--dark::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 0 !important;
  border-bottom: 60px solid #0f1720 !important;
  border-left: 100vw solid transparent !important;
  z-index: 100 !important;
}

section#menu.section {
  padding-top: 120px !important;
}

/* =========================
   投稿のテキストと画像の横幅揃える
========================= */


