@charset "UTF-8";

#kv {
  width: 100%;
  position: relative;
}

/* KV画像の実表示領域に合わせてパーツを追従させる */
#kv .kv-visual {
  width: 100%;
}

#kv .kv-visual__frame {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

#kv .kv-visual__frame > picture {
  display: block;
}

#kv .kv-visual__frame > picture img {
  width: 100%;
  height: auto;
  display: block;
}

#kv .kv-parts img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* SP: 画像の下に配置 */
#kv .kv-message {
  background: rgba(244, 111, 34, 0.95);
  color: #ffffff;
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

#kv .kv-message h2 {
  font-family: var(--en-font-family);
  font-size: 1.4rem;
  width: fit-content;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
}

#kv .kv-message h2::after {
  display: none;
}

#kv .kv-message .text {
  font-size: 2rem;
  margin-bottom: 16px;
}

#kv .kv-message .link a {
  color: #ffffff;
  background: url(../images/common/arrow.svg) no-repeat center left / contain;
  padding-left: 28px;
  margin: 0 auto;
}

#kv .kv-parts {
  position: absolute;
  z-index: 1;
  display: none;
}

/*
  SP: 以前の vw 指定をフレーム幅基準の % に変換。
  top は % だと高さ基準になるため、幅基準の margin-top を使う。
*/
#kv .kv-parts1 {
  width: 51.2%;
  aspect-ratio: 1.398;
  left: 10.266666666666667%;
  top: 0;
  margin-top: 41.06666666666667%;
}

#kv .kv-parts2 {
  width: 77.06666666666668%;
  aspect-ratio: 2.0338;
  left: 12.266666666666666%;
  top: 0;
  margin-top: 80.4%;
}

#kv .kv-parts3 {
  width: 37.6%;
  aspect-ratio: 1.0398;
  left: 13.733333333333334%;
  top: 0;
  margin-top: 6.266666666666667%;
}

#kv .kv-parts4 {
  width: 30.666666666666664%;
  aspect-ratio: 1.0106;
  left: 56.53333333333334%;
  top: 0;
  margin-top: 17.466666666666665%;
}

@media screen and (min-width: 769px) {
  #kv {
    padding: 0 5vw 20px;
    display: block;
  }

  #kv .kv-visual__frame {
    width: 100%;
    margin: 0;
  }

  #kv .kv-message {
    background: rgba(244, 111, 34, 0.9);
    padding: 40px;
    text-align: left;
    position: absolute;
    bottom: 40px;
    right: 0;
    margin-bottom: 0;
  }

  #kv .kv-message h2 {
    font-size: 1.7rem;
    margin: 0 0 24px;
  }

  #kv .kv-message h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: #ffffff;
    position: absolute;
    top: 50%;
    right: -110px;
    transform: translateY(-50%);
    z-index: 1;
  }

  #kv .kv-message .text {
    font-size: 3rem;
    margin-bottom: 30px;
  }

  #kv .kv-message .link a {
    margin-left: 0;
  }

  #kv .kv-parts1 {
    width: 28%;
    left: 22%;
    top: 3%;
    margin-top: 0;
  }

  #kv .kv-parts2 {
    width: 35%;
    left: 55%;
    top: 6%;
    margin-top: 0;
  }

  #kv .kv-parts3 {
    width: 22%;
    left: 15%;
    top: auto;
    bottom: 7.440703%;
    margin-top: 0;
  }

  #kv .kv-parts4 {
    width: 18%;
    left: 43%;
    top: auto;
    bottom: 11%;
    margin-top: 0;
  }
}

/* ==================================
== information
================================== */
#information {
  padding: 50px 0 80px;
}

.information-list-item {
  margin-bottom: 12px;
  padding-left: 3.4vw;
  position: relative;
}

.information-list-item::before {
  content: "";
  width: 2.2667vw;
  aspect-ratio: 1;
  background: var(--orange-color);
  position: absolute;
  top: 1.4vw;
  left: 0;
}

.information-list-item a {
  color: var(--orange-color);
  line-height: 1.3;
}

#information p.link {
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .information-list-item a h3 {
    font-size: clamp(1.6rem, 4.2667vw, 2rem);
  }
}

@media screen and (min-width: 769px) {
  #information .information-list {
    width: 500px;
    max-width: calc(100% - 260px);
  }
  .information-list-item {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
  }

  .information-list-item::before {
    content: "";
    width: 10px;
    background: var(--orange-color);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

/* ==================================
== campaign
================================== */
@media screen and (max-width: 768px) {
  #campaign {
    position: relative;
  }

  .campaign-content {
    width: var(--page-width);
    max-width: var(--max-page-width-sp);
    margin: 0 auto;
  }

  /* useful-info-list と同じ位置（コンテンツ幅基準でボタン半分外側） */
  #campaign .swiper-button-prev {
    left: calc((100% - min(var(--max-page-width-sp), var(--page-width))) / 2 - clamp(20px, 4vw, 30px) / 2) !important;
  }

  #campaign .swiper-button-next {
    right: calc((100% - min(var(--max-page-width-sp), var(--page-width))) / 2 - clamp(20px, 4vw, 30px) / 2) !important;
  }
}

/* ==================================
== useful-info
================================== */
#useful-info {
  padding: 36px 0 70px;
  position: relative;
}

#useful-info::after {
  content: "";
  width: 100%;
  height: 50%;
  background: var(--base-color2);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.useful-info-list {
  gap: 70px;
}

.useful-info-list article img {
  margin-bottom: 15px;
}

.useful-info-list article p {
  font-size: 1.8rem;
  line-height: 1.8;
}

#useful-info .link {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
}

@media screen and (min-width: 769px) {
  #useful-info {
    margin-bottom: 150px;
  }
  .useful-info-list-prev,
  .useful-info-list-next {
    display: none;
  }

  .useful-info-list-pagination {
    display: none;
  }

  .useful-info-list .swiper-wrapper {
    display: grid;
    gap: 70px;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================================
== company-recruit
================================== */
#company-recruit {
  padding: 30px 0 70px;
  position: relative;
}

#company-recruit::after {
  content: "";
  width: 100%;
  height: 25%;
  background: var(--base-color2);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.company-recruit-content {
  gap: 100px;
}

.company-recruit-content .company-block,
.company-recruit-content .recruit-block {
  background: #fff;
}

.company-recruit-content img {
  width: 100%;
}

.company-recruit-content p {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  line-height: 1.8;
  padding: 6.6667vw;
}

@media screen and (max-width: 768px) {
  .company-content {
    position: relative;
  }

  .company-content::after {
    content: "";
    width: 100%;
    height: 50%;
    background: var(--base-color2);
    position: absolute;
    bottom: -30px;
    left: -20px;
    z-index: -1;
  }

  .recruit-content {
    padding-top: 65px;
  }
}

@media screen and (min-width: 769px) {
  #company-recruit {
    padding: 190px 0 140px;
  }

  #company-recruit::after {
    height: 50%;
  }

  .company-recruit-content .company-content,
  .company-recruit-content .recruit-content {
    width: 50%;
    display: flex;
    flex-direction: column;
  }

  .company-block,
  .recruit-block {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .company-block p,
  .recruit-block p {
    /* height: 100%; */
  }

  .company-recruit-content p {
    font-size: 1.7rem;
    padding: 35px;
  }
}
