/*----------------
基本設定
-----------------*/
:root {
  --header-h: 60px;
}
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--header-h);
}
body{
  font-size: 18px;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
}
.serif{
  font-family: "Noto Serif JP", serif;
}
.pc{
  display: block;
}
.tab{
  display: none;
}
.mobi{
  display: none;
}
.pc.tab{
  display: block;
}
:root{
  --main-color:#4A6FA5;
  --pale-color:#C2E0DD;
  --accent-color:#E07A5F;
  --base-color:#F5F2F0;
  --text-color:#2b2b2b;
  --text-pale-color:#878787;
}
.ttl{
  font-size: 36px;
  position: relative;
  z-index: 0;
  text-align: center;
}
.ttl span{
  font-size: .7em;
  font-family: "Noto Serif JP", serif;
  color: var(--main-color);
  line-height: 1;
  display: block;
}
.wrapper{
  max-width: 1400px;
  width: 100%;
  margin: auto;
}

/*----------------
header
-----------------*/
header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background: var(--base-color);
  z-index: 999;
}
header ul{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 20px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
  background: var(--base-color);
  border-radius: 5px; 
}
header ul li{
  width: 180px;
  text-align: center;
  font-weight: bold;
}
header ul li a{
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
header ul li:first-of-type{
  margin-right: auto;
  width: max-content;
}
header ul .contact-btn{
  background: var(--main-color);
  color: #fff;
  transition: all ease .3s;
  position: relative;
  padding-right: 20px;
}
header ul .contact-btn::before{
  content: "";
  position: absolute;
  background: url(images/mail-icon.png) no-repeat;
  background-size: cover;
  aspect-ratio: 50/37;
  width: 15px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
header ul .contact-btn:hover{
  background: var(--accent-color);
}

/*----------------
kv
-----------------*/
.top{
  margin-top: 60px;
  aspect-ratio: 16/8;
  position: relative;
  background: url(images/kv-bg2.jpg) no-repeat;
  background-size: 100%;
  width: 100%;
  height: auto;
}
.top_txt{
  position: absolute;
  bottom: 40px;
  left: 0;
  z-index: 0;
  width: max-content;
  padding: 0 100px;
  color: #fff;
}
.top_txt h1{
  font-size: 60px;
  text-shadow: 1px 1px 3px #2b2b2b,-1px 1px 3px #2b2b2b,1px -1px 23px #2b2b2b,-1px -1px 3px #2b2b2b;
  margin-bottom: 10px;
}
.top_txt span{
  display: block;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.4);
  width: max-content;
  margin-bottom: 10px;
  padding: 0 10px;
  color: #2b2b2b;
  font-weight: bold;
}
/*----------------
about
-----------------*/
.about{
  margin-top: 100px;
  padding: 100px 0;
  background-image: linear-gradient(90deg, rgba(74, 111, 165, 1), rgba(194, 224, 221, 1) 50%, rgba(245, 242, 240, 1) 80%);
}
.about_inner h2{
  font-size: 45px;
  line-height: 1.5;
}
.about_inner h2 span{
  color: #fff;
}
.about_inner-txt{
  color: #fff;
  margin-top: 50px;
  font-size: 30px;
}
/*----------------
onayami
-----------------*/
.onayami_inner{
  max-width: 1200px;
  margin: 180px auto 50px;
  width: 100%;
}
.onayami_inner h2{
  position: relative;
  color: var(--main-color);
  font-size: 36px;
  width: max-content;
  margin: auto;
}
.onayami_inner h2 span{
  font-size: 1.5em;
}
.onayami_inner h2::before{
  content: "";
  position: absolute;
  background: url(images/onayami-img.webp) no-repeat;
  background-size: cover;
  aspect-ratio: 125/257;
  width: 100px;
  height: auto;
  bottom: -30px;
  left: -80px;
}

.onayami_inner ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 70px;
}
.onayami_inner li{
  background: var(--base-color);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 30px;
  width: 550px;
  height: 150px;
  margin-bottom: 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 22px;
  padding: 20px 50px;
}
.onayami_inner li p span{
  color: var(--main-color);
}
.onayami_txt{
  text-align: center;
  font-size: 20px;
  margin: 50px 0;
  font-weight: bold;
}

/*----------------
solution
-----------------*/
.solution{
  background: url(images/solution-bg.jpg) no-repeat;
  background-size: 100%;
  width: 100%;
  position: relative;
  padding: 90px 0;
  margin-top: 80px;
}
.solution_box{
  background: rgb(224 203 194 / 0.3);
  margin: auto;
  padding: 60px;
  border-radius: 10px;
}
.solution_box h2{
  font-size: 50px;
  color: #fff;
  margin-bottom: 50px;
}
.solution_inner{
  color: #fff;
}
.solution_txt p{
  margin-bottom: 40px;
  font-size: 24px;
}
/*----------------
cta
-----------------*/
.cta{
  background: url(images/cta-bg.png) no-repeat;
  background-size: 100% 100%;
  padding: 80px 0;
}
.cta .ttl{
  color: #fff;
  margin-bottom: 50px;
}
.cta .ttl span{
  color: var(--text-color);
}
.cta_inner{
  background: #fff;
  width: 800px;
  margin: auto;
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}
.cta_inner a{
  background: var(--accent-color);
  color: #fff;
  font-weight: bold;
  padding: 10px 100px 10px 50px;
  border-radius: 40px;
  position: relative;
  margin: 30px auto 0;
  display: block;
  width: 450px;
  font-size: 25px;
  transition: all ease .3s;
  box-shadow: 3px 3px 5px rgb(0 0 0 / .3);
}
.cta_inner a:hover{
  box-shadow: none;
  transform: translate(3px,3px);
}
.cta_inner a::before{
  content: "";
  position: absolute;
  background: url(images/mail-icon.png) no-repeat;
  background-size: cover;
  width: 25px;
  aspect-ratio: 50/37;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
}
/*----------------
service
-----------------*/
.service{
  padding: 50px 0;
  background: var(--base-color);
}
.service_wrap{
  width: 1100px;
  margin: auto;
}
.service_ttl{
  margin: 50px auto;
}
.service_list-wrap{
  position: relative;
  height: 300px;
  margin-bottom: 50px;
}
.service_list-wrap > img{
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}
.service_list-item{
  background: #fff;
  width: 500px;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.service_list-item .arrow{
  position: relative;
  transition: all ease .3s;
}
.service_list-item:hover .arrow{
  transform: translateX(10px);
}
.service_list-item .arrow::before{
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  width: 15px;
  height: 15px;
  transition: all ease .3s;
}
.service_list-item .arrow::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: #000;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all ease .3s;
}
.service_list-item:hover .arrow::before{
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
}
.service_list-item:hover .arrow::after{
  background: var(--main-color);
}
.service_list-item:not(:last-of-type){
  margin-bottom: 50px;
}
.service_list-item p{
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
/*----------------
company
-----------------*/
.company{
  background: #2b2b2b;
  padding: 50px 0;
}
.company .ttl{
  color: #fff;
}
.company table{
  width: 900px;
  margin: 50px auto;
}
.company table{
  border-collapse: collapse;
}
.company table th{
  font-size: 20px;
  padding: 20px 30px;
  color: #fff;
}
.company table tr:not(:last-of-type) th,
.company table tr:not(:last-of-type) td{
  border-bottom: 1px solid #fff;
}
.company table td{
  font-size: 20px;
  padding: 20px;
  color: #fff;
}
/*-----------------
profile
-----------------*/
.profile{
  width: 1200px;
  background: #fff;
  margin: auto;
  padding: 50px;
  border-radius: 10px;
}
.profile .ttl{
  color: var(--text-color);
  margin-bottom: 50px;
}
.profile_inner{
  display: flex;
  column-gap: 50px;
  justify-content: center;
}
.profile_inner-img p{
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  margin-top: 10px;
}
.profile_inner-bio{
  display: flex;
  column-gap: 50px;
  justify-content: space-between;
}
.profile_inner-bio dt{
  border-bottom: 2px solid var(--text-color);
  font-size: 25px;
  padding: 5px 10px;
  margin-bottom: 30px;
  font-weight: bold;
}
.profile_inner-bio dd p{
  margin-bottom: 20px;
}
.profile_inner-message p{
  margin-bottom: 20px;
}
.link-btn{
  padding: 5px;
  width: 130px;
  border-radius: 30px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  margin: 10px 0 30px;
}
.link-btn.amazon{
  background: #131921;
  color: #fff;
}
.link-btn.rakuten{
  background: #bf0000;
  color: #fff;
}
footer{
  background: var(--text-color);
  color: #fff;
}
.footer_copy{
  padding: 20px;
  font-size: 14px;
  text-align: center;
}

/*----------------
page
-----------------*/
.page-wrap{
  margin: 60px auto 50px;
}
.page-wrap h1{
  text-align: center;
  margin: 0 0 80px;
  padding: 50px 0 0;
}
/*----------------
page service
-----------------*/
.page-service{
  background: #fff;
}
.page-service-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
  margin-bottom: 50px;
}
.page-service-inner:last-of-type{
  margin-bottom: 0;
}
.page-service-inner h2{
  margin-bottom: 20px;
  border-bottom: 5px solid var(--main-color);
  width: max-content;
  padding-bottom: 5px;
}
.page-service-inner p:first-of-type{
  margin-bottom: 30px;
}

/*----------------
page contact
-----------------*/
.contact-tb{
  max-width: 1100px;
  width: 100%;
  margin: auto;
  background: var(--base-color);
  padding: 30px;
}
.contact-tb table{
  border-collapse: collapse;
  width: 100%;
}
.contact-tb th,
.contact-tb td{
  padding: 10px 20px;
  vertical-align: middle;
}
.contact-tb th{
  width: 25%;
  text-align: left;
  vertical-align: text-top;
  position: relative;
}
.required{
  background: #ff0000;
  color: #fff;
  font-size: 12px;
  padding: 0 5px;
  border-radius: 5px;
  position: absolute;
  right: 0;
  top: 10px;
}
.optional{
  background: #ccc;
  color: #fff;
  font-size: 12px;
  padding: 0 5px;
  border-radius: 5px;
  position: absolute;
  right: 0;
  top: 10px;
}
.contact-tb td input[type="text"],
.contact-tb td input[type="email"],
.contact-tb td textarea{
  width: 100%;
  border: none;
  padding: 5px;
}
.form-check{
  text-align: center;
}
.submit{
  background: var(--main-color);
  width: 250px;
  padding: 10px 20px;
  box-sizing: border-box;
  color: #fff;
  border-radius: 5px;
  display: block;
  margin: 30px auto 0;
  border: 0;
  cursor: pointer;
}
.contact-check{
  text-align: center;
}
@media screen and (max-width:1400px){
  .wrapper{
    width: calc(100% - 2%);
  }
  header ul{
    padding: 0 2%;
  }
}
@media screen and (max-width:1200px){
  .profile{
    width: calc(100% - 2%);
  }
}