@charset "UTF-8";

#header {
	position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header {
  background-color: var(--color-white);
}

.header__wrapper {
  position: relative;
  padding: 10px;
}

.header__group {
  display: flex;
  align-items: center;
}

.header__logo img {
  width: 220px;
}

.header__logo a p {
  display: block;
  font-size: var(--f14-size);
  font-family: var(--font-mincho) ;
  color: var(--color-lightblue);
}

.header__logo a p span {
  margin-left: 0.2em;
  letter-spacing: 0.05em;
  font-family: var(--font-gothic);
  font-weight: bold;
  font-size: var(--f16-size);
}

.header__info {
  display: none;
}

.header__info > ul {
  display: flex;
}

/* ヘッダーメニュー */
.header-nav .logo-sp {
  width: 220px;
  margin-bottom: 10px;
  border: none;
}

.header-nav .logo-sp a {
  padding: 0;
}

.header-nav .logo-sp img {
  width: 100%;
}

.header-nav > ul {
  position: absolute;
  display: none;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0 auto;
  padding: 25px 40px 40px 40px;
  z-index: 1;
  background: var(--gradation1);
}

.header-nav > ul > li {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border-bottom: var(--color-white) 1px solid;
}

.header-nav > ul > li > ul {
  display: none;
}

.header-nav > ul > li a {
  display: block;
  width: 100%;
  padding: 15px 0 15px 15px;
  color: var(--color-white);
}

.header-nav > ul > li > ul > li,
.header-nav > ul > li > ul > li a {
  width: 100%;
}

.header-nav > ul > li p {
  margin: 0;
  padding: 15px;
  border-radius: 5px;
  color: var(--color-white);
  background-color: var(--color-darkred);
}

.header-nav .header-nav__item {
  position: relative;
  padding: 5px 20px;
}

.header-nav .header-nav__item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #FFF;
  border-right: 1px solid #FFF;
  -webkit-transform: rotate(45deg) translateX(-50%);
  transform: rotate(45deg) translateX(-50%);
}

/* ハンバーガーメニュー */
.header-nav-mobile {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 3.4em;
  height: 3.4em;
  z-index: 2;
}

.header-nav-mobile span {
  position: absolute;
  display: inline-block;
  transition: all .4s;
  width: 45%;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-blue);
  transform: translateX(-50%);
}

.header-nav-mobile span:nth-of-type(1) { top: 1.2em; }
.header-nav-mobile span:nth-of-type(2) { top: 1.6em; }
.header-nav-mobile span:nth-of-type(3) { top: 2em; }

.header-nav-mobile.active span:nth-of-type(1) {
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%) rotate(-45deg);
  background: var(--color-white);
}

.header-nav-mobile.active span:nth-of-type(2) {
  opacity: 0;
}

.header-nav-mobile.active span:nth-of-type(3){
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) rotate(45deg);
  background: var(--color-white);
}

/* アコーディオンボタン */
.menu-dropdown-icon {
  position: relative;
}

.menu-dropdown-icon::before {
  position: absolute;
  content: "";
  top: 28px;
	right: 5px;
	width: 10px;
	height: 10px;
	border-bottom: 2px solid var(--color-white);
	border-right: 2px solid var(--color-white);
  border-radius: 1px;
	transform: translateY(-50%) rotate(45deg);
  transition: 0.2s;
}

.menu-dropdown-icon.active::before {
  transform: translateY(-50%) rotate(-135deg);
	transition: 0.2s;
}

.header-nav .header-nav__title a[target=_blank] {
    padding-right: 20px;
    background: url(../images/blank_icon_white.png) right center/18px auto no-repeat;
}

/* ナビゲーションメニュー */
.header-nav > ul > li,
.header-nav > ul > li p,
.header-nav .header-nav__list ul li {
  font-size: var(--f18-size);
}

.header-nav .show-on-mobile {
  margin: 0 auto;
  max-height: calc(100vh - 3em);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.header-nav .show-on-mobile::-webkit-scrollbar{
  display: none;
}

.header-nav .header-nav__list {
  padding-bottom: 15px;
}

.header-nav .header-nav__list ul {
  padding: 15px 0;
}

.header-nav .header-nav__list ul li {
  margin-left: 1em;
  text-indent: -2em;
}

.header-nav .header-nav__list li a {
  margin: 0;
  padding: 0 0 0 15px;
}

.header__menu .entry-btn {
  position: absolute;
  top: 10px;
  right: 53px;
  display: inline-block;
  width: 80px;
  padding: 0.4em;
  font-weight: bold;
  text-align: center;
  background: var(--gradation1);
}

.header__menu .entry-btn a {
  display: block;
  color: var(--color-white);
}

/* リクルートボタン */
.recruit-link {
  display: flex;
}

.recruit-link li {
  width: calc(100% / 3);
  margin-left: 1px;
  font-size: var(--f15-size);
  text-align: center;
  background-color: var(--color-lightblue);
}

.recruit-link li:first-child { margin-left: 0; }

.recruit-link li a {
  display: block;
  padding: 0.5em 0;
  color: var(--color-white);
}

/* 480px〜（スマホ＆タブレット用）
---------------------------*/
@media (min-width: 480px) {
  .header__logo a p {
    display: inline-block;
    margin-left: 10px;
    font-size: var(--f12-size);
    line-height: 1.2;
  }

  .header__logo a p span {
    display: block;
    margin-left: 0;
    font-size: var(--f18-size);
  }
}

/* 〜767px（スマホ＆タブレット用）
---------------------------*/
@media (max-width: 767px) {

}

/* 768px〜（スマホ＆タブレット用）
---------------------------*/
@media (min-width: 768px) {
  .header__logo img {
    width: 240px;
  }

  .header-nav > ul {
    top: 3.8em;
  }

  .header__menu .entry-btn {
    width: 200px;
  }

  /* ヘッダーメニュー */
  .header-nav .logo-sp {
    display: none;
  }

  .header-nav-mobile.active span:nth-of-type(1),
  .header-nav-mobile.active span:nth-of-type(3) {
    background: var(--color-blue);
  }
}


/* 960px〜（タブレット＆PC用）
---------------------------*/
@media (min-width: 960px) {

  .header {
    background-color: var(--color-white);
    box-shadow: 0 0 5px var(--color-lightgray);
  }

  .header__wrapper {
    max-width: 1100px;
    min-width: 960px;
    margin: 0 auto;
    padding: 20px 0 0 0;
  }

  .header__group {
    padding: 0 10px 20px 10px;
  }

  .header__info {
    display: block;
    margin-left: auto;
  }

  .header__info ul li {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-left: 20px;
    font-size: var(--f14-size);
    vertical-align: middle;
  }

  .header__info ul li::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: var(--color-lightgray);
  }
  .header__info ul li::after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 3px;
    margin: auto;
    width: 5px;
    height: 5px;
    border-top: var(--color-gray) 1px solid;
    border-right: var(--color-gray) 1px solid;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  /* ヘッダーメニュー */
  .header__menu {
    display: flex;
    align-items: center;
    margin: 0 auto;
    background: var(--color-white);
  }

  .header__menu .header-nav {
    width: 900px;
  }

  .header-nav-mobile,
  .menu-dropdown-icon::before,
  .menu-dropdown-icon::after {
    display: none;
  }

  .header-nav > ul {
    position: relative;
    display: flex;
    justify-content: space-between;
    top: 0;
    padding: 0;
    background: none;
  }
  
  .header-nav > ul > li {
    position: static;
    background: none;
    border-bottom: none;
    background: none;
  }

  .header-nav > ul > li a {
    width: 100%;
    margin: 0;
    padding: 20px 0 0 0;
  }

  .header-nav > ul > li > a {
    display: block;
    padding: 0;
    font-weight: bold;
    color: var(--color-black);
  }

  .header-nav > ul > li > a:hover  {
    color: var(--color-pink);
    transition:all 0.4s ease;
  }

  .header-nav > ul > li p {
    margin: 0;
    padding: 0;
    font-weight: bold;
    border-radius: 0;
    background: none;
    color: var(--color-black);
  }
  
  .header-nav .header-nav__list {
    position: absolute;
    width: calc(100% * 2);
    padding: 20px;
    border-top: var(--color-white) 5px solid;
    background: var(--gradation1);
  }
  
  .header-nav .header-nav__list.open {
  }

  .header-nav .header-nav__list.close {
    display: none;
  }

  .header-nav .header-nav__item  {
    width: 100%;
  }

  .header-nav .header-nav__item a:hover  {
    opacity: 0.5;
    transition:all 0.4s ease;
  }

  .header-nav .header-nav__title {
    position: relative;
    width: calc(100% / 5);
    border-left: var(--color-lightgray) 1px solid;
  }

  .header-nav .header-nav__title a[target=_blank] {
    background: url(../images/blank_icon.png) right 40px center/14px auto no-repeat;
  }

  /* ナビゲーションメニュー */
  .header-nav > ul > li,
  .header-nav > ul > li p,
  .header-nav .header-nav__list ul li {
    text-align: center;
    font-size: var(--f16-size);
  }

  .header__menu .entry-btn {
    position: relative;
    top: 0;
    right: 0;
    display: block;
    padding: 5px 0;
}

.recruit-link {
    display: none;
}

}