@charset "UTF-8";

/* ========== 一覧ページ FV ========== */
/* 背景の膜は共通CSS（common.css）の標準グラデーションをそのまま使う */

.common.fv-area.voice .fv-contents {
  padding-top: 120px;
  padding-bottom: 100px;
}

.common.fv-area.voice .ttl-area {
  margin-bottom: 32px;
}

.common.fv-area.voice .ttl-area .title .img-fluid {
  width: 100%;
  max-width: 172px;
}

@media screen and (min-width: 835px) {
  .common.fv-area.voice .fv-contents {
    display: block;
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .common.fv-area.voice .fv-contents .fv-text {
    flex: 0 0 100%;
    max-width: 760px;
  }

  .common.fv-area.voice .ttl-area {
    margin-bottom: 40px;
  }

  .common.fv-area.voice .ttl-area .title .img-fluid {
    max-width: 310px;
  }
}

.outbox {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media screen and (min-width: 835px) {
  .outbox {
    padding-top: 160px;
    padding-bottom: 160px;
  }
}

/* ========== 一覧ページ カード ========== */
.voice-list .voice-item {
  display: flex;
  margin-bottom: 56px;
}

.voice-list .voice-item:last-child {
  margin-bottom: 0;
}

/* カードの高さを揃え、ボタンを下端に固定する */
.voice-list .voice-item .block-area {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.voice-list .voice-item .text-area {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.voice-list .voice-item .button-left {
  margin-top: auto;
}

.voice-list .voice-item .image-area {
  position: relative;
  margin-bottom: 24px;
  overflow: hidden;
}

.voice-list .voice-item .image-area img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: 0.5s ease all;
}

.voice-list .voice-item .block-area:hover .image-area img {
  transform: scale(1.05);
}

.voice-list .voice-item .image-area .number {
  font-size: 15px;
  font-weight: 700;
  color: #030046;
  letter-spacing: 0.12em;
  background-color: #ffc000;
  padding: 6px 16px;
  margin-bottom: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.voice-list .voice-item .ttl-area {
  margin-bottom: 16px;
}

.voice-list .voice-item .ttl-area .title {
  font-size: 22px;
}

.voice-list .voice-item .profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.voice-list .voice-item .profile .department {
  font-size: 14px;
  font-weight: 700;
  background-color: #0700ae;
  padding: 5px 14px;
  margin-right: 12px;
  margin-bottom: 8px;
}

.voice-list .voice-item .profile .name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.voice-list .voice-item .metabox {
  margin-bottom: 20px;
}

.voice-list .voice-item .metabox .text {
  font-size: 16px;
}

.voice-list .voice-item .link-area {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  background-color: #0700ae;
  width: 100%;
  height: 64px;
  padding-left: 24px;
  position: relative;
  transition: 0.5s ease all;
}

.voice-list .voice-item .link-area .arrow {
  position: absolute;
  margin-top: -6px;
  top: 50%;
  right: 20px;
}

.voice-list .voice-item .block-area:hover .link-area {
  background-color: #ffc000;
  color: #030046;
}

.voice-list .voice-item .block-area:hover .link-area svg path {
  fill: #030046;
}

@media screen and (min-width: 835px) {
  .voice-list {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
  }

  .voice-list .voice-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 64px;
  }

  .voice-list .voice-item .metabox {
    margin-bottom: 32px;
  }

  .voice-list .voice-item:last-child {
    margin-bottom: 64px;
  }

  .voice-list .voice-item .ttl-area .title {
    font-size: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .voice-list .voice-item {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
}

/* 共通：部署チップの区切り */
.department .job {
  position: relative;
  padding-left: 12px;
  margin-left: 12px;
}

.department .job::before {
  content: "";
  background-color: rgb(255 255 255 / 50%);
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 1px;
}

.profile .name .entry {
  font-size: 15px;
  font-weight: 400;
  margin-left: 12px;
}

/* ========== 詳細ページ FV ========== */

.common.fv-area.voice-detail .fv-contents {
  padding-top: 120px;
  padding-bottom: 100px;
}

/* 一覧より内容が少ないぶん、FVの高さを抑える */
@media screen and (max-width: 834px) {
  .common.fv-area.voice-detail .image.sp img {
    height: 880px;
  }
}

@media screen and (min-width: 835px) {
  .common.fv-area.voice-detail .image.pc img {
    height: 720px;
    min-height: inherit;
  }
}

.common.fv-area.voice-detail .fv-text .parent {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
}

.common.fv-area.voice-detail .fv-text .number {
  font-size: 16px;
  font-weight: 700;
  color: #ffc000;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.common.fv-area.voice-detail .ttl-area {
  margin-bottom: 24px;
}

.common.fv-area.voice-detail .ttl-area .title {
  font-size: 28px;
  font-weight: 900;
}

.common.fv-area.voice-detail .profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.common.fv-area.voice-detail .profile .department {
  font-size: 15px;
  font-weight: 700;
  background-color: #0700ae;
  padding: 6px 16px;
  margin-right: 16px;
  margin-bottom: 8px;
}

.common.fv-area.voice-detail .profile .name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.common.fv-area.voice-detail .fv-contents .fv-face {
  margin-top: 32px;
}

.common.fv-area.voice-detail .fv-contents .fv-face img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media screen and (min-width: 835px) {
  .common.fv-area.voice-detail .fv-contents {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .common.fv-area.voice-detail .ttl-area .title {
    font-size: 40px;
  }

  .common.fv-area.voice-detail .profile .name {
    font-size: 24px;
  }

  /* 正面写真は他ページのキャラクターと同じ位置に置く */
  .common.fv-area.voice-detail .fv-contents .fv-face {
    padding-left: 60px;
    position: absolute;
    left: 50%;
    top: 160px;
  }

  .common.fv-area.voice-detail .fv-contents .fv-face {
    margin-top: 0;
  }

  .common.fv-area.voice-detail .fv-contents .fv-face img {
    max-width: 380px;
  }
}

/* ========== 詳細ページ 本文 ========== */
/* 読み物なので本文カラムを絞る */
.common.contents-area.voice-detail .cont-main {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.common.contents-area.voice-detail .cont-main .cont-item {
  padding-bottom: 56px;
}

.common.contents-area.voice-detail .cont-main .cont-item:last-child {
  padding-bottom: 0;
}

.common.contents-area.voice-detail .image-item .image-area .image img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.common.contents-area.voice-detail .image-item .caption {
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 0;
}

.common.contents-area.voice-detail .qa-area {
  margin-bottom: 0;
}

.common.contents-area.voice-detail .qa-area dt,
.common.contents-area.voice-detail .qa-area dd {
  display: flex;
  flex-wrap: nowrap;
}

.common.contents-area.voice-detail .qa-area dt {
  font-size: 20px;
  font-weight: 700;
  color: #ffc000;
  margin-bottom: 16px;
}

.common.contents-area.voice-detail .qa-area dd {
  font-weight: 400;
  margin-bottom: 40px;
}

.common.contents-area.voice-detail .qa-area dd:last-child {
  margin-bottom: 0;
}

.common.contents-area.voice-detail .qa-area .qa-mark {
  font-weight: 700;
  flex: 0 0 32px;
  max-width: 32px;
}

.common.contents-area.voice-detail .qa-area dd .qa-mark {
  color: #ffc000;
}

/* 前後の社員 */
.pager-area {
  padding-top: 56px;
  border-top: 1px solid rgb(255 255 255 / 30%);
}

.pager-area .pager {
  margin-bottom: 16px;
}

.pager-area .pager:last-child {
  margin-bottom: 0;
}

.pager-area .pager .link-area {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0700ae;
  width: 100%;
  height: 64px;
  padding: 8px 16px;
  text-decoration: none;
  transition: 0.5s ease all;
}

.pager-area .pager .link-area:hover {
  background-color: #ffc000;
  color: #030046;
}

.pager-area .pager .link-area:hover svg path {
  fill: #030046;
}

.pager-area .pager.index .link-area {
  background-color: #ffc000;
  color: #030046;
}

.pager-area .pager.index .link-area:hover {
  opacity: 0.8;
}

.pager-area .pager.prev .arrow {
  transform: rotate(180deg);
  margin-right: 12px;
}

.pager-area .pager.next .arrow {
  margin-left: 12px;
}

@media screen and (min-width: 835px) {
  .common.contents-area.voice-detail .cont-main .cont-item {
    padding-bottom: 80px;
  }

  .common.contents-area.voice-detail .qa-area dt {
    font-size: 24px;
  }

  .common.contents-area.voice-detail .qa-area .qa-mark {
    flex: 0 0 40px;
    max-width: 40px;
  }

  .pager-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 80px;
  }

  .pager-area .pager {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 0;
  }
}

/* スマホ幅では本文に合わせて文字を一段小さくする */
@media screen and (max-width: 834px) {
  .voice-list .voice-item .profile .name {
    font-size: 16px;
  }
}

/* スマホ幅では見出しを約2割小さくする */
@media screen and (max-width: 834px) {
  .voice-list .voice-item .ttl-area .title {
    font-size: 20px;
  }

  .common.fv-area.voice-detail .ttl-area .title {
    font-size: 24px;
  }
}
