/* ============================================
   BODY RESET - Design D
   Bold / Sporty / Energetic
   ============================================ */

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

:root {
  --primary: #111111;
  --accent: #E63946;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text: #111111;
  --muted: #666666;
  --light-muted: #999999;
  --border: rgba(17, 17, 17, 0.08);
  --font-main: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 300;
}

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

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

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

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ── Sample Banner ── */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 8px 16px;
  z-index: 99999;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 14px 0;
  transition: all 0.4s;
}

.header.scrolled {
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.logo-text {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 0.85rem;
  line-height: 1.15;
  letter-spacing: 2px;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 22px;
  font-weight: 700 !important;
  letter-spacing: 1px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  display: block;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 250, 250, 0.98);
  z-index: 9997;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

@media (max-width: 840px) {
  .hamburger { display: flex; }
  .nav { display: none; }
  .header-inner { padding: 0 20px; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 16px 36px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.btn-ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  padding: 140px 40px 80px;
  overflow: hidden;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 4px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s, transform 0.8s;
}

.hero-label.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-accent-line {
  width: 0;
  height: 4px;
  background: var(--accent);
  margin-bottom: 28px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-accent-line.drawn {
  width: 80px;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s, transform 0.8s;
}

.hero-desc.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s, transform 0.8s;
}

.hero-actions.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-hint span {
  font-family: var(--font-main);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--light-muted);
  writing-mode: vertical-lr;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: var(--light-muted);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  width: 1px;
  height: 60px;
  background: var(--accent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { top: -60px; }
  100% { top: 60px; }
}

@media (max-width: 768px) {
  .hero { padding: 120px 20px 60px; }
  .hero-scroll-hint { display: none; }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--primary);
  padding: 48px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  display: inline;
}

.stat-unit {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
  .stats-grid { gap: 24px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 2rem; }
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-light {
  background: #F5F5F5;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-main);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 5px;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-label-light {
  color: var(--accent);
}

.section-title-bold {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.3;
}

.section-title-white {
  color: #fff;
}

.section-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* ── Red Line ── */
.red-line {
  width: 0;
  height: 3px;
  background: var(--accent);
  margin: 16px 0 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.red-line.drawn {
  width: 60px;
}

.red-line-center {
  margin-left: auto;
  margin-right: auto;
}

.red-line-center.drawn {
  width: 60px;
}

/* ── Fade Up Animation ── */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-anim="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Philosophy ── */
.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.philosophy-lead {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 24px;
}

.philosophy-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 2.2;
  margin-bottom: 16px;
}

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

/* ── Problems ── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.problem-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.problem-icon svg {
  width: 100%;
  height: 100%;
}

.problem-card h3 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.problem-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

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

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

/* ── Programs ── */
.programs-list {
  max-width: 900px;
  margin: 0 auto;
}

.program-item {
  display: flex;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.program-item:first-child {
  border-top: 1px solid var(--border);
}

.program-num-wrap {
  min-width: 100px;
  overflow: hidden;
}

.program-num {
  font-family: var(--font-main);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.08;
  line-height: 1;
  display: block;
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-item.visible .program-num {
  transform: translateX(0);
}

.program-content {
  flex: 1;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.program-header h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 900;
}

.program-price {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
}

.program-price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
}

.program-content p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 16px;
}

.program-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.program-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 12px;
  background: #F0F0F0;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.program-tags .tag-hot {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 600px) {
  .program-item {
    flex-direction: column;
    gap: 16px;
  }
  .program-num { font-size: 3rem; }
  .program-num-wrap { min-width: auto; }
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.3s;
}

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

.testimonial-quote {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 20px;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--light-muted);
}

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

/* ── Trainer ── */
.trainer-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.trainer-left,
.trainer-right {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s;
}

.trainer-layout.split-hidden .trainer-left {
  transform: translateX(-60px);
  opacity: 0;
}

.trainer-layout.split-hidden .trainer-right {
  transform: translateX(60px);
  opacity: 0;
}

.trainer-layout.split-visible .trainer-left,
.trainer-layout.split-visible .trainer-right {
  transform: translateX(0);
  opacity: 1;
}

.trainer-image-area {
  background: #F0F0F0;
  overflow: hidden;
}

.trainer-image-area svg {
  width: 100%;
  height: auto;
  display: block;
}

.trainer-name {
  margin: 24px 0;
}

.trainer-name-main {
  display: block;
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.trainer-name-title {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.trainer-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 2.2;
  margin-bottom: 16px;
}

.trainer-text:first-of-type {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

.trainer-quals {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.trainer-quals span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .trainer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Guide Steps ── */
.guide-steps {
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.guide-step:first-child {
  border-top: 1px solid var(--border);
}

.guide-step-num {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  min-width: 60px;
  line-height: 1;
}

.guide-step-body h3 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-step-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 480px) {
  .guide-step { gap: 20px; }
  .guide-step-num { font-size: 1.5rem; min-width: 40px; }
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q-label {
  font-family: var(--font-main);
  font-weight: 900;
  color: var(--accent);
  font-size: 1rem;
  min-width: 28px;
}

.faq-q h3 {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex;
  gap: 16px;
  padding: 0;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 0 22px 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a-label {
  font-family: var(--font-main);
  font-weight: 900;
  color: var(--primary);
  font-size: 1rem;
  min-width: 28px;
  opacity: 0.3;
}

.faq-a p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
}

/* ── Info Table ── */
.info-table {
  max-width: 800px;
  margin: 0 auto;
}

.info-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.info-row dt {
  min-width: 140px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.info-row dd {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.info-row dd a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.info-row dd a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .info-row {
    flex-direction: column;
    gap: 4px;
  }
  .info-row dt { min-width: auto; }
}

/* ── CTA Section ── */
.section-cta {
  background: var(--bg);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content .red-line {
  margin-left: auto;
  margin-right: auto;
}

.cta-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2;
  margin-top: 20px;
  margin-bottom: 32px;
}

.cta-tel {
  margin-bottom: 8px;
}

.cta-tel span {
  font-size: 0.75rem;
  color: var(--muted);
  margin-right: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.cta-tel a {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 2px;
}

.cta-hours {
  font-size: 0.8rem;
  color: var(--light-muted);
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer .logo-mark {
  background: var(--accent);
}

.footer .logo-text {
  color: #fff;
}

.footer-address {
  font-size: 0.75rem;
  line-height: 1.9;
  margin-top: 16px;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-address a:hover {
  color: var(--accent);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-grid h4 {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-nav-grid ul {
  list-style: none;
}

.footer-nav-grid li {
  margin-bottom: 8px;
}

.footer-nav-grid a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-nav-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.68rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}
