@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: 1200px;
   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 img{
    width: 200px;
}
main .map img{
  width: 500px;
  
  
}   
main h1{
  padding: 20px;
  background-color: rgb(94, 169, 255);
  text-align: center;

}
main .map{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px;
  border-bottom: 2px solid #3b4ba0;

}
main .map .box{
  padding: 20px;
}
main .Item h3{
  padding: 5px 20px;
}
main .Item {
  padding: 30px;
}
main .Item img{
  padding: 20px;
}


@media screen and (max-width:600px) {
main .map {
  padding: 0px;
}  
h1 {
  margin-top: 70px;
}
main img {
  width: 100%;
  padding: 1px;
}
main .Item {
  padding: 1px;
}
main .Item img{
  padding: 4px;
}
main h2 {
  font-size: 30px;
}
main p {
  font-size: 20px;
}
main h3 {
  font-size: 21px;
}

}



.box24 {
  position: relative;
  padding: 0.5em 0.7em;
  margin: 2em 0;
  background: #e6f4ff;
  color: #5c98d4;
  font-weight: bold;
  display:inline-block;
}
.box24:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #e6f4ff;
  width: 0;
  height: 0;
}
.box24 p {
  margin: 0; 
  padding: 0;
}
th,td {
  border: solid 1px; 
  padding: 10px;             /* 枠線指定 */
}

table {
  border-collapse:  collapse;   /* セルの線を重ねる */
}

th {
  width:  300px;              /* 幅指定 */
  height: 80px;               /* 高さ指定 */
}


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

#first {
  max-width: 1000px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 4%;
 }
#first h2{
  font-size: 1.5rem;
  text-align: center;
  padding-top:  100px;
  border-bottom: solid 10px #F1B0B2;

  
}

#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;
}

@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:left;
  padding-left: 50px;
}
#first h2 span{
  display: inline-block;

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

}

#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;
}

#one .box {
  margin-bottom: 20px;
}
.ki-bunner {
  text-align: center;
  margin-bottom: 80px;
}
aside {
  margin-top: 80px;
  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;
  }

  .bdr-b {
    border-bottom:thin blue solid;
}

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

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

footer{
  background-color: #CB5266;
}



footer a:link{color:#cccccc; }
footer a:visited{color: #cccccc;}
footer a:hover{color: black; text-decoration: underline;  }
footer a:active{color: #CB5266; text-decoration: underline;  }


.footer-in{
  display: flex;
  color: black;
  justify-content: space-between;
  padding: 30px 50px;

}
.footer-text ul li{
  font-size: 13px;
}
footer p {
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}

.footer-top .flex{
  display: flex;
  justify-content: center;
}
.footer-top h4 {
  font-size: 20px;
  color: #CB5266;
}
.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;
  padding: 25px;
}
.footer-text ul li {
  font-size: 16px;
}
}


