@charset "utf-8";

/*
Name: 2021 header Renewal CSS Document
Version: 1.3
Created date: 2021-12-10
Last updated: 2025-03-13
*/

/* -------------------------------------------------------------------------- */

/* Header
/* -------------------------------------------------------------------------- */

.header {
  background: #fff;
  position: fixed;
  z-index: 11;
  left: 0;
  top: 0;
  transition: .3s;
  width: 100%;
  /* Reset style.css */
  padding: 0;
}

.header.animation {
  transform: translateY(-100%);
}

.header-inner {
  margin-right: auto;
  margin-left: auto;
  width: calc(100% - 2rem);
}

.header-logo a {
  display: block;
  height: 0;
  overflow: hidden;
}

.header-nav ul li a {
  background: no-repeat center/contain;
  display: inline-block;
  height: 0;
  overflow: hidden;
  vertical-align: middle;
}

.header-nav ul li .icon-window {
  background: no-repeat center/contain url("../images/top_2021/icon_window_white.svg");
  display: inline-block;
  height: 1.1rem;
  width: 1.4rem;
  margin-left: .8rem;
  vertical-align: middle;
}

/* -------------------------------------------------------------------------- */

/* Main
/* -------------------------------------------------------------------------- */

.main {
  /* Reset style.css */
  margin-top: 0;
}

/* -------------------------------------------------------------------------- */

/* Media Queries
/* -------------------------------------------------------------------------- */

@media ( min-width: 1261px ) {

  /* Document Setup ------------------------ */

  /* Helper Classes */

  .view-pc {
    display: inline-block;
  }

  .view-sp {
    display: none;
  }

  /* Header -------------------------------- */

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo a {
    background: center / contain no-repeat url("../images/top_2021/header_logo_pc.png");
    padding-top: 9.9rem;
    width: 27rem;
    margin-left: 8px;
  }

  .header-menu,
  .header-menu-close {
    display: none;
  }

  .header-nav {
    flex: 1;
  }

  .header-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .header-nav ul li {
    margin-left: 2rem;
  }

  .header-nav ul li.mypage {
    margin-left: 3.7rem;
  }

  .header-nav ul li.new-graduates {
    margin-left: 5.7rem;
  }

  .header-nav ul li.event {
    margin-left: 2.7rem;
  }

  .header-nav ul li.career,
  .header-nav ul li.graduated {
    margin-left: 0.3rem;
  }

  .header-nav ul li a {
    padding-top: 1.4rem;
    transition: opacity .2s;
  }

  .header-nav ul li:nth-child(1) a {
    background-image: url("../images/top_2021/txt_people.svg");
    width: 5.8rem;
  }

  .header-nav ul li:nth-child(2) a {
    background-image: url("../images/top_2021/txt_story.svg");
    width: 5.3rem;
  }

  .header-nav ul li:nth-child(3) a {
    background-image: url("../images/top_2021/txt_info.svg");
    width: 3.5rem;
  }

  .header-nav ul li:nth-child(4) a {
    background-image: url("../images/top_2021/txt_about.svg");
    width: 5.3rem;
  }

  .header-nav ul li:nth-child(5) a {
    background-image: url("../images/top_2021/txt_qa.svg");
    width: 3.4rem;
  }

  .header-nav ul li.mypage a {
    background-image: url("../images/top_2021/header_nav_mypage_black.svg");
    background-size: 7.1rem auto;
    border-radius: 1.5rem;
    padding-top: 4.2rem;
    width: 11.2rem;
    border: 1px solid;
  }

  .header-nav ul li.new-graduates a,
  .header-nav ul li.career a,
  .header-nav ul li.graduated a,
  .header-nav ul li.event a {
    background-color: #212121;
    background-size: 12.4rem;
    padding-top: 8.3rem;
    position: relative;
    margin-bottom: 1.2rem;
    width: 13.2rem;
  }

  .header-nav ul li.new-graduates a {
    background-image: url("../images/top_2021/header_nav_new-graduates_new.svg");
  }

  .header-nav ul li.career a {
    background-image: url("../images/top_2021/header_nav_career_new.svg");
  }

  .header-nav ul li.event a {
    background-image: url("../images/top_2021/header_nav_event.svg");
    background-size: contain;
    width: 16.1rem;
  }

  .header-nav ul li.graduated-from-27 a {
    background-image: url("../images/top_2021/header_nav_graduated_from_27.svg");
  }

  .header-nav ul li.graduated-from-28 a {
    background-image: url("../images/top_2021/header_nav_graduated_from_28.svg");
  }

  .header-nav ul li.new-graduates a:after,
  .header-nav ul li.career a:after,
  .header-nav ul li.graduated a:after,
  .header-nav ul li.event a:after {
    content: "";
    border-bottom: .8rem solid #fff;
    border-left: .8rem solid transparent; 
    position: absolute;
    bottom: .8rem;
    right: .4rem;
  }

  .header-nav ul li a:hover {
    opacity: .7;
  }

  /* Main ---------------------------------- */

  .main {
    padding-top: 8.2rem;
  }

}

@media ( max-width: 1260px ) {

  /* Document Setup ------------------------ */

  /* Helper Classes */

  .view-pc {
    display: none;
  }

  .view-sp {
    display: inline-block;
  }

  /* Header -------------------------------- */

  .header-inner {
    padding-top: 1.9rem;
    padding-bottom: 1.3rem;
  }

  .header-logo {
    /* Reset style.css */
    padding: 0;
    margin-right: 0;
  }

  .header-logo a {
    background: url("../images/top_2021/header_logo_sp.png") no-repeat;
    margin-left: .8rem;
    padding-top: 3.6rem;
    width: 20.2rem;
  }

  .header-menu {
    position: absolute;
    top: 2.5rem;
    right: 1.9rem;
    height: 2.3rem;
    width: 2.6rem;
    /* Reset style.css */
    display: block;
    overflow: hidden;
    background: #fff;
    padding: 0;
    box-sizing: revert;
  }

  .header-menu span {
    border: .1rem solid #808080;
    background: #000;
    position: absolute;
    right: 0;
    width: 2.4rem;
  }

  .header-menu span:nth-of-type(1) {
    height: 0.2rem;
    top: 0;
  }

  .header-menu span:nth-of-type(2) {
    height: 0.3rem;
    top: 0.8rem;
  }

  .header-menu span:nth-of-type(3) {
    bottom: 0;
    height: 0.4rem;
  }

  .header-nav {
    background: rgba(0,0,0,.8);
    position: fixed;
    top: 0;
    right: -21rem;
    height: 100%;
    width: 19rem;
    z-index: 12;
    transition: .4s;
    visibility: hidden;
  }

  .header-nav.is-open {
    visibility: visible;
    right: 0;
  }

  .header.animation .header-nav.is-open  {
    display: none;
  }

  .header-menu-close {
    opacity: 0;
    position: absolute;
    top: 2.2rem;
    right: 1.7rem;
    height: 2.7rem;
    width: 2.7rem;
  }

  .header-nav.is-open .header-menu-close {
    opacity: 1;
  }

  .header-menu-close span {
    background: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 0.4rem;
    width: 2.3rem;
  }

  .header-menu-close span:nth-of-type(1) {
    transform: rotate(45deg);
  }

  .header-menu-close span:nth-of-type(2) {
    transform: rotate(-45deg);
  }

  .header-nav ul {
    padding: 2.3rem 0rem 2rem;
  }

  .header-nav ul li {
    display: block;
    padding: 0 2.5rem;
    margin-bottom: 0.9rem;
    line-height: 1;
  }

  .header-nav ul li:nth-child(6) {
    border-top: .1rem solid #fff;
    margin: 0.8rem 3.5rem 0.6rem 2.5rem;
    padding: 1.6rem 0 0;
  }

  .header-nav ul li:nth-child(7) {
    margin-bottom: 1.8rem;
  }

  .header-nav ul li.mypage {
    margin-top: 1rem;
  }

  .header-nav ul li.new-graduates,
  .header-nav ul li.event {
    margin: 2.4rem 0 .3rem;
    padding: 0 .5rem;
  }

  .header-nav ul li.graduated {
    margin-bottom: 0.3rem;
    padding: 0 .5rem;
  }

  .header-nav ul li.career {
    padding: 0 .5rem;
  }

  .header-nav ul li a {
    padding-top: 2rem;
  }

  .header-nav ul li:nth-child(1) a {
    background-image: url("../images/top_2021/header_nav_people_white.svg");
    width: 5.1rem;
  }

  .header-nav ul li:nth-child(2) a {
    background-image: url("../images/top_2021/header_nav_story_white.svg");
    width: 4.6rem;
  }

  .header-nav ul li:nth-child(3) a {
    background-image: url("../images/top_2021/header_nav_info_white.svg");
    width: 3.1rem;
  }

  .header-nav ul li:nth-child(4) a {
    background-image: url("../images/top_2021/header_nav_about_white.svg");
    width: 4.7rem;
  }

  .header-nav ul li:nth-child(5) a {
    background-image: url("../images/top_2021/header_nav_qa_white.svg");
    width: 3rem;
  }

  .header-nav ul li:nth-child(6) a {
    background-image: url("../images/top_2021/header_nav_internship_white.svg");
    width: 8.6rem;
  }

  .header-nav ul li:nth-child(7) a {
    background-image: url("../images/top_2021/header_nav_specialcontent_white.svg");
    width: 13rem;
  }

  .header-nav ul li.mypage a {
    background-image: url("../images/top_2021/header_nav_mypage_white.svg");
    border: 1px solid #fff;
    background-size: 7rem auto;
    border-radius: 1rem;
    padding-top: 3.5rem;
    width: 15rem;
  }

  .header-nav ul li.new-graduates a,
  .header-nav ul li.career a,
  .header-nav ul li.graduated a,
  .header-nav ul li.event a {
    background-size: contain;
    background-color: #fff;
    display: block;
    padding-top: 4.9rem;
    position: relative;
    max-width: 17.6rem;
    line-height: 1.5;
  }

  .header-nav ul li.new-graduates a {
    background-image: url("../images/top_2021/header_nav_new-graduates_sp.svg");
  }

  .header-nav ul li.career a {
    background-image: url("../images/top_2021/header_nav_career_sp.svg");
  }

  .header-nav ul li.event a {
    background-image: url("../images/top_2021/header_nav_event_sp.svg");
  }

  .header-nav ul li.graduated-from-27 a {
    background-image: url("../images/top_2021/header_nav_graduated_from_27_sp.svg");
  }

  .header-nav ul li.graduated-from-28 a {
    background-image: url("../images/top_2021/header_nav_graduated_from_28_sp.svg");
  }

  .header-nav ul li.new-graduates a:after,
  .header-nav ul li.career a:after,
  .header-nav ul li.graduated a:after,
  .header-nav ul li.event a:after {
    content: "";
    border-bottom: .7rem solid #212121;
    border-left: .7rem solid transparent; 
    position: absolute;
    bottom: .6rem;
    right: .4rem;
  }

  /* Main ---------------------------------- */

  .main {
    padding-top: 7rem;
  }

}
