@charset "utf-8";

/* --------------------------------------*/
.main {
  position: relative;
}

@media screen and (max-width: 833px) {
  .main figure img {
    width: 100%;
  }
}

@media screen and (min-width: 834px), print {
  .main figure {
    height: 100vh;
  }

  .main figure img {
    width: 100%;
  }
}

/* --------------------------------------*/
.top-copy {
  width: 100%;
  color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 833px) {
  .top-copy {
    font-size: 1.8rem;
    font-weight: bold;
    top: 240px;
  }
}

@media screen and (max-width: 767px) {
  .top-copy {
    font-size: 1.2rem;
    top: 150px;
  }
}

@media screen and (min-width: 834px), print {
  .top-copy {
    font-size: 2.6rem;
    font-weight: 500;
    top: 300px;
  }
}

/* --------------------------------------*/
.top-contents li a {
  color: #242424;
  transition: all .5s ease;
}

.top-contents li a:hover {
  text-decoration: none;
}

@media screen and (max-width: 833px) {
  .top-contents li {
    margin-top: 40px;
  }

  .top-contents li figure img {
    width: calc(880px / 3);
  }
}

@media screen and (min-width: 834px), print {
  .top-contents {
    /*下の要素をz-index的に上にしたい場合はコレ入れると何故かなる*/
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 960px;
    margin: 0 auto;
    margin-top: -60px;
    margin-bottom: 100px;
  }

  .top-contents li {
    width: calc(calc(100% - 80px) / 2);
  }

  .top-contents li a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    background: #fff;
    width: 100%;
  }

  .top-contents li figure img {
    width: calc(880px / 2);
  }

  .top-contents li a::before {
    content: '';
    display: inline-block;
    background: #000;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    transition: all .5s ease;
  }

  .top-contents li a:hover::before {
    opacity: 0.3;
  }
}

/* --------------------------------------*/
.top-contents .en {
  font-size: 0.9rem;
  font-weight: bold;
}

@media screen and (min-width: 834px), print {
  .top-contents .en {
    margin-bottom: 20px;
  }
}

/* --------------------------------------*/
.top-contents h2 {
  font-size: 1.1rem;
  margin-top: 20px;
}

@media screen and (min-width: 834px), print {
  .top-contents h2 {
    font-size: 1.6rem;
  }
}

/* --------------------------------------*/
.top-recruit {
  /*下の要素をz-index的に上にしたい場合はコレ入れると何故かなる*/
  position: relative;
}

.top-recruit a {
  color: #fff;
  display: inline-block;
  width: 100%;
  transition: all .5s ease;
}

.top-recruit figure img {
  width: 100%;
  vertical-align: bottom;
}

@media screen and (max-width: 833px) {
  .top-recruit {
    margin-top: 40px;
    margin-bottom: 60px;
  }
}

@media screen and (min-width: 834px), print {
  .top-recruit {
    background: #fff;
    padding-bottom: 100px;
  }

  .top-recruit a::before {
    content: '';
    display: inline-block;
    background: #000;
    width: 100%;
    height: calc(100% - 100px);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    transition: all .5s ease;
  }

  .top-recruit a:hover::before {
    opacity: 0.3;
  }
}

/* --------------------------------------*/
.top-recruit .heading {
  text-align: left;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  margin-left: 50%;
}

@media screen and (min-width: 834px), print {
  .top-recruit .heading {
    text-align: left;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    margin-left: 50%;
    padding-bottom: 100px;
  }
}

/* --------------------------------------*/
.top-recruit .en {
  font-weight: bold;
}

/* --------------------------------------*/
.top-recruit h2 {
  font-size: 1.2rem;
}

@media screen and (min-width: 834px), print {
  .top-recruit h2 {
    font-size: 2rem;
  }
}