@charset "UTF-8";

/*****************************
  top
*****************************/
.topsec {
  padding: 10rem 0;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec .ftxtbox {
    width: 100%;
  }
  .topsec .fimgbox {
    width: 60%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}

/*****************************
topsec-fv
*****************************/
.topsec-fv {
  height: 700px;
}
.topsec-fv .splide .splide__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 700px;
}
.topsec-fv .catchtxt {
  position: absolute;
  bottom: 50px;
  left: 5vw;
}
.topsec-fv .catchtxt .ttl {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.topsec-fv .catchtxt .ttl .leftover-box-in {
  background: #fff;
  border-bottom: 5px solid #C3AC80;
  display: inline-block;
  font-size: 3vw;
  font-weight: bold;
  line-height: 1;
  padding: 2rem;
}
.topsec-fv .newsbox {
  background: #fff;
  position: absolute;
  bottom: -71px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1080px;
  width: 100%;
  z-index: 1;
}
.topsec-fv .newsbox::after {
  background: #C3AC80;
  content: '';
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  transition: .5s;
}
.topsec-fv .newsbox:hover::after {
  width: 100%;
}
.topsec-fv .newsbox a {
  opacity: 1;
  display: block;
  padding: 2rem;
}
.topsec-fv .newsbox .cat {
  border: 1px solid #707070;
  display: inline-block;
  margin: 0 2rem;
  padding: 0 1rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-fv .catchtxt .ttl .leftover-box-in {
    font-size: 4vw;
    padding: 1rem;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-fv {
    height: 500px;
  }
  .topsec-fv .splide .splide__slide {
    height: 500px;
  }
  .topsec-fv .catchtxt .ttl {
    gap: 0;
  }
  .topsec-fv .catchtxt .ttl .leftover-box-in {
    font-size: 4.5vw;
  }
  .topsec-fv .newsbox {
    bottom: -70px;
    width: 90%;
  }
  .topsec-fv .newsbox a {
    padding: 1rem 2rem;
  }
  .topsec-fv .newsbox .cat {
    margin: 0 0 .5rem 1rem;
  }
  .topsec-fv .newsbox .ttl {
    display: block;
  }
}

/*****************************
topsec-works
*****************************/
.topsec.topsec-works {
  background: #EAEAEA;
  padding: 20rem 0 10rem;
}
.topsec-works .txtbox p {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.topsec-works .ftxtbox {
  width: 35%;
}
.topsec-works .ftxtbox .morebtn1:not(:last-child) {
  margin: 2rem 0;
}
.topsec-works .fimgbox {
  width: 60%;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-works .ftxtbox {
    margin-bottom: 2rem;
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-works .txtbox p {
    font-size: 1.8rem;
  }
}

/*****************************
topsec-point
*****************************/
.topsec-point .txtbox1 {
  margin-bottom: 5rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}

/*****************************
topsec-bg1
*****************************/
.topsec-bg1 {
  position: relative;
  aspect-ratio: 2/.5;
  clip-path: inset(0);
  margin: 5rem 0 0;
  width: 100%;
}
.topsec-bg1::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  background: url(../images/top/topsec-bg1.webp) no-repeat center / cover;
  height: 100vh;
  width: 100%;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
  .topsec-bg1 {
    aspect-ratio: 1/.4;
  }
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-bg1 {
    aspect-ratio: 1/.6;
  }
}

/*****************************
topsec-company
*****************************/
.topsec.topsec-company {
  background: #EAEAEA;
  padding: 20rem 0 10rem;
}
.topsec-company .txtbox p {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 2rem;
}
.topsec-company .ftxtbox {
  width: 35%;
}
.topsec-company .ftxtbox .morebtn1 {
  margin-top: 2rem;
}
.topsec-company .fimgbox {
  width: 60%;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-company .ftxtbox {
    margin-bottom: 2rem;
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec.topsec-company {
    padding: 7rem 0 10rem;
  }
}