@charset "UTF-8";

/* ==========================================
   1. 共通パーツ & 基本装飾 (Global & UI)
   ========================================== */

/* 写真風装飾（白い縁取り & マスキングテープ） */
.intro-visual {
    width: 90%;
    margin: 15px auto 0;
    position: relative;
    padding: 10px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    box-sizing: border-box;
}

.intro-visual::before {
    content: "";
    position: absolute;
    top: -15px; 
    left: 50%;
    transform: translateX(-50%) rotate(-2deg); 
    width: 100px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(2px);          
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 2;
}

.intro-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* 詳しく見るボタンエリア（中央配置） */
.intro-action {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 30px 0 20px;
}

/* 共通ボタン（詳しく見る・体験申込） */
.btn-more {
    display: inline-block;
    background-color: #ffe200;
    color: #000;
    padding: 12px 50px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    text-align: center;
    margin: 0; /* intro-action内でのリセット込み */
}
.btn-more:hover { background-color: #303967; color: #fff; }

/* 会場リンクボタン (btn-loc) */
.location-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.btn-loc {
    flex: 1;
    min-width: 150px;
    background-color: #4a5796;
    color: #ffffff;
    text-align: center;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-loc:hover {
    background-color: #303967;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 汎用テキスト装飾 */
.info_01 {
    background: #303967;
    color: #fff;
    padding: 8px 15px;
    margin: 30px 0 15px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    display: inline-block;
}
.a_orange { color: #f39800; font-size: 1.2rem; margin-right: 5px; }
.font_12 { font-size: 0.85rem; color: #666; line-height: 1.7; }
.p-text { padding: 0 15px; margin-bottom: 20px; }
.sub-text { font-size: 0.85rem; color: #666; padding: 0 15px 20px; }

/* スマホ時汎用調整 */
@media screen and (max-width: 767px) {
    .info_01 { width: 100%; text-align: center; }
    .btn-loc { min-width: calc(50% - 5px); font-size: 12px; padding: 8px 5px; }
}

/* ==========================================
   2. ヒーローセクション (TOPページ)
   ========================================== */
.hero {
    background-color: #fff;
    padding: 20px 0;
    margin-bottom: 40px;
    color: #303967;
    overflow: hidden;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 20px;
}
.hero-swiper {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(48, 57, 103, 0.1); 
}
.swiper-slide { background-size: cover; background-position: center; width: 100%; height: 100%; }
.hero-swiper .swiper-pagination-bullet { background: rgba(48, 57, 103, 0.3); opacity: 1; }
.hero-swiper .swiper-pagination-bullet-active { background: #303967; }

.hero-content { flex: 1; text-align: left; }
.hero-copy { margin-bottom: 20px; }
.copy-sub { display: block; font-size: 1.8rem; font-weight: bold; color: #303967; letter-spacing: 0.1em; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero {
    background: #303967; color: #ffffff; border: 1px solid #303967;
    padding: 15px 8px; border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    font-weight: bold; width: calc(33.333% - 8px); min-width: 130px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-hero i { font-size: 1.4rem; color: #ffe200; transition: 0.3s; }
.btn-hero span { font-size: 0.8rem; text-align: center; line-height: 1.2; }
.btn-hero:hover { background: #ffe200; color: #303967; transform: translateY(-3px); }
.btn-hero:hover i { color: #000; }

@media screen and (max-width: 767px) {
    .hero { padding: 10px 0; }
    .hero-inner { flex-direction: column; gap: 20px; }
    .hero-swiper { width: 100%; max-width: 280px; box-shadow: none; }
    .btn-hero { width: calc(50% - 6px); min-width: auto; }
}

/* ==========================================
   3. お知らせ & アーカイブ (News & Archive)
   ========================================== */
.news-section { margin-bottom: 40px; }
.news-list { list-style: none; padding: 0; }

/* PC表示：1行 */
.news-list li {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 320px;
    flex-shrink: 0;
}
.news-date {
    font-size: 0.9rem;
    color: #888;
    width: 95px;
    flex-shrink: 0;
}
.news-category {
    background: #303967;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 0;
    width: 90px;
    text-align: center;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 0;
}
.news-title {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s;
    flex: 1;
}
.news-title:hover { color: #303967; }

/* カテゴリー色 */
.news-category.cat-gym { background-color: #f39800; }
.news-category.cat-track { background-color: #28a745; }
.news-category.cat-race { background-color: #303967; }

/* もっと見る・一覧リンク */
.read_more.text-right { text-align: right; margin-top: 20px; }
.read_more.text-right a {
    display: inline-flex; align-items: center; gap: 8px;
    color: #303967; font-weight: bold; text-decoration: none; transition: 0.3s;
}
.read_more.text-right a:hover { opacity: 0.7; }

/* アーカイブ専用スタイル */
.archive-list { margin-top: 30px; }
.archive-item { background: #fff; border-bottom: 1px solid #eee; padding: 30px 10px; transition: 0.3s; }
.archive-item:last-child { border-bottom: none; }
.archive-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.archive-date { font-size: 0.9rem; color: #888; }
.archive-cat { background: #303967; color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 3px; }
.archive-item-ttl { font-size: 1.25rem; margin-bottom: 15px; }
.archive-item-ttl a { color: #333; text-decoration: none; font-weight: bold; line-height: 1.4; }
.archive-item-ttl a:hover { color: #303967; }
.archive-excerpt { font-size: 0.95rem; color: #666; line-height: 1.7; margin-bottom: 15px; }
.archive-more { text-align: right; }
.archive-more a { color: #303967; font-weight: bold; text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; }

/* ページネーション */
.pagination { text-align: center; margin: 50px 0; }
.pagination .page-numbers {
    display: inline-block; padding: 8px 16px; margin: 0 4px;
    background: #fff; border: 1px solid #ddd; color: #303967; text-decoration: none;
    border-radius: 4px; font-weight: bold; transition: 0.3s;
}
.pagination .page-numbers.current { background: #303967; color: #fff; border-color: #303967; }
.pagination .page-numbers:hover:not(.current) { background: #ffe200; color: #303967; border-color: #ffe200; }

/* 大会情報サマリータグ */
.race-summary-tags { display: flex; flex-wrap: wrap; gap: 10px; line-height: 1.4; }

/* お知らせスマホ表示 */
@media screen and (max-width: 767px) {
    .news-list li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 0; }
    .news-meta { width: auto; flex-wrap: wrap; }
    .news-title { width: 100%; display: block; font-size: 0.95rem; }
    .archive-item-ttl { font-size: 1.1rem; }
    .archive-item { padding: 20px 0; }
    .race-summary-tags { margin-top: 8px; flex-direction: column; gap: 4px; }
}

/* ==========================================
   4. レイアウトコンポーネント (Grids & Tables)
   ========================================== */

/* 2カラムイントロ */
.intro-flex-row { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 40px; }
.intro-flex-row .intro-visual { flex: 0 0 45%; margin-top: 20px; }
.intro-text-content { flex: 1; }

.lead-txt {
    font-size: 1.3rem; font-weight: bold; color: #303967; line-height: 1.4;
    margin-bottom: 15px; border-left: 5px solid #ffe200; padding-left: 15px;
}

/* レッスン項目・会場名タグ */
.lesson-item-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.lesson-item-tags span { background: #303967; color: #fff; padding: 8px 15px; border-radius: 5px; font-size: 0.9rem; font-weight: bold; }
.lesson-item-tags .etc { background: none; color: #333; }

/* 注目ボックス */
.target-box { background: #fdf8e6; padding: 20px; border-radius: 10px; border: 1px dashed #303967; margin-top: 20px; }

/* 特徴グリッド */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.feature-card {
    background: #fff; border: 1px solid #eee; padding: 20px; text-align: center;
    border-radius: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.f-icon { font-size: 2rem; color: #303967; margin-bottom: 10px; }

/* 会場ナビ & テーブル */
.venue-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.venue-btn {
    background: #fff; border: 2px solid #303967; color: #303967;
    padding: 15px 5px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.venue-btn.active { background: #303967; color: #fff; }

.venue-detail {
    display: none; opacity: 0; transform: translateY(10px); transition: 0.4s ease;
    background: #fff; padding: 25px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 40px;
}
.venue-detail.active { display: block; opacity: 1; transform: translateY(0); }
.venue-detail h4 { color: #303967; border-bottom: 2px solid #ffe200; padding-bottom: 10px; margin-bottom: 25px; font-size: 1.4rem; }

.venue-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; background: #fff; }
.venue-table th, .venue-table td { border: 1px solid #ddd; padding: 15px; text-align: left; line-height: 1.6; }
.venue-table th { background: #f8f9fa; width: 25%; color: #303967; font-weight: bold; }

/* 中央揃えテーブル */
.venue-table-center { width: 100%; max-width: 500px; margin: 0 auto 20px; border-collapse: collapse; background: #fff; }
.venue-table-center th, .venue-table-center td { border: 1px solid #ddd; padding: 12px; text-align: center; line-height: 1.6; }
.venue-table-center th { background: #f8f9fa; color: #303967; font-weight: bold; width: 40%; }

@media screen and (max-width: 767px) {
    .intro-flex-row { flex-direction: column; gap: 20px; }
    .intro-flex-row .intro-visual { width: 95%; margin: 20px auto; }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lead-txt { font-size: 1.1rem; }
    .venue-nav { grid-template-columns: 1fr 1fr; }
    .venue-btn { font-size: 0.8rem; padding: 10px 5px; }
    .venue-table th { width: 35%; padding: 10px; font-size: 0.9rem; }
    .venue-table td { padding: 10px; font-size: 0.9rem; }
    .lesson-item-tags { justify-content: flex-start; }
    .venue-table-center { max-width: 100%; }
}

/* ==========================================
   5. コンポーネント (Step, Staff, FAQ, etc)
   ========================================== */

/* ステップフロー */
.step-flow { display: flex; flex-direction: column; align-items: center; gap: 15px; margin: 30px 0; }
.step-item { background: #fff; border: 2px solid #303967; border-radius: 10px; padding: 15px 30px; text-align: center; width: 100%; max-width: 400px; }
.step-item.active { background: #303967; color: #fff; }
.step-num { display: block; font-size: 1.2rem; font-weight: bold; color: #ffe200; margin-bottom: 5px; }
.step-arrow { font-size: 1.5rem; color: #303967; }

/* スタッフ紹介 */
.staff-flex-container { display: flex; gap: 20px; margin-bottom: 50px; }
.staff-card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.staff-name { background: #303967; color: #ffe200; padding: 12px; text-align: center; font-weight: bold; font-size: 1.1rem; }
.staff-image img { width: 100%; height: auto; display: block; }
.staff-info { padding: 15px; font-size: 0.9rem; line-height: 1.6; flex: 1; }
.info-label { color: #303967; font-weight: bold; margin-bottom: 3px; border-bottom: 1px solid #ffe200; display: inline-block; }
.info-text { margin-bottom: 12px; color: #333; }

/* FAQ */
.faq-container { margin-bottom: 40px; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 8px; margin-bottom: 15px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.faq-question { padding: 18px 20px; font-weight: bold; color: #303967; display: flex; align-items: center; background: #fcfcfc; border-bottom: 1px solid #f0f0f0; line-height: 1.5; }
.q-icon { background: #303967; color: #ffe200; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; font-size: 0.9rem; }
.faq-answer { padding: 20px 20px 20px 63px; line-height: 1.8; color: #444; position: relative; font-size: 0.95rem; }
.a-icon { position: absolute; left: 20px; top: 20px; color: #e60012; font-weight: bold; font-size: 1.1rem; }

/* 記事詳細ナビ (s_box) */
.s_box { display: flex; justify-content: space-between; align-items: center; margin: 60px 0 40px; padding-top: 30px; border-top: 2px solid #eee; gap: 20px; }
.pre_box, .next_box { flex: 1; }
.next_box { text-align: right; }
.pre_box a, .next_box a {
    display: inline-block; padding: 10px 20px; background: #f8f9fa; color: #303967;
    text-decoration: none; font-weight: bold; border-radius: 5px; border: 1px solid #ddd; transition: 0.3s; font-size: 0.9rem;
}
.pre_box a:hover, .next_box a:hover { background: #303967; color: #fff; border-color: #303967; }

@media screen and (min-width: 992px) {
    .staff-flex-container { display: grid; grid-template-columns: repeat(3, 1fr); }
    .program-grid-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 40px; margin-bottom: 60px; }
}
@media screen and (max-width: 991px) {
    .staff-flex-container { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 15px 20px; margin: 0 -15px; }
    .staff-card { flex: 0 0 85%; scroll-snap-align: center; }
}
@media screen and (max-width: 767px) {
    .step-item { padding: 15px; font-size: 0.9rem; }
    .faq-answer { padding-left: 20px; font-size: 0.85rem; }
    .a-icon { position: static; display: block; margin-bottom: 5px; }
    .s_box { flex-direction: column; gap: 10px; }
    .pre_box, .next_box { width: 100%; }
    .pre_box a, .next_box a { display: block; text-align: center; }
}

/* ==========================================
   6. ページ固有装飾 (NPO概要・リンク・マインド)
   ========================================== */

/* 設立経緯 */
.about-history-text p { line-height: 1.9; margin-bottom: 20px; color: #444; }
.about-history-text span { color: #303967; font-weight: bold; background: linear-gradient(transparent 70%, #fff380 70%); }

/* 講師・資格リスト */
.instructor-sub-ttl { font-weight: bold; color: #303967; border-left: 4px solid #ffe200; padding-left: 12px; margin-bottom: 15px; }
.specialty-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.specialty-tags span { background: #f0f2f5; color: #303967; padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; }
.qual-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; }
.qual-list li, .part-time-list li { font-size: 0.9rem; color: #333; display: flex; align-items: flex-start; gap: 10px; }
.qual-list i { color: #303967; margin-top: 3px; }
.part-time-list { list-style: none; padding: 10px 0 30px; }
.part-time-list li { margin-bottom: 12px; font-weight: bold; color: #303967; }
.part-time-list i { color: #28a745; margin-top: 4px; }

/* リンクページ */
.link-list-simple { list-style: none; padding: 0 0 30px 10px; }
.link-list-simple li { margin-bottom: 18px; }
.link-list-simple li a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #333; font-size: 1.05rem; font-weight: bold; transition: 0.3s; }
.link-list-simple li a:hover { color: #303967; opacity: 0.7; }
.link-list-simple i { font-size: 1.4rem; width: 24px; text-align: center; }
.twitter-color { color: #000; }
.facebook-color { color: #1877f2; }
.instagram-color { background: -webkit-linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.club-icon-color { color: #303967; }

/* マインドセット */
.mindset-section { background: #303967; color: #fff; padding: 40px; border-radius: 20px; margin: 40px 0; text-align: center; }
.mindset-content h4 { font-size: 1.5rem; color: #ffe200; margin-bottom: 20px; }
.mindset-content p { line-height: 1.8; }
.highlight { font-size: 1.2rem; margin-top: 20px; display: block; color: #ffe200; font-weight: bold; }

@media screen and (max-width: 767px) {
    .qual-list { grid-template-columns: 1fr; }
    .about-history-text p { font-size: 0.95rem; }
    .mindset-section { padding: 30px 20px; }
    .mindset-content p { text-align: left; }
}

/* ==========================================
   7. お問い合わせフォーム (Contact)
   ========================================== */
.s-main { max-width: 800px; margin: 0 auto; padding: 20px; }
.form-lead { margin-bottom: 30px; line-height: 1.8; color: #444; text-align: center; }

.layout01 { width: 100%; border-collapse: collapse; margin-bottom: 40px; background: #fff; }
.layout01 th, .layout01 td { border: 1px solid #eee; padding: 20px; vertical-align: middle; }
.layout01 th { background: #fcfcfc; width: 30%; text-align: left; color: #303967; font-weight: bold; }

.hissu_icon, .nini_icon { font-size: 0.7rem; padding: 3px 8px; border-radius: 3px; margin-right: 10px; color: #fff; vertical-align: middle; }
.hissu_icon { background: #e60012; }
.nini_icon { background: #888; }

input[type="text"], input[type="email"], textarea {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-size: 1rem; transition: 0.3s;
}
input:focus, textarea:focus { border-color: #303967; outline: none; box-shadow: 0 0 5px rgba(48, 57, 103, 0.1); }
textarea { min-height: 150px; }

.submit-area { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.btn-submit, .btn-back { cursor: pointer; border: none; padding: 15px 40px; border-radius: 50px; font-weight: bold; font-size: 1rem; transition: 0.3s; }
.btn-submit { background: #ffe200; color: #303967; }
.btn-submit:hover { background: #303967; color: #fff; }
.btn-back { background: #eee; color: #666; }
.btn-back:hover { background: #ddd; }

.error_list { background: #fff5f5; border: 1px solid #feb2b2; padding: 15px 20px; border-radius: 8px; margin-bottom: 30px; list-style: none; color: #c53030; }

.thanks-box { background: #f8faff; border: 2px solid #303967; padding: 40px; border-radius: 15px; text-align: center; margin-bottom: 30px; }
.thanks-title { font-size: 1.4rem; font-weight: bold; color: #303967; margin-bottom: 20px; }
.notice_mess { font-size: 0.85rem; color: #666; text-align: center; margin-top: 20px; }

@media screen and (max-width: 767px) {
    .layout01 th, .layout01 td { display: block; width: 100%; border-bottom: none; }
    .layout01 th { padding-bottom: 5px; background: none; }
    .layout01 td { padding-top: 5px; border-bottom: 1px solid #eee; }
    .submit-area { flex-direction: column; }
}

/* ==========================================
   8. バナーセクション (Footer Banner)
   ========================================== */
.banner-section { margin-bottom: 60px; }
.link_banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}
.link_banner a {
    background: #fff; border: 1px solid #eee; padding: 10px;
    display: flex; align-items: center; justify-content: center;
    height: 100px; transition: 0.3s; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.link_banner a:hover {
    opacity: 0.8; border-color: #303967; transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(48, 57, 103, 0.1);
}
.link_banner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

@media screen and (max-width: 767px) {
    .link_banner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .link_banner a { height: 80px; padding: 8px; }
}