@charset "UTF-8";
body {
font-family:  "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
	color: #000;
font-size: 16px;
line-height:1.8em;
}
html {scroll-behavior: smooth;
}
a {
 text-decoration: none;
}
img {
 border: 0;
 vertical-align: bottom;
}
.t_130 {
	font-size: 130%;
}

.br_sp,
.pc { 
display:none;
}
.br_sp2 { 
display: block;
clear: both;
min-height: 1px;
}
.pc_s { 
	margin: 0;
}



main {
	margin: 15px 0 0 0;
}
.swiper-slide img {
  width: 100%;
	}
.swiper-slide_pc {
  display: none;
	}
h2 {
display: none;
}


/*	 about
/* ------------------------------------- */
.about {
	background: url(../img/gokayama/top/about_back.jpg) no-repeat bottom;
	background-size: 200%;
	text-align: center;
	padding: 8%;
	box-sizing: border-box;
}
.about h4 {
	font-size: 120%;
	font-weight: normal;
	color: #910;
}
.about p {
	margin: 10px 0 8% 0;
	text-align: justify;
	line-height: 2em;
}
.about img {
	margin: 40px 0;
	width: 100%;
}

.g_banner {
	list-style: none;
	margin-left: -10%; 
	margin-right: -10%;
	width: calc(100% + 20%);
	position: relative;
	z-index: 2;
}
.g_banner li {
	width: 50%;
	float: left;
}
.g_banner li img {
	width: 100%;
	margin: 0;
	transition: 0.5s;
	display: block;
}
.g_banner li a {
	display: block;
	border: 0;
	text-decoration: none;
}
.g_banner li a:hover img {
	opacity: 0.5;
}
.access_b {
	width: 80%;
	margin: auto;
}
.access_b img {
	width: 100%;
	margin: 0;
}
.access_b a img {
	border: 0;
transition: 0.5s;
	text-decoration: none;
}
.access_b a:hover img {
opacity: 0.5;
	text-decoration: none;
}

/*	 course
/* ------------------------------------- */
.course {
box-sizing:border-box;
background:#F5EBE3;
width:100%;
padding: 8%;
text-align: center;
}
.course h4 {
	font-size: 140%;
	font-weight: normal;
	text-align: center;
}
.course p {
	margin: 7px 0;
	text-align: justify;
	line-height: 1.8em;
}
.course_box a img,
.course_box a h5,
.course_box a p {
	border: 0;
transition: 0.3s;
	text-decoration: none;
}
.course_box a:hover img,
.course_box a:hover h5,
.course_box a:hover p {
opacity: 0.5;
	text-decoration: none;
}
.course_box {
	float: left;
display: inline-block;
vertical-align: top;
width: 48%;
margin: 2% 4% 0px 0px;
text-align: center;
}
.course ul li:nth-child(even) {
margin: 2% 0px 0px 0px;
}
.course_box img {
    width: 100%;
	margin: 0px 0px 7px 0px;
}
.course_box a {
	color:#000;
font-size: 16px;
line-height:1.8em;
	text-decoration: none;
}
.course_box h5 {
	font-weight:normal;
	font-size:100%;
	line-height:1.6em;
	margin: 10px 0 3px 0;
	text-align: justify !important;
}
.course_box p {
	font-size:90%;
	line-height:1.4em;
	margin: 0 0 10px 0;
	text-align: justify !important;
}

.btn,
.btn2 {
	border-bottom: 1px solid #000;
width: fit-content;
	padding: 0 30px 0 0;
	margin: auto;
}
.btn2 {
	border-bottom: 1px solid #FFF;
}

.btnarrow5,
.btnarrow6 {
	position: relative;
    /*ボタンの形状*/
    padding: 8px 20px 5px 5px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: #000;
    outline: none;
    /*アニメーションの指定*/
    transition: all .2s linear;
}
.btnarrow6 {
    color: #FFF;
}
.btnarrow5::before,
.btnarrow6::before {
	content:"";
    /*絶対配置で下線の位置を決める*/
	position: absolute;
	top:50%;
	right:-26px;
    /*下線の形状*/
	width:28px;
	height:1px;
	background:#333;
    /*アニメーションの指定*/
    transition: all .2s linear;
}
.btnarrow6::before {
	background:#FFF;
}
.btnarrow5::after,
.btnarrow6::after {
	content:"";
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    top: 25%;
    right: -21px;
    /*矢印の形状*/
	width:1px;
	height:12px;
	background:#333;
    transform:skewX(45deg);
    /*アニメーションの指定*/
    transition: all .2s linear;
}
.btnarrow6::after {
	background:#FFF;
}
.btnarrow5:hover::before,
.btnarrow6:hover::before {
	right:-30px;
}

.btnarrow5:hover::after,
.btnarrow6:hover::after {
	right:-25px;
}

/*	 news
/* ------------------------------------- */	
.news {
width:100%;
text-align: center;
	background: #910;
	color: #FFF;
}
.news0 {
padding: 8%;
box-sizing: border-box;
}
.news h4 {
	font-size: 140%;
	font-weight: normal;
	margin: 0 auto 10px auto;
}
.news_box0 {
	margin: 4% auto;
}
.news_box {
	margin: 0px 0px 2% 0px;
	padding: 0px 0px 2% 0px;
 border-bottom: 1px #FFF solid;
	text-align: left;
}
.news_box a span {
 color: #FFF;
	font-size:100%;
 font-weight: normal;
 margin: 0px 0px 0px 0px;
	-webkit-filter: opacity(100%);
	filter: opacity(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
 float:left;
 width: 28%;
}
.news_box a h5 {
 color: #FFF;
	font-size:100%;
 font-weight: normal;
	-webkit-filter: opacity(100%);
	filter: opacity(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
 float:left;
 width: 72%;
}
.news_box a:hover h5,
.news_box a:hover span {
	-webkit-filter: opacity(50%);
	filter: opacity(50%);
	text-decoration: none;
}

/*	 toi
/* ------------------------------------- */	
.g_toi {
	background: url(../img/gokayama/top/footer.jpg) no-repeat bottom;
	background-size: 150%;
width:100%;
text-align: center;
	padding: 8% 0;
	color: #FFF;
}
.g_toi h4 {
	font-weight: normal;
	font-size: 150%;
	margin: 0 0 10px 0;
}
.g_toi_b {
	background: #FFF;
	padding: 3px 0 10px 0;
	width: 280px;
	margin: 0 auto 10px auto;
}
.g_toi p {
	font-size: 80%;
	line-height: 1.5;
  display: flex;
  justify-content: center; /* 横の中央 */
  align-items: center;     /* 縦の中央（これが重要！） */
}
.g_toi p a {
	color: #FFF;
}
.btn3 {
    /*矢印の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
	color:#000;
    padding: 10px 30px 2px 0px;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
	font-size: 90%;
}
.btnarrow3::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    top:50%;
    right: 10px;
    /*矢印の形状*/
    width: 7px;
    height: 7px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
}
.btnarrow3:hover::after {
    right: 5px;
}

/* ------------------------------------- */
/*	 resposive768
/* ------------------------------------- */
@media screen and (min-width: 768px) {
.pc {
		display: block;
	}
.sf {
		display: none;
	}
.br_sp { 
display: block;
}
.br_sp4{ 
display:none;
}
.pc_s { 
	margin: 0 1em 0 0;
}
.swiper-slide {
  display: none;
	}
.swiper-slide_pc {
  display: block;
	}
.swiper-slide_pc img {
	width: 100%;
	}
main {
	margin: 40px 0 0 0;
}
	
/*	 about
/* ------------------------------------- */
.about {
	background-size: 100%;
	padding: 6%;
	font-size: 80%;
}
.about h4 {
	font-size: 140%;
}
.about p {
	margin: 10px 0 6% 0;
	text-align: center;
}
.about img {
	margin: 40px 0;
}
.g_banner {
	list-style: none;
	margin-left: -8%; 
	margin-right: -8%;
	width: calc(100% + 16%);
}
.g_banner li {
	width: 33.33%;
	float: left;
}
.access_b {
	width: 50%;
}
/*	 course
/* ------------------------------------- */
.course {
padding: 6%;
}
.course p {
	margin: 7px auto;
	text-align: center;
}
.course_box {
float:left;
width: 23%;
margin: 2% 2.6% 0px 0px;
}
.course ul li:nth-child(even) {
margin: 2% 2.6% 0px 0px;
}
.course ul li:nth-child(4n) {
margin: 2% 0px 0px 0px;
}
.course_box a {
	color:#000;
	line-height:2em;
}
	
/*	 news
/* ------------------------------------- */	
.news0 {
padding: 6%;
}
.news_box0 {
	margin: 3% auto;
}
.news_box a span {
 width: 15%;
}
.news_box a h5 {
 width: 85%;
}	
/*	 toi
/* ------------------------------------- */	
.g_toi {
	background-size: 100%;
	padding: 6% 0;
}	
}
/* ------------------------------------- */
/*	 resposive980
/* ------------------------------------- */
@media screen and (min-width: 980px) {
main {
	margin: 90px 0 0 0;
}

}
/* ------------------------------------- */
/*	 resposive1100
/* ------------------------------------- */
@media screen and (min-width: 1100px) {
/*	 about
/* ------------------------------------- */
.about {
	padding: 5%;
	font-size: 100%;
}
.about h4 {
	font-size: 160%;
}
.about p {
	margin: 20px 0 5% 0;
	line-height: 2.2;
	text-align: center;
}
.about img {
	width: 1000px;
	margin: 60px 0;
}

.access_b img {
	width: 350px;
	margin: 0;
}
/*	 syuuraku
/* ------------------------------------- */

.syuuraku_t {
	padding: 4% 15% 0 15%;
	font-size: 100%;
}
.syuuraku_t h4 {
	font-size: 160%;
}

/*	 course
/* ------------------------------------- */
.course {
padding: 4% 10%;
}
.course h4 {
	font-size: 160%;
}
.course p {
	margin: 10px auto;
}
/*	 news
/* ------------------------------------- */
.news0 {
padding: 5%;
}
.news_box0 {
	width:700px;
}
.news h4 {
	font-size: 160%;
}
/*	 toi
/* ------------------------------------- */	
.g_toi p {
	font-size: 100%;
	line-height: 1.8;
}	
}