@charset "utf-8";

/* ======================
header
====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease;
}
.header.is-scrolled {
  background-color: #fff;
  border-bottom-color: #000;
}
body:has(.sp__menu.active) .header {
  background: linear-gradient(
    to right,
    transparent 0,
    transparent calc((100vw - min(100vw, 1920px)) / 2 + clamp(0rem, 31.667vw, 38rem)),
    #446974 calc((100vw - min(100vw, 1920px)) / 2 + clamp(0rem, 31.667vw, 38rem)),
    #446974 100%
  );
  border-bottom-color: transparent;
}
.header__container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 49px;
  padding: 0 clamp(0.625rem, 0.208rem + 0.87vw, 1.25rem);
}
.header__logoLink {
  position: absolute;
  left: clamp(1.25rem, -1.894rem + 6.554vw, 5.969rem);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.header.is-scrolled .header__logoLink {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body:has(.sp__menu.active) .header__logoLink {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.header__left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__company {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: clamp(0.875rem, 0.661rem + 0.447vw, 1.188rem);
  line-height: 1;
  color: #000;
  white-space: nowrap;
}
.header__logo {
  width: clamp(3.75rem, 2.804rem + 1.97vw, 5.271rem);
  height: auto;
  object-fit: contain;
}
.hamBtn {
  position: relative;
  z-index: 1;
  width: clamp(4.063rem, 2.979rem + 2.26vw, 5.688rem);
  height: auto;
  object-fit: contain;
  cursor: pointer;
  pointer-events: auto;
  transition: filter 0.4s ease;
}
body:has(.sp__menu.active) .hamBtn {
  filter: brightness(0) invert(1);
}

/* ======================
sp-menu
====================== */
.sp__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 150;
  background-color: #446974;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  overflow-y: hidden;
  transition: transform 0.5s ease, visibility 0.5s;
}
.sp__menu.active {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sp__menu.active::-webkit-scrollbar {
  display: none;
}
.sp-menu__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
  min-height: 100%;
}
.sp-menu__container {
  display: flex;
  align-items: flex-start;
  min-height: 100svh;
}
.sp-menu__left {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  width: clamp(0rem, 31.667vw, 38rem);
  height: 100svh;
  overflow: hidden;
}
.sp-menu__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-menu__content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(6rem, 12vw, 10.5625rem) clamp(2.5rem, -1.5rem + 6.25vw, 6rem) clamp(2.5rem, -6.643rem + 14.29vw, 10.5rem) clamp(5rem, -13.286rem + 28.57vw, 21rem);
}
.sp-menu-content__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(3rem, 8vw, 8.125rem);
}

.sp-menu__logo {
  width: clamp(12rem, 18vw, 15rem);
}
.sp-menu__access {
      font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    margin-top: 30px;
  color: #fff;
}
.sp-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  max-width: 100%;
  font-size: clamp(1.125rem, 1rem + 0.26vw, 1.3125rem);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
    padding: 22px 40px;
    font-size: 18px;
  transition: all 0.3s;
}
.sp-menu__btn:hover {
      background-color: #fff;
    color: #446974;
}
.sp-menu__items {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 0.857rem + 1.79vw, 3rem);
}
.sp-menu__item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.sp-menu-item__icon {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
}
.sp-menu-item__text {
  font-size: clamp(1.125rem, 0.696rem + 0.67vw, 1.5rem);
  line-height: 1;
  color: #fff;
}

@media (max-width: 1023px) {
  .sp-menu__content {
        flex-direction: column;
    row-gap: 32px;
  }
  .sp-menu-content__right {
    padding-top: 0;
  }
}
  
@media (max-width: 767px) {
  body:has(.sp__menu.active) .header {
    background: #446974;
  }
  .sp-menu__left {
    display: none;
  }
  .sp-menu__content {
    flex-direction: column;
    padding: 96px clamp(1.25rem, -2.337rem + 15.31vw, 5rem) 40px;
  }
  .sp-menu-content__right {
    padding-top: 0;
  }
  .sp-menu__items {
    gap: 32px;
  }
}

@media (max-width: 374px) {
  .sp-menu__btn {
        padding-left: 20px;
    padding-right: 20px;
  }
}
