.elementor-2105 .elementor-element.elementor-element-c180a30{--display:flex;}/* Start custom CSS for html, class: .elementor-element-4d26c3b *//* ============================================================
   体操クラスページ専用CSS
   配置先: 外観 > カスタマイズ > 追加CSS
   （既存の global.css の下に追記）
   ============================================================ */

/* ======= Elementor上書き ======= */
.elementor-section-wrap > .elementor-section,
.elementor-element .elementor-widget-container,
.elementor-widget-html { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
.elementor-element.elementor-widget { width: 100% !important; }
.elementor-section > .elementor-container { max-width: 100% !important; padding: 0 !important; }
.elementor-column-wrap, .elementor-widget-wrap { padding: 0 !important; }
body.elementor-page { padding-top: 0 !important; margin-top: 0 !important; }

/* Elementorセクション自体の上余白も除去 */
.elementor-section.elementor-top-section:first-child,
.elementor-element:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.elementor > .elementor-element:first-child { margin-top: 0 !important; }

/* ヒーロー隙間除去 */
.hero { margin-top: 0 !important; padding-top: 0 !important; }

/* クラスカード幅を強制 */
.class-cards {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px !important;
  width: 100% !important;
}
.class-card { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }

/* ======= セクション共通（ページ固有） ======= */
.section { padding: 100px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-text {
  font-size: 15px; line-height: 2; color: #444; text-align: center; max-width: 680px; margin: 0 auto;
}

/* ======= ヒーロー ======= */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 500px;
  margin-top: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-img-placeholder {
  position: absolute; inset: 0;
  background: #0a1a2e;
  display: flex; align-items: center; justify-content: center;
}
.hero-img-placeholder img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,60,100,.7) 0%, rgba(5,80,140,.4) 50%, rgba(10,26,46,.5) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff; padding: 20px;
}
.hero-content h1 {
  font-size: clamp(40px, 7vw, 72px); font-weight: 900;
  letter-spacing: .08em; line-height: 1.2;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}

/* ヘッダーCTA折り返し防止 */
.header-cta { white-space: nowrap; flex-shrink: 0; }

/* ======= コンセプト ======= */
.concept { background: #fff; }
.concept .section-text { margin-top: -30px; }

/* ======= クラスカード ======= */
.class-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 10px; width: 100%; }
.class-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  background: #fff; transition: transform .3s;
  width: 100%; min-width: 0;
}
.class-card:hover { transform: translateY(-4px); }
.class-card-img {
  position: relative; height: 312px; overflow: hidden;
  background: linear-gradient(135deg, #0a3d62, #057bc0);
}
.class-card-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.class-card-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.age-tag {
  display: inline-block; background: var(--sub); color: var(--dark);
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 50px;
  margin-bottom: 10px; width: fit-content;
}
.class-card-overlay h3 {
  font-size: 26px; font-weight: 900; color: #fff; line-height: 1.3;
}
.class-card-overlay .class-en {
  font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; letter-spacing: .06em; margin-top: 4px;
}
.class-card-body { padding: 28px; }
.class-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.class-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--main);
  background: var(--main-light); padding: 5px 14px; border-radius: 50px;
}
.class-fee {
  font-size: 22px; font-weight: 900; color: var(--dark); margin-bottom: 14px;
}
.class-fee span { font-size: 14px; font-weight: 500; color: #888; }
.class-card-body p {
  font-size: 14px; line-height: 1.9; color: #555;
}

/* ======= 指導者 ======= */
.instructor { background: #f8fbfe; }
.instructor-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: start;
  margin-top: 10px;
}
.instructor-photo {
  border-radius: 16px; overflow: hidden; height: 560px;
  background: linear-gradient(135deg, #0a3d62, #057bc0);
  position: relative;
}
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.instructor-info {}
.instructor-label {
  font-size: 12px; font-weight: 700; color: var(--main); letter-spacing: .2em; margin-bottom: 10px;
}
.instructor-name {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 900; color: var(--dark); margin-bottom: 4px;
}
.instructor-name-en {
  font-size: 14px; color: #999; font-weight: 500; letter-spacing: .06em; margin-bottom: 20px;
}
.instructor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.instructor-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--main);
  background: var(--main-light); padding: 5px 14px; border-radius: 50px;
}
.instructor-text {
  font-size: 15px; line-height: 2; color: #444;
}
.instructor-text p + p { margin-top: 16px; }

/* ======= カリキュラム ======= */
.curriculum { background: #fff; }
.curriculum .section-text { margin-top: -30px; margin-bottom: 50px; }
.curriculum-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.curriculum-card {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,0,0,.07); background: #fff;
  transition: transform .3s;
}
.curriculum-card:hover { transform: translateY(-4px); }
.curriculum-card-img {
  height: 252px; overflow: hidden;
  background: linear-gradient(135deg, #0a3d62, #057bc0);
  position: relative;
}
.curriculum-card-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.curriculum-card-body { padding: 22px; }
.curriculum-card-body h4 {
  font-size: 18px; font-weight: 900; color: var(--dark); margin-bottom: 12px;
}
.curriculum-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.curriculum-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--main);
  background: var(--main-light); padding: 4px 12px; border-radius: 50px;
}
.curriculum-card-body p {
  font-size: 13px; line-height: 1.85; color: #555;
}

/* ======= フィロソフィー ======= */
.philosophy {
  position: relative; overflow: hidden; background: #fff;
}
.philosophy-bg {
  position: absolute; inset: 0;
  background: #fff;
  opacity: .15;
}
.philosophy-bg img { width: 100%; height: 100%; object-fit: cover; }
.philosophy .section-inner { position: relative; z-index: 2; }
.philosophy .section-text { margin-top: -30px; margin-bottom: 50px; }
.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.philosophy-card {
  background: var(--main-light); border-radius: 14px; padding: 32px 28px;
  border-left: 5px solid var(--main); position: relative;
}
.philosophy-card h4 {
  font-size: 20px; font-weight: 900; color: var(--main); margin-bottom: 14px;
}
.philosophy-card p {
  font-size: 14px; line-height: 1.95; color: #444;
}

/* ======= その他料金 ======= */
.fee-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; background: #f8fbfe; border-radius: 14px;
  border-left: 5px solid var(--main);
}
.fee-name { font-size: 18px; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.fee-note { font-size: 13px; color: #888; line-height: 1.6; }
.fee-price { font-size: 26px; font-weight: 900; color: var(--main); white-space: nowrap; margin-left: 20px; }
.fee-price span { font-size: 14px; font-weight: 500; color: #888; }

/* ======= キャンペーン ======= */
.campaign { background: var(--sub); }
.campaign-inner {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.campaign-tag {
  display: inline-block; background: var(--main); color: #fff;
  font-size: 13px; font-weight: 700; padding: 6px 22px; border-radius: 50px;
  margin-bottom: 20px; letter-spacing: .06em;
}
.campaign-title {
  font-size: clamp(28px, 4.5vw, 48px); font-weight: 900; color: var(--dark);
  line-height: 1.3; margin-bottom: 16px;
}
.campaign-subtitle {
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; color: var(--dark);
  margin-bottom: 24px;
}
.campaign-subtitle .blue {
  color: var(--main); font-size: clamp(26px, 3.5vw, 36px); font-weight: 900;
}
.campaign-text {
  font-size: 14px; line-height: 1.9; color: #555; margin-bottom: 36px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cta); color: #fff; text-decoration: none;
  padding: 16px 40px; border-radius: 50px;
  font-size: 16px; font-weight: 700; letter-spacing: .06em;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(6,199,85,.3);
}
.cta-btn:hover { opacity: .9; transform: translateY(-2px); }
.cta-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ======= アクセス ======= */
.access { background: #fff; }
.access-card {
  max-width: 560px; margin: 0 auto;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08); background: #fff;
}
.access-card-img {
  height: 240px; overflow: hidden;
  background: linear-gradient(135deg, #0a3d62, #057bc0);
  position: relative;
}
.access-card-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.access-card-body { padding: 28px; text-align: center; }
.access-card-body h4 {
  font-size: 20px; font-weight: 900; color: var(--dark); margin-bottom: 12px;
}
.access-card-body p {
  font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 20px;
}

/* ======= スクロールアニメーション ======= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.anim { opacity: 0; }
.anim.visible { animation: fadeUp .6s ease forwards; }

/* ======= レスポンシブ（体操クラスページ） ======= */
@media (max-width: 1024px) {
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 80px 24px; }
  .class-cards { grid-template-columns: 1fr; }
  .instructor-grid { grid-template-columns: 1fr; gap: 32px; }
  .instructor-photo { height: 340px; }
  .philosophy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 16px; }
  .section-title { margin-bottom: 40px; }
  .class-card-img { height: 240px; }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .curriculum-card-img { height: 196px; }
}
@media (max-width: 480px) {
  .curriculum-grid { grid-template-columns: 1fr; }
}/* End custom CSS */