@charset "UTF-8";

/*----------------------------------

デフォルトリセット

---------------------------------- */
p {
  margin:0;
  padding:0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin-block-start: inherit;
  margin-block-end: inherit;
  margin-inline-start: inherit;
  margin-inline-end: inherit;
  display: inherit;
}

a {
  text-decoration:none;
  color: #333;
}

input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}



/*----------------------------------

構造

---------------------------------- */

body {
  font-family: sans-serif;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  margin: 0;
  color: #333;
}

header,
footer{
  background-color: #85c346;
  font-size: 0.8rem;
  color: #fff;
  display: block;
}

header{
  padding: 3px 10px;
  /*height: 30px;*/
  display: flex;
}

header .inner_log{
  width: 50%;
}

header .inner_log img{
  width: 95%;
}

header .inner_btn{
  width: 50%;
  text-align: right;
}

header .inner_btn img{
  width: 95%;
}

footer{
  margin-top: 15px;
  text-align: center;
  padding: 10px 0;
  height: 60px;
}

#main_content {
  flex: 1;
  margin: 0 8px;
}

h1,h2{
  margin: 0 -8px;
}




h1 img,h2 img{
  width: 100%;
}

.heading_line{
  color: #43a941;
  text-align: center;
  position: relative;
  margin-bottom: 1em;
  font-size: 1.6rem;
  font-weight: bold;
}

.heading_line img{
  width: 80%;
}

.heading_line::before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 70%;
  height: 2px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #43a941;
  border-radius: 2px;
}

.heading_enclosure{
  font-size: 1.5rem;
  font-weight: bold;
  border: solid 1px #43a941;
  padding: 8px;
  text-align: center;
  color: #43a941;
  margin-bottom: 15px;
}



.sp{
  display: block;
}

.campaign{
  display: block;
  text-align: center;
  padding: 5px;
}
.campaign img{
  width: 100%;
}

.pc{
  display: none;
}

.wrapper{
  padding: 8px 0;
}

.flex,
.bnt_wrapper,
.enclosure_wrapper,
.privacy,
.company_wrapper{
  text-align: center;
  margin: 0 auto;
}

.company_wrapper{
  margin-top: 10px;
  margin-bottom: 15px;
}


.privacy{
  margin-top: 50px;
}

.company_wrapper img,
.enclosure_wrapper img{
  width: 100%;
}

.flex{
  display: flex;
  align-items: center;
  width: 100%;
}

.flex .column_a{
  width: 30%;
}

.flex .column_a img{
  width: 60%;
}

.flex .column_b{
  width: 70%;
}

.flex .column_c{
  width: 50%;
}

.flex .column_d{
  width: 50%;

}

.flex .column_d img{
  width: 100%;
}



.review_flex{
  display: flex;
  /*align-items: center;*/
  width: 100%;
  margin: 10px 0 25px 0;
  border-bottom: 1px solid #666;
  padding-bottom: 5px;
}

.review_flex .icon{
  width: 10%;
}
.review_flex .icon img{
  width: 80%;
}

.review_flex .text{
  padding-left: 5px;
  width: 90%;
}







.bnt_wrapper{
  margin-top: 10px;
}

.heading,
.heading_reason,
.heading_form{
  display: block;
  background-color: #43a941;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 8px;
}

.heading,
.heading_reason{
  font-size: 1.6rem;
}

.heading_form{
  font-size: 1.8rem;
}

.triangle{
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-right: 90px solid transparent;
  border-top: 30px solid #43a941;
}

.heading_reason{
  position: relative;
}

.heading_reason::after{
  content: '';
  display: inline-block;
  width: 120px;
  height: 120px;
  position: absolute;
  top: 15px;
  right: 0;
  background-image: url(images/reason_icon.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.reason{
  margin-top: 5px;
  display: block;
  background-color: #85c346;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  padding: 8px 0 8px 40px;
  position: relative;
}

.reason::before{
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 13%;
  left: 8px;
  background-image: url(images/light_bulb.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.media,
.review,
.step,
.credit,
.price
{
  text-align: center;
}

.media img{
  width: 80%;
}

.review img,
.step img,
.credit img,
.price img{
  width: 100%;
}

hr.style{
  border-top: 2px solid #43a941;
  width: 100%;
  margin-top: 0;
}

.service{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  text-align: center;
}



.service .item_main,
.service .item{
  display: block;
  background-color: #85c346;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 15px;
}

.service .item_main{
  width: 100%;
}

.service .item{
  width: 100%;
}





.service .item img,
.service .item_main img{
  width: 100%;
}

.service .item .details,
.service .item_main .details{
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}

.service .item_main .sub_text{
  font-size: 1rem;
  color: #fff;
}





/*----------------------------------

テキスト

---------------------------------- */

.column_text,
.sub_text{
  font-size: 1.3rem;
  font-weight: bold;
}

.comment,
.heading_sub_text{
  font-size: 1.1rem;
}

.step_text,
.enclosure_text{
  font-size: 0.95rem;
  padding-top: 10px;
  margin-bottom: 15px;
}

.reason_text{
  font-size: 0.95rem;
  text-align: left;
  padding-left: 5px;
}

.review_name{
  font-size: 0.9rem;
}

.review_text{
  font-size: 0.7rem;
}

/*----------------------------------

口コミの評価

---------------------------------- */

.star5_rating{
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC; /* グレーカラー 自由に設定化 */
    background-color: #fff;
    font-size: 1.2rem;
}

.star5_rating:before, .star5_rating:after{
    content: '★★★★★';
    background-color: #fff;
}

.star5_rating:after{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcf32;
    background-color: #fff;
}

.star5_rating[data-rate="4.4"]:after{ width: 88%; } /* 4.4 */
.star5_rating[data-rate="4.5"]:after{ width: 90%; } /* 4.5 */
.star5_rating[data-rate="4.6"]:after{ width: 91%; } /* 4.6 */
.star5_rating[data-rate="4.7"]:after{ width: 92%; } /* 4.7 */
.star5_rating[data-rate="4.8"]:after{ width: 93%; } /* 4.8 */
.star5_rating[data-rate="4.9"]:after{ width: 94%; } /* 4.9 */
.star5_rating[data-rate="5"]:after{ width: 100%; } /* 5 */


/*----------------------------------

よくある質問

---------------------------------- */

.acd-check{
  display: none;
}
.acd-label{
  font-size: 1rem;
  background: #85c346;
  color: #fff;
  display: block;
  margin-bottom: 1px;
  padding: 10px;
  position: relative;
}
.acd-label:after{
  box-sizing: border-box;
  content: '+';
  display: block;
  padding: 10px 20px;
  position: absolute;
  right: 0;
  top: 0px;
}
.acd-content{
  display: block;
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: .5s;
  visibility: hidden;
}
.acd-check:checked + .acd-label:after{
  content: '-';
}
.acd-check:checked + .acd-label + .acd-content{
  /*height: 80px;*/
  height:auto;
  opacity: 1;
  padding: 10px;
  visibility: visible;
}


/*----------------------------------

CVボタン

---------------------------------- */

@keyframes shiny {
    0% {
        transform: scale(0) rotate(25deg);
        opacity: 0;
    }

    50% {
        transform: scale(1) rotate(25deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(25deg);
        opacity: 0;
    }
}


.btn_web,
.btn_tel,
.btn_line{
  padding: 6px 0 6px 30px;
  /*border: 1px solid #f48201;*/
  border-radius: 15px;
  box-shadow: 2px 2px 4px #a5a5a5;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 80%;
  position: relative;
  overflow: hidden;
}

.btn_web{
  background: linear-gradient(to top, rgba(244, 130, 1, 1), rgba(246, 162, 4, 1) 20%,  rgba(244, 130, 1, 1));
}

.btn_tel{
  font-size: 2rem;
  background: linear-gradient(to top, rgba(137, 203, 254, 1), rgba(89, 203, 253, 1) 20%,  rgba(137, 203, 254, 1));
}

.btn_line{
  background: linear-gradient(to top, rgba(13, 195, 70, 1), rgba(13, 195, 70, 1) 20%,  rgba(13, 195, 70, 1));
}


.btn_web::before{
  content: '';
  display: inline-block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 15%;
  left: 15px;
  background-image: url(images/icon_web.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.btn_tel::before{
  content: '';
  display: inline-block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 15%;
  left: 15px;
  background-image: url(images/icon_tel.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.btn_line::before{
  content: '';
  display: inline-block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 15%;
  left: 15px;
  background-image: url(images/icon_line.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}


.btn_web::after,
.btn_tel::after,
.btn_line::after{
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 50px;
  height: 50px;
  background-image: linear-gradient(100deg,  rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 0) 0%);

  /* アニメーション */
  animation-name: shiny;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/*
.btn_web:hover,
.btn_tel:hover{
  opacity: 0.5 ;
}
*/

/*----------------------------------

追従バナー

---------------------------------- */

.floating-banner {
    position: fixed;
    z-index: 99999;
    bottom: 0;
    right: 0;
    background-color:rgba(255,255,255,0.5);
    display: flex;
    /* LINE入れたら下消す */
    /*justify-content: center;*/
    /*align-items: center;*/
}

.floating-banner img {
    /* LINE入れたら100% */
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/*----------------------------------

フォーム　 レスポンシブ

---------------------------------- */

.form_wrapper {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.form-item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

.add_name{
  margin-top: 9px;
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
}

.form-item:nth-child(6) {
  border-top: 0px solid #fff;
}


.Label_name {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

.Label_name .isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

.required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #fd1616;
  color: #fff;
  font-size: 14px;
}

.form-item-input,
.postal-code-item_left,
.postal-code-item_right{
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  background: #eaedf2;
  font-size: 18px;
}

.form-item-input{
  margin-left: 40px;
  width: 100%;
  max-width: 410px;
}

.postal-code-item_left{
  margin-left: 40px;
  width: 30%;
}

.postal-code-item_right{
  width: 30%;
}

.form-item-textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

.form_btn {
    border-radius: 6px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #fd7e00;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: solid 1px #e07001;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
}

/*　---- ここからフォーム　スマホ対応　---- */
@media screen and (max-width: 480px) {
  .form_wrapper {
    margin-top: 40px;
  }
  .form-item {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }

  .form-item:nth-child(6) {
    padding-top: inherit;
  }
　.postal_code{
    display: flex;
  }

  .add_name{
    margin-top: 9px;
  }

  .postal-code-item_left,
  .postal-code-item_right{
    width: 30%;
    margin-left: 0;
    margin-top: 9px;
    height: 40px;
    border-radius: 6px;
    background: #eaedf2;
    font-size: 16px;
  }


  .Label_name {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
  }
  .Label_name .isMsg {
    margin-top: 0;
  }
  .required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 34px;
    font-size: 12px;
  }

  .form-item-input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 16px;
  }

  .form-item-textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 150px;
    flex: inherit;
    font-size: 16px;
  }
}

/* ==================================================================================== */
/*  PC用&タブレット
/* ==================================================================================== */


@media screen and (min-width:990px){

    #main_content{
        margin: 0 auto;
        max-width: 900px;
    }

    .form_flex{
      width: 100%;
      display: flex;
    }

    .data_name{
      width: 35%;
      font-size: 1.1rem;
    }





    .input_data{
      padding: 8px 0 8px 15px;
      background-color: #ffffde;
      border-radius: 8px;
      display: block;
      width: 65%;
      font-size: 1.2rem;
      font-weight: bold;
    }





    h1,h2{
      margin: inherit;
    }

    header,
    footer{
      font-size: 1rem;
      line-height: 1.7em;
    }

    header .inner_log,
    header .inner_btn{
      width: 50%;
      text-align: center;
    }

    header .inner_log img{
      width: 30%;
    }

    header .inner_btn img{
      width: 30%;
    }

    footer{
      height: 80px;
      padding: 15px 0;
    }

    .sp{
      display: none;
    }

    .pc{
      display: block;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
      width: 100vw;
    }

    .service .item{
      width: calc( (100% - 37px) / 2 );
    }


    .service .item:nth-child(odd){
      margin-right: 5px;
    }


    .service .item .details,
    .service .item_main .details{
      font-size: 1.5rem;
      letter-spacing: 2px;
    }

    .service .item_main .sub_text{
      font-size: 1.3rem;
    }

    .flex .column_a{
      width: 40%;
      text-align: right;
      padding-right: 30px;
    }

    .flex .column_a img{
      width: 50%;

    }

    .flex .column_b{
      width: 60%;
      text-align: left;

    }

    .flex .column_d img{
      width: 90%;
    }


    .heading,
    .heading_reason{
      font-size: 3rem;
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
      width: 100vw;
    }

    .heading_line{
      font-size: 2.8rem;
    }



    .heading_reason::after{
      width: 250px;
      height: 250px;
      top: -20px;
      right: 30%;
    }

    .heading_form{
      margin-right: calc(50% - 50vw);
      margin-left: calc(50% - 50vw);
      width: 100vw;
      font-size: 3rem;
      padding: 20px 0;
    }

    .reason{
      margin-top: 5px;
      font-size: 1.6rem;
      padding: 8px 0 8px 60px;
      letter-spacing: 2px;
    }

    .reason::before{

      width: 35px;
      height: 35px;
      top: 15%;
      left: 15px;
    }

    .review_flex .icon{
      width: 10%;
    }
    .review_flex .icon img{
      width: 70%;
    }

    /*----------------------------------

    テキスト

    ---------------------------------- */

    .column_text{
      font-size: 2rem;
    }




    .sub_text{
      letter-spacing: 2px;
    }

    .heading_sub_text,
    .comment{
      font-size: 1.5rem;
    }

    .step_text,
    .enclosure_text{
      font-size: 1rem;

    }

    .reason_text{
      font-size: 1.2rem;
    }

    .review_name{
      font-size: 1.2rem;
    }

    .review_text{
      font-size: 1rem;
    }

    /*----------------------------------

    口コミの評価

    ---------------------------------- */

    .star5_rating{
        font-size: 1.5rem;
    }

    /*----------------------------------

    よくある質問

    ---------------------------------- */


    .acd-label{
      font-size: 1.3rem;
      padding: 20px;
    }

    .acd-label:after{
      top: 15%;
      cursor:pointer
    }

    .acd-check:checked + .acd-label:after{
      cursor:pointer
    }


    /*----------------------------------

    CVボタン

    ---------------------------------- */
    .btn_web,
    .btn_tel,
    .btn_line{
      padding: 15px 0 15px 10px;
      width: 70%;
    }

    .btn_web::before,
    .btn_tel::before,
    .btn_line::before{
      width: 50px;
      height: 50px;
      top: 15%;
      left: 15px;
    }




    /*
    .btn_web:hover,
    .btn_tel:hover{
      opacity: 0.5 ;
    }
    */
}
