/* HEADER */

header {
 position: fixed;
 width: 100%;
 height: 80px;
 background: #fff;
 z-index: 1000;
 transition: top 0.3s ease;
 filter: drop-shadow(0 0 0.8rem rgba(0, 0, 0, 0.08));
}
header p {
 font-size: 0.6rem;
 white-space: nowrap;
}

header a:hover {
 opacity: 0.8;
}

header a.btn {
 display: flex;
 align-items: center;
 padding: 8px 24px;
 border-radius: 50px;
 background: #ff9845;
 color: #fff;
 white-space: nowrap;
}
header a.btn::before {
 content: "";
 width: 16px;
 height: 16px;
 background: url(../img/mail.svg);
 background-repeat: no-repeat;
 position: relative;
 left: -4px;
}
@media screen and (max-width: 767px) {
 header a.btn {
  margin-left: 8px;
 }
}

.header__logo img {
 margin-left: 0;
 margin-right: auto;
 padding: 16px;
 object-fit: contain;
}

.header__inner {
 display: flex;
 justify-content: space-between;
 width: 100%;
 height: 80px;
 margin: 0 auto;
}
.header__inner-left {
 flex-basis: 24%;
 display: flex;
 align-items: center;
}
.header__inner-right {
 display: flex;
 align-items: center;
}
.header__inner-right ul {
 margin: 0 0 0 auto;
}

/* SP MENU */

.menu {
 display: block;
 position: absolute;
 top: 50%;
 right: 24px;
 translate: 0 -50%;
 width: 28px;
 height: 11px;
 z-index: 10;
}

.menu span {
 position: absolute;
 left: 0;
 width: 100%;
 height: 2px;
 background: #444;
 z-index: 10;
}

.menu span:nth-of-type(1) {
 top: 0px;
}

.menu span:nth-of-type(2) {
 bottom: 0px;
}

.menu.active span:nth-of-type(1) {
 top: 5px;
 left: -1px;
 width: 30px;
 rotate: 45deg;
}

.menu.active span:nth-of-type(2) {
 top: 5px;
 left: -1px;
 width: 30px;
 rotate: -45deg;
}

#nav {
 position: fixed;
 top: 0;
 left: 0;
 z-index: 5;
 width: 100%;
 height: 100vh;
 opacity: 0;
 background-color: rgba(255, 255, 255, 0.9);
 transition: all 0.3s ease-in-out;
 visibility: hidden;
}

#nav.active {
 opacity: 1;
 visibility: visible;
}

.nav__inner {
 display: flex;
 justify-content: center;
 align-items: center;
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
.nav__inner ul {
 flex-basis: 80%;
 text-align: center;
}

.nav__inner ul li {
 transition: all 0.2s ease-in-out;
 line-height: 3;
}

.nav__inner ul li a {
 display: block;
 margin: 0 0 16px;
 border: 1px solid;
}
.nav__inner ul li a:hover,
.nav__inner ul li a:active {
 background: #0099d6;
 color: #fff;
}

@media screen and (min-width: 1024px) {
 .menu {
  display: none;
 }
}

@media screen and (max-width: 1023px) {
 header {
  height: 64px;
 }
 .header__inner {
  height: 64px;
 }
 .header__menu.pc {
  display: none;
 }
 .header__logo img {
  height: 64px;
  padding: 8px;
 }
 .header__inner-left {
  flex-basis: 100%;
 }
 .header__inner-left a {
  flex-basis: 80px;
 }
 .header__inner-right {
  display: none;
 }
}
/*
header .active a {
 color: #83c757;
}
*/
