﻿body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    background-color: #F7F7F7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #ffffff;
    color: #1a4a7c;
    padding: 1em 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1002;
    transition: top 0.3s ease, background-color 0.3s ease, color 0.3s ease, height 0.3s ease, padding 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-small {
    padding: 0.5em 20px;
}

.header-message {
    font-size: 0.6em;
    font-weight: 200;
    position: absolute;
    left: 10px;
    top: 3px;
    z-index: 1001;
}

.header-title {
    font-size: 1.45em; /* 文字を大きくする */
    font-weight: bold;
    margin-right: auto; /* nav要素を右に寄せる */
}

    .header-title a {
        text-decoration: none !important; /* アンダーバーを削除 */
        color: inherit !important; /* 文字色を親要素から継承 */
        font-size: inherit; /* フォントサイズを親から継承 */
        font-weight: inherit; /* フォントの太さを親から継承 */
        background: none !important; /* 背景が設定されている場合は解除 */
        border: none !important; /* 境界線がある場合は解除 */
        padding: 0 !important; /* パディングのリセット */
        margin: 0 !important; /* マージンのリセット */
    }

/* ナビゲーションバーのスタイル */
nav ul {
    display: flex !important;
    gap: 10px; /* li要素間の隙間を10pxに */
    list-style: none; /* リストスタイルを削除 */
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: flex-end; /* ナビゲーション項目を右寄せ */
    margin-left: -30px; /* 全体を左に移動 */
}

    nav ul li {
        position: relative;
    }

        nav ul li a {
            color: #1a4a7c;
            text-decoration: none;
            transition: color 0.3s ease;
            padding: 10px 0; /* パディングを追加してクリック領域を広げる */
            display: block;
            position: relative;
            white-space: nowrap; /* 改行を防ぐ */
            min-width: fit-content; /* コンテンツに合わせて幅を確保 */
        }

            nav ul li a::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background-color: #E65517;
                transition: width 0.3s ease;
            }

            nav ul li a:hover::after,
            nav ul li.active a::after {
                width: 100%;
            }

        /* 固定ボタンは下線アニメーションを表示しない */
        nav ul li.fixed-button a::after {
            display: none;
        }

        /* アクティブ状態のリンクの文字色を変更 */
        nav ul li.active a {
            color: #E65517;
            font-weight: 500;
        }

/* ハンバーガーメニューのスタイル */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: #1a4a7c;
        margin: 3px 0;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

/* PC版ナビゲーションの基本スタイル（確実表示のため） */
#main-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
}

    #main-nav ul {
        display: flex !important;
        flex-direction: row !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        justify-content: flex-end !important;
        margin-left: -20px !important; /* 左端の余白を調整 */
        margin-right: 15px !important; /* 右端の余白を調整 */
        gap: 6px !important; /* 項目間の間隔をさらに縮小 */
    }

        #main-nav ul li {
            display: inline-block !important;
            width: auto !important;
            border-bottom: none !important;
            position: relative !important;
        }

            #main-nav ul li a {
                display: block !important;
                padding: 8px 8px !important; /* パディングをさらに縮小 */
                text-align: center !important;
                white-space: nowrap !important;
                color: #1a4a7c !important;
                text-decoration: none !important;
                transition: color 0.3s ease !important;
                font-size: 0.9em !important; /* フォントサイズを少し縮小 */
            }

            /* PC版の固定ボタンのスタイルを強化 */
            #main-nav ul li.fixed-button a {
                background-color: #ff6600 !important;
                color: white !important;
                padding: 8px 16px !important;
                border-radius: 4px !important;
                font-weight: bold !important;
                white-space: nowrap !important;
                text-decoration: none !important;
                box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            }

                #main-nav ul li.fixed-button a:hover {
                    background-color: #cc5200 !important;
                    color: white !important;
                }

/* スマホ表示時のナビゲーション */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* PC版のスタイルを完全に上書き */
    #main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        height: 100vh !important;
        background-color: white !important;
        transition: all 0.3s ease !important;
        z-index: 1002 !important;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1) !important;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(100%) !important;
    }

        #main-nav.active {
            right: 0 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            transform: translateX(0) !important;
        }

        #main-nav ul {
            flex-direction: column !important;
            margin: 80px 0 0 0 !important;
            padding: 0 !important;
            width: 100% !important;
            justify-content: flex-start !important;
            margin-left: 0 !important;
            display: block !important;
            gap: 0 !important;
        }

            #main-nav ul li {
                border-bottom: 1px solid #eee !important;
                display: block !important;
                width: 100% !important;
                position: static !important;
            }

                #main-nav ul li a {
                    display: block !important;
                    padding: 20px !important;
                    text-align: left !important;
                    border-bottom: none !important;
                    white-space: normal !important;
                    color: #333 !important;
                    text-decoration: none !important;
                    transition: none !important;
                }

    .fixed-button {
        margin-left: 0 !important;
    }

        .fixed-button a {
            background-color: #ff6600 !important;
            color: white !important;
            margin: 20px !important;
            text-align: center !important;
            border-radius: 4px !important;
            font-weight: bold !important;
            text-decoration: none !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        }

            /* モバイル版の固定ボタンのスタイルを強化 */
            .fixed-button a,
            .fixed-button a:link,
            .fixed-button a:visited,
            .fixed-button a:hover,
            .fixed-button a:active {
                color: white !important;
                background-color: #ff6600 !important;
            }

    body.menu-open {
        overflow: hidden;
    }

        body.menu-open::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1001;
        }
}




/* スタイル */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
    margin-top: 52px; /* ヘッダー分の余白 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* スマホ表示時のheroセクションの高さ調整 */
@media (max-width: 768px) {
    .hero {
        height: 250px; /* スマホでは高さを半分に */
        margin-top: 52px; /* ヘッダー高さに合わせて余白を最小化 */
    }

        .hero img.header-logo {
            max-width: 80%; /* ロゴサイズを調整 */
            top: 100px; /* 位置を調整 */
        }
}


.hero img.header-logo {
    position: absolute; /* 絶対位置に配置 */
    max-width: 150%; /* 幅を自動調整 */
    top: 200px;
    height: auto; /* 高さを自動調整 */
    z-index: 1001; /* 重なり順序を設定 */
}

.hero .slider {
    width: 100%; /* ページ全体の幅にする */
    height: 100%; /* 親要素の高さを100%に設定 */
}

    .hero .slider img {
        width: 100%;
        height: 500px; /* 高さを500pxに設定 */
        object-fit: cover;
    }

/* スマホ表示時のスライダー画像の高さ調整 */
@media (max-width: 768px) {
    .hero .slider img {
        height: 250px; /* スマホでは高さを半分に */
    }
}

/* キャンペーンバナーのスタイル */
.campaign-banner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

    .campaign-banner img {
        width: 100%;
        max-width: 1000px; /* PC版は1000pxに設定 */
        height: auto;
        display: block;
        margin: 0 auto;
    }

/* スマホ表示時は大きめに */
@media (max-width: 768px) {
    .campaign-banner {
        padding: 10px;
    }

        .campaign-banner img {
            width: 100%;
            max-width: 100%; /* スマホでは画面幅いっぱい */
            height: auto;
        }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.5);
    }
}

.zoom-animation {
    animation: zoomIn 30s infinite;
}


/*****************************************
------------------------------------------
    Sectionスタイル
------------------------------------------
******************************************/

section {
    padding: 2em 0;
}

/* キャンペーンバナー画像のスタイル（HTML 25行目） */
.container > img[src*="pcci-school.com"] {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
}

/* スマホ表示時のキャンペーンバナー調整 */
@media (max-width: 768px) {
    .container > img[src*="pcci-school.com"] {
        margin: -20px auto 10px auto; /* 上のマージンを減らしてファーストビューに */
    }
}

.features, .pricing, .access, .trial, .about, .courses, .testimonials, .faq, .free-trial, .schedule, .instructors, .fv,
.course_recommends {
    width: 100vw; /* ビューポート全体の幅 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #F6F6F6;
}

/* サブページ内のセクションは中央寄せに */
main.container .features,
main.container .access,
main.container .trial,
main.container .courses,
main.container .schedule,
main.container .instructors {
    width: 100%;
    position: static;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    max-width: 1200px;
    padding: 20px;
}

/* FAQページは特別に画面幅全体に */
main.container .faq {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
    background-color: #f9f9f9 !important;
}

/* サブページの特徴ポイントも中央寄せに */
main.container .feature-points {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

/* サブページのtrialセクションのスタイル調整 */
main.container .trial {
    text-align: center;
}

    main.container .trial h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    main.container .trial p {
        text-align: center;
        margin-bottom: 20px;
    }

.access, .about, .testimonials, .schedule, .instructors {
    background-color: #FFFFFF;
}

h2 {
    font-size: 2em;
    color: #E65517;
    margin-bottom: 10px;
    text-align: center; /* 中央揃え */
}

h3 {
    font-size: 1.6em;
    color: #666;
    margin-bottom: 5px;
    text-align: center; /* 中央揃え */
}

.tiral_banner {
    width: 100vw; /* ビューポート全体の幅 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #E65517;
    color: #ffffff;
}

/*-------------------------
    選ばれる理由(特徴)
-------------------------*/
.fv_img {
    width: 100%; /* 画像を60％サイズに設定 */
    max-width: 1200px; /* 画像幅の最大を1200pxに制限 */
    height: auto; /* 画像のアスペクト比を保持 */
    justify-content: center;
    align-items: center;
}

/* スマホ表示時のキャンペーンバナーのマージン調整 */
@media (max-width: 768px) {
    .fv {
        padding: 20px 10px !important;
        margin-top: -20px; /* スライダーとの余白を減らす */
    }

    .fv_img {
        margin-bottom: 10px;
    }
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-point {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
}

    .feature-point h3 {
        margin-top: 0;
    }

/*-------------------------
    講座紹介：おすすめ講座
-------------------------*/
.course_recommends-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.course_recommends-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.course-link {
    width: 100%;
    padding-top: 75%; /* 4:3のアスペクト比を維持 */
    position: relative;
    overflow: hidden;
}

.course_recommends-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示し、アスペクト比を維持 */
}

.course_recommends-point h3 {
    margin-top: 15px;
    font-size: 1.2em;
    color: #E65517;
    min-height: 2.4em; /* 2行分の高さを確保 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.course_recommends-point p {
    font-size: 0.9em;
    text-align: left;
    margin-top: 10px;
}

/* マウスオーバー効果 */
.course-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.course_recommends-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.course-link:hover .course_recommends-icon {
    opacity: 0.7; /* マウスオーバー時に70%の透明度に */
    transform: scale(1.05); /* 少し拡大 */
}

.course-link:hover::before {
    opacity: 1;
}




/*-------------------------
    料金・授業時間帯
-------------------------*/

.pricing p, .schedule p {
    text-align: center;
}

.pricing .highlight {
    font-size: 2em;
    font-weight: bold;
    color: #3498db; /* 明るめのブルー */
    margin-top: 10px;
}

.feature-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 横3項目 */
    grid-gap: 20px;
}

.feature-point {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center; /* 子要素を中央揃えに */
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    display: block;
    display: inline-block; /* 中央揃えを適用するために追加 */
    margin: 0 auto; /* 中央揃え */
}

.feature-point h3 {
    margin-top: 0;
    font-size: 1.8em;
    color: #E65517
}

.feature-point p {
    text-align: left; /* p要素を左揃えに */
}

/*-------------------------
    アクセス
-------------------------*/
.full-width-map {
    width: 100%;
    max-width: 100%;
}

    .full-width-map iframe {
        width: 100%;
        height: 450px;
        display: block;
        border: 0;
    }

.access-images {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

    .access-images img {
        width: 30%;
        border-radius: 5%; /* 各丸*/
        transition: transform 0.3s ease;
    }

        .access-images img:hover {
            transform: scale(1.2);
        }

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db; /* 明るめのブルー */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .button:hover {
        background-color: #2874a6;
    }

.fixed-contact {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1001;
}

    .fixed-contact a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 320px;
        height: 60px;
        background: linear-gradient(135deg, #E65517 0%, #ff6a3c 100%);
        color: white;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.2em;
        transition: all 0.3s ease;
        box-shadow: 0 6px 12px rgba(230, 85, 23, 0.3);
        border: none;
        box-sizing: border-box;
        line-height: 1.2;
        position: relative;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

        .fixed-contact a::before {
            content: '💻';
            margin-right: 8px;
            font-size: 1.1em;
        }

        .fixed-contact a:hover {
            background: linear-gradient(135deg, #ff6a3c 0%, #E65517 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(230, 85, 23, 0.4);
        }

        .fixed-contact a:active {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(230, 85, 23, 0.3);
        }

.fixed-button {
    margin-left: 15px; /* 他のナビ項目との間隔を調整 */
    margin-right: 15px; /* 右端の余白を調整 */
}

    .fixed-button a {
        background-color: #ff6600 !important;
        color: white !important;
        padding: 8px 16px; /* パディングを少し縮小 */
        text-decoration: none !important;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        font-weight: bold;
        white-space: nowrap; /* テキストの改行を防ぐ */
        display: inline-block;
        color: white !important; /* 文字色を白色に強制 */
        font-size: 0.9em; /* フォントサイズを少し縮小 */
    }

        /* より強力な文字色指定 */
        .fixed-button a,
        .fixed-button a:link,
        .fixed-button a:visited,
        .fixed-button a:hover,
        .fixed-button a:active {
            color: white !important;
            background-color: #ff6600 !important;
        }

            .fixed-button a:hover {
                background-color: #cc5200;
                color: white !important;
            }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    table th, table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
    }

    table th {
        background-color: #3D3D3D;
        color: white;
    }

    table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    table tr:hover {
        background-color: #ddd;
    }

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

    blockquote:before {
        color: #ccc;
        content: open-quote;
        font-size: 4em;
        line-height: 0.1em;
        margin-right: 0.25em;
        vertical-align: -0.4em;
    }

    blockquote p {
        display: inline;
    }

/* フェードイン用のCSS - 一時的に無効化 */
.fade-in {
    opacity: 1; /* 常に表示 */
    transition: none; /* アニメーション無効 */
}

    .fade-in.visible {
        opacity: 1;
    }

.full-width-image {
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

    .full-width-image img {
        width: 100vw;
        height: auto;
        display: block;
    }


/*--------------------------------------
    フッター
---------------------------------------*/
footer {
    background-color: #3d3d3d;
    color: white;
    text-align: center;
    padding: 1em 0;
}

/*--------------------------------------
    無料体験
---------------------------------------*/
.trial img, .testimonials img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px; /* 適度な余白を追加 */
}

/*--------------------------------------
    FAQ
---------------------------------------*/
.faq-category {
    margin-bottom: 20px;
    text-align: center; /* カテゴリーのタイトル文字を中央揃え */
}

    .faq-category h3 {
        background-color: #3498db;
        color: white;
        padding: 10px;
        cursor: pointer;
        margin: 0;
        transition: all 0.3s ease;
        border-radius: 5px;
        text-align: center; /* カテゴリーのタイトル文字を中央揃え */
    }

        .faq-category h3:hover {
            /*  background-color: #1a4a7c; 
            transform: scale(1.1); 
            */
        }

.faq-items {
    display: none;
    background-color: #f9f9f9;
    padding: 0 10px;
    overflow: hidden;
    text-align: left; /* FAQの中身テキストを左揃え */
}

    .faq-items.show {
        display: block;
    }

    .faq-items dl {
        margin: 0;
    }

    .faq-items dt {
        font-weight: bold;
        margin-top: 10px;
    }

    .faq-items dd {
        margin: 0 0 10px 20px;
    }

/*-------------------------------------
    講師紹介
-------------------------------------*/
.instructors {
    background-color: #fff;
    padding: 40px 0;
}

.section-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.instructor {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

    .instructor img {
        width: 150px;
        height: auto;
        border-radius: 50%;
        margin-right: 20px;
    }

.instructor-comment {
    flex: 1;
}

.comment-bubble {
    background-color: #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    margin-left: 20px;
}

    .comment-bubble h4 {
        padding: 0;
        margin: 0;
    }

    .comment-bubble:before {
        content: '';
        position: absolute;
        top: 50%;
        left: -10px;
        margin-top: -10px;
        border-width: 10px 10px 10px 0;
        border-style: solid;
        border-color: transparent #e0e0e0 transparent transparent;
    }

.instructor-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.instructor-message {
    font-size: 1em;
    color: #333;
    margin: 0;
}

@media (max-width: 768px) {
    .instructor {
        flex-direction: column;
        text-align: center;
    }

        .instructor img {
            margin-right: 0;
            margin-bottom: 15px;
        }

    .comment-bubble {
        margin-left: 0;
    }

        .comment-bubble:before {
            display: none;
        }
}





/****************************
    企業概要
*****************************/
.company-profile {
    width: 100vw; /* ビューポート全体の幅 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f2f2f2; /* 背景色 */
    padding: 40px 20px;
    box-sizing: border-box;
}

.company-info {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .company-info th, .company-info td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
        font-size: 0.85em;
    }

    .company-info tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .company-info th {
        background-color: white;
        width: 30%;
        color: #000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .company-info td {
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }


/*--------------------------------------
    無料体験：幅100％
----------------------------------------*/
.apply-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 120px; /* ボタンの高さを設定 */
    margin: 25px auto;
    background-color: white;
    color: #E65517;
    border-radius: 60px; /* 高さの半分の値で両端が正円に */
    text-decoration: none;
    font-weight: bold;
    font-size: 2.4em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 5px solid white;
    box-sizing: border-box;
    line-height: 1.2;
    position: relative;
}

    .apply-button::after {
        content: '';
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border: 5px solid #E65517;
        border-radius: 55px; /* (ボタンの高さ - 10px) / 2 */
        pointer-events: none;
    }

    .apply-button:hover {
        opacity: 0.5;
    }

.contact-info {
    margin-top: 25px;
    font-size: 1em;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fade-in {
    animation: none; /* アニメーション無効 */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .apply-button {
        width: 90%;
        height: 100px; /* スマートフォン向けに高さを調整 */
        font-size: 1.8em;
        border-radius: 50px; /* 高さの半分の値 */
    }

        .apply-button::after {
            border-radius: 45px; /* (ボタンの高さ - 10px) / 2 */
        }
}


/*--------------------------------------
    講座スライド
----------------------------------------*/
.courses {
    padding: 20px;
    background-color: #f0f0f0;
}

.courseslidersection-contents {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.courseslider-container {
    margin-bottom: 20px;
}


.courseslider {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2.5%;
}

.courseslide {
    flex: 0 0 18%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

    .courseslide:hover {
        transform: scale(1.05);
    }

    .courseslide a {
        display: block;
        overflow: hidden;
    }

    .courseslide img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.courseslider-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.courseslider-button {
    background-color: #E65517;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 3;
    position: relative;
}

    .courseslider-button:hover {
        background-color: #ff6a3c;
        transform: translateY(-2px);
    }

/*--------------------------------------
    講座紹介
---------------------------------------*/
.course-header-container {
    width: 100vw; /* ビューポート幅の100%に設定 */
    position: relative;
    overflow: hidden;
    height: 300px; /* 最大高さを300pxに固定 */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #ffffff;
}

.course_header {
    width: 100%;
    height: 100%; /* 修正: auto → 100% */
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0; /* 修正: 50% → 0 */
    left: 0;
    transform: none; /* 修正: translateY(-50%) を削除 */
    max-height: none; /* 修正: 300px制限を削除 */
}

.course_header_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 36px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 7px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 80%;
    width: fit-content;
    z-index: 1;
}

/* タブレット向け調整 */
@media (max-width: 1024px) {
    .course_header_title {
        font-size: 28px;
        padding: 12px 25px;
        max-width: 100%;
        line-height: 1.3;
    }
}

/* スマートフォン向け調整 */
@media (max-width: 768px) {
    .course-header-container {
        height: 250px;
    }

    .course_header_title {
        font-size: 20px;
        padding: 10px 20px;
        max-width: 100%;
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
    }
}

/* より小さい画面向け */
@media (max-width: 480px) {
    .course-header-container {
        height: 200px;
    }

    .course_header_title {
        font-size: 16px;
        padding: 8px 15px;
        max-width: 95%;
        line-height: 1.5;
        overflow-wrap: break-word;
        hyphens: auto;
        top: 40%; /* 修正: 位置調整を追加 */
        transform: translate(-50%, -50%); /* 修正: 位置指定を追加 */
    }
}

/* 縦向きの小さい画面向け */
@media (max-width: 375px) {
    .course_header_title {
        font-size: 14px;
        padding: 6px 12px;
        max-width: 98%;
        top: 40%; /* 修正: 位置調整を追加 */
        transform: translate(-50%, -50%); /* 修正: 位置指定を追加 */
    }
}

.course-info-content {
    display: flex;
    gap: 20px;
}

.course_thumbnail {
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    width: 40%;
    margin-top: 20px;
}

.course-details {
    flex: 1;
}

/* 標準受講時間のスタイル：小さなアイコンを文字の頭に表示 */
.time {
    white-space: nowrap; /* 文字列を改行させない */
    background-image: url('img/course/course_time.png');
    background-size: 30px 30px; /* アイコンサイズはそのまま */
    background-repeat: no-repeat;
    background-position: left center; /* 左側中央に配置 */
    padding-left: 35px; /* 左余白を詰める（40px → 35px） */
    padding-top: 8px; /* 上の余白を追加 */
    padding-bottom: 8px; /* 下の余白を追加 */
    width: auto; /* 幅を自動に */
    height: auto; /* 高さを自動に */
    line-height: 1.6; /* 行の高さを増やす */
}

/* PCでは【標準受講時間】の後の<br>を非表示にする */
@media (min-width: 769px) {
    .time br {
        display: none;
    }
}

/* モバイルでは改行を許可し、<br>も表示 */
@media (max-width: 768px) {
    .time {
        white-space: normal; /* モバイルでは通常の改行を許可 */
        background-size: 25px 25px; /* モバイル用サイズ */
        padding-left: 30px; /* モバイル用の左余白を詰める（35px → 30px） */
        padding-top: 6px; /* モバイル用上余白 */
        padding-bottom: 6px; /* モバイル用下余白 */
    }

        .time br {
            display: inline;
        }
}




/*■■■■■■■■■■■■■■■■■■■■■■■■■

    　　　　　レ　ス　ポ　ン　シ　ブ　

　■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* 全体のレイアウト */
    .container, .section-contents {
        padding: 0 10px;
    }

    /* ヘッダー */
    header {
        padding: 0.5em 10px;
        height: auto;
        flex-direction: column;
    }

    .header-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }


    .header-message {
        font-size: 0.5em;
        position: static;
        text-align: center;
        margin-bottom: 5px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

        nav ul li {
            margin: 5px;
        }

    /* ヒーローセクション */
    .hero {
        height: 300px;
        margin-top: 120px;
    }

        .hero img.header-logo {
            max-width: 80%;
            top: 50%;
            transform: translateY(-50%);
        }

    /* 特徴セクション */
    .feature-points {
        grid-template-columns: 1fr;
    }

    /* サブページの特徴ポイントもモバイルで1列に */
    main.container .feature-points {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    /* コース紹介セクション */
    .course_recommends-points {
        grid-template-columns: 1fr;
    }

    /* アクセスセクション */
    .full-width-map iframe {
        height: 300px;
    }

    .access-images {
        flex-direction: column;
        align-items: center;
    }

        .access-images img {
            width: 80%;
            margin-bottom: 10px;
        }

    /* 講師紹介セクション */
    .instructor {
        flex-direction: column;
        text-align: center;
    }

        .instructor img {
            margin-right: 0;
            margin-bottom: 10px;
        }

    .comment-bubble {
        margin-left: 0;
        margin-right: 0;
    }

        .comment-bubble:after {
            display: none;
        }

    /* FAQセクション */
    .faq-category h3 {
        font-size: 1em;
    }

    /* スケジュールセクション */
    table {
        font-size: 0.8em;
    }

    /* 申し込みボタン */
    .apply-button {
        width: 90%;
        height: 80px;
        font-size: 1.5em;
    }

    /* 固定コンタクト */
    .fixed-contact {
        left: 0;
        bottom: 0;
        width: 100%;
    }

        .fixed-contact a {
            width: 100%;
            border-radius: 0;
            height: 50px;
            font-size: 1em;
            background: linear-gradient(135deg, #E65517 0%, #ff6a3c 100%);
        }

            .fixed-contact a:hover {
                background: linear-gradient(135deg, #ff6a3c 0%, #E65517 100%);
            }

    /* コーススライダー */
    .courseslide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* レスポンシブ：ハンバーガーメニューのスタイル */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #1a4a7c;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1000;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #ffffff;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 999;
    }

        #main-nav.active {
            right: 0;
        }

        #main-nav ul {
            flex-direction: column;
            padding-top: 70px;
        }

            #main-nav ul li {
                margin: 10px 0;
            }

    /* ハンバーガーメニューがアクティブ時の×マーク */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    /* 既存のモバイル向けCSSはそのまま保持 */

    /* ヘッダーメッセージを非表示に */
    .header-message {
        display: none;
    }

    /* ヘッダータイトルを左寄せに */
    .header-title {
        text-align: left;
        margin-left: 10px; /* 左端からの余白を追加 */
        font-size: 1.2em; /* フォントサイズを少し小さく */
    }

    /* ヘッダーコンテンツのレイアウト調整 */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    /* メニュートグルボタンの位置調整 */
    .menu-toggle {
        position: static; /* 絶対位置指定を解除 */
        margin-left: auto; /* 右寄せ */
    }
}




/* 講座スライド　モバイル向けスタイル */
@media (max-width: 768px) {
    .courseslider {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .courseslide {
        flex: 0 0 48%; /* 横2つのスライドを表示 */
        margin-bottom: 15px;
    }

    /* スライダーコンテナの余白調整 */
    .courseslider-container {
        padding: 0 10px;
    }

    /* スライド間の余白調整 */
    .courseslide:nth-child(odd) {
        margin-right: 2%;
    }
}

/* さらに小さい画面向けの調整 */
@media (max-width: 480px) {
    .courseslide {
        flex: 0 0 100%; /* 極小画面では1列に */
    }
}

/* 既存のスタイル */
.course-info-content {
    display: flex;
    gap: 20px;
}

.course_thumbnail {
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    width: 40%;
    margin-top: 20px;
}

.course-details {
    flex: 1;
}

/* ブラウザの表示幅が800px以下の場合 */
@media screen and (max-width: 800px) {
    .course_thumbnail {
        /* display: none; を削除 */
        width: 100% !important; /* 幅を95%に拡大（強制） */

        height: auto !important; /* 高さは自動でアスペクト比を保持 */
        margin: 10px auto 20px auto !important; /* 中央揃え、下に余白 */
        display: block !important; /* ブロック要素として表示 */
    }

    .course-info-content {
        flex-direction: column !important; /* 縦並びに変更 */
        gap: 0 !important; /* 間隔をリセット */
    }

    .course-details {
        margin-top: 15px; /* 画像と説明文の間に余白 */
    }

    p.time {
        font-size: 18px;
        text-align: center;
        background-image: none;
        width: auto;
        height: auto;
        margin: 20px auto;
        padding: 15px;
        border: 2px solid #E65517;
        border-radius: 8px;
        background-color: #fff;
        font-weight: bold;
        color: #E65517;
    }

    .apply-button {
        font-size: 16px;
    }
}

/* さらに小さい画面向けの標準受講時間の調整 */
@media screen and (max-width: 480px) {
    p.time {
        font-size: 16px;
        padding: 12px;
        margin: 15px auto;
    }
}

/*■■■■■　簿　記　講　座　紹　介　用　■■■■■■■■*/

/* --- 簿記講座セクションのスタイル開始 --- */

/* 講座スライダー全体のスタイル */
#courseslider_boki {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

    /* 各講座スライドのスタイル */
    #courseslider_boki .boki-courseslide {
        flex: 1 1 calc(25% - 10px); /* 4列表示 */
        margin: 10px 5px;
        text-align: center;
        box-sizing: border-box;
    }

        /* 画像のスタイル */
        #courseslider_boki .boki-courseslide img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* 説明文のスタイル */
        #courseslider_boki .boki-courseslide p {
            margin-top: 10px;
            font-size: 14px;
            color: #333;
            line-height: 1.5;
        }

/* --- レスポンシブ対応 --- */

/* 画面幅が1200px以下の場合：2列表示に変更 */
@media (max-width: 1200px) {
    #courseslider_boki .boki-courseslide {
        flex: 1 1 calc(50% - 10px); /* 2列表示 */
    }
}

/* 画面幅が768px以下の場合も2列表示 */
@media (max-width: 768px) {
    #courseslider_boki .boki-courseslide {
        flex: 1 1 calc(50% - 10px); /* 2列表示 */
    }
}
/* サムネイル全体のホバー効果 */
.boki-courseslide {
    transition: transform 0.3s ease;
}

    .boki-courseslide:hover {
        transform: scale(1.05);
    }

    /* 画像のホバー効果 */
    .boki-courseslide img {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .boki-courseslide:hover img {
        opacity: 0.7;
    }
/* --- 簿記講座セクションのスタイル終了 --- */


/* スマートフォンでsection-contentsのパディングを無効化 */
@media (max-width: 768px) {
    .features .section-contents {
        padding: 0; /* 修正: 左右のパディングを削除 */
    }

    .course_header_title {
        font-size: 18px;
        padding: 8px 10px;
        max-width: 100%;
        width: calc(100vw - 20px); /* 修正: 画面幅から最小限の余白を引く */
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
        box-sizing: border-box;
        top: 45%; /* 修正: 位置を少し上に */
        transform: translate(-50%, -50%); /* 修正: 位置指定 */
    }
}



/*■■■■■ここまで　簿　記　講　座　紹　介　用　■■■■■■■■*/


/* ここから　よくあるご質問*/
.faq-category h3 {
    background-color: #FF6347;
    color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    letter-spacing: 0.1em;
    font-size: 1.2em;
    cursor: default;
}

.faq-category dl {
    text-align: left;
}

.faq-category dt {
    cursor: pointer;
    padding: 12px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease; /* トランジションを追加 */
    border-radius: 3px;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 30px; /* 矢印のためのスペース */
}

    .faq-category dt:hover {
        background-color: #e0e0e0;
        transform: translateX(5px); /* ホバー時に5px右に移動 */
    }

    .faq-category dt::before {
        content: '▶';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .faq-category dt.active::before {
        transform: translateY(-50%) rotate(90deg);
    }

.faq-category dd {
    display: none;
    padding: 12px;
    margin-bottom: 12px;
    background-color: #f9f9f9;
    border-radius: 3px;
    letter-spacing: 0.03em;
}
/* ここまで　よくあるご質問*/


/* 体験バナーのモバイル向け改行制御 */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline; /* スマートフォンでのみ改行を表示 */
    }

    .tiral_banner h2 {
        line-height: 1.4; /* 行間を調整 */
        font-size: 1.6em; /* 必要に応じてフォントサイズを調整 */
    }
}

@media (max-width: 480px) {
    .tiral_banner h2 {
        font-size: 1.4em; /* より小さい画面ではさらに調整 */
        line-height: 1.5;
    }
}

/* サブページ用のスタイル調整 */
main.container {
    margin-top: 80px; /* 固定ヘッダーの高さ + 余白 */
    padding-top: 20px;
    background-color: #ffffff; /* サブページの背景色を白に */
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

    /* サブページ内のコンテンツを中央寄せに */
    main.container .section-contents {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* サブページのセクション全体を中央寄せに */
    main.container section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* FAQページのセクションを画面幅全体に */
    main.container .faq {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        max-width: none !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        background-color: #f9f9f9 !important;
    }

        /* FAQページのsection-contentsを中央寄せに */
        main.container .faq .section-contents {
            max-width: 1200px !important;
            margin: 0 auto !important;
            width: 100% !important;
        }

    /* FAQページのコンテンツを確実に中央寄せに */
    main.container .faq-category {
        max-width: 800px;
        margin: 0 auto;
        text-align: left;
    }

        main.container .faq-category dt,
        main.container .faq-category dd {
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

    /* サブページのボタンも中央寄せに */
    main.container .apply-button {
        display: block;
        margin: 25px auto;
    }

/* サブページのセクションタイトルが見えるように調整 */
section h1 {
    margin-top: 0;
    padding-top: 20px;
    color: #1a4a7c;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

/* サブページのコンテンツエリアの調整 */
.section-contents {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* サブページのtiral_banner内のコンテンツを中央寄せに */
main.container .tiral_banner .section-contents {
    text-align: center;
}

main.container .tiral_banner h2 {
    text-align: center;
    margin-bottom: 20px;
}

main.container .tiral_banner .apply-button {
    display: block;
    margin: 25px auto;
}

main.container .tiral_banner .contact-info {
    text-align: center;
    margin-top: 20px;
}

/* 料金ページのスタイル */
.schedule h3 {
    color: #1a4a7c;
    font-size: 1.8em;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #E65517;
}

/* 料金特徴セクション */
.price-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.price-feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .price-feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .price-feature-item .feature-icon {
        width: 100%;
        max-width: 250px;
        height: auto;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .price-feature-item h4 {
        color: #E65517;
        font-size: 1.4em;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .price-feature-item p {
        text-align: left;
        line-height: 1.8;
        color: #333;
    }

    .price-feature-item small {
        color: #666;
        font-size: 0.9em;
    }

/* 料金比較表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .comparison-table thead {
        background-color: #1a4a7c;
        color: white;
    }

    .comparison-table th {
        padding: 15px;
        text-align: center;
        font-weight: bold;
    }

        .comparison-table th:first-child {
            background-color: #154166;
        }

    .comparison-table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .comparison-table td {
        padding: 12px 15px;
        text-align: center;
        border: 1px solid #ddd;
    }

        .comparison-table td:first-child {
            font-weight: bold;
            background-color: #f0f0f0;
            text-align: left;
        }

        .comparison-table td strong {
            color: #E65517;
        }

/* 受講目的別料金モデル */
.price-model {
    margin: 50px 0;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

    .price-model:last-of-type {
        border-bottom: none;
    }

    .price-model h4 {
        color: #E65517;
        font-size: 1.5em;
        margin-bottom: 20px;
        font-weight: bold;
        padding-bottom: 10px;
        border-bottom: 3px solid #E65517;
    }

.price-model-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

.price-model .model-image {
    width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.price-model-text {
    flex: 1;
}

    .price-model-text p {
        text-align: left;
        line-height: 1.8;
        color: #333;
        margin-bottom: 20px;
        font-size: 1em;
    }

.price-model .model-detail {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #E65517;
}

    .price-model .model-detail p {
        margin: 10px 0;
        font-size: 1em;
        color: #333;
    }

        .price-model .model-detail p:first-child {
            font-weight: bold;
            font-size: 1.05em;
        }

    .price-model .model-detail .total {
        color: #E65517;
        font-size: 1.5em;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid #ddd;
        font-weight: bold;
    }

/* 個人レッスンセクション */
.personal-lesson {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 30px 0;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.personal-lesson-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.personal-lesson-content {
    flex: 1;
}

    .personal-lesson-content p {
        line-height: 1.8;
        color: #333;
    }

/* 授業時間帯表 */
.schedule table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .schedule table thead {
        background-color: #1a4a7c;
        color: white;
    }

    .schedule table th {
        padding: 15px;
        text-align: center;
        font-weight: bold;
        border: 1px solid #ddd;
    }

    .schedule table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .schedule table td {
        padding: 12px;
        text-align: center;
        border: 1px solid #ddd;
    }

        .schedule table td:first-child {
            font-weight: bold;
            background-color: #f0f0f0;
            text-align: left;
        }

/* 料金一覧表 */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .price-table thead {
        background-color: #4a4a4a;
        color: white;
    }

        .price-table thead th {
            padding: 15px;
            text-align: center;
            font-weight: bold;
            border: 1px solid #ddd;
            font-size: 1.05em;
        }

            .price-table thead th:first-child {
                background-color: #3a3a3a;
            }

    .price-table tbody tr {
        background-color: white;
    }

        .price-table tbody tr:nth-child(even) {
            background-color: #f5f5f5;
        }

        .price-table tbody tr.total-row {
            background-color: #e8e8e8;
            font-weight: bold;
        }

    .price-table tbody td {
        padding: 15px 12px;
        text-align: center;
        border: 1px solid #ddd;
        font-size: 1em;
    }

        .price-table tbody td.row-header {
            background-color: #e0e0e0;
            font-weight: bold;
            text-align: left;
            padding-left: 20px;
            line-height: 1.6;
        }

    .price-table tbody tr.total-row td {
        font-size: 1.1em;
        padding: 18px 12px;
    }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .price-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .price-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-feature-item {
        padding: 20px;
    }

        .price-feature-item .feature-icon {
            max-width: 200px;
        }

    .schedule h3 {
        font-size: 1.5em;
        margin-top: 30px;
    }

    .comparison-table,
    .schedule table,
    .price-table {
        font-size: 0.85em;
    }

        .comparison-table th,
        .comparison-table td,
        .schedule table th,
        .schedule table td,
        .price-table th,
        .price-table td {
            padding: 8px 5px;
        }

        .price-table tbody td.row-header {
            padding-left: 10px;
            font-size: 0.9em;
        }

    .price-model h4 {
        font-size: 1.3em;
    }

    .price-model-content {
        flex-direction: column;
    }

    .price-model .model-image {
        width: 100%;
        max-width: 100%;
    }

    .price-model .model-detail {
        padding: 15px;
    }

        .price-model .model-detail .total {
            font-size: 1.3em;
        }

    .personal-lesson {
        flex-direction: column;
        padding: 20px;
    }

    .personal-lesson-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .schedule h3 {
        font-size: 1.3em;
    }

    .comparison-table,
    .schedule table,
    .price-table {
        font-size: 0.75em;
    }

        .comparison-table th,
        .comparison-table td,
        .schedule table th,
        .schedule table td,
        .price-table th,
        .price-table td {
            padding: 6px 3px;
        }

        .price-table tbody td.row-header {
            padding-left: 5px;
            font-size: 0.85em;
            line-height: 1.4;
        }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    background-color: #F7F7F7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #ffffff;
    color: #1a4a7c;
    padding: 1em 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1002;
    transition: top 0.3s ease, background-color 0.3s ease, color 0.3s ease, height 0.3s ease, padding 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-small {
    padding: 0.5em 20px;
}

.header-message {
    font-size: 0.6em;
    font-weight: 200;
    position: absolute;
    left: 10px;
    top: 3px;
    z-index: 1001;
}

.header-title {
    font-size: 1.45em; /* 文字を大きくする */
    font-weight: bold;
    margin-right: auto; /* nav要素を右に寄せる */
}

    .header-title a {
        text-decoration: none !important; /* アンダーバーを削除 */
        color: inherit !important; /* 文字色を親要素から継承 */
        font-size: inherit; /* フォントサイズを親から継承 */
        font-weight: inherit; /* フォントの太さを親から継承 */
        background: none !important; /* 背景が設定されている場合は解除 */
        border: none !important; /* 境界線がある場合は解除 */
        padding: 0 !important; /* パディングのリセット */
        margin: 0 !important; /* マージンのリセット */
    }

/* ナビゲーションバーのスタイル */
nav ul {
    display: flex !important;
    gap: 10px; /* li要素間の隙間を10pxに */
    list-style: none; /* リストスタイルを削除 */
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: flex-end; /* ナビゲーション項目を右寄せ */
    margin-left: -30px; /* 全体を左に移動 */
}

    nav ul li {
        position: relative;
    }

        nav ul li a {
            color: #1a4a7c;
            text-decoration: none;
            transition: color 0.3s ease;
            padding: 10px 0; /* パディングを追加してクリック領域を広げる */
            display: block;
            position: relative;
            white-space: nowrap; /* 改行を防ぐ */
            min-width: fit-content; /* コンテンツに合わせて幅を確保 */
        }

            nav ul li a::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 2px;
                background-color: #E65517;
                transition: width 0.3s ease;
            }

            nav ul li a:hover::after,
            nav ul li.active a::after {
                width: 100%;
            }

        /* 固定ボタンは下線アニメーションを表示しない */
        nav ul li.fixed-button a::after {
            display: none;
        }

        /* アクティブ状態のリンクの文字色を変更 */
        nav ul li.active a {
            color: #E65517;
            font-weight: 500;
        }

/* ハンバーガーメニューのスタイル */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: #1a4a7c;
        margin: 3px 0;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

/* PC版ナビゲーションの基本スタイル（確実表示のため） */
#main-nav {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background-color: transparent !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
}

    #main-nav ul {
        display: flex !important;
        flex-direction: row !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        justify-content: flex-end !important;
        margin-left: -20px !important; /* 左端の余白を調整 */
        margin-right: 15px !important; /* 右端の余白を調整 */
        gap: 6px !important; /* 項目間の間隔をさらに縮小 */
    }

        #main-nav ul li {
            display: inline-block !important;
            width: auto !important;
            border-bottom: none !important;
            position: relative !important;
        }

            #main-nav ul li a {
                display: block !important;
                padding: 8px 8px !important; /* パディングをさらに縮小 */
                text-align: center !important;
                white-space: nowrap !important;
                color: #1a4a7c !important;
                text-decoration: none !important;
                transition: color 0.3s ease !important;
                font-size: 0.9em !important; /* フォントサイズを少し縮小 */
            }

            /* PC版の固定ボタンのスタイルを強化 */
            #main-nav ul li.fixed-button a {
                background-color: #ff6600 !important;
                color: white !important;
                padding: 8px 16px !important;
                border-radius: 4px !important;
                font-weight: bold !important;
                white-space: nowrap !important;
                text-decoration: none !important;
                box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            }

                #main-nav ul li.fixed-button a:hover {
                    background-color: #cc5200 !important;
                    color: white !important;
                }

/* スマホ表示時のナビゲーション */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* PC版のスタイルを完全に上書き */
    #main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        height: 100vh !important;
        background-color: white !important;
        transition: all 0.3s ease !important;
        z-index: 1002 !important;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1) !important;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(100%) !important;
    }

        #main-nav.active {
            right: 0 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            transform: translateX(0) !important;
        }

        #main-nav ul {
            flex-direction: column !important;
            margin: 80px 0 0 0 !important;
            padding: 0 !important;
            width: 100% !important;
            justify-content: flex-start !important;
            margin-left: 0 !important;
            display: block !important;
            gap: 0 !important;
        }

            #main-nav ul li {
                border-bottom: 1px solid #eee !important;
                display: block !important;
                width: 100% !important;
                position: static !important;
            }

                #main-nav ul li a {
                    display: block !important;
                    padding: 20px !important;
                    text-align: left !important;
                    border-bottom: none !important;
                    white-space: normal !important;
                    color: #333 !important;
                    text-decoration: none !important;
                    transition: none !important;
                }

    .fixed-button {
        margin-left: 0 !important;
    }

        .fixed-button a {
            background-color: #ff6600 !important;
            color: white !important;
            margin: 20px !important;
            text-align: center !important;
            border-radius: 4px !important;
            font-weight: bold !important;
            text-decoration: none !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        }

            /* モバイル版の固定ボタンのスタイルを強化 */
            .fixed-button a,
            .fixed-button a:link,
            .fixed-button a:visited,
            .fixed-button a:hover,
            .fixed-button a:active {
                color: white !important;
                background-color: #ff6600 !important;
            }

    body.menu-open {
        overflow: hidden;
    }

        body.menu-open::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 1001;
        }
}




/* スタイル */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
    margin-top: 52px; /* ヘッダー分の余白 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* スマホ表示時のheroセクションの高さ調整 */
@media (max-width: 768px) {
    .hero {
        height: 250px; /* スマホでは高さを半分に */
        margin-top: 52px; /* ヘッダー高さに合わせて余白を最小化 */
    }

        .hero img.header-logo {
            max-width: 80%; /* ロゴサイズを調整 */
            top: 100px; /* 位置を調整 */
        }
}


.hero img.header-logo {
    position: absolute; /* 絶対位置に配置 */
    max-width: 150%; /* 幅を自動調整 */
    top: 200px;
    height: auto; /* 高さを自動調整 */
    z-index: 1001; /* 重なり順序を設定 */
}

.hero .slider {
    width: 100%; /* ページ全体の幅にする */
    height: 100%; /* 親要素の高さを100%に設定 */
}

    .hero .slider img {
        width: 100%;
        height: 500px; /* 高さを500pxに設定 */
        object-fit: cover;
    }

/* スマホ表示時のスライダー画像の高さ調整 */
@media (max-width: 768px) {
    .hero .slider img {
        height: 250px; /* スマホでは高さを半分に */
    }
}

/* キャンペーンバナーのスタイル */
.campaign-banner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

    .campaign-banner img {
        width: 100%;
        max-width: 1000px; /* PC版は1000pxに設定 */
        height: auto;
        display: block;
        margin: 0 auto;
    }

/* スマホ表示時は大きめに */
@media (max-width: 768px) {
    .campaign-banner {
        padding: 10px;
    }

        .campaign-banner img {
            width: 100%;
            max-width: 100%; /* スマホでは画面幅いっぱい */
            height: auto;
        }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.5);
    }
}

.zoom-animation {
    animation: zoomIn 30s infinite;
}


/*****************************************
------------------------------------------
    Sectionスタイル
------------------------------------------
******************************************/

section {
    padding: 2em 0;
}

/* キャンペーンバナー画像のスタイル（HTML 25行目） */
.container > img[src*="pcci-school.com"] {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
}

/* スマホ表示時のキャンペーンバナー調整 */
@media (max-width: 768px) {
    .container > img[src*="pcci-school.com"] {
        margin: -20px auto 10px auto; /* 上のマージンを減らしてファーストビューに */
    }
}

.features, .pricing, .access, .trial, .about, .courses, .testimonials, .faq, .free-trial, .schedule, .instructors, .fv,
.course_recommends {
    width: 100vw; /* ビューポート全体の幅 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #F6F6F6;
}

/* サブページ内のセクションは中央寄せに */
main.container .features,
main.container .access,
main.container .trial,
main.container .courses,
main.container .schedule,
main.container .instructors {
    width: 100%;
    position: static;
    left: auto;
    right: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    max-width: 1200px;
    padding: 20px;
}

/* FAQページは特別に画面幅全体に */
main.container .faq {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
    padding: 40px 20px !important;
    box-sizing: border-box !important;
    background-color: #f9f9f9 !important;
}

/* サブページの特徴ポイントも中央寄せに */
main.container .feature-points {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

/* サブページのtrialセクションのスタイル調整 */
main.container .trial {
    text-align: center;
}

    main.container .trial h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    main.container .trial p {
        text-align: center;
        margin-bottom: 20px;
    }

.access, .about, .testimonials, .schedule, .instructors {
    background-color: #FFFFFF;
}

h2 {
    font-size: 2em;
    color: #E65517;
    margin-bottom: 10px;
    text-align: center; /* 中央揃え */
}

h3 {
    font-size: 1.6em;
    color: #666;
    margin-bottom: 5px;
    text-align: center; /* 中央揃え */
}

.tiral_banner {
    width: 100vw; /* ビューポート全体の幅 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #E65517;
    color: #ffffff;
}

/*-------------------------
    選ばれる理由(特徴)
-------------------------*/
.fv_img {
    width: 100%; /* 画像を60％サイズに設定 */
    max-width: 1200px; /* 画像幅の最大を1200pxに制限 */
    height: auto; /* 画像のアスペクト比を保持 */
    justify-content: center;
    align-items: center;
}

/* スマホ表示時のキャンペーンバナーのマージン調整 */
@media (max-width: 768px) {
    .fv {
        padding: 20px 10px !important;
        margin-top: -20px; /* スライダーとの余白を減らす */
    }

    .fv_img {
        margin-bottom: 10px;
    }
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-point {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
}

    .feature-point h3 {
        margin-top: 0;
    }

/*-------------------------
    講座紹介：おすすめ講座
-------------------------*/
.course_recommends-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.course_recommends-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.course-link {
    width: 100%;
    padding-top: 75%; /* 4:3のアスペクト比を維持 */
    position: relative;
    overflow: hidden;
}

.course_recommends-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体を表示し、アスペクト比を維持 */
}

.course_recommends-point h3 {
    margin-top: 15px;
    font-size: 1.2em;
    color: #E65517;
    min-height: 2.4em; /* 2行分の高さを確保 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.course_recommends-point p {
    font-size: 0.9em;
    text-align: left;
    margin-top: 10px;
}

/* マウスオーバー効果 */
.course-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.course_recommends-icon {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.course-link:hover .course_recommends-icon {
    opacity: 0.7; /* マウスオーバー時に70%の透明度に */
    transform: scale(1.05); /* 少し拡大 */
}

.course-link:hover::before {
    opacity: 1;
}




/*-------------------------
    料金・授業時間帯
-------------------------*/

.pricing p, .schedule p {
    text-align: center;
}

.pricing .highlight {
    font-size: 2em;
    font-weight: bold;
    color: #3498db; /* 明るめのブルー */
    margin-top: 10px;
}

.feature-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 横3項目 */
    grid-gap: 20px;
}

.feature-point {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center; /* 子要素を中央揃えに */
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    display: block;
    display: inline-block; /* 中央揃えを適用するために追加 */
    margin: 0 auto; /* 中央揃え */
}

.feature-point h3 {
    margin-top: 0;
    font-size: 1.8em;
    color: #E65517
}

.feature-point p {
    text-align: left; /* p要素を左揃えに */
}

/*-------------------------
    アクセス
-------------------------*/
.full-width-map {
    width: 100%;
    max-width: 100%;
}

    .full-width-map iframe {
        width: 100%;
        height: 450px;
        display: block;
        border: 0;
    }

.access-images {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

    .access-images img {
        width: 30%;
        border-radius: 5%; /* 各丸*/
        transition: transform 0.3s ease;
    }

        .access-images img:hover {
            transform: scale(1.2);
        }

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db; /* 明るめのブルー */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .button:hover {
        background-color: #2874a6;
    }

.fixed-contact {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 1001;
}

    .fixed-contact a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 320px;
        height: 60px;
        background: linear-gradient(135deg, #E65517 0%, #ff6a3c 100%);
        color: white;
        border-radius: 30px;
        text-decoration: none;
        font-weight: bold;
        font-size: 1.2em;
        transition: all 0.3s ease;
        box-shadow: 0 6px 12px rgba(230, 85, 23, 0.3);
        border: none;
        box-sizing: border-box;
        line-height: 1.2;
        position: relative;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

        .fixed-contact a::before {
            content: '💻';
            margin-right: 8px;
            font-size: 1.1em;
        }

        .fixed-contact a:hover {
            background: linear-gradient(135deg, #ff6a3c 0%, #E65517 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(230, 85, 23, 0.4);
        }

        .fixed-contact a:active {
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(230, 85, 23, 0.3);
        }

.fixed-button {
    margin-left: 15px; /* 他のナビ項目との間隔を調整 */
    margin-right: 15px; /* 右端の余白を調整 */
}

    .fixed-button a {
        background-color: #ff6600 !important;
        color: white !important;
        padding: 8px 16px; /* パディングを少し縮小 */
        text-decoration: none !important;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        font-weight: bold;
        white-space: nowrap; /* テキストの改行を防ぐ */
        display: inline-block;
        color: white !important; /* 文字色を白色に強制 */
        font-size: 0.9em; /* フォントサイズを少し縮小 */
    }

        /* より強力な文字色指定 */
        .fixed-button a,
        .fixed-button a:link,
        .fixed-button a:visited,
        .fixed-button a:hover,
        .fixed-button a:active {
            color: white !important;
            background-color: #ff6600 !important;
        }

            .fixed-button a:hover {
                background-color: #cc5200;
                color: white !important;
            }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    table th, table td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
    }

    table th {
        background-color: #3D3D3D;
        color: white;
    }

    table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    table tr:hover {
        background-color: #ddd;
    }

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}

    blockquote:before {
        color: #ccc;
        content: open-quote;
        font-size: 4em;
        line-height: 0.1em;
        margin-right: 0.25em;
        vertical-align: -0.4em;
    }

    blockquote p {
        display: inline;
    }

/* フェードイン用のCSS - 一時的に無効化 */
.fade-in {
    opacity: 1; /* 常に表示 */
    transition: none; /* アニメーション無効 */
}

    .fade-in.visible {
        opacity: 1;
    }

.full-width-image {
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

    .full-width-image img {
        width: 100vw;
        height: auto;
        display: block;
    }


/*--------------------------------------
    フッター
---------------------------------------*/
footer {
    background-color: #3d3d3d;
    color: white;
    text-align: center;
    padding: 1em 0;
}

/*--------------------------------------
    無料体験
---------------------------------------*/
.trial img, .testimonials img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px; /* 適度な余白を追加 */
}

/*--------------------------------------
    FAQ
---------------------------------------*/
.faq-category {
    margin-bottom: 20px;
    text-align: center; /* カテゴリーのタイトル文字を中央揃え */
}

    .faq-category h3 {
        background-color: #3498db;
        color: white;
        padding: 10px;
        cursor: pointer;
        margin: 0;
        transition: all 0.3s ease;
        border-radius: 5px;
        text-align: center; /* カテゴリーのタイトル文字を中央揃え */
    }

        .faq-category h3:hover {
            /*  background-color: #1a4a7c; 
            transform: scale(1.1); 
            */
        }

.faq-items {
    display: none;
    background-color: #f9f9f9;
    padding: 0 10px;
    overflow: hidden;
    text-align: left; /* FAQの中身テキストを左揃え */
}

    .faq-items.show {
        display: block;
    }

    .faq-items dl {
        margin: 0;
    }

    .faq-items dt {
        font-weight: bold;
        margin-top: 10px;
    }

    .faq-items dd {
        margin: 0 0 10px 20px;
    }

/*-------------------------------------
    講師紹介
-------------------------------------*/
.instructors {
    background-color: #fff;
    padding: 40px 0;
}

.section-contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.instructor {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

    .instructor img {
        width: 150px;
        height: auto;
        border-radius: 50%;
        margin-right: 20px;
    }

.instructor-comment {
    flex: 1;
}

.comment-bubble {
    background-color: #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    margin-left: 20px;
}

    .comment-bubble h4 {
        padding: 0;
        margin: 0;
    }

    .comment-bubble:before {
        content: '';
        position: absolute;
        top: 50%;
        left: -10px;
        margin-top: -10px;
        border-width: 10px 10px 10px 0;
        border-style: solid;
        border-color: transparent #e0e0e0 transparent transparent;
    }

.instructor-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.instructor-message {
    font-size: 1em;
    color: #333;
    margin: 0;
}

@media (max-width: 768px) {
    .instructor {
        flex-direction: column;
        text-align: center;
    }

        .instructor img {
            margin-right: 0;
            margin-bottom: 15px;
        }

    .comment-bubble {
        margin-left: 0;
    }

        .comment-bubble:before {
            display: none;
        }
}





/****************************
    企業概要
*****************************/
.company-profile {
    width: 100vw; /* ビューポート全体の幅 */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f2f2f2; /* 背景色 */
    padding: 40px 20px;
    box-sizing: border-box;
}

.company-info {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .company-info th, .company-info td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
        font-size: 0.85em;
    }

    .company-info tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .company-info th {
        background-color: white;
        width: 30%;
        color: #000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .company-info td {
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }


/*--------------------------------------
    無料体験：幅100％
----------------------------------------*/
.apply-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 120px; /* ボタンの高さを設定 */
    margin: 25px auto;
    background-color: white;
    color: #E65517;
    border-radius: 60px; /* 高さの半分の値で両端が正円に */
    text-decoration: none;
    font-weight: bold;
    font-size: 2.4em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 5px solid white;
    box-sizing: border-box;
    line-height: 1.2;
    position: relative;
}

    .apply-button::after {
        content: '';
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border: 5px solid #E65517;
        border-radius: 55px; /* (ボタンの高さ - 10px) / 2 */
        pointer-events: none;
    }

    .apply-button:hover {
        opacity: 0.5;
    }

.contact-info {
    margin-top: 25px;
    font-size: 1em;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fade-in {
    animation: none; /* アニメーション無効 */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .apply-button {
        width: 90%;
        height: 100px; /* スマートフォン向けに高さを調整 */
        font-size: 1.8em;
        border-radius: 50px; /* 高さの半分の値 */
    }

        .apply-button::after {
            border-radius: 45px; /* (ボタンの高さ - 10px) / 2 */
        }
}


/*--------------------------------------
    講座スライド
----------------------------------------*/
.courses {
    padding: 20px;
    background-color: #f0f0f0;
}

.courseslidersection-contents {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.courseslider-container {
    margin-bottom: 20px;
}


.courseslider {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2.5%;
}

.courseslide {
    flex: 0 0 18%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

    .courseslide:hover {
        transform: scale(1.05);
    }

    .courseslide a {
        display: block;
        overflow: hidden;
    }

    .courseslide img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

.courseslider-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.courseslider-button {
    background-color: #E65517;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 3;
    position: relative;
}

    .courseslider-button:hover {
        background-color: #ff6a3c;
        transform: translateY(-2px);
    }

/*--------------------------------------
    講座紹介
---------------------------------------*/
.course-header-container {
    width: 100vw; /* ビューポート幅の100%に設定 */
    position: relative;
    overflow: hidden;
    height: 300px; /* 最大高さを300pxに固定 */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #ffffff;
}

.course_header {
    width: 100%;
    height: 100%; /* 修正: auto → 100% */
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0; /* 修正: 50% → 0 */
    left: 0;
    transform: none; /* 修正: translateY(-50%) を削除 */
    max-height: none; /* 修正: 300px制限を削除 */
}

.course_header_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 36px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 3px 7px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 80%;
    width: fit-content;
    z-index: 1;
}

/* タブレット向け調整 */
@media (max-width: 1024px) {
    .course_header_title {
        font-size: 28px;
        padding: 12px 25px;
        max-width: 100%;
        line-height: 1.3;
    }
}

/* スマートフォン向け調整 */
@media (max-width: 768px) {
    .course-header-container {
        height: 250px;
    }

    .course_header_title {
        font-size: 20px;
        padding: 10px 20px;
        max-width: 100%;
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
    }
}

/* より小さい画面向け */
@media (max-width: 480px) {
    .course-header-container {
        height: 200px;
    }

    .course_header_title {
        font-size: 16px;
        padding: 8px 15px;
        max-width: 95%;
        line-height: 1.5;
        overflow-wrap: break-word;
        hyphens: auto;
        top: 40%; /* 修正: 位置調整を追加 */
        transform: translate(-50%, -50%); /* 修正: 位置指定を追加 */
    }
}

/* 縦向きの小さい画面向け */
@media (max-width: 375px) {
    .course_header_title {
        font-size: 14px;
        padding: 6px 12px;
        max-width: 98%;
        top: 40%; /* 修正: 位置調整を追加 */
        transform: translate(-50%, -50%); /* 修正: 位置指定を追加 */
    }
}

.course-info-content {
    display: flex;
    gap: 20px;
}

.course_thumbnail {
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    width: 40%;
    margin-top: 20px;
}

.course-details {
    flex: 1;
}

/* 標準受講時間のスタイル：小さなアイコンを文字の頭に表示 */
.time {
    white-space: nowrap; /* 文字列を改行させない */
    background-image: url('img/course/course_time.png');
    background-size: 30px 30px; /* アイコンサイズはそのまま */
    background-repeat: no-repeat;
    background-position: left center; /* 左側中央に配置 */
    padding-left: 35px; /* 左余白を詰める（40px → 35px） */
    padding-top: 8px; /* 上の余白を追加 */
    padding-bottom: 8px; /* 下の余白を追加 */
    width: auto; /* 幅を自動に */
    height: auto; /* 高さを自動に */
    line-height: 1.6; /* 行の高さを増やす */
}

/* PCでは【標準受講時間】の後の<br>を非表示にする */
@media (min-width: 769px) {
    .time br {
        display: none;
    }
}

/* モバイルでは改行を許可し、<br>も表示 */
@media (max-width: 768px) {
    .time {
        white-space: normal; /* モバイルでは通常の改行を許可 */
        background-size: 25px 25px; /* モバイル用サイズ */
        padding-left: 30px; /* モバイル用の左余白を詰める（35px → 30px） */
        padding-top: 6px; /* モバイル用上余白 */
        padding-bottom: 6px; /* モバイル用下余白 */
    }

        .time br {
            display: inline;
        }
}




/*■■■■■■■■■■■■■■■■■■■■■■■■■

    　　　　　レ　ス　ポ　ン　シ　ブ　

　■■■■■■■■■■■■■■■■■■■■■■■■■*/


/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* 全体のレイアウト */
    .container, .section-contents {
        padding: 0 10px;
    }

    /* ヘッダー */
    header {
        padding: 0.5em 10px;
        height: auto;
        flex-direction: column;
    }

    .header-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }


    .header-message {
        font-size: 0.5em;
        position: static;
        text-align: center;
        margin-bottom: 5px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

        nav ul li {
            margin: 5px;
        }

    /* ヒーローセクション */
    .hero {
        height: 300px;
        margin-top: 120px;
    }

        .hero img.header-logo {
            max-width: 80%;
            top: 50%;
            transform: translateY(-50%);
        }

    /* 特徴セクション */
    .feature-points {
        grid-template-columns: 1fr;
    }

    /* サブページの特徴ポイントもモバイルで1列に */
    main.container .feature-points {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    /* コース紹介セクション */
    .course_recommends-points {
        grid-template-columns: 1fr;
    }

    /* アクセスセクション */
    .full-width-map iframe {
        height: 300px;
    }

    .access-images {
        flex-direction: column;
        align-items: center;
    }

        .access-images img {
            width: 80%;
            margin-bottom: 10px;
        }

    /* 講師紹介セクション */
    .instructor {
        flex-direction: column;
        text-align: center;
    }

        .instructor img {
            margin-right: 0;
            margin-bottom: 10px;
        }

    .comment-bubble {
        margin-left: 0;
        margin-right: 0;
    }

        .comment-bubble:after {
            display: none;
        }

    /* FAQセクション */
    .faq-category h3 {
        font-size: 1em;
    }

    /* スケジュールセクション */
    table {
        font-size: 0.8em;
    }

    /* 申し込みボタン */
    .apply-button {
        width: 90%;
        height: 80px;
        font-size: 1.5em;
    }

    /* 固定コンタクト */
    .fixed-contact {
        left: 0;
        bottom: 0;
        width: 100%;
    }

        .fixed-contact a {
            width: 100%;
            border-radius: 0;
            height: 50px;
            font-size: 1em;
            background: linear-gradient(135deg, #E65517 0%, #ff6a3c 100%);
        }

            .fixed-contact a:hover {
                background: linear-gradient(135deg, #ff6a3c 0%, #E65517 100%);
            }

    /* コーススライダー */
    .courseslide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* レスポンシブ：ハンバーガーメニューのスタイル */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #1a4a7c;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1000;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #ffffff;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 999;
    }

        #main-nav.active {
            right: 0;
        }

        #main-nav ul {
            flex-direction: column;
            padding-top: 70px;
        }

            #main-nav ul li {
                margin: 10px 0;
            }

    /* ハンバーガーメニューがアクティブ時の×マーク */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    /* 既存のモバイル向けCSSはそのまま保持 */

    /* ヘッダーメッセージを非表示に */
    .header-message {
        display: none;
    }

    /* ヘッダータイトルを左寄せに */
    .header-title {
        text-align: left;
        margin-left: 10px; /* 左端からの余白を追加 */
        font-size: 1.2em; /* フォントサイズを少し小さく */
    }

    /* ヘッダーコンテンツのレイアウト調整 */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    /* メニュートグルボタンの位置調整 */
    .menu-toggle {
        position: static; /* 絶対位置指定を解除 */
        margin-left: auto; /* 右寄せ */
    }
}




/* 講座スライド　モバイル向けスタイル */
@media (max-width: 768px) {
    .courseslider {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .courseslide {
        flex: 0 0 48%; /* 横2つのスライドを表示 */
        margin-bottom: 15px;
    }

    /* スライダーコンテナの余白調整 */
    .courseslider-container {
        padding: 0 10px;
    }

    /* スライド間の余白調整 */
    .courseslide:nth-child(odd) {
        margin-right: 2%;
    }
}

/* さらに小さい画面向けの調整 */
@media (max-width: 480px) {
    .courseslide {
        flex: 0 0 100%; /* 極小画面では1列に */
    }
}

/* 既存のスタイル */
.course-info-content {
    display: flex;
    gap: 20px;
}

.course_thumbnail {
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    width: 40%;
    margin-top: 20px;
}

.course-details {
    flex: 1;
}

/* ブラウザの表示幅が800px以下の場合 */
@media screen and (max-width: 800px) {
    .course_thumbnail {
        /* display: none; を削除 */
        width: 100% !important; /* 幅を95%に拡大（強制） */

        height: auto !important; /* 高さは自動でアスペクト比を保持 */
        margin: 10px auto 20px auto !important; /* 中央揃え、下に余白 */
        display: block !important; /* ブロック要素として表示 */
    }

    .course-info-content {
        flex-direction: column !important; /* 縦並びに変更 */
        gap: 0 !important; /* 間隔をリセット */
    }

    .course-details {
        margin-top: 15px; /* 画像と説明文の間に余白 */
    }

    p.time {
        font-size: 18px;
        text-align: center;
        background-image: none;
        width: auto;
        height: auto;
        margin: 20px auto;
        padding: 15px;
        border: 2px solid #E65517;
        border-radius: 8px;
        background-color: #fff;
        font-weight: bold;
        color: #E65517;
    }

    .apply-button {
        font-size: 16px;
    }
}

/* さらに小さい画面向けの標準受講時間の調整 */
@media screen and (max-width: 480px) {
    p.time {
        font-size: 16px;
        padding: 12px;
        margin: 15px auto;
    }
}

/*■■■■■　簿　記　講　座　紹　介　用　■■■■■■■■*/

/* --- 簿記講座セクションのスタイル開始 --- */

/* 講座スライダー全体のスタイル */
#courseslider_boki {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

    /* 各講座スライドのスタイル */
    #courseslider_boki .boki-courseslide {
        flex: 1 1 calc(25% - 10px); /* 4列表示 */
        margin: 10px 5px;
        text-align: center;
        box-sizing: border-box;
    }

        /* 画像のスタイル */
        #courseslider_boki .boki-courseslide img {
            width: 100%;
            max-width: 800px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* 説明文のスタイル */
        #courseslider_boki .boki-courseslide p {
            margin-top: 10px;
            font-size: 14px;
            color: #333;
            line-height: 1.5;
        }

/* --- レスポンシブ対応 --- */

/* 画面幅が1200px以下の場合：2列表示に変更 */
@media (max-width: 1200px) {
    #courseslider_boki .boki-courseslide {
        flex: 1 1 calc(50% - 10px); /* 2列表示 */
    }
}

/* 画面幅が768px以下の場合も2列表示 */
@media (max-width: 768px) {
    #courseslider_boki .boki-courseslide {
        flex: 1 1 calc(50% - 10px); /* 2列表示 */
    }
}
/* サムネイル全体のホバー効果 */
.boki-courseslide {
    transition: transform 0.3s ease;
}

    .boki-courseslide:hover {
        transform: scale(1.05);
    }

    /* 画像のホバー効果 */
    .boki-courseslide img {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .boki-courseslide:hover img {
        opacity: 0.7;
    }
/* --- 簿記講座セクションのスタイル終了 --- */


/* スマートフォンでsection-contentsのパディングを無効化 */
@media (max-width: 768px) {
    .features .section-contents {
        padding: 0; /* 修正: 左右のパディングを削除 */
    }

    .course_header_title {
        font-size: 18px;
        padding: 8px 10px;
        max-width: 100%;
        width: calc(100vw - 20px); /* 修正: 画面幅から最小限の余白を引く */
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
        box-sizing: border-box;
        top: 45%; /* 修正: 位置を少し上に */
        transform: translate(-50%, -50%); /* 修正: 位置指定 */
    }
}



/*■■■■■ここまで　簿　記　講　座　紹　介　用　■■■■■■■■*/


/* ここから　よくあるご質問*/
.faq-category h3 {
    background-color: #FF6347;
    color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    letter-spacing: 0.1em;
    font-size: 1.2em;
    cursor: default;
}

.faq-category dl {
    text-align: left;
}

.faq-category dt {
    cursor: pointer;
    padding: 12px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease; /* トランジションを追加 */
    border-radius: 3px;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 30px; /* 矢印のためのスペース */
}

    .faq-category dt:hover {
        background-color: #e0e0e0;
        transform: translateX(5px); /* ホバー時に5px右に移動 */
    }

    .faq-category dt::before {
        content: '▶';
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .faq-category dt.active::before {
        transform: translateY(-50%) rotate(90deg);
    }

.faq-category dd {
    display: none;
    padding: 12px;
    margin-bottom: 12px;
    background-color: #f9f9f9;
    border-radius: 3px;
    letter-spacing: 0.03em;
}
/* ここまで　よくあるご質問*/


/* 体験バナーのモバイル向け改行制御 */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline; /* スマートフォンでのみ改行を表示 */
    }

    .tiral_banner h2 {
        line-height: 1.4; /* 行間を調整 */
        font-size: 1.6em; /* 必要に応じてフォントサイズを調整 */
    }
}

@media (max-width: 480px) {
    .tiral_banner h2 {
        font-size: 1.4em; /* より小さい画面ではさらに調整 */
        line-height: 1.5;
    }
}

/* サブページ用のスタイル調整 */
main.container {
    margin-top: 80px; /* 固定ヘッダーの高さ + 余白 */
    padding-top: 20px;
    background-color: #ffffff; /* サブページの背景色を白に */
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

    /* サブページ内のコンテンツを中央寄せに */
    main.container .section-contents {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    /* サブページのセクション全体を中央寄せに */
    main.container section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* FAQページのセクションを画面幅全体に */
    main.container .faq {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        max-width: none !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        background-color: #f9f9f9 !important;
    }

        /* FAQページのsection-contentsを中央寄せに */
        main.container .faq .section-contents {
            max-width: 1200px !important;
            margin: 0 auto !important;
            width: 100% !important;
        }

    /* FAQページのコンテンツを確実に中央寄せに */
    main.container .faq-category {
        max-width: 800px;
        margin: 0 auto;
        text-align: left;
    }

        main.container .faq-category dt,
        main.container .faq-category dd {
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

    /* サブページのボタンも中央寄せに */
    main.container .apply-button {
        display: block;
        margin: 25px auto;
    }

/* サブページのセクションタイトルが見えるように調整 */
section h1 {
    margin-top: 0;
    padding-top: 20px;
    color: #1a4a7c;
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px;
}

/* サブページのコンテンツエリアの調整 */
.section-contents {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* サブページのtiral_banner内のコンテンツを中央寄せに */
main.container .tiral_banner .section-contents {
    text-align: center;
}

main.container .tiral_banner h2 {
    text-align: center;
    margin-bottom: 20px;
}

main.container .tiral_banner .apply-button {
    display: block;
    margin: 25px auto;
}

main.container .tiral_banner .contact-info {
    text-align: center;
    margin-top: 20px;
}

/* 料金ページのスタイル */
.schedule h3 {
    color: #1a4a7c;
    font-size: 1.8em;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #E65517;
}

/* 料金特徴セクション */
.price-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.price-feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .price-feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .price-feature-item .feature-icon {
        width: 100%;
        max-width: 250px;
        height: auto;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .price-feature-item h4 {
        color: #E65517;
        font-size: 1.4em;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .price-feature-item p {
        text-align: left;
        line-height: 1.8;
        color: #333;
    }

    .price-feature-item small {
        color: #666;
        font-size: 0.9em;
    }

/* 料金比較表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .comparison-table thead {
        background-color: #1a4a7c;
        color: white;
    }

    .comparison-table th {
        padding: 15px;
        text-align: center;
        font-weight: bold;
    }

        .comparison-table th:first-child {
            background-color: #154166;
        }

    .comparison-table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .comparison-table td {
        padding: 12px 15px;
        text-align: center;
        border: 1px solid #ddd;
    }

        .comparison-table td:first-child {
            font-weight: bold;
            background-color: #f0f0f0;
            text-align: left;
        }

        .comparison-table td strong {
            color: #E65517;
        }

/* 受講目的別料金モデル */
.price-model {
    margin: 50px 0;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

    .price-model:last-of-type {
        border-bottom: none;
    }

    .price-model h4 {
        color: #E65517;
        font-size: 1.5em;
        margin-bottom: 20px;
        font-weight: bold;
        padding-bottom: 10px;
        border-bottom: 3px solid #E65517;
    }

.price-model-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

.price-model .model-image {
    width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.price-model-text {
    flex: 1;
}

    .price-model-text p {
        text-align: left;
        line-height: 1.8;
        color: #333;
        margin-bottom: 20px;
        font-size: 1em;
    }

.price-model .model-detail {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #E65517;
}

    .price-model .model-detail p {
        margin: 10px 0;
        font-size: 1em;
        color: #333;
    }

        .price-model .model-detail p:first-child {
            font-weight: bold;
            font-size: 1.05em;
        }

    .price-model .model-detail .total {
        color: #E65517;
        font-size: 1.5em;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid #ddd;
        font-weight: bold;
    }

/* 個人レッスンセクション */
.personal-lesson {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 30px 0;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.personal-lesson-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.personal-lesson-content {
    flex: 1;
}

    .personal-lesson-content p {
        line-height: 1.8;
        color: #333;
    }

/* 授業時間帯表 */
.schedule table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .schedule table thead {
        background-color: #1a4a7c;
        color: white;
    }

    .schedule table th {
        padding: 15px;
        text-align: center;
        font-weight: bold;
        border: 1px solid #ddd;
    }

    .schedule table tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .schedule table td {
        padding: 12px;
        text-align: center;
        border: 1px solid #ddd;
    }

        .schedule table td:first-child {
            font-weight: bold;
            background-color: #f0f0f0;
            text-align: left;
        }

/* 料金一覧表 */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .price-table thead {
        background-color: #4a4a4a;
        color: white;
    }

        .price-table thead th {
            padding: 15px;
            text-align: center;
            font-weight: bold;
            border: 1px solid #ddd;
            font-size: 1.05em;
        }

            .price-table thead th:first-child {
                background-color: #3a3a3a;
            }

    .price-table tbody tr {
        background-color: white;
    }

        .price-table tbody tr:nth-child(even) {
            background-color: #f5f5f5;
        }

        .price-table tbody tr.total-row {
            background-color: #e8e8e8;
            font-weight: bold;
        }

    .price-table tbody td {
        padding: 15px 12px;
        text-align: center;
        border: 1px solid #ddd;
        font-size: 1em;
    }

        .price-table tbody td.row-header {
            background-color: #e0e0e0;
            font-weight: bold;
            text-align: left;
            padding-left: 20px;
            line-height: 1.6;
        }

    .price-table tbody tr.total-row td {
        font-size: 1.1em;
        padding: 18px 12px;
    }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .price-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .price-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-feature-item {
        padding: 20px;
    }

        .price-feature-item .feature-icon {
            max-width: 200px;
        }

    .schedule h3 {
        font-size: 1.5em;
        margin-top: 30px;
    }

    .comparison-table,
    .schedule table,
    .price-table {
        font-size: 0.85em;
    }

        .comparison-table th,
        .comparison-table td,
        .schedule table th,
        .schedule table td,
        .price-table th,
        .price-table td {
            padding: 8px 5px;
        }

        .price-table tbody td.row-header {
            padding-left: 10px;
            font-size: 0.9em;
        }

    .price-model h4 {
        font-size: 1.3em;
    }

    .price-model-content {
        flex-direction: column;
    }

    .price-model .model-image {
        width: 100%;
        max-width: 100%;
    }

    .price-model .model-detail {
        padding: 15px;
    }

        .price-model .model-detail .total {
            font-size: 1.3em;
        }

    .personal-lesson {
        flex-direction: column;
        padding: 20px;
    }

    .personal-lesson-image {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .schedule h3 {
        font-size: 1.3em;
    }

    .comparison-table,
    .schedule table,
    .price-table {
        font-size: 0.75em;
    }

        .comparison-table th,
        .comparison-table td,
        .schedule table th,
        .schedule table td,
        .price-table th,
        .price-table td {
            padding: 6px 3px;
        }

        .price-table tbody td.row-header {
            padding-left: 5px;
            font-size: 0.85em;
            line-height: 1.4;
        }
}
