@charset "utf-8";
/*
Theme Name: Defie
Theme URI:
Description:  
Author: 
Author URI: 
Version: 1.0
*/
h2{
  font-family: var(--font-family-nav);
  font-weight: 700;
  font-size: 10.0rem;
  text-align: left;
}
h3{
  color: var(--main-color);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 2.2;
}
.flex{
  display: flex;
}
@media only screen and (max-width:767px) {
  h2{
    font-size: 5.5rem;
    margin-bottom: 20px;
  }
  h3{
    font-size: 1.8rem;
    line-height: 1.8;
  }
}

/* top */
#top #fv{
  background:url('./img/top/fv_bg.jpg') no-repeat center bottom;
  background-size: cover;
  height: 80vh;
  background-attachment: fixed;
}
#top #fv .catch{
  font-size: 3.8rem;
  font-weight: 700;
  color:var(--main-color);
  width: 65%;
  background:rgba(255,255,255,0.7);
  transform: translate(0, 50%);
}
#top #fv .catch.en{
  font-size: 3.0rem;
  width: 80%;
}
@media only screen and (max-width:767px) {
  #top #fv{
    background-position: right 18% bottom;
    background-attachment: scroll;
    height: 60vh;
  }
  #top #fv .catch{
    font-size: 2.6rem;
    width: 100%;
    text-align: center;
  }
  #top #fv .catch.en{
    font-size: 1.8rem;
    width: 100%;
    text-align: left;
    
  }
  #top #about img{
    width: 100%;
    margin-top: 20px;
  }
}

#top #about .flex{
  justify-content: space-between;
}
#top #about .text-block{
  width: 50%;
}
#top #about img{
  width: 40%;
  height: auto;
  display: block;
}
@media only screen and (max-width:767px) {
  #top #about .flex{
    display: block;
  }
  #top #about .text-block{
    width: 100%;
  }
  #top #about img{
    width: 100%;
  }
}
#top #service{
  width: 100%;
  margin: 0;
  position: relative;
}
#top #service::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #79cdcd;
  transform: skewY(-7deg);
  z-index: -1;
  opacity: 0.8;
}
#top #service .content{
  text-align: center;
}
#top #service .service-title{
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
#top #service .service-block{
  background:#fff;
  padding: 20px;
  margin: 0 auto;
  font-weight: 700;
  font-size: 2.4rem;
  max-width: 60%;
}
#top #service .service-block.mb{
  margin-bottom: 60px;
}
#top #service .service-block .service-price{
  font-size: 4.8rem;
  margin-left: 20px;
  font-family: var(--font-family-nav);
  line-height: 1.4;
}
#top #service .service-block.block-en .service-price{
  line-height: 1;
}
#top #service .service-block.block-en .tax{
  margin-bottom: 10px;
}
#top #service .service-block .tax{
  font-size: 1.8rem;
  margin-left: 10px;
}
#top #service .service-block .memo{
  font-size: 2.2rem;
}
#top #service .flex{
  gap:10px;
}
#top #service .flex .service-block{
  padding: 10px;
  width: calc((100% - 20px) / 3);
}
#top #service .flex .subscription{
  color:#fff;
  margin-bottom: 20px;
}
#top #service .flex .service-block:nth-of-type(1) .subscription{
  background-color: #018ba5;
}
#top #service .flex .service-block:nth-of-type(2) .subscription{
  background-color: #92ba40;
}
#top #service .flex .service-block:nth-of-type(3) .subscription{
  background-color: #e2737a;
}
#top #service .buy-button{
  margin: 0 auto 20px;
  padding-bottom: 30px;
  border-bottom: 1px dotted #cccccc;
  width: 90%;
}
#top #service .buy-button:last-of-type{
  border:none;
}
#top #service .buy-button a{
  padding: 10px 40px;
  color: #fff!important;
  font-size: 1.4rem;
  background: var(--main-color);
  border-radius: 10px;
  font-weight: 500;
}
@media only screen and (max-width:767px) {
  #top #service .service-title{
    font-size: 2.0rem;
  }
  #top #service .service-block{
    max-width: 100%;
    padding: 10px;
    font-size: 1.8rem;
  }
  #top #service .flex{
    display: block;
  }
  #top #service .flex .service-block{
    width: 100%;
    margin-bottom: 10px;
  }
}

.company-table{
  background:#fff;
  margin: 40px auto 0;
  width: 70%;
  padding: 20px;
}
.company-table table{
  width: 100%;
}
.company-table table tr{
  padding: 0 20px;
}
.company-table table th{
  font-weight: 400;
  padding: 15px 30px;
  width: 30%;
  text-align: left;
  border-bottom: 1px dashed var(--border-color);
}
.company-table table td{
  padding: 15px 20px;
  width: 70%;
  border-bottom: 1px dashed var(--border-color);
}
.company-table table tr:last-child th,.company-table table tr:last-child td{
  border: none;
}
.company-table table a{
  color:var(--main-color)!important;
  text-decoration: underline;
}
@media only screen and (max-width:767px) {
  .company-table{
    width: 100%;
    padding: 10px;
  }
  .company-table table th{
    padding: 10px;
  }
  .company-table table td{
    padding: 10px;
  }
}

#top #contact{
  background: linear-gradient(7deg, #fec866 0%,#fec866 50%, transparent 50%, transparent 100%);
}
#top #contact .contact-text{
  width: 70%;
  margin:40px auto 40px;
}
#top #contact .contact-form{
  background:#fff;
  width: 70%;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}
#top #contact .contact-form table{
  width: 100%;
}
#top #contact .contact-form th{
  text-align: left;
  width: 30%;
  vertical-align: top;
  font-weight: 400;
  padding: 10px 0;
}
#top #contact .contact-form td{
  padding: 10px 0;
}
#top #contact .contact-form td input,#top #contact .contact-form td textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  font-size: 1.8rem;
}
#top #contact .contact-form .link-privacy{
  text-decoration: underline;
}
#top #contact .wpcf7-submit{
  color:#fff;
  display: block;
  margin:0 auto;
  background: var(--main-color);
  border:none;
  font-family: var(--font-family);
  font-size: 1.8rem;
  line-height: 1;
  padding: 10px 40px;
}

@media only screen and (max-width:767px) {
  #top #contact{
    background: linear-gradient(7deg, #fec866 0%,#fec866 80%, transparent 20%, transparent 100%);
  }
  #top #contact .contact-text{
    width: 100%;
  }
  #top #contact .contact-form{
    width: 100%;
    padding: 10px;
  }
  #top #contact .contact-form th, #top #contact .contact-form td{
    display: block;
    width: 100%;
  }
}

#privacy{
  background:linear-gradient(-5deg, transparent 0%,transparent calc(100% - 300px), #79cdcd 100px, #79cdcd  100%);
}
#privacy h1{
  font-family: var(--font-family-nav);
  font-size: 8.5rem;
  margin-bottom: 40px;
}
#privacy h2{
  font-size: 1.8rem;
  font-family: var(--font-family);
  border-left: 5px solid var(--main-color);
  padding: 10px 0 10px 20px;
  margin: 20px 0;
}
@media only screen and (max-width:767px) {
  #privacy h1{
    font-size: 4.0rem;
  }
  #privacy ol{
    padding-left: 25px;
  }
}
#commerce{
  background: linear-gradient(-5deg, transparent 0%,transparent calc(100% - 300px), #fec866 100px, #fec866  100%);
}

