@charset "UTF-8";

/*====================================
 * People Page Stylesheet (BEM Refactored)
 =====================================*/

/*------------------------------------
 * テーマ・グループ別 CSS変数定義
 ------------------------------------*/
/* ライブエンタメグループ用 (チケット) */
.filter__group--ticket,
.interview-card--ticket {
  --group-color: #35A7EE;
  --group-color-light: #4DB0EE;
  --group-icon: url(../images/people/icon_group_blue.svg);
  --group-mark: url(../images/people/mark_blue.png);
}

/* エンタメコンテンツグループ用 (プロダクト) */
.filter__group--product,
.interview-card--product {
  --group-color: #F581A5;
  --group-color-light: #F581A5;
  --group-icon: url(../images/people/icon_group_pink.svg);
  --group-mark: url(../images/people/mark_pink.png);
}


/*------------------------------------
 * 共通レイアウト & コンテナ
 ------------------------------------*/
.container {
  background: linear-gradient(270deg, #A8D8F6 0%, #6FBEF0 25.48%, #5CB6EE 45.67%, #6FBEF0 60.1%, #A8D8F6 100%);
}

/* .breadcrumbs {
  max-width: 1280px;
  margin-inline: auto;
} */

.people .people__contents-wrap {
  background-image: linear-gradient(270deg, #A8D8F6 0%, #6FBEF0 25.48%, #5CB6EE 45.67%, #6FBEF0 60.1%, #A8D8F6 100%);

  @media screen and (min-width: 1281px) {
    background-image: url(../images/people/bg_interview.webp),
    linear-gradient(270deg, #A8D8F6 0%, #6FBEF0 25.48%, #5CB6EE 45.67%, #6FBEF0 60.1%, #A8D8F6 100%);
    background-repeat: no-repeat, repeat;
    background-size: 100%, auto;
    background-position: center 300px, center top;
  }
}

.people .people__contents-inner {
  max-width: 1280px;
  margin-inline: auto;
}

.people__contents {
  & .people__heading {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.05em;
    text-shadow: 0px 4px 4px rgba(79, 153, 197, 0.4);
    color: #FFF;
    padding: 24px 8px;

    @media screen and (min-width: 768px) {
      /* font-size: 32px; */
      font-size: 2rem;
    }
  }
}


/*------------------------------------
 * フィルターセクション (Block: filter)
 ------------------------------------*/
.filter {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter__btn {
  & input[type="checkbox"] {
    display: none;
  }
}

.filter__btn-text {
  font-size: 16px;
  padding: 0 12px;
  border-radius: 100vw;
}

/* クリアボタン */
.filter__btn--clear {
  & .filter__btn-text {
    position: relative;
    display: inline-block;
    border: solid 1px #FFF;
    height: 34px;
    line-height: 32px;
    font-weight: bold;
    color: #FFF;
    margin-left: 8px;

    &::before {
      content: "×";
      font-size: 14px;
      margin-right: 8px;
    }
  }
}

/* フィルターの各グループ(チケット / プロダクト) */
.filter__group {
  /* グループ名 & 説明文 */
  & .filter__info {
    background-color: #FFF;
    padding: 10px 18px;
    border-radius: 12px 12px 0 0;

    & .filter__title {
      position: relative;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: 0.05em;
      line-height: 1.7;
      background-size: 17px 17px;
      background-repeat: no-repeat;
      background-position: left center;
      padding-left: 25px;
      color: var(--group-color-light);
      background-image: var(--group-icon);

      @media screen and (min-width: 768px) {
        /* font-size: 24px; */
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 4px;
      }
    }

    & .filter__desc {
      /* font-size: 15px; */
      font-size: 0.9375rem;
      line-height: 1.5;
    }
  }

  /* フィルターボタンの一覧リスト */
  & .filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: linear-gradient(90deg, rgba(229, 245, 255, 0.9) 0%, rgba(154, 212, 249, 0.9) 100%);
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.5);
    border-radius: 0px 0px 12px 12px;
    padding: 16px;

    @media screen and (min-width: 768px) {
      gap: 16px;
    }

    & .filter__btn-text {
      display: block;
      border: solid 1px var(--group-color);
      background-color: #FFF;
      color: var(--group-color);
      font-weight: 700;
      height: 30px;
      line-height: 28px;
    }

    & .filter__btn input:checked + .filter__btn-text {
      border: solid 1px #FFF;
      background-color: var(--group-color);
      color: #FFF;
    }
  }
}


/*------------------------------------
 * インタビューカード一覧 (Block: interview-list / interview-card)
 ------------------------------------*/
.interview-list {
  position: relative;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, 43.7%);
  gap: 32px 24px;
  margin-inline: auto;
  margin-top: 24px;
  width: 100%;

  @media screen and (min-width: 768px) {
    grid-template-columns: repeat(4, 19.5%);
    gap: min(4.77vw ,64px) 5%;
    margin-top: 56px;
  }

  /* 個々の社員インタビューカード */
  & .interview-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
    text-decoration: none;
    color: #FFF;

    /* 空白埋め用・ダミーカード */
    &.interview-card--blank {
      grid-template-rows: 1fr;
      justify-items: center;
      align-items: center;

      &.sp_none {
        display: none !important;

        @media screen and (min-width: 768px) {
          display: grid !important;
        }
      }

      & img {
        width: 40%;
        aspect-ratio: 1 / 1;
      }
    }
  }

  /* カード画像 (顔写真枠) */
  & .interview-card__image {
    position: relative;
    border: 2px solid #94CFF4;
    box-shadow: 3px 4px 10px rgba(72, 168, 229, 0.75);
    border-radius: 12px;
    overflow: clip;

    & img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.3s ease;
    }

    &:hover img,
    .interview-card:hover & img {
      transform: scale(1.08);
    }

    &::after {
      position: absolute;
      content: "";
      top: 0;
      right: 0;
      display: block;
      width: 31px;
      aspect-ratio: 1/1;
      background-repeat: no-repeat;
      background-size: contain;
      background-image: var(--group-mark);
    }
  }

  /* テキスト情報コンテナ */
  & .interview-card__info {
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* 職種 & 採用区分ラベル */
  & .interview-card__label {
    padding: 12px 4px 8px 4px;

    @media screen and (min-width: 1281px) {
      padding: 14px 14px 6px 14px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    & .interview-card__role {
      font-size: 15px;
      font-weight: 700;
      line-height: 1.2;
      margin: 0 0 2px 0;
    }

    & .interview-card__type {
      display: inline-block;
      font-size: 13px;
      height: 18px;
      line-height: 18px;
      background: #FFF;
      padding: 0 5px;
      letter-spacing: 0.03em;
      color: var(--group-color-light);
    }
  }

  /* キャッチコピー・リード文 */
  & .interview-card__lead {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;

    @media screen and (min-width: 1281px) {
      /* font-size: 20px; */
      font-size: 1.25rem;
      padding-top: 8px;
      line-height: 1.6;
    }

    & strong {
      font-size: 18px;

      @media screen and (min-width: 1281px) {
        /* font-size: 23px; */
        font-size: 1.4375rem;
      }
    }
  }

  /* 所属グループテキスト */
  & .interview-card__group {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    padding-top: 6px;

    @media screen and (min-width: 1281px) {
      font-size: 18px;
      padding-top: 16px;
    }

    & .interview-card__group-br {
      display: inline-block;
    }
  }
}
