@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) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}

/*****************************
topsec-fv
*****************************/
.topsec-fv {
  margin-top: 63px;
  height: calc(100vh - 63px);
}
.topsec-fv .splide {
  width: 78%;
}
.topsec-fv .splide .splide__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 10px solid #1E5896;
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 70px 0;
  height: calc(90vh - 63px);
}
.topsec-fv .chach,
.topsec-fv .character,
.topsec-fv .catchtxt {
  position: absolute;
}
.topsec-fv .chach{
  right: 0;
  bottom: 0;
  height: 100%;
  width: 33%;
}
.topsec-fv .character{
  aspect-ratio: 867 / 866;
  background: url(../images/common/character.webp) no-repeat center / contain;
  right: 0;
  bottom: 0;
  width: 100%;
}
.topsec-fv .catchtxt{
  top: 50px;
  right: 10px;
  width: 100%;
}
.topsec-fv .catchtxt .ttl {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 2rem;
}
.topsec-fv .catchtxt .ttl .leftover-box-in {
  background: #fff;
  border-bottom: 5px solid #1E5896;
  border-radius: 20px;
  display: inline-block;
  font-size: 3vw;
  font-weight: bold;
  line-height: 1;
  padding: 2rem;
}

@media only screen and (max-width: 1180px) {
  .topsec-fv .chach {
    width: 42%;
  }
  .topsec-fv .catchtxt {
    top: 30px;
  }
  .topsec-fv .catchtxt .ttl{
    gap: 0;
  }
  .topsec-fv .catchtxt .ttl .leftover-box-in {
    font-size: 4vw;
  }
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-fv {
    height: 580px;
  }
  .topsec-fv .splide {
    width: 88%;
  }
  .topsec-fv .splide .splide__slide {
    height: 500px;
  }
  .topsec-fv .catchtxt .ttl .leftover-box-in {
    font-size: 5vw;
    padding: 1.5rem;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-fv {
    margin-top: 0;
    height: 550px;
  }
  .topsec-fv .splide {
    width: 90%;
  }

  .topsec-fv .splide .splide__slide {
    height: 460px;
  }
  .topsec-fv .chach {
    width: 90%;
  }
  .topsec-fv .character {
    width: 80%;
  }
  .topsec-fv .catchtxt {
    top: 60px;
  }
  .topsec-fv .catchtxt .ttl .leftover-box-in {
      font-size: 8vw;
  }
}

/*****************************
topsec-about
*****************************/
.topsec-about .content::after{
  content: "";
  clear: both;
}

.topsec-about .content > div:first-child{
  margin-bottom: 4rem;
}
.topsec-about .ftxtbox{
  width: 62%;
}
.topsec-about .fimgbox{
  border-radius: 20px;
  box-shadow: 12px 12px #1E5896;
  overflow: hidden;
  width: 35%;
}
@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-about .ftxtbox,
  .topsec-about .fimgbox{
    width: 100%;
  }
  .topsec-about .fimgbox{
    margin-bottom: 2rem;
  }
}

/*****************************
topsec-news
*****************************/
.topsec-news {
  padding: 2rem 0 7rem;
}
.topsec-news .nejianime{
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
  z-index: -1;
}
.topsec-news .morebtn1{
  margin-top: 3rem;
  text-align: right;
}
@media only screen and (max-width: 1600px) {
  .topsec-news .nejianime{
    width: 35%;
  }
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-news .nejianime{
    opacity: .5;
    width: 45%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-news .nejianime {
    left: -20%;
    width: 75%;
  }
}

/*****************************
topsec-works
*****************************/
.topsec-works ul {
  gap: 2rem;
  margin-top: 5rem;
}
.topsec-works li {
  border-radius: 10px;
  box-shadow: 3px 3px 10px #ccc;
  overflow: hidden;
  width: calc(100% / 2 - 1rem);
}
.topsec-works li a{
  display: block;
  opacity: 1;
  position: relative;
}
.topsec-works li a::after{
  content: "";
  position: absolute;
}
.topsec-works li a::after{
  aspect-ratio: 1/1;
  background: url(../images/top/p_character1.webp) no-repeat center / contain;
  right: 0;
  bottom: 0;
  height: auto;
  width: 38%;
}
.topsec-works li:nth-of-type(2) a::after{
  background: url(../images/top/p_character2.webp) no-repeat center / contain;
}
.topsec-works li:nth-of-type(3) a::after{
  background: url(../images/top/p_character3.webp) no-repeat center / contain;
}
.topsec-works li:nth-of-type(4) a::after{
  background: url(../images/top/p_character4.webp) no-repeat center / contain;
}
.topsec-works li img{
  aspect-ratio: 2 / 1;
  object-fit: cover;
  width: 100%;
}
.topsec-works li .txtbox {
  padding: 1rem 2rem 3rem;
}
.topsec-works li h3 {
  background: linear-gradient(0, #FF6347 60%, transparent 40%);
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 4px;
  padding: 1rem 2rem 1rem;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-text-stroke: 5px #333;
  paint-order: stroke;
  width: 100%;
}
.topsec-works li:nth-of-type(2) h3{
  background: linear-gradient(0, #4682B4 60%, transparent 40%);
}
.topsec-works li:nth-of-type(3) h3{
  background: linear-gradient(0, #FF8C00 60%, transparent 40%);
}
.topsec-works li:nth-of-type(4) h3{
  background: linear-gradient(0, #FFD700 60%, transparent 40%);
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .topsec-works ul {
    gap: 2rem;
  }
  .topsec-works li img{
    aspect-ratio: 3 / 2;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec-works ul {
    margin-top: 3rem;
  }
  .topsec-works li {
    width: 100%;
  }
  .topsec-works li img {
    aspect-ratio: 2 / 1;
  }
  .topsec-works li h3 {
    font-size: 2.6rem;
    padding: 0rem 1rem ;
  }
}

/*****************************
topsec-bg1
*****************************/
.topsec-bg1 {
  position: relative;
  aspect-ratio: 2/.5;
  clip-path: inset(0);
  width: 100%;
}
.topsec-bg1::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  background: url(../images/top/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-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 {
  border-radius: 20px;
  box-shadow: 12px 12px #1E5896;
  overflow: hidden;
  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%;
  }
  .topsec-company .fimgbox {
    margin-left: auto;
    width: 80%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .topsec.topsec-company {
    padding: 7rem 0 10rem;
  }
  .topsec-company .fimgbox {
    width: 100%;
  }
}