@charset "utf-8";
/* 全体用 */
html{
  height: 100%;
  position: relative;
}

body{
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-weight: 400;
  color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
  height: 100%;
  width: 100%;
}

a{
  text-decoration: none;
}

.center{
  text-align: center;
}

ul{
  list-style: none;
}

.flex{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.left{
  text-align: left;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	top: -50px;
	right:0;
	bottom:-50px;
	left: 0;
	background: #bc3039;
	z-index: 999;
	text-align:center;
	color:#333;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  color: #fff;
}

#splash-logo img,
#splash-logo canvas{
	width:50px;
}

/*画面遷移アニメーション*/

.splashbg{
	position: fixed;
	top: 0;
	right:0;
	bottom:0;
	left: 0;
	border-width: 0px;/*開始はボーダーの太さは0*/
	border-style:solid;
    border-color: #bc3039;/*拡大する四角の色*/
	animation-duration:.5s;
	animation-fill-mode:forwards;
}

@keyframes backBoxAnime{
	99.9% {/*アニメーション終了ぎりぎりまで*/
        z-index: 2;/*最前面に*/
		border-width: 0px;/*開始はボーダーの太さは0*/
	}
    100%{
       z-index: -1; /*最背面に*/
        border-width: 0px;/*終了はボーダーの太さは0*/
    }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
    position: relative;
	opacity: 0;/*はじめは透過0に*/
  /* overflow: hidden; */
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

header{
  background-image: url(../img/header.jpg);
  background-size: cover;
  width: 100vw;
  height: 100vh;
  position: relative;
}

h1{
  position: fixed;
    top: 10px;
	left: 20px;
  z-index: 999;
}

h1 img{
  width: 30%;
}

#header-area{
	display: flex;
}



/* ヘッダー内のニュースエリア */
#news-area{
  width: 300px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 10px;
  position: absolute;
   bottom: 15px;
   right: 15px;
}

#news-area img{
  width: 50%;
}

#news-area p{
  font-weight: bold;
  color: #333;
}

#news-area p span{
  font-size: 13px;
}

.gallery-list{
  display: flex;
  justify-content: center;
}

/*===========================================================*/
/*ニュースエリア用モーダル */
/*===========================================================*/
/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before{
	background:#ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}

/*===========================================================*/
/*ナビゲーション用 */
/*===========================================================*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	bottom:-120%;
	width:100vw;
    height: 100vh;/*ナビの高さ*/
	background:#d0b05b;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    bottom: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    letter-spacing: 0.1em;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding: 0;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*===========================================================*/
/*MENUが×に */
/*===========================================================*/

.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:0;
	right: 0;
	cursor: pointer;
    width: 80px;
    height:70px;
    border-left:2px solid #333;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
  }

.openbtn span:nth-of-type(1),
.openbtn span:nth-of-type(3) {
    height: 2px;
	background: #333;
  	width:30%;
    opacity: 0;
    top:22px;
    left:20px;
 }

.openbtn span:nth-of-type(2) {
	top:22px;
	left:18px;
	text-transform: uppercase;
	color: #333;
    font-size: 0.9rem;
}

.openbtn span:nth-of-type(3) {
    top:35px;
}


/*activeクラスが付与されると線が回転して×になり、Menu表記をしている2つ目の要素が透過して消える*/

.openbtn.active span:nth-of-type(1),
.openbtn.active span:nth-of-type(3) {
    opacity:1;
}

.openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
	opacity:0;
}

.openbtn.active span:nth-of-type(3){
    top: 40px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
}


/* コンテナ用 */
#container{
  background-color: #E4E7E6;
  position: absolute;
   top: 0;
  overflow: hidden;
}

/* コンテンツ用 */
#contents{
  opacity:0;
  position: relative;
  min-height: 100%;
}
 body.appear #contents{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay:0.2s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes PageAnimeAppear{
  0%{
    opacity:0;
  }
  100%{
    opacity:1;
  }
}

/*===========================================================*/
/*トップニュース*/
/*===========================================================*/
#topnews{
	text-align: center;
	padding: 30px 70px;
}

#topnews h3{
	font-size: 22px;
	font-weight: bold;
	color: #d51519;
	font-family: 'Noto Sans JP', sans-serif;
}

/*#topnews section{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
	width: 100%;
	margin: 30px auto;
}*/


#topnews section img{
	width: 60%;
}

#pdf{
	text-align: center;
}
#pdf p{
	font-size: 1.5em;
	font-weight: bold;
}
#download{
	background-color: #d51519;
	padding: 10px;
	border: none;
}
#download a{
	color: #fff;
	font-size: 1.1em;
}
/*===========================================================*/
/*ふわっと下から現れる */
/*===========================================================*/
.fadeUp{
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from{
    opacity: 0;
    transform: translateY(100px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

#lead{
  background-image: url(../img/lead.jpg);
  background-size: cover;
  margin: 30px;
  padding: 50px;
}

#lead h2{
  font-size: 20px;
  margin-left: 20px;
}

/* news用 */
#news{
  width: 100vw;
  height: auto;
  margin-top: 40px;
}

#news h3,
#about h3,
#schedule h3{
  font-size: 28px;
  font-style: italic;
  text-align: center;
}

#newsbox{
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
}

#news img{
  width: 300px;
  height: 225px;
  margin: 15px;
  position: relative;
}

.bgDU span.mask p{
  position: absolute;
   top: 15px;
   left: 20px;
   color: #fff;
   display: inline-block;
   text-shadow: 1px 1px 5px rgba(0,0,0,0.6)
 }

#news h4.smallp{
  font-size: 13px;
  text-align: left;
}

/* 背景が出現 */
.bgDU{
  position: relative;
  width: 300px;
  margin: 25px;
}

.bgDU span.mask{
  position: relative;
  display: inline-block;
  line-height: 0;
  overflow: hidden;
  width: 300px;
}

.bgDU span.mask::before{
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  opacity: 0;
  transition: .3s ease-in-out;
  transform: translateY(100%);
  background: #31394e;
  width: 100vw;
  height: 100%;
}

.bgDU:hover span.mask::before{
  opacity: 1;
  transform: translateY(0);
}

.bgDU span.cap{
  position: absolute;
  opacity: 0;
  transition: .5s ease-in-out;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  line-height: 1.5;
  font-size: 15px;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
  width: 250px;
}

.bgDU:hover span.cap{
  opacity: 1;
}

/* about用 */

/*===========================================================*/
/*ふわっと左から現れる */
/*===========================================================*/
.fadeLeft{
  animation-name: fadeLeftAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeLeftAnime {
  from{
    opacity: 0;
    transform: translateX(-100px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

#about-1 h3,
#about-2 h3,
#about-3 h3{
  font-size: 19px;
}

#about-1 section,
#about-2 section,
#about-3 section{
    background-color: #fff;
    padding: 20px 10px 10px 10px;
}

#about p{
  font-size: 14px;
}

h3{
  font-size: 15px;
}

#about h4,
#red{
  color: #fff;
  background-color: #bc3039;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
}

/*===========================================================*/
/*ふわっと 右から現れる */
/*===========================================================*/
.fadeRight{
  animation-name: fadeRightAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeRightAnime {
  from{
    opacity: 0;
    transform: translateX(100px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

/* アクセス用 */
#access{
  padding: 40px 0;
}

#access img{
  display: block;
  margin: 40px auto;
  width: 40%;
}

#access-p{
  width: 500px;
}

/* フッター用 */
footer{
  background-color: #f8f8f8;
  width: 100vw;
  text-align: center;
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

footer p{
  color: #ceaf55;
  font-weight: bold;
  font-style: normal;
  line-height: 2;
}

footer img{
  width: 8%;
}

#iconarea{
  text-align: center;
  padding: 0;
}

#iconarea p{
  font-size: 18px;
  line-height: 1.5;
}

#iconarea p span{
  font-size: 12px;
}

#icon img{
  width: 5%;
  margin: 70px 20px 20px 20px;
}

#link{
  margin-top: 100px;
  width: 100%;
}

#link img{
  width: 60%;
}

#copyright{
  width: 100vw;
  height: 40px;
  background-color: #E4E7E6;
  padding-top: 10px;
  position: absolute;
   bottom: 0;
}

/* ページトップリンク */
#page-top{
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  opacity: 0;
  transform: translateY(100px);
}

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from{
    opacity: 0;
    transform: translateY(100px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes Downanime{
  from{
    opacity: 1;
    transform: translateY(0);
  }
  to{
    opacity: 1;
    transform: translateY(100px);
  }
}

#page-top a{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #bc3039;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 35px;
  font-weight: bold;
  transition: all 0.3s;
}

/*動きのcss*/

/* パタッ(左上へ） */
.flipLeftTop{
  animation-name: flipLeftTopAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

/* 4-2 ふわっ（下から） */
.fadeUp{
animation-name: fadeUpAnime;
animation-duration: 1s;
animation-fill-mode: forwards;
opacity: 0;
}

@keyframes flipLeftTopAnime{
  from{
    opacity: 0;
    transform: translate(-20px,80px) rotate(-15deg);
  }
  to{
    opacity: 1;
    transform: translate(0,0) rotate(0deg);
  }
}

@keyframes fadeUpAnime{
  from{
    opacity: 0;
    transform: translateY(100px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.flipLeftTopTrigger,
.fadeUpTrigger{
  opacity: 0;
  /* -webkit-backface-visibility: hidden;
  backface-visibility: hidden; */
}

/* ここから下層ページ */

/* スケジュール */
#contents,
#access,
#newspage,
#staff_player,
#career,
#news-list{
  background-color: #E4E7E6;
  width: 100vw;
  overflow: hidden;
}

#access-title{
  background-image: url(../img/title_01.jpg);
}

.titlebox{
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 280px;
}

.title h3{
  color: #fff;
  font-size: 25px;
  padding-top: 100px;
  font-style: italic;
}

.title h4{
  font-size: 16px;
  color: #fff;
  padding-bottom: 30px;

}

.calendar{
  padding: 40px 0 100px 0;
}

.calendar iframe{
  width: 70%;
  height: 700px;
}

/* 1文字ずつ出現 */
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

/* 線が中央からのびる */
.border{
	position: relative;
}

.border:before{
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	border-bottom: solid 2px #fff;
	transform: translateX(-50%);
	animation: border_anim 3s linear forwards;
}

@keyframes border_anim {
	0%{
		width: 0%;
	}
	100%{
		width: 10%;
	}
}

/* news */
#news-title{
  background-image: url(../img/title_02.jpg);
}

.navy-button{
  text-align: center;
  padding-top: 30px;
}

.navy-button h4{
  color: #fff;
  background-color: #31394e;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
}

.red-button a{
  color: #fff;
  background-color: #bc3039;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
}

#news_section{
  margin-top: 80px;
}

#news_section ul{
  padding: 0;
}

#news_section ul li{
  margin: 30px 0;
  padding: 15px 0;
}

#news_section ul li:nth-child(2n){
  background-color: #f5f5f5;
}

#news_section ul li img{
  width: 20%;
  padding-right: 40px;
  margin-right: 40px;
}

#news_section ul li p{
  width: 60%;
}

#news_section p.button{
	background-color: #fff;
	border: 1px solid #333;
	padding: 7px;
	width: 11em;
	margin: 10px auto;
}

#news_section p.button a{
	color: #bc3039;
}

/* contact */
form{
  width: 50%;
  margin: 0 auto;
  min-width: 9rem;
}

#confirm{
  width: 50%;
}

/* staff */
#staff-title{
  background-image: url(../img/title_03.jpg);
}

.staff table,
.career table{
  width: 70%;
  margin: 70px auto;
  border-collapse:separate;
  border-spacing: 0;
}

.staff caption{
  font-size: 28px;
  color: #333;
  margin-bottom: 50px;
}

.staff caption span{
  font-size: 18px;
}

.staff table tr td:nth-child(3){
  width: 50%;
}

.staff table th:first-child{
  border-radius: 5px 0 0 0;
}

.career table th{
  border-radius: 5px 5px 0 0;
}

.staff table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

.staff table th{
  text-align: center;
  color:white;
  background: linear-gradient(#829ebc,#225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  width: 20%;
  padding: 10px 0;
}

.staff table td,
.career table td{
  text-align: left;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  width: 20%;
  padding: 10px;
}

.staff table td:last-child,
.career table td:last-child{
  border-right: 1px solid #a8b7c5;
}

.staff table tr:last-child td:first-child,
.career table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

.staff table tr:last-child td:last-child,
.career table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

/* 進路 */
#career-title{
  background-image: url(../img/title_04.jpg);
}

.career table th{
  text-align: center;
  color:white;
  background: linear-gradient(#ec6d71,#bc3039);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  width: 20%;
  padding: 10px 0;
}

/* 過去のニュース一覧 */
#news-list section{
  margin: 50px;
}

#news-list h5{
  padding-top: 120px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #333;
  font-size: 24px;
  font-weight: bold;
}

#news-list a{
  color: #333;
}

span.indent {
	margin-left: 65px; 
	font-weight: normal;
}
