/* ============================================ */
/* header
/* ============================================ */
#header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 990;
  padding: 25px 0;
}
#header .inner {
  max-width: 95%;
  width: 95%;
}
#header .h-logo {
  max-width: 430px;
  width: 100%;
}
#header .h-logo img {
  max-width: 300px;
  width: 100%;
}
#header .h-logo p {
  display: inline-block;
  padding: 2px 20px;
  text-align: center;
  font-size: 13px;
  color: #fff;
  background-color: #256FD5;
  border-radius: 50px;
}

#menu-toggle {
  position: fixed;
  display: block;
  width: 50px;
  cursor: pointer;
  z-index: 9999;
  font-weight: 600;
  padding: 20px 0 0;
  right: 10px;
}
#menu-toggle .line-wrap {
  position: relative;
  width: 100%;
  height: 40px;
}
#menu-toggle .line-wrap span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 80%;
  height: 1px;
  background-color: #000;
  transition: all 0.5s;
}
#menu-toggle .line-wrap span:nth-child(2) {
  top: 7px;
}
#menu-toggle .line-wrap span:nth-child(3) {
  top: 14px;
}
#menu-toggle .line-wrap::after {
  position: absolute;
  content: "MENU";
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 1px;
  transition: all 0.5s;
}
#menu-toggle.active .line-wrap span {
  background-color: #fff;
}
#menu-toggle.active .line-wrap span:nth-child(1) {
  top: 10px;
  transform: rotate(-25deg);
}
#menu-toggle.active .line-wrap span:nth-child(2) {
  opacity: 0;
}
#menu-toggle.active .line-wrap span:nth-child(3) {
  top: 10px;
  transform: rotate(25deg);
}
#menu-toggle.active .line-wrap::after {
  content: "CLOSE";
  color: #fff;
}

#menu {
  position: fixed;
  top: 0;
  right: -70px;
  height: 100vh;
  width: 70px;
  background-color: #000;
  opacity: 1;
  transition: all 0.3s;
  z-index: 99;
}
#menu .menu-wrap {
  height: calc(100% - 140px);
}
#menu .menu-list {
  padding: 70px 0 0;
  height: 100%;
}
#menu .menu-list .menu-item {
  position: relative;
  display: block;
  transform-origin: center;
  height: 16%;
}
#menu .menu-list .menu-item.item02 {
  height: 20%;
}
#menu .menu-list .menu-item.item04 {
  height: 13%;
}
#menu .menu-list .menu-item a {
  display: inline-block;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  font-size: 12px;
  color: #FFF;
}
#menu .menu-list .menu-item a span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  white-space: nowrap;
  font-weight: 600;
  transition: all 0.5s;
}
#menu .menu-list .menu-item a .jp {
  opacity: 0;
}
#menu.open {
  right: 0px;
}

.external-nav {
  position: fixed;
  z-index: 100;
}
.external-nav .toggle-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  height: 140px;
  text-align: center;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  color: #fff;
  background-color: #256FD5;
  font-weight: 600;
  font-size: 20px;
  padding: 20px 20px 40px 20px;
  z-index: 100;
  cursor: pointer;
}
.external-nav .link-list {
  position: fixed;
  right: 0;
  bottom: 0;
  color: #fff;
  height: 140px;
  width: 250px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  padding: 20px 80px 20px 30px;
  opacity: 0;
  transform: translateX(100%);
  visibility: hidden;
  background-color: #256FD5;
  transition: 0.25s ease-out 0.25s;
}
.external-nav .link-list .link-item {
  width: 100%;
  margin: 10px 0;
}
.external-nav .link-list .link-item a .line-anime {
  color: #fff;
  font-size: 14px;
  padding: 0 0 5px;
  font-weight: 500;
  letter-spacing: 1.5px;
}
.external-nav .link-list .link-item a .line-anime::before, .external-nav .link-list .link-item a .line-anime::after {
  background-color: #fff;
}
.external-nav.is-open {
  block-size: auto;
}
.external-nav.is-open .link-list {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

@media (hover: hover) {
  #menu .menu-list .menu-item a:hover .eng {
    opacity: 0;
  }
  #menu .menu-list .menu-item a:hover .jp {
    opacity: 1;
  }
}
@media screen and (max-height: 670px) {
  #menu .menu-wrap {
    height: calc(100% - 100px);
  }
  #menu .menu-list .menu-item a {
    font-size: 10px;
    letter-spacing: 0;
  }
  .external-nav .toggle-btn {
    height: 100px;
    font-size: 16px;
    padding: 10px 23px 10px 23px;
  }
  .external-nav .link-list {
    height: 100px;
  }
  .external-nav .link-list .link-item {
    margin: 5px 0;
  }
}
@media screen and (max-width: 768px) {
  #header {
    background-color: #fff;
    padding: 10px 0;
  }
  #header .h-logo {
    max-width: 100%;
    width: calc(100% - 80px);
    display: block;
  }
  #header .h-logo img {
    max-width: 350px;
    width: 100%;
  }
  #header .h-logo p {
    display: block;
    margin: 5px 0 0;
    width: 150px;
  }
  #menu-toggle.active .line-wrap span {
    background-color: #000;
  }
  #menu-toggle.active .line-wrap::after {
    color: #000;
  }
  #menu {
    right: -100%;
    width: 100%;
  }
  #menu .menu-wrap {
    height: 100%;
    padding: 75px 0 0;
    overflow-y: auto;
  }
  #menu .menu-list {
    position: inherit;
    height: auto;
    padding: 50px 0;
    opacity: 0;
    transition: all 0.5s;
  }
  #menu .menu-list .menu-item {
    width: 85%;
    margin: auto;
    height: auto !important;
    border-bottom: solid 1px #fff;
  }
  #menu .menu-list .menu-item:first-of-type {
    border-top: solid 1px #fff;
  }
  #menu .menu-list .menu-item a {
    position: relative;
    display: block;
    writing-mode: horizontal-tb;
    -ms-writing-mode: rl-tb;
    padding: 15px 50px 15px 0;
    width: 100%;
    margin: auto;
  }
  #menu .menu-list .menu-item a::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 15px;
    transform: translate(0%, -50%);
    width: 12px;
    height: 15px;
    background-color: #fff;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    transition: all 0.5s;
  }
  #menu .menu-list .menu-item a span {
    position: relative;
    left: 0;
    top: 0;
    transform: translate(0%, 0%);
  }
  #menu .menu-list .menu-item a .eng {
    font-size: 20px;
  }
  #menu .menu-list .menu-item a .jp {
    font-size: 13px;
    opacity: 1;
  }
  #menu.open {
    right: 0;
  }
  #menu.open .menu-list {
    opacity: 1;
  }
  .external-nav {
    bottom: 0;
    height: 55px;
    width: 100%;
    z-index: 95;
  }
  .external-nav .toggle-btn {
    position: relative;
    display: flex;
    align-items: center;
    height: 55px;
    font-size: 16px;
    padding: 0 7.5%;
    writing-mode: horizontal-tb;
    -ms-writing-mode: rl-tb;
    z-index: 1;
  }
  .external-nav .toggle-btn::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 7%;
    transform: translate(0%, -50%);
    width: 10px;
    height: 8px;
    background-color: #fff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transition: all 0.5s;
  }
  .external-nav .link-list {
    position: absolute;
    bottom: 100%;
    height: auto;
    width: 100%;
    display: block;
    padding: 20px 7.5%;
    visibility: hidden;
    transform-origin: center bottom;
    transform: scale(1, 0);
  }
  .external-nav .link-list .link-item {
    width: 100%;
    margin: 0;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transform: translate(0, 20px);
    transition: 0.25s ease-out 0.25s;
  }
  .external-nav .link-list .link-item:nth-of-type(2) {
    margin: 10px 0 0;
  }
  .external-nav.is-open .link-list {
    height: auto;
    opacity: 1;
    visibility: visible;
    transform: scale(1, 1);
  }
  .external-nav.is-open .link-list .link-item {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
  }
  .external-nav.is-open .toggle-btn::after {
    transform: translate(0%, -50%) rotate(180deg);
  }
}
@media screen and (max-width: 600px) {
  #menu .menu-list .menu-item a {
    padding: 10px 30px 10px 0;
  }
  #menu .menu-list .menu-item a::after {
    width: 8px;
    height: 10px;
  }
  #menu .menu-list .menu-item a .eng {
    font-size: 16px;
  }
  #menu .menu-list .menu-item a .jp {
    font-size: 12px;
  }
}
@media screen and (max-width: 350px) {
  #menu .menu-list {
    padding: 30px 0;
  }
  #menu .menu-list .menu-item {
    width: 90%;
  }
  #menu-toggle {
    padding: 15px 0 0;
  }
  .external-nav .toggle-btn {
    font-size: 14px;
    padding: 0 5%;
  }
  .external-nav .toggle-btn::after {
    right: 5%;
  }
  .external-nav .link-list {
    padding: 15px 5%;
  }
  .external-nav .link-list .link-item a .line-anime {
    font-size: 13px;
    padding: 0 0 3px;
  }
  .external-nav .link-list .link-item:nth-of-type(2) {
    margin: 5px 0 0;
  }
}/*# sourceMappingURL=header.css.map */