@charset "UTF-8";

/* modal */
#inline {
  display: none;
}

.inner_modal {
  display: -webkit-flex;
  display: flex;
}

/* header */
header {
  display: -webkit-flex;
  -webkit-align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding: 0 20px;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

header .logo_header {
  width: 190px;
}

header .menu_header>ul {
  display: -webkit-flex;
  -webkit-align-items: center;
  display: flex;
  align-items: center;
}

header .each_menu {
  margin-right: 32px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

header .each_menu:nth-last-of-type(2) {
  margin-right: 16px;
}

header .each_menu:last-of-type {
  margin-right: 0px;
}

header .each_menu>a {
  font-size: 15px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

header .each_menu:hover>a {
  color: #1EAEFF;
}

header .each_menu>input {
  display: none;
}

/* hamburger menu */
header #togglenav:checked~.drawer {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

header #togglenav:checked~.togglenav-bg {
  pointer-events: auto;
  background-color: rgba(255, 255, 255, .8);
}

header #drawer-icon {
  background-size: contain;
}

header .icon_ask {
  cursor: pointer;
  background-image: url(../img/new/icon_ask.svg);
  background-size: 38px auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1000;
  width: 38px;
  height: 38px;
}

header #drawer-icon {
  cursor: pointer;
  background-image: url(../img/new/icon_menu.svg);
  background-size: 38px auto;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1000;
  width: 38px;
  height: 38px;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-justify-content: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header .togglenav-bg {
  cursor: pointer;
  display: block;
  position: fixed;
  top: 0px;
  right: 0px;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: background-color .3s;
}

header .drawer {
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-justify-content: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  -webkit-transform: translateX(125%);
  transform: translateX(125%);
  -webkit-transition: -webkit-transform .5s;
  transition: transform .5s;
}

header .drawer .drawer-menu {
  padding: 0;
}

header .drawer .drawer-menu .drawer-menu-item {
  margin-bottom: 24px;
  display: -webkit-flex;
  -webkit-justify-content: center;
  display: flex;
  justify-content: center;
}

header .drawer .drawer-menu .drawer-menu-item:last-of-type {
  margin-bottom: 0;
}

header .drawer .drawer-menu .drawer-menu-item a {
  cursor: pointer;
}

header .twitter_menu_sp_header {
  text-align: center;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-flex-direction: column;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 40px auto 0;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

header .fa-twitter {
  color: #1DA1F2;
  font-size: 20px;
}

header .menu_footer ul {
  -webkit-flex-direction: column;
  -webkit-justify-content: center;
  flex-direction: column;
  justify-content: center;
}

header .sub_menu_sp_header {
  margin-top: 40px;
}

header .each_menu_footer {
  display: -webkit-flex;
  -webkit-justify-content: center;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

header .each_menu_footer:last-child {
  margin: 0;
}

header .logo_menu_sp_header {
  width: 240px;
  margin: 0 auto 56px;
}

header .inner_close_header {
  width: 70px;
  height: 70px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70px;
  position: absolute;
  top: 0;
  left: -70px;
  cursor: pointer;
}


/*---------------------------------------------------------------*\
$1000px
\*---------------------------------------------------------------*/
@media screen and (max-width: 1000px) {

  /* header */
  header {
    height: 56px;
  }

  header .logo_header {
    width: 150px;
  }

  header .pc_menu {
    display: none;
  }

  /* hamburger menu */
  header .inner_close_header {
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
    position: absolute;
    top: 0;
    left: -50px;
    cursor: pointer;
  }
}

/*---------------------------------------------------------------*\
$600px
\*---------------------------------------------------------------*/
@media screen and (max-width: 600px) {

  /* modal */
  .inner_modal {
    display: block;
  }

  /* header */
  header {
    padding: 0 16px;
  }

  header .drawer {
    width: 280px;
  }

  header .each_menu:nth-last-of-type(2) {
    margin-right: 10px;
  }

  /* hamburger menu */
  header .logo_menu_sp_header {
    width: 220px;
  }
}
