@charset "UTF-8";
/* CSS Document */

#slider {
    position: relative;
	width: 100%;
	/*height: 77vh;*/
    height: 100%;
	overflow: hidden;
}
#slider h1 {
    position: absolute;
    top: 1em;
    left: 1em;
}

#slider .main_mask {
    width: 63%;
    height: 100%;
    overflow: hidden;
}
#slider .main_mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#slider-sp {
    display: none;
}
.vegas-slide-inner {
    background-size: 100% !important;
    background-position: top center !important;
}

@media screen and (max-width: 980px) {
    #slider {
        height: 550px;
    }
}

@media screen and (max-width: 780px) {
    #slider {
        display: none;
    }
    #slider-sp {
        display: block;
        position: relative;
        width: 100%;
        height: 100vh;
    }
    #slider-sp .sp-mask {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media screen and (min-width: 413px) {
    #slider-sp {
        height: 77vh;
    }
}

@media screen and (max-width: 412px) {
    #slider-sp {
        height: 75vh;
    }
}

@media screen and (min-height: 890px) {
    #slider-sp {
        height: 80vh;
    }
}

@media screen and (max-width: 320px) {
    #slider-sp {
        height: 95vh !important;
    }
}

/*@media screen and (max-height: 610px) {
    #slider-sp {
        height: 70vh;
    }
}*/

/*@media screen and (max-width: 430px) {
    #slider-sp {
        height: 60vh;
    }
}

@media screen and (max-width: 378px) {
    #slider-sp {
        height: 75vh;
    }
}

@media screen and (min-height: 780px) {
    #slider-sp {
        height: 60vh;
    }
}
@media screen and (min-height: 890px) {
    #slider-sp {
        height: 70vh;
    }
}*/

/*@media screen and (max-width: 380px) {
    #slider-sp {
        height: 73vh;
    }
}*/

/*@media screen and (max-width: 375px) {
    #slider-sp {
        height: 61vh;
    }
}*/
/*@media screen and (max-height: 800px) {
    #slider-sp {
        height: 59vh;
    }
}*/

/*@media screen and (max-height: 788px) {
    #slider-sp {
        height: 78vh;
    }
}*/


@media screen and (max-width: 340px) {
    #slider-sp {
        height: 75vh
    }
}


#message {
    background-image: url("../img/img_message.jpg");
    background-position: top 2em left 0;
    background-size: auto 85%;
    background-color: #0071b7;
    padding: 4em 2em 4em 0;
}
#message .textBox {
    background: #0090b6;
    padding: 2em;
    color: #FFF;
    width: 45%;
    margin-left: 55%;
    line-height: 1.8em;
}
#message .textBox h2 {
    font-family: 'Shippori Mincho', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 220%;
    padding: 0.4em 0 0.75em;
}
#message .textBox .textE {
    font-family: "acumin-pro-semi-condensed", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: rgba(255,255,255,.60);
    font-size: 180%;
    letter-spacing: 0.05em;
}
#message .textBox a {
    background: #FFF;
    display: inline-block;
    color: #0071b7;
    font-family: 'Shippori Mincho', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-weight: 700;
    font-size: 120%;
    padding: 0.7em 3em;
    margin: 1em 0 0 0;
    border-radius: 30px;
    text-decoration: none;
}
#message .textBox a:hover {
    background: #0071b7;
    color: #FFF;
}

@media screen and (max-width: 1100px) {
    #message {
        background-size: auto 75%;
        background-position: center left -5%;
    }
    #message .textBox br {
        display: none;
    }
}

@media screen and (max-width: 780px) {
    #message {
        background-size: 100% auto;
        background-position: top center;
    }
    #message .textBox {
        width: 90%;
        margin-left: 10%;
        margin-top: 48%;
    }
}



#history {
    padding: 4em 0;
    text-align: center;
    background: url("../img/bg_history.jpg") no-repeat center;
    background-size: cover;
    color: #FFF;
    line-height: 1.8em;
    position: relative;
}
#history .textE {
    font-family: "acumin-pro-semi-condensed", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: rgba(255,255,255,.60);
    font-size: 180%;
    letter-spacing: 0.05em;
}
#history h2 {
    font-family: 'Shippori Mincho', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 270%;
    padding: 0.4em 0 0.75em;
    letter-spacing: 0.05em;
    margin-bottom: 0.5em;
}
#history h2:before {
    content: "砂丘研究から乾燥地研究へ";
    font-size: 50%;
    display: block;
    font-weight: 500;
    margin-bottom: 0.5em;
}

#history .textArea {
    padding: 1em;
}

.slider {
    margin-top: 2em;
}
.slider div {
    margin-right: 5px;
    margin-left: 5px;
}

.slider div img {
    height: auto;
    width: 100%;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,.5));
    box-sizing: border-box;
}

.box-history {
    display: flex;
    max-width: 1200px;
    padding: 1em;
    box-sizing: border-box;
    margin: 2em auto;
    justify-content: space-between;
    align-items: center;
    font-family: 'Shippori Mincho', YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.box-inner {
    width: 74%;
    display: flex;
    padding: 1em;
    background: #FFF;
    color: #603813;
    outline :1px solid #b3810b; /* 線の太さ・線状・色 */
    outline-offset : -5px; /* どれだけ内側に線を表示したいかを負の値で指定 */
    justify-content: space-around;
    align-items: center;
    font-size: 125%;
    font-weight: 700;
}

.btnW {
    background: #FFF;
    padding: 1.9em 0.5em;
    display: block;
    width: 25%;
    outline : 1px solid #b3810b; /* 線の太さ・線状・色 */
    outline-offset : -5px; /* どれだけ内側に線を表示したいかを負の値で指定 */
    font-size: 125%;
    font-weight: 700;
    color: #603813;
    text-decoration: none;
}
.btnW:hover {
    background: #b2800b;
    outline: 1px solid #FFF;
    color: #FFF;
}
.btnB {
    background: #008fb5;
    color: #FFF;
    padding: 1em;
    white-space: nowrap;
    font-size: 90%;
    display: block;
    text-decoration: none;
    width: calc((100% - 10em) / 2);
    margin-left: 0.5em;
}
.btnB:hover {
    background: #0071b7;
}

@media screen and (max-width: 1000px) {
    .btnB {
        width: calc((100% - 6em) / 2);
    }
}

@media screen and (max-width: 780px) {
    #history .textArea br {
        display: none;
    }
    .box-history {
        display: block;
    }
    .box-inner {
        width: 100%;
        display: block;
        margin-top: 0.5em;
    }
    .btnW {
        width: 100%;
    }
    .btnB {
        width: 100%;
        margin-top: 0.5em;
        margin-left: 0;
    }
}