@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;
  }
  
  p{
    font-size: 1rem;
    text-align: justify;
  }
  
  img{
    max-width: 100%;
  }
  
  li{
    list-style: none;
    font-size: 1.2rem;
  }
  
  .wrapper{
   max-width: 1100px;
   margin: 0 auto 130px auto;
   font-size: 0.9rem;
   padding: 0 4%;
  }
  
.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;
}

.pankuzu {
    padding-left: 18px; 
    font-size: 14px;
    
}


#one h2 {
  padding: 0.5em;
  background: #7cc2af;
  color: white;
  margin: 30px 0px;
}

#one h3 {
  padding: 0.5em;
  background: #c2d6d1;
  color: black;
  margin-top: 100px;

}

#one h4 {
  padding: 0.5em;
  background: #f1b27f;
  color: black;
  margin: 10px 0px;
}

  

#one img {
    margin-bottom: 30px;
}
#one .title-2 {
  margin-bottom: 30px;
}
.title-h3 {
  margin-top: 100px;
}

@media screen and (max-width:600px) {
  h1 {
    font-size: 23px;
  }
  .pankuzu {
    margin-top: 70px;
  }
  h2 {
    text-align: center;
    margin-top: 50px;
  }
  h2 span {
    display: inline-block;
    
  }
  #one h3 {
    margin-top: 40px;
  }
}
   

/*---------------------------------
個別説明会
---------------------------------*/

#first .flex {
  display: flex;
}
#first .box {
  width: 50%;
  height: auto;
  padding: 20px;
}
#first h2 {
  font-size: 1.5rem;
  text-align: center;
  padding-top:  100px;
  border-bottom: solid 10px #F1B0B2;

}
#first h4 {
  margin-bottom: 10px;
}
#first-b .flex {
  display: flex;
}
#first-b .box {
  width: 50%;
  height: auto;
  padding: 10px;
}
#first-b h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-align: center;
  padding-top:  100px;
  border-bottom: solid 10px #F1B0B2;
}
#first-b h3 {
  margin: 20px 0px;
  color: #E30021;
}
#first-b h3 span{
  display: inline-block;
}
.first-c .flex {
  display: flex;
}
.first-c .box {
  width: 50%;
  height: auto;
  padding: 20px;

}

.first-c h3 {
  padding-bottom: 0;

}

.first-c .box {
  padding: 0.5em 1em;
  color: #0d0d0e;/*文字色*/
  background: #FFF;
  border: solid 1px #0f0f0f;/*線*/
  border-radius: 10px;/*角の丸み*/  
  margin: 10px;
  
}

.first-c .box img {
width: 50px;
height: auto;
}
.first-c p {
width: 100%;
}
#one h3 {
  margin-bottom: 10px;
}

@media screen and (max-width:600px) {
  #first .flex {
    flex-direction: column;
  }
  #first .box {
    width: 100%;
    height: auto;
  }
  #first h5 {
    padding-bottom: 30px;
  }
 
#first h2 {
  text-align: center;
  padding: 0;
  background-color: white;
  margin-top: 100px;
}
#first h2 span{
  display: inline-block;

}
#first h3{
  padding: 15px 0;
  font-size: 20px;

}
#first h3 span{
  display: inline-block;

}

#first p span {
  display: inline-block;
}
#first-b .flex {
  flex-direction: column;
}
#first-b .box {
  width: 100%;
  height: auto;
}
#first-b h2 {
  text-align: center;
}
#first-b h3 {
  font-size: 22px;
  color: #E30021;
}
#first-b h3 span {
  display: inline-block;
}

#first-b h2 span {
  display: inline-block;
}

.first-c .flex {
  flex-direction: column;
}
.first-c .box {
  width: 100%;
  margin: 0;
}
#one .box {
  margin-bottom: 20px;
}

.banner_b{
  text-align: center;
}

.title-h3 {
  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;

}
}         


   /*---------------------------------
フッター

---------------------------------*/

footer{
    background-color: #445597;
  }
  
  
  
  footer a:link{color:#cccccc; }
  footer a:visited{color: #cccccc;}
  footer a:hover{color: #F85D5D; text-decoration: underline;  }
  footer a:active{color: #F85D5D; text-decoration: underline;  }
  
  
  .footer-in{
    display: flex;
    color: black;
    justify-content: space-between;
    padding: 30px 50px;
  
  }
  .footer-text ul li{
    font-size: 13px;
  }
  
.footer-top .flex{
  display: flex;
  justify-content: center;
  align-items:flex-end;
}
.footer-top h4 {
  font-size: 20px;
}
.footer-top img {
  width: 500px;
  height: auto;
}
.footer-top h3 {
  font-size: 25px;
  margin-top: 100px;
  text-align: center;
}
.footer-top .box{
  padding: 10px;
  width: 500px;

}
  @media screen and (max-width:600px) {
  .footer-in{
    flex-direction: column;
  }
  .footer-text ul li{
   font-size: 16px;
 }
 
.footer-top h3 span {
  display: inline-block;
}
.footer-top .flex{
  flex-direction: column;
}
.footer-top .box img {
  width: 100%;
  height: auto;
}
.footer-top .box{
  width: 100%;
  height: auto;

}
  } 
  
     