@charset "utf-8";
/* CSS Document */
.box{
    width: 100%;
    height: auto;
    padding-top: 137px;
}

.box-1{
    width: 100%;
    height: auto;
    margin-bottom: 100px;
}
@media screen and (max-width:960px){
    .box{
        padding-top: 98px;
    }
}
@media screen and (max-width:520px){
    .box{
        padding-top: 87px;
    }
}
@media screen and (max-width:480px){
    .box{
        padding-top: 80px;
    }
}
@media screen and (max-width:375px){
    .box{
        padding-top: 70px;
    }
}
/*ページ見出し*/
.title{
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 55px;
    background-image: url("image/background-midashi.webp");
    background-position: center;
/*    background-repeat: no-repeat;*/
    object-fit: cover;
    background-size:cover;
}
.title h1{
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
    font-size: 35px;
    letter-spacing: 0.08em;
}
.title h1:before {
    content: '';
    position: absolute;
    bottom: -20px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #14B8DC;
    border-radius: 2px;
}
@media screen and (max-width:640px){
    .title h1{
        font-size: 30px;
    }
}
@media screen and (max-width:520px){
    .title{
        padding-top: 30px;
        padding-bottom: 25px;
    }
    .title h1{
        font-size: 22px;
    }
    .title h1:before{
        width: 50px;
        bottom: -20px;
    }
}

/*ページ見出し終わり*/

.contact{
    width: 90%;
    height: auto;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
    margin: 0 auto;
}
.contact-1{
    width: 24%;
    height: auto;
    border: solid 3px #A1E2F1;
    padding: 10px;
    text-align: center;
    border-radius: 15px;
}
.contact-1_1{
  position: relative;
  margin: 1em auto;
  padding: 45px 5px;
  width: 150px;
  height: 150px;
  text-align: center;
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  background: #14B8DC;
  border-radius: 50%;
  box-sizing: border-box;
}

.contact-1_1:before {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #14B8DC;
  z-index: 0;
}
.contact-1_2 p{
    font-size: 15px;
    margin-bottom: 0;
}
.contact-1_2 .midashi{
    font-size: 20px;
    font-weight: bold;
    color: #14B8DC;
    margin-bottom: 5px;
    line-height: 1.3em;
}
.contact-1_3{
    margin-bottom: 20px;
    margin-top: 10px;
}
.contact-1_3 a{
    display: block;
    width: 90%;
    padding: 10px;
    background-color: #14B8DC;
    border: solid 2px #14B8DC;
    border-radius: 5px;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
}
.contact-1_3 a:hover{
    color: #14B8DC;
    background-color: #fff;
    font-weight: bold;
}
.contact-p{
    width: 90%;
    text-align: center;
    margin: 0 auto;
}
.contact-p p span{
    display: inline-block;
}

@media screen and (max-width:1200px){
    .contact{
        max-width: 800px;
        width: 90%;
        gap: 1.5%;
    }
    .contact-p{
        max-width: 800px;
        width: 90%;
    }
    .contact-1{
        width: 49%;
        margin-bottom: 10px;
    }
}
@media screen and (max-width:640px){
    .contact-1{
        padding: 0;
    }
    .contact-1_1{
        width: 135px;
        height: 135px;
        padding: 38px 5px;
    }
    .contact-1_3 a{
        font-size: 18px;
    }
}
@media screen and (max-width:520px){
    .contact{
        width: 80%;
        padding-top: 10px;
    }
    .contact-1{
        width: 100%;
        padding: 0 10px;
        margin-bottom: 20px;
        
    }
    .contact-1_2 p br{
        display: none;
    }
    .contact-1_2 p{
        font-size: 14px;
    }
    .contact-1_2 .midashi{
        font-size: 18px;
    }
    .contact-p p{
        font-size: 15px;
    }
}
@media screen and (max-width:375px){
    .contact{
        width: 90%;
    }
    .contact-p p{
        font-size: 14px;
    }
}