@charset "utf-8";

body.is-checked {
  overflow: hidden;
}
.header__overlay {
    background: rgba(61, 61, 61, 0.22);
    cursor: pointer;
    height: 100vh;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: opacity 0.6s, visibility 0.6s;
    visibility: hidden;
    width: 100%;
    z-index: 60;
 }
.header__overlay.is-checked {
  opacity: 0.8;
  visibility: visible;
}

.header {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(1266 / 1366 * 100vw);
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  z-index: 9999;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px 5px 20px;
}

.header__logo {
  aspect-ratio: 177 / 47;
  width: 140px;
  height: auto;
  transition: opacity 0.3s;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: 177px;
  }
}

.header__logo:hover {
  opacity: 0.7;
}

.header__nav {
  display: none !important;
}
@media screen and (min-width: 1300px) {
  .header__nav {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
  }
  .header__open {
    display: block;
    width: 50px;
    height: 40px;
    position: relative;
    z-index: 51;
    margin-left: auto;
  }
}

.header__link {
  padding-inline: 17px;
  border-right: 1px dotted #898989;
  text-align: center;
  font-size: 14px;
  line-height: 1;
}
.header__link.--last  {
  border-right: none;
}
.header__link p{
  border-bottom: 1px solid transparent;
  transition: filter .5s;
}
.header__link:hover p{
  filter: drop-shadow(0 0 5px #385492);
}

.header__btn {
  border: 0.5px solid #fff;
  border-radius: 40px;
  padding: 14px 40px 16px 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 1;
  width: fit-content;
  margin-left: 15px;
}

.header__open {
  margin-left: 11px !important;
  display: block;
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 51;
  margin-left: auto;
  cursor: pointer;
  flex-shrink: 0;
}
.header__open:hover {
  opacity: 0.6;
}

.header__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 21px;
  height: 2px;
  border-radius: 5px;
  background: #283B54;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__bar:nth-of-type(1){
    top: 14.5px;
}
.header__bar:nth-of-type(2){
    top: 23px;
}
.header__bar:nth-of-type(3){
    top: 32px;
}
.header__open.is-checked > .header__bar {
    background: #3E4C59;
}
.header__open.is-checked > .header__bar:nth-of-type(1) {
    top: 30px;
    transform: rotate(45deg) translateX(-50%);
    left: 45%;
}
.header__open.is-checked > .header__bar:nth-of-type(2) {
    display: none;
}
.header__open.is-checked > .header__bar:nth-of-type(3) {
    top: 15px;
    transform: rotate(-45deg) translateX(-50%);
    left: 45%;
}

.header__open-text {
  position: absolute;
  bottom: 10px;
  left: 52%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1;
  color: #283B54;
  width: max-content;
}
.header__open.is-checked > .header__open-text {
  color: #3E4C59;
}


.header__content {
  width: 100%;
  max-width: 460px;
  height: 0;
  top: 60px;
  right: 0;
  padding: 0;
  background: #fff;
  position: absolute;
  overflow-y: scroll;
  opacity: 0;
  transition: all 0.5s;
}
.header__content.is-checked {
  height: 100vh;
  height: 100dvh;
  padding: 50px 50px 150px;
  opacity: 1;
}

.header__content-menu {
  display: flex;
  flex-direction: column;
}

.header__content-link {
  color: #3E4C59 !important;
  font-size: 14px;
  padding-block: 20px;
  border-bottom: 1px dotted #898989;
  text-align: center;
}
.header__content-link:hover {
  background: #e0e0e0;
}

.header__content-btn {
  margin-top: 35px;
  margin-inline: auto;
}
.header__content-btn + .header__content-btn {
  margin-top: 20px;
}

.sp-nav-banner{
  display:none !important;
}
@media screen and (max-width: 768px) {
  .sp-nav-banner{
    display:flex !important;
    z-index:9999 !important;
  }
  .c3393 {
    max-width:28px !important;
  }
  .c3674 {
    font-size:13px !important;
  }
}