@charset "UTF-8";

/* 一般的な設定 */
* {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-weight: 400;
    list-style: none;
    box-sizing: border-box;
    color: #333;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

a:hover {
    transition: all 0.5s;
}

img {
    vertical-align: bottom;
}

p {
    line-height: 1.75;
}

:root {
    --color_accent: #FFF10C;
    --color_main: #003399;
    --color_sub: #1F70AD;
    --color_sax: #E7F8FF;
    --color_gray: #F5F5F5;
    --color_gradation: linear-gradient(90deg, rgba(0, 91, 171, 1) 0%, rgba(0, 91, 171, 1) 15%, rgba(0, 51, 153, 1) 100%);
    --pc-width: min(calc(100% - 30px), 1080px);
    --pc-width_container: 1080px;
}

.white {
    background-color: #fff;
}

.sax {
    background-color: var(--color_sax);
}

.sax-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color_sax);
    background-image: url(../../images/common/bg_message.png);
    background-size: cover;
}

.gray {
    background-color: var(--color_gray);
}

.gray_inner {
    margin: 50px 20px 0;
    padding: 20px;
    background-color: var(--color_gray);
}

@media (min-width: 768px) {
    .gray_inner {
        margin: 90px 50px 0;
    }
}

.fc-w {
    color: #fff;
}

.sub {
    color: var(--color_sub);
}

.container {
    margin: 20px 0;
    background: #ccc;
}

.wrap {
    padding: 20px;
}

.wrap_50-20 {
    padding: 50px 20px;
}

@media (min-width: 768px) {
    .wrap_50-20 {
        padding: 90px 40px;
    }
}

.wrap_0-0-50 {
    padding: 0 0 50px;
}

.dep {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

:target {
  /* スクロール時の余白をヘッダーの高さ分だけ確保 */
    scroll-margin-top: 139px; 
}

@media (min-width: 768px) {
    .dep {
        gap: 40px;
        margin: 0 auto;
    }
}

.pd_0-20 {
    padding: 0 20px;
}

.pd_20-0 {
    padding: 10px 0;
}

.pd_0-0-10 {
    padding: 0 0 10px;
}

.section_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 12px 20px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 30px;
    margin: 20px auto;
    box-shadow: 2px 2px 2px 0 #666;
}

@media (min-width: 768px) {
    .section_btn {
        max-width: 350px;
        margin: 40px auto 20px;
        font-size: 1.5rem;
        padding: 16px 20px;
        border-radius: 50px;
    }
}

.section_btn_y {
    width: calc(100% - 76px);
    border: 3px solid #fff;
    background-color: var(--color_accent);
    color: var(--color_sub);
}

.section_btn_W {
    width: calc(100% - 76px);
    border: 3px solid var(--color_sub);
    background-color: #FFF;
    color: var(--color_sub);
}

.section_btn_b {
    width: calc(100% - 76px);
    border: 3px solid #fff;
    background-image: var(--color_gradation);
    color: #fff;
}

.section_btn_b-teacher {
    width: calc(100% - 6px);
    border: 3px solid #fff;
    background-image: var(--color_gradation);
    color: #fff;
}

.section_btn::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color_sub);
    background-image: url(../../images/common/icon_go.png);
    background-position: center center;
    background-size: 100%;
    margin-top: 3px;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-only {
        display: block;
    }
}

/* CTA */
.cta-area {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 40px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-area_txt {
    color: var(--color_main);
    text-align: center;
    font-weight: 500;
}

.cta-area_btn {
    background-image: var(--color_gradation);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border: 3px solid #fff;
    border-radius: 70px;
    padding: 25px 30px 20px 40px;
    font-size: 1.6rem;
    border: 3px solid #fff;
    box-shadow: 3px 3px 3px 0 rgba(124, 124, 124, 0.6);
}

.cta-area_btn::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 28px solid #fff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.cta-area_copy {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-weight: 700;
}

.cta-area_strong {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color_accent);
    letter-spacing: 5px;
    line-height: 1;
}

@media (min-width: 768px) {
    .cta-area {
        width: 100%;
        padding: 80px 10px 90px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }  

    .cta-area_txt {
        font-size: clamp(1rem, -0.231rem + 2.564vw, 1.5rem);
        font-weight: 600;
    }

    .cta-area_btn {
        gap: 15px;
        padding: 25px clamp(1.875rem, -4.279rem + 12.821vw, 4.375rem) 20px clamp(2.5rem, -2.115rem + 9.615vw, 4.375rem);
        font-size: clamp(1.6rem, 0.615rem + 2.051vw, 2rem);;
        border-radius: 80px;
    }

    .cta-area_strong {
        font-size: clamp(2.5rem, 1.269rem + 2.564vw, 3rem);
        letter-spacing: 10px;
        line-height: 1;
    }
}

/* header */
.header-logo {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-logo_img img {
    max-width: 85px;
}

@media (min-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 1000;
        background-color: #fff;
    }
    .header-logo {
        max-width: var(--pc-width);
        margin: 0 auto;
        padding: 15px 0;
        justify-content: space-between;
    }

    .header-logo_img img {
        max-width: 250px;
    }

}

#global-nav {
    position: fixed;
    top: 0;
    right: -90vw;
    width: 100vw;
    height: 100vh;
    z-index: 100; 
    transition: right 0.3s ease-in-out; 
}

#global-nav .nav_container {
    width: 90vw; 
    height: 100%;
    margin-left: auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 90px 20px 50px; 
    overflow-y: auto; 
    
    /* ★ スクロールバー非表示設定 ★ */
    -ms-overflow-style: none;          /* IE/Edge */
    scrollbar-width: none;             /* Firefox */
}
#global-nav .nav_container::-webkit-scrollbar {
    display: none;                     /* Chrome/Safari/Edge */
}

/* メニューが開いた状態 */
#global-nav.is-active {
    right: 0; /* 画面内にスライドイン */
}

/* メインリスト（縦並び） */
#global-nav .nav_lists {
    display: block; 
    list-style: none;
    padding: 0;
    margin: 0;
}

/* メインメニュー項目とリンク */
#global-nav .nav_list {
    border-top: 1px solid #dcdcdc;
    position: relative;
}
#global-nav .nav_list:last-child {
    border-bottom: 1px solid #dcdcdc;
}

#global-nav .nav_list > a {
    display: block;
    font-size: 20px;
    padding: 20px;
    font-weight: 700;
    color: var(--color_main); 
    text-decoration: none;
}

/* アコーディオンのアイコン (+/-) の設定 */
/* 子リストを持つ項目のみにアイコンを表示 */
#global-nav .nav_list:has(.nav_lists-cld) > a {
    padding-right: 40px; 
}
#global-nav .nav_list:has(.nav_lists-cld) > a::after {
    content: '＋'; 
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #004d9c;
    transition: transform 0.3s;
}
/* 開いた状態のアイコン (-) */
#global-nav .nav_list.is-open > a::after {
    content: 'ー';
    top: 2rem;
}

/* 子リスト（アコーディオンの中身） */
#global-nav .nav_lists-cld {
    display: none; /* JSで開閉するため、デフォルト非表示 */
    list-style: none;
    margin: -10px 0 15px;
    padding: 0 15px;
}

#global-nav .nav_list-cld a {
    display: block;
    padding: 10px; 
    color: #333;
    font-weight: 600;
    border-bottom: 1px dotted #CCC;
}

#global-nav .nav_list-cld:last-child a {
    border-bottom: none;
}

#global-nav .nav_list-cld a::before {
    content: "- ";
}

@media screen and (min-width: 768px) {
    #global-nav {
        position: static;
        width: auto;
        height: auto;
        right: auto;
        transition: none;
    }

    #global-nav .nav_container {
        width: auto; 
        height: auto;
        padding: 0;
        overflow-y: visible;
        background-color: transparent;
    }
    
    #global-nav .nav_lists {
        display: flex;
        justify-content: center;
    }
    
    #global-nav .nav_list {
        border: none; 
        position: relative; 
        display: flex;
        align-items: center;
        padding-left: 2px;
    }
    #global-nav .nav_list:not(:last-child)::after {
        content: "｜";
        padding-left: 6px;
    }

    #global-nav .nav_list > a {
        display: block;
        color: var(--color_main);
        font-weight: 700;
        font-size: 1rem;
        width: 100%;
        height: 100%;
        padding: 0; 
    }

    #global-nav .nav_list > a:hover {
        color: var(--color_sub);
    }
    
    /* PCのドロップダウン矢印 */
    #global-nav .nav_list:has(.nav_lists-cld) > a {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        height: 100%;
        padding: 0; 
    }
    #global-nav .nav_list:has(.nav_lists-cld) > a::after {
        content: '';
        display: block;
        position: static;
        width: 6px;
        height: 6px;
        border-right: 1px solid var(--color_main);
        border-bottom: 1px solid var(--color_main);
        transform: rotate(45deg);
    }
    
    /* 子リスト（ドロップダウンメニュー）のPCホバー時の設定 */
    #global-nav .nav_lists-cld {
        /* display: none !important; を設定すると、jQueryの.slideDown/fadeInが効かなくなるため、
           CSSではホバー時の設定のみを行い、非表示/表示はJSに完全に任せます。*/
        position: absolute; 
        top: calc(100% + 0.8rem); 
        left: 0;
        min-width: 250px;
        z-index: 1000;
        margin-bottom: 4px;
    }
    
    #global-nav .nav_list-cld {
        border-top: none;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    }

    #global-nav .nav_list:last-child {
        border-bottom: none;
    }

    #global-nav .nav_list-cld a {
        padding: 10px; 
    }

    #global-nav .nav_list-cld a:hover {
        background-color: var(--color_sax);
        color: var(--color_main);
        transition: all 0.3s;
    }
}

.header-cta {
    font-size: 14px;
    background-image: var(--color_gradation);
    color: #fff;
    padding: 6px 20px;
    border-radius: 25px;
    border: #fff solid 3px;
    box-shadow: 2px 2px 2px 0 #ccc;
}

.header-cta_accent {
    font-size: 20px;
    color: var(--color_accent);
    font-weight: 700;
    padding-right: 5px;
}

.hamburger {
    /* 四角い箱のスタイル */
    width: 70px;
    height: 70px;
    position: fixed;
    right: -2px;
    top: -2px;
    z-index: 101;
    border-left: var(--color_main) 2px solid;
    border-bottom: var(--color_main) 2px solid;
    border-radius: 0 0 0 8px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* 縦並びにする（文字と線） */
    justify-content: center;
    align-items: center;
    padding: 5px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    /* ボタンのデフォルトスタイルをリセット */
    appearance: none;
    outline: none;
}

@media (min-width: 768px) {
    .header-cta {
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 30px;
    }

    .hamburger {
        display: none;
    }
}

/* --- MENUの文字 --- */
.menu-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--color_main);
    transition: opacity 0.3s ease;
    /* 消えるときのアニメーション */
    position: absolute;
    top: 10px;
}

/* --- 3本線のコンテナ（位置調整用） --- */
.bar-container {
    width: 30px;
    height: 20px;
    /* 3本線全体の高さ */
    position: relative;
    top: 8px;
    /* 文字がある分、少し下に配置 */
    transition: top 0.3s ease;
}

/* --- 3本線の共通スタイル --- */
.bar-container span {
    display: block;
    width: 100%;
    height: 4px;
    /* 線の太さ */
    background-color: var(--color_main);
    position: absolute;
    left: 0;
    transition: all 0.4s ease;
    /* ふわっと動く設定 */
}

/* 各線の位置 */
.bar-container span:nth-of-type(1) {
    top: 0;
}

.bar-container span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
}

.bar-container span:nth-of-type(3) {
    bottom: 0;
}

/* --- クリックされた時（アクティブ状態）のスタイル --- */

/* 1. MENU文字を消す */
.hamburger.active .menu-text {
    opacity: 0;
}

/* 2. 線の位置を中心に持ってくる（文字が消えた分バランスを取る） */
.hamburger.active .bar-container {
    top: 0;
}

/* 3. 1本目を45度回転 */
.hamburger.active .bar-container span:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

/* 4. 2本目を透明にして消す */
.hamburger.active .bar-container span:nth-of-type(2) {
    opacity: 0;
}

/* 5. 3本目を-45度回転 */
.hamburger.active .bar-container span:nth-of-type(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.header-ttl {
    background-image: var(--color_gradation);
    color: #fff;
    padding: 5px;
}

.header-ttl_h1{
    display: flex;
    gap: 2px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-ttl_text {
    font-size: 11px;
    display: block;
    color: #fff;
}

.header-ttl_name {
    font-size: 15px;
    display: block;
    font-weight: 700;
    color: #fff;
}

@media (min-width: 768px) {
    .header-ttl {
        padding: 15px 0;
    }

    .header-ttl_h1{
        width: var(--pc-width);
        margin: 0 auto;
        gap: 10px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .header-ttl_text {
        font-size: 16px;
        display: inline-block;
        color: #fff;
    }

    .header-ttl_name {
        font-size: 22px;
        display: inline-block;
        font-weight: 700;
        color: #fff;
    }
}

.header-bottom_btn {
    position: fixed;
    width: 100%;
    z-index: 200;
    bottom: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s ease-out;
}

.header-bottom_btn.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn_bottom_cta {
    position: absolute;
    bottom: 5px;
    right: -5px;
    display: flex;
    align-items: center;
    gap: 5px;
    background-image: var(--color_gradation);
    border: 2px solid #fff;
    color: #fff;
    padding: 7px 20px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 5px;
}

.btn_bottom_cta span {
    color: var(--color_accent);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.btn_bottom_cta::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 12px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.btn_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border: 2px solid var(--color_main);
    color: var(--color_main);
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    bottom: 58px;
    right: 5px;
    border-radius: 8px;
    box-shadow: 2px 2px 2px 0 rgba(124, 124, 124, 0.6);
    z-index: 10;
    padding-top: 2px;
}

.btn_top::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-top: 1px solid var(--color_main);
    border-right: 1px solid var(--color_main);
    transform: rotate(-45deg);
}

@media (min-width: 768px) {
    .btn_bottom_cta {
        bottom: 15px;
        padding: 10px 22px 15px 35px;
        font-size: 1.25rem;
        border-radius: 40px 0 0 40px;
        border: 4px solid #fff;
        align-items: baseline;
    }

    .btn_bottom_cta span {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 4px;
    }

    .btn_top {
        bottom: 105px;
        right: 15px;
        width: 60px;
        height: 60px;
        font-size: 1rem;
        border: 3px solid var(--color_main);
    }
}

/* パンくずリスト　※ここだけ便宜上PCファーストで作っています */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0;
    list-style: none;
    background-color: #fff;
    margin: 0 auto;
    max-width: min(calc(100% - 40px), var(--pc-width));
}

.breadcrumb-item {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    font-family: serif;
    font-weight: bold;
}

.breadcrumb-item a {
    color: var(--color_main);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    color: var(--color_main);
}

.breadcrumb-item[aria-current="page"] {
    color: #333;
    font-weight: 600;
}

@media (max-width: 767px) {
    .breadcrumb {
        padding: 10px 15px;
        white-space: wrap;
        display: block;
        margin: 0;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .breadcrumb-item {
        display: inline-block;
        font-size: 0.75rem;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin: 0;
    }
}

/* main 緊急のお知らせ */
.main-notice {
    width: calc(100% - 30px);
    margin: 0 auto;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

.main-notice_ttl {
    text-align: center;
    font-weight: 700;
    color: var(--color_main);
    margin-bottom: 25px;
    position: relative;
}

.main-notice_ttl::after {
    content: "";
    display: block;
    height: 2px;
    width: 50px;
    background-color: var(--menu-border-color);
    position: absolute;
    bottom: -10px;
    left: calc(50% - 25px);
}

.main-notice_txt {
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .main-notice {
        width: var(--pc-width);
        padding: 20px;
        margin-bottom: 10px;
        gap: 20px;
        font-size: 1rem;
    }

    .main-notice_ttl {
        font-size: 1.25rem;
        margin-bottom: 40px;
    }

    .main-notice_ttl::after {
        height: 3px;
        bottom: -20px;
    }

    .main-notice_txt {
        font-size: 1rem;
        text-align: center;
    }
}

/* main カルーセル */
.main-banner {
    background-image: url(../../images/common/bg_fv.png);
    background-size: cover;
    border-bottom: 4px solid var(--color_main);
    padding-top: 20px;
}

/* --- Swiper全体のコンテナ --- */
.swiper,
.swiper_voice,
.swiper_course,
.swiper_blog {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 30px !important;
    overflow: hidden;
    padding-top: 20px;
}

.swiper_voice,
.swiper_course {
    padding-top: 0;
}

@media (min-width: 768px) {
    .main-banner {
        padding-top: 30px;
    }

    .swiper,
    .swiper_voice,
    .swiper_course,
    .swiper_blog {
        max-width: var(--pc-width);
        padding-bottom: 90px !important;
    }

    .swiper {
        padding-bottom: 60px !important;
    }
}

/* --- スライドのスタイル --- */
.swiper-slide,
.swiper-slide_voice {
    width: 80%;
    height: auto;
    display: flex;
    align-items: stretch; 
    font-size: 1.5rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
    box-shadow: 2px 2px 2px #ccc;
    transition: transform 0.3s;
    transform: scale(0.9);
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 60%;
    }

    .swiper-slide_voice {
        box-shadow: 3px 3px 2px #ccc;
    }
}

/* --- アクティブな（真ん中の）スライド --- */
.swiper-slide-active,
.swiper-slide_voice-active {
    transform: scale(1);
    /* 本来のサイズ */
    z-index: 1;
}

.swiper-pagination {
    top: -15px;
}

/* --- インジケーター（丸ポチ）のカスタマイズ --- */
.swiper-pagination-bullet {
    width: 30px;
    height: 5px;
    background: #fff;
    opacity: 1;
    border-radius: 0;
    box-shadow: 2px 2px 1px 0 #CCC;
}

.swiper-horizontal > .swiper-pagination-bullets {
    bottom: var(--swiper-pagination-bottom,16px);
}

.swiper-pagination-bullet-active {
    background: var(--color_accent);
}

.swiper-slide_banner {
    width: 100%;
}

@media (min-width: 768px) {
    .swiper-pagination-bullet {
        width: 60px;
        height: 7px;
        margin: 0 7px !important;
    }
    .swiper-horizontal > .swiper-pagination-bullets {
        bottom: var(--swiper-pagination-bottom,32px);
    }
}

/* ページ内遷移用アイコン */
.main-navbtn {
    background: var(--color_sax);
    padding: 20px;
    border-bottom: 4px solid var(--color_main);
}

@media (min-width: 768px) {
    .main-navbtn {
        padding: 30px 0;
    }
}

.main-navbtn_area {
    display: grid;
    grid-template: "icon1  icon2   icon3" 2fr
                   "icon4  icon5   icon6" 1fr
                    "icon4  icon7   icon8" 1fr
        /1fr 1fr 1fr;
    gap: 5px;
}

@media (min-width: 768px) {
    .main-navbtn_area {
        max-width: var(--pc-width);
        grid-template: "icon1   icon2   icon3    icon4    icon5   icon6" 1fr
                       "icon1   icon2   icon3    icon4    icon7   icon8  " 1fr
                       /1fr     1fr     1fr      1fr      1fr     1fr;
        gap: 10px;
        margin: 0 auto;
    }
}

.main-navbtn_menu {
    background: #fff;
    border-radius: 5px;
    box-shadow: 2px 2px 1px 0 #ccc;
}

@media (min-width: 768px) {
    .main-navbtn_menu {
        padding: 10px 5px;
    }
}

.main-navbtn_menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 5px;
    gap: 10px;
}

.main-navbtn_menu.other a {
    gap: 5px;
}

.icon1 {
    grid-area: icon1;
}

.icon2 {
    grid-area: icon2;
}

.icon3 {
    grid-area: icon3;
}

.icon4 {
    grid-area: icon4;
}

.icon5 {
    grid-area: icon5;
}

.icon6 {
    grid-area: icon6;
}

.icon7 {
    grid-area: icon7;
}

.icon8 {
    grid-area: icon8;
}

.main-navbtn_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color_sax);
    overflow: hidden;
}

@media (min-width: 768px) {
    .main-navbtn_icon {
        width: 60px;
        height: 60px;
    }
}

.main-navbtn_icon img {
    object-fit: cover;
    object-position: center;
    display: block;
    width: 100%;
    height: 100%;
}

.main-navbtn_txt {
    font-size: 14px;
    font-weight: 700;
    color: var(--color_sub);
    text-align: center;
}

@media (min-width: 768px) {
    .main-navbtn_txt {
        font-size: 18px;
    }
}

.main-navbtn_menu.other .main-navbtn_txt {
    line-height: 1.1;
}

.main-navbtn_txt::after {
    display: block;
    content: "";
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
    border-bottom: 2px solid var(--color_sub);
    border-right: 2px solid var(--color_sub);
    margin: 5px auto 10px;
}

.main-navbtn_menu.other .main-navbtn_txt::after {
    margin: 3px auto 10px;
}

/* 教室からのメッセージ */
.main-message {
    display: flex;
    flex-direction: column-reverse;
}

.main-message_content img {
    width: min(100%, 600px);
    height: auto;
}

.main-ttl_h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color_sub);
    position: relative;
    text-align: center;
    margin: 20px 20px 50px 20px;
}

.main-ttl_h2::before,
.main-ttl_h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    position: absolute;
}

.main-ttl_h2::before {
    background-color: var(--color_main);
    left: calc(50% - 40px);
    bottom: -20px;
}

.main-ttl_h2::after {
    background-color: var(--color_accent);
    right: calc(50% - 40px);
    bottom: -20px;
}

.main-message_ttl {
    background-color: var(--color_sub);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 30px;
    gap: 5px;
}

.main-ttl_h3 {
    color: var(--color_accent);
    font-size: 1.5rem;
    font-weight: 700;
    grid-area: message_main;
}

.main-message_txt {
    background-color: #fff;
    margin: 20px 20px 50px;
    padding: 15px;
}

.main-message_img {
    width: 100%;
}

.main-message_img > img {
        width: 100%;
}

.main-message_content {
    background-color: #fff;
    padding: 20px 35px 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.main-ttl_h3_txt {
    color: #fff;
    grid-area: message_txt;
}

.main-ttl_h3_icon {
    width: 50px;
    grid-area: message_icon;
}

@media (min-width: 768px) {
    .main-message {
        width: var(--pc-width);
        flex-direction: row-reverse;
        align-items: flex-start;
        margin: 50px auto 70px;
        gap: 40px;
    }

    .main-message_wrap {
        flex: 3;
        min-width: 0;
    }

    .main-ttl_h2 {
        font-size: 2.625rem;
    }

    .main-message_wrap > .main-ttl_h2 {
        margin: 0 20px 60px 20px;
    }

    .main-ttl_h2::before,
    .main-ttl_h2::after {
        bottom: -30px;
    }

    .main-message_img {
        flex: 2;
        min-width: 0;
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }
    
    .main-message_txt {
        margin: 0;
        padding: 15px;
    }

    .main-message_img > img {
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .main-message_ttl {
        display: grid;
        grid-template: "message_icon  message_txt" auto 
                       "message_icon  message_main" auto 
                        /auto         auto ;
        place-content: center;
        padding: 60px 0;
        gap: 0 20px;
    }

    .main-ttl_h3 {
        font-size: 2.625rem;
    }

    .main-ttl_h3_txt {
        font-size: 1.25rem;
    }

    .main-ttl_h3_icon {
        width: 70px;
    }    

    .main-message_content {
        width: var(--pc-width);
        margin: 0 auto;
        padding: 50px 35px 80px;
        gap: 40px;
    }
}

.main-message_pict {
    width: 100%;
    object-fit: cover;
}

.main-message_pict img {
    width: 100%;
    object-fit: cover;
}

.main-message_picts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.main-message_pict-notice {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

@media (min-width: 768px) {
    .main-message_picts {
        width: min(900px, calc(100% - 30px));
        display: grid;
        grid-template: "graph01  graph02"
                       "graph03  graph03"
                        /1fr      1fr;
        gap: clamp(1.25rem, -0.288rem + 3.205vw, 1.875rem);;
    }

    .graph_01 {
        grid-area: graph01;
    }

    .graph_02 {
        grid-area: graph02;
    }

    .graph_03 {
        grid-area: graph03;
    }
}

/* 受講者の声 */
.main-message_voice {
    background-color: var(--color_sub);
}

.swiper-slide_voice,
.swiper-slide_course,
.swiper-slide_blog {
    background-color: #fff;
    width: 75%;
    height: 100%;
    border-radius: 5px;
}

.swiper-slide_voice a,
.swiper-slide_course a,
.swiper-slide_blog a {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.swiper-slide_voice-ttl,
.swiper-slide_blog-ttl {
    color: var(--color_sub);
    font-size: 1.125rem;
    font-weight: 700;
    order: 2;
}

.swiper-slide_voice-img {
    width: 70%;
    order: 1;
}

.swiper-slide_voice-name {
    font-size: 15px;
    order: 3;
}

.swiper-slide_voice-txt,
.swiper-slide_blog-txt {
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    order: 4;
}

.swiper-slide_voice-more,
.swiper-slide_blog-more {
    font-size: 14px;
    color: #adadad;
    text-align: right;
    width: 100%;
    margin-top: auto;
    order: 5;
}

@media (min-width: 768px) {
    .swiper-slide_voice {
        width: 40%;
    }

    .swiper-slide_blog {
        width: calc((100% - 48px) / 3);
    }

    .swiper-slide_course {
        width: calc((100% - 72px) / 4);
    }

.swiper-slide_voice-ttl,
.swiper-slide_blog-ttl {
        font-size: 1.25rem;
    }
}

/* おすすめ・人気の講座 */
.main-other_ttl,
.main-purpose_ttl {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 30px;
    gap: 5px;
}

.main-other_h3 {
    font-size: 1.5rem;
    font-weight: 700;
    grid-area: h3_main;
}

.main-other_sub {
    color: var(--color_sub);
    font-weight: 700;
}

.main-other_h3_txt {
    font-weight: 600;
    grid-area: h3_txt;
}

.main-other_h3_icon {
    width: 50px;
    grid-area: h3_icon;
}

@media (min-width: 768px) {
    .main-other_ttl {
        display: grid;
        grid-template: "h3_icon  h3_txt" auto 
                       "h3_icon  h3_main" auto 
                        /auto    auto ;
        place-content: center;
        padding: 90px 0 60px;
        gap: 0 20px;
    }

    .main-other_h3{
        font-size: 2.625rem;
        line-height: 1;
    }

    .main-other_h3_txt{
        font-size: 1.25rem;
    }

    .main-other_h3_icon {
        width: 70px;
    }
}

.main-course {
    display: grid;
    justify-items: center;
    grid-template: "course_ttl"
        "course_img"
        "course_txt"
        /1fr;
    background-color: #fff;
    gap: 20px;
    padding-bottom: 20px;
}

.main-course_ttl {
    width: 100%;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px 5px 0 0;
    grid-area: course_ttl;
}

.course-01 {
    background-color: #019938;
}

.course-02 {
    background-color: #F16B1E;
}

.course-03 {
    background-color: var(--color_sub);
}

.main-course_img {
    width: calc(100% - 30px);
    aspect-ratio: 4 / 2;
    overflow: hidden;
    grid-area: course_img;
}

.main-course_img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.swiper-slide_course-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    order: 1;
}

.swiper-slide_course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-course_content {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-area: course_txt;
}

.main-course_more a,
.main-purpose_more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: 100%;
    color: var(--color_sub);
    font-weight: 700;
    margin-top: auto;
}

.main-course_more a::after,
.main-purpose_more::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 12px solid var(--color_sub);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

@media (min-width: 768px) {
    .main-course_container {
        width: var(--pc-width);
    }

    .main-course{
        grid-template: "course_ttl  course_ttl"
                       "course_img  course_txt"
                        /1fr        1fr ;
        margin: 0 auto;
        gap: clamp(1.25rem, -1.827rem + 6.41vw, 2.5rem);
        place-content: center;
        padding-bottom: 40px;
        width: 100%;
    }

    .main-course_ttl {
        font-size: 1.75rem;
        padding: 15px 0;
        border-radius: 8px 8px 0 0;
   }

    .main-course_img {
        padding-left: 20px;
    }

    .main-course_content {
        gap: 20px;
        padding: 0 30px 0 0;
    }
}

/* 目的で探す */
.main-purpose_more {
    order: 5;
    font-size: 1rem;
}

.swiper-slide_purpose-txt {
    font-size: 1rem;
    line-height: 1.6;
    order: 4;
}

@media (min-width: 768px) {
    #purpose > .main-purpose_ttl {
        display: grid;
        grid-template: "h3_icon  h3_main" auto 
                        /auto    auto ;
        place-content: center;
        padding: 90px 0 60px;
        gap: 0 20px;
    }
}

/* 教室ブログ・インストラクター紹介 */
.main-blog {
    padding: 50px 0 0;
}

.main-blog_ttl,
.main-teacher_ttl {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

.main-blog_ttl > .main-ttl_h2 {
    margin: 0 20px 50px 20px;
}

.swiper-slide_blog-container,
.main-teacher_img-container {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}


.swiper-slide_blog-img,
.main-teacher_img {
    height: 100%;
    object-fit: cover;
    object-position: -3px -3px;
}

.main-teacher_img-container {
    grid-area: teacher_img;
}

.swiper-slide_blog-date {
    font-size: 1rem;
    text-align: left;
    width: 100%;
}

.main-teacher {
    padding: 20px;
}

.main-teacher_contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 0 0 10px;
    grid-area: teacher_txt;
}

.main-teacher_members {
    display: flex;
    flex-direction: column;
    gap: 15px;
    grid-area: teacher_members;
}

.main-teacher_member {
    background-color: #fff;
    padding: 15px;
    box-shadow: 2px 2px 2px 0 #ccc;
    border-radius: 5px;
}

.main-teacher_member-name {
    color: var(--color_sub);
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.main-teacher_member-name::before {
    content: "";
    display: block;
    width: 4px;
    height: 1.25rem;
    background-color: var(--color_sub);
}

.main-teacher_member-img {
    width: 100%;
    aspect-ratio: 1 /1;
    overflow: hidden;
    margin: 20px 0;
}

.main-teacher_member-img > img {
        height: 100%;
        object-fit: cover;
        display: block;
}

.main-teacher_member-disc {
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    /* flexではなくboxモデルを使う */
    -webkit-box-orient: vertical;
    /* 縦方向に揃える */
    -webkit-line-clamp: 3;
    /* 表示する行数を指定 */
    overflow: hidden;
    text-overflow: ellipsis;
    /* 末尾に「…」を表示 */
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 9999; /* 最前面に */
}

.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    padding: 60px 10px 40px 30px;
    position: relative;
    border-radius: 8px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 10px;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.main-teacher_member {
    cursor: pointer;
}

@media (min-width: 768px) {
    .main-blog {
        padding: 90px 0 0;
    }

    .main-blog_ttl {
        margin-bottom: 40px;
    }

    .main-blog_ttl > .main-ttl_h2 {
        margin: 0 20px 10px 20px;
    }

    .main-teacher {
        margin: 0 30px;
        padding: 90px 40px 40px 40px;
    }

    .main-teacher_ttl > .main-ttl_h2 {
        margin: 0 20px 70px 20px;
    }

    .main-teacher_contents {
        display: grid;
        width: var(--pc-width);
        margin: 0 auto;
        grid-template: "teacher_img      teacher_txt"
                       "teacher_members  teacher_members"
                        /45%             45% ;
        gap: 40px;
    }

    .main-teacher_members {
        flex-direction: row;
        /* flex-wrap: wrap; */
    }

    .main-teacher_member {
        width: calc((100% - 30px) / 3);
    }

    .main-teacher_member-img {
        width: 80%;
        margin: 20px auto;
    }

    .modal-content {
        padding: 60px 30px 40px 40px;
    }
}

/* アクセス・近くの教室 */
.main-access,
.main-neighbor {
    margin-top: 50px;
    padding: 20px;
}

.main-access_wrap {
    padding: 20px 35px 50px;
}

.main-access_map {
    width: 100%;
    height: 300px;
}

.main-access_map iframe {
    width: 100%;
    height: 100%;
}

.main-access_term {
    font-weight: 700;
    color: var(--color_sub);
    margin-bottom: 5px;
}

.main-access_disc {
    padding-bottom: 15px;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}

.main-neighbor_wrap {
    padding: 20px;
}

/*.main-neighbor_term {
    color: var(--color_sub);
    padding: 0 0 15px 0;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}*/
.main-neighbor_term li {
    padding: 0 0 15px 0;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
}
.main-neighbor_term li a {
    color: var(--color_sub);
}

@media (min-width: 768px) {
    .main-access_container {
        display: flex;
        width: min(var(--pc-width), 100%);
        margin: 0 auto;
        padding: 0 20px 90px;
        gap: 40px;
    }

    .main-access_map {
        height: auto;
        flex: 1;
    }

    .main-access_wrap {
        padding: 0;
        flex: 1;
    }
}

/* 開講時間・行き方 */
.main-time_wrap {
    padding: 50px 0 0;
}

.main-time_table {
    width: calc(100% - 40px);
    margin: 0 auto;
}

.main-time_table th {
    background-color: var(--color_sub);
    color: #fff;
    font-weight: 500;
    padding: 3px 0;
}

.main-time_table-week {
    width: 10%;
}

.main-time_table td {
    text-align: center;
    padding: 3px 0;
    background-color: var(--color_sax);
    color: var(--color_sub);
}

.main-time_table-time {
    font-weight: 700;
}

.main-time_txt {
    margin: 20px;
}

.main-ttl_h2-blk {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    text-align: center;
    margin: 0 20px 50px 20px;
}

.main-ttl_h2-blk::before,
.main-ttl_h2-blk::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    position: absolute;
}

.main-ttl_h2-blk::before {
    background-color: var(--color_main);
    left: calc(50% - 40px);
    bottom: -20px;
}

.main-ttl_h2-blk::after {
    background-color: var(--color_accent);
    right: calc(50% - 40px);
    bottom: -20px;
}

.main-root_wrap {
    padding: 50px 0;
}

.main-root_lists {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-root_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-root_list:not(:last-child)::after,
.about-flow_list:not(:last-child)::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-right: 20px solid transparent;
    border-top: 10px solid #81C6FA;
    border-left: 20px solid transparent;
    margin: 20px auto 10px;
}

.about-flow_list:not(:last-child)::after {
    margin: 20px auto;
}

.main-root_img {
    width: 100%;
}

@media (min-width: 768px) {
    .main-neighbor {
        margin-top: 90px;
        padding: 0 40px;  
    }
    .main-time_wrap {
        padding: 80px 0 0;
    }

    .main-time_table {
        width: 600px;
        font-size: 18px;
    }

    .main-time_table th,
    .main-time_table td {
        padding: 10px 0;
    }
    .main-time_txt {
        width: 600px;
        margin: 10px auto 0;
    }

    .main-ttl_h2-blk {
        font-size: 2.625rem;
    }

    .main-ttl_h2-blk::before,
    .main-ttl_h2-blk::after {
        bottom: -40px;
    }

    .main-neighbor_wrap {
        width: 700px;
        margin: 0 auto;
    }

    .main-neighbor_term {
        padding: 0 30px 20px;
        font-size: 1.125rem;
        font-weight: 600;
    }

    .main-root_wrap {
        padding: 90px 0;
    }

    .main-root_lists {
        width: 540px;
        margin: 0 auto;
        padding: 20px 40px 0;
        gap: 40px;
    }

    .main-root_list:not(:last-child)::after {
        border-right: 30px solid transparent;
        border-top: 15px solid #81C6FA;
        border-left: 30px solid transparent;
    }
}

/* footer CTA */
.footer-cta {
    background-image: url(../../images/common/bg_footer.png);
    background-size: cover;
    padding: 50px 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.footer-cta_name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.footer-cta-area {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-cta_txt {
    color: #fff;
    text-align: center;
}

.footer-cta_notice {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-top: -10px;
}

.footer-cta_tel {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 0 #999;
    font-weight: 600;
}

@media (min-width: 768px) {
    .footer-cta_name {
        font-size: 2.25rem;
    }

    .footer-cta-area {
        gap: 20px;
    }

    .footer-cta_txt {
        font-size: 1.125rem;
    }
}

/* footer ナビ */
.footer-nav {
    background-color: var(--color_sax);
    font-size: 20px;
}

.footer-nav_list a {
    color: var(--color_sub);
    font-weight: 700;
}

:root {
    --menu-border-color: #b3e0ff; /* 区切り線の色 */
}

/* -------------------------------------- */
/* 1. 基本リストと共通スタイルの設定 */
/* -------------------------------------- */
.footer-nav_lists {
    border-top: 1px solid var(--menu-border-color);
}

.footer-nav_list > a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid var(--menu-border-color); 
    cursor: pointer;
}

/* -------------------------------------- */
/* 2. ネストされたリスト（子リスト）の設定 */
/* -------------------------------------- */
/* 初期状態：子リストは非表示（CSSアニメーションでふわっと見せるためにheight: 0;を使用） */
.footer-nav_lists-cld {
    list-style: none;
    padding: 0;
    margin: 0;
    /* アコーディオン実装のために重要な設定 */
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease-in-out;
}

.footer-nav_list-cld a {
    display: block;
    padding: 15px 40px;
    font-size: 0.9em;
    background-color: #fff;
    border-bottom: 1px dotted #ccc;
    text-decoration: none;
    color: #555;
}

.footer-nav_list-cld a::before {
    content: "- ";
}

/* -------------------------------------- */
/* 3. アイコン（> と +）のスタイル設定 */
/* -------------------------------------- */
.footer-nav_list:not(:has(.footer-nav_lists-cld)) > a::after {
    content: ''; 
    position: absolute;
    right: 27px;
    top: calc(50% - 5px);
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color_sub);
    border-right: 2px solid var(--color_sub);
    transform: rotate(45deg);
    font-size: 0.8rem;
    color: var(--menu-icon-color);
}

.footer-nav_list:has(.footer-nav_lists-cld) > a::before {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 15px;
    height: 2px;
    background-color: var(--color_sub);
    transform: translateY(-50%);
    transition: transform 0.3s ease-in-out;
}

.footer-nav_list:has(.footer-nav_lists-cld) > a::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 15px;
    height: 2px;
    background-color: var(--color_sub);
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease-in-out;
}


/* -------------------------------------- */
/* 4. アコーディオン（JavaScriptで操作する部分） */
/* -------------------------------------- */
.footer-nav_list.is-open > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.footer-nav_list.is-open > a::after {
    transform: translateY(-50%) rotate(0deg); 
}

/* footer copylight */
.footer-copyright {
    background-image: var(--color_gradation);
    padding: 20px 35px 70px;
    font-size: 14px;
}

.footer-copyright_lists {
    display: flex;
    column-gap: 7px;
    row-gap: 3px;
    flex-wrap: wrap;
}

.footer-copyright_list:not(:last-child)::after {
    content: "｜";
    color: #fff;
    padding-left: 4px;
}

.footer-copyright a {
    color: #fff;
}

.footer-copyright_copy {
    display: block;
    color: #fff;
    font-size: 11px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .footer-nav_lists {
        display: grid;
        grid-template:  "f-top  f-about  f-course"  
                        "f-top  f-about  f-voice"    
                        "f-top  f-about  f-blog"     
                        "f-top  f-about  f-teacher" auto 
                        /1fr    1fr      1fr;
        gap: 40px 60px;
        border-top: none;
        width: min(100%, var(--pc-width));
        margin: 0 auto;
        padding: 0 50px;
    }

    .footer-nav_list {
        width: auto;
        position: relative;
    }

    .footer-nav_list::before {
        content: "";
        width: 0;
        height: 0;
        border-left: 12px solid var(--color_sub);
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        position: absolute;
        top: calc(1rem / 2 - 2px);
        left: 5px;

    }

    .footer-nav_list:nth-child(1) {
        grid-area: f-top;
    }

    .footer-nav_list:nth-child(2) {
        grid-area: f-about;
    }

    .footer-nav_list:nth-child(3) {
        grid-area: f-course;
    }

    .footer-nav_list:nth-child(4) {
        grid-area: f-voice;
    }

    .footer-nav_list:nth-child(5) {
        grid-area: f-blog;
    }

    .footer-nav_list:nth-child(6) {
        grid-area: f-teacher;
    }

    .footer-nav_list > a {
        font-size: 18px;
        font-weight: 700;
        padding: 0 0 5px 25px;
        display: block;
        border-bottom: 1px solid var(--color_sub); 
        margin-bottom: 5px;
    }

    .footer-nav_list:has(.footer-nav_lists-cld) > a::before,
    .footer-nav_list:has(.footer-nav_lists-cld) > a::after,
    .footer-nav_list:not(:has(.footer-nav_lists-cld)) > a::after {
        content: none;
        display: none;
    }

    .footer-nav_lists-cld {
        /* JSのインラインスタイル（height:0）を強制上書きして表示 */
        height: auto !important; 
        overflow: visible !important;
        display: block !important;
        transition: none;
        opacity: 1;
    }

    .footer-nav_list-cld a {
        padding: 6px 0 6px 10px;
        background-color: transparent;
        border-bottom: none;
        font-size: 1rem;
        color: #555;
    }

    .footer-nav_list-cld a:hover {
        text-decoration: underline;
        color: var(--color_sub);
    }

    .footer-copyright_lists {
        justify-content: center;
    }

    .footer-copyright_copy {
        text-align: center;
    }
    .footer-copyright {
        padding: 20px 35px 90px;
    }
}

/* 初めての方へ／ココがおすすめ！ */
.about-recommendation {
    padding: 0 20px 50px;
}

.about-recommendation_posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-recommendation_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-recommendation_ttl {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color_sub);
    margin-top: 10px;
    order: 2;
    grid-area: rec_ttl;
}

.about-recommendation_desc {
    color: var(--color_sub);
    order: 3;
    grid-area: rec_desc;
}

.about-recommendation_img {
    width: 80px;
    height: auto;
    order: 1;
    grid-area: rec_img;
}

.about-recommendation_txt {
    background-color: #fff;
    margin: 20px 0;
    padding: 15px;
}

@media (min-width: 768px) {
    .about-recommendation_posts {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 40px;
        width: var(--pc-width);
        margin: 50px auto 30px auto;
    }

    .about-recommendation_post {
        width: calc((100% / 2) - 20px);
        display: flex;
        flex-direction: column;
    }

    .about-recommendation_wrap {
        display: grid;
        grid-template: "rec_img   rec_ttl"
                       "rec_img   rec_desc"
                       /80px      auto; 
        justify-content: flex-start;
        align-items: flex-end;
        column-gap: 15px;
    }

    .about-recommendation_ttl {
        font-size: 1.875rem;
    }

    .about-recommendation_desc {
        font-size: 1.25rem;
    }

    .about-recommendation_txt {
        flex-grow: 1;
    }
}

/* 初めての方へ／お申し込みの流れ */
.about-flow_contaner {
    padding: 0 20px;
}

.about-flow_ttl {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 10px;
    background-color: var(--color_sub);
}

.about-flow_wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: var(--color_sax);
}

.about-flow_txt-wrap > .main-purpose_more {
    margin-top: 15px;
}

@media (min-width: 768px) {
    .about-flow_contaner {
        width: var(--pc-width);
        margin: 0 auto;
    }

    .about-flow_lists {
        margin-top: 50px;
    }

    .about-flow_wrap {
        display: flex;
        flex-direction: row;
        padding: 30px;
    }

    .about-flow_ttl {
        padding: 20px 15px;
        border-radius: 10px 10px 0 0;
    }

    .about-flow_img {
        flex: 1;
    }

    .about-flow_txt-wrap {
        flex: 2;
    }

    .about-flow_txt-wrap > .main-purpose_more {
        margin-top: 30px;
        font-size: 1.25rem;
    }

    .about-flow_txt-wrap > .main-purpose_more a:hover {
        text-decoration: underline;
    }
}

/* 初めての方へ／よくある質問 */
.about-faq_container {
    margin: 20px;
}

.about-faq_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-faq_item {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.about-faq_q {
    list-style: none;
    cursor: pointer;
    padding: 15px 40px 15px 15px;
    font-weight: 700;
    position: relative;
    display: block;
}
.about-faq_q::-webkit-details-marker {
  display: none; /* Safari用の矢印消し */
}

.about-faq_q::after {
    content: '＋';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: var(--color_sub);
    font-size: 1.2rem;
}

.about-faq_item[open] {
    display: block;
}

.about-faq_item[open] .about-faq_q::after {
    transform: translateY(-50%) rotate(45deg);
}

.about-faq_a {
    display: block;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    padding: 0 15px;
    content-visibility: auto;
}

.about-faq_item[open] .about-faq_a {
    background-color: #f3f3f3;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 15px 15px;
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.about-faq_item[open] .about-faq_a::before {
    content: "→ ";
}

@media (min-width: 768px) {
    .about-faq_container {
        margin: 0 auto 90px;
    }
}



mark {
    background: linear-gradient(transparent 50%, #fbff20 50%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.8s ease-out;
    color: var(--color_sub);
    font-weight: 700;
}

mark.is-active {
    background-size: 100% 100%;
}

/* ふわっと表示させるやつ／表示前の状態 */
.js-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.js-fade.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* 初めての方へ／料金 */
.about-price_container {
    width: min(100%, 800px);
    margin: 0 auto;
}

.about-price_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    color: #333;
}

/* モバイル向け（デフォルト）: カード風レイアウト */
@media screen and (max-width: 640px) {
    .about-price_table, 
    .about-price_table tbody, 
    .about-price_table-tr, 
    .about-price_table-ttl,
    .about-price_table-cont {
        display: block;
        width: 100%;
    }

    .about-price_table-tr {
        border: 1px solid #e0e6ed;
        border-radius: 8px;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .about-price_table-ttl {
        background-color: #f0f4f8;
        color: #2c3e50;
        font-weight: bold;
        padding: 10px 15px !important;
        border-bottom: 1px solid #e0e6ed;
    }

    .about-price_table td:not(.about-price_table-ttl) {
        padding: 15px !important;
        background: #fff;
    }
}

/* デスクトップ向け: テーブル形式 */
@media screen and (min-width: 641px) {
    .about-price_table {
        border: 2px solid #e0e6ed;
        border-radius: 12px;
        overflow: hidden;
    }

    .about-price_table-ttl {
        width: 25%;
        background-color: var(--color_sub);
        border-right: 1px solid #e0e6ed;
        font-weight: 600;
        color: #fff;
        text-align: center;
    }

    .about-price_table-ttl {
        padding: 20px 25px;
        border-bottom: 1px solid #e0e6ed;
    }

    .about-price_table-cont {
        padding: 20px 25px;
        border-bottom: 1px solid #e0e6ed;
        background-color: #fff;
    }

    .about-price_table tr:last-child td {
        border-bottom: none;
    }
}

/* パーツ・装飾 */
.about-price_emp {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e63946;
    margin: 0 2px;
}

.about-price_notice {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.about-price_example {
    width: min(100%, 800px);
    margin: 40px auto;
    font-family: sans-serif;
}

.about-price_example-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color_sub);
    position: relative;
    padding-bottom: 10px;
}

.about-price_example-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--color_sub);
}

/* カード部分 */
.about-price_example-card {
    background: #fff;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-price_example-lead {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.about-price_tag {
    background: var(--color_sub);
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* リスト部分 */
.about-price_example-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    border-top: 1px dashed #cbd5e1;
}

.about-price_example-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 0.95rem;
}

.about-price_example-list li span:last-child {
    text-align: right;
    font-weight: 500;
}

.about-price_calc {
    background-color: #f8fafc;
    padding: 15px 10px !important;
    margin: 5px 0;
}

.about-price_total {
    background: #fff5f5;
    border-radius: 8px;
    padding: 20px;
    text-align: right;
    color: #e63946;
    margin-bottom: 15px;
}

.about-price_total-label {
    font-weight: bold;
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.about-price_total-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.about-price_total-tax {
    font-size: 0.9rem;
    font-weight: bold;
}

/* スマホ調整 */
@media screen and (max-width: 640px) {
    .about-price_example-card {
        padding: 20px 15px;
    }
    
    .about-price_example-lead {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-price_example-list li {
        flex-direction: column;
        gap: 5px;
    }

    .about-price_example-list li span:last-child {
        text-align: left;
        padding-left: 10px;
        border-left: 3px solid #e0e6ed;
    }
}

