@charset "UTF-8";

:root {
  --grad-blue-01: linear-gradient(149deg, #003ea6, #001456);
}
#top {
  color: var(--c-blue-01);
}
/* --------------------------------
  mv
--------------------------------*/
.top-mv {
  position: relative;
}

.top-mv__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr 83px;
  align-items: stretch;
  gap: 0;
  height: 910px;
}
.top-mv__inner.top-mv__inner--sp {
  display: none;
}
.top-mv__col {
  position: relative;
  overflow: hidden;
}

.top-mv__col--slide {
  height: 100%;
  min-height: 0;
}

.top-mv__track {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.top-mv__track-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  will-change: transform;
}
@media screen and (min-width: 769px) {
  .top-mv__track-inner {
    gap: 24px;
  }
}
@media screen and (min-width: 1201px) {
  .top-mv__track-inner {
    gap: 32px;
  }
}
.top-mv__track.top-mv__track--down {
  margin-top: 16px;
}
.top-mv__slide {
  width: 100%;
  height: auto !important;
  aspect-ratio: 254 / 364;
  overflow: hidden;
  flex-shrink: 0;
}
.top-mv__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-mv__text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-mv__text.top-mv__text--02 {
  align-items: flex-start;
  margin-top: 2em;
}

.top-mv__text img {
  width: 11px;
  height: auto;
  object-fit: contain;
  display: block;
}
.top-mv-copy {
  position: absolute;
  z-index: 10;
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}
.top-mv-copy.top-mv-copy--01 {
  top: 20px;
  right: 0;
  width: 110px;
  transform: translateX(calc(100% + 40px));
}
.top-mv-copy.top-mv-copy--02 {
  width: 962px;
  left: -24px;
  bottom: 160px;
  transform: translateX(calc(-100% - 40px));
  transition-delay: 0.5s;
}
body.is-mv-ready .top-mv-copy--01,
body.is-mv-ready .top-mv-copy--02 {
  opacity: 1;
  transform: translateX(0);
}
.top-mv-copy img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.mv-bottom-img {
  position: relative;
  z-index: -1;
  width: 100vw;
  height: 32px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.mv-bottom {
  position: relative;
}

@media screen and (max-width: 1240px) {
  .top-mv__inner {
    grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 40px;
    height: 600px;
  }
  .top-mv__text img {
    width: 8px;
  }
  .top-mv-copy.top-mv-copy--01 {
    width: 80px;
  }
  .top-mv-copy.top-mv-copy--02 {
    width: 70%;
    bottom: 100px;
  }
}
@media screen and (max-width: 768px) {
  .home .hd .l-outer {
    padding-left: 0;
  }
  #top-mv .l-outer {
    padding: 0;
  }
  .top-mv__inner.top-mv__inner--sp {
    display: grid;
    grid-template-columns: 1fr 16px 1fr 16px 1fr;
    height: 600px;
  }
  .top-mv__inner.top-mv__inner--pc {
    display: none;
  }
  .top-mv__track.top-mv__track--down {
    margin-top: 8px;
  }
  .top-mv__text img {
    width: 8px;
  }
  .top-mv-copy.top-mv-copy--01 {
    position: absolute;
    top: 24px;
    right: 4%;
    width: 64px;
  }
  .top-mv-copy.top-mv-copy--02 {
    bottom: 15%;
    left: -8px;
  }
  .mv-bottom-img {
    height: 24px;
  }
}
@media screen and (max-width: 600px) {
  .top-mv__inner.top-mv__inner--sp {
    height: 420px;
    grid-template-columns: 1fr 12px 1fr 12px 1fr;
  }
  .top-mv-copy.top-mv-copy--01 {
    width: 50px;
  }
  .top-mv__text img {
    width: 6px;
  }
  .mv-bottom-img {
    height: 16px;
  }
}

/* --------------------------------
  news
--------------------------------*/

#t-news .top-news__row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

#t-news .news-ttl {
  margin: 0;
  font-size: var(--fs-72);
  font-weight: var(--fw-light);
  letter-spacing: 0.005em;
  font-family: var(--font-josefin);
  font-style: italic;
  line-height: 1;
}

/* グラデーション文字は字形がある要素（内側 span）に付ける（clip + 透明は子でないと表示されない） */
#t-news .news-ttl .cube-txt-anime__inner {
  background-image: var(--grad-blue-01);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#t-news .top-news__link {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
  text-decoration: none;
  color: var(--c-blue-01);
  flex: 1;
  min-width: 0;
}

#t-news .top-news__title {
  letter-spacing: 0.075em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#t-news .top-news__date {
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

#t-news .top-news__empty {
  color: var(--c-blue-01);
  flex: 1;
  letter-spacing: 0.075em;
}

@media screen and (max-width: 768px) {
  #t-news .top-news__row {
    gap: 16px;
    flex-direction: column;
  }
  #t-news .top-news__date {
    font-size: var(--fs-14);
  }
}

/* --------------------------------
  field-video
--------------------------------*/
#t-field-video .field-video__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
}

#t-field-video .field-video__media {
  display: block;
  flex: 1;
  margin-left: calc(50% - 50vw);
}

#t-field-video .field-video__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 772 / 447;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

#t-field-video .field-video__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  filter: brightness(0.6);
  transition: filter 0.5s ease;
}

#t-field-video .field-video__thumb.is-playing .field-video__video {
  filter: brightness(1);
}

#t-field-video .field-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 47px;
  height: 47px;
  padding: 0;
  border: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  z-index: 2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    opacity 0.3s ease,
    transform 0.2s ease;
  /* 円から三角形を「くりぬく」マスク（SVG evenodd） */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' fill-rule='evenodd' d='M50 0a50 50 0 1 0 0 100a50 50 0 1 0 0-100z M42 32 L42 68 L70 50 Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='black' fill-rule='evenodd' d='M50 0a50 50 0 1 0 0 100a50 50 0 1 0 0-100z M42 32 L42 68 L70 50 Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}
#t-field-video .field-video__caption {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-26);
  color: var(--c-white);
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* 再生中は再生ボタンとキャプションをフェードアウト */
#t-field-video .field-video__thumb.is-playing .field-video__play,
#t-field-video .field-video__thumb.is-playing .field-video__caption {
  opacity: 0;
  pointer-events: none;
}

#t-field-video .field-video__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.7);
}
#t-field-video .field-video__content {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
}

#t-field-video .field-video__kicker {
  font-weight: var(--fw-bold);
  font-size: var(--fs-25);
  line-height: 1.2;
}

#t-field-video .field-video__title {
  font-size: clamp(36px, 7vw, 74px);
  letter-spacing: 0.26em;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  background-image: var(--grad-blue-01);
  font-family: var(--font-shippori);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#t-field-video .field-video__text {
  line-height: 1.9;
  letter-spacing: 0.005em;
  opacity: 0.8;
}

#t-field-video .field-video__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 960px) {
  #t-field-video .field-video__inner {
    flex-direction: column-reverse;
  }

  #t-field-video .field-video__media {
    margin-left: 0;
    width: 100%;
  }
  #t-field-video .field-video__content {
    align-items: center;
  }
  #t-field-video .field-video__text {
    text-align: center;
  }
  #t-field-video .field-video__caption {
    font-size: var(--fs-16);
  }
}

/* --------------------------------
  about
--------------------------------*/
#t-about .about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#t-about .about-ttl {
  color: var(--c-white);
  font-family: var(--font-josefin);
  letter-spacing: 0.005em;
  font-size: clamp(44px, 7vw, 100px);
  font-weight: 200;
  font-style: italic;
  line-height: 1;
  margin-bottom: -0.06em;
}
#t-about .about-text {
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.33em;
  font-size: var(--fs-20);
  gap: 10px;
}
#t-about .about-sub-ttl {
  color: var(--c-white);
  font-family: var(--font-shippori);
  font-size: var(--fs-50);
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  letter-spacing: 0.1em;
}
#t-about {
  display: block;
  overflow: hidden;
}
#t-about::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.4s ease;
  z-index: -1;
  pointer-events: none;
}
#t-about .about-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  transition: transform 0.6s ease;
}
@media (hover: hover) {
  #t-about:hover {
    opacity: 1;
  }
  #t-about:hover .about-bg {
    transform: scale(1.05);
  }
  #t-about:hover::after {
    background-color: rgba(0, 0, 0, 0.25);
  }
}
#t-about-content .about-img {
  width: 100%;
  height: 100%;
  margin-top: clamp(-28px, -28px + 12 * (100vw - 375px) / 905, -40px);
  position: relative;
  z-index: 1;
}
#t-about-content .about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#t-about-content .about-text {
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  #t-about-content .about-img {
    height: 240px;
    object-fit: cover;
    object-position: top center;
  }
}
@media screen and (max-width: 600px) {
  #t-about-content .about-img {
    height: 180px;
  }
}

/* --------------------------------
  banner
--------------------------------*/
.t-banner {
  display: block;
  position: relative;
}
.t-banner__inner {
  overflow: hidden;
}
.t-banner .banner__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .t-banner:hover {
    opacity: 1;
  }
  .t-banner:hover .banner__img {
    transform: scale(1.02);
  }
}
@media screen and (max-width: 768px) {
  .t-banner {
    margin-bottom: 20px;
  }
  .t-banner__inner {
    width: calc(100% - clamp(20px, 4%, 80px) * 2);
    max-width: 475px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* --------------------------------
  interview
--------------------------------*/
#t-interview .interview-inner {
  gap: clamp(20px, 2vw, 40px);

}
#t-interview .interview-banner {
  display: block;
  width: calc((100% - clamp(20px, 2vw, 40px)) / 2);
  height: 100%;
  max-width: 475px;
  aspect-ratio: 475 / 466;
  overflow: hidden;

}
#t-interview .interview-banner__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  #t-interview .interview-banner:hover {
    opacity: 1;
  }
  #t-interview .interview-banner:hover .interview-banner__img {
    transform: scale(1.02);
  }
}
@media screen and (max-width: 768px) {
  #t-interview .interview-inner {
    flex-direction: column;
  }
  #t-interview .interview-banner {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
/* --------------------------------
  top-port
--------------------------------*/
#t-tomakomai-port {
  position: relative;
}

#t-tomakomai-port::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background-image: linear-gradient(#ffffff, #006ff34d);
  z-index: -1;
}
.top-port__heading {
  text-align: center;
  margin-bottom: clamp(24px, 24px + 8 * (100vw - 375px) / 905, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-port__heading::after {
  width: 100%;
  height: 2px;
  background: #f90000;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.top-port__heading .cube-txt-anime__inner {
  font-family: var(--font-shippori);
  font-size: clamp(41px, 41px + 31 * (100vw - 375px) / 905, 72px);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  line-height: 1.2;
  background-image: linear-gradient(180deg, #2e61c8, #0f2064 99%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: underline;
  text-decoration-color: #f90000;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.top-port__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.top-port__thumb {
  aspect-ratio: 245 / 173;
  overflow: hidden;
}

.top-port__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top-port__cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.top-port__cta-title {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.top-port__cta-desc {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--c-black-04);
  opacity: 0.8;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
}

.top-port__cta-tri {
  width: 0;
  height: 0;
  border-left: 10px solid var(--c-red-01);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  flex-shrink: 0;
}

.top-port__cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: clamp(8px, 1.5vw, 12px) clamp(24px, 3vw, 36px);
  text-decoration: none;
  color: var(--c-white);
  background-image: linear-gradient(149deg, #000d50, #0059d5 61%, #000d50 99%);
  font-weight: var(--fw-bold);
  letter-spacing: 0.255em;
}

@media screen and (max-width: 960px) {
  .top-port__heading .cube-txt-anime__inner {
    font-size: var(--fs-40);
  }
  .top-port__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .top-port__cta-row {
    flex-direction: column;
    align-items: center;
  }

  .top-port__cta-title {
    flex: 0 1 auto;
    width: 100%;
    max-width: 300px;
    object-position: center;
  }

  .top-port__cta-desc {
    flex: 0 1 auto;
    text-align: center;
    align-items: flex-start;
  }
  .top-port__cta-tri {
    margin-top: auto;
    margin-bottom: auto;
  }
}
@media screen and (max-width: 600px) {
  .top-port__heading .cube-txt-anime__inner {
    font-size: var(--fs-44);
  }
  .top-port__cta-title {
    max-width: 240px;
  }
  .top-port__cta-tri {
    transform: translateY(50%);
    margin-top: initial;
    margin-bottom: initial;
  }
}

/* --------------------------------
  recruit（トップ）
--------------------------------*/
.t-recruit__heading {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.t-recruit__title {
  font-size: clamp(44px, 7vw, 107px);
  line-height: 1;
  letter-spacing: 0.005em;
  font-weight: var(--fw-light);
  font-family: var(--font-josefin);
  font-style: italic;
}

.t-recruit__title .cube-txt-anime__inner {
  background-image: linear-gradient(140deg, #003ea6, #001456);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.t-recruit__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: -0.5em;
  font-size: var(--fs-20);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.33em;
  background-image: linear-gradient(140deg, #003ea6, #001456);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.t-recruit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.t-recruit__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
  aspect-ratio: 320 / 256;
  overflow: hidden;
}

.t-recruit__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: -1;
  transition: transform 0.6s ease;
}
.t-recruit__card-en {
  width: 100%;
  text-align: center;
  font-family: var(--font-josefin);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-20);
  color: var(--c-white);
  letter-spacing: 0.005em;
  margin-bottom: 8px;
  line-height: 1.2;
  opacity: 0.8;
  text-shadow: 3px 3px 10px #1242a7;
}

.t-recruit__card-jp {
  width: 100%;
  text-align: center;
  font-weight: var(--fw-bold);
  color: var(--c-white);
  font-size: var(--fs-25);
  letter-spacing: 0.33em;
  line-height: 1.2;
  text-shadow: 3px 3px 10px #1242a7;
  border-bottom: 1px solid var(--c-white);
  border-top: 1px solid var(--c-white);
  padding-bottom: 12px;
  padding-top: 12px;
}

.t-recruit__card-desc {
  margin-top: 8px;
  text-align: center;
  font-size: var(--fs-18);
  letter-spacing: 0.2em;
  color: var(--c-white);
  text-shadow: 3px 3px 10px #1242a7;
}

.t-recruit__card:hover .t-recruit__card-bg {
  transform: scale(1.12);
}

.t-recruit__card {
  transition: transform 0.2s ease;
}
.t-recruit__card:hover{
  opacity: 1;
}

@media screen and (max-width: 960px) {
  .t-recruit__grid {
    grid-template-columns: 1fr;
  }
  .t-recruit__heading {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .t-recruit__card {
    aspect-ratio: initial;
  }
  .t-recruit__card-en,
  .t-recruit__card-jp {
    width: 280px;
  }
}
@media screen and (max-width: 640px) {
  .t-recruit__card-desc {
    font-size: var(--fs-16);
  }
  .t-recruit__card-en,
  .t-recruit__card-jp {
    width: 240px;
  }
}
