@charset "utf-8";

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior:smooth;

}
a{
    text-decoration: none;
}
img{
    width: 100%;
}
body{
    background-color: #fefefe;
    font-family: "Shippori Mincho", serif;
    background-image: url(../images/backimg.jpg);
}
h2{
    text-align: center;
    margin: 60px 0;
}
.fadeIn_up {
  opacity: 0;
  transform: translate(0, 50%);
  transition: 3s;
}
.fadeIn_up.is-show {
  transform: translate(0, 0);
  opacity: 1;
}
.fadeIn_left {
    opacity: 0;
    transform: translate(-50%, 0);
    transition: 2s;
  }
.fadeIn_left.is-show {
    transform: translate(0, 0);
    opacity: 1;
}
.fadeIn_right {
    opacity: 0;
    transform: translate(50%, 0);
    transition: 2s;
}
.fadeIn_right.is-show {
    transform: translate(0, 0);
    opacity: 1;
}
main{
    width: 80%;
    margin: 0 auto;
}
.underline02 {
    background: linear-gradient(transparent 40%, #fcff9d 60%);
  }
#loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #222222;
    text-align: center;
  }
header{
    position: relative;
}
.fvgakkou{
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 32px;
}
.fvimg{
    width: 50%;
}
.fvmozi{
    position: absolute;
    top: 15%;
    right: 15%;
    z-index: 10;
}
.fvimg2,.fvimg3,.fvimg4{
    position: absolute;
    width: 20%;
}
.fvimg2{
    right: 27%;
    top:41%;
}
.fvimg3{
    right: 5%;
    top: 5%;
}
.fvimg4{
    right: 5%;
    top: 60%;
}

.tokutyou{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-bottom:220px ;
    overflow: hidden;
}
.tokutyou h2{
    width: 100%;
}
.tokutyou p{
    width: 40%;
    margin: 0 auto;
}
.komento{
    position: absolute;
    bottom: 20px;
    right: 0;
    transform: rotate(-8deg);
}
.syokugyou{
    display: flex;
    flex-wrap: wrap;
}
.syokugyou p{
    text-align: center;
}
.syokugyou h2{
    width: 100%;
}
.syokugyou div{
    width: 30%;
    margin: 0 auto;
}
.syokugyou div img{
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    /* border-radius: ; */
}
.syoku{
    font-size: 20px;
    margin: 20px 0;
}


.sikaku{
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    margin: 0 auto;
    position: relative;
    margin-top: 50px;
}
.komento2{
    position: absolute;
    bottom: -110px;
    left: -320px;
    transform: rotate(-8deg);
    width: 50%;
}
.sikaku h2{
    width: 100%;
}
.sikaku div{
    width: 50%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}
.sikaku div img{
    width: 100%;
}


.zikan{
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
}
.zikan h2{
    width: 100%;
}
.zikan div{
    width: 47%;
    margin: 0 1.5%;
}
.zikan div img{
    border-radius: 10px;
}
footer{
    margin-top: 30px;
}
.tizu{
    display: flex;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
    margin-top: 50px;
}
.tizu h2{
    width: 100%;
}
.tizumozi{
    width: auto;
}
h3{
    font-size: 28px;
    margin-top: 50px;
}
.tizumozi p{
    margin-top: 15px;
}
.gtizu{
    margin: 0 auto;
    width: 450px;
    height: 300px;
}
.gtizu iframe{
    border-radius: 10px;
}
/* ボタン */

#btn{
    width: 80%;
    margin: 0 auto;
    display: flex;
    margin-top: 50px;
}
.button{
    margin: 0 auto;
}
.button a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    width: auto;
    padding: 20px 50px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}

.button a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(107,182,255, 0.2);
    transition: all 0.3s;
    border-radius: 10px;
    }
.button a:hover::before {
  opacity: 0;
  transform: scale(0.4, 0.4);
}
.button a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 2px solid rgb(107,182,255, .4);
  transform: scale(1.2, 1.2);
  border-radius: 10px;
}
.button a:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}

/* ----- フッターエリア ----- */

.footer{
    background-image: url(../images/footerimg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px;
    margin-top: 100px;
}
.small{
    margin-top: 150px;
    color: #ffffff;
}
footer .name{
    font-size: 30px;
	padding-top: 1vw;
    color: #ffffff;
}
footer .name a{
    color: #ffffff;
}
footer .address{
	color: #ffffff;
	line-height: 2;
	border-bottom: 1px solid #b1b1b1;
	padding-bottom: 3vw;
}





/* ----- 学科のリンク先 ----- */
footer .Department{
	padding-top: 3vw;
}
footer .Department li{
	display: inline-block;
	padding-right: 2vw;
}
footer .Department li a{
	list-style: none;
	text-decoration: none;
	color: #ffffff;
}
footer .Department li a:hover{
	color: #bebebe;
	transition: 1s;
}
footer .sns{
	padding-top: 3vw;
	padding-left: 10vw;
}
footer .sns li{
	display: inline-block;
	padding-right: 0.5vw;
    color: #ffffff;
}



/* ----- SNSアイコン ----- */
footer .sns img{
	width: 1.3vw;
}
footer .flex-area{
	display: flex;
}

#stalker {
    pointer-events: none;
    position: fixed;
    top: -8px;
    left: -8px;
    width: 16px; 
    height: 16px; 
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    transform: translate(0,0);
    transition: transform 0.2s;
    transition-timing-function: ease-out;
    z-index: 999;
    box-shadow: 0px 0px 10px 10px #ffffff ;

}



@media screen and (max-width: 480px) {
    header{
        height: 100vh;
    }

    .fvimg{
        width: 70%;
    }
    main{
        width: 100%;
    }
    .fvmozi{
        width: 70%;
        right: 17%;
        top: 33%;
    }
    .fvimg2{
        top: 45%;
        right: 40%;
        width: 60%;
    }
    .fvimg3{
        top: 25%;
        width: 35%;
    }
    .fvimg4{
        width: 50%;
        top: 65%;
    }
.fvgakkou{
    font-size: 16px;
    top: 3px;
    left: 3px;
    }
    .tokutyou{
        display: block;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 0;
    }
    .tokutyou p{
        width: 100%;
    }
    .komento{
        display: none;
    }

    .syokugyou{
        display: block;
    }
    .syokugyou div{
        width: 90%;
        margin-bottom: 90px;
    }
    .sikaku{
        display: block;
        width: 100%;
    }
    .sikaku div{
        width: 90%;
    }
    .zikan{
        display: block;
    }
    .zikan div{
        width: 90%;
        margin: 0 auto;
        margin-bottom: 50px;
    }
    #btn{
        display: none;
    }
    .footer{
        padding: 25px;
    }
    footer .flex-area{
        display: block;
    }
    footer .sns{
        padding: 0 ;
        display: flex;
        margin-top: 15px;
    }
    footer .sns li{
        width: 10%;
        margin: 0 10px;
        margin: 0 auto;

    }
    footer .sns img{
        width:100%;
    }
    #stalker{
        display: none;
    }
}

