/*INDEXページのスタイル（PC用）*/

/* WEBフォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=Yusei+Magic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

div.top_image_area{
    width: 1000px;
    height: 750px;
    animation: img_anime 16s ease infinite;
    padding: 0px;
    margin: 0px;
    position: relative;
}

@keyframes img_anime {
          0% {
          background-image: url("back_index1.jpg"); /* 背景画像1を指定 */
          }
          20% {
          background-image: url("back_index1.jpg"); /* 背景画像1を指定 */
              }
          35% {
          background-image: url("back_index2.jpg"); /* 背景画像2を指定 */
              }
          53% {
          background-image: url("back_index2.jpg"); /* 背景画像2を指定 */
              }
          68% {
          background-image: url("back_index3.jpg"); /* 背景画像3を指定 */
              }
          85% {
          background-image: url("back_index3.jpg"); /* 背景画像3を指定 */
              }
          100% {
          background-image: url("back_index1.jpg"); /* 背景画像1を指定 */
              }
          }


div.title_area{
    position: absolute;
	background-color: #333333;
	opacity: 0.5;
	box-shadow: 1px 5px 3px gray;
    top: 280px;
    left: 20px;
	padding: 20px;
}

div.title, div.title p{
    padding: 0px;
    margin: 0px;
    font-family: sans-serif;
    text-shadow: 2px 2px 1px #000000;
	font-family: 'Noto Sans', sans-serif;
	font-weight: 900;
}

div.faculty{
    font-size: 36px;
    color: #ccccff;
}

div.department{
    font-size: 36px;
    color: #ccccff;
}

div.lab{
    font-size: 54px;
    color: #ccccff;
}

div.eng_area{
    position: absolute;
    top: 580px;
    right: 10px;
    text-align: right;
}

div.engtitle, div.engtitle p{
    padding: 0px;
    margin: 0px;
    font-family: serif;
    color: #ffffff;
    text-shadow: 2px 2px 1px #000000;
}

div.englab{
    font-size: 24px;
}

div.engdep{
    font-size: 12px;
    font-style: italic;
}

div.revise{
    position: absolute;
    top: 700px;
    width: 1000px;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 2px 2px 1px #000000;
}

div.index_menu_area{
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    width: 1000px;
    box-shadow: 3px 0px 10px gray;  /*ブロック全体の影付け*/
}

div.index_menu_area a.menus{
    font-size: 18px;
    width: 248px;
    height: 50px;
    display: block;
    float: left;
    text-align: center;
     padding: 5px 0px;
    margin-top:0px;
    margin-bottom: 0px;
    border: solid 1px #999999;
    overflow: hidden;

    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear 0;
    -o-transition: all 0.2s linear 0;
    -ms-transition: all 0.2s linear 0;
	transition: all 0.2s linear 0;
	font-family: 'Noto Sans', sans-serif;
}

span.description{
    font-size: 70%;
}



p.notice{
    width: 1000px;
    text-align: right;
    font-size: 10px;
    position: absolute;
    top: 725px;
}

/*INDEXページのスタイル（mobile用）*/
@media screen and (max-width: 1020px) {
div.top_image_area{
    width: 1000px;
    height: 2250px;
	background-image:url("back_index.jpg");
	background-repeat: no-repeat;
    padding: 0px;
    margin: 0px;
    position: relative;
}
div.eng_area{
    position: absolute;
    top: 580px;
	left: 450px;
    text-align: left;
}
div.title_area{
    position: absolute;
	background-color: #333333;
	opacity: 0.7;
	box-shadow: 1px 5px 3px gray;
    top: 280px;
	left: 670px;
	padding: 20px;
}
div.title, div.title p{
    padding: 0px;
	margin: 0px;
	text-align: right;
    font-family: sans-serif;
    text-shadow: 2px 2px 1px #000000;
}


	div.revise{
    position: absolute;
    top: 680px;
	left: 400px;
    width: 600px;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 2px 2px 1px #000000;
}
	div.index_menu_area{
    position: absolute;
    top: 0px;
	left: 0px;
    margin: 0px;
    padding: 0px;
    width: 400px;
    height: 750px;
}
	div.index_menu_area a.menus{
    font-size: 28px;
    width: 400px;
    height: 90px;
    display: block;
    float: left;
    text-align: center;
	padding: 0px;
    margin-bottom: 2px;
    border: solid 1px #999999;
    overflow: hidden;
    box-shadow: 3px 0px 10px gray;  /*ブロックの影付け*/
    border-radius: 0px;

    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear 0;
    -o-transition: all 0.2s linear 0;
    -ms-transition: all 0.2s linear 0;
    transition: all 0.2s linear 0;
}
	p.notice{
    width: 1000px;
    text-align: right;
    font-size: 10px;
    position: absolute;
    top: 725px;
}
	
}


