﻿/*
* リセットcss
*/

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

body {
	line-height: 1;
	font-family: 'M PLUS 1p', sans-serif;
  	color: #34495e;
	background-image: url(../img/haikei_leftB.webp), url(../img/haikei_rightB.webp);
  	background-position:left 20px center,right 20px center;
	background-repeat:repeat-y,repeat-y;
	background-size:5vw;
   overflow-x:hidden;
}
p, pre , h2{
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}
span{font-size:13px}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #3c4149;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

hr {
  margin-bottom: 1.5rem;
}
:root {
  	--blue: #34495e;
  	--green: #e74c3c;
  	--yellow: #C9C243;
  	--orange: #FFA644;
  	--red: #fcc4dc;
}
.center{
	text-align:center;
	display:block;
	margin:0 auto;
}
.bottomspace {
  margin-bottom: 1.2rem;
}
.movie {
   position: relative;
 width: 100%;
    padding: 75% 0 0 0;
}
.school_line{
		border-top: 45px dashed var(--red);
	border-image:url(../img/nikukyu_line.webp) 70 repeat;
  	margin-bottom: 5px;
	}
img.logo-img {
  transition-duration: .5s;
}
  img.logo-img:hover {
    -webkit-transform:translate(3px,3px);
    -moz-transform:translate(3px,3px);
    -ms-transform:translate(3px,3px);
    transform:translate(3px,3px)
  }
.center_logo-img{
text-align: center;
  display: inline-block;
  width: 60%;
  }
  .center_logo-img img{
	  display:inline-block
  }
  .nav-line {
    display: block;
    position: relative;
    width: 100%;
 rgba(23, 146, 175, .3);
	background-image:url(../img/h1bg.webp);
	background-repeat:none;
	background-size:cover;
  }

.teacher-img , .illust img , .illust2 img{
	display: block;
	margin: 0.2em auto 0 ;
	width:80%;
	max-width: 640px;
	border-radius:2px;
}
.teacher-img img {
	display: block;
	margin: 0 auto;
	max-width: 640px;
	border-radius:20px;
}
.mini_logo{
	display:block;
	position:absolute;
	left:0;
}

div.pankuzu ul {
  width: 100%;
  margin: 0 0 12px 0;
  padding-top: 16px;
  padding-bottom: 6px;
  padding-left: 5.8%;
  
}

.pankuzu li{
  margin-right: 15px;
  display:inline-block;
  list-style: none;
}
.pankuzu li a {
  position: relative;
}
.pankuzu li a:after{
content: "";
position: absolute;
top: 7px;
right: -29px;
border-style: solid;
border-color: transparent;
border-left-color: transparent;
border-left-color: #c0f9f5;
border-width: 7px 12px;
width: 0;
height: 0;
}

.pankuzu li a {
    display: inline-block;
    padding: 0 7px;
    height: 24px;
    line-height: 24px;
    text-decoration: none;
    color:#384b49;
	    text-shadow: 1px 1px 1px #fff;
    background:#c0f9f5;
    font-size: 13px;
    border-radius: 8px;
    transition: 0.3s;
}

.pankuzu li a:hover {
    transform: translateY(-3px);
}
.info {
  	padding: 0;
}
.info {
	text-align:center;
  	height:56px;
	margin-bottom:1em;
  	font-size:24px;
  	color:#9ffaf4;
    text-shadow: 1px 1px 1px #3c7e7c;
}
.info:first-letter {
	font-size:36px;
}
div.b-list div {
  margin-bottom: .7rem;
}

div.b-list h4, div.jikosyoukai h4{
  display: inline-block;
  width: auto;
  line-height:40px;
  color: #444052;
  text-indent:2.5em;
  margin-bottom: .5rem;
  padding: 3px 12px;/*文字周りの余白*/
  background-image:url(../img/kawauso.webp);
  background-repeat:  no-repeat;              
  background-position: left top;   
}
.yukko{
  line-height:34px;
  color: #444052;
  text-indent:2.5em;
  margin-bottom: .5rem;
  padding: 3px 12px;/*文字周りの余白*/
  background-image:url(../img/yukko.webp);
  background-repeat:  no-repeat;              
  background-position: left top; 
}
.jikosyoukai {
	margin: 0 auto;
  max-width: 640px;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.jikosyoukai p, div.jikosyoukai pre {
  margin-bottom: 2rem;
}
.jikosyoukai ul {
  margin-bottom: 1rem;
}
.jikosyoukai h3 {
  margin-bottom: .6rem;
}
.jikosyoukai img {
  border-radius: 6px;
}
p.title{
	font-weight:600;
	font-size:16px;
	margin-bottom:0.7em;
}
.ebi{
	display:inline-block;
	width:28px;
}

lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: content;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    max-width: 560px;
	margin:0 auto;
	border-radius:20px;
}
lite-youtube::after {
    content: "";
    display: block;
    padding-bottom: calc(100% / (16 / 9));
}
lite-youtube > iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}
lite-youtube > .lty-playbtn {
    display: block;
    width: 100%;
    height: 100%;
    background: no-repeat center/68px 48px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
    position: absolute;
    cursor: pointer;
    z-index: 1;
    filter: grayscale(100%);
    transition: filter .1s cubic-bezier(0, 0, 0.2, 1);
    border: 0;
}
lite-youtube:hover > .lty-playbtn,
lite-youtube .lty-playbtn:focus {
    filter: none;
}
lite-youtube.lyt-activated {
    cursor: unset;
}
lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
    opacity: 0;
    pointer-events: none;
}
.lyt-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
.reserve, .tel{
	border-top:none;
  	position: fixed;
  	border-radius:5%;
 	bottom: 10px;
  	margin-bottom:5px;
  	right:5px;
    	transition-duration: .5s;
}
.reserve{
	right:161px;
}
.reserve img, .tel img{
  	transition-duration: .5s;
  	z-index: 1;
}
.reserve img:hover, .tel img:hover {
	border-radius:5%;
	background: #ef92a3;
}
.tel img:hover {
	background: #b8b9fc;
}
.subnavi {
  margin-top: 5px;
  margin-bottom: 0;
  padding: 3px;
}
.subnavi ul {
  line-height: 14px;
  padding: 0px;
  margin-bottom: 4px;
  text-align: center;
}
.subnavi ul li {
	font-size:10px;
    display: inline; 	
    margin-right: 1em;
} 
.subnavi ul li a { 
    font-family: "Trebuchet MS", sans-serif; 
    text-decoration:underline;
    color: #444; 	 
} 
.subnaviul li a:hover{ 
    border-bottom: dotted 1px #fff;	 
}
.school_business, .school_bottom_info{
	display:block;
	margin: 0 auto;
	text-align:center;
}
.school_business, .school_bottom_info p {
  font-size: 15px;
  line-height: 1.5em;
  margin: 1em auto 0;
}
.business_info h3{
margin:10px auto 5px;

}
.copyright {
  width: 100%;
  border-top: none;
  margin-top: 0;
  text-align: center;
  font-size: 14px;
  padding-top: 25px;
}
@media screen and (min-width: 955px){


.logo {
  margin-left: 3.5%;
  margin-bottom: 1rem;
}
  img.logo-img {
  width: 180px;
  margin: 0.5rem 0 0.5rem 10%;
  }
.center_logo-img{

  }

  ul.main-nav {
    margin-top: 1.5rem;
    padding-bottom: 1rem;
  }
  ul.main-nav li {
	  padding-top:8px;
  }
  .head img {
    height: 150px;
  }
  }
@media screen and (min-width: 690px) and (max-width: 954px){
.logo {
  margin-left: 3.5%;
  margin-bottom: 1.6rem;
}
  img.logo-img {
	margin: 2rem 0 .5rem 10%;
    width: 22%;
  }
  .center_logo-img img{
    padding-top: 2rem;
    width: 360px;
  }
}

@media screen and (min-width: 481px) and (max-width: 689px){
.logo {
  margin-left: 4%;
  padding-bottom: 1.2rem;
}

div.b-list, div.jikosyoukai, h1.teacher-img img, h2.teacher-img img,
 .trial, .trialflow, .trialles, .qanda, .name{
  width: 90%;
  }
  /* 予約ボタン　*/
.reserve{
	right:137px;
}
  }
@media screen and (max-width: 480px){
	
.logo {
  margin-left: 1.8%;
  padding-bottom: 1rem;
}
  img.logo-img {
    width: 80px;
    margin-top: 1.6rem;
  }
  .center_logo-img img{
    padding-top: 1.5rem;
    width: 250px;
  }
div.b-list, div.jikosyoukai, h1.teacher-img img, h2.teacher-img img,
 .trial, .trialflow, .trialles h2 img, .qanda, .freetrial h2 img{
  width: 80%;
  }
  
   lite-youtube{
	border-radius: 5%;
	width: 380px;
	height: auto;
	margin: 0 auto;
	text-align: center;
}
  /* サブナビ　*/
  .subnavi{
    padding: 3px 10px 10px;
    width: 85%;
    margin: 0 10%;
  } 
  /* 予約ボタン　*/
.reserve img,.tel img{
 	width:100px;
 	height:100px;
}
.reserve{
	  bottom:110px;
	  right: 1%;
  }

  }

