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

html{
  font-size: 2.5vw;
}
body{
  font-size: 1.75rem;
}
.pc{
  display: none;
}


/*タイトル*/
.title_box{
  margin: 0 auto;
  text-align: center;
}
.title_box > h2 > span{
  display: block;
}
.title_box .eng{
  margin-bottom: 0.4em;
  font-size: 3.125rem;
  color: #174d7f;
}
.title_box .jpn{
  margin-bottom: 0.5em;
  font-size: 2.875rem;
}
.nor{
  margin-bottom: 2rem;
}
.title_box img{
  width: 18.5rem;
  max-width: 296px;
}
.company .title_box img{
  width: 12rem;
  opacity: 0.2;
}

h2.top_image{
  width: 90%;
  text-align: center;
  margin: 0 auto;
}

/*******ヘッダー*******/
#top{
  background-image: url('../img/spn_images/main_bg.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100%;
}
#top h1{
  text-align: center;
  padding: 80px 0 0;
}


.top_image > p > img{
  width: 100%;
  max-width: 570px;
}

/*******about*******/
.about .txt{
  margin: 20px 20px 60px;
  font-size: 1.7rem;
  text-align: left;
  line-height: 2;
}

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


/*******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{
  padding:80px 0 40px;
  margin: 0 auto; 
  position: relative;
}

.case h2 .case_illust{
  position: absolute;
  top: 50px;
  right: -0px;
  width: 60px;
}

.case div{
  width: 90%;
  margin: 0 auto;
  padding-bottom: 40px;
}


/*******flow*******/
.flow{
background:#efedc7 url('../img/spn_images/flow_bg.jpg') no-repeat  left bottom / 100%;
  text-align: center;
}

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

.flow h2 .flow_illust{
  position: absolute;
  top: 70px;
  right: -0px;
  width: 40px;
}

.flow ul{
  display: flex;
  flex-wrap: wrap;
  margin: 0 10px;
}

.flow li {
    width: 42vw;
    padding: 5px 10px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.flow li img{
  width: 100%;
}

.flow div.top_image{
  margin: 10px auto 0;
  width: 90%;
}

.flow .txt{
  font-size: 90%;
  padding: 20px 20px 80px;
}


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

/*******CONTACT*******/
.contact {
  margin:40px auto 120px;
}

.contact .txt{
  margin: 40px 20px 20px;
  line-height: 2;
  text-align: center;
}

.contact div.tel {
  margin: 0 auto 40px;
  text-align:center;
  width: 90%;
}



.contact dl{
  margin: 2rem 20px;
  line-height: 3rem;
    border-top: solid 1px #e3e3e3; 
  padding-top: 2rem;
}
.contact dt{
  padding-bottom: 1rem;
  font-size: 2rem;
}
.contact dd{
  line-height: 5rem;
  position: relative;
  font-size: 1.75rem;
}

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

.contact dd span.date{
  display: block;
}

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


.contact dd p.txt{
  font-size: 90%;
  text-align: right;
  margin: 0;
}


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

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


.contact .zip input:nth-of-type(1) {
    width: 5rem;
}

.contact .zip input:nth-of-type(2) {
    width: 6rem;
}

.contact .zip a{
  font-size: 80%;
}

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

.contact .long{
  width: 100%;
}
.contact .names div dd{
  padding-right: 0.2em;
}
.contact .names dd label{
  padding: 0 0.5em;
}
.contact .kana dd label{
  padding: 0 0.2em 0 0;
}
.contact .names div{
  display: flex;
  justify-content: space-between;
}
.contact .names dd{
  flex-basis: 50%;
  display: flex;
  justify-content: space-between;
}
.contact .names dd:last-child{
  text-align: right;
}
.contact .names dd > input{
  width: 75%;
}



.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.8rem;
  height: 1.8rem;

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

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

.contact .terms br{
  display: inline;
}

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



/*******ページトップ*******/
#page_top{
  display: none;
  position: fixed;
    right: 0;
    bottom: 2rem;
    z-index: 100;
}
#page_top img{
  width: 7rem;
}

/*******フッター*******/
footer{
  padding: 6rem 0 2rem;
  text-align: center;
}
small{
  font-size: 1.875rem;
}

/*フォントサイズ*/
@media (min-width: 640px) {
  html{
    font-size: 16px;
  }
  .wrapper{
    background: url('../img/spn_images/bg_spn.png') no-repeat center 40rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 164rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 292rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 416rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 540rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 664rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 788rem/100% 1971px
    , url('../img/spn_images/bg_spn.png') no-repeat 0 912rem/100% 1971px
    , url('../img/spn_images/onayami_bg_spn.gif') no-repeat left top/100vw;
  }
}
