@charset "UTF-8";

/* iPad Pro */
@media screen and (min-width: 600px) and (max-width: 1100px) {
  /* メイン画像 */
  .sec-mv {
    height: clamp(358px, calc(358px + (100vw - 768px) * 0.2045), 412px);
    overflow: hidden;
  }

  .img-mv {
    width: 100%;
    height: 100%;

    & img {
      display: block;
      width: 100%;
      height: 100% !important;
      object-fit: cover;
      object-position: center center;
    }
  }

  .ttl-mv {
    top: 62%;
    left: 50%;
  }
}

/* iPad mini */
@media screen and (max-width: 834px) {

  /* メイン画像 */
  .sec-mv {
    height: clamp(307px, calc(307px + (100vw - 768px) * 0.2045), 412px);
  }

  .ttl-mv {
    top: 60%;
  }

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

  .sec-company_inner {
    padding: 0 10px;
  }

  .sec-company_inner_txt {
    line-height: 2;

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

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

  .sec-company_inner_img {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
  }

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

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

  .sec-entry_inner_card_img {
    & img {
      width: 80px;
      height: 80px !important;
    }
  }

  .sec-entry_inner_card_txt {
    padding: 0 10px;
  }

  /* 社員インタビュー */
  .sec-interview_inner_link {
    &:nth-child(even) {
      margin-top: 140px;
    }
  }

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

  .sec-access_inner {
    padding: 0 60px;
  }

  .sec-access_inner_detail {
    padding: 0 15px;
  }
}

/* スマホ版 */
@media screen and (max-width: 767px) {

  /* 共通見出し */
  .sec-hdg1 {
    font-size: 22px;
  }
  .sec-hdg2 {
    font-size: 28px;

    & span {
      font-size: 18px;
    }
  }

  /* メイン画像 */
  .sec-mv {
    height: 30vh;
    overflow: hidden;
  }

  .img-mv {
    width: 100%;
    height: 100%;

    & img {
      display: block;
      width: 100%;
      height: 100% !important;
      object-fit: cover;
      object-position: center center;
    }
  }

  .ttl-mv {
    font-size: 29px;
    font-size: 2.9rem;
    left: 50%;
    top: 66%;
  }

  /* お知らせ */
  .sec-news {
    margin-bottom: 0;
  }

  .sec-news {
      & + .sec-company {
        margin-top: 0;
      }
  }

  .sec-news_inner {
    padding: 15px;
    display: block;
  }
  
  .sec-news_inner_ttl {
    display: none;
  }
  
  .sec-news_inner_swiper {
    width: 100%;
    overflow: hidden;
  }
  
  .sec-news_inner_list {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
  }
  
  .sec-news_inner_list_txt.is-clone {
    display: list-item;
  }
  
  .sec-news_inner_list_txt {
    box-sizing: border-box;
    flex: 0 0 100%;
    min-width: 0;
    font-size: 15px;
    line-height: 1.7;
  
    &:nth-child(n + 3) {
      margin-top: 0px;
    }
  }
  
  .sec-news_dots {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 12px;
  }
  
  .sec-news_dot {
    width: 8px;
    height: 8px;
    margin: 0 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .sec-news_dot.is-active {
    background: #2a933a;
  }

  /* 交換できるくんとは */
  .sec-company_inner_img {
    padding: 0;
  }

  /* 募集要項 */
  .sec-entry_inner {
    padding: 0 15px;

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

  .sec-entry_inner_link {
    padding: 15px;
    width: calc((100% - 16px) / 2);
    height: auto;
  }
  
  .sec-entry_inner_card_img {
    & img {
      width: 60px;
      height: 60px !important;
    }

    & figcaption {
      font-size: 14px;
    }
  }

  .sec-entry_inner_card_txt {
    line-height: 1.4;
  }

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

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

  .sec-interview_inner {
    flex-direction: column;
  }

  .sec-interview_inner_link {
    width: auto;

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

  .sec-interview_inner_card_txt {
    margin: 0 15px;
    line-height: 1.7;
  }

  .sec-interview_inner_card_img {
    background: none;
    box-shadow: none;
  }

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