/* ===== リセット & ベース ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-mid: #e0e0e0;
  --gray-dark: #555555;
  --accent: #2c6e49;
  --accent-dark: #1b4332;
  --font-sans: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --logo-size: 15px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
}

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

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

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

/* ===== no-image プレースホルダー ===== */
.no-image {
  background: var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-image::after {
  content: '📸 写真をここに配置';
  color: var(--gray-dark);
  font-size: 14px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dark);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}
.btn-header {
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  font-size: 13px;
}
.btn-header:hover {
  background: var(--accent-dark);
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--gray-mid);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo-text {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--black);
}
.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--accent);
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #111;
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.72;
  object-fit: cover;
  object-position: center 45%;
}
.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slideshow .hero-slide.active {
  opacity: 0.72;
}
.hero-slideshow .hero-slide-zoom {
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .hero-slideshow .hero-slide-zoom {
    object-position: 63% 50%;
    transform: scale(1.0);
  }
}
.hero-slideshow .hero-slide:first-child {
  position: absolute;
}
.hero-image.no-image {
  background: linear-gradient(135deg, #1b4332 0%, #2c6e49 50%, #40916c 100%);
}
.hero-image.no-image::after {
  content: '📸 ヒーロー写真をここに配置 (hero.jpg)';
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}
.hero-content {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 64px;
  color: var(--white);
  max-width: 800px;
}
.hero-sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.85;
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== セクション共通 ===== */
section {
  padding: 100px 0;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

/* ===== ジムについて ===== */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-mid);
}
.about-image.no-image {
  aspect-ratio: 4/3;
}
.about-slideshow {
  position: relative;
}
.about-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.about-slideshow .slide.active {
  opacity: 1;
}
.about-slideshow .slide:first-child {
  position: relative;
}
.about-text p {
  color: var(--gray-dark);
  font-size: 15px;
  margin-bottom: 32px;
}
.about-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.about-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
}

/* ===== 営業時間 ===== */
.hours {
  background: var(--gray-light);
}
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.hours-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--gray-mid);
}
.hours-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.hours-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hours-main {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}
.hours-note {
  font-size: 13px;
  color: var(--gray-dark);
}
.hours-table-wrap {
  overflow-x: auto;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gray-mid);
}
.hours-table th,
.hours-table td {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  border: 1px solid var(--gray-mid);
}
.hours-table th {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hours-table td {
  font-weight: 600;
  color: var(--gray-dark);
}
.hours-table .closed {
  color: #cc3333;
  font-weight: 700;
}
.hours-table th.closed {
  background: #cc3333;
  color: var(--white);
}

/* ===== 料金 ===== */
.price {
  background: var(--white);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  border: 2px solid var(--gray-mid);
  border-radius: 12px;
  padding: 40px 32px;
  transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.price-card.featured {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.price-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.price-card.featured .price-tag {
  color: rgba(255,255,255,0.75);
}
.price-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-mid);
}
.price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.price-label {
  font-size: 13px;
  color: var(--gray-dark);
}
.price-value {
  font-size: 18px;
}
.price-value strong {
  font-size: 24px;
  font-weight: 900;
}
.price-center {
  text-align: center;
  margin-bottom: 12px;
}
.price-big {
  font-size: 24px;
}
.price-big strong {
  font-size: 52px;
  font-weight: 900;
}
.price-unit {
  display: block;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}
.price-desc {
  font-size: 13px;
  color: var(--gray-dark);
  margin-top: 16px;
}
.price-card.featured .price-desc {
  color: rgba(255,255,255,0.8);
}

/* ===== ギャラリー ===== */
.gallery {
  background: var(--gray-light);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-mid);
}
.gallery-item.no-image::after {
  content: '📸';
  font-size: 24px;
}
.gallery-random {
  position: relative;
}
.gallery-random img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}
.gallery-random .g-current {
  opacity: 1;
}
.gallery-random .g-next {
  opacity: 0;
}
.gallery-video {
  position: relative;
  background: #000;
}
.gallery-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.gallery-video video.v-current {
  opacity: 1;
}

/* ===== お問い合わせ ===== */
.contact {
  background: var(--black);
  color: var(--white);
}
.contact .section-label {
  color: var(--accent);
}
.contact .section-title {
  color: var(--white);
}
.contact-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  min-width: 200px;
}
.contact-icon {
  font-size: 32px;
}
.contact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-value {
  font-size: 20px;
  font-weight: 700;
}
a.contact-value:hover {
  color: var(--accent);
  text-decoration: underline;
}
.contact-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ===== フッター ===== */
.footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.5);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.1em;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 13px;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-copy {
  font-size: 12px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .hours-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box { flex-direction: column; gap: 32px; }
  .contact-divider { width: 100%; height: 1px; }
  section { padding: 64px 0; }
}
