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


/*==============================
共通
==============================*/
#headWrap{
  background-image: url("../img/headBack.jpg");
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 400px;
}

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

.titleBox > h2{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  margin-bottom: 20px;
  font-family: 'Sawarabi Mincho', serif;
  letter-spacing: 10px;
  font-weight: normal;
}

.titleBox > hr{
  width: 50px;
  height: 5px;
  border: none;
  background-color: #9ec6ce;
  margin: 0 auto;
}

@media screen and (max-width: 600px){
  #headWrap{
    height: 250px;
  }
}



/*==============================
contactWrap
==============================*/

span.hissu{
  font-weight: bold;
  color: #e41a1a;
}

#contactWrap{
  padding: 100px 20px;
}

.telBox{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
}

.telBox > ul{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.telBox > ul > li{
  width: 48%;
  margin-bottom: 15px;
}

.telBox > ul > li:first-of-type{
  width: 100%;
}

.telBox > ul > li > h3{
  width: 100%;
  letter-spacing: 2px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  padding: 15px;
  margin-bottom: 15px;
}

.telBox > ul > li:first-of-type > h3{
  max-width: 600px;
  margin: 0 auto 15px;
}

.telBox > ul > li > h3 span{
  font-size: 16px;
}

.telBox > ul > li > a,
.telBox > ul > li > span{
  width: 100%;
  display: block;
  text-align: center;
  margin: 0 auto;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.lineBox{
  width: 200px;
  margin: 0 auto 50px;
}

.lineBox > a{
  display: block;
  width: 100%;
  padding: 10px;
  border: 5px solid #07b53a;
  border-radius: 10px;
}

.lineBox > a img{
  width: 100%;
}

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

.contactBox{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background-color: #f1f1f1;
  padding: 100px;
}

.contactBox > p{
  margin-bottom: 30px;
  text-align: center;
}

.contactBox > h3{
  margin-bottom: 10px;
  text-align: center;
}

.contactBox > hr{
  border: none;
  display: block;
  background-color: #84b9e1;
  width: 50px;
  height: 5px;
  margin: 0 auto 10px;
}

.contactBox > form input,
.contactBox > form select,
.contactBox > form textarea{
  width: 100%;
  padding: 15px;
  border: none;
  margin-bottom: 20px;
}

.contactBox > form > input[type=submit]{
  display: inline-block;
  padding: 20px 50px;
  background-color: #9ec6ce;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
}

.contactBox > form p{
  margin-bottom: 5px;
}

.nameBox{
  width: 100%;
  display: flex;
}

.nameBox > div{
  width: 40%;
  margin-right: 5%;
}

.adressBox > div{
  width: 100%;
  display: flex;
}

.adressBox > div > div{
  width: 30%;
  margin-right: 5%;
}

.renrakuBox{
  width: 100%;
  display: flex;
}

.renrakuBox > div:first-of-type{
  width: 25%;
  margin-right: 5%;
}

.renrakuBox > div:last-of-type{
  width: 60%;
}

.nichijiBox{
  display: flex;
}

.nichijiBox > div{
  width: 25%;
  margin-right: 5%;
}


@media screen and (max-width: 800px){
  
  .contactBox{
    max-width: 600px;
    padding: 30px 20px;
  }

  .contactBox > form input,
  .contactBox > form select,
  .contactBox > form textarea{
    width: 100%;
    padding: 10px;
    border: none;
    margin-bottom: 20px;
  }

  .telBox > ul > li{
    width: 100%;
  }

  .nameBox{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .nameBox > div{
    width: 48%;
    margin-right: 1%;
  }

  .nameBox > div:last-of-type{
    margin-right: 0;
  }

  .adressBox > div{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .adressBox > div > div{
    width: 48%;
    margin-right: 1%;
  }

  .adressBox > div > div:last-of-type{
    margin-right: 0;
  }

  .renrakuBox{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .renrakuBox > div:first-of-type{
    width: 40%;
    margin-right: 5%;
  }

  .renrakuBox > div:last-of-type{
    width: 55%;
  }
}





/*==============================
chartWrap
==============================*/

#chartWrap{
  padding: 0px 20px 100px;
}

#chartWrap > p{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px;
}

.chartBox{
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 100px;
}

.chartBox::before{
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  top: -15px;
  left: -60px;
  background-color: #9ec6ce;
}

.chartTitle{
  display: none;
  position: relative;
  font-family: 'Kaisei Decol', serif;
  font-weight: normal;
  padding-left: 50px;
  margin-bottom: 20px;
}

.chartTitle::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 45px;
  height: 2px;
  background-color: #333;
}

.chartTitle::after{
  content: "";
  width: 10px;
  height: 100px;
  position: absolute;
  top: 0;
  left: -50px;
  background-color: #9ec6ce;
}

.chartChoice{
  position: relative;
  width: 100%;
  display: flex;
  display: none;
  justify-content: space-between;
  margin-bottom: 50px;
}

.chartChoice::after{
  content: "";
  width: 10px;
  height: 130px;
  position: absolute;
  top: 0;
  left: -50px;
  background-color: #9ec6ce;
}

.chartBtn{
  width: 48%;
  border: 5px solid #9ec6ce;
  border-radius: 10px;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.chartradio{
  display: none;
}

.goal{
  display: block;
  position: relative;
  display: none;
}

.goal::before{
  content: "";
  position: absolute;
  top: 60px;
  width: 50px;
  height: 50px;
  background-color: #84aeb6;
  z-index: 1;
}

.goal > h3{
  position: absolute;
  font-size: 18px;
  letter-spacing: 3px;
  line-height: 26px;
  padding-left: 15px;
  margin-top: 10px;
  top: 60px;
  left: 0;
  color: #fff;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0,0,0,1);
}

.goal > h2{
  text-align: center;
  font-family: 'Kaisei Decol', serif;
  font-weight: normal;
  margin-bottom: 20px;
}

.goal > img{
  width: 100%;
}

#check01:checked ~ .chartText01{
  display: block;
}

#check01:checked ~ .chartChoice01{
  display: flex;
}

#check02:checked ~ .chartText02{
  display: block;
}

#check02:checked ~ .chartChoice02{
  display: flex;
}

#check03:checked ~ .goal01{
  display: block;
}

#check04:checked ~ .goal02{
  display: block;
}

#check05:checked ~ .goal03{
  display: block;
}

#check06:checked ~ .chartText03{
  display: block;
}

#check06:checked ~ .chartChoice03{
  display: flex;
}

#check07:checked ~ .goal03{
  display: block;
}

#check08:checked ~ .goal04{
  display: block;
}


#check01:checked ~ .goal03,
#check01:checked ~ .goal04{
  display: none;
}

#check01:checked ~ .chartText02,
#check01:checked ~ .chartText03,
#check01:checked ~ .chartChoice02,
#check01:checked ~ .chartChoice03{
  display: none;
}

#check02:checked ~ .goal01,
#check02:checked ~ .goal02{
  display: none;
}

#check05:checked ~ .goal04{
  display: none;
}


#check01:checked ~ div #radio01,
#check01:checked ~ div #radio01 p,
#check02:checked ~ div #radio02,
#check02:checked ~ div #radio02 p,
#check03:checked ~ div #radio03,
#check03:checked ~ div #radio03 p,
#check04:checked ~ div #radio04,
#check04:checked ~ div #radio04 p,
#check05:checked ~ div #radio05,
#check05:checked ~ div #radio05 p,
#check06:checked ~ div #radio06,
#check06:checked ~ div #radio06 p,
#check07:checked ~ div #radio07,
#check07:checked ~ div #radio07 p,
#check08:checked ~ div #radio08,
#check08:checked ~ div #radio08 p{
  background-color: #6095a0;
  color: #fff;
  font-weight: bold;
}

@media screen and (max-width: 1000px){
  .goal > h2{
    font-size: 20px;
    line-height: 30px;
  }
  
  .goal > h3{
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 500;
  }
  
  .goal::before,
  .goal > h3{
    top: 80px;
  }
}

@media screen and (max-width: 600px){
  #chartWrap {
    padding: 50px 20px;
  }
}



