/* ーーーー 月謝ページ用 ーーーー */

/* ヒーロー */
.price-hero {
  margin-top: 70px;                 /* 固定ヘッダー分の余白 */
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  text-align: center;
  padding: 40px 20px 50px;
}

.price-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.price-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.price-hero p {
  font-size: 1rem;
  opacity: 0.85;
}

/* 入会金ボックス */
.price-intro {
  background: #f7f7f7;
  padding: 30px 20px 10px;
}

.price-intro-inner {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-left: 6px solid #e02727;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.price-intro-inner h2 {
  margin: 0 0 5px;
  font-size: 1.4rem;
}

.price-intro-inner .price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.price-intro-inner .price-note {
  font-size: 0.9rem;
  color: #666;
}

/* 月謝カード全体 */
.price-section {
  padding: 30px 20px 60px;
  background: #f7f7f7;
}

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

/* 各カード */
.price-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 22px 20px 18px;
}

.price-card h3 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

/* 月謝リスト */
.price-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 15px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.price-label {
  font-size: 0.95rem;
}

.price-amount {
  font-weight: 700;
  font-size: 1rem;
}

/* フリー受け放題の強調 */
.price-highlight {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffe8e8;
  border-left: 4px solid #e02727;
}

.price-highlight-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e02727;
}

.price-highlight-amount {
  margin: 4px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

/* オプション（入門受け放題・基礎強化） */
.price-option {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.option-label {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.option-amount {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.option-note {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #777;
}

/* 補足テキスト */
.price-notes {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 0.9rem;
  color: #555;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .price-hero {
    padding: 32px 16px 36px;
  }

  .price-hero h1 {
    font-size: 2rem;
  }

  .price-section-inner {
    grid-template-columns: 1fr;
  }
}

/* ====== ヘッダー（PCデフォルト表示） ====== */
.site-header {
  background-color: #222;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-header .logo {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ====== ハンバーガー（スマホのみ） ====== */
.hamburger {
  display: none;
}

/* サイトマップ */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  color: #fff;
  background: #111;
}

.footer-sitemap h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.07em;
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-sitemap li {
  margin-bottom: 6px;
}

.footer-sitemap a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-sitemap a:hover {
  text-decoration: underline;
  color: #ffd768; /* ホバーを少し黄色にして統一感UP */
}

@media (max-width: 768px) {
  .footer-sitemap {
    grid-template-columns: 1fr 1fr;
    gap: 25px 10px;
  }
}

/* PC共通 */
.hamburger {
  display: none;              /* PCでは非表示 */
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  background: white;
  height: 3px;
  margin: 4px 0;
  width: 25px;
}

/* ★スマホ用の切り替え */
@media (max-width: 768px) {
  .hamburger {
    display: flex;            /* スマホでは表示 */
  }

  .main-nav {
    display: none;            /* 初期状態ではメニュー非表示 */
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
  }

  .main-nav.active {
    display: flex;            /* toggleMenu() で表示切替 */
  }

  .main-nav a {
    padding: 10px 0;
  }
}
