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

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box

  }
  /*---------------------------------
ヘッダー
---------------------------------*/

html{
  font-size: 100%;
  overflow-x : hidden;
  -webkit-overflow-scrolling: touch;
}

body{
  color: #262626;
  font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, Sans-Serif;
  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: 960px;
 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;
}

 
main .qa dt{
  color: #100cfc;
  font-size: 17px;
}           

main h1{
padding: 50px;
}

h2{
  font-size: 1.5rem;
  text-align: center;
  padding-top:  100px;
  border-bottom: solid 10px #F1B0B2;

  
}
.qa li {
  text-align: right;
  font-weight: bold;
}
#contents h2{
                font-size: 26PX;
                
                margin-top: 50px;
                
              
                
              }
#contents h3{
                padding: 20px;
              }

              
#contents .flex{
                display: flex;
                justify-content:space-around;
                flex-wrap: wrap;
                background: white;
                padding: 50px 50px;
              }

#contents .box img{
                width: 530px;
                box-shadow: 10px 10px 10px 5px rgba(0, 0, 0, 0.2);
                border-radius: 10px;
              }


#contents2 .flex{
  display: flex;
  flex-wrap: wrap;
  padding: 10px 50px;
  justify-content: space-around;
  align-items: center;
  
}
#contents2 img{
  width: 300px;
}
#contents2 .reverse{
  flex-direction: row-reverse;
  
}
#contents2 p{
  line-height: 35px;
  text-align: left;

}
#contents2 h3{
  padding: 20px;
  text-align: left;
}

@media screen and (max-width:600px) {
  
  main h1 {
    margin-top: 20px;
    padding: 0;
  }
  .qa li {
    text-align:center;
  }
  
}



#contents2 .button{
  padding: 10px 50px;
  background: #D01026;
  color: white;
  display: inline-block;
  text-decoration: none;
  border-radius: 30px;
  margin: 30px;
}

#dcontents2 .button:hover{
    opacity: 0.8;
}



dl.qa {
  overflow: hidden;
  _zoom: 1;
 }
  
dl.qa dd,
dl.qa dt {
  text-indent: -2.6em; 
  padding: 0 20px 0px 50px;
 }
  
dl.qa dt {
  margin: 20px 0 20px 0;
  font-size: 20px;
  border-top: solid 1px #aaa;

 }
  
dl.qa dd:first-letter,
dl.qa dt:first-letter {
  font-size: 1.7em;
  font-weight: bold;
 }              
dl.qa dd {
margin: 10px 0 -1px 0;
padding-bottom: 50px;
font-size: 16px;
border-top: solid 1px #aaa;
}

dl.qa dt:first-letter {
color: #3498db;
}

dl.qa dd:first-letter {
color: #ff6767;
}




@media screen and (max-width:600px) {
  dl.qa dd:first-letter,
dl.qa dt:first-letter {
  font-size: 1em;
  margin: 0;
  padding: 5px;
 } 
  

    dl.qa dd:first-letter {
      font-size: 20px;
      
      }
   dl.qa dt {
      margin: 0;
      
      font-size: 20px;
  
     }  
  

 dl.qa dd {
  font-size: 17px;
 }
 dl.qa dd {
  border-bottom:none;
  }
  
}


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


#first .flex {
  display: flex;
}
#first .box {
  width: 50%;
  height: auto;
  padding: 20px;
}

#first h3 {
  padding: 20px 0px;
}
#first h4 {
  margin-bottom: 10px;
}
#first h5 {
  font-size: 18px;
}
#first-b .flex {
  display: flex;
}
#first-b .box {
  width: 50%;
  height: auto;
}
#first-b h2 {
  margin-bottom: 20px;
}
#first-b h3 {
  margin: 20px 0px;
}

.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;
}
.first_photo {
  padding-left: 20px;
  width: 400px;
  height: auto;
}
@media screen and (max-width:600px) {
  #first .flex {
    flex-direction: column;
  }
  #first .box {
    width: 100%;
    height: auto;
  }
  #first h5 {
    padding-bottom: 30px;
  }

#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 span {
  display: inline-block;
}
#first .first-c .box {
  width: 100%;
  height: auto;
  margin: 0;
}
#one .box {
  margin-bottom: 20px;
}
.ki-bunner {
  text-align: center;
  margin-bottom: 80px;
}
.taiken-bunner {
  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;
    }


