/*
Theme Name: R-Ambition
Theme URI: https://r-ambition.jp/
Author: R-Ambition
Description: R-Ambition公式WordPressテーマ。野球専門パフォーマンスコーチングスクールのカスタムテーマです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: r-ambition
*/

/* ========================================
   R-Ambition - Stylesheet
   Color: Black / Gold (#F9CA00) / White
======================================== */

:root {
  --gold: #F9CA00;
  --gold-dark: #d4a900;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --gray: #888;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --red: #FF4001;
  --line-green: #06C755;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Oswald', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.bg-dark {
  background: var(--dark);
  color: var(--white);
}

/* ---- Section Labels ---- */
.section-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 60px;
  line-height: 1.3;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 15px;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,202,0,0.4);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 4px;
  transition: var(--transition);
  font-size: 15px;
  cursor: pointer;
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-full { width: 100%; text-align: center; }

.btn-disabled {
  display: inline-block;
  background: #444;
  color: #888;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 15px;
  cursor: not-allowed;
  border: none;
  width: 100%;
}

/* ========================================
   HEADER (Rich 3-tier – layout via Tailwind)
======================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo – shared with footer */
.logo {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}
.logo-r { color: var(--gold); }
.logo-ambition { color: var(--white); }

.logo img {
  width: 420px;
  height: 80px;
  display: block;
  object-fit: contain;
}

/* ---- News Ticker ---- */
.ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   KV SLIDER
======================================== */
#kv {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  padding: 0;
}

.kv-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.kv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.kv-slide.active { opacity: 1; }

.kv-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.kv-slide.active .kv-bg { transform: scale(1); }

.kv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.6) 50%,
    rgba(10,10,10,0.4) 100%
  );
}

.kv-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  max-width: 800px;
}

.kv-sub {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}

.kv-slide.active .kv-sub { animation: fadeUp 0.8s 0.3s ease forwards; }

.kv-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.kv-title span { color: var(--gold); }

.kv-desc {
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s ease forwards;
}

.kv-content .btn-primary {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.kv-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.kv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.kv-dot.active { background: var(--gold); transform: scale(1.3); }

.kv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(249,202,0,0.15);
  border: 1px solid rgba(249,202,0,0.3);
  color: var(--gold);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kv-arrow:hover { background: var(--gold); color: var(--black); }
.kv-prev { left: 24px; }
.kv-next { right: 24px; }

/* ========================================
   ABOUT
======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 24px;
  color: var(--black);
}

.about-text p {
  color: #444;
  margin-bottom: 16px;
  font-size: 15px;
}

.about-targets { margin-top: 32px; }
.about-targets h3 { font-size: 13px; letter-spacing: 2px; color: var(--gray); margin-bottom: 12px; }

.about-targets ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--dark);
  color: var(--white);
  padding: 28px 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(249,202,0,0.15);
}

.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   SERVICE
======================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px 28px;
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(249,202,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #1a1a0a 0%, var(--dark2) 100%);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.service-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}

.service-card p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.service-list {
  margin-bottom: 28px;
}

.service-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-list li:last-child { border-bottom: none; }

/* ========================================
   MERIT (スクールの特徴)
======================================== */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.merit-card {
  grid-column: span 2;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 6枚均等配置：3列×2行 */

.merit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.merit-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  display: block;
}

.merit-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 28px 16px 14px;
}

@media (max-width: 768px) {
  .merit-grid { grid-template-columns: 1fr; }
  .merit-card,
  .merit-card:nth-child(4),
  .merit-card:nth-child(5) { grid-column: 1 / -1; }
  .merit-img { height: 160px; }
}

/* ========================================
   PRICE
======================================== */
.price-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  border-bottom: 2px solid #eee;
}

.price-tab {
  background: none;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  font-family: var(--font-ja);
}

.price-tab.active {
  color: var(--black);
  border-bottom-color: var(--gold);
}

.price-tab:hover { color: var(--black); }

.price-content { display: none; }
.price-content.active { display: block; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.price-grid.single {
  grid-template-columns: 1fr;
  max-width: 400px;
}

.price-card {
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
}

.price-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(249,202,0,0.15);
}

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #fffbea 0%, var(--white) 100%);
}

.price-card.sold-out {
  opacity: 0.7;
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.price-badge.sold { background: #666; color: var(--white); }
.price-badge.new { background: var(--red); color: var(--white); }

.price-tier {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}

.price-name {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.4;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-num {
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 700;
  color: var(--black);
}

.price-unit {
  font-size: 14px;
  color: var(--gray);
}

.price-student {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 24px;
  background: rgba(249,202,0,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.price-features {
  text-align: left;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.price-features li:last-child { border-bottom: none; }

.price-icon { font-size: 48px; margin-bottom: 16px; }

.price-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 24px;
}

/* ========================================
   INSTRUCTOR
======================================== */
.instructor-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.instructor-photo {
  aspect-ratio: 3/4;
  background: var(--dark2);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(249,202,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructor-placeholder {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
}

.instructor-role {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}

.instructor-name {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
}

.instructor-kana {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  margin-top: 4px;
}

.instructor-bio {
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 32px;
  font-size: 15px;
}

.instructor-achievements {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.achievement {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.achievement-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
}

.achievement-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.instructor-sns { display: flex; gap: 12px; }

.sns-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.sns-btn.line { background: var(--line-green); color: var(--white); }
.sns-btn.youtube { background: #FF0000; color: var(--white); }
.sns-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ========================================
   NEWS
======================================== */
.news-list { display: flex; flex-direction: column; gap: 0; }

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  transition: var(--transition);
  cursor: pointer;
}

.news-item:hover { background: rgba(249,202,0,0.04); padding-left: 8px; }

.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
}

.news-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--black);
  white-space: nowrap;
}

.news-title {
  font-size: 15px;
  color: var(--black);
  font-weight: 500;
}

/* ========================================
   BLOG
======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--dark2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,202,0,0.2);
  box-shadow: var(--shadow);
}

.blog-img {
  height: 180px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img-placeholder {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: rgba(249,202,0,0.3);
  text-align: center;
  letter-spacing: 2px;
}

.blog-body { padding: 24px; }

.blog-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blog-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  margin: 10px 0;
  line-height: 1.5;
}

.blog-excerpt {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  transition: var(--transition);
}

.blog-link:hover { color: var(--gold-dark); }

.blog-more { text-align: center; }

/* ========================================
   CONTACT (CTA Banner)
======================================== */
.contact-cta-section {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景の斜めゴールドライン装飾 */
.contact-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(249,202,0,0.03) 40px,
    rgba(249,202,0,0.03) 41px
  );
  pointer-events: none;
}

.contact-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-cta-heading {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
  margin-top: 12px;
}

.contact-cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  margin-bottom: 48px;
}

.contact-cta-btn-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-cta-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid rgba(249,202,0,0.5);
  padding: 4px 18px;
  border-radius: 20px;
  background: rgba(249,202,0,0.08);
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gold);
  color: var(--black);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 900;
  padding: 20px 56px;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 1px;
  white-space: nowrap;
}

.contact-cta-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(249,202,0,0.45);
}

.contact-cta-arrow {
  font-size: 20px;
  transition: transform var(--transition);
  display: inline-block;
}

.contact-cta-btn:hover .contact-cta-arrow {
  transform: translateX(5px);
}

/* フォームページ用の入力スタイルは contact.html で使用 */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.required {
  font-size: 11px;
  background: var(--red);
  color: var(--white);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-ja);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(249,202,0,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ========================================
   FOOTER
======================================== */
#footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-column h4 {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-column ul li { margin-bottom: 10px; }
.footer-column ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}
.footer-column ul a:hover { color: var(--gold); }

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.footer-sns { display: flex; gap: 10px; }

.footer-sns-btn {
  background: var(--line-green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  transition: var(--transition);
}

.footer-sns-btn:hover { opacity: 0.85; }

.footer-nav h4,
.footer-info h4 {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}

.footer-nav ul a:hover { color: var(--gold); }

.footer-info address {
  font-style: normal;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.footer-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-info a { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding: 24px;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

/* ========================================
   BACK TO TOP
======================================== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--gold);
  color: var(--black);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(249,202,0,0.4);
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover { transform: translateY(-4px); }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .instructor-card { grid-template-columns: 1fr; gap: 40px; }
  .instructor-photo { max-width: 240px; aspect-ratio: 1/1; }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .section-title { margin-bottom: 40px; }

  #nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.98);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(249,202,0,0.15);
  }

  #nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #nav ul { flex-direction: column; gap: 8px; }
  #nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  #nav .nav-cta { text-align: center; margin-top: 8px; }

  .hamburger { display: flex; }

  .kv-content { padding: 0 24px; }
  .kv-arrow { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .instructor-achievements { flex-direction: column; }
  .price-tabs { flex-wrap: wrap; }
  .price-tab { flex: 1; min-width: 100px; font-size: 13px; padding: 12px 8px; }
  .logo img { width: 280px; height: 54px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .kv-content { padding: 0 16px; }
  .price-card { padding: 32px 20px; }
  .contact-card { padding: 28px 20px; }
}

/* ---- Service Slider ---- */
.service-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 12px 4px 24px;
  scrollbar-width: none;
  flex: 1;
}

.service-slider::-webkit-scrollbar { display: none; }

.service-slider .service-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  min-width: 300px;
  max-width: 340px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.service-slider .service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.service-cta {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.service-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(249,202,0,0.4);
  background: rgba(249,202,0,0.06);
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-arrow:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ---- Reviews Section ---- */
#reviews {
  background: var(--white);
  overflow: hidden;
}

.reviews-google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
}

.reviews-rating-overall {
  color: #F9CA00;
  font-weight: 700;
  font-size: 15px;
}

.reviews-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 28px;
  scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar { display: none; }

.review-card {
  scroll-snap-align: start;
  min-width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}

.review-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.review-date {
  font-size: 11px;
  color: var(--gray);
}

.review-google-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.review-stars {
  color: #F9CA00;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}

/* ---- Instagram button ---- */
.sns-btn.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
}

/* ========================================
   PICK UP
======================================== */
#pickup {
  background: #ffffff;
  padding: 28px 0 36px;
}

.pickup-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.pickup-heading {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #0a0a0a;
  text-align: center;
  margin-bottom: 16px;
}

.pickup-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pickup-track-outer {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
}

.pickup-track {
  display: flex;
  transition: transform 0.4s ease;
}

.pickup-banner {
  flex: 0 0 100%;
  border-radius: 10px;
  overflow: hidden;
}

.pickup-banner a { display: block; }

.pickup-banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.pickup-banner-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pickup-banner-main {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  color: #0a0a0a;
  line-height: 1.2;
}

.pickup-banner-sub {
  font-size: 14px;
  color: rgba(10,10,10,0.7);
}

.pickup-banner-btn {
  display: inline-block;
  background: #0a0a0a;
  color: #F9CA00;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pickup-arrow { display: none; }

.pickup-dots { display: none; }

.pickup-dots .kv-dot { background: rgba(0,0,0,0.2); }
.pickup-dots .kv-dot.active { background: #0a0a0a; transform: scale(1.3); }

@media (max-width: 768px) {
  .pickup-banner img { height: 100px; }
}

/* ---- Floating LINE Button ---- */
#float-line-btn {
  position: fixed;
  right: 15px;
  top: 40%;
  width: 160px;
  background: #E60012;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#float-line-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 36px rgba(230,0,18,0.55);
}

.float-line-top {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 1px;
  line-height: 1;
}

.float-line-bottom {
  background: #fff;
  color: #E60012;
  font-size: 17px;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 18px;
  white-space: nowrap;
  line-height: 1;
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  background: var(--dark);
  border-bottom: 1px solid rgba(249,202,0,0.15);
  padding: 60px 24px 50px;
  text-align: center;
}

.page-hero-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero-breadcrumb {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 1px;
}

.page-hero-breadcrumb a {
  color: var(--gray);
  transition: color var(--transition);
}

.page-hero-breadcrumb a:hover {
  color: var(--gold);
}

.page-hero-breadcrumb span {
  margin: 0 8px;
  color: rgba(249,202,0,0.4);
}


/* ========================================
   PHILOSOPHY (Price page intro)
======================================== */
.philosophy-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 2;
  max-width: 800px;
  margin-bottom: 64px;
}

.philosophy-body-section { margin-bottom: 64px; }

.philosophy-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 32px;
}

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

.philosophy-card {
  background: var(--dark2);
  border: 1px solid rgba(249,202,0,0.15);
  border-radius: 12px;
  padding: 32px 24px;
  transition: border-color var(--transition);
}

.philosophy-card:hover { border-color: rgba(249,202,0,0.4); }

.philosophy-num {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.philosophy-card h4 {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.philosophy-list li {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(249,202,0,0.05);
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

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

/* ========================================
   FLOW STEPS (Online Lesson page)
======================================== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow-step {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}

.flow-step:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(249,202,0,0.12);
}

.flow-step-num {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 10px;
  color: var(--black);
}

.flow-step p {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

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

/* ========================================
   ENTRY (入会案内)
======================================== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.entry-card {
  background: var(--dark2);
  border: 1px solid rgba(249,202,0,0.15);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

.entry-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.entry-card-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}

.entry-card-val {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.entry-card-val span {
  display: block;
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  letter-spacing: 0;
}

.entry-card-val.small {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.entry-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  counter-reset: entry-flow;
}

.entry-flow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--dark2);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 22px 24px;
}

.entry-step-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}

.entry-flow-steps h4 {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}

.entry-flow-steps p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-flow-steps li { flex-direction: column; gap: 8px; padding: 18px 20px; }
  .entry-step-num { font-size: 22px; }
}

/* ========================================
   PHYSIO SHOT PAGE
======================================== */
.physio-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: var(--white);
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.physio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(249,202,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.physio-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.physio-hero-text .page-hero-label {
  margin-bottom: 16px;
}

.physio-hero-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--white);
}

.physio-hero-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 28px;
}

.physio-hero-brand {
  display: inline-block;
  font-weight: 900;
  color: var(--gold);
  font-size: 1.2em;
  margin-top: 8px;
}

.physio-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.physio-tag {
  display: inline-block;
  background: rgba(249,202,0,0.1);
  border: 1px solid rgba(249,202,0,0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.physio-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.physio-hero-image img {
  max-width: 100%;
  max-height: 420px;
  filter: drop-shadow(0 12px 40px rgba(249,202,0,0.25));
}

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

.reason-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}

.reason-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(249,202,0,0.15);
}

.reason-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.reason-card h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 16px;
}

.reason-card p {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
}

.flow-steps-4 { grid-template-columns: repeat(4, 1fr); }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--dark2);
  border: 1px solid rgba(249,202,0,0.15);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] { border-color: rgba(249,202,0,0.45); }

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-q,
.faq-a {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  width: 30px;
}

.faq-q { color: var(--gold); }
.faq-a { color: rgba(255,255,255,0.6); }

.faq-q-text {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.faq-toggle {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--gold);
  transition: transform var(--transition);
}

.faq-item[open] .faq-toggle { transform: rotate(45deg); }

.faq-a-wrap {
  display: flex;
  gap: 16px;
  padding: 0 24px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}

.faq-a-wrap p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}

.faq-a-wrap small {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .physio-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .physio-hero-image img { max-height: 280px; }
  .reason-grid { grid-template-columns: 1fr; }
  .flow-steps-4 { grid-template-columns: 1fr; }
}

/* ========================================
   DNA ANALYSIS PAGE
======================================== */
.dna-hero {
  background: radial-gradient(circle at 50% 30%, #1a1a1a 0%, #0a0a0a 70%);
  color: var(--white);
  padding: 140px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dna-hero::before {
  content: '🧬';
  position: absolute;
  font-size: 280px;
  opacity: 0.04;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.dna-hero .container { position: relative; z-index: 1; }

.dna-hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 28px;
  color: var(--white);
}

.dna-hero-title span { color: var(--gold); }

.dna-hero-lead {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255,255,255,0.8);
  line-height: 2;
  margin-bottom: 28px;
}

.dna-hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Athletes grid */
.athletes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.athlete-card {
  background: var(--dark2);
  border: 1px solid rgba(249,202,0,0.15);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
}

.athlete-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.athlete-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.athlete-sport {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
}

.athletes-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: right;
  margin-top: 8px;
}

/* DNA FAQ on light background */
.dna-faq-list .faq-item {
  background: var(--white);
  border-color: #e5e5e5;
}

.dna-faq-list .faq-item[open] {
  border-color: var(--gold);
}

.dna-faq-list .faq-q-text { color: var(--black); }
.dna-faq-list .faq-a { color: rgba(0,0,0,0.4); }
.dna-faq-list .faq-a-wrap p { color: #444; }
.dna-faq-list .faq-a-wrap small { color: var(--gray); }
.dna-faq-list .faq-a-wrap { border-top-color: rgba(0,0,0,0.06); }

@media (max-width: 768px) {
  .athletes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   APPLICATION PAGE
======================================== */
.application-container {
  max-width: 880px;
}

.application-lead {
  text-align: center;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 40px;
}

.application-form-wrap {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.application-iframe {
  width: 100%;
  height: 1800px;
  border: 0;
  display: block;
}

.application-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 24px;
  line-height: 1.8;
}

.application-note a {
  color: var(--gold-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .application-iframe { height: 2400px; }
}

/* ========================================
   Shop: LINE Order Button
======================================== */
.btn-line-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #06C755;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-line-order:hover {
  background: #05a546;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.4);
}

/* ========================================
   Contact: LINE Banner
======================================== */
.contact-line-banner-wrap {
  text-align: center;
  margin: 32px 0 48px;
}

.contact-line-banner {
  display: inline-block;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-line-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
}

.contact-line-banner:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(6,199,85,0.4);
}

@media (max-width: 768px) {
  .contact-line-banner-wrap { margin: 24px 0 36px; }
}

/* ========================================
   THEME OVERRIDES (Light main content theme)
   – ヘッダー/Nav/News/フッターは黒のまま
   – body コンテンツ部分を #FAFAFA / #333 に
======================================== */

body {
  background: #FAFAFA;
  color: #333333;
}

/* ロゴ拡大：余白の多いSVGをcoverで中央クロップして大きく見せる */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 240px;
  height: 70px;
  display: block;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

@media (max-width: 768px) {
  .logo img { width: 180px; height: 52px; }
}

/* セクションタイトルと一般テキストを濃いグレーに */
section { color: #333333; }
.section-title { color: #1a1a1a; }

/* .bg-dark セクションを明るいテーマへ反転 */
.bg-dark {
  background: #FAFAFA;
  color: #333333;
}

.bg-dark .section-title { color: #1a1a1a; }

/* Philosophy / Entry / Athlete / FAQ カードを白基調に */
.philosophy-card,
.entry-card,
.athlete-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.philosophy-card h4,
.entry-card-val,
.athlete-name {
  color: #1a1a1a;
}

.philosophy-card p,
.entry-card-val span {
  color: #555;
}

.philosophy-card p { color: #555; }

.entry-card-val.small { color: #444; }

.philosophy-list li {
  color: #333;
  background: #fff;
  border-left-color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.philosophy-lead {
  color: #444;
}

/* Entry flow steps */
.entry-flow-steps li {
  background: #ffffff;
  border-left-color: var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.entry-flow-steps h4 { color: #1a1a1a; }
.entry-flow-steps p { color: #555; }

/* FAQ on light bg */
.faq-item {
  background: #ffffff;
  border-color: #e5e5e5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-q-text { color: #1a1a1a; }
.faq-a { color: rgba(0,0,0,0.4); }
.faq-a-wrap p { color: #444; }
.faq-a-wrap small { color: var(--gray); }
.faq-a-wrap { border-top-color: rgba(0,0,0,0.08); }

/* Service / Blog cards on dark were dark themed - flip */
.service-card {
  background: #ffffff;
  border-color: #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.service-card h3 { color: #1a1a1a; }
.service-card p { color: #555; }
.service-list li {
  color: #555;
  border-bottom-color: #f0f0f0;
}

.blog-card {
  background: #ffffff;
  border-color: #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.blog-card:hover {
  border-color: rgba(249,202,0,0.45);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.blog-img { background: #f0f0f0; }
.blog-img-placeholder { color: rgba(249,202,0,0.55); }
.blog-title { color: #1a1a1a; }
.blog-excerpt { color: #666; }

/* Stat card */
.stat-card {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.stat-label { color: #666; }

/* Instructor section */
.instructor-name { color: #1a1a1a; }
.instructor-kana { color: #888; }
.instructor-bio { color: #555; }
.achievement-val { color: #1a1a1a; }
.instructor-photo {
  background: #f0f0f0;
  border-color: rgba(249,202,0,0.4);
}
.instructor-placeholder { color: rgba(249,202,0,0.6); }

/* News list */
.news-item { border-bottom-color: #e8e8e8; }
.news-title { color: #1a1a1a; }

/* About section */
.about-lead { color: #1a1a1a; }
.about-text p { color: #444; }
.about-targets h3 { color: #888; }

/* DNA hero stays dark - already custom */
/* Physio hero stays dark - already custom */

/* Reviews already light */
/* Page hero stays dark - per design */

/* Tab text on light */
.price-tab { color: #888; }
.price-tab.active { color: #1a1a1a; }
.price-tabs { border-bottom-color: #e0e0e0; }

/* Price card stays mostly OK on light */
.price-card { background: #ffffff; border-color: #e5e5e5; }

/* Reason card already had white bg - confirm */
.reason-card { background: #ffffff; }

/* Philosophy subtitle in dark sections that became light */
.bg-dark .philosophy-subtitle { color: var(--gold-dark); }

/* ========================================
   FOOTER LAYOUT (left-align logo + tagline, optimize spacing)
======================================== */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-brand .logo {
  margin-left: 0;
  margin-bottom: 14px;
}

.footer-tagline {
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
}

.footer-grid { gap: 32px; }

/* ========================================
   FIX① Logo size adjustment (no cropping)
======================================== */
.logo {
  display: inline-flex;
  align-items: center;
  overflow: visible;
  max-width: none;
}

.logo img {
  width: auto;
  height: auto;
  max-height: 70px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .logo img { max-height: 50px; }
}

/* Footer logo smaller */
.footer-brand .logo img {
  max-height: 56px;
}

@media (max-width: 768px) {
  .footer-brand .logo img { max-height: 44px; }
}

/* ========================================
   FIX② Hero offset for fixed header
   – ヘッダー総高 約184px (h-24=96 + nav~52 + ticker=36)
======================================== */
.physio-hero { padding-top: 210px !important; padding-bottom: 90px; }
.dna-hero { padding-top: 210px !important; padding-bottom: 90px; }

@media (max-width: 768px) {
  .physio-hero { padding-top: 200px !important; }
  .dna-hero { padding-top: 200px !important; }
}

#header { z-index: 1000; }

/* ========================================
   FIX③ Blog more button spacing
======================================== */
.blog-more {
  margin-top: 56px;
  text-align: center;
}

/* ========================================
   FIX④ Unified hover effect
   – すべてのボタン・バナーに統一の浮き上がり
======================================== */
.btn-hover-effect {
  transition: all 0.3s ease;
}

.btn-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 個別の色付きホバーエフェクトを上書き：
   既存ルールよりも詳細度を高くするため :where() ではなく直接記述 */
.btn-primary.btn-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: var(--gold);
}

.btn-line-order.btn-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: #06C755;
}

.contact-line-banner.btn-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#float-line-btn.btn-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FIX: BRAND BLACK UNIFICATION (#1A1A1A)
======================================== */
:root {
  --brand-black: #1A1A1A;
}

body { color: var(--brand-black); }

.section-title,
h1, h2, h3, h4, h5, h6 {
  color: var(--brand-black);
}

/* Light-bg cards: text colors */
.philosophy-card h4,
.entry-card-val,
.athlete-name,
.faq-q-text,
.blog-title,
.service-card h3,
.about-lead,
.news-title,
.product-name,
.instructor-name,
.achievement-val,
.reason-card h3 {
  color: var(--brand-black);
}

/* Borders that were near-black: use brand-black with low alpha */
.faq-a-wrap { border-top-color: rgba(26,26,26,0.08); }
.news-item { border-bottom-color: rgba(26,26,26,0.08); }
.service-list li { border-bottom-color: rgba(26,26,26,0.06); }
.blog-card { border-color: rgba(26,26,26,0.08); }
.philosophy-card,
.entry-card,
.athlete-card,
.faq-item { border-color: rgba(26,26,26,0.08); }

/* btn-primary text remains contrast-strong on gold */
.btn-primary { color: var(--brand-black); }

/* product-name and other shop card titles */
.product-name { color: var(--brand-black); }

/* ========================================
   FIX: SHOP product card → btn-primary look
======================================== */
.btn-primary.btn-detail-new {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  font-weight: 700;
}

  add_shortcode( 'r_kv_slider', 'r_render_kv_slider' );                                                                                                                                                            
  add_shortcode( 'r_pickup',    'r_render_pickup' );                                                                                                                                                               
  add_shortcode( 'r_services',  'r_render_services' );
  add_shortcode( 'r_reviews',   'r_render_reviews' );                                                                                                                                                              
  add_shortcode( 'r_news',      'r_render_news_list' );     
  add_shortcode( 'r_trainer',   'r_render_trainer' );                                                                                                                                                              
  add_shortcode( 'r_products',  'r_render_products' );  