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

html{
	font-family: "Noto Sans", sans-serif;
	scroll-padding-top: calc((var(--headerHeight, 95px)) + 20px); 
}

section h2{
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 500;
	font-size: 1.8rem;
	letter-spacing: 0.2rem;
	border-bottom: 3px solid #ce421d;
	text-align: center;
	margin: 0 auto 20px;
    width: fit-content;
}


@media (min-width: 768px){
  section h2{
		font-size: 2.8rem;
		margin: 0 auto 60px;
	}
}
/*============
header
=============*/

header{
	position: fixed;
    width: 100%;
	z-index: 998;
}

.header_item{
	position: absolute;
    top: 10px;
	right: 60px;
}
.header_item li{
	width: 50px;
	float: left;
	padding: 0 5px;
}
.header_item li:last-child{
	padding: 0;
}
.header_item li img{
	width: 100%;
}



/** Custom Select **/
.center {
  	position: absolute;
    display: contents;
    top: 65%;
    right: 0;
    transform: translate(-50%, -50%);
}

.custom-select-wrapper {
	position: relative;
	display: inline-block;
	user-select: none;
}
.custom-select-wrapper select {
	display: none;
}
.custom-select {
	position: relative;
	display: inline-block;
}
.custom-select-trigger {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	cursor: pointer;
	background-image: url("../images/lang.png");
	background-size: cover;
	color: transparent;
}
.custom-select-trigger:after {
	position: absolute;
	display: block;
	content: '';
	width: 50px; height: 50px;
	margin-top: -3px;
	transform: rotate(45deg) translateY(-50%);
	transition: all .4s ease-in-out;
	transform-origin: 50% 0;
}
.custom-select.opened .custom-select-trigger:after {
	margin-top: 3px;
	transform: rotate(-135deg) translateY(-50%);
}
.custom-options {
	position: absolute;
	display: block;
	top: 100%; left: 0; right: 0;
	min-width: 100%;
	margin: 15px 0;
	border: 1px solid #b5b5b5;
	border-radius: 4px;
	box-sizing: border-box;
	box-shadow: 0 2px 1px rgba(0,0,0,.07);
	background: #fff;
	transition: all .4s ease-in-out;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-15px);
	text-align: center;
}
.custom-select.opened .custom-options {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
	transform: translateY(0);
}
.custom-options:before {
  position: absolute;
  display: block;
  content: '';
  bottom: 100%; right: 20px;
  width: 7px; height: 7px;
  margin-bottom: -4px;
  border-top: 1px solid #b5b5b5;
  border-left: 1px solid #b5b5b5;
  background: #fff;
  transform: rotate(45deg);
  transition: all .4s ease-in-out;
}
.option-hover:before {
  background: #f9f9f9;
}
.custom-option {
  position: relative;
  display: block;
  padding: 0 5px;
  border-bottom: 1px solid #b5b5b5;
  font-size: 0.8rem;
  line-height: 47px;
  cursor: pointer;
  transition: all .4s ease-in-out;
}
.custom-option:first-of-type {
  border-radius: 4px 4px 0 0;
}
.custom-option:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
}
.custom-option:hover,
.custom-option.selection {
  background: #e8e8e8;
}

@media (min-width: 768px){
	.header_item li{
		width: 60px;
		padding: 0 5px;
	}
	.header_item li:last-child{
		padding: 0;
	}
	
	.center {
		top: 60%;
		right: 0;
	}

}


/*============
nav
=============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:url("../images/nav_bg.jpg");
    /*動き*/
	transition: all 0.6s;
}

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

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

/*ナビゲーション*/
#g-nav .nav_list {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    bottom:0;
    left:50%;
    transform: translate(-50%,-50%);
	width: 90%;
	font-size: 0.8rem;
}

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

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

#g-nav .nav_list a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
#g-nav .courList{
	position: absolute;
	top:16%;
}

#g-nav .choice{
	background-color: #ce421d;
	display: flex;
}

#g-nav h1{
	position: absolute;
	top: 36px;
	left: 12px;
	width: 72%;
}

#g-nav h1 img {
    width: 100%;
    height: 80px;
}

#g-nav h2{
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 500;
	font-size: 1.8rem;
	letter-spacing: 0.2rem;
	text-align: center;
	margin: 24px auto;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:absolute;
    z-index: 9999;/*ボタンを最前面に*/
	top:8px;
	right: 8px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 8px;
    height: 3px;
    border-radius: 2px;
	background-color: #ce421d;
  	width: 70%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

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

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

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

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


@media (min-width: 768px){
	#g-nav{
		width:33%;
	}
	#g-nav.panelactive #g-nav-list {
		width:33%;
	}
	#g-nav .choice ul {
        max-width: 98%;
    }
	#g-nav h1 img {
		height: 120px;
	}
	.openbtn{
		top: 10px;
		right: 16px;
	}
}

/*============
main
=============*/
main{
	background-image: url("../images/TOP_sbg.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-size: 100%;
}

@media (min-width: 768px){
  main{
		background-image: url("../images/TOP_bg.jpg");
	}
}



/*============
TOP
=============*/
.top_veiw{
	position: relative;
	height: 150vw
}

h1 {
	width: 92%;
	position: absolute;
	bottom : 30%;
	left: 2%;
}
h1 img{
	width: 100%;
}
.scroll-infinity {
  position: absolute;
  bottom : 8%;
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;	  
}
.scroll-infinity__item {
  width: 98.8vw
}
.scroll-infinity__item>img {
  width: 300%
}
.scroll-infinity__list--right{
  animation :infinity-scroll-right 30s infinite linear 0.5s both;
}
/* CSSアニメーション */
@keyframes infinity-scroll-right {
	from {
	  transform: translateX(-100%);
	}
	  to {
	  transform: translateX(0%);
	}
	
}



@media (min-width: 768px){
	.top_veiw{
		height: 60vw
	}

	h1 {
		width: 640px;
		bottom : 36%;
		left: 5%;
	}
	.scroll-infinity {
	  position: absolute;
	  bottom : 6%;
	}
	.scroll-infinity__item {
	  width: 98.9vw
	}
	.scroll-infinity__item>img {
	  width: 200%
	}
	
}


/*============
#courses
=============*/
#courses{
	background-image: url(../images/bg.jpg);
	padding-bottom: 10px;
}
.coursesTop{
	background-color: #fff;
    padding: 30px 0 10px;
}
.choice{
	background-color: #ce421d;
	display: flex;
	font-size: 0.8rem;
}
.choice ul{
	max-width: 90%;
	margin: 30px auto;
}
.choice ul li{
	border-radius: 30px;
	width: fit-content;
	border: 1px solid #333;
	background-color: #fff;
	text-align: center;
	padding: 8px 16px;
	margin: 5px 8px;
	float: left;
}
.coursesList{
	width: 90%;
	margin: 72px auto 0;
	line-height: 1.6rem;
	background-image: url(../images/bg.jpg);
}

.coursesList h3{
	font-size: 1rem;
	font-weight: 400;
	border-bottom: 1px solid #a77264;
	padding-top: 16px;
	padding-bottom: 16px;
}
.courses_img{
	position: relative;
	width: 100%;
	z-index: 50;
}
.new{
	position: absolute;
    top: -30px;
    left: 0;
    width: 90px;
	z-index: 70;
}
.img_thum{
	width: 100%;
	border-radius: 50% 20% / 10% 40%;
}
.courses_txt{
	border-bottom: 1px solid #a77264;
	padding-top: 16px;
	padding-bottom: 16px;
}
.courses_txt_last{
	border-bottom: 1px solid #a77264;
	padding-top: 16px;
	padding-bottom: 16px;
}
.pc_br{
	display: none;
}
.coursesList li{
	width: 100%;
	margin-bottom: 72px;
	border-bottom: 1px solid #a77264;
}

.c-btn,
.c-bnr,
.c-txt {
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.c-btn {
  background: #ff701e;
  border: 2px solid #ff701e;
  border-radius: 60px;
  color: #fff;
  display: block;
  font-weight: bold;
  width: 90%;
  padding: 10px 40px;
  text-align: center;
	margin: 20px auto;
}
.c-btn.press {
  box-shadow: 0 4px 0 #d01a0a;
}
.c-btn.press:hover {
  transform: translateY(4px);
  box-shadow: none;
}
 

@media (min-width: 768px){
	.coursesTop{
		padding: 60px 0 20px;
	}
	.choice ul{
		max-width: 767px;
		margin: 60px auto;
	}
	.coursesList{
		width: 1080px;
		margin: 60px auto 0;
		display: flex;
        flex-direction: column;
	}
	.coursesList li{
		width: calc(1020px / 3);
		float: left;
	}
	.coursesList li:nth-child(3n + 1) {
		margin: 30px 30px 60px 0;
	}
	.coursesList li:nth-child(3n + 2) {
		margin: 30px 0 60px 0;
	}
	.coursesList li:nth-child(3n) {
		margin: 30px 0 60px 30px;
	}
	.pc_br{
		display: block;
	}
}

/*============
#transaction
=============*/

#transaction{
	background-image: url("../images/bg.jpg");
	padding: 2px 0 60px;
	clear: both;
}
.tra_txt{
	background-color: #fff;
	border-radius: 30px;
	width: 90%; 
	margin: 0 auto 30px;
	padding: 50px 16px 30px;
}
.tra_txt p{
	line-height: 1.8rem;

}
.tra_txt ul{
	margin-bottom: 20px;
}
.tra_txt li{
	line-height: 1.6rem;
	list-style: disc;
	margin-left: 20px;
}

@media (min-width: 768px){
	#transaction{
		padding: 60px 0;
	}
	.tra_txt{
		width: 1080px; 
		margin: 30px auto;
		padding: 50px 50px 30px;
	}
	.tra_txt p{
		line-height: 1.8rem;

	}
	.tra_txt ul{
		margin-bottom: 20px;
	}
	.tra_txt li{
		line-height: 1.6rem;
		margin-left: 20px;
	}
}


/*============
#access
=============*/
#access {
	padding: 30px 0;
}
#access p{
	text-align: center;
	padding: 10px 0;
}

.googleMap{
	padding-top: 10px;
}
.accessline{
	display: none;
}
.accessline_sp{
	border: 1px solid #CCC;
	display: block;
	width: 90%;
	margin: 0 auto;
}
.accessline_sp img{
	width: 100%;
}
.map03{
	width: 100%;
	border: 1px solid #CCC;
}
.station{
	text-align: center;
	width: 90%;
	margin: 0 auto;
}
.station h3{
	font-size: 1.3rem;
	margin: 30px auto;
}
.station_root{
	width: 100%;
	text-align: center;
	border-bottom: 1px solid #3C3C3C;
}
.station_root p{
	line-height: 1.6rem;
	border-top: 1px solid #3C3C3C;
    padding-top: 10px;
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.station span{
	width: 100%;
	padding: 0 10px;
}
.station .station_line{
	width: 100%;
	border-right: 1px solid #333;
	
}


@media (min-width: 768px){
	#access {
		padding-top: 60px;
		padding-bottom: 90px;
	}
	#access p{
		padding: 16px;
	}
	.googleMap{
		padding-top: 0;
	}
	.accessline{
		display: block;
		width: 960px;
		margin: 0 auto;
	}
	.accessline_sp{
		display: none;
	}
	.map01{
		width: 511px;
        float: left;
        margin: 10px 10px 10px 0;
		border: 1px solid #CCC;
	}
	.map02{
		width: 438px;
        float: right;
        margin: 10px 0 10px 0;
		border: 1px solid #CCC;
	}
	.station{
		width: 760px;
		margin: 0 auto;
	}
	.station h3{
		font-size: 1.8rem;
		margin: 60px auto;
	}

}

/*============
footer
=============*/
footer{
	background-image: url(../images/footer_bk_sp.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    text-align: center;
    height:348px;
}
footer h3{
	font-size: 1.5rem;
	color: #ce421d;
	margin: 60px auto 30px;
}
.fukusuke{
	width: 120px;
	margin: 0 auto;
}
.footer_inner{
	margin-top: 30px;
}
.kintetsu_logo{
	width: 180px;
}
.copyright{
	font-size: 0.8rem;
	margin-top: 20px;
}

	
/*========= ページトップのためのCSS ===============*/
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	transition:all 0.3s;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 2;
    /*はじめは非表示*/
	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);
  }
}

@media (min-width: 768px){
	footer{
		background-image: url(../images/footer_bk.jpg);
		background-repeat: no-repeat;
		background-position: bottom;
		background-size: 100%;
		height: 404px;
	}
	footer h3{
		font-size: 2.2rem;
		margin: 60px auto;
	}
	.fukusuke{
		width: 160px;
		margin: 0 auto;
	}
	#page-top a{
		width: 90px;
		height: 90px;
	}
}
