@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.3s;
}

img {
    vertical-align: bottom;
}

p {
    line-height: 1.75;
}

li a:hover {
    opacity: 0.7;
}

: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;
}
.fc-r {
    color: #ff0000;
}

.fw-b {
    font-weight: bold;
}

.font13 {
    font-size: 13.5px;
}

.font14 {
    font-size: 14px;
}

.font15 {
    font-size: 15px;
}

.fs-120 {
    font-size: 120%;
}

.fs-80 {
    font-size: 80%;
}

.ta-c {
    text-align: center;
}

.sub {
    color: var(--color_sub);
}

.container {
    margin: 20px 0;
    background: #ccc;
}

.wrap {
    padding: 20px;
}

.wrap_50-20 {
    padding: 50px 20px;
}

.wrap_0-0-50 {
    padding: 0 0 50px;
}

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

@media (min-width: 768px) {
    .dep {
        gap: 40px;
        margin: 0 auto;
    }
}

/* スクロール時の余白をヘッダーの高さ分だけ確保 */
@media (min-width: 768px) {
    :target {
        scroll-margin-top: 139px; 
    }
}

/* スマホの時だけ改行 */
/*.sp-only {
    display: inline;
}*/

@media screen and (min-width: 768px) {
    .sp-only {
        display: none;
    }
}

/* マーカーを引くやつ */
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);
}

.pd_0-20 {
    padding: 0 20px;
}

.pd_20-0 {
    padding: 10px 0;
}

.pd_50-0 {
    padding: 50px 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;
}

.section_btn:hover {
    transition: all 0.3s;
    transform: translateY(2px);
    box-shadow: 0 0 0 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:hover {
    transition: all 0.3s;
    transform: translateY(3px);
    box-shadow: 0 0 0 0 #666;
}

.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: 960px) {
    .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: -100vw;
    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;
}
.header-cta__only-sp{
	width: fit-content;
    margin: auto;
}

@media (min-width: 960px){
	.header-cta__only-sp{
		display: none!important;
	}
}

/* アコーディオンのアイコン (+/-) の設定 */
/* 子リストを持つ項目のみにアイコンを表示 */
#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 (max-width: 1120px) {
    #global-nav .nav_list.none {
        display: none;
    }
}

@media screen and (min-width: 960px) {
    #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; 
    }
    
    /* 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;
    display: flex;
    align-items: center;
}

.header-cta:hover {
    transition: all 0.3s;
    transform: translateY(2px);
    box-shadow: 0 0 0 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: 960px) {
    .header-cta {
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 30px;
        margin-right: -5px;
    }

    .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: 10px;
}

.header-ttl_h1{
    display: flex;
    gap: 2px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-ttl_text {
    font-size: 11px;
    font-weight: bold;
    display: block;
    color: #fff;
    line-height: 1.6em;
}

.header-ttl_name {
    font-size: 20px;
    display: block;
    font-weight: 700;
    color: #fff;
}

.header-ttl_phone {
    margin-top: 7px;
    display: inherit;
    font-size: 14px;
}

.header-ttl_phone a {
    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;
    }

    .header-ttl_name {
        font-size: 22px;
        display: inline-block;
        font-weight: 700;
    }

    .header-ttl_phone {
        margin-top: 0;
        margin-left: auto;
        font-size: 18px;
    }

    .header-ttl_phone a:hover {
        text-decoration: underline;
    }
}

.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: 10px 18px 8px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px 0 rgba(124, 124, 124, 0.6);
}

.btn_bottom_cta .badge-text {
    position: absolute;
    top: -12px;
    left: 10px;
    background: #ff7a00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.btn_bottom_cta .badge-text::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ff7a00;
}

.btn_bottom_cta .main-text {
    color: var(--color_accent);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn_bottom_cta span {
    color: var(--color_accent);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.btn_bottom_cta:hover {
    transition: all 0.3s;
    transform: translateY(2px);
    box-shadow: 0 0 0 0 rgba(124, 124, 124, 0.6);
}

.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: 64px;
    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:hover {
    transition: all 0.3s;
    transform: translateY(2px);
    box-shadow: 0 0 0 0 rgba(124, 124, 124, 0.6);
}

.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: 20px;
        padding: 12px 22px 12px 15px;
        border: 4px solid #fff;
    }

    .btn_bottom_cta span {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 4px;
    }

    .btn_top {
        bottom: 100px;
        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));
    white-space: wrap;
}

.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;
}

.breadcrumb-item_h1 {
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .breadcrumb {
        padding: 10px 15px;
        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 20px;
    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: 20px;
        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;
    }
}

/* main カルーセル */
.main-banner {
    background-image: url(../../images/common/bg_fv.png);
    background-size: cover;
    border-bottom: 4px solid var(--color_main);
    padding-top: 20px;
}

.main-banner_wrap {
    display: flex;
    flex-direction: column;
    width: var(--pc-width);
    margin: 0 auto;
}

.main-banner_recommend a {
    text-decoration: underline;
}

.main-banner_recommend-txt {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 3px;
}

@media (min-width: 768px) {
    .main-banner_wrap {
        flex-direction: row;
        gap: 20px;
        margin: 0 auto 20px;
    } 

    .main-banner_recommend {
        flex:4
    }
}

/* --- 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;
        flex: 3;
    }
}

/* --- スライドのスタイル --- */
.swiper-slide,
.swiper-slide_voice {
    width: 80%;
    height: auto;
    display: flex;
    align-items: stretch; 
    font-size: 1.5rem;
    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%; ※ 左の固定バナーを解除するときはこちらに変更 */
        width: 100%;
    }

    .swiper-slide_voice {
        box-shadow: 3px 3px 2px #ccc;
    }

    .swiper-slide a:hover,
    .swiper-slide_voice a:hover {
        opacity:0.7;
    }
    
}

/* --- アクティブな（真ん中の）スライド --- */
.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: 50px;
        height: 7px;
        margin: 0 6px !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 a:hover {
    opacity: 0.7;
}

.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 img {
    width: 100%;
}

.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;
    width: fit-content;
    margin: 20px auto 50px;
}

.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-ttl_name{
	color: var(--color_sub);
    font-size: 1.25rem;
	line-height: 1.75;
	display: block;
	text-align: center;
}

.main-ttl_name-white{
	color: #fff;
    font-size: 1.25rem;
	line-height: 1.75;
	display: block;
	text-align: center;
}

.main-ttl_name-black{
	color: #000;
    font-size: 1.25rem;
	line-height: 1.75;
	display: block;
	text-align: center;
}

@media (min-width: 768px) {
	.main-ttl_name-white, .main-ttl_name-black{
		text-align: left;
	}
}

.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;
    line-height: 1.75;
}

.main-message_txt a {
    text-decoration: underline;
}

.main-message_txt a:hover {
    text-decoration: none;
}

.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_txt-blue{
	color: var(--color_sub);
	font-size: 16px;
}

.main-ttl_h3_icon {
    width: 50px;
    grid-area: message_icon;
}

/* 教室からのメッセージ装飾用 */
.main-message_bubbles {
    display: grid;
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 12px;
    margin: 0 0 14px;
}

.main-message_bubble {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 2px solid #7cb5e2;
    border-radius: 16px;
    padding: 12px 10px;
    color: #1f2a44;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 4px 10px rgba(13, 95, 168, 0.08);
}

.main-message_bubble::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 12px solid #7cb5e2;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}

.main-message_bubble::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 10px solid #ffffff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    z-index: 1;
    pointer-events: none;
}

@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 auto 60px;
    }

    .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_img .slider_info li {
        padding-bottom: 40px;
    }

    .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, .main-ttl_h3_txt-blue {
        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;
        max-width: 970px;
    }

    .main-message_bubbles {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .main-message_bubble {
        font-size: 17px;
    }
}

.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;
    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: 20px 0;
    }

    .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_course,
.swiper-slide_blog {
    height: auto;
}

.swiper-slide_course > a,
.swiper-slide_blog > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    box-sizing: border-box;
}

.main-purpose_more,
.swiper-slide_blog-more {
    margin-top: auto;
}

.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,
.swiper-slide_course-ttl {
    color: var(--color_sub);
    font-size: 1.125rem;
    font-weight: 700;
    order: 2;
}

.swiper-slide_voice-ttl,
.swiper-slide_blog-ttl {
    line-height: 1.4;
    min-height: 2.8em;
}

.swiper-slide_blog-ttl {
    min-height: 4.5em;
}

.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;
    font-size: 1rem;
    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;
    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-course_more a {
        text-decoration: none;
    }

    .main-course_more a:hover {
        opacity:0.7;
    }
}

/* 目的で探す */
.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 {
    position: relative;
    padding-top: 75%;
}

@supports (aspect-ratio: 4 / 3) {
    .swiper-slide_blog-container {
        aspect-ratio: 4 / 3;
        overflow: hidden;
        padding-top: 0;
    }
}

.swiper-slide_blog-container img {
    width: 100%;
    height: 100%;
    display: block;
}

.swiper-slide_blog-img,
.main-teacher_img {
    height: 93.5%;
    object-fit: cover;
    /*object-position: -3px -3px;*/
}

.main-teacher_img-container {
    aspect-ratio: 3 / 2;
    overflow: scroll;
    /*grid-area: teacher_img;*/
    text-align: center;
}

@media (min-width: 768px) {
    .main-teacher_img-container {
        aspect-ratio: 8 / 3;
    }
}

.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: 30px;
    }

    .main-teacher_txt {
        order: 2;
        padding: 0;
        max-width: 900px;
        margin: 10px auto;
    }

    .main-teacher_img-container {
        order: 1;
    }

    .main-teacher_members {
        flex-direction: row;
        flex-wrap: wrap;
        order: 3;
        max-width: 1000px;
        margin: 0 auto;
    }

    .main-teacher_member {
        width: calc((100% - 15px) / 2);
    }

    .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-access_disc a {
    text-decoration: underline;
}
.main-access_disc a:hover {
    text-decoration: none;
}

.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:last-child {
    margin-bottom: 0;
}

.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 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-root_lists:last-child {
    padding-bottom: 0;
}

.main-root_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.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%;
}

.main-root_h3 {
    text-align: center;
    padding-bottom: 15px;
}

@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-neighbor_term li a:hover {
        opacity: 0.7;
    }

    .main-root_wrap {
        padding: 90px 0;
    }

    .main-root_lists {
        width: 540px;
        margin: 0 auto;
        padding: 20px 40px 60px;
        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;
    align-items: center;
    gap: 10px;
}

.footer-cta_txt {
    color: #fff;
    text-align: center;
    font-size: 0.9375rem;
}

.footer-cta_notice {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
}

.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-area .cta-area_btn {
        border: 5px solid #fff;
        gap: 25px;
        max-width: 480px;
    }

    .footer-cta-area .cta-area_btn::after {
        border-left: 50px solid #fff;
        border-top: 30px solid transparent;
        border-bottom: 30px solid transparent;
    }

    .footer-cta_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        padding: 3px 20px 8px;
        margin-top: 20px;
    }

    .footer-cta_txt {
        font-size: 1.125rem;
    }

    .footer-cta_notice {
        margin-top: 3px;
    }

    .footer-cta_tel:hover {
        opacity:0.7;
    }
}

/* 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 a:hover {
    text-decoration: underline;
}

.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 > a:hover {
        opacity:0.7;
    }

    .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;
    }
}

/* 初めての方へ／料金 */
.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;
    }
}

/* 講座詳細ページ */
.section-lv2.clearfix {
    margin: 20px;
}

.section-lv2.clearfix h2.c-title2 {
    background-color: var(--color_sub);
    padding: 15px;
    line-height: 1.5;
    color: #fff;
    margin: 20px 0;
}

.section-lv2.clearfix .c-title3 {
    color: var(--color_sub);
    border-top: 1px dotted var(--color_sub) ;
    border-bottom: 1px dotted var(--color_sub) ;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 15px;
}

.section-lv2.clearfix h4 {
    font-weight: 600;
    padding-bottom: 5px;
}

.section-lv2.clearfix .coursebox3 {
    gap: 10px;
}

.section-lv2.clearfix .coursebox3 h4{
    color: #fff;
    padding: 10px;

}

.section-lv2.clearfix #item-list4 {
    gap: 15px;
}

.section-lv2 .section2 {
    margin-bottom: 60px;
}

@media screen and (min-width: 768px) {
    .section-lv2.clearfix {
        margin: 30px auto;
        width: var(--pc-width);
    }

    .section-lv2.clearfix h2.c-title2 {
        padding: 20px;
        font-size: 1.5rem;
        margin: 30px 0;
    }

    .section-lv2.clearfix .c-title3 {
        padding: 15px 30px;
        margin-bottom: 25px;
        font-size: 1.25rem;
        text-align: left;
    }

    .section-lv2.clearfix .mainimg2 p {
        margin: 0;
    }

    .section2.clearfix ul {
        /*width: min(900px, calc(100% - 40px));*/
        margin: 0 auto;
        padding-left: 10px;
    }

    .section2.clearfix .c_img {
        text-align: center;
    }

    .section-lv2.clearfix ul.coursebox3 {
        gap: 0;
        width: 100%;
    }

    .section-lv2.clearfix .coursebox3 {
        gap: 0;
    }

    .section-lv2.clearfix ul.coursebox3 h4{
        padding: 15px;
    }

    .section-lv2.clearfix .u-mb20 {
        margin-bottom: 20px;
    }
}

/* ----------------------------
　　受講生の声
 ---------------------------- */

.voice-ttl_h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color_sub);
    position: relative;
    text-align: center;
    margin: 20px 20px 50px 20px;
}
.voice-ttl_h1 span {
    font-size: 1rem;
    font-weight: 700;
}
.voice-ttl_h1::before, .voice-ttl_h1::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    position: absolute;
}
.voice-ttl_h1::before {
    background-color: var(--color_main);
    left: calc(50% - 40px);
    bottom: -20px;
}
.voice-ttl_h1::after {
    background-color: var(--color_accent);
    right: calc(50% - 40px);
    bottom: -20px;
}
.voice-lead {
	width: min(var(--pc-width), 86%);
	margin: 0 auto 30px;
}
.voice-container{
    width: min(var(--pc-width), 86%);
    margin: 0 auto 50px;
	padding:30px 20px 20px;
	border: 3px solid var(--color_sub);
}
.voice-cont-img{
	width: 224px;
	margin: 0 auto 30px;
}
.voice-cont-wrap_h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color_sub);
    margin: 0 0 20px;
}
.voice-cont-wrap_dl dt {
    background-color: var(--color_sub);
	color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
	padding: 15px;
    margin: 0px 0px 10px;
}
.voice-cont-wrap_dl dd {
    margin: 0px 0px 30px;
}
.voice-cont-wrap_p {
    border-top: 2px solid var(--color_sub);
    padding-top: 20px;
}

@media (min-width: 768px) {
	.voice {
        width: var(--pc-width);
        flex-direction: row-reverse;
        align-items: flex-end;
        margin: 50px auto 70px;
        gap: 20px;
    }
	.voice-ttl_h1 {
		font-size: 2.625rem;
	}
	.voice-ttl_h1 span {
		font-size: 1.6rem;
	}

	.voice-lead { 
		font-size: 1.2rem;
		margin-bottom: 30px;
		text-align: center;
	}
	.voice-container{
		width: min(var(--pc-width), 100%);
		margin: 0 auto 50px;
		padding:50px 50px 40px;
		border: 3px solid var(--color_sub);
	}
	.voice-container-inner{
		display: flex;
		gap: 50px;
	}
	.voice-cont-img{
		width: 224px;
	}
	.voice-cont-wrap{
		width : calc(100% - 224px);
	}
	.voice-cont-wrap_h2 {
		font-size: 1.5rem;
		margin: 0px 20px 30px 0px;
	}
	.voice-cont-wrap_dl dt {
		margin: 20px 0px 10px;
	}
}

/* ----------------------------
　　インストラクター紹介
 ---------------------------- */

.instructor-ttl_h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color_sub);
    position: relative;
    text-align: center;
    margin: 20px 20px 50px 20px;
}
.instructor-ttl_h1 span {
    font-size: 1rem;
    font-weight: 700;
}
.instructor-ttl_h1::before, .instructor-ttl_h1::after {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	position: absolute;
}
.instructor-ttl_h1::before {
	background-color: var(--color_main);
	left: calc(50% - 40px);
	bottom: -20px;
}
.instructor-ttl_h1::after {
	background-color: var(--color_accent);
	right: calc(50% - 40px);
	bottom: -20px;
}
.instructor-lead { 
	width: min(var(--pc-width), 86%);
	margin: 0 auto 30px;
}
.instructor_img{
	display: block;
	width: 100%;
	margin: 0 auto 50px;
}
.instructor-ttl_h2 {
	font-size: 1.4rem;
	text-align: center;
	font-weight: 700;
	color: var(--color_sub);
	margin: 0px 20px 40px 0px;
}
.instructor-container-inner{
	width: min(var(--pc-width), 86%);
	margin: 0 auto 30px;	
}
.instructor-ttl_h3 {
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	padding: 8px 0 7px;
	color: var(--color_sub);
	margin: 0px 20px 10px 0px;
	border: 2px solid var(--color_sub);
}
.instructor-wrap{
	background: var(--color_sax);
}
.instructor-wrap_p {
	width: 80%;
	padding: 50px 0 40px;
	margin: 0 auto 50px;
}

@media (min-width: 768px) {
	.instructor {
		width: var(--pc-width);
		flex-direction: row-reverse;
		align-items: flex-end;
		margin: 50px auto 70px;
		gap: 20px;
	}
	.instructor-ttl_h1 {
		font-size: 2.625rem;
		line-height: 1.3;
		font-weight: 700;
		color: var(--color_sub);
		position: relative;
		text-align: center;
		margin: 20px 20px 50px 20px;
	}
	.instructor-ttl_h1 span {
		font-size: 1.6rem;
		font-weight: 700;
	}
	.instructor-lead { 
		font-size: 1.2rem;
		text-align: center;
	}
	.instructor_img{
		width: calc(100% / 1.25);
	}
	.instructor-ttl_h2 {
		font-size: 1.5rem;
	}
	.instructor-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 50px;
	}
	.instructor-container-inner{
		display: block;

	}
	.instructor-ttl_h3 {
		font-size: 1.5rem;
	}
	.instructor-wrap_p {
		width: 80%;
		padding: 50px 0 40px;
		margin: 0 auto 50px;
	}
}

/* ----------------------------
　　講座紹介 
 ---------------------------- */

:root {
	--shadow-black-30: rgba(0, 0, 0, 0.3);
}
.pc { display: none; }
.sp { display: block; }

@media (min-width: 768px){
	.pc { display: block; }
	.sp { display: none; }
}
.course-ttl_h1 {
    font-size: 1.5rem;
	line-height: 1.3;
    font-weight: 700;
    color: var(--color_sub);
    position: relative;
    text-align: center;
    margin: 20px 20px 50px 20px;
}
.course-ttl_h1 span {
    font-size: 1rem;
    font-weight: 700;
}
.course-ttl_h1::before, .course-ttl_h1::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    position: absolute;
}
.course-ttl_h1::before {
    background-color: var(--color_main);
    left: calc(50% - 40px);
    bottom: -20px;
}
.course-ttl_h1::after {
    background-color: var(--color_accent);
    right: calc(50% - 40px);
    bottom: -20px;
}
.course-mainimg{
	position: relative;
	margin-bottom: 60px;
}
.course-mainimg_img{
	width: 100%;
	display: block;
	margin: 0 auto;
}
.course-mainimg_lead{
	position: static;
	transform: none;
	margin: 16px 0 0; 
	padding: 0 6%;
	color: var(--color_sub);
	font-weight: 700;
	font-size: 1.4rem;
	line-height: 1.5;
	text-shadow: none;
}
.course-mainimg_p{
	margin: 12px 6% 0;
}
.course-objective_ttl,
.course-name_ttl,
.course-recommend_ttl {
	background-color: var(--color_sub);
    text-align: center;
    padding: 20px;
    gap: 5px;

}
.course-objective_ttl h2,
.course-name_ttl h2,
.course-recommend_ttl h2{
    color: var(--color_accent);
    font-size: 1.5rem;
    font-weight: 700;
    grid-area: message_main;
}
.course-objective_ttl h2 span,
.course-name_ttl h2 span,
.course-recommend_ttl h2 span{
    color: #fff;
}
.course-objective,
.course-name,
.course-recommend,
.course-works,
.course-lisence,
.course-first,
.course-tb-smp,
.course-net,
.course-hobby{
	padding: 0 0 60px;
}
.course-works_ttl,
.course-lisence_ttl,
.course-first_ttl,
.course-tb-smp_ttl,
.course-net_ttl,
.course-hobby_ttl{
	display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
	padding: 50px 0 0;
}
.course-works_ttl h2,
.course-lisence_ttl h2,
.course-first_ttl h2,
.course-tb-smp_ttl h2,
.course-net_ttl h2,
.course-hobby_ttl h2{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color_sub);
    position: relative;
    text-align: center;
    margin: 20px 20px 50px 20px;
}
.course-works_ttl h2:before,
.course-lisence_ttl h2:before,
.course-first_ttl h2:before,
.course-tb-smp_ttl h2:before,
.course-net_ttl h2:before,
.course-hobby_ttl h2:before {
	content: "";
    display: block;
    width: 40px;
    height: 4px;
    position: absolute;
    background-color: var(--color_main);
    left: calc(50% - 40px);
    bottom: -20px;
}
.course-works_ttl h2::after,
.course-lisence_ttl h2::after,
.course-first_ttl h2::after,
.course-tb-smp_ttl h2::after,
.course-net_ttl h2::after,
.course-hobby_ttl h2::after {
	content: "";
    display: block;
    width: 40px;
    height: 4px;
    position: absolute;
    background-color: var(--color_accent);
    right: calc(50% - 40px);
    bottom: -20px;
}
.course-objective_content,
.course-name_content,
.course-recommend_content,
.course-works_content,
.course-lisence_content,
.course-first_content,
.course-tb-smp_content,
.course-net_content,
.course-hobby_content{
	width: min(var(--pc-width), 86%);
	margin: 50px auto 0;
    gap: 20px;
	position: relative;
}
/* .course-name_content{
	padding-bottom: 70px;
	margin: 50px auto 70px;
} */
.course-lisence_content .sp{
	width: 100%;
}
.course-lisence_content .sp img{
	width: 100%;
}

.course-objective_grid li img {
	width: 100%;
}
.course-objective_grid,
.course-recommend_grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.course-objective_grid li{
	height: 100%;
}
.course-objective_grid li > a, .course-recommend_grid li > a {
	display: grid;
	grid-template-rows: auto auto 1fr;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
@media (hover: hover) and (pointer: fine) {
	.course-objective_grid li > a:hover,
	.course-recommend_grid li > a:hover {
        background-color: var(--color_sax);
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0,0,0,.18);
	}
}
.course-objective_grid .course_boxttl,
.course-new_grid .course_boxttl,
.course-recommend_grid .course_boxttl {
	color: var(--color_sub);
    font-size: 1.3rem;
	text-align: center;
	font-weight: 700;
	padding: 12px 12px 10px;
	margin: 0;
	height: 3.6em;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.3;
}
.course-recommend_grid .course_boxttl {
    flex-direction: column;
    gap: 4px;
    height: auto;
    min-height: 6em;
    padding: 10px 10px 8px;
}
.course-recommend_grid .course_boxttl .course_boxttl_sub {
    font-size: 0.85rem;
    color: #333333;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}
.course-recommend_grid .course_boxttl .course_boxttl_main {
    font-size: 1.3rem;
    color: var(--color_sub);
    font-weight: 700;
    line-height: 1.3;
    display: block;
}
.course-recommend_grid .course_boxttl img.course_boxttl_logo {
    width: auto;
	max-width: 90px;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
    margin-bottom: 15px;
}
.course-objective_grid li img,
.course-recommend_grid li img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.course-objective_grid .course_boxtx,
.course-new_grid .course_boxtx,
.course-recommend_grid .course_boxtx {
	text-align: left;
	padding: 12px 14px 8px;
	margin: 10px;
	min-height: 3.2em;
}
.course-objective_more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: 100%;
    color: var(--color_sub);
    font-weight: 700;
    margin-top: auto;
	padding: 0 14px 16px;
}
.course-objective_more::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 12px solid var(--color_sub);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}
.course-objective_more-detail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: 100%;
    color: var(--color_sub);
    font-weight: 700;
    margin-top: auto;
	padding: 0 14px 16px;
}
.course-objective_more-detail::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 12px solid var(--color_sub);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.course-works_about,
.course-lisence_about,
.course-first_about,
.course-tb-smp_about,
.course-net_about,
.course-hobby_about{
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 30px;
}
.course-works_about img,
.course-lisence_about img,
.course-first_about img,
.course-tb-smp_about img,
.course-net_about img,
.course-hobby_about img{
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	object-fit: cover;
}
.course-works_about p,
.course-lisence_about p,
.course-first_about p,
.course-tb-smp_about p,
.course-net_about p,
.course-hobby_about p{
	margin: 0;
	line-height: 1.7;
}
.course-name_grid{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr; /* SPは1列 */
	gap: 20px;
}
.course-name_grid > li{
	background: #fff;
	order: 2px solid var(--color_sub);
	border-radius: 16px;
	overflow: hidden;	
}
.course-name_grid > li.col-6{
	width: auto;
}
.course-name_grid > li > h3{
	margin: 0;
	padding: 16px 14px;
	background: var(--color_sub);
	color: #fff;
	text-align: center;
	display: grid;
	place-items: center;
	min-height: 64px;
	line-height: 1.35;
	font-weight: 700;
	font-size: 1.15rem;
}
.course-name_grid > li > h3 > div{
	color: inherit;
}
.course-name_grid > li > dl{
	margin: 0;
	padding: 14px 16px 18px;
}
.course-name_grid > li > dl > dd{
	margin: 0;
	padding: 10px 0 10px 18px;
	position: relative;
	border-top: 1px solid rgba(0,0,0,.08);
}
.course-name_grid > li > dl > dd:first-of-type{
	border-top: none;
}
.course-name_grid > li > dl > dd::before{
	content: "";
	position: absolute;
	left: 0;
	top: 0.9em;
	width: 0;
	height: 0;
	border-left: 10px solid var(--color_sub);
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}
.course-name_grid > li > dl > dd a{
	color: var(--color_main);
	text-decoration: none;
	line-height: 1.6;
	display: inline;
}
.course-name_grid > li > dl > dd a p{
	margin: 0;
	color: inherit;
}
@media (hover:hover){
	.course-name_grid > li > dl > dd a:hover{
		color: var(--color_sub);
		text-decoration: underline;
	}
}
.course-works_recs,
.course-lisence_recs,
.course-first_recs,
.course-tb-smp_recs,
.course-net_recs,
.course-hobby_recs {
	position: relative;
	margin-top: 40px;
}
.course-works_recs h3,
.course-lisence_recs h3,
.course-first_recs h3,
.course-tb-smp_recs h3,
.course-net_recs h3,
.course-hobby_recs h3 {
	position: absolute;
	top: -0.75em;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 14px;
	background: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--color_sub);
	text-align: center;
	white-space: nowrap;
	z-index: 2;
}
.course-works_recs ul,
.course-lisence_recs ul,
.course-first_recs ul,
.course-tb-smp_recs ul,
.course-net_recs ul,
.course-hobby_recs ul {
	list-style: none;
	margin: 0;
	padding: 32px 24px 24px;
	border: 2px solid var(--color_sub);
	border-radius: 16px;
	background: #fff;
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px 32px;
	margin: 0 0 50px;
}
.course-works_recs li,
.course-lisence_recs li,
.course-first_recs li,
.course-tb-smp_recs li,
.course-net_recs li,
.course-hobby_recs li {
	position: relative;
	text-align: left;
	padding-left: 48px;
	line-height: 1.6;
}
.course-works_recs li::before,
.course-lisence_recs li::before,
.course-first_recs li::before,
.course-tb-smp_recs li:before,
.course-net_recs li:before,
.course-hobby_recs li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.8em;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background-color: var(--color_sax);
}
.course-works_recs li::after,
.course-lisence_recs li::after,
.course-first_recs li::after,
.course-tb-smp_recs li:after,
.course-net_recs li:after,
.course-hobby_recs li:after {
	content: "";
	position: absolute;
	left: 7px;
	top: calc(0.2em + 6px);
	transform: translateY(-50%) rotate(45deg);
	width: 8px;
	height: 14px;
	border-right: 3px solid var(--color_main);
	border-bottom: 3px solid var(--color_main);
}
.course-works_list,
.course-lisence_list,
.course-first_list,
.course-tb-smp_list,
.course-net_list,
.course-hobby_list{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
.course-works_list li,
.course-lisence_list li,
.course-first_list li,
.course-tb-smp_list li,
.course-net_list li,
.course-hobby_list li{
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(0,0,0,.08);
	overflow: hidden;
	background: #fff;
}
.course-works_list li > a,
.course-lisence_list li > a,
.course-first_list li > a,
.course-tb-smp_list li > a,
.course-net_list li > a,
.course-hobby_list li > a{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	text-decoration: none;
	color: inherit;
	height: 100%;
}
.course-works_list li img,
.course-lisence_list li img,
.course-first_list li img,
.course-tb-smp_list li img,
.course-net_list li img,
.course-hobby_list li img{
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}
.course-works_list_inner,
.course-lisence_list_inner,
.course-first_list_inner,
.course-tb-smp_list_inner,
.course-net_list_inner,
.course-hobby_list_inner{
	padding: 20px 24px;
	display: grid;
	grid-template-rows: auto auto auto;	
	gap: 12px;
}
.course-works_list_h3,
.course-lisence_list_h3,
.course-first_list_h3,
.course-tb-smp_list_h3,
.course-net_list_h3,
.course-hobby_list_h3 {
	color: var(--color_main);
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
}
.course-works_list_inner p,
.course-lisence_list_inner p,
.course-first_list_inner p,
.course-tb-smp_list_inner p,
.course-net_list_inner p,
.course-hobby_list_inner p {
	margin: 0;
	line-height: 1.6;
	text-align: left;
}
.course-works_list_inner .more-detail,
.course-lisence_list_inner .more-detail,
.course-first_list_inner .more-detail,
.course-tb-smp_list_inner .more-detail,
.course-net_list_inner .more-detail,
.course-hobby_list_inner .more-detail{
	margin-top: 8px;
	font-weight: 700;
	color: var(--color_main);
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.course-works_list_inner .more-detail::after,
.course-lisence_list_inner .more-detail::after,
.course-first_list_inner .more-detail::after,
.course-tb-smp_list_inner .more-detail::after,
.course-net_list_inner .more-detail::after,
.course-hobby_list_inner .more-detail::after{
	content: "";
	width: 0;
	height: 0;
	border-left: 12px solid var(--color_sub);
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	display: inline-block;
}
@media (min-width: 768px){
	.course {
		margin: 50px auto 0;
	}
	.course-ttl_h1 {
		font-size: 2.625rem;
		line-height: 1.3;
		font-weight: 700;
		color: var(--color_sub);
		position: relative;
		text-align: center;
		margin: 20px 20px 50px 20px;
	}
	.course-ttl_h1 span {
		font-size: 1.6rem;
		font-weight: 700;
	}
	.course-objective_ttl,
	.course-name_ttl,
    .course-recommend_ttl {
		background-color: var(--color_sub);
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		padding: 30px;
		gap: 5px;
	}
	.course-works_ttl,
	.course-lisence_ttl,
	.course-first_ttl,
	.course-tb-smp_ttl,
	.course-net_ttl,
	.course-hobby_ttl{
		margin-bottom: 40px;
		padding: 90px 0 0;
	}
	.course-objective_ttl h2,
	.course-name_ttl h2,
    .course-recommend_ttl h2{
        font-size: 2.625rem;
        font-weight: 700;
        color: var(--color_accent);
        grid-area: message_main;
    }
	.course-works_ttl h2,
	.course-lisence_ttl h2,
	.course-first_ttl h2,
	.course-tb-smp_ttl h2,
	.course-net_ttl h2,
	.course-hobby_ttl h2{
		font-size: 2.625rem;
		font-weight: 700;
		grid-area: message_main;
	}
	.course-objective_content,
	.course-name_content,
    .course-recommend_content,
	.course-works_content,
	.course-lisence_content,
	.course-first_content,
	.course-tb-smp_content,
	.course-net_content,
	.course-hobby_content{
		width: var(--pc-width);
		flex-direction: row-reverse;
		align-items: flex-end;
		margin: 50px auto 0;
		gap: 20px;
		position: relative;
	}
	.course-objective_grid, .course-name_grid, .course-recommend_grid {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 50px;
		list-style: none;
		padding: 0;
		margin: 0;
	}
	.col-3 { grid-column: span 3;}
	.col-4 { grid-column: span 4;}
	.col-6 { grid-column: span 6;}
	.course-objective_grid, .course-recommend_grid {
		width: 100%;
	}
	.course-objective_grid li img, .course-recommend_grid li img {
		width: 100%;
	}
    .course-mainimg_img{
		display: block;
		width: calc(100% / 1.85);
		margin: 0 auto 50px;
	}
	.course-mainimg_lead{
		text-align: center;
		font-size: 2.0rem;
		margin-bottom: 30px;
    }
    .course-mainimg_p{
		margin: 0 auto;
		width: min(var(--pc-width), 96%);
    }
	.course-works_about,
	.course-lisence_about,
	.course-first_about,
	.course-tb-smp_about,
	.course-net_about,
	.course-hobby_about{
		grid-template-columns: 6fr 4fr;
		align-items: center;
		gap: 60px;
	}
	.course-works_about p,
	.course-lisence_about p,
	.course-first_about p,
	.course-tb-smp_about p,
	.course-net_about p,
	.course-hobby_about p{
		order: 1;
	}
	.course-works_about img,
	.course-lisence_about img,
	.course-first_about img,
	.course-tb-smp_about img,
	.course-net_about img,
	.course-hobby_about img{
		order: 2;
	}
	.course-name_grid > li > h3{
		min-height: 78px;
		padding: 18px 16px;
		font-size: 1.2rem;
	}
	.course-works_recs ul,
	.course-lisence_recs ul,
	.course-first_recs ul,
	.course-tb-smp_recs ul,
	.course-net_recs ul,
	.course-hobby_recs ul {
		grid-template-columns: repeat(2, 1fr);
	}
	.course-works_list li > a,
	.course-lisence_list li > a,

	.course-first_list li > a,
	.course-tb-smp_list li > a,
	.course-net_list li > a,
	.course-hobby_list li > a{
		grid-template-columns: 3fr 7fr;
		grid-template-rows: 1fr;
		align-items: stretch;
	}
	.course-works_list li img,
	.course-lisence_list li img,
	.course-first_list li img,
	.course-tb-smp_list li img,
	.course-net_list li img,
	.course-hobby_list li img{
		height: 100%;
	}
	.course-works_list_inner,
	.course-lisence_list_inner,
	.course-first_list_inner,
	.course-tb-smp_list_inner,
	.course-net_list_inner,
	.course-hobby_list_inner{
		align-content: center;
	}
}
.course-lisence_bnr{
	width: 100%;
	margin: 50px auto 0;
}
.main-access{
	margin-top: 0 !important;
}

.main-message_ttl2{
	grid-template: "message_icon message_main" auto / auto;
}

.main-ttl_h3_txt2{
	display: block;
	font-size: 16px;
    font-weight: 600;
	text-align: center;
}

.main-other_ttl2{
	grid-template: "h3_icon h3_main" auto / auto auto;
}

@media (min-width: 768px) {
    .main-ttl_h3_txt2 {
        font-size: 1.25rem;
		text-align: left;
    }
	.main-other_h3-2{
		line-height: unset;
	}
}

/* ==========================================
    注目の講座Newセクション
   ========================================== */
.course-new_content {
    padding: 50px 0;
    background-color: #fffaf0;
}

/* 2列のグリッド配置（既存のカードの横幅に合わせる） */
.course-new_grid {
	width: var(--pc-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

.course-new_grid .course_boxttl {
    padding-bottom: 0;
}

/* 新着カード本体 */
.course-new_card a {
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(190, 130, 50, 0.08); 
    transition: transform 0.3s, box-shadow 0.3s;

    &:hover {
        opacity: 0.7;
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(190, 130, 50, 0.18);
    }
}

/* リボンの包含要素（左上に配置） */
.course-new_ribbon-wrapper {
    position: absolute;
    top: 0;  /* 少し外側から始めてリボンの立体感を出す（オプション） */
    left: 0;
    width: 120px;  /* リボンの見え方に応じて調整 */
    height: 120px;
    overflow: hidden; /* wrapperからはみ出したリボンを隠す */
    z-index: 2;
}

/* 斜めのリボン帯 */
.course-new_ribbon {
    display: block;
    width: 170px; /* 包含要素より長くして斜めに敷く */
    background-color: #ffb545;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 26px; /* リボンの太さ */
    letter-spacing: 1.5px;
    position: absolute;
    top: 24px; /* 包含要素内での位置調整 */
    left: -38px; /* 左側にはみ出させる */
    transform: rotate(-42deg); /* ★左上に向かって斜めに回転 */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.course-new_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.course-new_body {
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-new_card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: center;
}

.course-new_card-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* ボタン位置を揃える */
}

.course-new_date {
    display: block;
    text-align: center;
    background: #ffa928;
    color: #ffffff;
    padding: 3px 18px;
    margin: 0 auto;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.course-new_btn {
    display: block;
    text-align: center;
    background: var(--color_sub);
    color: #ffffff;
    padding: 7px 15px;
    margin: auto 16px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(115, 170, 209, 0.25);
    transition: background-color 0.3s;
}

/* ==========================================
    アビバ提携講座セクション
   ========================================== */
.course-aviva-content {
    max-width: 1080px;
    margin: 0 15px 60px; 
    padding: 30px 0; 
    background: linear-gradient(to bottom, #f5c7d1, #fef2f5);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .course-aviva-content {
        margin: 0 auto 60px;
        padding: 50px 0;
    }
}

/* スマホ時：親要素を Flexbox にし、直下の子要素を展開可能にする */
.course-aviva__inner {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .course-aviva__inner {
        padding: 0 35px;
        display: grid;
        grid-template-columns: 1.2fr 2fr;
        gap: 35px;
        align-items: start;
    }
}

/* スマホ時は .course-aviva__head の枠を解除し、中身を直接 Flexbox のアイテムにする */
.course-aviva__head {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    display: contents;
}

@media (min-width: 768px) {
    .course-aviva__head {
        display: block; /* PC時は元に戻す */
        text-align: left; 
        margin-bottom: 0;
    }
}

/* メッセージ部分の各要素に order: 1〜4 を指定（グループ化） */
.course-aviva__sub {
    font-size: 18px;
    color: #CA0349;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    order: 1;
}

.course-aviva__logos {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    order: 2;
}

@media (min-width: 768px) {
    .course-aviva__logos {
        justify-content: flex-start; 
    }
}

.course-aviva__logo-img {
    width: 85%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .course-aviva__logo-img {
        width: 100%;
    }
}

.course-aviva__title {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    order: 3;
}

@media (min-width: 768px) {
    .course-aviva__title {
        font-size: 24px; 
        line-height: 1.45;
    }
}

.course-aviva__lead {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.95;
    text-align: left;
    margin-bottom: 30px;
    order: 4;
}

@media (min-width: 768px) {
    .course-aviva__lead {
        font-size: 14px;
        line-height: 1.65;
    }
}

/* カードエリア（右側）に order: 5 を指定 */
.course-aviva-hero__right {
    display: flex;
    flex-direction: column;
    order: 5;
}

@media (min-width: 768px) {
    .course-aviva-hero__right {
        order: unset;
    }
}

.course-aviva-hero__recommend {
    text-align: center;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .course-aviva-hero__recommend {
        text-align: left; 
        margin-bottom: 20px;
    }
}

.course-aviva-hero__recommend-text {
    color: #CA0349;
    font-size: 24px;
    font-weight: bold;
    padding: 6px 0;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .course-aviva-hero__recommend-text {
        font-size: 28px; 
        padding: 8px 0;
    }
}

.course-aviva__grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .course-aviva__grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        margin-bottom: 0;
    }
}

.course-aviva__card {
    border-radius: 10px;
    border: 1px solid #ca034966;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none; 
    background-size: cover;      
    background-position: center; 
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

/*@media (min-width: 768px) {
    .course-aviva__card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }
}*/

.course-aviva__body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
}

@media (min-width: 768px) {
    .course-aviva__body {
        padding: 20px 16px; 
    }
}

.course-aviva__card-title {
    font-size: 19px;
    font-weight: bold;
    color: #CA0349;
    margin-bottom: 8px;
}

.course-aviva__card-title small {
    display: block;
    font-size: 11px;
    color: #CA0349;
    font-weight: normal;
    margin-top: 2px;
}

.course-aviva__card-text {
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1; 
}

.course-aviva__labels {
    display: flex;
    flex-wrap: wrap; 
    gap: 7px; 
    margin-top: auto;
}

.course-aviva__label {
    display: inline-block;
    background-color: #ca034966; 
    color: #ffffff; 
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px; 
    line-height: 1.4;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(255, 142, 83, 0.2);
    transition: background-color 0.2s, transform 0.2s;
}

/* 注釈部分に order: 6 を指定 */
.course-aviva__note {
    list-style: none;
    margin-top: 15px; 
    order: 6;
}

.course-aviva__note a {
    color: #e85d04;
    text-decoration: underline;
}

.course-aviva__note li {
    font-size: 11px;
    color: #333333;
    opacity: 0.85;
    line-height: 1.55;
    margin-bottom: 6px;
    position: relative;
    padding-left: 1.2em; 
    text-align: left;
}

.course-aviva__note li:last-child {
    margin-bottom: 0;
}

.course-aviva__note li::before {
    content: '※';
    position: absolute;
    left: 0;
    top: 0;
}

/* PC（768px〜）はすべての order をリセット */
@media (min-width: 768px) {
    .course-aviva__sub,
    .course-aviva__logos,
    .course-aviva__title,
    .course-aviva__lead,
    .course-aviva-hero__right,
    .course-aviva__note {
        order: unset;
    }

    .course-aviva__note {
        margin: 50px 0 40px;
    }
}

/* アビバ提携講座ボタン */
.course-aviva__btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 20px auto 0;
    padding: 12px 20px;
    background-color: #e85d04;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s;
    order: 7;
}

/* ホバー時の動き（PC時） */
@media (min-width: 768px) {
    .course-aviva__btn {
        order: unset;
    }

    .course-aviva__btn:hover {
        background-color: #e5783f;
        transform: translateY(3px);
    }
}




/* 阿倍野教室限定テキスト */
.abeno-special{
	display: flex;
    flex-direction: column;
    align-items: center;
	margin-top: 30px;
}

.abeno-special-text{
	color: var(--color_main);
    font-size: 20px;
    font-weight: 600;
	border-bottom: 5px solid var(--color_accent);
	margin-bottom: 6px;
}

@media (min-width: 768px) {
    .abeno-special {
        margin-top: 0px;
    }
	.abeno-special-text{
		font-size: 22px;
	}
}
