@charset "UTF-8";

/* ==========================================
   1. 共通・トップセクション
   ========================================== */
.main_top img { width: 100%; height: auto; display: block; }
.main_top_back { background: #f9f9f9; padding: 20px 0; margin-bottom: 30px; }

/* 強調テキスト（紺背景・黄文字） */
.highlighted-text {
    background-color: #303967;
    color: #ffe200;
    padding: 12px 20px;
    display: inline-block;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.concept-message {
    text-align: center;
    margin: 30px 0;
    line-height: 1.6;
    color: #303967;
}

/* ==========================================
   2. 新着情報 (dl_info)
   ========================================== */
.dl_info dl { border-top: 1px solid #eee; margin-bottom: 20px; }
.dl_info dt {
    border-bottom: 1px solid #eee;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.news_day { font-size: 0.85rem; color: #888; width: 90px; }
.news_cate { 
    background: #303967; color: #fff; font-size: 0.7rem; 
    padding: 2px 8px; border-radius: 3px; 
}
.news_main { flex: 1; min-width: 200px; font-weight: bold; }
.a_red { color: #e60012; margin-left: 5px; font-weight: bold; }

/* ==========================================
   3. 体験申込バナー (box_experience)
   ========================================== */
.box_experience {
    background: #ffe200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.experience_left { font-size: 1.2rem; font-weight: bold; color: #303967; }
.experience_left span { display: block; font-size: 2rem; letter-spacing: 0.1em; }
.buttonfree a {
    background: #303967; color: #fff;
    padding: 15px 40px; border-radius: 50px;
    font-weight: bold; display: inline-block; transition: 0.3s;
}
.buttonfree a:hover { transform: scale(1.05); background: #000; }

/* ==========================================
   4. 横並び＆横スクロールコンテナ (重要)
   ========================================== */
.track-flex-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* PC表示：3列グリッド */
@media screen and (min-width: 992px) {
    .track-flex-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* スマホ・タブレット表示：横スクロール */
@media screen and (max-width: 991px) {
    .track-flex-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px 15px; /* 下部にスクロールバー用の余白 */
        margin: 0 -15px 30px; /* 画面端までスクロールさせる */
    }
    .place_contents, .tag_wrapper {
        flex: 0 0 85%; /* 画面幅の85%に設定して次をチラ見せ */
        scroll-snap-align: center;
    }
}

/* ==========================================
   5. 教室情報カード (place_contents)
   ========================================== */
.place_contents {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.place_ttl {
    background: #303967; color: #fff;
    padding: 10px; font-weight: bold; font-size: 0.9rem;
    margin-bottom: 15px; border-radius: 5px;
    min-height: 3.5em; display: flex; align-items: center; justify-content: center;
}
.place_img img { width: 100%; border-radius: 5px; margin-bottom: 15px; }
.place_txt { text-align: left; font-size: 0.85rem; line-height: 1.8; }

/* 曜日ラベル */
.day-label {
    display: inline-block; width: 65px; text-align: center;
    color: #fff; font-size: 0.75rem; font-weight: bold;
    border-radius: 3px; margin-right: 8px; padding: 2px 0;
}
.sat { background: #007bff; }
.sat_ath { background: #004a99; }
.sun { background: #e60012; }
.sun_ath { background: #a3000d; }
.fri { background: #28a745; }
.fri_ath { background: #1a6d2d; }

.notice_box {
    background: #f8f9fa; border-left: 5px solid #ffe200;
    padding: 20px; margin-bottom: 30px; font-size: 0.95rem;
}

/* ==========================================
   6. 大会情報 (tag_wrapper)
   ========================================== */
.tag_wrapper {
    border: 1px solid #ddd; border-radius: 8px;
    overflow: hidden; background: #fff;
    display: flex; flex-direction: column;
}
.tag_race {
    background: #f4f4f4; padding: 12px;
    font-weight: bold; font-size: 0.9rem;
    min-height: 4em; display: flex; align-items: center;
}
.tag_race a { color: #303967; text-decoration: none; }
.tag_table { width: 100%; border-collapse: collapse; flex: 1; }
.tag_table td { padding: 10px; border-bottom: 1px solid #f0f0f0; font-size: 0.85rem; }
.tag_table i { color: #303967; width: 25px; text-align: center; }

/* ==========================================
   7. 入会フロー (flow_design05)
   ========================================== */
.flow_design05 { margin: 40px 0; }
.flow05 { list-style: none; padding: 0; position: relative; }
.flow05 li { margin-bottom: 30px; padding-left: 20px; position: relative; }
/* 縦ライン */
.flow05 li:not(:last-child)::after {
    content: ""; position: absolute;
    left: 42px; top: 50px; bottom: -20px;
    width: 2px; background: #303967;
}
@media screen and (max-width: 767px) {
    .flow05 li:not(:last-child)::after { left: 42px; } /* スマホでも位置固定 */
}
.flow05 dt {
    font-size: 1.2rem; font-weight: bold; color: #303967;
    display: flex; align-items: center; margin-bottom: 15px;
}
.icon05 {
    background: #303967; color: #ffe200;
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 15px; font-size: 1.4rem; flex-shrink: 0;
}
.flow05 dd { margin-left: 60px; line-height: 1.8; }

.guide_free {
    background: #ffe200; color: #303967;
    padding: 10px 30px; border-radius: 30px;
    font-weight: bold; display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s;
}
.guide_free:hover { background: #303967; color: #fff; transform: translateY(-2px); }

/* ==========================================
   8. ガイドセクション (guide_600)
   ========================================== */
.wp-block-heading {
    border-bottom: 2px solid #303967; padding-bottom: 10px;
    margin: 50px 0 20px; font-size: 1.4rem; color: #303967;
}
.guide_600 { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 60px; }
.guide_img { flex: 0 0 250px; }
.guide_img img { width: 100%; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.guide_right { flex: 1; }

.guide_table { width: 100%; border-collapse: collapse; }
.guide_table th, .guide_table td { padding: 15px; border: 1px solid #ddd; text-align: left; }
.guide_table th { background: #f8f9fa; color: #303967; width: 100px; }

/* 共通ボタン（もっと見る） */
.read_more { text-align: right; margin: 10px 0; }
.read_more a {
    color: #303967; font-weight: bold; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px;
}

/* ==========================================
   9. 全体レスポンシブ調整
   ========================================== */
@media screen and (max-width: 991px) {
    .box_experience { flex-direction: column; gap: 20px; text-align: center; }
}

@media screen and (max-width: 767px) {
    .guide_600 { flex-direction: column; }
    .guide_img { width: 100%; flex: none; }
    .flow05 dd { margin-left: 0; padding-top: 10px; }
    .flow05 li:not(:last-child)::after { left: 22px; } /* アイコンサイズに合わせたライン調整 */
    .icon05 { width: 45px; height: 45px; }
}