/*-------------
基本設定
-------------*/
:root {
  --header-h: 50px;
}

body{
  font-size: 5vw;
}
.pc{
  display: none;
}
.tab{
  display: none;
}
.mobi{
  display: block;
}
.pc.tab{
  display: none;
}
.wrapper{
  width: 100%;
  padding: 0 2.5%;
}
.ttl{
  font-size: 6vw;
}

/*-------------
header
-------------*/
.header-mobi-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0 5px 10px;
}
.hamburger{
  width: 44px;
  height: 44px;
  position: relative;
}
.hamburger span{
  width: 35px;
  height: 3px;
  border-radius: 2px;
  background: var(--main-color);
  position: absolute;
  left: 0;
  transition: all ease .3s;
  transform-origin: right;
}
.hamburger span:first-of-type{
  top: 12px;
}
.hamburger span:nth-of-type(2){
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span:last-of-type{
  bottom: 12px;
}
.hamburger span.active:first-of-type{
  top: 8px;
  transform: rotate(-45deg);
}
.hamburger span.active:nth-of-type(2){
  opacity: 0;
}
.hamburger span.active:last-of-type{
  bottom: 8px;
  transform: rotate(45deg);
}

.header-mobi ul{
  display: block;
  height: calc(100% - 50px);
  position: fixed;
  transform: translateX(100%);
  transition: all ease .3s;
  padding: 0 30px;
}
.header-mobi ul.active{
  transform: translateX(0);
}
header ul li a{
  text-align: center;
  display: block;
  height: auto;
  padding: 10px;
}
header ul li{
  width: auto;
}
header ul li:first-of-type{
  width: auto;
  margin-top: 50px;
}
header ul li:last-of-type{
  width: 100%;
}
/*-------------
top
-------------*/
.top{
  background: url(images/kv-sp.jpg) no-repeat;
  background-size: 100%;
  aspect-ratio: 70/73;
  width: 100%;
  margin-top: 50px;
}
.top_txt{
  padding: 0 10px;
  bottom: 30px;
  top: unset;
}
.top h1{
  width: 100%;
  font-size: 8vw;
}
.top_txt span{
  font-size: 5vw;
}
/*-------------
about
-------------*/
.about{
  padding: 30px 0;
  margin-top: 50px;
}
.about_inner h2{
  font-size: 7vw;
}
.about_inner-txt{
  font-size: 5vw;
  margin-top: 30px;
}
/*-------------
onayami
-------------*/
.onayami{
  padding: 30px 2.5%;
}
.onayami_inner {
  margin: 50px 0 0;
  padding: 0;
}
.onayami_inner h2{
  font-size: 5vw;
}
.onayami_inner h2::before{
  width: 12vw;
  left: -8vw;
  bottom: 0;
}
.onayami_inner ul{
  margin-top: 50px;
}
.onayami_inner li{
  width: 100%;
  padding: 20px 10px;
  font-size: 4.5vw;
  height: auto;
  margin-bottom: 20px;
}
.onayami_inner li img{
  width: 50px;
}
.onayami_txt{
  margin: 0;
  font-size: 4.5vw;
}
/*-------------
solution
-------------*/
.solution{
 padding: 30px 2.5%;
 background: url(images/solution-bg-sp.jpg) no-repeat;
 background-size: cover;
}
.solution_box{
  padding: 30px 2.5%;
}
.solution_box h2{
  font-size: 6vw;
  margin-bottom: 30px;
}
.solution_txt p{
  font-size: 4vw;
  margin-bottom: 20px;
}
.solution_txt p:last-of-type{
  margin-bottom: 0;
}
/*-------------
cta
-------------*/
.cta{
  padding: 30px 2.5%;
  background-position: center;
  background-size: auto 100%;
}
.cta_inner{
  width: 100%;
  padding: 20px 2.5%;
}
.cta_inner a{
  width: 90%;
  font-size: 5vw;
  padding: 10px 10vw 10px 10px;
}
.cta_inner a::before{
  width: 5vw;
  right: 7vw;
}
.cta .ttl{
  margin-bottom: 20px;
}
/*-------------
service
-------------*/
.service{
  padding: 50px 2.5%;
}
.service_ttl{
  margin: 0 0 30px;
}
.service_wrap{
  width: 100%;
}
.service_list-wrap{
  width: 100%;
  height: 55vw;
}
.service_list-item{
  width: 90%;
  padding: 10px 15px 10px 10px;
  display: block;
}
.service_list-item p{
  font-size: 5vw;
  margin-bottom: 10px;
}
.service_list-txt{
  font-size: 4.5vw;
}
.service_list-txt span{
  font-size: 3.8vw;
}
.service_list-item .arrow{
  width: 20px;
  margin-left: auto;
  display: block;
  bottom: 30px;
}
.service_list-item .arrow::before{
  width: 10px;
  height: 10px;
}
.service_list-item .arrow::after{
  width: 20px;
}
/*-------------
company
-------------*/
.company{
  padding: 30px 0;
}
.company table{
  width: 100%;
  margin-top: 30px;
}
.company table tr:not(:last-of-type) td{
  border-bottom: 0;
}
.company table th{
  border-top: 1px solid var(--base-color);
  border-bottom: 1px solid var(--base-color);
}

.company table th,
.company table td{
  display: block;
  text-align: left;
  padding: 10px;
  font-size: 4vw;
}
.company table td{
  background: #54575b;
}
/*-------------
profile
-------------*/
.profile{
  width: 100%;
  padding: 30px 2.5%;
}
.profile .ttl{
  margin-bottom: 30px;
}
.profile_inner{
  flex-wrap: wrap-reverse;
}
.profile_inner-message{
  font-size: 4vw;
}
.profile_inner-bio{
  flex-wrap: wrap;
}
.profile_inner-bio dt{
  font-size: 5vw;
  margin-bottom: 20px;
}
.profile_inner-bio dd p{
  font-size: 4vw;
}
.link-btn{
  font-size: 4vw;
  width: 48%;
  margin: 10px 0 20px;
}
/*-------------
page 
-------------*/
.page-wrap{
  margin-top: 54px;
}
.page-wrap h1{
  font-size: 6vw;
  margin-bottom: 30px;
  padding: 30px 0 0;
}
/*-------------
page service
-------------*/
.page-service-inner{
  flex-wrap: wrap;
}
.page-service-inner:first-of-type,
.page-service-inner:last-of-type{
  flex-wrap: wrap-reverse;
}
.page-service-inner h2{
  font-size: 5vw;
}
.page-service-inner p{
  font-size: 4vw;
}
/*-------------
page contact
-------------*/
.contact-tb{
  padding: 30px 2.5% 10px;
}
.contact-tb th,
.contact-tb td{
  display: block;
  width: 100%;
  padding: 5px 10px;
}
.required,
.optional{
  position: static;
  margin-left: 20px;
}
.contact-tb textarea{
  height: 200px;
}