/*-----------------
基本設定
------------------*/
body{
  font-size: 4vw;
}
.pc{
  display: none;
}
.tab{
  display: none;
}
.mobi{
  display: block;
}
.pc.tab{
  display: none;
}
section > h2{
  font-size: 6vw;
}
/*-----------------
gsap
------------------*/
.top-hero {
  margin: 50px 0 0;
}
.top-hero-ttl {
  padding: 100px 10px;
  height: 107vw;
}
.top-hero-bgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  aspect-ratio: 125/134;
}
.top-hero-bgs-inner.inner1 {
  grid-area: 1 / 1 / 3 / 3;
}
.top-hero-bgs .right {
  grid-area: 3 / 1 / 4 / 3;
  display: flex;
  justify-content: center;
}
.top-hero-bgs-inner.inner1 img {
  aspect-ratio: 7/5;
}
.top-hero-bgs-inner.inner2 img {
  aspect-ratio: 7/5;
}
.top-hero-bgs-inner.inner3 img {
  aspect-ratio: 7/5;
}
.top-hero-ttl {
  padding: 50px 2.5%;
}
.top-hero-ttl-main p {
  font-size: 4.2vw;
  padding: 0 5px;
}
.top-hero-ttl-main .bg-red {
  font-size: 8vw;
}
.top-hero-ttl-main .bg-white {
  font-size: 7vw;
}
.top-hero-ttl-sub {
  right: unset;
  left: 50%;
  transform: translateX(-50%);
  bottom: 27vw;
  font-size: 4.5vw;
  text-align: center;
  padding: 5px 30px;
}
/*-----------------
header
------------------*/
.mobi-nav{
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100%;
  z-index: 999;
}
.hamburger{
  width: 30px;
  height: 50px;
  position: relative;
}
.hamburger span{
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #000;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all ease .3s;
  transform-origin: left center;
}
.hamburger span:first-of-type{
  top: 15px;
}
.hamburger span:nth-of-type(2){
  top: 23px;
}
.hamburger span:last-of-type{
  bottom: 15px;
}
.hamburger.active span:first-of-type{
  top: 13px;
  transform: translateX(-50%) rotate(45deg);
}
.hamburger.active span:nth-of-type(2){
  opacity: 0;
}
.hamburger.active span:last-of-type{
  bottom: 13px;
  transform: translateX(-50%) rotate(-45deg);
}
.logo{
  margin-left: 0;
  font-size: 4vw;
  padding-left: 11vw;
}
.logo::before{
  width: 10vw;
}
.nav-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 0 2.5%;
}
.nav-head-list{
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 0;
  transition: all ease .3s;
  background: #d65b42;
  visibility: hidden;
  z-index: 999;
}
.nav-head-list.active{
  height: calc(100vh - 50px);
  visibility: visible;
  opacity: 1;
  padding: 30px 10px;
  box-sizing: border-box;
}
.nav-head-list li{
  font-size: 4.5vw;
  opacity: 0;
  color: #fff;
  font-weight: bold;
}
.nav-head-list.active li{
  opacity: 1;
  padding: 3vw 0;
}
.nav-head-list li:last-of-type{
  text-align: center;
  background: #fff;
  color: #d65b42;
  margin-top: 20px;
}
/*-----------------
top
------------------*/
.top{
  margin: 50px auto 0;
}
/*-----------------
about
------------------*/
.about{
  padding: 0 2.5%;
  margin-top: 30px;
}
.about::before{
  top: 5vw;
}
.about-box{
  padding: 20px 0;
}
.about-box h2{
  font-size: 5.5vw;
}
.about-box-inner{
  flex-wrap: wrap-reverse;
  justify-content: center;
  margin-top: 20px;
}
.about-box-inner-txt{
  margin-left: 0;
  font-size: 3.9vw;
  margin: 20px 2.5% 0;
}
.about-box-inner p:first-of-type{
  margin-bottom: 20px
}
.about-box-inner img{
  width: 80%;
}
.about-box:last-of-type img{
  margin-right: 0;
}
/*-----------------
お悩み
------------------*/
.onayami{
  padding: 30px 2.5%;
}
.onayami h2{
  margin-bottom: 30px;
}
.onayami ul{
  padding: 30px 20px;
  margin:0 auto 40px;
  background-size: cover;
}
.onayami ul:before{
  border-right: 60px solid transparent;
  border-left:  60px solid transparent;
  border-top: 20px solid #555;
  bottom: -20px;
}
.onayami li{
  font-size: 4vw;
}
.onayami-txt h3{
  text-align: center;
  font-size: 5vw;
  margin: 0 auto 30px;
}
.onayami-txt h3::before{
  height: 30px;
}
.onayami-txt h3::after{
  height: 30px;
}
.onayami-txt p{
  font-size: 3.9vw;
  margin-bottom: 20px;
}
/*-----------------
サービス
------------------*/
.service{
  padding: 50px 2.5% 30px;
}
.service h3{
  font-size: 5vw;
  margin: 20px auto 10px;
}
.service-con{
  flex-wrap: wrap;
}
.service-con h4{
  font-size: 6vw;
  padding-left: 10vw;
}
.service-con h4::before{
  top: 4vw;
  width: 7vw;
}
.service-con-inner{
  padding: 0 10px;
}
.service-con-inner > p{
  padding-left: 0;
  margin-top: 20px;
}
.service-con-box{
  width: 90%;
  margin: 20px auto;
}
.service-con-box-inner{
  font-size: 4vw;
  padding: 5vw;
  column-gap: 7vw;
}
.service-con-box-inner img{
  width: 10vw;
}
.service-con-txt p{
  font-size: 4vw;
}

/*-----------------
flow
------------------*/
.reason-con{
  flex-wrap: wrap;
}
.reason-con-inner{
  width: 100%;
  margin-bottom: 20px;
  height: 80vw;
  padding: 10vw 0 0;
}
.reason-con-inner:last-of-type{
  margin-bottom: 0;
}
.reason-con-inner img{
  width: 40vw;
}
.reason-con-inner p{
  font-size: 5vw;
  margin-top: 30px;
}
/*-----------------
事務所概要
------------------*/
.company-con{
  flex-wrap: wrap;
  margin: 30px 0 0;
}
.company-con-txt{
  width: 100%;
}
.company-con-txt p{
  margin-bottom: 20px;
}
.company-con-txt p.serif{
  font-size: 5vw;
}
.company-info{
  width: 100%;
  margin-top: 30px;
}
.company-info td:first-of-type{
  width: 25%;
}
/*-----------------
ご相談の流れ
------------------*/
.flow{
  padding: 50px 2.5%;
}
.flow-con{
  padding: 10px 2vw;
  column-gap: 4vw;
  width: 100%;
}
.flow-con:not(:last-of-type){
  margin: 0 auto 10vw;
}
.flow-con:not(:last-of-type)::before{
  border-right: 3vw solid transparent;
  border-left: 3vw solid transparent;
  border-top: 4vw solid #d65b42;
  bottom: -7vw;
}
.flow-con-num{
  font-size: 7vw;
  width: 10vw;
}
.flow-con-num span{
  font-size: 3vw;
}
.flow-con-img{
  width: 6vw;
}
.flow-con-txt{
  width: calc(100% - 5vw);
  font-size: 4vw;
  column-gap: 5vw;
}
.flow > p{
  font-size:3.8vw;
  margin-top: 8vw;
}
/*-----------------
cta
------------------*/
.cta{
  padding: 50px 2.5%;
}
.cta-box{
  padding: 30px 0;
}
.cta-box p{
  font-size: 5vw;
  margin-bottom: 20px;
}
.cta-box a{
  font-size: 6vw;
  padding: 10px 15vw;
  width: 90%;
}
.cta-box a::after{
  width: 8vw;
}
/*-----------------
よくあるご質問
------------------*/
.qa-list{
  padding: 30px 2.5%;
}
.qa-list li:nth-of-type(odd){
  font-size: 4.5vw;
}
/*-----------------
事業所案内
------------------*/
.info-con{
  width: 100%;
  margin-top: 30px
}
/*-----------------
footer
------------------*/
footer{
	margin-bottom:22vw;
}
.footer-wrap{
  flex-wrap: wrap;
}
.footer-logos p:first-of-type{
  font-size: 5vw;
}
.footer-nav{
  column-gap: unset;
  flex-wrap: wrap;
}
.footer-nav ul{
  width: 100%;
  margin-top: 30px;
}
.footer-nav li:first-of-type{
  font-weight: bold;
}
footer > p{
  font-size: 3vw;
}
/*-----------------
footer fixed
------------------*/
.footer-fixed{
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #FFEDB3;
  padding: 2vw;
  z-index: 99;
}
.footer-fixed p{
  font-size: 4vw;
  color: #ff0000;
  font-weight: bold;
  text-align: center;
  width: max-content;
  margin: 0 auto 2vw;
  position: relative;
}
.footer-fixed p::before{
  content: "";
  width: 2px;
  height: 70%;
  background: #ff0000;
  transform: rotate(-20deg);
  position: absolute;
  left: -10px;
  bottom: 2px;
}
.footer-fixed p::after{
  content: "";
  width: 2px;
  height: 70%;
  background: #ff0000;
  transform: rotate(20deg);
  position: absolute;
  right: -10px;
  bottom: 2px;
}
.footer-fixed a{
  display: block;
  font-size: 5vw;
  color: #fff;
  background: #d65b42;
  text-align: center;
  padding: 1.5vw;
  width: 80%;
  margin: auto;
  border-radius: 4px;
}
/*----------------
page single
-----------------*/
.page {
  margin-top: 50px;
}
.page h1{
  font-size: 6vw;
  padding: 5px 3vw;
}
/*----------------
contact
-----------------*/
.contact-wrap table{
  margin-top: 30px;
}
.contact-wrap th,
.contact-wrap td{
  display: block;
}
.contact-wrap th{
  font-size: 4.5vw;
  width: 100%;
  padding-bottom: 10px;
}
.contact-txt{
  font-size: 4vw;
}
.submit{
  width: 90%;
  font-size: 5vw;
}