/* BootStrapをカスタマイズするCSS */
//////////////////////////////////// トップ画面の設定（ロゴ近辺） /////////////////////////////// 
.container-fluid {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}

.welcome {
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.welcometitle {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px;
    font-family: 'Georgia', serif;
    text-align: center;
    font-weight: normal;
    color: #fff;
    display: block;
    font-size: 98px;
    line-height: 80px;
    text-shadow: 1px 1px 3px #ccc,
        1px -1px 3px #ccc,
        -1px 1px 3px #ccc,
        -1px -1px 3px #ccc;
}

.welcometitle_top {
    margin-top: 35vh;
    margin-bottom: 0;
    padding: 10px;
    /*font-family: 'Courier', serif;*/
    font-family: 'Georgia', serif;
    text-align: center;
    font-weight: normal;
    color: #fff;
    display: block;
    font-size: 30px;
    line-height: 10px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px #ccc,
        1px -1px 3px #ccc,
        -1px 1px 3px #ccc,
        -1px -1px 3px #ccc;
}

.welcometitle_s {
    margin-top: 5px;
    margin-bottom: 30px;
    padding: 10px;
    /*font-family: 'Courier', serif;*/
    font-family: 'Georgia', serif;
    text-align: center;
    font-weight: normal;
    color: #fff;
    display: block;
    font-size: 30px;
    line-height: 10px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px #ccc,
        1px -1px 3px #ccc,
        -1px 1px 3px #ccc,
        -1px -1px 3px #ccc;
}

//********************************** トップ画面の設定（ロゴ近辺）*******************************///

//////////////////////////////////// ボタン /////////////////////////////// 
.btn {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-size: 1rem;
}

.btn-primary-2 {
    color: #9c27b0;
    background-color: #fff;
    border-color: #9c27b0;
    box-shadow: none;
    border: 1px solid #9c27b0;
}

//************************************** ボタン） ************************************///
//////////////////////////////////// 背景用の四角 /////////////////////////////// 
.square {
    width: 550px;
    height: 230px;
    background-color: #9c27b0;
}

.triangle {
    width: 0;
    height: 0;
    border-top: 30px solid #9c27b0;
    border-right: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 30px solid tranparent;
}

//************************************** 背景用の四角 ************************************///

p {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}



hr.style {
    border-top: 1px solid #8c8b8b;
    border-bottom: 1px solid #fff;
}

hr.style:after {
    content: '';
    display: block;
    margin-top: 2px;
    border-top: 1px solid #8c8b8b;
    border-bottom: 1px solid #fff;
}


.alert {
    padding: 5px 20px;
    margin-bottom: 0rem;
}

//////////////////////////////////// 固定背景と斜め区切り /////////////////////////////// 

.section_block_01::after {
    /* なぜかここは動作しない。ダミーとしては必要です。 */
}

.section_block_02::after {
    content: '　';
    position: inherit;
    display: block;
    width: 100%;
    height: 200px;
    background-image: url(../img/triangle_rb.svg);
    background-repeat: no-repeat;
    background-size: auto;
}

.section_block_03::before {
    content: '　';
    position: inherit;
    display: block;
    width: 100%;
    height: 200px;
    background-image: url(../img/triangle_lb.svg);
    background-repeat: no-repeat;
    background-size: auto;
}

.section_block_04::before {
    content: '　';
    position: inherit;
    display: block;
    width: 100%;
    height: 200px;
    background-image: url(../img/triangle_tr.svg);
    background-repeat: no-repeat;
    background-size: auto;
}

.section_block_05::before {
    content: '　';
    position: inherit;
    display: block;
    width: 100%;
    height: 200px;
    background-image: url(../img/triangle_tl.svg);
    background-repeat: no-repeat;
    background-size: auto;
}

.cd-fixed-bg {
    /*min-height: 100%;
    padding-left: -15px;
    padding-right: -15px;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;*/
    background-size: cover;
    top: 0px;
    position: sticky;
    position: -webkit-sticky;
    /* Safari */
    display: block;
    padding-left: -15px;
    padding-right: -15px;
    line-height: 1rem;
    font-weight: bold;
}

.cd-scrolling-bg {
    min-height: 100%;

    position: sticky;
    position: -webkit-sticky;
    /* Safari */
    top: 16rem;
    text-align: center;
    display: block;
    padding: 2rem 1rem 2rem 1rem;
    line-height: 1rem;
    min-height: auto;
}

body {
    margin: 0;
}

.section {
    height: 100vh;
    padding: 10% 0;
    text-align: center;
}

.section-scroll {
    background: #fff;
    padding: 0px;
    margin: 0px;
}

.club_color {
    background-image: url(../img/club_back.svg);
    background-size: 100% 100%;
}

.club_color_2 {
    background-image: url(../img/club_back_2.svg);
    background-size: 100% 100%;
}

@media screen and (min-width: 737px) {

    /******** PC画面 *******/
    .container-fluid {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }

    .club_font {
        font-family: 'Rock Salt', cursive;
        line-height: normal;
    }

    h1.club_font {
        padding: 20px;
        transform: rotate(-6deg);
        font-family: 'Rock Salt', cursive;
        line-height: 35pt;
    }

    /* PCの場合の背景画像 */
    .top-bg-fixed {
        background: url("../img/top_bulb_pc.jpg") no-repeat fixed center center /cover;
        padding: 0;
        /*text-align: center;*/
    }

    .second-bg-fixed {
        background: url("../img/top_bg_pc.jpg") no-repeat fixed center center /cover;
    }

    .third-bg-fixed {
        background: url("../img/top_corridor_pc.jpg") no-repeat fixed center center /cover;
    }

    .club-top-bg-fixed {
        background: url("../img/club_top_img_pc.jpg") no-repeat fixed center center /cover;
    }

    .kei_m-top-bg-fixed {
        background: url("../img/top_kokuban_m_pc.jpg") no-repeat fixed center center /cover;
    }

    .kei_e-top-bg-fixed {
        background: url("../img/top_kokuban_e_pc.jpg") no-repeat fixed center center /cover;
    }

    .kei_r-top-bg-fixed {
        background: url("../img/top_kokuban_r_pc.jpg") no-repeat fixed center center /cover;
    }

}

@media screen and (max-width: 736px) {

    /******** モバイル画面 *******/
    .container-fluid {
        width: 100%;
        padding-right: 0px;
        padding-left: 0px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .club_font {
        font-family: 'Rock Salt', cursive;
        line-height: 19px;
    }

    h1.club_font {
        padding: 20px;
        transform: rotate(-6deg);
        font-family: 'Rock Salt', cursive;
        line-height: 30pt;
        font-size: 20pt;
    }

    /* スマホの場合の背景画像 */
    .top-bg-fixed:before {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: -1;
    }

    /* スマホの場合は同じ要素の背景画像を変更する */
    .top-bg-fixed.bgA:before {
        background-image: url("../img/top_bulb_m.jpg");
    }

    .top-bg-fixed.bgB:before {
        background-image: url("../img/top_bg_m.jpg");
    }

    .club-top-bg-fixed:before {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: -1;
    }

    /* スマホの場合は同じ要素の背景画像を変更する */
    .club-top-bg-fixed.bgA:before {
        background-image: url("../img/club_top_img_m.jpg");
    }

    .club-top-bg-fixed.bgB:before {
        background-image: url("../img/top_bg_m.jpg");
    }

    .kei_m-top-bg-fixed:before {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: -1;
    }

    .kei_m-top-bg-fixed.bgA:before {
        background-image: url("../img/top_kokuban_m_m.jpg");
    }

    .kei_m-top-bg-fixed.bgB:before {
        background-image: url("../img/top_bg_m.jpg");
    }

    .kei_r-top-bg-fixed:before {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: -1;
    }

    .kei_r-top-bg-fixed.bgA:before {
        background-image: url("../img/top_kokuban_r_m.jpg");
    }

    .kei_r-top-bg-fixed.bgB:before {
        background-image: url("../img/top_bg_m.jpg");
    }

    .kei_e-top-bg-fixed:before {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: -1;
    }

    .kei_e-top-bg-fixed.bgA:before {
        background-image: url("../img/top_kokuban_e_m.jpg");
    }

    .kei_e-top-bg-fixed.bgB:before {
        background-image: url("../img/top_bg_m.jpg");
    }
}

/*.kei_m-top-bg-fixed {
        background: url("../img/top_kokuban_m_m.jpg") no-repeat fixed center center /cover;
    }
    .kei_e-top-bg-fixed {
        background: url("../img/top_kokuban_e_m.jpg") no-repeat fixed center center /cover;
    }
    .kei_r-top-bg-fixed {
        background: url("../img/top_kokuban_r_m.jpg") no-repeat fixed center center /cover;
    }*/
/*
@media only screen and (min-width: 0) {
    html {
        font-size: 12px;
    }

    .cd-fixed-bg.cd-bg-1 {
        background-image: url("../img/top_bulb_m.jpg");
    }

    .cd-fixed-bg.cd-bg-2 {
        background-image: url("../img/top_bg_m.jpg");
    }

    .cd-fixed-bg.cd-bg-3 {
        background-image: url("");
    }

    .cd-fixed-bg.cd-bg-4 {
        background-image: url("../img/club_top_img_m.jpg");
    }
}

@media only screen and (min-width: 651px) {
    html {
        font-size: 12px;
    }
}

@media only screen and (min-width: 961px) {
    html {
        font-size: 14px;
    }

    .cd-fixed-bg.cd-bg-1 {
        background-image: url("../img/top_bulb_pc.jpg");
    }

    .cd-fixed-bg.cd-bg-2 {
        background-image: url("../img/top_bg_pc.jpg");
    }

    .cd-fixed-bg.cd-bg-3 {
        background-image: url("../img/top_corridor_pc.jpg");
    }

    .cd-fixed-bg.cd-bg-4 {
        background-image: url("../img/club_top_img_pc.jpg");
    }
    .cd-fixed-bg.cd-bg-m {
        background-image: url("../img/top_kokuban_m_pc.jpg");
    }
     .cd-fixed-bg.cd-bg-e {
        background-image: url("../img/top_kokuban_e_pc.jpg");
    }
    .cd-fixed-bg.cd-bg-r {
        background-image: url("../img/top_kokuban_r_pc.jpg");
    }
}
*/

//************************************** 固定背景と斜め区切り ************************************///

.icon-block {
    padding: 0 15px;
}

.icon-block .material-icons {
    font-size: inherit;
}

.fade-up {
    transition: opacity 0.7s;
    -moz-transition: opacity 0.7s;
    -webkit-transition: opacity 0.7s;
    -o-transition: opacity 0.7s;
    transition: transform 0.7s;
    -moz-transition: transform 0.7s;
    -webkit-transition: transform 0.7s;
    -o-transition: transform 0.7s;
}

/********************* FOOTER START ****************************/

footer {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0.9rem;
    display: block;
}

.footer {
    background-color: #35404f;
    color: #fff;
    text-align: left;
    background-image: url("../img/top_img_pc.jpg");
}

.footer .f-title {
    text-align: left;
    color: #fff;
    font-size: 18px;
}

.footer a {
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 2px;
    text-decoration: none;
}

.footer .category a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    margin: 1px;
    border-radius: 4px;
    margin-top: 6px;
    background-color: #999;
    /*border: solid 1px #fff;*/
}

.footer ul li {
    display: inline;
}

.footer .col-sm-4 {
    padding-right: 30px;
    padding-left: 30px;
}

/********************* FOOTER END ****************************/

html {
    font-size: 14px;
    line-height: 1.5;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.87);
}

body {
    margin: 0;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
}

.row {
    margin-right: 0px;
}

.grey-text {
    color: #9e9e9e !important;
}

.club_font {
    font-family: 'Rock Salt', cursive;
    line-height: 30px;
}

h1.club_font {
    padding: 20px;
    transform: rotate(-6deg);
    font-family: 'Rock Salt', cursive;
    line-height: 30pt;
}

/***モーダルのボタンをセンターに寄せる***/
.modal-footer.center {
    justify-content: center;
}

/*** フローティングボタン ***/
div#home_button {
    font-size: 21px;
    line-height: 55px;
    text-align: center;
    color: white;
    background-color: red;
    width: 55px;
    height: 55px;
    position: fixed;
    /*top:485px;*/
    /*left:280px;*/
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
}

/******************************** 系選択のタイムライン *****************************************/
.main-kei-select {
    /*font-family: 'Quicksand', sans-serif;*/
    position: relative;
}

.main-kei-select:after {
    content: '';
    display: block;
    clear: both;
}

.main-kei-select .kei-select {
    width: 50%;
    padding: 35px 0 0 100px;
    margin: 0 0 20px 20px;
    float: right;
}

.main-kei-select .kei-select-content {
    color: #555;
    display: block;
    position: relative;
}

.main-kei-select .kei-select-content:hover {
    text-decoration: none;
}

.main-kei-select .kei-select-icon {
    color: #000099;
    background-color: #fff;
    font-size: 50px;
    text-align: center;
    line-height: 90px;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    border: 2px solid #e7e7e7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 10px rgba(0, 0, 0, 0.5), 0 0 0 10px #000099;
    position: absolute;
    left: -145px;
    top: -25px;
    z-index: 2;
}

.main-kei-select .title {
    color: #fff;
    background-color: #000099;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 25px;
    margin: 0 0 5px;
    border-radius: 10px;
    position: relative;
}

.main-kei-select .title:before,
.main-kei-select .title:after {
    content: '';
    background-color: #fff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%);
    position: absolute;
    left: -9px;
    top: 50%;
}

.main-kei-select .title:after {
    background-color: transparent;
    height: 3px;
    width: 55px;
    border-top: 9px dotted #000099;
    box-shadow: none;
    border-radius: 0;
    left: -68px;
}

.main-kei-select .description {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 0 10px;
}

.main-kei-select .kei-select:nth-child(even) {
    float: left;
    padding: 35px 100px 0 0;
    margin: 0 20px 20px 0;
}

.main-kei-select .kei-select:nth-child(even) .kei-select-icon {
    left: auto;
    right: -144px;
}

.main-kei-select .kei-select:nth-child(even) .title:before {
    left: auto;
    right: -9px;
}

.main-kei-select .kei-select:nth-child(even) .title:after {
    left: auto;
    right: -68px;
}

.main-kei-select .kei-select:nth-child(4n+2) .kei-select-icon {
    color: #00A79D;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 10px rgba(0, 0, 0, 0.5), 0 0 0 10px #00A79D;
}

.main-kei-select .kei-select:nth-child(4n+2) .title {
    background-color: #00A79D;
}

.main-kei-select .kei-select:nth-child(4n+2) .title:after {
    border-color: #00A79D;
}

.main-kei-select .kei-select:nth-child(4n+3) .kei-select-icon {
    color: #E3003F;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 10px rgba(0, 0, 0, 0.5), 0 0 0 10px #E3003F;
}

.main-kei-select .kei-select:nth-child(4n+3) .title {
    background-color: #E3003F;
}

.main-kei-select .kei-select:nth-child(4n+3) .title:after {
    border-color: #E3003F;
}

.main-kei-select .kei-select:nth-child(4n+4) .kei-select-icon {
    color: #BA52FF;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 10px rgba(0, 0, 0, 0.5), 0 0 0 10px #BA52FF;
}

.main-kei-select .kei-select:nth-child(4n+4) .title {
    background-color: #BA52FF;
}

.main-kei-select .kei-select:nth-child(4n+4) .title:after {
    border-color: #BA52FF;
}

@media screen and (max-width:767px) {

    .main-kei-select .kei-select,
    .main-kei-select .kei-select:nth-child(even) {
        width: 100%;
        padding: 15px 0 0 10px;
        margin: 0 0 20px;
    }

    .main-kei-select .kei-select-icon,
    .main-kei-select .kei-select:nth-child(even) .kei-select-icon {
        font-size: 30px;
        line-height: 48px;
        height: 50px;
        width: 50px;
        left: 0;
        top: -6px;
    }

    .main-kei-select .title {
        padding-left: 70px;
    }

    .main-kei-select .description {
        margin-left: 70px;
    }

    .main-kei-select .title:before,
    .main-kei-select .title:after {
        display: none;
    }
}

@media screen and (max-width:576px) {
    .main-kei-select .title {
        font-size: 18px;
    }
}

/***************************************  学校案内  ******************************************/
@media screen and (min-width: 737px) {

    /* pc */
    .school_guide_bg {
        background-image: url("../img/top_school_guide.jpg");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 628px;
    }
}

@media screen and (max-width:576px) {

    /* mobile */
    .school_guide_bg {
        background-image: url("../img/top_school_guide_m.jpg");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 294px;
    }
}

.school_guide_title {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px;
    font-family: 'Sawarabi Mincho', serif;
    text-align: center;
    font-weight: normal;
    color: #fff;
    display: block;
    font-size: 98px;
    line-height: 80px;
    text-shadow: 1px 1px 3px #ccc,
        1px -1px 3px #ccc,
        -1px 1px 3px #ccc,
        -1px -1px 3px #ccc;
}

/***************************************  学校説明会  ******************************************/
.block {
    /*position: absolute;*/
    padding: 20px 20px 20px;
    /*margin: 30px;*/
    font-size: .8em;
    line-height: 1.9;
    width: 320px;
    border: 1px solid #2794f4;
    overflow: visible;
}

.event_photo {
    padding: 10px 20px 20px;
    /*margin: 30px;*/
    border: 1px solid #2794f4;
}
