@charset "utf-8";
/* CSS Document */



/*==============================
共通
==============================*/

#headWrap{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  border: 100px solid #fff;
  border-top: none;
}

#headWrap .titleBox{
  margin-bottom: 0;
}

#headWrap .titleBox h2,
#headWrap .titleBox h3{
  color: #333;
}

.titleBox{
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.titleBox h2{
  font-size: 40px;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.titleBox hr{
  border: none;
  margin: 0 auto;
  width: 50px;
  height: 5px;
  background-color: #84b9e1;
  margin-bottom: 20px;
}
.titleBox h3{
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 0;
}

.titleBox > img{
  position: absolute;
}

.titleBox > img:nth-of-type(1){
  width: 80px;
  top: -10px;
  left: -100px;
}

.titleBox > img:nth-of-type(2){
  width: 60px;
  top: -10px;
  right: -80px;
}

@media screen and (max-width: 1000px){
  
  #headWrap{
    border: none;
    height: 300px;
  }
}

@media screen and (max-width: 600px){
  
  .titleBox{
    margin-bottom: 30px;
  }
  
  .titleBox h2{
    font-size: 26px;
    line-height: 26px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }
  
  .titleBox hr{
    margin-bottom: 10px;
  }
  
  .titleBox h3{
    font-size: 16px;
    line-height: 16px;
  }

  .titleBox > img:nth-of-type(1){
    width: 45px;
    top: -10px;
    left: -65px;
  }

  .titleBox > img:nth-of-type(2){
    width: 35px;
    top: -10px;
    right: -65px;
  }
}

/*==============================
メイン
==============================*/
#afterWrap{
  width: 100%;
  text-align: center;
  padding: 0px 20px 100px;
}

#afterWrap > h3{
  margin-bottom: 20px;  
}

#afterWrap > p{
  margin-bottom: 20px;
}

#afterWrap > h4{
  font-weight: 500;
  text-decoration: underline;
  margin-bottom: 40px;
}

.afterBox{
  width: 100%;
  max-width: 700px;
  margin: 0 auto 50px;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 30px 20px;
}

.afterBox > p{
  text-align: center;
}

.afterBox > p > span{
  font-weight: 500;
  text-decoration: underline 2px;
  text-decoration-color: red;
}

.afterBox > h3{
  font-weight: 500;
  margin: 15px 0;
}

.afterBox > h3::after,.afterBox > h3::before{
  content: "ー";
}

.afterserviceBox{
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  background-color: #e8f4f5;
  border-radius: 15px;
  padding: 30px 20px;
}

.afterserviceBox > h2{
  text-decoration: underline 3px;
  text-decoration-color: #ffe050;
  margin-bottom: 15px;
}

.afterserviceBox > p{
  
}

.afterserviceBox > p > span{
  font-size: 18px;
  text-decoration: underline;
  
}

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1600px) {
}
@media screen and (max-width: 1400px) {
}

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

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

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

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

@media screen and (max-width: 600px){
  #afterWrap > h3{
    font-size: 19px;
  }
  
  #afterWrap > h4{
    font-size: 15px;
  }
.afterserviceBox > h2{
  font-size: 20px;
}
  
  
}

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