.fv {
  width: 100%;
  height: 900px;
  background-image: url(../img/top/fv_top.webp);
  background-size: cover; 
  background-position: center;
}

@media (max-width: 800px) {
  .fv {
    height: 700px;
  }
}

.greeting {
background-color: #fff;
}

h1 {
  margin: 0 auto;
  text-align: center;
  padding-top: 100px;
  border-bottom: 4px solid #1C4CAA;
  width: 235px;
  padding-bottom: 10px;
  position: relative;
}
@media (max-width: 800px) {
  h1 {
    padding-top: 50px;
    width: 170px;
    border-bottom: 3px solid #1C4CAA;
  }
}

h1:before {
  content: "";
  width: 115px;
  border-bottom: 4px solid #FC8D1B;
  padding-bottom: 10px;
  position: absolute;
  bottom: -4px;
  left: 120px;
}

@media (max-width: 800px) {
  h1:before {
    width: 85px;
    left: 85px;
    bottom: -3px;
    border-bottom: 3px solid #FC8D1B;
  }
}



.greeting p {
  width: 700px;
  padding-bottom: 100px;
  margin: 0 auto;
  padding-top: 50px;
  line-height: 2;
}

@media (max-width: 800px) {
  .greeting p {
    width: 300px;
    line-height: 2;
    padding-bottom: 50px;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.business_flame01 {
  margin-top: 300px;
  display: flex;
  justify-content: flex-end; 
}

@media (max-width: 800px) {
  .business_flame01 {
    margin-top: 100px;
    display: block;
  }
}


.business_flame_white01 {
  background-color: #fff;
  position: relative;
  top: -100px;
  left: 150px;
  border-radius: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  background-size: 100% 100%;
  padding-bottom: 50px;
  padding-top: 50px;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 800px) {
  .business_flame_white01 {
    border-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    top: 0;
    left: 0;
    z-index: 999;
    margin-right: 40px;
  }
}

.business_flame_white01 h2 {
  border-left: 4px solid #1C4CAA;
  position: relative;
  height: 19px;
  padding-left: 10px;
}

@media (max-width: 800px) {
  .business_flame_white01 h2 {
    height: 10px;
  }
}

.business_flame_white01 h2:before {
  content: "";
  height: 6px;
  border-left: 4px solid #FC8D1B;
  padding-bottom: 10px;
  position: absolute;
  left: -4px;
  top: 19px;
  padding-left: 10px;
}
@media (max-width: 800px) {
  .business_flame_white01 h2:before {
    height: 1px;
    top: 10px;
  }
}



.business_flame_white01 p {
  padding: 50px 0 100px 0;
  line-height: 2.5;
}
@media (max-width: 800px) {
  .business_flame_white01 p {
    padding: 30px 0 30px 0
  }
}

.business_flame_white01 a {
font-size: 2rem;
}
@media (max-width: 800px) {
  .business_flame_white01 a {
    font-size: 1.25rem;
  }
}

.business_img {
  margin-top: -10px;
  text-align: right;
}

@media (max-width: 800px) {
.business_img {
  margin-top: -30px;
  text-align: right;
}
}

.business_flame_img01 {
  width: 800px;
  height: 500px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 800px) {
  .business_flame_img01 {
    width: 335px;
    height: 280px;
    top: 0;
  }
}

.business_flame02 {
  margin-top: 250px;
  display: flex;
  justify-content: flex-end; 
  flex-direction: row-reverse;
  height: 400px;
}

@media (max-width: 800px) {
  .business_flame02 {
    margin-top: 50px;
    display: block;
  }
}

.business_flame_white02 {
  background-color: #fff;
  position: relative;
  top: -100px;
  right: 100px;
  border-radius: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  background-size: 100% 100%;
  padding-bottom: 50px;
  padding-bottom: 50px;
  padding-top: 50px;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 800px) {
  .business_flame_white02 {
    border-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    top: 0;
    left: 0;
    z-index: 999;
    margin-left: 40px;
  }
}

.business_flame_white02 h2 {
  border-left: 4px solid #1C4CAA;
  position: relative;
  height: 19px;
  padding-left: 10px;
}

@media (max-width: 800px) {
  .business_flame_white02 h2 {
    height: 10px;
  }
}

.business_flame_white02 h2:before {
  content: "";
  height: 6px;
  border-left: 4px solid #FC8D1B;
  padding-bottom: 10px;
  position: absolute;
  left: -4px;
  top: 19px;
  padding-left: 10px;
}

@media (max-width: 800px) {
  .business_flame_white02 h2:before {
    height: 1px;
    top: 10px;
  }
}

.business_flame_white02 p {
  padding: 50px 0 100px 0;
  line-height: 2.5;
}

@media (max-width: 800px) {
  .business_flame_white02 p {
    padding: 30px 0 30px 0
  }
}

.business_flame_white02 a {
font-size: 2rem;
}

@media (max-width: 800px) {
  .business_flame_white02 a {
    font-size: 1.25rem;
  }
}
.business_flame_img02 {
  width: 800px;
  height: 500px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  right: 0;
  margin-left: auto;
}

@media (max-width: 800px) {
  .business_flame_img02 {
    width: 335px;
    height: 280px;
    top: -50px;
  }
}


.scroll-infinity {
  padding-top: 200px;
}
@media (max-width: 800px) {
  .scroll-infinity {
    padding-top: 100px;
  }
}

.scroll-infinity__wrap  {
    padding-bottom: 100px;
  width: 100%;
  margin: 100px auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 800px) {
  .scroll-infinity__wrap {
    padding-bottom: 50px;
  }
}

.scroll-infinity__wrap ul {
  display: flex;
}


@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-100%);
  }
  }

  .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
  }

  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
  }

  .scroll-infinity__list--left {
    animation: infinity-scroll-left 20s infinite linear 1s both;
  }

  .scroll-infinity__item {
    width: calc(100vw / 6);
    padding-right: 200px;
  }

  @media (max-width: 800px) {
    .scroll-infinity__item {
      padding-right: 100px;
    }
  }

  .scroll-infinity__item img {
    width: 300px;
    height: 300px;
  }

  @media (max-width: 800px) {
    .scroll-infinity__item img {
      width: 150px;
      height: 150px;
    }
  }

.inquiry {
  width: 100%;
  background-color: #FC8D1B;
}

.inquiry h2 {
  color: #fff;
  padding-top: 100px;
  text-align: center;
}
@media (max-width: 800px) {
  .inquiry h2 {
    color: #fff;
    padding-top: 50px;
    text-align: center;
  }
}

.inquiry h3 {
  color: #fff;
}

.inquiry p {
  color: #fff;
  padding-top: 50px;
  padding-bottom: 100px;
  margin: 0 auto;
  text-align: left;
  width: 450px;
  line-height: 2;
}
@media (max-width: 800px) {
  .inquiry p {
    width: 300px;
    padding-bottom: 0;
  }
}
.inquiry_01 p {
  color: #fff;
  padding-top: 50px;
  padding-bottom: 100px;
  margin: 0 auto;
  text-align: center;
  width: 450px;
}
@media (max-width: 800px) {
  .inquiry_01 p {
    width: 300px;
    padding-bottom: 50px;
  }
}


.inquiry_wrap {
  display: flex;
  padding-bottom: 100px;
}

@media (max-width: 800px) {
  .inquiry_wrap {
    display: block;
  }
}

.inquiry_box01 h3 {
  margin-top: 50px;
  color: #fff;
}
@media (max-width: 800px) {
  .inquiry_box01 h3 {
    margin-top: 30px;
  }
}




.inquiry_box01 h3 a {
  color: #fff;
}

.inquiry_wrap .inquiry_box01  {
  flex-grow: 1;
  width: 620px;
  position: relative;
  text-align: center;
}

@media (max-width: 800px) {
  .inquiry_wrap .inquiry_box01 {
    width: 335px;
    width: 335px;
    border-bottom: 1px solid #fff;
    margin: 0 auto;
  }
}

.inquiry_wrap .inquiry_box01::after {
  position: absolute;
  top: 0;
	left: 100%;
  content: "";
  width: 2px;
  height: 100%;
  background-color:#fff
}

@media (max-width: 800px) {
  .inquiry_wrap .inquiry_box01::after {
    display: none;
  }
}

.inquiry_box02 h3 {
  line-height: 2;
  margin-top: 100px;
  color: #fff;
}

.inquiry_box02 h3 a {
  color: #fff;
}

.inquiry_wrap .inquiry_box02  {
  flex-grow: 1;
  width: 620px;
  position: relative;
  text-align: center;
}
@media (max-width: 800px) {
  .inquiry_wrap .inquiry_box02 {
    width: 335px;
    margin: 0 auto;
  }
}

.inquiry_wrap .inquiry_box02::after {
  position: absolute;
  top: 0;
	left: 100%;
  content: "";
  width: 2px;
  height: 100%;
  background-color:#fff
}
@media (max-width: 800px) {
  .inquiry_wrap .inquiry_box02::after {
    display: none;
  }
}




a.btn-flat {
  overflow: hidden;

  padding: 1.5rem 6rem;

  color: #fff;
  border-radius: 0;
  background: #000;
}

a.btn-flat span {
  position: relative;
}

.button12 a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px 10px 20px 10px;
  width: 200px;
  color: #fff;
  background-color:  #1C4CAA;
  transition: 0.3s;
  border-radius: 40px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

@media (max-width: 800px) {
  .button12 a {
    padding: 10px 30px;
  }
}



.button12 a:hover::before {
  width: 0%;
}

.button12 a:hover::after {
  height: 0%;
}

.button12 a:hover {
  text-decoration: none;
  background-color: #FC8D1B;
}

