@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

html {
    width: 100%;
}

body {
    position: relative;
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    left: 0;
    background-color: #411e1a;
}

#wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto;
    background-color: #411e1a;
}

img {
    max-width: 100%;
}

.sp_only {
    display: none;
}

.pc_only {
    display: block;
}



/*==================================================

size m
=================================================*/

@media only screen and (min-width:1px) and (max-width: 768px) {

    body {
        background-size: 100% auto;
        left: 0;
    }

    #wrapper {
        width: 100%;
        min-width: 100%;
    }

    /*==================================================
	
	header
	=================================================*/


    .sp_only {
        display: block;
    }

    .pc_only {
        display: none;
    }
}

/*==================================================

header
=================================================*/

header {
    width: 100%;
    min-width: 100%;
    position: relative;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto;

}

#header-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    position: absolute;
    z-index: 5;
}

/* header PC */

#header-logo {
    width: 100%;
    max-width: 300px;
    line-height: 100%;
    position: absolute;
    z-index: 5;
    left: 20px;
}

.toptitle {
    position: absolute;
    z-index: 5;
    width: 100%;
    max-width: 280px;
    left: 2vw;
    top: 6vw;
}

.message {
    width: 100%;
    max-width: 480px;
    margin: auto;
    padding: 0;
    position: absolute;
    z-index: 5;
    right: 5vw;
    top: 18vw;
}


.mv {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0
}





/* header img */



@media only screen and (min-width:1px) and (max-width: 768px) {

    header {
        width: 100%;
        min-width: 100%;
        position: relative;

    }

    #header-logo {
        width: 50%;
        max-width: 100%;
        line-height: 100%;
        position: absolute;
        z-index: 5;
        left: 5%;
    }

    .mv {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin: auto;
    }

    .mv img {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .toptitle {
        z-index: 5;
        top: 50px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 60vw;
        max-width: 100%;
    }

    .message {
        width: 64vw;
        /* max-width: 249px; */
        margin: 0 auto;
        padding: 0;
        z-index: 5;
        left: 0;
        right: 0;
        bottom: 0;
        top: inherit;
    }

}

@media print {
    header {
        position: absolute;
    }
}

main {
    margin: 0;
    background-color: #411e1a;
    padding: 0;
}

/* 印刷時 */


#campusmap {
    width: 100%;
    max-width: 98%;
    margin: auto;
}

#campusmap h2 {
    width: 516px;
    max-width: 98%;
    margin: 80px auto 20px;
}



#campusmap .read {
    width: 700px;
    max-width: 98%;
    margin: 20px auto 80px;
}



.map-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* SP向け 横スクロール対応 */

.map-wrapper {
    width: 100%;

}

.map-inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.map-img {
    display: block;
    width: 1200px;
    /* 元画像サイズ */
    height: auto;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
}

.map-pin img {
    width: 40px;
    height: auto;
}

/* モーダル中央表示 */
.pin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.pin-modal[style*="flex"] {
    display: flex;
}

.pin-modal-content {
    position: relative;
    max-width: 850px;
    width: 90%;
}

.pin-modal-body img {
    width: 100%;
    height: auto;
}

.pin-modal-close {
    position: absolute;
    top: 45px;
    right: 40px;
    font-size: 0;
    cursor: pointer;
    background: url(../../img/close.png) no-repeat center center /contain #eddfc3;
    width: 40px;
    height: 40px;

}

/* スマホ下部情報 */
.pin-info {
    display: none;
    padding: 20px;
    text-align: center;
    background: #f5f5f5;
}

@media screen and (min-width: 769px) and (max-width: 850px) {

    .pin-modal-close {
        top: 35px;
        right: 25px;

    }
}

@media screen and (max-width: 768px) {

    #campusmap .read {
        width: 65vw;
    }

    .pin-info {
        display: block;
        background: #411e1a;
    }

    .map-wrapper {
        overflow: visible;
        /* SimpleBarが制御 */
    }

    /* SimpleBar カスタムスタイル */
    .map-wrapper .simplebar-track.simplebar-horizontal {
        height: 12px;
        background: rgba(237, 223, 195, 0.3);
        border-radius: 0;
        bottom: -30px;
        width: 87vw;
        margin: 0 auto;
    }

    .map-wrapper .simplebar-scrollbar:before {
        background: #eddfc3;
        opacity: 1;
        border-radius: 0;
    }

    .map-wrapper .simplebar-scrollbar.simplebar-visible:before {
        opacity: 1;
    }

    .sp_map_area {
        padding: 10px;
    }

    .sp_map_area>div {
        margin-bottom: 10px;
    }

    .sp_map_area>div img {
        display: block;
        margin: 0 auto;
    }

    .map-inner {
        width: 1000px;
    }

    .pin-modal {
        display: none;
    }
}



p {
    color: #111;
    text-align: center;
    font-size: 1.76rem;
    padding-bottom: 50px;
    font-weight: 400;
    line-height: 2.4;
}




h4 {
    margin: auto;
    text-align: center;
    font-size: 2.26rem;
    color: #fff;
    padding: 30px 0 10px;
    font-weight: 400;
    border-top: #EEE 1px solid;
}

p.qed {
    padding-bottom: 10px;
}


#link {
    margin: auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

#link .btn {
    margin: 60px auto 0;
    padding-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 800px;
}

#link .btn li {
    width: 360px;
    padding: 20px;
}

.link a:hover img {
    opacity: 0.8;
}

@media (max-width: 768px) {

    #link {
        border-top: 1px solid #fff;
        padding-top: 50px;
        margin-top: 50px;
    }

    #link .btn {
        margin: 20px auto 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
    }

    #link .btn li {
        width: 100%;
        padding: 10px 20px;
    }

    #link .btn li:last-child {
        width: 100%;
        padding: 10px 20px 10px;
    }

    #link .btn img {
        filter: brightness(0) invert(1);
    }


}

/*==================================================

footer
=================================================*/




.pagetop {
    width: 150px;
    height: 45px;
    position: fixed;
    right: -150px;
    bottom: 200px;
    z-index: 1001 !important;

    /* animation */
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.pagetop-visible {
    right: 0;
}

#footer-pagetop {
    width: 100%;
    max-width: 49px;
    text-align: center;
    margin: 5% auto 0;
}




/* footer img */

footer img, #footer-pagetop img {
    width: 100%;
    max-width: 100%;
    height: auto;
}




/*==================================================
	
	footer
	=================================================*/

.pagetop {
    bottom: 100px;
}

.pagetop-visible {
    right: -100px;
}

footer {
    width: 100%;
    border-top: 1px solid #eddfc3;
    margin-top: 0;
    z-index: 6 !important;
    background-color: #411e1a;
}

footer .footer_inner {

    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 50px 0 40px;
}


footer .footer_inner .footer_logo {
    width: 400px;
    max-width: 74%;
    margin: 10px auto;
}

footer .footer_inner .copyright {
    width: 380px;
    max-width: 74%;
    margin: 2% auto 0;
}

@media (max-width: 768px) {
    footer {
        border-color: #fff;
    }

    footer .footer_inner .footer_logo {
        width: 64%;
        max-width: 64%;
        margin: 10px auto;
    }

    footer .footer_inner .copyright {
        width: 64%;
        max-width: 64%;
        margin: 20px auto 0;
    }
}

.footer_recruit {
    padding: 30px;
    background-color: #fff;
}

.footer_recruit img {
    width: 258px;
}