*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.m-plus-1p-regular {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kosugi-maru-regular {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.hina-mincho-regular {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.fade-down-in{
	position: absolute;
	animation: myframe 0.5s ease-in 1s infinite alternate both;
}

body{
    margin:0;

}

/* 写真トリミング */
.photo-rad{
	border-radius: 15px;
}

/* テキスト下線 */
.text-line{
	color: #333;
	background: linear-gradient(transparent 60%, #fff59d 60%);
}
.text-dot{
	color: #333;
	border-bottom:10px dotted #ccffcc ;
}

/* テキスト背景 */
.sen-back{
	padding: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
	background-color: #f5fffa;
}

/* 見出し */
.hometitle{
	height: 35vw;
	min-height: 270px;
	max-height: 400px;
	background-image: url('/image/flag-s.png');
	background-size: 100% auto;
	background-position: center 10vw;
	@media only screen and (min-width : 768px){
		background-position: center bottom;
	}
}
.maintitle{
	font-weight: 700;
	color: #454545;
}

.subtitle{
	text-align: start;
}
.subcontents{
	font-size: larger;
	text-align: start;
}

/* index.htmlのワイドスクリーン */
.cover-img {
	height: 600px;
	display: table;
	width: 100%;
	background-size: cover;
}

.cover-text {
	display: table-cell;
	vertical-align: bottom;
 	text-align: center;
	font-weight: bold;
	padding-bottom: 10%;
}


/* ワイドスクリーン用のCSS */
@media only screen and (min-width: 1200px) {
	.cover-img {
		height: 800px;
		width: 100%;
	}
	.cover-text {
		font-size: 3rem;
	}
}

/* タブレット用のCSS */
@media only screen and (min-width : 768px) and (max-width : 1200px) {
	.cover-img {
		height: 800px;
	}
	.cover-text {
		font-size: 3rem;
	}
}

/* スマホ用のCSS */
@media only screen and (max-width: 768px) {
	.cover-img {
		height: 200px;
	}
	.cover-text {
		font-size: 2rem;
	}
}


/* SwiperのCSS */

.mySwiper{

    width:100%;
    padding:60px 0;
}
.swiper--wrapper {
  /* wrapperのサイズを調整 */
  width: 100%;
  height: 300px;
}
.swiper-slide{

	width: 300px;
	height: 100%;
    transition:.4s;
    opacity:.4;
    transform:scale(.8);

}

.swiper-slide-active{

    opacity:1;
    transform:scale(1);
	z-index:100;
}
.swiper-slide-active img{

    transform:scale(1);
}


.swiper-slide img{

	width:100%;
	height:auto;
	display:block;

    box-shadow:0 15px 40px rgba(0,0,0,.2);
}

.swiper-button-next,
.swiper-button-prev{

    color:#333;

}
.swiper-slide-prev img{
	    transition: .5s;
}

.swiper-slide-next img{
	transition: .5s;
}

.swiper-pagination-bullet-active{

    background:#333;

}




/* index.htmlのメニューボタン */


a.btno {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    overflow: hidden;
    border: 1px solid #107a33;
    border-radius: 5px;
    background-color: #fff;
    color: #107a33;
    font-size: 1em;
}

a.btno:hover {
    background-color: transparent;
    color: #fff;
}

a.btno::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #107a33;
    content: '';
    transition: width .3s ease;
}

a.btno:hover::before {
    width: 100%;
}

a.btno::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #107a33;
    border-right: 2px solid #107a33;
    content: '';
}

a.btno:hover::after {
    border-color: #fff;
}


/* やひろ学園の特長 */
.about{
background-color:lightslategrey;
	background-image: url('/image/home_01.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-blend-mode: screen;
}

.about-card{

	color: #5d627b;
	background: white;
	border-top: solid 5px darkolivegreen;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.table-head{
	background: #F0F5EC;
	border: 4px  #F0F5EC;
}



/* ectrance.htmlのワイドスクリーン */
.ent-img {
	width: 100%;
	max-height: 500px;
	background-image: url('/image/ent_05.jpg');
	background-size:cover;
	background-repeat: no-repeat;
}

ol{
    margin: 1rem 0;
    padding: 1rem;
    list-style-type: none;
    counter-reset:number;
}
ol li{
	counter-increment: number;
    margin:0 0 15px 0;
	line-height: 1.5;
}
ol li:before{
    content : counter(number);

    color:#FFFFFF;
	background:#fe94af;
	border-radius:50%;
	font-size: 0.75rem;
    width:1.5rem;
    height:1.5rem;
	line-height: 2;
    text-align:center;
	display:inline-block;
    margin-right:0.25rem;
	vertical-align: top;

}