@charset "utf-8";
/*---------------------------------
リセットｃｓｓ
---------------------------------*/

*{
  padding: 0;
  margin: 0;
}

html{
  font-size: 100%;
} 
body{
  color: #262626;
  font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, Sans-Serif;
  overflow-x : hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff
}   
a{
  text-decoration: none;
} 
img{
  max-width: 100%;
}
p {
  font-size: 16px;
  text-align: justify;
}
li{
  list-style: none;
  font-size: 1.2rem;
} 
.wrapper{
  max-width: 1200px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 5%;
}
   
.button {
  position: relative;
  display: inline-block;
  padding: 0.8em 2em;
  text-decoration: none;
  color: white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  margin: 5px;
  font-size: 16px;
}

.button:active {
  /*押したとき*/
  border: solid 1px #ef6475;
  box-shadow: none;
  text-shadow: none;
  
}
.button:hover{
  opacity: 0.8;
}

.marquee{
  width: auto;
  font-size:10px;
  padding:1px 0px 1px 0px;
  color:#ffffff;
  background-color:#efd8e2;
  background: #445597; 
  text-align: center;
}
.marquee p{
  font-size: 10px;
  text-align: center;
}
main .flex {
  display: flex;
}
.banner {
  width: 100%;
  text-align: center;
}

h1 {
  font-size: 30px;
  margin-top: 50px;
}

h1 span {
  display: inline-block;
}
h2 {
  margin-top: 50px;
}
h2:first-letter {
  font-size: 150%;
  color: #eb6100;
}
h3 {
  padding-top: 80px;
  padding-bottom: 20px;
  font-size: 20px;
}
h3 strong {
  color: blue;
}
h4 {
  padding: 20px;
  font-size: 18px;
}
#top strong {
  color: red;
  font-weight: bold;
}
.img-boxleft {
  margin-bottom: 20px;
}
.two {
    margin-top: 100px;
}

#top .sentence {
  columns: 2 15em;
  column-gap: 2em;
  column-rule: 2px dotted #24292e;
} 
#top .sentence_p {
  margin-top: 20px;
}
.button_b {
  margin-top: 80px;
  
}
.main_p {
  margin-top: 40px;
}
@media screen and (max-width:600px) {
 

h2 {
    color: blue;
  
}
h2 span {
  display: inline-block;
}
.one {
    font-size: 16px;
}
.banner {
  display: none;
}
ul li {
  font-weight: bold;
}
.boxright {
  text-align:center;
}

#top .sentence {
  margin: 0;  
} 
 
.button_b {
  text-align: center;
  
}
}

/*---------------------------------
説明会のながれ
---------------------------------*/

#detail .flex {
  display: flex;
  justify-content: space-around;
}

#detail .box {
  margin: 10px;
}
#detail .box .detail_photo {
  width: 250px;
  height: auto;
}
#detail h2 {
  margin-bottom: 20px;
}
#detail .detail_title {
  margin: 20px 0px;
  font-size: 20px;
  background-color: #F1B0B2;
  display: inline-block;
  padding: 0;
}

#detail .detail_title_2 {
  margin: 70px 0px 20px;
  font-size: 20px;
  background-color: #F1B0B2;
  display: inline-block;
  padding: 0;
}
#detail .circle {
  height:30px;
  width:30px;
  border-radius:50%;
  line-height:30px;
  text-align:center;
  background:pink;
  font-size:20px;
  margin-left:20px;
  display: inline-block;
  margin-right: 10px;
}

#detail .box .detail_photo2 {
  width: 400px;
  height: auto;
}
.button_a {
  padding: 0.8em 15em;
  text-decoration: none;
  color: white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  margin: 5px;
  font-size: 22px;
  font-weight: bold;
}

.button_a:active {
  /*押したとき*/
  border: solid 1px #ef6475;
  box-shadow: none;
  text-shadow: none;
  
}
.button_a:hover {
  opacity: 0.8;
}
.consultation_button{
  text-align: center;
  margin: 50px 0;
 }

 @media screen and (max-width:840px) {

 .button_a {
  position: relative;
  display: inline-block;
  padding: 0.8em 4em;
  text-decoration: none;
  color: white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  margin: 5px;
  font-size: 16px;
}

 }

@media screen and (max-width:600px) {

#detail .flex {
  display: flex;
  flex-direction: row;
}
#detail h2 {
  padding-top: 80px;
  font-size: 23px;
}
#detail h2 span {
  display: inline-block;
}

#detail .box img {
  display: none;
}
#article .box {
  margin-bottom: 20px;
}
#article h2 {
  font-size: 23px;
  padding-top: 0;
}
#article h2 span {
  display: inline-block;
}
.button_a {
  position: relative;
  display: inline-block;
  padding: 0.8em 4em;
  text-decoration: none;
  color: white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  margin: 5px;
  font-size: 16px;
}

}

/*---------------------------------
体験レッスン
---------------------------------*/
#service .flex {
  display: flex;
}

#service .box {
  margin: 10px;
}
#service .box img {
  width: 400px;
  height: auto;

}

#service h3 {
  padding: 20px;
  font-size: 20px;
}
#service .service_photo {
  width: 500px;
}
@media screen and (max-width:600px) {
#service .flex {
  flex-direction: column;
}
#service .box:nth-child(1) {
  order: 2;
}
  #service .box:nth-child(2) {
  order: 1;
}
#service h2 {
  font-size: 23px;
  padding-top: 0px;
}
#service h2 span {
  display: inline-block;
}

#service h3 {
  padding: 20px 0;
}
.first-banner {
  text-align: center;
}
}

     
/*---------------------------------
トップへもどるボタン
---------------------------------*/

.go-top{
  position: fixed;
  bottom: 10px;
  right: 20px;
  z-index: 9999;
}
.go-top a{
  width: 50px;
  height: 50px;
  display: inline-block;
  background: #E94E66;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  color: black;
  text-decoration: none;
}

.go-top a:hover{
    opacity: 0.8;
  }

@media screen and (max-width:600px) {

.go-top{
position: fixed;
z-index: 9999;
bottom: 10px;
left: 10px;

}
}


.recommend h3 {
  padding-top: 0px;
  padding-bottom: 10px;
}

.recommend h4 {
  padding: 0px;
}
