@charset "utf-8";

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    display: block;
    font-size: 2em;
    font-weight: bold;
}

h2 {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 1.9em;
    font-weight: bold;
    margin-bottom: 2%;
}

h4 {
    display: block;
    font-weight: bold;
    font-size: 1.6em;
}

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

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


main {
    margin: 10%;
    /* 左右の余白 */
}

body {
    margin-top: 150px;
    /* モバイル時、ページ内アンカーでページトップに戻った時に、
    トップイメージがヘッダーに隠れるのを防ぐため */
}

h1 {
    text-align: center;
    padding-bottom: 20px;
}


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

header {
    position: fixed;
    width: 100%;
    height: 110px;
    background: linear-gradient(to right, #474587 70%, #f3efa5 85%, #ffffff 100%);
    color: rgb(70, 70, 70);
    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: 10;
}

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

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


/* ↓↓↓↓↓ トップセクター ↓↓↓↓↓ */
.sect01 {
    margin-left: 10%;
    margin-bottom: 4em;
    /* 見やすくするために入れています */
}

.topimg {
    text-align: center;
    margin-bottom: 5em;
}

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

/* ステップアップの画像 */
.stepup {
    text-align: center;
    margin-bottom: 4em;

}


/* ↓↓↓↓↓ グリッド使用・講習イメージセクター ↓↓↓↓↓ */

.sect02 {
    background-color: #F6AD3C;
    border-radius: 30px;
    padding: 3em 3em;
    margin-bottom: 3em;
}

.g1 {
    display: grid;
    grid-template-columns: 50% 45%;
    justify-content: stretch;
    column-gap: 40px;
    row-gap: 10px;
}

.item01 {
    grid-row: 1/3;
    grid-column: 2/3;
}

.item02 {
    grid-row: 1/2;
    grid-column: 1/2;
    justify-self: center;
    align-self: center;
}

.item03 {
    grid-row: 2/3;
    grid-column: 1/2;
}

.g2 {
    display: grid;
    grid-template-columns: 45% 50%;
    justify-content: stretch;
    column-gap: 40px;
    row-gap: 10px;
}

.item04 {
    grid-row: 1/3;
    grid-column: 1/2;
}

.item05 {
    grid-row: 1/2;
    grid-column: 2/3;
    justify-self: center;
    align-self: center;
}

.item06 {
    grid-row: 2/3;
    grid-column: 2/3;
}

.g3 {
    display: grid;
    grid-template-columns: 50% 45%;
    justify-content: stretch;
    column-gap: 40px;
    row-gap: 10px;
}

.item07 {
    grid-row: 1/3;
    grid-column: 2/3;
}

.item08 {
    grid-row: 1/2;
    grid-column: 1/2;
    justify-self: center;
    align-self: center;
}

.item09 {
    grid-row: 2/3;
    grid-column: 1/2;

}





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


/* ↓↓↓↓↓ サードセクター ↓↓↓↓↓ */
.couse01,
.couse02 {
    margin-bottom: 5%;

}

.guide01 {
    padding-left: 3em;
}

.guide02 {
    padding-left: 3em;
}

/*グラデーションの帯*/
h3 {
    padding: 1rem 2rem;
    color: #fff;
    transform: skew(-20deg);
    background-image: linear-gradient(to right, #27acd9 0%, #b4e12b 100%);
}

.support01 {
    display: inline-block;
    font-weight: bold;
    border-left: solid 11px #F6AD3C;
    margin: 0 auto 50px;
    padding: 5px 0 5px 20px;
}

.support02 {
    display: inline-block;
    font-weight: bold;
    border-left: solid 11px #ec6a00;
    margin: 0 auto 50px;
    padding: 5px 0 5px 20px;
}


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


/* ↓↓↓↓↓ 4thセクター ↓↓↓↓↓ */
.sect04 {
    background-color: #F6AD3C;
    border-radius: 30px;
    padding: 2em 2em;
    margin-bottom: 8em;
}

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




/* ↓↓↓↓↓ フッター ↓↓↓↓↓ */
footer p {
    background: linear-gradient(to right, #474587 70%, #f3efa5 85%, #ffffff 100%);
    color: #fff;
    padding: 14px 10px 20px;
    text-align: center;
    margin-bottom: 0;
}

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


/* ↓↓↓ カピぞう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;
}

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




/* 講習セクター */
.course_img01,
.course_img02,
.course_img03 {
    display: flex;
    /* ３名それぞれのイメージとテキストを横並びにしました */
    align-items: center;

    p {
        box-sizing: border-box;
        flex-basis: 60%;
        /* テキスト部分の幅です（画面幅のパーセント） */
        margin: 2vw;
    }

    figure {
        box-sizing: border-box;
        flex-basis: 30%;
        /* イメージ部分の幅です（画面幅のパーセント） */
        margin: 1vw;
    }
}

/* 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);
}


/* ↑↑↑↑↑ 資料請求・問い合わせボタンここまで ↑↑↑↑↑ */





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

@media (width > 390px) {



    /* 文字の微調整 */
    body {
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0.2;
    }

    h1 {
        text-align: center;
        padding-bottom: 40px;
    }

}

@media (width > 768px) {

    /* ロゴのセンタリング */
    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 {
                color: white;
                letter-spacing: 0.1em;
                font-weight: bold;
                margin-left: 20px;
                text-shadow:
                    -1px -1px 0 #474587,
                    1px -1px 0 #474587,
                    -1px 1px 0 #474587,
                    1px 1px 0 #474587;




            }
        }
    }

    /* 資料請求・問い合わせボタン  */
    .contact_button img {
        width: 400px;
        height: auto;
        cursor: pointer;
        transition: transform 0.2s ease;
    }


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


    /* 卒業生の横並び、サイズの微調整 */
    .personsSect {
        display: flex;
        justify-content: space-around;

        .person01,
        .person02 {
            margin-top: 0.5vw;
            display: flex;
            flex-basis: 45%;
            /* ２名それぞれのイメージとテキストを横並びにしました */

            p {
                box-sizing: border-box;
                flex-basis: 62%;
                /* テキスト部分の幅です（画面幅のパーセント） */
                margin: 0vw 1vw 2vw 1vw;
            }

            figure {
                box-sizing: border-box;
                flex-basis: 35%;
                /* イメージ部分の幅です（画面幅のパーセント） */
                margin: 1vw;
            }
        }
    }
}



/*pcの大画面のときは横並びナビ*/

@media (min-width: 1051px) {
    header {
        padding-right: 3%;

        .menu_pc li a br {
            display: none;
        }
    }


}