@charset "UTF-8";

.top .top-link {
  background-color: rgba(17, 141, 255, 0.1);
}

.top .top-link .nav-txt {
  color: #118DFF;
}


/* main contents */
.main {
  width: calc(100% - 220px);
  margin: 40px 0 0 220px;
  overflow: hidden;
}


/* mv */
.mv {
  width: calc(100% - 80px);
  margin: 0 auto;
  position: relative;
  margin-bottom: 80px;
  background-image: url(../img/common/mv.png);
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  background-position: center center;
  height: 420px;
  border-radius: 20px;
}

.mv-txt {
  position: absolute;
  left: 48px;
  bottom: 28px;
  width: fit-content;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 8rem;
  font-style: normal;
  line-height: 1.2;
  color: #EBE8E1;
}


/* top-contents */
.top-contents {
  margin-bottom: 80px;
}

.block-head {
  width: calc(100% - 80px);
  margin: 0 auto 28px;
}

.sp-heading {
  display: none;
}

.sp-heading {
  font-size: 2rem;
  font-weight: 500;
}

.sp-heading a{
  position: relative;
  color: #667A8A;
}

.sp-heading a::after {
  content: "";
  width: 9px;
  height: 14px;
  background-image: url(../img/common/arr_head.svg);
  background-size: contain;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -ms-background-size: contain;
  background-position: 0 0;
  background-repeat: no-repeat;
  top: 8.5px;
  right: -19px;
  position: absolute;
}

.main-block {
  margin-bottom: 64px;
}

.card-block li:first-child{
  display: none;
}

.main-block:last-child {
  margin-bottom: 0;
}

.card-block {
  width: 100%;
  margin-left: 40px;
  gap: 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow: hidden;
  overflow-x: scroll;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
  -ms-flex-line-pack: flex-start;
}

.card-block::-webkit-scrollbar {
  display: none;
}

.spacer {
  width: 40px;
  background: transparent;
}


@media (max-width: 1024px){
  .main{
    width: calc(100% - 180px);
    margin-left: 180px;
  }

  .pc-heading {
    display: none;
  }

  .sp-heading {
    display: block;
  }

  .mv{
    height: 360px;
  }

  .mv-txt{
    font-size: 4.8rem;
    left: 24px;
  }

}


@media screen and (max-width: 560px) {
  .top .top-link {
    background-color: transparent;
  }

  /* main */
  .main {
    margin: 0;
    width: 100%;
  }

  .mv {
    margin-bottom: 48px;
    width: 100%;
    height: 280px;
    border-radius: 0 0 20px 20px;
  }

  .mv-txt {
    left: 20px;
    bottom: 24px;
    font-size: 4rem;
  }

  /* contents */
  .block-head {
    width: calc(100% - 40px);
    margin-bottom: 20px;
  }

  .card-block li:first-child{
    display: block;
  }

  .card-block {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .card {
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: center;
  }

  .spacer {
    flex: 0 0 calc((100% - 40px) / 2);
    height: 1px;
    pointer-events: none;
  }

  .card-block {
    width: 100%;
    margin-left: 0;
    gap: 8px;
  }

  .card {
    width: calc(100% - 40px);
    height: 210px;
    border-radius: 10px;
  }

  .card-mv img {
    border-radius: 10px;
  }

  .card-txt {
    width: calc(100% - 28px);
    left: 14px;
    bottom: 14px;
  }

  .company-icon {
    width: 36px;
  }

  .company-name {
    width: calc(100% - 123px);
  }

  .view-btn {
    margin: 0;
    width: 71px;
    height: 32px;
    font-size: 1.6rem;
    line-height: 2;
  }

  .top-contents {
    margin-bottom: 48px;
  }
}