@charset "UTF-8";
@import "style.css";

html{
  font-size: 1.5686vw;/*1.328vw;*/
}
.spn{
  display: none;
}


.container{
  margin: 0 auto;
  max-width: 1020px;
}


/*******ヘッダー*******/
#top{
  background-image: url('../img/pc_images/main_bg.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100%;
}

#top h1{
  text-align: center;
  padding: 80px 0 0;
}

/*******about*******/
.about{
  margin: 0 auto 60px;
  text-align: center;
}

.about h2{
  padding:60px 0 30px;
}

.about .txt{
  margin-bottom: 1.5rem;
}

.about .txt span{
  background-color: #aad5f0;
}


/*******case*******/
.case{
  background: url('../img/pc_images/case_bg.gif') top left repeat;
  margin: 0 auto;
  text-align: center;
  padding: 0 0 40px 0;
}

.case h2{
  width: 651px;
  margin: 0 auto; 
  padding:80px 0 60px;
  position: relative;
}


.case h2 .case_illust{
  position: absolute;
  top: 100px;
  left: -50px;
}

.case div{
padding-bottom: 40px;
}


/*******flow*******/
.flow{
  background-image: url('../img/pc_images/flow_bg.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100%;
  text-align: center;
}

.flow h2{
  width: 651px;
  text-align: center;
  padding:80px 0 30px;
  margin: 0 auto; 
  position: relative;
}


.flow h2 .flow_illust{
  position: absolute;
  top: 70px;
  right: -20px;
}

.flow ul{
  display: flex;
  justify-content: center;
}

.flow li {
    width: 155px;
    height: 190px;
    padding: 10px;
}

.flow div{
  margin-top: 10px;
}

.flow .txt{
  padding: 40px 0;
}

/*******yajirushi*******/
.yajirushi img{
  width: 100%;
}


/*******CONTACT*******/
.contact {
  margin-bottom: 120px;
}

.contact h2{
  text-align: center;
  padding:60px 0 30px;
}

.contact .txt{
  text-align: center;
}

.contact div.tel {
  text-align:center;
  padding: 20px 0 40px;
}


.contact dl{
  display: flex;
  margin: 1rem;
  line-height: 3rem;
  border-top: solid 1px #e3e3e3; 
  padding-top: 1rem;
}
.contact dt{
  flex-basis: 25%;
}
.contact dd{
  position: relative;
  flex-basis: 75%;
}

.contact dd.zip{
  line-height: 0;
}

.contact dd div{
   padding-top: 1rem;
}

.contact dd p.txt{
  text-align: right;
}

.contact input{
  border-radius: 10px;
  height: 3rem;
  border: none;
  background-color: #efefef;
  font-size: 1.2rem;
}

.contact select{
  border-radius: 10px;
  height: 3rem;
  border: none;
  background-color: #efefef;
  font-size: 1.2rem;
}

.contact button#address-autocomp{
  border: solid 1px #c2c2c2;
  border-radius: 5px;
  padding: 3px;
}

.contact .long{
  width: 100%;
}
.contact .names dd label{
  padding: 0 1em;
}
.contact .kana dd label{
  padding-left: 0;
}
.contact .names div{
  display: flex;
  justify-content: space-between;
  flex-basis: 75%;
}
.contact .names dd{
  flex-basis: 50%;
}
.contact .names dd:last-child{
  text-align: right;
}
.contact .names dd > input{
  width: 85%;
}
.contact .nums{
  width: 20%;
  margin-right: 1rem;
}
.contact input[type="checkbox"]{
  /*display: none;*/
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.5em;
}
.contact label.kind{
  display: inline-block;
  padding-right: 1.5rem;
}

.check input{
  display: none;
}
.ch_part{
  padding-left: 0.5em;
  position:relative;
  margin-right: 1.5em;
}
.ch_part::before{
  display: inline-block;
  content: '';
  position: relative;
   top: 0.2rem;
   left: -0.5rem;
  width: 1.1rem;
  height: 1.1rem;

  background-color: #efefef;
  border-radius: 50%;
}
.check input:checked + .ch_part::after{
  content: "";
  display: inline-block;
  position: absolute;
  top: 0.18rem;
  left: 0.16rem;
  width:  0.8rem;
  height: 0.8rem;
  background-color: #ec7299;
  border-radius: 50%;
}
.contact .red{
  color: #ec7299;
}

.contact .terms{
  margin: 0 auto;
  border-top: solid 1px #e3e3e3;
  padding-top: 60px;
}

.red_submit{
  margin-top: 30px;
  text-align: center;
}
.red_submit input{
   height: 89px; 
}

/*******フッター*******/
footer{
  padding: 3rem 0;
  text-align: center;
}
small{
  font-size: 1rem;
}
/*フォントサイズ*/
@media (min-width: 1020px) {
  html{
    font-size: 16px;
  }
}

