@charset "utf-8";

/* ↓↓↓↓↓ 共通設定 ↓↓↓↓↓ */

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    /* 文字サイズ */
    line-height: 1.4;
    /* 行間 */
    letter-spacing: 0.1em;
    /* 文字間 */
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {

    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

h2 {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    font-weight: bold;

}

h4 {
    font-weight: bold;
    font-size: 20px;
}

body {
    margin-top: 110px;
}

.upcase {
    text-transform: uppercase;
    /* 英文小文字を大文字にします */
}

.section_padding {
    padding: 5% 10%;
    max-width: 1440px;
}

.section_title {
    background-color: #FF0050;
    border-radius: 0 15px 15px 0;
    width: 90%;
    height: 46px;
    padding: 10%;
    padding-top: 6px;
    padding-bottom: 6px;


    h2 {
        color: #fff;
    }

}


/* ↑↑↑↑↑ 共通設定ここまで ↑↑↑↑↑ */




/* ↓↓↓↓↓ 固定ヘッダー ↓↓↓↓↓ */

header {
    position: fixed;
    width: 100%;
    height: 110px;
    background: linear-gradient(to right, #474587 70%, #f3efa5 85%, #ffffff 100%);
    padding-top: 30px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 12px rgba(58, 58, 58, 0.85);
    z-index: 1000;
}

header picture img {
    width: 50%;
    position: relative;
    left: 50px
}

/* ↑↑↑↑↑ 固定ヘッダーここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ トップセクター ↓↓↓↓↓ */


/* ファーストビュー------------------ */
.first_View {

    p:first-child {
        margin-bottom: 20px;
    }


    .corner_title {
        background: linear-gradient(to right, #FF0050 50%, #FF95B6);
        width: 100%;
        height: auto;
        padding: 10px 10% 6px;

    }

    h3 {
        margin-bottom: 20px;
        text-align: center;
    }

    br.br_sp {
        display: inline;
    }


}





/* ↑↑↑↑↑ トップセクターここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ 講習イメージセクター ↓↓↓↓↓ */

/* コース紹介------------------------- */

.course_Intro {

    img {
        margin-bottom: 20px;
    }

    .course_treatment div {
        flex: 1;
    }


    .course_treatment h2 {
        position: relative;
        padding-bottom: 10px;
        /* 下線との間隔 */
        margin-bottom: 20px;
        font-weight: bold;
    }

    .course_treatment h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 100%;
        max-width: 842px;
        background-color: #FF0050;
    }

    p {
        margin-bottom: 20px;
    }

    p:last-child {
        margin-bottom: 0;
    }
}


/* ↑↑↑↑↑ 講習イメージセクターここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ サードセクター ↓↓↓↓↓ */
.mental {

    margin-bottom: 120px;

    .mental_space {
        padding: 30px 10%;

    }

    .mental_list {

        background-color: #FF95B6;
        width: 90%;
        border-radius: 0 15px 15px 0;
        position: relative;

        .section_padding {
            padding-top: 1.5em;
            padding-bottom: 1.5em;
            margin-bottom: 1em;



            >h3 {
                font-size: 16px;
                position: relative;
                z-index: 100;
                margin-bottom: 1em;

            }

            >p {
                font-size: 14px;
                position: relative;
                z-index: 100;

            }

            >p.num_item {
                font-size: 128px;
                line-height: 0.7em;
                margin: 0;
                padding: 0;
                color: #fff;
                position: absolute;
                left: 0;
                bottom: 0;
                z-index: 10;


            }
        }
    }
}

/* ↑↑↑↑↑ 3rdセクターここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ 4thセクター ↓↓↓↓↓ */
.graduate_Voice {
    >.section_title {
        margin-bottom: 1em;
    }


    .graduate_person {
        padding: 80px 10%;


        .graduate_Back {
            background-color: #FF95B6;
            max-width: 480px;
            border-radius: 15px;
            padding: 1.5em;
            margin: 0 auto;
            margin-bottom: 1.5em;


            >img {
                border-radius: 50%;
                margin-bottom: 1em;
            }

            >.graduate_Profile {
                text-align: center;

                >h4 {
                    margin-bottom: 0.2em;
                }

                .graduate_Course {
                    font-size: 12px;
                    margin-bottom: 1em;


                }

                .graduate_Comment {
                    text-align: left;
                }

                br.br_pc {
                    display: none;
                }



            }
        }
    }
}

.graduate_Voice .graduate_person .graduate_Back:last-child {
    background-color: rgba(0, 0, 0, 0);
    padding: 0;
}


/* ↑↑↑↑↑ 4thセクターここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ ボタンセクター ↓↓↓↓↓ */

.contact_button {
    text-align: center;
    margin-bottom: 50px;
}

.contact_button img {
    width: 200px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.contact_button img:hover {
    transform: scale(1.05);
}

/* ↑↑↑↑↑ ボタンセクターここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ フッター ↓↓↓↓↓ */

footer p {
    background: linear-gradient(to right, #474587 70%, #f3efa5 85%, #ffffff 100%);
    color: #fff;
    padding: 14px 10px 20px;
    text-align: center;
}

/* ↑↑↑↑↑ フッターここまで ↑↑↑↑↑ */


/* ↓↓↓ カピぞうPart5 P273掲載のハンバーガーメニュー（コメント付き）です ↓↓↓ */

/* メニューを画面上部に固定表示しています */
.gMenu {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99;
}

/* メニューアイコンを画面右上に固定しています */
.gMenu .menu-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 35px;
    padding-top: 15px;
    height: 30px;
}

/* メニューアイコン（三本線）の真ん中の線です */
.gMenu .menu-icon .navicon {
    background: #474587;
    /* 色は自由に変更可能です */
    display: block;
    height: 6px;
    /* 太さ */
    width: 31px;
    /* 長さ */
    position: relative;
    transition: background .4s ease-out;
    /* 形が変わる時のアニメーション */
}

/* メニューアイコン（三本線）の上と下の線を疑似要素で追加 */
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
    background: #474587;
    /* 色は自由に変更可能です */
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .4s ease-out;
    /* 形が変わる時のアニメーション */
    width: 100%;
}

.gMenu .menu-icon .navicon::before {
    top: 10px;
}

/* 位置を上にずらしています */
.gMenu .menu-icon .navicon::after {
    top: -10px;
}

/* 位置を下にずらしています */
/* 表示されるメニューです */
.gMenu .menu {
    background-color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    max-height: 0;
    /* ★最初は高さを0にして非表示状態に */
    transition: max-height .6s;
    /* 表示されるときのアニメーション */
    text-align: center;
}

/* メニュー部分のデザインです */
.gMenu .menu li:first-of-type {
    padding-top: 25px;
    padding-top: 50px;
}

.gMenu .menu li a {
    display: block;
    padding: 24px 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.gMenu .menu li a:hover {
    background-color: #f4f4f4;
}

/* チェックボックスは常に非表示です */
.gMenu .menu-btn {
    display: none;
}

/* ▼▼▼以下はチェックボックスがONの時の状態です▼▼▼ */
.gMenu .menu-btn:checked~.menu {
    max-height: 500px;
    /* ★チェックボックスがオンの時高さを338pxにして表示させます */
    transition: max-height .6s;
}

/* メニューボタンの中央の線を非表示に */
.gMenu .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

/* メニューボタンの上下の線を45度傾けて✕印を作ります */
.gMenu .menu-btn:checked~.menu-icon .navicon::before {
    transform: rotate(-45deg);
    top: 0;
}

.gMenu .menu-btn:checked~.menu-icon .navicon::after {
    transform: rotate(45deg);
    top: 0;
}

header ul.menu_pc {
    display: none;
}

/* ↑↑↑ ハンバーガーメニューここまで ↑↑↑ */


/* ↓↓↓↓↓ ネットで見つけたアクションメニュー ↓↓↓↓↓ */
.container {
    position: fixed;
    /* 上下位置調整 */
    top: 95vh;
    /* 左右位置調整 */
    left: 99%;
}

input[type="checkbox"] {
    display: none;
}

.btn {
    background: #474587;
    border: none;
    border-radius: 25%;
    width: 90px;
    height: 90px;
}

.btn svg {
    position: relative;
    top: 1px;
    right: 1px;
}

.btn--large {
    width: 60px;
    height: 60px;
}

.btn--menu:after,
.btn--menu:before {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: 29px;
    left: 18px;
    transition: transform 100ms;
}

.btn--menu:after {
    transform: translateY(-5px);
}

.btn--menu:before {
    transform: translateY(5px);
}

.btn--totop {
    background: none;
    border-radius: 0%;
}

.btn--tocontact {
    background: none;
    border-radius: 0%;
}

.btn--toSNS {
    background: none;
    border-radius: 0%;
}

.actions-menu {
    position: absolute;
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 15px;
}

.actions-menu .btn {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    transition: top 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        left 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 200ms;
}

.actions-menu .btn--menu {
    position: absolute;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: 0;
}

.btn--menu,
#actionMenuButton:checked+.actions-menu>.btn {
    opacity: 1;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2); */
}

#actionMenuButton:checked+.actions-menu>.btn--menu:after {
    transform: rotate(45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--menu:before {
    transform: rotate(-45deg);
}

#actionMenuButton:checked+.actions-menu>.btn--totop {
    top: -100px;
    left: -100px;
}

#actionMenuButton:checked+.actions-menu>.btn--tocontact {
    top: -45px;
    left: -100px;
}

#actionMenuButton:checked+.actions-menu>.btn--toSNS {
    left: -100px;
}


/* ↑↑↑↑↑ アクションメニューここまで ↑↑↑↑↑ */


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


/* タブレット用 */
@media (width > 390px) {

    /* 以下、位置と文字の微調整 */
    body {
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0.2;
        padding-top: 0px;
    }

    h1 {
        font-size: 24px;
    }

    .first_View {

        br.br_sp {
            display: none;
        }
    }
}

/* パソコン用 */
@media (min-width: 768px) {

    h1 {
        font-size: 28px;
    }

    .section_title {
        background: linear-gradient(to right, #FF0050 50%, #FF95B6);
        height: 58px;
        padding-top: 5px;

        h2 {
            font-size: 28px;
        }

    }


    /* ロゴのセンタリング */
    header {
        display: flex;
        justify-content: center;
        left: 0;

        .gMenu>label {
            display: none;
        }

        ul.menu_pc {
            display: flex;
            min-width: 507.2px;
            margin: 10px 0 15px auto;
            align-items: center;

            >li {
                letter-spacing: 0.1em;
                font-weight: bold;
                margin-left: 20px;
                color: white;
                text-shadow:
                    -1px -1px 0 #474587,
                    1px -1px 0 #474587,
                    -1px 1px 0 #474587,
                    1px 1px 0 #474587;


            }
        }
    }



    /* コース紹介 */

    .course_treatment {
        display: flex;
        align-items: flex-start;
        margin-bottom: 2em;

        >img {
            width: 300px;
            height: auto;
            margin-bottom: 0;
            margin-right: 20px;
        }

        h2 {
            margin-bottom: 0;
        }

        h2::after {
            max-width: 100%;
        }

        .course {
            margin-bottom: 1em;
        }

        p {
            line-height: 1.5em;
        }


    }


    .mental_side {
        padding-right: 10%;
        display: block;


    }

    .mental_list {
        width: 80%;
        margin: 0 auto;
    }

    section.mental .mental_list {
        border-radius: 15px;
    }





    /* 卒業生の横並び、サイズの微調整 */

    .graduate_Voice .graduate_person .graduate_Back .graduate_Profile p.graduate_Course br.br_pc {
        display: inline-block;
        width: 100%;

    }

    .graduate_Voice .graduate_person {
        gap: 24px;
        margin: 0 auto;
    }

    .graduate_Voice .graduate_person .graduate_Back {

        margin: 0;
        text-align: left;
        display: flex;
        height: auto;


        >img {
            width: 40%;
            height: auto;
            object-fit: cover;
            margin-right: 10px;

        }

    }

    .graduate_Voice .graduate_person .graduate_Back:last-child {
        
        width: 460px;

    }


    .graduate_person {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;


        .person {
            display: flex;
        }
    }

    .contact_button img {
        width: 400px;
        height: auto;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

}

@media (min-width: 1051px) {
    header {
        padding-right: 3%;
        .menu_pc li a br {
            display: none;
        }
    }

}