img{
  max-width: 100%;
}

.inner{
  max-width: 1080px;
  margin: 0 auto;
}
.clear:after{
  content: "";
  width: 0;
  height: 0;
  display: block;
  clear: both;
}
.kakko{
  text-align: center;
  color: #fff100;
  font-weight: bold;
}

.contact a.contact-button{
  padding: 10px 15px;
  margin-right: 20px;
  color :#e26a0e;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  font-size:14px;
  line-height: 1.3em;
  background-image: url(../img/bg-yellow.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.contact > div {
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
}

.contact p{
  color: white;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: bold;
}



header{
  background-color: #0c68ab;
  padding: 15px 0;
  box-shadow: 4px 4px 7px rgba(0,0,0,0.5);
}

header .contact{
  float: right;
  margin-top: 20px;
}
@media (max-width: 798px){
  header > div{
    padding: 0 20px;
  }
}
@media (max-width: 600px){
  header .contact{
    float: none;
  }
  header img,header .contact a.contact-button{
    display: block;
    margin: 0 auto;
  }
  header .contact a.contact-button{
    width: 120px;
  }
  header .contact > div{
    display: block;
    margin:20px 0 0;
  }
}

#sec1{
  background: #339cd1;
  padding: 50px 0 0;
  border-bottom: 2px solid ;
  background-image: url(../img/cloud-r.png),url(../img/cloud-l.png);
  background-repeat: no-repeat,no-repeat;
  background-position: right 20px,left;
}
#sec1 .kakko{
  font-size: 70px;
  letter-spacing: -2px;
}
#sec1 .kakko:before,
#sec1 .kakko:after{
  content: "";
  display: inline-block;
  position: absolute;
  width: 10px;
  height: 1.5em;
  border:1px solid white;
}
#sec1 .kakko:before{
  border-right: none;
}
#sec1 .kakko:after{
  border-left: none;
}
#sec1 div:first-of-type{

}
#sec1 h1{
  margin-top: 50px;
  text-align: center;
  font-size: 60px;
  font-weight: bold;
  color: white;
  line-height: 1.2em;
} 
#sec1 h1 em {
  display: block;
}
#sec1 h1 em img{
  max-width: 730px;
}
#sec1 #garage-text{
  font-size: 110px;
  text-align: center;
  margin-top: 200px;
  padding:80px 0; 
  border-top: 4px solid #fff100;
  border-bottom: 4px solid #fff100;
}
#sec1 #garage-text p{
  color: #fff100;
  font-weight: bold;
  text-shadow: 5px 5px 8px rgba(0,0,0,0.5);
}
@media (max-width: 900px) and (min-width: 798px){
  #sec1 #garage-text p{
    padding: 0 30px;
  }
}
#sec1 > img{
  display: block;
  margin: -80px auto 0;
}
@media (max-width: 670px){
  #sec1 .kakko{
    font-size: 45px;
  }
  #sec1 h1{
    font-size: 40px;
  }
  #sec1 h1 em img{
    max-width: 100%;
  }
}
@media (max-width: 500px){
  #sec1{
    background-image: none;
  }
  #sec1 .kakko{
    font-size: 35px;
  }
  #sec1 .kakko:before,#sec1 .kakko:after{
    display: none;
  }
  #sec1 h1 {
    max-width: 100%;
    font-size: 30px;
  }
  #sec1 #garage-text{
    margin-top: 50px;
    margin-bottom: 50px;
    padding:50px 0;
    font-size: 35px;
  }
}

.price-sec {
  padding-top: 30px;
}
.price-sec > .inner{
  z-index: 1;
}

.price-sec div#iphone8x img{
  box-sizing: border-box;
  display: block;
  position: relative;
  margin: 0 auto;
  max-width: 850px;
  z-index: 0;
}
@media (max-width: 850px){
  .price-sec div#iphone8x img{
    max-width: 100%;
    padding: 20px;
  }
}

#sec2 #first-p{
  margin-top: -50px;
  z-index: 500;
}
div.price p{
  display: block;
  position: relative;
  text-align: center;
  padding: 0 5em;
  margin: 0 auto;
  background-color: #339cd1;
  color:white;
  border-radius: 1em;
  width: 14em;
  max-width: 90%;
  font-size: 30px;
  font-weight: bold;
}
div.price div img{
  display: block;
  margin: 0 auto;
  padding: 50px 0;
}
div.price > div{
  background-color: #339cd1;
  margin-top: 20px;
}
.triangle{
  width: 100%;
}
.price-sec > div:nth-of-type(3){
  margin-top: 50px;
}
.price-sec > p{
  text-align: center;
  color: #0c68ab;
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 798px){
  div.price div img{
    max-width: 90%;
  }
  .triangle{
    margin-top: -1px;
  }
  div.price p{
    padding: 0;
  }
}
@media (max-width: 500px){
  div.price p{
    font-size: 22px;
  }
  div.price div img{
    padding: 25px 0;
  }
  .price-sec > p{
    font-size: 16px;
  }
}

.offer-sec{
  margin-top: 100px;
}
.offer-sec > div.inner{
  overflow: hidden;
  border-radius: 30px;
  border:solid 2px #339cd1;
}
.offer-sec > div.inner h2{
  padding:0.5em 0; 
  color: #0c68ab;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  background-color: #fff100;
}
.offer-sec > div.inner h2 span{
  display: block;
  font-size: 0.7em;
}
.offer-sec > div.inner > img{
  display: block;
  margin: 50px auto 0;
}
.offer-sec .contact-p{
  background-color: #0c68ab;
  padding: 10px 10px 0;
  margin-top: 50px;
}
.offer-sec .contact-p h4{
  display: block;
  float: left;
  width: 28%;
  font-size:30px;
  font-weight: bold;
  color: #fff100;
  text-align: center;
  margin: 10px;
  background-image: url(../img/bg-kakko.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center middle;
}
.offer-sec .contact{
  float: left;
  width: 60%;
  padding-left: 50px;
  padding-top: 25px;
  text-align: center;
}
.offer-sec .contact:before{
  content: "";
  display: block;
  float: left;
  height: 105px;
  width: 1px;
  border-right: 2px dashed white;
  margin-top: -23px;
  margin-right: 10px;
}
.offer-sec div.link-f{
  box-sizing: border-box;
  margin-top: 20px;
  padding: 20px 0;
  border:solid 12px #0c68ab;
}
.offer-sec .link-f *{
  box-sizing: border-box;
}
.offer-sec .link-f > div{
  display: block;
  float: left;
  width: 70%;
  text-align: right;
}
.offer-sec .link-f > div p:first-of-type{
  font-weight: bold;
  font-size: 28px;
}
.offer-sec .link-f > div p:first-of-type:after{
  display: inline-block;
  content: "";
  width: 200px;
  height: 1em;
  background-image: url(../img/arrow.png);
  background-repeat: repeat-x;
  background-position: bottom;
}
.offer-sec .link-f > div p:first-of-type span{
  color: #ea5514;
}
.offer-sec .link-f > div p:nth-of-type(2){
  font-weight: normal;
  font-size: 17px;
}
.offer-sec .link-f > a{
  float: left;
  width: 18%;
  padding-left: 5%;
}
@media (max-width: 900px) and (min-width: 798px){
  .offer-sec .contact-p h4{
    font-size: 28px;
    padding: 10px 15px;
  }
  .offer-sec .contact{
    padding-top: 0;
    padding-left: 40px;
  }
  .offer-sec .contact:before{
    padding: 25px 0;
  }
}
@media (max-width: 798px){
  .offer-sec{
    margin: 100px 20px;
  }
  .offer-sec > div.inner h2{
    font-size: 27px;
  }
  .offer-sec .contact-p h4{
    float: none;
    width: auto;
    background-image: none;
    margin: 0;
    padding: 10px;
    border-bottom: 2px dashed white;
    font-size: 35px;
  }
  .offer-sec .contact-p h4 br{
    display: none;
  }
  .offer-sec .contact:before{
    display:none;
  }
  .offer-sec .contact{
    width: auto;
    text-align: center;
  }
  .contact > div{
    margin: 0 0 20px 0px;
  }
  .offer-sec .link-f > a{
    width: auto;
    margin-top: 10px;
  }
  .offer-sec .link-f > div p:first-of-type{
    font-size: 26px;
  }
  .offer-sec .link-f > div p:first-of-type:after{
    background-position: top;
  }
}
@media (max-width: 500px){
  .offer-sec{
    margin: 50px 20px;
  }
  .offer-sec > div.inner h2{
    font-size: 22px;
    padding: 10px;
  }
  .offer-sec .contact-p h4{
    font-size: 25px;
  }
   .offer-sec .contact{
    padding:10px 0 10px;
   }
   .contact > div{
    margin: 10px 0 0;
   }
   .contact a.contact-button{
    margin: 0;
   }
   .offer-sec .link-f > div{
    float: none;
    width: auto;
    text-align: center;
   }
   .offer-sec .link-f > div p:first-of-type span{
    display:block;
   }
   .offer-sec .link-f > a{
    float: none;
    display: block;
    margin: 10px auto 0;
    padding: 0;
    text-align: center;
   }
}

#sec4 .triangle{
  margin-top: -2px;
}
@media (min-width:500px){
  #sec4 .price p{
    position: relative;
    z-index: 0;
    margin-top: -22px;
  }
}

#sec4 #dign{
  margin: 0 auto;
  max-width: 850px;
  position: relative;
  z-index:10;
}


@media (max-width:798px){
  #cb p{
    margin-top: -1px;
  }
}
@media (max-width:500px){
  #cb p{
    font-size:30px;
    letter-spacing: 0;
  }
}

footer{
  background-color: #fff100;
  margin-top: 100px;
}
footer p{
  text-align: center;
  font-size: 50px;
  color: #0c68ab;
  font-weight: bold;
}
@media (max-width: 900px) and (min-width: 798px){
  footer p{
    font-size: 30px;
  }
}
@media (max-width:798px){
  footer p{
    font-size: 35px;
  }
}
@media (max-width:500px){
  footer p{
    font-size: 19px;
  }
}