/* Default Style Reset --------------------------------------------------------------------------------------------------------- */
body,form,fieldset{margin: 0px;padding: 0px;}
fieldset          {border:none;}
h1,h2,h3,h4,h5,h6,p,pre,blockquote,ul,ol,dl,dd{margin: 0px;padding: 0px;}
blockquote,li,dt,dd{}
li                {list-style:none;}
input,textarea    {font-size: 1em;}
img{border: 0px none;margin: 0;padding: 0;vertical-align: bottom;}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


.spheadbox  {display: none;}
.sp  {display: none;}
.pc  {display: block;}
.spimg  {display: none;}
.pcimg  {display: block;}

.pccopy  {display: block;}
.spcopy  {display: none;}
.pcid   {display: block;}
.spid   {display: none;}

.spbox  {display: none;}
#lesson h2 .privacy  {width: 142px;}


a { text-decoration: none;}

img   {width: 100%;}

h1 img    {width: 110%;}

.flex  {display: flex; flex-wrap: wrap;}

.minfo        {font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;color: #145545;}

.text  {font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;    line-height: 2em;color: #444444;
font-feature-settings: "palt";    letter-spacing: 0.08em;
font-size: 16px;}

#privacy #container01 .flex { justify-content: center;}



header   {     z-index: 1000;background: #145545; position: fixed; width: 100%;}

#greetings h2 img    {width: 90px;margin-bottom: 12px;}
#profile h2 img    {width: 220px;margin-bottom: 12px;}
#lesson h2 img    {width: 270px;margin-bottom: 12px;}
#request h2 img    {width: 220px;margin-bottom: 12px;}

#g-nav    {display: flex;justify-content: space-between; align-items: center; padding: 10px 30px;}

#g-nav li a   {color: #fff; font-weight: bold;    letter-spacing: 0.12em;}
.facebook img   {width: 30px;}
.facebook img:hover {opacity: 0.8;}
.facebook img {transition: 0.5s;}

#g-nav .flex   {    width: 650px;
    font-size: 15px;
    align-items: center;
    justify-content: space-between;}
    
#g-nav .mail a {color: #145545;    padding: 9px 20px 10px 20px;border-radius: 50px;    background: #fff;}
#g-nav .mail a:hover {opacity: 0.8;}
#g-nav .mail a {transition: 0.5s;}


#g-nav .mail a::before {content: "";display: inline-block; width: 20px; height: 16px;margin-right: 7px; background-image: url(img/mail.svg);background-size: contain;vertical-align: middle;background-repeat: no-repeat;}

#main       {    padding: 61px 0 0 0;margin-bottom: 60px;}
h2          {font-size: 32px;color: #145545; margin-bottom: 30px; text-align: center;}

h2 span         {  font-size:16px; color:#145545;position: relative;display:block;padding: 0 20px;margin: 0 auto;}

h2 span:before,
h2 span:after {content: '';position: absolute;top: 50%;display: inline-block;width: 12px; height: 2px;background-color: #145545;}

h2 span:before {left: 0;}
h2 span:after { right: 0;}

#greetings h2 span{ width: 109px;}
#profile h2 span{ width: 89px;}
#lesson h2 span,#request h2 span{ width: 92px;}

#greetings {    margin: -70px auto 0;
    padding-top: 70px;   text-align: center;margin-bottom: 80px;}

#profile   {    margin: -70px auto 0;
    padding-top: 70px; width: 1000px; margin-bottom: 100px;}

#profile .flex  {    justify-content: space-between;}
#profile .imgbox  { width: 39%;}
#profile .textbox  { width: 58%; text-align: justify;}
#profile p  {font-size: 16px;}
#profile .name  {font-size: 35px;     margin-bottom: 12px;
    padding-bottom: 5px;   border-bottom: solid 2px;letter-spacing: 0.1em;}
#profile .flex span  {font-size: 28px;
    vertical-align: inherit;
    padding-left: 30px;}
    
h3    {    font-size: 25px;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding-bottom: 5px;
    border-bottom: solid 2px;}   
h3:before    {content: ""; display: inline-block;width: 17px;height: 17px;margin-right: 11px;background-color: #145545;background-repeat: no-repeat;transform: rotate(45deg);}    

#container01,#container02,#container03  { 
    margin: 0 auto 60px;
    width: 900px;}
.number  {    width: 130px; margin-right: 30px;}
#container01 p  {color: #145545; font-size: 20px; font-weight: bold;}
#container01 .flex  {  align-items: center;  margin: 0 auto 30px; width: 900px; justify-content: flex-start;}
#container01 .rtext  {width: calc(100% - 160px)}

#container02 .flex  {  align-items: center;  margin: 0 auto 40px; justify-content:space-between;}

#container02 .flex li  {width: 49%; border: solid 1px #145545;    padding: 44px 27px 27px 27px; position: relative;text-align: justify;}
#container02 .flex h4  {    background: #145545; width: 200px; padding: 10px; text-align: center; font-weight: bold; color: #fff;font-size: 20px; display: inline-block; position: absolute; top: -13%;left: 27%;}

.ma60   {margin-bottom: 60px;}
#info p {font-size: 20px;font-weight: bold; }
#info .text,#info .mintext { margin-bottom: 30px; }
#info .mintext   { font-size: 14px;    line-height: 1.6em;    margin-top: 5px;}
#info b{font-size: 18px;font-weight: bold; margin: 5px 0;    display: block;}
#info .btmline   {border-bottom: solid 1px #444444;    margin-bottom: 30px;}

.car {    width: 100px; background: #444444; height: 100px; display: flex; padding: 15px;}
#businesstrip ul   {display: flex; border: solid 1px #444444;}
.cartext  { display: flex; flex-direction: column; justify-content: center;margin-left: 20px;}
.btext   {font-size: 20px; }
#info    {margin-bottom: 40px;}

.basscl     {margin-right: 30px;    width: 250px;}
#container03 .flex  {justify-content: flex-start; margin-bottom: 50px;}
#container03 ul  {font-weight: bold;    font-size: 20px; margin-bottom: 15px;}
#container03 ul li  {margin-bottom: 10px;}
#container03 ul .dot:before  {content: ""; display: inline-block;width: 10px;height: 10px;margin-right: 11px;background-color: #444444;background-repeat: no-repeat; border-radius: 50%;     margin-bottom: 3px;}

#container03 .ma50  {margin-bottom: 50px;}
.free {    width: 100%;    margin-bottom: 40px;
    border: solid 1px #145545;
    padding: 44px 27px 27px 27px;
    position: relative;
    text-align: justify;}

#container03 .free   {position: relative;}

#container03 .free h4  { background: #145545;  width: 260px;padding: 10px; text-align: center;font-weight: bold; color: #fff; font-size: 20px;display: inline-block; position: absolute; top: -13%; left: 3%;}

.mailbtn
.btn span::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 20px;
    margin-right: 12px;    background-image: url(img/mail.svg);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.btn:hover span:before {    background-image: url("img/mailw.svg");}
.mailbtn   { text-align: center;}


/*== ボタン共通設定 */
.btn{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;width: 330px;
	overflow: hidden;
    /*ボタンの形状*/
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #145545;/* ボーダーの色と太さ */
    padding: 13px 30px;
    text-align: center;    border-radius: 50px;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#145545;    font-size: 20px;
    font-weight: bold;
}

.btn:hover span{
	color:#fff;
}

/*== 背景が流れる（中央から縦全体） */
.bgcentery:before {
	content: '';
    /*絶対配置で位置を指定*/
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
    /*色や形状*/
	background: #145545;
	width: 100%;border-radius: 50px;
	height: 100%;
    /*アニメーション*/
	transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
	transform: scale(1, 0);
	transform-origin:center;
}

/*hoverした際の形状*/
.bgcentery:hover:before{
	transform:scale(1, 1);
}


#request   { text-align: center; margin: -70px auto 60px;
    padding-top: 70px;}
.ma30    {margin-bottom: 30px;}
#lesson  {margin: -70px auto 60px;
    padding-top: 70px;}


/* スライドする要素 */
.content {
  width: 380px;
  height: 216px;
}
/* スライドレールの枠 */
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 216px;

}
/* content4つをまとめたスライドブロック */
.slideshow {
  display: flex;
  -webkit-animation: loop-slide 20s infinite linear 1s both;
  animation: loop-slide 60s infinite linear 1s both;
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


footer   { background: #145545;}
#footid  {    width: 300px;margin-bottom: 20px;}
.footflex   { display: flex;    justify-content: space-between;    margin: 0 auto;
    padding: 30px 50px;    height: 150px;    max-width: 1200px;
}

.footflex .colum{display: flex;flex-direction: column;justify-content: space-between;}

.footnav {margin-bottom: 10px;
    width: 650px;
    font-size: 15px;
    align-items: center;
    justify-content: space-between;display: flex;
}

.footnav li a {
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.12em;
}

small {color: #fff; font-size: 14px;font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif; }

.sns  {display: flex;
    justify-content: flex-end;    align-items: center;
}
.sns img {width: 30px;margin-right: 15px;}
.sns img {
	transition: 0.5s ;}
.sns img:hover { opacity: 0.8;}


.footflex .mail a {color: #145545;    padding: 9px 20px 10px 20px;border-radius: 50px;    background: #fff; font-weight: bold;}
.footflex .mail a:hover {opacity: 0.8;}
.footflex .mail a {transition: 0.5s ;}

.footflex .mail a::before {content: "";display: inline-block; width: 20px; height: 16px;margin-right: 7px; background-image: url(img/mail.svg);background-size: contain;vertical-align: middle;background-repeat: no-repeat;}




@media screen and (max-width:1200px) { 

}


@media screen and (max-width:1100px) {

#greetings h2 img    {width: 70px;margin-bottom: 12px;}
#profile h2 img    {width: 180px;margin-bottom: 12px;}
#lesson h2 img    {width: 250px;margin-bottom: 12px;}
#request h2 img    {width: 190px;margin-bottom: 12px;}


.btn:hover span:before {    background-image: url("img/mailw.svg"); z-index: 980;}
.btn:hover span:before { transition: transform .0s; }


.flexsns   { display: flex; justify-content: flex-end;    align-items: center;
    height: 50px;    margin-right: 45px;}
.flexsns img  { width: 30px; margin-right: 8px;}


.spheadbox  {display: flex;justify-content: space-between;}

.footflex .footnav  { font-size: 13px;    width: 100%;  min-width: 630px;margin-bottom: 20px;}

.pccopy  {display: none;}
.spcopy  {display: block;text-align: center;    padding-bottom: 30px;}

.footflex {flex-wrap: wrap;    justify-content: center;    height: 100%;    padding: 30px 50px 20px;}
.sns { justify-content: center;}


h3  {margin: 0 0px 30px 0px; padding: 0 10px 5px 10px;}

#container01, #container02, #container03 {    width: 100%;}
#container01 .flex { width: 100%;max-width: 900px;}

#container01 p { font-size: 18px;}
#profile { padding: 70px 20px 0;max-width: 1000px;    width: 100%;}
#lesson { padding: 70px 20px 0;}

h2 span:before,
h2 span:after {width: 9px; }

#greetings h2 span{ width: 100px;}
#profile h2 span{ width: 80px;}
#lesson h2 span,#request h2 span{ width: 83px;}

h2 {font-size: 27px;}
#info .mintext { font-size: 12.5px;}

.text  {font-size: 14px;}
h2 span { font-size: 14px;}

#main {
    padding: 50px 0 0 0;
    margin-bottom: 40px;
}

.pcid   {display: none;}
.spid   {display: flex;justify-content: flex-start;
    align-items: center;    height: 50px;    padding: 0 0 0 10px;}
.spid img  {display: block; width: 200px;}

header {height: 50px;}
#g-nav .flex li{ width: 100%;}

.spbox  {display: flex;    align-items: center;
    justify-content: center}
.textsp  {border-bottom: 1px solid #fff;}
.ma10   { margin-bottom: 10px;}

header .mail,header .facebook   {display: none}
.facebook2 img {width:30px;}

#g-nav .mail2 a {color: #145545;    padding: 4px 20px 5px 20px;border-radius: 50px;    background: #fff;}
#g-nav .mail2 a:hover {opacity: 0.8;}
#g-nav .mail2 a {transition: 0.5s;}


#g-nav .mail2 a::before {content: "";display: inline-block; width: 20px; height: 16px;margin-right: 7px; background-image: url(img/mail.svg);background-size: contain;vertical-align: middle;background-repeat: no-repeat;}
#g-nav .flex {
    max-width: 500px;
    min-width: 300px;}



/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgb(35,80,55,0.8);

    /*動き*/
	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 ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    top: 0px;
    right: 3px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #fff;
  	width: 45%;
  }

.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%;
}

#container02 .flex li {padding: 34px 22px 22px 22px;}

}


@media screen and (max-width:840px) { 


#container02 .flex h4 {width: 160px;}
}


@media screen and (max-width:760px) {

#greetings h2 img    {width: 65px;margin-bottom: 12px;}
#profile h2 img    {width: 160px;margin-bottom: 12px;}
#lesson h2 img    {width: 215px;margin-bottom: 12px;}
#request h2 img    {width: 190px;margin-bottom: 12px;}


.ma60 {margin-bottom: 40px;}
#container02 .flex li {width: 100%;margin: 0 auto 40px;    max-width: 500px;}

.sp  {display: block;}
.pc  {display: none;}

.footflex .footnav {      font-size: 12px;  flex-direction: column;}
footer {padding: 0 10px;}

.text { font-size: 14px;    line-height: 1.9em;}
#info .mintext { font-size: 11.5px;}
h2 span { font-size: 13px;}

h2 span:before,
h2 span:after {width: 9px; }

#greetings h2 span{ width: 100px;}
#profile h2 span{ width: 77px;}
#lesson h2 span,#request h2 span{ width: 82px;}

h2 {font-size: 22px; margin-bottom: 15px;}

#profile.flex {}
#profile .imgbox {     width: 100%;margin: 0 auto 15px;padding: 0 40px;max-width: 400px;}
#profile .textbox { width: 100%;}
#greetings { margin-bottom: 40px;}

#profile .name {font-size: 24px;}
#profile .flex span { font-size: 20px;padding-left: 15px;}
#profile p {font-size: 12px;}

#profile {margin-bottom: 50px;}
h3 {font-size: 20px;    padding: 0 10px 0px 10px;border-bottom: solid 1px;}
h3:before { width: 10px; height: 10px;margin-right: 11px;margin-bottom: 2px;}


#container01 .rtext { width: 100%;}
#container01 .rtext div { text-align: justify;}
#container01 .flex {justify-content: center;}
.number {margin: 0 0 20px 0;
    width: 70px;}
#container01 p {line-height: 1.5em; margin-bottom: 7px;font-size:16px;}

#container02 .flex h4 {    top: 1%;font-size: 17px;
    padding: 6px;
    left: 49%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);}
#container02 .flex {margin: 0 auto;}

#container01, #container02, #container03 {
    margin: 0 auto 40px;}

.youbi  { margin-bottom: 8px;}
.maryo  { margin-bottom: 5px;}

.car { width: 90px;height: auto;    padding: 10px 15px;}
.mizi  { line-height: 1.4em;}
#container03 ul  .basscl {
    margin: 0 auto 20px auto;
    width: 100%;
    padding: 0 40px;
    max-width: 400px;
}

#container03 .ma50 { margin-bottom: 0px;}
.cartext { margin-left: 0;padding: 10px;}

#container03 .free h4  {    top: 1%;font-size: 17px;
    padding: 6px;
    left: 49%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);}

.footflex .footnav  { font-size: 13px;    width: 100%;
    min-width: 200px;margin-bottom: 20px;}

.footflex { padding: 30px 0px 20px;}
.footflex .colum {  width: 100%; max-width: 300px;}

#main img  { background-size: cover;}
.spimg  {display: block;}
.pcimg  {display: none;}

#g-nav .flex {width:  300px;}

.content { width: 295px; height: 180px;}
.wrap {height: 180px;}
#lesson h2 .privacy  {width: 122px;}
}


@media screen and (max-width:425px) {

.content { width: 196px; height: 120px;}
.wrap {height: 120px;}

}






