@charset "utf-8";

.bg {
  position: fixed;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  min-height: 100vh;
  min-height: 100lvh;
  top: 0;
  left: 0;
}

.bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  aspect-ratio: 680/800;
  height: min(62.5vw,100%);
  background: url(/recruit/img/common/aping-yamazaki-deco01.png) no-repeat;
  background-size: cover;
  background-position: left bottom;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .bg::before {
    left: 0;
    top: 0;
    min-width: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375/240;
    background: url(/recruit/img/common/aping-yamazaki-deco01_sp.png) no-repeat;
    background-size: cover;
  }
}

.bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  aspect-ratio: 620/800;
  height: min(62.5vw,100%);
  background: url(/recruit/img/common/aping-yamazaki-deco02.png) no-repeat;
  background-size: cover;
  background-position: right top;
  z-index: 1;
}


@media screen and (max-width: 768px) {
  .bg::after {
    top: initial;
    bottom: 0;
    min-width: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375/240;
    background: url(/recruit/img/common/aping-yamazaki-deco02_sp.png) no-repeat;
    background-size: cover;
  }
  .bg::after {
    display: none;
  }
}

.bg .inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,1) 100%);
}

.bg .inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/recruit/img/common/mosaic-pattern.jpg) repeat;
  background-size: 400px;
  opacity: 0.2;
}


.bg .inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,1) 100%);
}

@media screen and (max-width: 768px) {
  .bg .inner::after {
    background: rgba(0,0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 80%, rgba(0,0,0,1) 100%);
  }
}

.bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ↓↓↓ fv ↓↓↓ */
.fv {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: max(650px, 100vh);
  min-height: max(650px, 100dvh);
  background-color: transparent;
}

@media screen and (max-width: 768px) {
  .fv {
    min-height: 128vw;
  }
}

.fv .container {
  position: relative;
  width: 100%;
  height: 100%;
}

.fv .container .copy-group {
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  left: 9.375vw;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .fv .container .copy-group {
    translate: 0 0;
    top: initial;
    bottom: 25.3334vw;
    left: 15px;
  }
}

.fv .container .copy-group .copy {
  font-family: var(--font-shipp);
  font-size: max(6.4rem, 5vw);
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: 1.2;
}

@media screen and (max-height: 800px) {
  .fv .container .copy-group .copy {
    font-size: 6.4rem;
  }
}

@media screen and (max-width: 768px) {
  .fv .container .copy-group .copy {
    font-size: 13.6vw;
  }
}

.fv .container .copy-group .sub-copy {
  font-family: var(--font-shipp);
  font-size: max(2.4rem, 1.875vw);
  letter-spacing: 0.24em;
  font-weight: 500;
  line-height: 2;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .fv .container .copy-group .sub-copy {
    font-size: 5.06667vw;
  }
}
/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ news ↓↓↓ */
.news {
  position: relative;
  z-index: 1;
}

.news .inner {
  position: absolute;
  translate: 0 -100%;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 56px 40px;
}

@media screen and (max-width: 1024px) {
  .news .inner {
    padding: 0 15px 40px;
  }
}

@media screen and (max-width: 768px) {
  .news .inner {
    position: relative;
    translate: 0 0;
    width: 100%;
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 15px 15px 24px;
    background-color: #000;
  }
}

.news .inner .news-list {
  color: #fff;
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  .news .inner .news-list {
    max-width: 550px;
    width: 100%;
    margin: 24px auto 0;
  }
}

.news .inner .news-list dt {
  font-family: var(--font-lato);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}
.news .inner .news-list dd {
  font-size: 1.4rem;
  font-weight: 400;
}

.news .inner .banner-list {
  display: flex;
}

@media screen and (max-width: 768px) {
  .news .inner .banner-list {
    flex-direction: column;
    max-width: 345px;
    width: 100%;
    margin: 0 auto;
  }
}
 
.news .inner .banner-list .banner {
  width: clamp(180px, 17.188vw, 220px);
}

@media screen and (min-width: 769px) {
  .news .inner .banner-list .banner {
    transition: opacity 0.3s ease;
  }

  .news .inner .banner-list .banner:hover {
    opacity: 0.6;
  }
}

.news .inner .banner-list .banner:not(:last-of-type) {
  margin-right: 8px;
}

@media screen and (max-width: 768px) {
  .news .inner .banner-list .banner {
    width: 100%;
  }

  .news .inner .banner-list .banner:not(:last-of-type) {
    margin: 0 0 8px;
  }
}
/* ↑↑↑ news ↑↑↑ */

/* ↓↓↓ message ↓↓↓ */
.message {
  background-color: transparent;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(255,255,255,0);
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .message::before {
    height: 365px;
  }
}

.message::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.message .container {
  position: relative;
  height: 100%;
  padding: max(140px, 10.9375vw) 56px max(120px, 9.375vw);
}

@media screen and (max-width: 1024px) {
  .message .container {
    padding: 140px 12px 120px;
  }
}

@media screen and (max-width: 768px) {
  .message .container {
    padding: 90px 15px 62px;
  }
}

.message .container .message-box {
  position: relative;
  color: #fff;
  padding-top: max(264px, 20.625vw);
  z-index: 2;
}

@media screen and (max-width: 1024px) {
  .message .container .message-box {
    padding-top: 450px;
  }
}

@media screen and (max-width: 768px) {
  .message .container .message-box {
    max-width: 550px;
    margin: 0 auto;
    padding-top: 0;
  }
}

.message .container .copy-group {
  position: absolute;
  top: 0;
  left: 8.125vw;
}

@media screen and (max-width: 768px) {
  .message .container .copy-group {
    position: initial;
  }
}

.message .container .copy-group .copy {
  font-family: var(--font-shipp);
  font-size: max(6.4rem, 5vw);
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: 1.2;
}

@media screen and (max-width: 768px) {
  .message .container .copy-group .copy {
    font-size: min(8rem, 13.6vw);
    letter-spacing: 0.06em;
  }
}

.message .container .copy-group .sub-copy {
  font-family: var(--font-shipp);
  font-size: max(2.4rem, 1.875vw);
  letter-spacing: 0.24em;
  font-weight: 500;
  line-height: 2;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .message .container .copy-group .sub-copy {
    font-size: min(2.8rem, 5.06667vw);
    margin-top: 20px;
  }
}

.message .container .text-group {
  position: relative;
  width: max-content;
  margin-left: auto;
  padding-right: 7.1875vw;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .message .container .text-group {
    width: 100%;
    padding-right: 0;
    margin-top: 40px;
  }
}

.message .container .text-group .text {
  font-size: max(1.5rem, 1.171878vw);
  line-height: 2;
  letter-spacing: 0.15em;
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .message .container .text-group .text {
    font-size: min(3.73334vw, 1.8rem);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
  }
}

.message .container .text-group .lead {
  font-family: var(--font-shipp);
  font-size: max(2.8rem, 2.1875vw);
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 768px) {
  .message .container .text-group .lead {
    font-size: min(4rem, 6.4vw);
    margin-top: 40px;
  }
}

.message .deco01 {
  position: absolute;
  top: 0;
  right: 0;
  width: max(200px, 20.313vw);
  opacity: 0.8;
}

.message .deco02 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32.813vw;
  opacity: 0.8;
}

@media screen and (max-width: 1024px) {
  .message .deco02 {
    left: -12px;
  }
}

.message .deco03 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: max(125px, 12.813vw);
  opacity: 0.8;
  z-index: 1;
}

.message .deco04 {
  position: absolute;
  bottom: 0;
  left: 0;
  aspect-ratio: 680/800;
  height: 100%;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .message .deco04 {
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375/240;
  }
}

.message .deco05 {
  position: absolute;
  top: 0;
  right: 0;
  aspect-ratio: 620/800;
  height: 100%;
  z-index: 1;
}


@media screen and (max-width: 768px) {
  .message .deco05 {
    top: initial;
    bottom: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375/240;
  }
}
/* ↑↑↑ message ↑↑↑ */

.fv .container .copy-group {
  opacity: 0;
}