@charset "UTF-8";

.page-index {
  overflow: hidden;
  color: #626262;
}

.sec-company, .sec-entry, .sec-interview, .sec-access {
  display: block;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.7;
}

/* 共通見出し */
.sec-hdg2 {
  font-size: 46px;
  font-family: Roboto;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  position: relative;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  display: block;

  &::after {
    display: block;
    content: "";
    width: 60px;
    height: 1px;
    background: #2a933a;
    margin: 15px auto 0;
  }

  & span {
    font-size: 20px;
    display: block;
    font-weight: 400;
    margin-top: 3px;
  }
}

.sec-hdg1 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;

  & + .sec-company_inner {
    margin-top: 20px;
  }
}

/* メイン画像 */
.sec-mv {
  position: relative;
  height: calc(80vh - 120px);
  overflow: hidden;
}

.img-mv {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(105%);

  & img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}
  
.ttl-mv {
  position: absolute;
  left: 50%;
  top: 54%;
  width: auto;
  text-align: center;
  padding: 15px;
  letter-spacing: 0.15em;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%);
  font-size: 62px;
  font-size: 6.2rem;
  letter-spacing: 0.05em;
} 

/* お知らせ */
.sec-news {
  position: relative;
  background: #f7f7f7;
  margin-bottom: 50px;
  padding: 0px;

  & + .sec-company {
    margin-top: 50px;
  }
}

.sec-news_inner {
  position: relative;
  display: flex;
  max-width: 1200px;
  padding: 30px 60px;
  margin: 0 auto;
}

.sec-news_inner_ttl {
  font-size: 14px;
  font-weight: bold;
  display: block;
  min-width: 90px;

  &::after {
    content: "｜";
    margin: 0 6px;
  }
}

.sec-news_inner_swiper {
  flex-grow: 1;
}

.sec-news_inner_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-news_inner_list_txt {
  font-size: 16px;

  &:nth-child(2) {
    margin-top: 0px;
  }

  &:nth-child(n + 3) {
    margin-top: 5px;
  }
}

.sec-news_inner_list_txt::before {
  content: "■";
}

.sec-news_inner_list_txt.is-clone {
  display: none;
}

.sec-news_dots {
  display: none;
}

/* 交換できるくんとは */
.sec-company {
  padding: 0 50px;

  & + .sec-entry {
    margin-top: 120px;
  }
}

.sec-company_inner_txt {
  font-size: 16px;
  text-align: center;

  & + .sec-company_inner_txt {
    margin-top: 30px;
  }

  & + .sec-company_inner_img {
    margin-top: 70px;
  }
}

.sec-company_inner_img {
  width: 960px;
  margin: 0 70px;
}

/* 募集要項 */
.sec-entry {
  & + .sec-interview {
    margin-top: 130px;
  }
}

.sec-entry_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0px 60px;

  & + .sec-entry_inner {
    margin-top: 30px;
  }
}

.sec-entry_inner_link {
  color: #626262;
  position: relative;
  background-color: #f7f7f7;
  padding: 30px 20px 20px;
  text-align: center;
  width: calc((100% - 30px) / 2);
  height: auto;

  &::before, &::after {
    content: "";
    position: absolute;
    top: calc((100% - 0px) / 2);
    right: 10px;
    width: 6px;
    height: 1px;
    border-radius: 10px;
    background-color: #ddd;
    transform-origin: calc(100% - 0.5px) 50%;
  }

  &::before {
    transform: rotate(45deg);
  }

  &::after {
    transform: rotate(-45deg);
  }
}

.sec-entry_inner_card {
  width: 100%;
}

@media (hover: hover) {
  .sec-entry_inner_link:hover {
    .sec-entry_inner_card_img figcaption {
      color: #2a933a;
    }

    &::before, &::after {
      background-color: #2a933a;
    }

    .sec-entry_inner_card_txt {
      color: #529bff;
    }
  }

  .sec-interview_inner_link:hover {
    .sec-interview_inner_card_txt_ttl {
      color: #2a933a;
    }

    .sec-interview_inner_card_txt_name {
      color: #529bff;
    }
  }
}

.sec-entry_inner_card_img {
  margin: 0 auto;

  & figcaption {
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
  }

  & + .sec-entry_inner_card_txt {
    margin-top: 10px;
  }

  & img {
    width: 80px;
    height: 80px;
  }
}

.sec-entry_inner_card_txt {
  font-size: 13px;
}

/* 社員インタビュー */
.sec-interview {
  padding: 0 60px;

  & + .sec-access {
    margin-top: 240px;
  }
}

.sec-interview_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sec-interview_inner_link {
  width: calc((100% - 80px) / 2);

  &:nth-child(even) {
    margin-top: 130px;
  }
}

.sec-interview_inner_card_img {
  margin: 0 auto;
  background: #f0f0f0;
  box-shadow: 20px 20px #f0f0f0;
}

.sec-interview_inner_card_txt {
  background: rgba(255, 255, 255, .95);
  padding: 20px;
  transform: translateY(-30px);
  margin: 0 40px;
}

.sec-interview_inner_card_txt_ttl {
  font-size: 18px;
  font-weight: 500;

  & + .sec-interview_inner_card_txt_name {
    margin-top: 8px;
  }
}

.sec-interview_inner_card_txt_name {
  font-size: 13px;
}

/* アクセス */
section.sec-access {
  padding: 0 60px;
}

.sec-access_inner_map {
  width: 100%;
  min-height: 425px;
}

.sec-access_inner_detail {
  font-size: 16px;
}

.sec-access_inner_detail_ttl {
  font-weight: bold;

  & + .sec-access_inner_detail_txt {
    margin-top: 20px;
  }
}

.sec-access_inner_detail_txt {
  & + .sec-access_inner_detail_list {
    margin-top: 20px;
  }
}

.sec-access_inner_detail_list li {
  &::before {
    content: "■";
  }

  &:last-child {
    margin-top: 20px;
  }
}

@media screen and (min-width: 1101px) {
  /* メイン画像 */
  .sec-mv {
    height: 796px;
  }
}