@charset "utf-8";

/* ==========================================
   札幌本店 専用CSS (2026top_2.css)
   ========================================== */

/* スムーススクロール有効化 */
html {
  scroll-behavior: smooth;
}

/* ヘッダーとフッターの背景色 */
header,
footer {
  background-color: #f4f7f5 !important;
}

/* ==========================================
   1. ヒーローエリア 3つボタン横並び設定
   ========================================== */
.hero-cta-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; /* 折り返しを禁止 */
  gap: 10px;
  margin-top: 15px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-cta-group a {
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex: 1 1 0 !important; /* 3つのボタンを完全に均等幅にする */
  min-width: 0 !important; /* 横幅オーバーによる折り返しを防止 */
  white-space: nowrap;
}

.hero-cta-group a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 1. LINEボタン（緑・強調） */
.btn-hero-line {
  background: #06C755 !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  padding: 12px 8px !important;
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 2. 無料相談・体験ボタン（オレンジ） */
.btn-hero-sub {
  background: #e67e22 !important;
  color: #ffffff !important;
  padding: 12px 8px !important;
  font-size: 0.95rem !important;
}

/* 3. ネット入会申込ボタン（ダークグリーン） */
.btn-hero-main {
  background: #1b4d3e !important;
  color: #ffffff !important;
  padding: 12px 8px !important;
  font-size: 0.95rem !important;
}


/* ==========================================
   2. 特徴セクション・アコーディオン・小カード
   ========================================== */
.more-cards-wrapper {
  display: none;
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 15px;
}

.more-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.small-card {
  padding: 10px 8px !important;
  border-radius: 8px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.small-card .feature-icon {
  font-size: 22px !important;
  margin-bottom: 4px !important;
}

.small-card .feature-text h3 {
  font-size: 12px !important;
  margin-bottom: 4px !important;
  line-height: 1.3 !important;
}

.small-card .feature-text p {
  font-size: 10px !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
  color: #666;
}

.small-card .card-more-btn {
  font-size: 9px !important;
  margin-top: auto;
}

/* 開閉ボタン */
.toggle-btn-wrap {
  text-align: center;
  margin-top: 25px;
  width: 100%;
}

.btn-toggle-more {
  display: inline-block;
  background: #fdf2e9;
  color: #e67e22;
  border: 2px solid #e67e22;
  padding: 12px 35px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.15);
}

.btn-toggle-more:hover {
  background: #e67e22;
  color: #fff;
}

/* 改行制御 */
.sp-only {
  display: none;
}


/* ==========================================
   3. 料金表スクロールヒント
   ========================================== */
.scroll-hint {
  display: none;
  font-size: 12px;
  color: #e67e22;
  font-weight: bold;
  text-align: left;
  margin-bottom: 6px;
}


/* ==========================================
   4. ポップアップ・モーダル共通スタイル
   ========================================== */
/* 閉じる（× ＋ CLOSE）ボタンの統一スタイル */
.modal-close,
.facility-modal-close,
.camp-modal-content .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 42px;
  background-color: rgba(0, 0, 0, 0.6) !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px !important;
  cursor: pointer;
  z-index: 10;
  padding: 4px 0 0 0 !important;
  outline: none;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  font-size: 0 !important;
}

.modal-close::before,
.facility-modal-close::before,
.camp-modal-content .modal-close::before {
  content: '×';
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: bold;
  margin-bottom: -1px;
}

.modal-close::after,
.facility-modal-close::after,
.camp-modal-content .modal-close::after {
  content: 'CLOSE';
  color: #ffffff;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 0.5px;
  line-height: 1;
}

/* キャンペーンモーダル内画像 */
.camp-modal-img {
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 12px;
}


/* ==========================================
   5. レスポンシブ対応（メディアクエリ: 768px以下）
   ========================================== */
@media (max-width: 768px) {
  /* ヘッダー内調整 */
  header .header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 10px !important;
  }

  header .logo img {
    max-height: 28px !important;
    width: auto !important;
    margin-bottom: 0 !important;
  }

  .header-btn-group {
    width: auto !important;
    flex-direction: row !important;
    gap: 5px !important;
    align-items: center !important;
  }

  .header-btn-group .member-menu-wrap {
    width: auto !important;
  }

  .header-btn-group a,
  .header-btn-group button,
  .header-btn-group .member-menu-wrap button {
    display: inline-block !important;
    width: auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
    font-size: 11px !important;
    font-family: inherit !important;
    padding: 6px 8px !important;
    line-height: 1.2 !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
  }

  /* ヒーローエリア 3つボタン スマホ完全横並び設定 */
  .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: 100% !important;
  }

  .hero-cta-group a {
    font-size: 10px !important;
    padding: 10px 2px !important;
    border-radius: 20px !important;
    flex: 1 1 0 !important;
    width: auto !important;
  }

  .btn-hero-line {
    font-size: 10px !important;
    gap: 3px !important;
  }

  .btn-hero-line i {
    font-size: 0.9rem !important;
  }

  /* スマホでの改行表示 */
  .sp-only {
    display: inline;
  }

  /* 料金表のスクロールヒント表示 */
  .scroll-hint {
    display: block;
  }
}


/* ==========================================
   6. レスポンシブ対応（PC: 768px以上）
   ========================================== */
@media (min-width: 768px) {
  .modal-content,
  .camp-modal-content {
    max-width: 750px !important;
    max-height: 92vh !important;
    padding: 24px 30px !important;
    overflow-y: hidden !important;
  }

  .camp-modal-img,
  .modal-content img {
    max-height: 72vh !important;
    object-fit: contain !important;
  }

  #achievementModal .modal-content {
    max-width: 580px !important;
    padding: 15px 20px !important;
  }

  #achievementVideoPlayer {
    max-height: 320px !important;
    object-fit: contain;
  }
}