@charset "utf-8";

/*
Theme Name: 龍谷高等学校中等部
Theme URI:
Description:
Author:
Author URI:
Version: 1.0.1
*/

html{
	margin:0!important;
}

body{
	width: 100%;
	display:block;
	margin:0!important;
	position:relative;
	letter-spacing: 0.08em;
	line-height: 1.85;
  	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
	font-style: normal;
	font-weight: 500;	
	color: #242424;
}

a{
	transition: 0.4s;
}

a:hover{
	opacity: 0.6;
}

.fix__button{
	display:block;
	width: 190px;
	height: 190px;
	position:fixed;
	right: 20vw;
	bottom: 95px;
	z-index: 9999;
}

.fix__button img{
	width: 100%;
}

.enfont{
	font-family: 'Optima' ,"游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.tb-img{
	display: none;
}

.purple{
	color: #3E4393!important;
}

.sm-main{
	display: none!important;
}

.mainV{
	width: 100%;
	min-height: 920px;
	position: relative;
	transition: 0.8s;
}

.mainV .mv{
	position:absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 920px;
	object-fit: cover;
	transition: 1s;
}

.mainV .mv img.v{
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.visual2{
	opacity: 0;
	z-index: 2;
}

.mainV.mv2  .visual2{
	opacity: 1;
}

header{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 3;
}

.header-flex{
	display: flex;
	width: 1260px;
	margin:27px auto 0;
	padding:0 30px;
	max-width: 100%;
	box-sizing:border-box;
}

.header-left{
	width: 27%;
	box-sizing: border-box;
	padding-right: 20px;
}

.header-right{
	width: 73%;
	box-sizing: border-box;
	padding-left: 20px;
}

.header-right ul{
	margin:16px 0 0;
	display: flex;
	justify-content: space-between;
	padding: 0;
	width: 100%;
}

.header-right ul li{
	list-style: none;
	box-sizing: border-box;
	padding:0 5px;
}

.header-right ul li a{
	color: #3E4393;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 17px;
}

header h1{
	margin: 0;
}

header h1 a img{
	width: 217px;
}

.vertivcal-img{
	margin: 0;
}

.vertivcal-img img{
	display: block;
	margin:0 auto;
	padding-top: 168px;
	width: 94px;
}

.openimg{
	width: 138px;
	display: block;
	margin:45px auto 0;
}

.dateimg{
	position: absolute;
	bottom: 0;
	width: 741px;
	left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);	
}

.whats-area{
	margin:126px auto 0;
	display: block;
	width: 1060px;
	padding:0 30px;
	box-sizing: border-box;	
}

.whats-area h2{
	margin: 0 0 100px;
	color: #3E4393;
	font-size: 49px;
	font-weight: 400;
	text-align: center;
}

.whats-area a{
	text-decoration: none;
	display: block;
}

.thumbnail img{
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.date{
	font-size: 13px;
	color: #C4C1DD;
	margin-top:20px;
	margin-bottom: 0;
	display: inline-block;
}

.category{
	min-width:125px;
	width: 125px;
	text-align: center;
	font-size: 13px;
	background: #C4C1DD;
	color: white;
	margin-top: 15px;
	margin-bottom: 0;
}

.whats-title{
	font-size: 16px;
	font-weight: 500;
	color: #3E4393;
	margin-top: 22px;
	margin-bottom: 0;
}

.article-space{
	box-sizing: border-box;
	padding: 0 12px;
}

.prev-arrow{
	position: absolute;
	left: -62px;
	top:84px;
	width:52px;
	cursor: pointer;
	 transition: 0.4s;
}

.next-arrow{
	position: absolute;
	right: -62px;
	top: 84px;
	width:52px;
	cursor: pointer;
	transition: 0.4s;
}

.next-arrow.slick-disabled , .prev-arrow.slick-disabled{
	opacity: 0;
	cursor:inherit;
}

.more-link{
	width: 300px;
	background-size:cover ;
	background-position: center;
	background-image: url(img/more-bg.png);
	display: block;
	margin:105px auto 125px;
	font-size: 16px;
	color: white;
	text-align: center;
	height: 60px;
	line-height: 60px;
	position: relative;
}

.more-link:before{
	content: '';
	position: absolute;
	left: 0;
	width: 42px;
	height: 1px;
	background: white;
	top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);	
}

.news-area{
	background-image: url(img/more-bg.png);
	background-size:cover;
	background-position: center;
	width: 100%;
	display: block;
	box-sizing: border-box;
	padding: 83px 0 93px;
	color: #3E4393;
}


.news-area h2{
    text-align: center;
    margin: 0 auto;
	padding-bottom: 60px;
}


.news-box{
	width: 1060px;
	height:433px;
	overflow-y: scroll;
	display: block;
	margin: 0 auto;
	padding:0 30px;
	box-sizing: border-box;

}

.article-flex{
	display: flex;
	position: relative;
	padding: 15px 0;
	margin: 15px 0;
	text-decoration: none;
	border-bottom:1px solid #DBDAE2;	
}


.news-box .article-flex:last-child{
	margin-bottom: 0;
}

.date2{
	font-size: 15px;
	width: 20%;
	display: block;
	box-sizing: border-box;
}

.news-title{
	width: 80%;
	box-sizing: border-box;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
}

.file img{
	position: absolute;
	right:0;
	top:18px;	
}

.dw-area{
	margin: 142px auto 120px;
	width: 1060px;
	display: block;
	max-width: 100%;
	box-sizing: border-box;
	padding:0 30px;
}

.dw-area img{
	width: 100%;
}


footer{
	padding:0 30px 48px;
/*	padding:0 30px 277px!important;*/
	width: 1260px;
	max-width: 100%;
	box-sizing: border-box;
	margin:0 auto;
	position: relative;
}

.pt-link{
	position: absolute;
	right: 30px;
	bottom: 45px;
/*	bottom: 280px;*/
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-decoration: none;
  color: #3E4393;
  font-size: 13px;
}

.pt-link:before{
	content: '';
	height: 36px;
	width: 1px;
	position: absolute;
	top: -46px;
	left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background: #3E4393;	
}

.footer-flex{
	display: flex;
	border-top:1px solid #CEC9C9;
	width: 100%;
	padding-top: 48px;
}

.footer-flex .footer-left{
	width: 343px;
	max-width: 40%;
}

.footer-flex .footer-right{
	width: auto;
	max-width: 60%;
	padding-top: 16px;
}

.footer-flex .footer-left img{
	width: 270px;
	max-width: 100%;
}

.footer-flex .footer-right p{
	margin: 0;
	font-size: 14px;
	color: #1D3388;
}

.footer-flex .footer-right p a{
	color: #1D3388;
	text-decoration: none;
}

.copy{
	font-size: 12px;
	margin-bottom: 0;
	margin-top: 70px;
	color: #C4C1DD;
}

.article-flex3{
	display: flex;
	flex-wrap: wrap;
}

.article-space3{
	width: 33.333%;
	box-sizing: border-box;
	padding:0 10px;
	margin-bottom: 35px;
}

.date3{
	font-size: 13px;
    color: #C4C1DD;
    margin-top: 20px;
    margin-bottom: 0;
    display: inline-block;
}

.category3{
	min-width: 125px;
    width: 125px;
    text-align: center;
    font-size: 13px;
    background: #C4C1DD;
    color: white;
    margin-top: 15px;
    margin-bottom: 0;	
}

.whats-title3{
	font-size: 16px;
    font-weight: 500;
    color: #3E4393;
    margin-top: 22px;
    margin-bottom: 0;
}

.single-flex{
	display: flex;
}

.single-date{
	font-size: 13px;
    color: #C4C1DD;
    margin-top: 15px;
    margin-bottom: 0;
    margin-right: 25px;
    display: inline-block;
}

.single-category{
    min-width: 125px;
    width: 125px;
    text-align: center;
    font-size: 13px;
    background: #C4C1DD;
    color: white;
    margin-top: 15px;
    margin-bottom: 0;	
}

.single-area .whats-title3{
	font-size: 32px;
	margin-top: 20px;
	margin-bottom: 40px;
	text-align: left;
}

.single-area{
	max-width: 100%;
	width: 1040px;
	padding:0 20px;
	box-sizing: border-box;
	display: block;
	margin:120px auto;
}

.single-area h3{
	font-weight: 500;
	font-size: 26px;
	margin:25px 0;
}

.single-area figure{
	margin: 0!important;
}

.single-area img{
	max-width: 100%;
	display: block;
	margin:25px 0;
}

.me-right p{
	font-size: 30px;
	margin: 0;
	color:#1D3388;
	line-height: 1.5;
	letter-spacing: 0.22em;
}

.plus-section{
	padding:80px 0 220px;
}


.plus-section .plus-wrap{
	position:relative;
}

.rel{
	position:relative;
}

.main-img{
	margin-left:27px;
	width: 739px;
	max-width: 75%;
	position:relative;
	z-index: 2;
}

.sub-img{
	max-width: 35%;
	width: 342px;
	height:auto;
	position:absolute;
	left: 0;
	bottom: -27px;
	z-index: 1;
}


.absolute-area{
	position:absolute;
	right: 0;
	background: white;
	bottom: -57%;
	width: 53%;
	box-sizing:border-box;
	padding:46px;
	z-index: 3;
}

.absolute-area-text1{
	margin: 0;
    font-size: 26px;
    color: #3E4393;
}

.absolute-area-text2{
	margin: 0 0 50px;
    font-size: 16px;
    color: #ABA2CB;
    letter-spacing: 0;
}

.absolute-area-text3{
	margin: 0;
    font-size: 15px;
}

.mv-text{
	position:absolute;
	right: 35%;
	top: 20%;
	width: 119px;
}

.mv-text2{
	position:absolute;
	left: 35%;
	top: 20%;
	width: 119px;
}

@media screen and (max-width: 1700px){

	.fix__button{
		right: 14vw;
	}

.mv-text{
	position:absolute;
	right: 30%;
	top: 20%;
	width: 119px;
}

.mv-text2{
	position:absolute;
	left: 30%;
	top: 20%;
	width: 119px;
}

}

@media screen and (max-width: 1600px){

	.fix__button{
		right: 12.5vw;
	}

}

@media screen and (max-width: 1500px){

	.fix__button{
		right: 9vw;
	}

}

@media screen and (max-width: 1400px) {
	
	.mainV{
		background-position: center;
	}

	.fix__button{
		right: 7vw;
	}

}

@media screen and (max-width: 1300px){

	.fix__button{
		right: 4vw;
	}	
	
}

@media screen and (max-width: 1200px){

	.mv-text{
		position:absolute;
		right: 20%;
		top: 20%;
		width: 119px;
	}

	.mv-text2{
		position:absolute;
		left: 20%;
		top: 20%;
		width: 119px;
	}

	.fix__button{
		width: 140px;
		height: 140px;
		right: 45px;
	}

	.whats-area{
		padding:0 65px;
		max-width: 100%;
	}

	.news-box{
		max-width: 100%;
		padding:0 40px;
	}

	.header-left{
		width: 24%;
	}

	.header-right{
		width: 76%;
		padding-left:20px;
	}

	.header-right ul li a{
		font-size: 15px;
	}

	.header-right ul{
		justify-content: space-between;
		padding: 0;
	}

	.header-right ul li{
		padding: 0;
	}

	.thumbnail img{
		height: 150px;
	}

	.next-arrow{
		width: 40px;
		right: -50px;
		top: 57px;	
	}

	.prev-arrow{
		width: 40px;
		left: -50px;
		top: 57px;			
	}

	.whats-area3{
		padding:0 20px!important;
	}

	.ta-1{
		font-size: 13px;
	}

	.ta-2{
		font-size: 22px;
	}

	header.page-header .header-flex{
		padding:0 20px;
	}

	header.page-header h1 a img{
		width: 180px;
		margin-top: 2px;
	}




}

	#nav{
	  position: fixed;
	  height: 100vh;
	  width: 100%;
	  right: -100%;
	  top: 0;
	  background: white;
	  transition: .7s;
	  padding-top:40px;
	  z-index:999;
	}

	.in{
	  transform: translateX(-100%); 
	  
	}

@media screen and (max-width: 800px){

	.fix__button{
		width: 120px;
		height: 120px;
		right:20px;
	}	

	.pc{
		display:none!important;
	}

	.sp{
		display:block;
	}

	.page-header .header-left{
		display:block;
	}

	.page-header .header-flex{
		margin-top: 18px;
	}

	header.page-header h1 a img{
		margin-top: 0;
	}

	.title-area{
		margin-top: 84px;
	}



	.menu_button{
	 width:70px;
	 height:70px;
	 border-radius: 50%;
	 outline: none;
	 border: none;
	 font-size: 20px;
	 margin-left:auto;
	 margin-top:0px;
	 display:block;
	 position:fixed;
	 left: 25px;
	 top: 20px;
	 cursor: pointer;
	      background-size: cover;
    background-position: center;
    background-image: url(img/more-bg.png);	 
	 z-index: 9999;
	 transition: 0.4s;
	}

	.menu_button.op0{
		opacity: 0!important;
	}

	.menu_button.op0.op1{
		opacity: 1!important;
	}


	.navmenu{
		padding-bottom:0px;
	}


	.menu_button .menu_icon01 {
	  display: block;
	  cursor: pointer;
	  transition: .7s;
	  text-align: center;
	  width: 100%;
	  box-sizing:border-box;
	  padding:24px 0;
	  height: 100%;
	}
	.menu_button .menu_icon01 span {
	  display: block;
	  width: 30px;
	  height: 2px;
	  background: white;
	  margin:0 auto 7px;
	  transition: .7s;
	}

	.menu_button.open .menu_icon01 span{
		background:white;
	}


	.menu_button.open .menu_icon01{
	  transform: rotate(-45deg);
	  padding:27px 0;
	  position:relative;
	  top: 4px;
	}
	.menu_button.open .menu_icon01 .bar1 {
	  transform: rotate(0deg)translateX(3px) translateY(3px);
	}

	.menu_button.open .menu_icon01 .bar2 {
	  opacity: 0;
	}
	.menu_button.open .menu_icon01 .bar3 {
	    transform: rotate(-90deg) translateX(13.5px)translateY(4px);
	}

	#nav ul{
		padding:0;
		margin-top: 140px;
		margin-bottom: 0;
		list-style: none;
	}

	#nav li{
		text-align: center;
		margin:20px 0;
	}

	#nav li a{
		color:#3E4393;
		text-decoration: none;
		font-size: 31px;
	}

	.header-flex{
		margin-top: 33px;
		padding:0 20px;
	}

	.header-left{
		display: none;
	}

	.header-right{
		width: 100%;
		padding-left: 0;
	}

	.header-right ul{
		display: block;
		margin: 0;
	}

	.header-right ul li{
		margin-bottom: 20px;
	}

	.header-right ul li a{
		display: inline-block;
		text-align: left;
	}

	.mainV{
		height:190vw;
		min-height:190vw;
	}

	.mainV .mv{
		height: 190vw;
	}

	.dateimg{
		max-width: 100%;
	}

	.vertivcal-img img{
		padding-right: 45px;
		margin-left: auto;
		margin-right: 0;
		padding-top: 45px;
	}

	.openimg{
		padding-right: 20px;
		margin-left: auto;
		margin-right: 0;
		margin-top: 28px;
	}

	.whats-area h2{
		font-size: 31px;
		margin-bottom: 30px;
		position: relative;
		right: 14px;
	}

	.whats-area{
		margin-top: 46px;
	}

	.news-box{
		padding:0 32px;
		height: 300px;
	}

	.article-flex{
		display: block;
		padding: 12px 0;
		margin:12px 0;
	}

	.date2{
		width: 100%;
		font-size: 13px;
		margin-bottom: 13px;
	}

	.news-title{
		padding:0;
		width: 100%;
		font-size: 14px;
		margin-bottom: 12px;
	}

	.file img{
		position: relative;
		top: 0;
	}

	.news-area h2{
		margin-bottom: 40px;
	}


	.news-area{
		padding:50px 0 65px;
	}

	.dw-area{
		padding:0 20px;
	}

	.footer-flex{
		display: block;
		border-top: none;
		padding-top: 0;
	}

	.footer-flex .footer-left , .footer-flex .footer-right{
		width: 100%;
		max-width: 100%;
	}

	.pc-img{
		display: none;
	}

	.tb-img{
		display: block;
	}

	.dw-area{
		margin-top: 60px;
		margin-bottom: 66px;
	}

	footer{
		padding:0px 20px 40px;
		border-top: none;
	}

	.footer-left{
		border-top:1px solid #CEC9C9;
		padding-top: 54px;
	}

	.footer-left img{
		display: block;
		margin:0 auto;
	}

	.footer-flex .footer-right p{
		text-align: center;
		font-size: 13px;
	}

	.copy{
		font-size: 11px;
		text-align: center;
		margin-top: 63px;
	}

	.pt-link{
		font-size: 11px;
		bottom: 50px;
	}

	.pt-link:before{
		height: 31px;
		top: -42px;
	}

	.more-link{
		margin:20px auto 60px;
		position: relative;
		right: 14px;
		font-size: 12px;
		width: 234px;
		height: 47px;
		line-height: 47px;
	}

	.more-link:before{
		width: 33px;
	}

	.whats-title , .whats-title3{
		font-size: 14px;
	}

	.category , .category3{
		min-width: 98px;
		width: 98px;
		font-size: 10px;
		margin-top: 8px;
	}

	.date , .date3{
		font-size: 10px;
	}

	.whats-area{
		padding-right: 0;
		padding-left: 28px;
	}

	.next-arrow{
		right: 20px;
		z-index: 2;
		width: 32px;
		top: 98px;
	}

	.prev-arrow{
		left: -5px;
		z-index: 2;
		width: 32px;
		top: 98px;
	}

	.thumbnail img{
		height: 220px;
	}

	.article-space3{
		width: 50%;
		padding:0 10px;
	}

	.whats-area3 h2{
		right: 0!important;
	}

	.single-area{
		margin:70px auto;
	}

	.single-area .whats-title3{
		font-size: 25px;
	}

	.single-area h3{
		font-size: 23px;
	}

	.menu_button:hover{
		opacity: 1;
	}

	footer{
		padding-bottom: 140px;
	}

	.pt-link{
		bottom: 140px;
	}

	.fix__button{
		bottom: 24px;
	}






}



@media screen and (max-width: 440px){
	footer{
		padding-bottom: 100px;
	}

	.pt-link{
		bottom: 120px;
	}
	.fix__button{
		width: 90px;
		height: 90px;
		bottom: 20px;
	}		

	.me-right p{
		font-size: 22px;
	}

	.menu_button{
		left: 20px;
		top: 20px;
		width: 60px;
		height: 60px;
	}

	#nav li{
		margin:20px 0;
	}

	#nav ul{
		margin-top: 70px;
	}

	#nav li a{
		font-size: 24px;
	}

	.menu_button.open .menu_icon01{
		padding:22px 0;
	}

	.menu_button .menu_icon01{
		padding:19px 0;
	}

	.thumbnail img{
		height: 170px;
	}

	.next-arrow{
		top: 67px;
	}

	.prev-arrow{
		top: 67px;
	}

	.pc-main{
		display: none!important;
	}

	.sm-main{
		display: block!important;
	}

	.sm1{
		width: 70px!important;
	}

	.sm2{
		width: 109px!important;
	}

	.vertivcal-img img{
		padding-right: 42px;
	}

	.header-right ul li{
		margin-bottom: 15px;
	}

	.header-right ul li a{
		font-size: 13px;
	}

	.pt-link{
		right: 10px;
	}

	.copy{
		box-sizing: border-box;
		padding:0 10px;
	}

	.article-flex3 .article-space3:nth-child(odd){
		padding-left: 0;
		padding-right: 10px;
	}

	.article-flex3 .article-space3:nth-child(even){
		padding-right: 0;
		padding-left: 10px;
	}

	.article-space2 .thumbnail img{
		height: 140px;
	}

	.date3{
		margin-top: 10px;
		margin-bottom: 8px;
	}

	.category3{
		margin-top: 0;
	}

	.whats-title3{
		margin-top: 20px;
	}

	.single-area .whats-title3{
		font-size: 20px;
		margin-bottom: 25px;
		margin-top: 15px;
	}

	.single-date{
		font-size: 11px;
		margin-right: 20px;
	}

	.single-area .single-category{
		min-width: 100px;
		width: 100px;
		font-size: 11px;
	}

	.single-area h3{
		font-size: 18px;
	}

	.single-area p{
		font-size: 14px;
	}

	.news-title img{
		width: 55%;		
	}

	.news-area h2{
	padding-bottom: 0;

}






