@charset "UTF-8";

/* =========================================================
 interview-content
========================================================= */
.interview-contents {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin-top: 16px;
}
.interview-contents.no-slider {
  align-items: center;
}
.interview-contents > div:first-child {
  width: 40%;
  max-width: 460px;
}
.interview-contents > div:nth-child(2) {
  width: 60%;
  max-width: calc(100% - 40% - 16px);
}
@media (max-width: 767px) {
  .interview-contents {
    flex-direction: column;
    gap: 24px;
  }
  .interview-contents > div:first-child,
  .interview-contents > div:nth-child(2) {
    width: 100%;
    max-width: 100%;
  }
}

.interview-img-link {
  position: relative;
}
.interview-img-link a {
  display: block;
  padding: 4px;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  background: var(--color-white);
  transition: all .4s ease;
  overflow: hidden;
}
.interview-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .4s ease;
}
.interview-img-link .tag-parts {
  position: absolute;
  top: 8px;
  left: 8px;
}
.interview-img-link .arrow-link-md {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 16px 8px 8px;
  line-height: 1.2;
  font-size: 15px;
  font-weight: normal;
  background: var(--color-white);
}
.interview-img-link .arrow-link-md::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -18px;
  display: block;
  width: 19px;
  height: 100%;
  background-image: linear-gradient(117deg, transparent, transparent 50%, #ffffff 51% 100%);
}

@media (hover: hover) {
  .interview-img-link a:hover {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  }
  .interview-img-link a:hover img {
    transform: scale(1.1); 
  }
  .interview-img-link a:hover .arrow-link-md::after {
    background-image: url(/common/img/icon_arrow_h.svg);
  }
}

.interview-text-wrap {
  position: relative;
}
.interview-text {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.interview-text p {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: auto;
  padding: 8px 6px;
  line-height: 1.2;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}
.interview-text p + p {
  margin-top: 8px;
}
.interview-text p::after {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: width .4s ease;
}
.interview-text.init p::after {
  width: 100%;
}
.interview-text ul {
  opacity: 0;
  transition: opacity .4s ease;
}
.no-slider .interview-text,
.interview-text.active {
  opacity: 1;
  position: relative;
  visibility: visible;
}
.interview-text.active ul {
  opacity: 1;
}
.interview-text p::after {
  width: var(--w-current, 0px);
}
.no-slider .interview-text p::after {
  width: 100%;
}
.no-slider .interview-text ul {
  opacity: 1;
}

/* 青背景カラー */
.interview-contents.primary-var {
  margin-top: 32px;
}
.primary-var .interview-text p {
  color: var(--color-primary);
}
.primary-var .interview-text p::after {
  background: var(--color-white);
}
.primary-var .interview-text ul {
  color: var(--color-white);
}
.primary-var .nav .prev,
.primary-var .nav .next {
  border-color: var(--color-white);
}


/* ------------ スライダー ------------ */
@media (min-width: 768px) {
  .interview-contents:not(.no-slider) .splide__track {
    background: var(--color-white);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    transition: box-shadow .4s ease;
  }
}
@media (hover: hover) {
  .interview-contents:not(.no-slider) .splide__track:hover {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
  }
}
@media (max-width: 767px) {
  .interview-contents:not(.no-slider) .splide__track {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }
  .interview-text p {
    font-size: 13px;
  }
}

/* ------------ サムネイルスライダー ------------ */
.thumb-slider {
  overflow: hidden;
  margin-bottom: 16px;
}
.thumb-slider-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.thumb-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 210 / 128;
  cursor: pointer;
  transition: all 0.2s ease;
}
.thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-slide.show:hover {
  opacity: .7;
}
.thumb-slide .tag-parts {
  position: absolute;
  top: 8px;
  left: 8px;
}

/* 非表示切り替えフェード */
/* .thumb-slide {
  opacity: 0;
}
.thumb-slide.show {
  opacity: 1;
} */

/* 初期状態 */
.thumb-slide {
  position: relative;
  overflow: hidden;
}
.thumb-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.thumb-slide:hover img {
 transform: scale(1.1);
}
.img-current {
  opacity: 1;
  z-index: 1;
}
.img-next {
  opacity: 0;
  z-index: 2;
}

.tag-current {
  opacity: 1;
  z-index: 3;
}
.tag-next {
  opacity: 0;
  z-index: 4;
}

/* フェード切替 */
.thumb-slide.is-animating .img-next {
  opacity: 1;
  transition: opacity 0.4s ease;
}
.thumb-slide.is-animating .img-current {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.thumb-slide.is-animating .tag-current {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.thumb-slide.is-animating .tag-next {
  opacity: 1;
  transition: opacity 0.4s ease;
}

@media (max-width: 767px) {
  .thumb-slider {
    display: none;
  }
}

/* コントロール部分
--------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav {
  position: absolute;
  bottom: 0;
  right: 7vw;
  display: flex;
  align-items: center;
  gap: 17px;
}
.nav .prev,
.nav .next {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  cursor: pointer;
  transition: all .2s ease;
}
.nav .prev::after,
.nav .next::after {
  content: "";
  display: block;
  width: 14px;
  height: 12px;
  background-color: var(--color-primary);
  mask: url(/common/img/icon_arrow-right_bl.svg) no-repeat center / contain;
  -webkit-mask: url(/common/img/icon_arrow-right_bl.svg) no-repeat center / contain;
  transition: background-color 0.2s;
}
.nav .prev::after {
  transform: rotate(180deg);
}
@media (hover: hover) {
  .nav .prev:hover,
  .nav .next:hover {
    background: var(--color-primary);
  }
  .nav .prev:hover::after,
  .nav .next:hover::after {
    background-color: #fff;
  }
}

@media (max-width: 767px) {
  .nav {
    position: absolute;
    z-index: 1;
    top: 24vw;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: space-between;
    width: 86vw;
    height: 0;
    margin-top: 0;
  }
  .nav .prev,
  .nav .next {
    width: 39px;
    height: 39px;
    margin-right: 0;
  }
  .nav .prev::after,
  .nav .next::after {
    width: 11px;
    height: 9px;
  }
}


/* =========================================================
 インタビュー 下層ページ common
========================================================= */
.bg-wrapper {
  position: relative;
}
.bg-wrapper::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -130px;
  right: 0;
  display: block;
  width: 100vw;
  height: calc(100% + 130px + 120px);
  margin: 0 calc(50% - 50vw);
  background: url(/people/img/common/bg_01.png) no-repeat top/cover;
}
@media (max-width: 767px) {
  .bg-wrapper::after {
    top: -190vw;
    height: calc(100% + 190vw + 80px);
    background-image: url(/people/img/common/bg_01_sp.png);
  }
}

.interview-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 16px;
  margin-right: calc(50% - 50vw);
}
.interview-header > div {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.interview-header > figure {
  width: 72%;
  max-width: 919px;
  margin-right: 20px;
}
.interview-header h1 + p {
  padding-left: 16px;
  border-left: 2px solid var(--color-primary);
}
@media (min-width: 768px) and (max-width: 1024px) {
  .interview-header .heading-xl {
    font-size: 3.6vw;
  }
}
@media (max-width: 767px) {
  .interview-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
    margin-top: 8px;
    margin-left: calc(50% - 50vw);
  }
  .interview-header > div {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 0 16px;
  }
  .interview-header > figure {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--color-gray1);
  }
}

.interview-layout {
  display: flex;
  gap: 64px;
}
.interview-layout.reverse {
  flex-direction: row-reverse;
}
.interview-layout > figure {
  position: relative;
  width: 35%;
  max-width: 340px;
  aspect-ratio: 340 / 200;
  height: fit-content;
}
.interview-layout > figure::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -14px;
  right: -14px;
  display: block;
  width: 26px;
  height: 26px;
  background: var(--color-primary);
  filter: blur(20px);
}
.interview-layout > figure::after {
  position: absolute;
  z-index: -1;
  content: '';
  top: 10px;
  left: -10px;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
}
.interview-layout.reverse > figure::before  {
  left: -14px;
  right: auto;
}
.interview-layout.reverse > figure::after {
  left: auto;
  right: -10px;
}
.interview-layout > div {
  width: calc(65% + 64px);
  max-width: calc(100% - 35% + 64px);
}
@media (max-width: 767px) {
  .interview-layout,
  .interview-layout.reverse {
    flex-direction: column;
    align-items: center;
  }
  .interview-layout > figure {
    width: 70%;
    max-width: 100%;
  }
  .interview-layout > figure::after {
    top: 8px;
    left: 8px;
  }
  .interview-layout.reverse > figure::after {
    left: 8px;
    right: auto;
  }
  .interview-layout > div {
    width: 100%;
    max-width: 100%;
  }
}