@charset "UTF-8";
/* Gateway Page Styles - 採用サイト扉ページ */
/* ====================================
   Variables - 変数
   ==================================== */
:root {
  --gateway-color-primary-blue: #0066CC;
  --gateway-color-text-dark: #333;
  --gateway-color-bg: #F5F7FA;
}

/* ====================================
   Gateway Page - 採用サイト扉ページ
   ==================================== */
.page-gateway {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: url("../images/index/bg_gateway.png") no-repeat center center/100%;
}
.page-gateway::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 30vw;
  aspect-ratio: 675/388;
  height: auto;
  background: url("../images/index/deco01.png") no-repeat center center/100%;
}
.page-gateway::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 33vw;
  aspect-ratio: 1067/502;
  height: auto;
  background: url("../images/index/deco02.png") no-repeat center center/100%;
}

.gateway-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.gateway-header__container {
  position: relative;
  padding: 1rem 1rem;
}

.gateway-header__logo {
  width: 80%;
  max-width: 462px;
}

.gateway {
  width: 100%;
  min-height: calc(100vh - 100px); /* ヘッダー分を引く */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.gateway__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.gateway__banners {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .gateway__banners {
    gap: 8px;
  }
}
@media (max-width: 640px) {
  .gateway__banners {
    align-items: center;
    gap: 4vw;
  }
}
.gateway__banners:has(.gateway-banner:hover) .gateway-banner:not(:hover) .gateway-banner__card img {
  filter: brightness(0.5);
}

.gateway-banner {
  display: block;
  text-decoration: none;
}
.gateway-banner .gateway-banner__card img {
  transition: transform 0.5s, filter 0.3s ease;
}
@media (max-width: 1024px) {
  .gateway-banner {
    width: calc(50% - 4px);
  }
}
@media (max-width: 640px) {
  .gateway-banner {
    width: 100%;
  }
}

.gateway-banner__card {
  position: relative;
  aspect-ratio: 800/780;
  overflow: hidden;
  display: block;
  cursor: pointer;
  max-width: 400px;
}
.gateway-banner__card img {
  width: 100%;
  height: auto;
}
.gateway-banner__card:hover img {
  transform: scale(1.05);
}
@media (max-width: 1024px) {
  .gateway-banner__card {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .gateway-banner__card {
    max-width: 100%;
    width: 100%;
  }
}

.gateway-banner__overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: black;
  color: #fff;
  transition: background-color 0.3s;
  padding: 24px;
}
@media (max-width: 640px) {
  .gateway-banner__overlay {
    padding: 3vw;
  }
}

.gateway-banner__title-en {
  margin: 0;
  text-align: center;
}

.gateway-banner__title-en-img {
  height: 2rem;
  width: auto;
}
@media (max-width: 1024px) {
  .gateway-banner__title-en-img {
    height: 1.6rem;
  }
}
@media (max-width: 768px) {
  .gateway-banner__title-en-img {
    height: 2.5vw;
  }
}
@media (max-width: 640px) {
  .gateway-banner__title-en-img {
    height: 4vw;
  }
}

.gateway-banner__title-ja {
  font-size: 1rem;
  margin: 0.5em 0 0;
  opacity: 0.9;
  line-height: 1;
}
@media (max-width: 1024px) {
  .gateway-banner__title-ja {
    font-size: 0.875rem;
  }
}
@media (max-width: 768px) {
  .gateway-banner__title-ja {
    font-size: 1.8vw;
  }
}
@media (max-width: 640px) {
  .gateway-banner__title-ja {
    font-size: 2.8vw;
  }
}

.gateway-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #165EA3;
}