@charset "utf-8";

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    display: block;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    /* background: linear-gradient(to right, #e5dcf0 0%, #cab8d9b7 100%); */
    /* padding: 1.2em 0; */
    margin: 1px auto;
    color: #333;
    width: 80%;
    padding-bottom: 20px;
    text-decoration: underline 5px #ffffff;
}

h2 {
    display: block;
    position: relative;
    text-align: center;
    font-size: 1.5em;
    margin: 3em 0;
    font-weight: bold;
  }
  
h2::before,
h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10%;
    height: 1px;
    background-color: #B1E1CE;
    margin: 0 1em; /* ←余白を追加 */
  }
  
h2::before {
    left: 0;
  }
  
h2::after {
    right: 0;
  }

h3 {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
}

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

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

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


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

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





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

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: 101;
}
header picture img {
    width: 50%;
    position: relative;
    left:50px
}


/* ↑↑↑↑↑ 固定ヘッダーここまで ↑↑↑↑↑ */
p{
    margin-bottom: 20px;
}

/* ↓↓↓↓↓ トップセクター ↓↓↓↓↓ */
.sect01 {
    padding-top: 15px;
    background-color: #cab8d94b;

    /* 見やすくするために入れています */
}

.course_img h3 {
    position: relative;
    padding:5px 10px 5px 10px;
    display: inline-block;
    top:0;
    margin: 0 auto 20px;
  }
  .course_img h3:before, .course_img h3:after { 
    position: absolute;
    top: 0;
    content:'';
    width: 5px;
    height: 100%;
    display: inline-block;
  }
  .course_img h3:before {
    border-left: solid 1px #675d6e;
    border-top: solid 1px #675d6e;
    border-bottom: solid 1px #675d6e;
    left: 0;
  }
  .course_img h3:after {
    content: '';
    border-top: solid 1px #675d6e;
    border-right: solid 1px #675d6e;
    border-bottom: solid 1px #675d6e;
    right: 0;
  }

  .course-points dt::before {
    content: "▶";
    display: inline-block;
    color: #B1E1CE;
    margin-right: 0.5em;
    font-size: 1em;
  }
  .course-points dt,dd{
    margin-bottom: 10px;
  }
  .sect01 p
{
text-align: center;
}
    
    
    
    /* .sect0 img {
    border: solid 3px #CAB8D9;
  } */
/* ↑↑↑↑↑ トップセクターここまで ↑↑↑↑↑ */


/* ↓↓↓↓↓ 講習イメージセクター ↓↓↓↓↓ */
.detail span {background: linear-gradient(transparent 60%, #cab8d9b7 60%);}
.course_img{
    margin-bottom: 50px;
}

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


/* ↓↓↓↓↓ サードセクター ↓↓↓↓↓ */
.sect03 p {
    border: solid 5px #CAB8D9;
    border-radius: 10px;
}
/* ↑↑↑↑↑ 3rdセクターここまで ↑↑↑↑↑ */


/* ↓↓↓↓↓ 4thセクター卒業生の声 ↓↓↓↓↓ */
.sect04 img {width: 50%;
    border-top-right-radius: 15%;
  border-bottom-left-radius:  15%;
  max-width: 120px;
  height: 120px;
  object-fit: cover;
}
.person_color{
    background-color: #cab8d94b;
}
/* ↑↑↑↑↑ 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;
    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: 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: 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;
    
    
    
    
                }
            }
        }
    

        
        /* 文字横装飾の長さ調整 */
        /* 文字横装飾の長さ調整 */
        h2::before,
        h2::after {
            width: 30%;
          }
        .sect01 img{
            max-width: 70%;
        }

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

        div p {
            margin-top: 0.5vw;
        }

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

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

            figure {
                box-sizing: border-box;
                flex-basis: 50vw;
                /* イメージ部分の幅です（画面幅のパーセント） */
                margin: 1vw;
            }
            img{
                width: 80%;
                max-width: 100px;
                height: 100px;
                object-fit: cover;
            }
        }
        /* 体験のテキスト調整 */
        .experience {
            padding: 1.2em;
            font-size: 1em;
            margin-top: 1em;
          }
    }


/* 講習セクター */
    .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;
    }
}

/* 資料請求・問い合わせボタン  */
.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;
        }
    }


}
