/*----------------
基本設定
-----------------*/
body{
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  font-size: 18px;
}
.wrapper{
  max-width: 1200px;
  width: 100%;
  margin: auto;
}
h2{
  font-family: "Noto Serif JP", serif;
}
section > h2{
  text-align: center;
  font-size: 50px;
}
.serif{
  font-family: "Noto Serif JP", serif;
}
.pc{
  display: block;
}
.tab{
  display: none;
}
.mobi{
  display: none;
}
.pc.tab{
  display: block;
}
.onecolor{
  color: #d65b42;
}
.bold{
  font-weight: bold;
}
.red{
  color: #ff0000;
}
/*----------------
gsap
-----------------*/
.animation {
  position: relative;
  overflow: hidden;
}
.animation img {
  transform: scale(1.5);
  object-fit: cover;
}
.animation-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #d65a42;
  z-index: 2;
}
.top-hero {
  position: relative;
  margin: 70px auto 0;
}
.top-hero-bgs {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: 59.7% 40.3%;
  width: 100%;
}
.top-hero-bgs .right {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.top-hero-bgs-inner {
  position: relative;
  overflow: hidden;
}
.top-hero-bgs-inner img {
  scale: 1.5;
}
.top-hero-bgs-cover {
  background: #d65b42;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.top-hero-bgs-cover.hidden {
  display: none;
}
.top-hero-bgs-inner.inner1 img {
  aspect-ratio: 955/500;
  width: 100%;
}
.top-hero-bgs-inner.inner2 img,
.top-hero-bgs-inner.inner3 img {
  aspect-ratio: 646/250;
  width: 100%;
}
.top-hero-ttl {
  position: relative;
  padding: 70px 0 50px 0;
  max-width: 1140px;
  margin: auto;
  height: 31vw;
}
.top-hero-ttl-main {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  font-size: 40px;
  transition: all ease 0.3s;
  color: #4a4645;
}

.top-hero-ttl-main p {
  font-size: 40px;
  display: block;
  z-index: 0;
  position: relative;
  padding: 0 20px;
  margin-bottom: 10px;
}
.top-hero-ttl-main .bg-red {
  color: #fff;
  transition: all ease 0.5s;
  position: relative;
  display: inline-block;
  font-size: 48px;
}
.top-hero-ttl-main .bg-white {
  font-size: 48px;
  color: #4a4645;
  transition: all ease 0.5s;
  position: relative;
  display: inline-block;
}
.top-hero-ttl-main.active {
  text-shadow: 0px 0px 5px #fff;
}
.top-hero-ttl-main .bg-red::before {
  content: "";
  background-image: linear-gradient(180deg, rgba(214, 91, 66, 0.48), rgba(255, 255, 255, 0));
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  height: 1.5em;
  z-index: -1;
  opacity: 0;
  transition: all ease 0.4s;
}
.top-hero-ttl-main .bg-white::before {
  content: "";
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 70%, rgba(230, 225, 221, 0) 90%);
  position: absolute;
  width: 108%;
  height: 1.8em;
  z-index: -1;
  opacity: 0;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  transition: all ease 0.4s;
}
.top-hero-ttl-main .bg-red.active::before,
.top-hero-ttl-main .bg-white.active::before {
  opacity: 1;
}

.top-hero-ttl-sub {
  font-size: 24px;
  color: #4a4a4a;
  font-weight: bold;
  padding: 15px 25px;
  border-radius: 50px;
  border: 2px solid #4a4a4a;
  box-shadow: 0 0 5px 0 #fff, inset 0px 0px 5px 0px #fff;
  width: max-content;
  margin-left: auto;
  position: absolute;
  bottom: 30px;
  right: 0;
  opacity: 0;
  text-shadow: rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px,
    rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px;
}
.top-hero-ttl-cover {
  width: 100%;
  height: 100%;
  z-index: 3;
  position: absolute;
  background: #d65a42;
  left: 0;
  top: 0;
}
@media screen and (max-width: 1500px) {
  .top-hero-ttl {
    padding: 50px;
  }
  .top-hero-ttl-sub {
    bottom: 3vw;
  }
}
@media screen and (max-width: 1200px) {
  .top-hero-ttl {
    padding: 30px;
  }
  .top-hero-ttl-main p {
    font-size: 2.5vw;
  }
  .top-hero-ttl-main .bg-red,
  .top-hero-ttl-main .bg-white {
    font-size: 3.5vw;
  }
  .top-hero-ttl-sub {
    font-size: 1.5vw;
    right: 30px;
  }
  .logo {
    font-size: 2vw;
    padding-left: 85px;
  }
  .logo::before {
    width: 70px;
  }
  .about {
    padding: 0 1rem;
  }
  .onayami {
    padding: 70px 1rem;
  }
  .service {
    padding: 120px 1rem 70px;
  }
  .reason {
    padding: 60px 1rem 70px;
  }
  .reason-con {
    column-gap: unset;
  }
  .service-con h4 {
    font-size: 43px;
  }
  .reason-con-inner {
    width: calc(95% / 4);
  }
  .reason-con-inner p {
    font-size: 22px;
  }
  .company {
    padding: 0 1rem;
  }
  .flow {
    padding: 50px 1rem;
  }
  .qa {
    padding: 50px 1rem 70px;
  }
  .footer-wrap {
    padding: 0 10px;
  }
  .page {
    padding: 0 1rem;
  }
}
/*----------------
header
-----------------*/
.pc-nav{
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 999;
  width: 100%;
}
.nav-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: auto;

}
.logo{
  font-weight: 700;
  font-size: 30px;
  position: relative;
  padding-left: 100px;
  margin-left: 30px;
}
.logo::before{
  content: "";
  background: url(./images/logo.png) no-repeat;
  background-size: cover;
  width: 88px;
  aspect-ratio: 88/35;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.pc-nav ul{
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
}
.pc-nav li:last-of-type a{
  background: #d65b42;
  color: #fff;
  height: 70px;
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*----------------
top
-----------------*/
.top{
  margin: 70px auto 0;
}
.top img{
  width: 100%;
}

/*----------------
about
-----------------*/
.about{
   position: relative;
   padding: 0 0 70px;
   overflow: hidden;
   margin-top: 80px;
}
.about::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 40px;
  left: 0;
  background: linear-gradient(90deg, #e6e1dd 30%, transparent 30%);
  z-index: -1;
}
.about-box{
  max-width: 1140px;
  width: 100%;
  margin: 0 auto 30px;
  background: #f7f7f7;
  padding: 60px 0 70px;
}
.about-box h2{
  position: relative;
  padding-left: 70px;
  font-size: 40px;
}
.about-box h2::before{
  content: "";
  width: 54px;
  height: 3px;
  background: #d65b42;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.about-box-inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
}
.about-box-inner-txt{
  margin-left: 90px;
  font-size: 24px;
}
.about-box-inner p:first-of-type{
  margin-bottom: 70px;
}
.about-box:last-of-type img{
  margin-right: 60px;
}
/*----------------
お悩み
-----------------*/
.onayami{
  background: #f7f7f7;
  padding: 70px 0;
}
.onayami h2{
  margin-bottom: 60px;
}
.onayami ul{
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 100px;
  background: url(./images/onayami-bg.jpg);
  padding: 90px;
}
.onayami ul:before{
  content: "";
  position: absolute;
  border-style: solid;
  border-right: 97px solid transparent;
  border-left: 97px solid transparent;
  border-top: 35px solid #5e707e;
  border-bottom: 0;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
}
.onayami li{
  position: relative;
  color: #fff;
  padding-left: 30px;
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}
.onayami li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 15px;
  transform: translateY(-50%) rotate(45deg);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}
.onayami-txt h3{
  width: max-content;
  margin: 0 auto 70px;
  position: relative;
  padding: 0 20px;
  font-size: 40px;
}
.onayami-txt h3::before{
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background: #000;
  left: 0;
  bottom: 0;
  transform: rotate(-30deg);
}
.onayami-txt h3::after{
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background: #000;
  right: 0;
  bottom: 0;
  transform: rotate(30deg);
}
.onayami-txt p{
  text-align: center;
  font-size: 24px;
}
.onayami-txt p:first-of-type{
	margin-bottom: 50px;
}
.onayami-txt p .onecolor{
  font-weight: bold;
}
/*----------------
サービス
-----------------*/
.service{
  background: url(images/service-bg.jpg) no-repeat;
  background-size: 100%;
  background-position: top;
  padding: 175px 0 70px;
}
.service h2{
  color: #d65b42;
}
.service h3{
  background: #d65b42;
  color: #fff;
  padding: 10px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 90px auto 40px;
  font-size: 30px;
}
.service-con{
  max-width: 1100px;
  width: 100%;
  margin: auto;
}
.service-con{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}
.service-con h4{
  font-size: 47px;
  font-weight: bold;
  position: relative;
  padding-left: 45px;
}
.service-con-txt{
  width: 55%;
}
.service-con h4::before{
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: #d65b42;
  top: 35px;
}
.service-con-txt p{
  padding-left: 50px;
  margin-top: 50px;
  font-size: 20px;
}

.service-con-box-inner{
  border: 1px solid #d65b42;
  display: flex;
  align-items: center;
  column-gap: 20px;
  color: #d65b42;
  padding: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  width: 440px;
}
.service-con:first-of-type .service-con-box-inner:first-of-type{
  column-gap: 40px;
}
.service-con-box-inner:not(:last-of-type){
  margin-bottom: 10px;
}

/*----------------
選ばれる理由
-----------------*/
.reason{
  background: #d65b42;
  padding: 60px 0 70px;
}
.reason h2{
  color: #fff;
}
.reason-con{
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 60px auto 0;
  column-gap: 40px;
}
.reason-con-inner{
  background: #fff;
  text-align: center;
  font-weight: bold;
  padding: 40px 0 20px;
  width: 280px;
  flex-shrink: 0;
  height: 390px;
}
.reason-con-inner img{
  margin: auto;
}
.reason-con-inner p{
  font-size: 25px;
  margin-top: 50px;
}
/*----------------
事務所概要
-----------------*/
.company{
  margin: 70px 0;
}
.company-con{
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 70px auto 0;
}
.company-con-txt{
  width: 45%;
}
.company-con-txt p{
  margin-bottom: 40px;
}
.company-con-txt p.serif{
  font-size: 24px;
  text-align: right;
  margin-bottom: 0;
}
.company-info{
  width: 48%;
}
.company-info table{
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 70px;
}
.company-info td{
  border: 1px solid #f0f0f0;
  padding: 10px 30px;
}

.company-info tr:not(:nth-of-type(2)){
  background: #f9f9f9;

}
/*----------------
ご相談の流れ
-----------------*/
.flow{
  background-image: linear-gradient(90deg, #e6e1dd 25%, #f7f7f7 25%);
  padding: 60px 0;
}
.flow h2{
  margin-bottom: 70px;
}
.flow-con{
  border: 1px solid #ddd;
  max-width: 1060px;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  column-gap: 70px;
  padding: 10px 20px;
  position: relative;
  margin: auto;
}
.flow-con:not(:last-of-type){
  margin-bottom: 65px;
}
.flow-con:not(:last-of-type)::before{
  content: "";
  border-style: solid;
  border-right: 18px solid transparent;
  border-left: 18px solid transparent;
  border-top: 22px solid #d65b42;
  border-bottom: 0;
  position: absolute;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
}
.flow-con-num{
  font-weight: bold;
  font-size: 60px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 70px;
  color: #d65b42;
}
.flow-con-num span{
  font-size: 25px;
}
.flow-con-txt{
  display: flex;
  align-items: center;
  column-gap:40px;
  font-size: 24px;
  font-weight: bold;
  width: calc(100% - 70px);
}
.flow-con-img{
  width: 10%;
}
.flow-con-img img{
  margin: auto;
}
.flow > p{
  text-align: center;
  font-size: 24px;
  margin-top: 60px;
}
/*----------------
cta
-----------------*/
.cta{
  background: #d65a42;
  padding: 40px 0;
}
.cta-box{
  background: #fff;
  margin: auto;
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  padding: 50px 0;
  text-align: center;
}
.cta-box p{
  margin-bottom: 30px;
  font-size: 36px;
  font-weight: bold;
}
.cta-box a{
  background: #b59e41;
  color: #fff;
  font-size: 48px;
  padding: 10px;
  width: 650px;
  border-radius: 70px;
  font-weight: bold;
  box-shadow: 0 5px 0 #c8c8c8;
  position: relative;
  transition: all ease .3s;
  display: block;
  margin: auto;
}
.cta-box a:hover{
  box-shadow: none;
  transform: translateY(5px);
}
.cta-box a::after{
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: url(images/arrow.png) no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 67px;
}
/*----------------
よくあるご質問
-----------------*/
.qa{
  background: #f7f7f7;
  padding: 50px 0 80px;
}
.qa-list{
  max-width: 1100px;
  width: 100%;
  margin: 70px auto 0;
  box-sizing: border-box;
  box-shadow: 0 5px 5px rgb(0 0 0 / .2);
  padding: 100px;
  background: #fff;
}
.qa-list li {
  position: relative;
  padding-left: 30px;
}
.qa-list li:nth-of-type(odd){
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 10px;
}
.qa-list li:nth-of-type(odd)::before{
  content: "Q.";
  position: absolute;
  left: 0;
}
.qa-list li:nth-of-type(even){
  margin-bottom: 50px;
}
.qa-list li:nth-of-type(even)::before{
  content: "A.";
  position: absolute;
  left: 0;
}
.qa-list li:nth-of-type(even):last-of-type{
  margin: 0;
}
/*----------------
事務所案内
-----------------*/
.info {
  margin: 80px auto 125px;

}
.info-con{
  width: 100%;
  max-width: 800px;
  margin: 80px auto 0;
}
.info table{
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 80px;
}
.info table tr:not(:nth-of-type(2)){
  background: #f0f0f0;
}
.info table td{
  border: 1px solid #000;
  padding: 10px;
}
/*----------------
footer
-----------------*/
footer{
  background: #f7f7f7;
  padding: 50px 0 0;
  font-weight: 500;
}
.footer-wrap{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: auto;
}
.footer-nav{
  display: flex;
  justify-content: space-between;
  column-gap: 70px;
}
.footer-nav li{
  position: relative;
  display: block;
  padding-left: 20px;
}
.footer-nav li:not(:last-of-type){
  margin-bottom: 10px;
}
.footer-nav li:not(:first-of-type)::before{
  content: "-";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.footer-logos p:first-of-type{
  font-weight: bold;
  margin-bottom: 20px;
}
footer > p{
  text-align: center;
  padding: 10px;
  margin-top: 40px;
  background: #d65b42;
  color: #fff;
  font-size: 15px;
}
.footer-fixed{
  display: none;
}
/*----------------
page single
-----------------*/
.page{
  margin: 70px 0;
}
.page h1{
  color: #fff;
  background: #d65b42;
  padding: 10px 20px;
  font-size: 35px;
  margin-top: 50px;
}
.content{
  margin-top: 30px;
}
.page .content a{
  text-decoration: underline;
}
.page .content p{
	margin-bottom:30px;
}
/*----------------
contact
-----------------*/
.contact-wrap table{
  width: 100%;
  max-width: 900px;
  margin: 50px auto 0;
}
.contact-wrap th,
.contact-wrap td{
  padding-bottom: 20px;
  text-align: left;
}
.contact-wrap th{
  vertical-align: top;
}
.contact-wrap table input[type="text"],
.contact-wrap table input[type="email"],
.contact-wrap table textarea{
  width: 100%;
  padding: 10px;
}
.required{
  background: #ff0000;
  color: #fff;
  font-size: 14px;
  border-radius: 3px;
  padding: 0 5px;
  margin-left: 10px;
}
.contact-txt{
  text-align: center;
}
.contact-check{
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin: 0;
}
.contact-check + .wpcf7-list-item-label{
  vertical-align: middle;
  padding: 5px;
}
.contact-txt input[type="text"]{
  width: 50px;
  height: 40px;
}
.contact-txt p:first-of-type{
  margin-top: 20px;
}
.contact-txt p{
  margin-top: 10px;
}
.submit{
  width: 400px;
  padding: 10px;
  background: #d65b42;
  color: #fff;
  border-radius: 5px;
  border: none;
  display: block;
  margin: 30px auto 0;
  font-size: 20px;
  cursor: pointer;
}
.grecaptcha-badge{
	visibility:hidden;
}
.page-id-2 .grecaptcha-badge{
	visibility:visible;
}
@media screen and (max-width:1200px) {
  .about{
    padding: 0 1rem;
  }
  .onayami{
    padding: 70px 1rem;
  }
  .service{
    padding: 120px 1rem 70px;
  }
  .reason{
    padding: 60px 1rem 70px;
  }
  .reason-con{
    column-gap: unset;
  }
  .service-con h4{
    font-size: 43px;
  }
  .reason-con-inner{
    width: calc(95% / 4);
  }
  .reason-con-inner p{
    font-size: 22px;
  }
  .company{
    padding: 0 1rem;
  }
  .flow{
    padding: 50px 1rem;
  }
  .qa{
    padding: 50px 1rem 70px;
  }
  .footer-wrap{
    padding: 0 10px;
  }
  .page{
    padding: 0 1rem;
  }
}