@charset "utf-8";

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

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    /* 文字サイズ */
    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;
    text-align: center;
    padding-bottom: 20px;
}

h2 {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 80px;
    padding-top: 20px;
}

h2 {
    position: relative;
    padding: 1rem .5rem;
}

h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    content: '';
    background-image: -webkit-gradient(linear, left top, right top, from(#474587), to(#ffffff));
    background-image: -webkit-linear-gradient(left, #474587 0%, #f3efa5 85%, #ffffff 100%);
    background-image: linear-gradient(to right, #474587 70%, #f3efa5 85%, #ffffff 100%);
}

h3 {
    display: block;
    font-size: 1.17em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #fff;

}

h4 {
    display: block;
    font-weight: bold;
}

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

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



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

main {
    margin: 10%;
}

.sect01 p {
    text-align: center;
    margin: 0 auto 80px;
}

.courseSec {
    background-color: #464687;
    color: #fff;
    font-weight: bold;
    max-width: 500px;
    height: auto;
    flex-direction: column;
    border-radius: 10px;
    margin: 0 auto 80px;
    padding: 24px 24px;
}

.course_img03 {
    margin-bottom: 80px;
}

dt {
    margin-bottom: 36px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #fff;
    display: flex;
    align-items: flex-end;
}

dd {
    padding-left: 16px;
}

.icon {
    padding: 0 10px;
}

.course_img01,
.course_img03 {
    background-color: rgb(107, 185, 213, 0.5);
}

.course_img01,
.course_img02,
.course_img03 {
    padding: 12px 24px;
    margin-bottom: 48px;

    img {
        margin-bottom: 12px;
        width: 100%;
    }
}



.bx-wrapper {
    margin: 0 auto 100px;
}


.sect03_others {
    background-color: rgb(107, 185, 213, 0.5);
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 18px 24px;
    border-radius: 50px;

    p {
        text-align: center;
    }
}

.personsSect {
    margin: 0 auto;
}

.person01,
.person02 {
    padding-top: 24px;
    margin-bottom: 40px;
    border-bottom: 3px solid #f4f4f4;

    img {
        margin-bottom: 20px;
    }

    p {
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
    }
}



.person_p {
    margin-bottom: 40px;
}

.person_color {
    background-color: #F7FF52;
    margin-bottom: 80px;
    padding: 18px 24px;
    border-radius: 5%;
    border: 3px solid #f4f4f4;
}

.photo {
    text-align: center;
    margin-bottom: 40px;
}

.access {
    text-align: center;
    margin-bottom: 40px;
}

.gmap {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* ←ここを追加すると "小さくできる"！ */
    margin: 0 auto;
    /* ←中央寄せにする */
    padding-top: 42.85%;
    /* 21:9比率　横長 */
    height: 0;
    margin-bottom: 50px;
}

.gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#SNS_list {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    list-style: none;
    padding: 1em 0;
    margin: 0;
}

#SNS_list li {
    display: flex;
    align-items: center;
    justify-content: center;
}

#SNS_list li a img {
    width: 32px;
    height: auto;
    transition: transform 0.2s ease;
}

#SNS_list li a:hover img {
    transform: scale(1.2);
}

#SNS_list img[alt="LINE"] {
    width: 30px;
}

#SNS_list img[alt="YouTube"] {
    width: 36px;
}

#SNS_list img[alt="Instagram"] {
    width: 30px;
}

#SNS_list img[alt="X（旧Twitter）"] {
    width: 26px;
}

/* 中心揃え */
#SNS_list li a img {
    vertical-align: middle;
}

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


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

header {
    position: fixed;
    z-index: 10000;
    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);
}

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

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




/* ↓↓↓↓↓ トップセクター ↓↓↓↓↓ */
.sect01 {
    background-color: #fff;
    /* 見やすくするために入れています */
}

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


/* ↓↓↓↓↓ 講習イメージセクター ↓↓↓↓↓ */
.sect02 {
    background-color: #fff;
    /* 見やすくするために入れています */
}

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


/* ↓↓↓↓↓ サードセクター ↓↓↓↓↓ */
.sect03 {
    background-color: #fff;
}

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


/* ↓↓↓↓↓ 4thセクター ↓↓↓↓↓ */
.sect04 {
    background-color: #fff;
}

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


/* ↓↓↓↓↓ アクセスセクター ↓↓↓↓↓ */
/* ↑↑↑↑↑ アクセスセクターここまで ↑↑↑↑↑ */

/* ↓↓↓↓↓ フッター ↓↓↓↓↓ */
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: 12px;
}

/* メニューアイコン（三本線）の真ん中の線です */
.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: 18px;
        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 {
                letter-spacing: 0.1em;
                font-weight: bold;
                color: #fff;
                margin-left: 20px;
                text-shadow:
                    -1px -1px 0 #474587,
                    1px -1px 0 #474587,
                    -1px 1px 0 #474587,
                    1px 1px 0 #474587;
            }

        }
    }


    /* 卒業生の横並び、サイズの微調整 */
    .personsSect {
        display: flex;
        gap: 20px;

        div p {
            margin-top: 0.5vw;
        }

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

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

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


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

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

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

    .course_img02 {
        flex-direction: row-reverse;
    }
    .contact_button img {
        width: 400px;
        height: auto;
        cursor: pointer;
        transition: transform 0.2s ease;
      }





}

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

        ul.menu_pc {
            margin: 10px 0 15px auto;
        }

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


}