@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@500&display=swap');

main .en{
  font-family: 'Mulish', sans-serif;
}

#visual{
  background: url('image/visual-pc.jpg') no-repeat center top;
  background-size: cover;
  height: 450px;
  margin-bottom: 50px;
}

#visual .title{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: calc(100% - 65px);
}

#visual h1{
  position: relative;
  left: -20%;
  color: #fff;
  width: 360px;
  font-size: 3.36rem;
}

#visual h1 .en{
  display: block;
  font-size: 1.6rem;
}

#lead{
  margin-bottom: 80px;
}

#lead p{
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 50px;
}

#lead ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#lead ul li{
  width: 450px;
  margin: 0 2%;
}

#lead ul li a{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #3C1E00;
  padding: 10px 20px 10px 10px;
  height: 76px;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  border: 1px solid #3C1E00;
}

#lead ul li a:hover{
  background-color: #fff;
  color: #3C1E00;
  border: 1px solid #3C1E00;
}


#lead ul li a::after{
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
  right: 40px;
  top: 50%;
  margin-top: -8px;
}

#lead ul li a:hover::after{
  border-color: #3C1E00;
}

section h2{
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
}

section h3{
  text-align: center;
  margin-bottom: 30px;
}

section h3 .jp{
  display: block;
  font-size: 2.6rem;
}

section h3 .en{
  display: block;
  font-size: 1.5rem;
}


.service{
  background-color: #F8F8F7;
  text-align: center;
  padding: 30px 0 50px;
  margin-bottom: 90px;
}

.service .layout{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service .layout .box{
  width: 30.333%;
}


.flow{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
  padding: 0 40px;
}

.flow .title{
  width: 280px;
  position: relative;
}

.flow .title h3{
  position: sticky;
  top: 56px
  ;
  text-align: left;
  padding-top: 56px;
}

.flow .flow-box{
  flex: 1;
  background-color: #F2F2F4;
  padding: 56px;
}

.flow .pattern:first-child{
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #E5E3E3;
}

.flow h4{
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 35px;
}

.flow h4 span{
  display: block;
  font-size: 2rem;
  font-weight: bold;
}

.flow .layout{
  display: flex;
  flex-wrap: wrap;
}

.flow .layout .txt{
  flex: 1;
  padding-right: 50px;
}

.flow .layout .img{
  position: relative;
  width: 250px;
}

.flow .layout .img #flow-fuki{
  position: absolute;
  left: 30px;
  top: -90px;
  width: 200px;
}

.flow .layout .img #flow-fuki img{
  max-width: none;
}

.flow .flow-row{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 45px;
}

.flow .flow-row.last{
  padding-bottom: 0;
}

.flow .flow-row::before{
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 100%;
  left: 17px;
  top: 15px;
  background-color: #3C1E00;
}

.flow .flow-row.last::before{
  content: none;
}

.flow .flow-row .flow-num{
  position: relative;
  width: 35px;
  z-index: 1;
}

.flow .flow-row .flow-icon{
  width: 88px;
  text-align: center;
  padding-top: 4px;
}

.flow .flow-row .flow-text{
  flex: 1;
  padding-top: 5px;
}

.flow .btn{
  margin-top: 1rem;
}

.flow .anno{
  font-size: 1.3rem;
  margin-top: .5rem;
}



.faq{
  padding: 50px 0 80px;
  background-color: #F8F8F7;
}

.faq h3{
  margin-bottom: 50px;
}

.faq h3 .jp img{
  vertical-align: -8px;
  padding-right: 6px;
}

.faq dl{
  max-width: 800px;
  margin: 0 auto 30px;
}

.faq dl dt{
  display: flex;
  margin-bottom: 10px;
}

.faq dl dd{
  display: flex;
}

.faq dl .icon{
  width: 40px;
}

.faq dl h4{
  flex: 1;
  padding-top: 4px;
}

.faq dl p{
  flex: 1;
  padding-top: 4px;
}

.faq dl p .anno{
  font-size: 1.3rem;
}


.mid-image{
  margin-bottom: 80px;
  height: 435px;
  background: url('image/image-wide-pc.jpg') no-repeat center center;
  background-size: cover;
}

.case{
   background-color: #3E4052;
   padding: 30px 0 50px;
   margin-bottom: 80px;
}

.case h3{
  color: #fff;
}

.case .layout{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.case .layout .box{
  position: relative;
  width: 30.333%;
  margin: 0 1.5% 30px;
  background-color: #fff;
  border-radius: 11px;
  padding: 35px;
  display: flex;
  flex-direction: column;
}

.case .layout .box .logo{
  padding: 35px 0;
  text-align: center;
}

.case .layout .box.hh .logo{
  padding: 20px 0;
}

.case .layout .box .tit{
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.case .layout .box p{
  font-size: 1.5rem;
}

.case .layout .box a{
  text-decoration: none;
}

.case .layout .box a:hover{
  color: #A59965;
}

.case #colabo{
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: #fff;
}

.case #colabo:hover{
  background-color: #3C1E00;
}

#bottom-contact{
  background: url('image/contact-bg.jpg') no-repeat center center;
  background-size: cover;
  height: 305px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bottom-contact a{
  display: inline-block;
  line-height: 1;
  padding: 14px 40px;
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  border: 1px solid #fff;
  
}
#bottom-contact a:hover{
  background-color: rgba(255,255,255,.4);
}


/*--------------------------------------
	Smartphone
----------------------------------------*/
@media screen and (max-width: 767px) {

#visual{
  background: none;
  margin-bottom: 17px;
  height: auto;
}

#visual .inner{
  position: absolute;
  z-index: 1;
}
#visual .breadcrumbs a,
#visual .breadcrumbs{
  color: #fff;
}

#visual .title{
  display: block;
  height: auto;
}

#visual h1{
  color: #3C1E00;
  text-align: center;
  left: 0;
  width: 100%;
  margin-bottom: 0;
}

#visual h1 .jp{
  font-size: 2.5rem;
}

#visual h1 .en{
  font-size: 1.1rem;
}

#lead{
  margin-bottom: 40px;
}

#lead p{
  font-size: 1.4rem;
}

#lead ul li{
  margin-bottom: 1rem;
}
#lead ul li a{
  font-size: 1.4rem;
}

#lead ul li a::after{
  right: 20px;
}

section h2{
  font-size: 2rem;
  margin-bottom: 30px;
}

section h3{
  margin-bottom: 20px;
}

section h3 .jp{
  font-size: 2rem;
}

section h3 .en{
  font-size: 1.5rem;
}

.service{
  padding-bottom: 20px;
  margin-bottom: 0;

}
.service .layout .box{
  width: 100%;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.flow{
  padding: 0 15px;
  margin-bottom: 40px;
}

.flow .title{
  width: 100%;
}

.flow .flow-box{
  padding: 20px;
}

.flow h4{
  margin-bottom: 25px;
}

.flow .layout .txt{
  padding: 0;
  width: 100%;
}

.flow .layout .img{
  width: 100%;
  padding: 20px 0;
  text-align: center;
}

#use2 .flow .layout .img img{
  width: 80%;
}

.flow #fuki-sp{
  width: 294px;
}

.flow h4 span{
  font-size: 1.8rem;
}

.flow .flow-row{
  align-items: center;
  padding-bottom: 35px;
}

.flow .flow-row .flow-text{
  width: 100%;
  flex: none;
  font-size: 1.4rem;
}

.flow .anno{
  font-size: 1.2rem;
}

.flow .flow-row::before{
  content: none;
}

.flow .pattern:first-child{
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.flow .flow-row .flow-icon{
  padding: 0;
}

.flow .btn{
  width: 100%;
}

.faq{
  padding-bottom: 40px;
}

.faq dl{
  padding: 0 20px;
}

.faq dl h4{
  font-size: 1.4rem;
}

.faq dl p{
  font-size: 1.4rem;
}

.faq dl p .anno{
  font-size: 1.2rem;
  display: block;
  margin-top: 1rem;
}

.mid-image{
  margin-bottom: 30px;
  height: auto;
  background: none;
}

.case{
  padding-bottom: 30px;
  margin-bottom: 0;
}
.case .layout .box{
  width: 100%;
  padding: 20px 30px;
}

.case .layout .box .logo{
  padding: 15px 0;
}

.case .layout .box.hh .logo{
  padding: 10px 0 0;
}

.case #colabo{
  position: relative;
  bottom: auto;
  right: auto;
  margin-top: 1rem;
  font-size: 1.4rem;
}

.faq{
  padding-bottom: 10px;
}

.faq h3{
  margin-bottom: 30px;
}

#bottom-contact{
  height: 160px;
}

}
