@charset "utf-8";

/* ===== header ====== */

.header {
  box-shadow: 0px 3px 6px rgba(0, 0, 0,  16%);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 5.2%;
}

.header__logo-s {
  width: 130px;
  height: 45px;
}

.header__logo {
  width: 100%;
  height: 100%;
}

@media (min-width: 1040px) {
  .header__logo-s:hover {
    transition: all .3s;
    opacity: 0.7;
  }
}

.nav__list {
  display: flex;
}

.nav__item {
  margin-left: 50px;
}

.nav__item:last-of-type {
  background-color: #f1982c;
}

.nav__link {
  display: inline-block;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1.5rem;
  padding-bottom: 12px;
  margin-top: 12px;
}

.nav__item:last-of-type a {
  color: #fff;
  font-family: brother-1816, sans-serif;
  font-weight: 500;
  font-style: normal;
  padding: 10px 56px;
  height: 40px;
  margin-top: 0;
  font-size: 2rem;
}

@media (min-width: 1079px) {
.nav__link:hover {
  border-bottom: 2px solid #005497;
  padding-bottom: 10px;
}

.nav__link.nav__link--entry:hover {
  border-bottom: none;
  padding-bottom: 0;
  opacity: 0.7;
  transition: all .3s;
}

@media (max-width: 1299px) {
  .nav__item {
    margin-left: 30px;
  }

  .nav__link {
    font-size: 1.4rem;
  }

  .nav__item:last-of-type a {
    padding: 10px 40px;
    font-size: 1.8rem;
  }
}

}

.nav__link-sp {
  display: none;
}

/* ----- burger-btn ----- */

.burger-btn {
  display: none;
}

/* ==========================================
/* tablet
/* ========================================== */

@media (max-width: 1079px) {

/* ===== header ====== */

.header {
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 99;
  transition: all .3s;
}

.header.shadow {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 16%);
  transition: all .3s;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 10px;
  height: 58px;
}

.header__logo-s {
  width: 100px;
  height: 34px;
}

.nav__header {
  display: block!important;
  position: fixed;
  top: 58px;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 10;
  background-color: #fff;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all .3s;
}

.nav__header.open {
  opacity: 1;
  height: auto;
  overflow: auto;
  transition: all .3s;
  padding-bottom: 30px;
}

.nav__list {
  display: flex;
  flex-direction: column;
  margin: 50px 9.8% 0!important;
}

.nav__item {
  margin-left: 0;
  border-top: 1px solid #005497;
  position: relative;
}

.nav__item:nth-of-type(5) {
  border-bottom: 1px solid #005497;
}

.nav__item:last-of-type {
  display: none;
}

.nav__item:nth-of-type(-n+5)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #1a1a1a;
}

.nav__link {
  font-size: 1.5rem;
  padding: 23px 0;
  margin-top: 0;
  width: 100%;
  position: relative;
}

.nav__link-sp {
  display: inline-block;
  margin-left: auto;
  color: #fff;
  font-family: brother-1816, sans-serif;
  font-weight: 500;
  font-style: normal;
  padding: 0 20px;
  font-size: 1.4rem;
  background-color: #f1982c;
  height: 47px;
  line-height: 47px;
  margin: 0 -2px 0 auto;
  align-self: flex-end;
}

/* ----- burger-btn ----- */

.burger-btn {
  display: block;
  padding: 14px 10px;
  /* position: fixed;
  top: 0;
  right: 0; */
  z-index: 11;
  background-color: #1a1a1a;
  margin-bottom: 0px;
  align-self: flex-end;
}

.bar {
  display: block;
  margin: 0 auto;
  width: 25px;
  height: 1px;
  background-color: #fff;
  color: #fff;
  transition: all 0.3s;
}

.bar-top {
  margin-bottom: 8px;
}

.bar-bot {
  margin-top: 8px;
}

.bar.bar-top.open {
  transform: translateY(9px) rotate(45deg);
}

.bar.bar-mid.open {
  opacity: 0;
}

.bar.bar-bot.open {
  transform: translateY(-9px) rotate(-45deg);
}

}

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

.nav__list {
  margin: 0 40px 0 0;
}

.header_sns a {
  display: inline-block;
  margin: 0 8px 0 0;
}
.header_sns a:last-child {
  margin-right: 0;
}

@media (max-width: 1079px) {
  .header_sns {
    margin: 20px 0 0;
    text-align: center;
  }

  .header_sns a img {
    width: 35px;
    height: auto;
  }
}


/* ==========================================
/* sp
/* ========================================== */

@media (max-width: 767px) {

  .nav__link {
    font-size: 1.2rem;
  }

}
