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

/*エラー*/
.error_top{  
  border: 3px solid #ff0007;
  border-radius: 2rem;
  padding: 1rem 3rem ;
  margin-bottom: 2.5em;
  color: #ff0007;
  font-family: Sawarabi Gothic;
  font-weight: normal;
}
  .error_top .err_ttl{ 
    font-size: 2.2rem;
    /*font-weight: bold;*/
  }
  .error_top .error_text{
    margin-top: 0.8rem;
    font-size: 1.8rem;
  }



#main_v{
  background:url(../img/mainv_bg.jpg) center center /cover no-repeat;
}
h3{
  text-align:center;
  font-size:2.8rem;
  margin:1.5em 0;
}
.que dt{
  display:flex;
  align-items: flex-start;
  background-color:#f1eee9;
  padding:1em;
}
.que dt span{
  font-size:2.2rem;
  color:#FFF;
  background-color:#ff0007;
  border-radius:3em;
  min-width:3em;
  text-align:center;
  margin-right:1em;
}
.que dt p{
  font-size:2.2rem;
}
.que dd{
  padding:2em 0;
}
.que dd ul{
  display:flex;
  flex-wrap: wrap;
  padding:0 1em 0 6.5em;
}
  .que_prev  dd ul{
    padding-left: 1em;
    word-break: normal;
  }
.que dd ul li{
  font-size:1.8rem;
  margin-right:1.5em;
}
.que dd ul li input{
    display: none;
}
.que dd ul li label {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding-left:1.2em;
    position: relative;
    width: auto;

}
.que dd ul li label::before {
    background: #fff;
    border: 1px solid #231815;
    border-radius: 50%;
    content: '';
    display: block;
    height: 0.8em;
    left:0px;
    margin-top: -0.5em;
    position: absolute;
    top: 50%;
    width: 0.8em;
}
.que dd ul li label::after {
    background: #000;
    border-radius: 50%;
    content: '';
    display: block;
    height: 0.5em;
    left: 0.23em;
    margin-top: -0.31em;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 0.5em;
}
.que dd ul li input:checked + label::after {
    opacity: 1;
}
.que dd textarea{
  padding:0.5em;
  font-size:1.6rem;
  width:100%;
  box-sizing: border-box;
  height:10em;
}

.btn_area{
  margin-bottom:2em;
  text-align:center;
}
  .btn_enq{
    display: inline-block;
  }
    .btn_enq a {
        display: inline-block;
        background-color: #ff000f;
        border-radius: 3em;
        color: #FFF;
        padding: 1em 7em;
        position: relative;
        transition-duration: 0.3s;
        font-size: 1.8rem;
    }
    .btn_enq a:hover{
      opacity:0.7;
    }
    .btn_enq a:after {
        content: "";
        vertical-align: middle;
        position: absolute;
        top: 50%;
        margin-top: -0.3em;
        right: 1.5em;
        width: 0.4em;
        height: 0.4em;
        border-top: 0.15em solid #FFF;
        border-right: 0.15em solid #FFF;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .btn_back{
      margin-right: 2rem;
    }

main .caption{
  text-align:center;
}
main .caption p{
  display:inline-block;
  text-align:left;
  margin-bottom:3em;
}
main .caption p a{
  text-decoration:underline;
}
main .caption p a:hover{
  text-decoration: none;
}

/*サンクス画面*/
.txt_thanks{
  margin: 0 auto 10rem;
  width: 65%;
  font-size: 2rem;
  text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 960px) {

  
}


@media screen and (max-width: 767px) {
  
  #main_v {
    background: url(../img/mainv_bg.jpg) center center /420% no-repeat;
}
  h3 {
    text-align: left;
    font-size: 2.2rem;

}
  .que dt span {
    font-size: 2rem;
}
  .que dt p {
    font-size: 2rem;
}
  .que dd ul {
    padding: 0 1em 0 1em;
}
  .que dd ul li {
    font-size: 1.6rem;
    margin-bottom:0.5em;
}
  .que dd textarea {
    font-size: 16px;
}

.que_prev .btn_area{
  display: flex;
  justify-content: space-between;
}
  .que_prev .btn_enq{
    width: 48.5%;
  }
    .que_prev .btn_enq a {
        width: 100%;
        display: inline-block;
        padding: 1em 4rem;
    }

    .que_prev .btn_back{
      margin-right: 0rem;
    }

/*サンクス画面*/
.txt_thanks{
  margin: 0 auto 5rem;
  width: 96%;
  font-size: 1.8rem;
  text-align: left;
}

}

	
