@charset "UTF-8";

/* =======================================================
   サイト全体・ヘッダー・フッターの基本スタイル
======================================================= */
/* 余白の強制リセット */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

  /* 全体の基本設定 */
    body {
      font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
      font-weight: 300;
      line-height: 1.6;
      color: #333;
      margin: 0;
      padding: 0;
      background-color: #f8f9fa;
    }
    a { color: #222; text-decoration: none; }


/* =========================================
       ヘッダー・ロゴデザイン（画像化）
       ========================================= */
    header {
      background-color: #fff;
      padding: 30px 20px 25px; 
      text-align: center;
    }
    header h1 { 
      margin: 0; 
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .logo-uji-img {
      height: 30px; 
      width: auto;
      margin-right: 15px;
      display: block;
    }
    .logo-text {
      font-family: 'M PLUS Rounded 1c', sans-serif;
      font-weight: 300; 
      font-size: 1.5rem; 
      color: #333;
    }

    /* =========================================
       専用ナビゲーション（ピル型ボタンスタイル）
       ========================================= */
    .local-nav {
      background-color: #fff; 
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px; 
      padding: 10px 20px 15px; 
    }
    .local-nav a {
      color: #666;
      padding: 8px 20px;
      font-size: 0.95rem;
      font-weight: 300; 
      font-family: 'M PLUS Rounded 1c', sans-serif; 
      border: 1px solid #ccc; 
      border-radius: 30px; 
      transition: all 0.3s;
    }
    .local-nav a:hover { 
      background-color: #f4f5f7; 
      color: #333;
    }
    .local-nav a.active { 
      background-color: #e5e5e5; 
      border-color: #e5e5e5;
      color: #333;
    }
    /* 御池校へのリンク用（濃いグレー） */
    .local-nav a[href*="oike"] {
      background-color: #a0a0a0;
      border-color: #a0a0a0;
      color: #fff;
    }
    .local-nav a[href*="oike"]:hover {
      background-color: #888;
      border-color: #888;
    }


/* フッター */
footer {
  background-color: #fff;
  color: #222;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* メインコンテンツ枠 */
.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
.page-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #2c3e50;
  border-bottom: 2px solid #5b8bd8;
  padding-bottom: 15px;
}


/* =======================================================
   個別スケジュールページ専用スタイル
======================================================= */
/* ーー ご入学の条件ボタン ーー */
.condition-btn-wrap {
  text-align: center;
  margin-bottom: 50px;
}
.condition-btn {
  display: inline-block;
  background: linear-gradient(135deg, #7f8c8d 0%, #bdc3c7 100%);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s;
  border: 2px solid #fff;
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
}
.condition-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #6c7a7d 0%, #aab2b7 100%);
}
.condition-note {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #e74c3c;
}

/* ーー コース詳細全体枠 ーー */
.course-detail-wrap {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: left;
  line-height: 1.8;
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
  color: #333;
}
.course-lead-text {
  text-align: center;
  font-weight: 500;
  margin-bottom: 40px;
  color: #2980b9;
}

/* ーー 共通セクション枠（白背景＋影） ーー */
.course-section-box {
  background: #f9fbfd;
  border: 1px solid #e1e8ed;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.course-section-title {
  color: #2980b9;
  border-bottom: 2px solid #2980b9;
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 15px;
}

/* ーー 授業時間リスト ーー */
.time-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}
.time-list li {
  border-bottom: 1px dashed #ccc;
  padding: 8px 0;
}
.time-list li:last-child {
  border-bottom: none;
}

/* ーー タイムテーブル（時間割表） ーー */
.timetable-wrap {
  margin-top: 20px;
  margin-bottom: 30px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.timetable-legend {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
  font-size: 0.85em;
  color: #555;
  gap: 15px;
}
.legend-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.timetable {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.85em;
  font-family: sans-serif;
  color: #555;
}
.timetable th {
  padding: 10px 2px;
  font-weight: normal;
  color: #777;
  border-bottom: 2px solid #ccc;
}
.timetable td {
  padding: 8px 2px;
  border-bottom: 1px dashed #ddd;
  border-right: 1px solid #eee;
  line-height: 1.4;
}
.timetable tr { height: 100px; }
/* セル背景色 */
.bg-basic { background-color: #9ba7cc; }
.bg-partial {
  background-color: #ffbd91;
  border: 1px dashed #7a8cb8 !important;
  color: #7a8cb8;
  font-weight: bold;
}

/* ーー 注意書きボックス ーー */
.caution-box {
  font-size: 0.85em;
  color: #e74c3c;
  margin-top: 15px;
  background-color: #ffd9bf;
  padding: 10px;
  border-radius: 5px;
  border-left: 4px solid #e74c3c;
}

/* ーー 受講料リスト ーー */
.fee-block { margin-top: 25px; }
.fee-badge {
  display: inline-block;
  color: #fff;
  padding: 4px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95em;
  margin-bottom: 10px;
}
/* 各期のバッジカラー */
.badge-1 { background: #8e44ad; }
.badge-summer { background: #f39c12; }
.badge-2 { background: #27ae60; }
.badge-winter { background: #3498db; }
.badge-3 { background: #e67e22; }

.fee-list {
  list-style: none;
  padding-left: 0;
  margin-top: 5px;
  font-size: 0.95em;
}
.fee-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
  padding: 6px 0;
}
.fee-list li:last-child {
  border-bottom: none;
}

/* ーー PDF・画像案内セクション ーー */
.guide-section {
  text-align: center;
  margin-bottom: 50px;
}
.guide-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.guide-image:hover { transform: scale(1.02); }

.pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background-color: #f4f8fa; 
  color: #666666;
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif;
  font-weight: normal;
  padding: 15px 30px;
  border: 1px solid #dce4e8;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  text-decoration: none;
}
.pdf-btn::before {
  content: '☝';
  margin-right: 15px;
  font-size: 1.5rem;
}
.pdf-btn:hover {
  background-color: #ebf3f7;
  color: #333;
}

/* ーー スケジュール一覧へ戻るボタン ーー */
.btn-back-wrap {
  text-align: center;
  margin: 60px 0;
}
.btn-back {
  display: inline-block;
  background-color: #fff;
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif !important;
  font-weight: 400 !important;
  color: #8a8a8a;
  padding: 12px 30px;
  border-radius: 30px;
  border: 1px solid #8a8a8a;
  transition: 0.3s;
  text-decoration: none;
}
.btn-back:hover {
  background-color: #e8e8e8;
}

/* =======================================================
   アクセス・お問い合わせボタン
======================================================= */
.contact-btn-wrap {
  text-align: center;
  margin: 50px 0;
  display: flex;
  flex-direction: column;
}

.btn-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 400px;
  margin: 0 auto 15px auto; 
  padding: 16px;
  box-sizing: border-box;
  border-radius: 30px;
  font-family: "游ゴシック", "Yu Gothic", YuGothic, sans-serif !important;
  font-weight: 400 !important;
  font-size: 1.05rem;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: opacity 0.3s;
}

.btn-contact:last-child {
  margin-bottom: 0;
}

.btn-contact:hover {
  opacity: 0.8;
}

.btn-gray { 
  background-color: #c8c8c8; 
}

/* アイコンの巨大化を防ぐ */
.btn-contact .custom-icon {
  width: 20px !important;
  height: auto !important;
  margin-right: 12px;
}

/* =======================================================
   電話番号表示ポップアップ（モーダル）
======================================================= */
#tel-modal { 
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.5); 
  z-index: 10000; 
  justify-content: center; 
  align-items: center; 
}
#tel-modal-content { 
  background: #fff; 
  padding: 30px; 
  border-radius: 10px; 
  text-align: center; 
  max-width: 320px; 
  width: 90%; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}
#tel-modal-content h3 { 
  margin-top: 0; 
  color: #2c3e50; 
  font-size: 1.2rem; 
  border: none; 
}
#tel-modal-content p { 
  font-size: 1.5rem; 
  font-weight: bold; 
  color: #727272; 
  margin: 15px 0; 
}
#tel-modal-close { 
  background-color: #b7b7b7; 
  color: #fff; 
  border: none; 
  padding: 8px 20px; 
  border-radius: 20px; 
  font-weight: bold; 
  cursor: pointer; 
}

    /* スマホ画面用の調整 */
    @media (max-width: 600px) {
      
      /* ★ スマホでもナビ下の隙間を詰めました */
      .local-nav { gap: 8px; padding-bottom: 10px; }
      .local-nav a { padding: 6px 15px; font-size: 0.85rem; }
      
      .logo-uji-img { height: 24px; margin-right: 10px; }
      .logo-text { font-size: 1.2rem; }
    }