
:root {
  --sub-txt-color: #999999;
}

html {
  /* position: relative; */
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #000;
  font-weight: 400;
  /* z-index: 1; */
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  background-color: white;
}

.layout-container {
  max-width: 1366px;
  margin: auto;
  padding: 0 5rem;
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  html {
    font-size: 0.8333vw;
  }
}

/* ～767px → 750px 等倍 */
@media screen and (max-width: 767px) {
  html {
    font-size: 2.666vw;
    /* 10 / 750 * 100 */
  }

  .layout-container {
    width: 100%;
    padding: 0 3rem;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 4.6rem;
  letter-spacing: 0.2rem;
  padding-bottom: 2rem;
}

.sp_only {
  display: none !important;
}

@media screen and (max-width:767px) {
  h1 {
    font-size: 2.0rem;
    line-height: 3.2rem;
    padding-bottom: 2rem;
  }

  .pc_only {
    display: none !important;
  }

  .sp_only {
    display: block !important;
  }
}

/* ========== splide ========== */
.splide__pagination {
  bottom: 1.25em;
}

.splide__pagination__page {
  margin: 0 0.8rem;
  opacity: 0.8;
  background-color: #fff;
}

.splide__pagination__page.is-active {
  background-color: transparent;
  border: 2px solid #fff;
  transform: scale(2.2);
}


/* ========== header ========== */
.header {
  width: 100vw;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition-duration: .3s;
  mix-blend-mode: exclusion;
  /* mix-blend-mode: difference; */
  filter: invert(1);
}

.header.active {
  mix-blend-mode: unset;
  filter: invert(0);
}

.header.is_scroll {
  padding: 2rem;
}

.header .header__logo {
  width: 20rem;
  z-index: 20;
}

.header .header__logo.is_scroll {
  width: 15rem;
}


/* メニューボタン */
/* .layout-container:has(.menu-overlay.active) .header .header__logo {
  color: #000;
}

.layout-container:has(.menu-overlay.active) .header {
  mix-blend-mode: initial;
  color: #000;
}

.layout-container:has(.menu-overlay.active) .menu-button .menu-line span {
  background-color: #000;
}

.menu-button {
  cursor: pointer;
  display: flex;
  transition: all 0.3s ease;
  width: 3.6rem;
  height: 3.6rem;
}

.menu-button .menu-line {
  margin-left: 0.8rem;
  position: relative;
  width: 100%;
  height: 100%;
}

.menu-button .menu-line span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.15rem;
  background-color: #000;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.menu-line span:nth-child(1) {
    top: 2rem;
    left: .5rem;
    width: 66.67%;
}

.menu-line span:nth-child(2) {
    top: 1rem;
    width: 100%;
}

.menu-line span:nth-child(3) {
    bottom: 0;
    left: .5rem;
    width: 66.67%;
}

.menu-button {
  transform: rotate(-222deg);
}
.menu-button.active {
  transform: rotate(0deg)
}
.menu-button.active .menu-line span:nth-child(1) {
  top: 2.6rem;
  width: 100%;
  transform: rotate(45deg);
}

.menu-button.active .menu-line span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-button.active .menu-line span:nth-child(3) {
  top: 2.6rem;
  width: 100%;
  transform: rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 2rem;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transform: translateY(100%);
  transition: transform 0.6s ease-in-out;
  z-index: 1;
}

.menu-overlay.active::after {
  transform: translateY(0);
}

.menu-overlay.after-hidden::after {
  transform: translateY(100%);
} */


.hamburger-overlay {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 4.8rem;
  height: 4.8rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all .5s;
  transform: rotate(145deg);
  z-index: 20;
}
.hamburger-overlay.is_scroll {
  top: 1rem;
}
.hamburger-overlay.active {
  transform: rotate(0);
}
.hamburger-overlay__line {
  position: absolute;
  left: 1rem;
  width: 1.8rem;
  height: .2rem;
  background-color: #333;
  transition: all .5s;
}

.hamburger-overlay__line:nth-of-type(1) {
  top: 1.4rem;
}
.hamburger-overlay__line:nth-of-type(2) {
  top: 2.3rem;
  left: 0.2rem;
  width: 3.6rem;
  transition: all .2s;
}
.hamburger-overlay__line:nth-of-type(3) {
  top: 3.2rem;
}

.hamburger-overlay.active .hamburger-overlay__line {
  width: 3.6rem;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(.9rem) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-.9rem) rotate(45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}








/* メニュー項目 */
.menu-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.menu__nav-main {
  display: flex;
  gap: 8rem;
}

.menu-nav a {
  font-family: "Oswald", sans-serif;
  text-decoration: none;
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
  display: block;
}

.menu-nav a:hover {
  opacity: 0.7;
}

/* menu active */
.menu__nav-main li {
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.5s ease;
}

.menu-overlay.active .menu__nav-main li {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.active .menu__nav-main li:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-overlay.active .menu__nav-main li:nth-child(2) {
  transition-delay: 0.2s;
}

.menu-overlay.active .menu__nav-main li:nth-child(3) {
  transition-delay: 0.3s;
}

.menu__footer {
  position: fixed;
  bottom: 0;
  z-index: 2;
}

.menu__footer p {
  padding: 2rem;
  font-size: 1.2rem;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .header .header__logo {
    width: 13rem;
  }

  .header .header__logo.is_scroll {
    width: 10rem;
  }

  .hamburger-overlay {
    top: 2.5rem;
  }

  .menu__nav-main {
    flex-direction: column;
    gap: 5rem;
  }

  .menu-nav {
    justify-content: flex-start;
    padding-left: 6rem;
  }

  .menu-nav a {
    letter-spacing: 0.5rem;
  }

  .menu-overlay::after {
    top: 4.8%;
    left: 98.1%;
  }
}


/* ========== footer ========== */
.footer {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .1em;
  padding: 3rem;
  width: 100vw;
}


@media screen and (min-width: 768px) {
  .footer {
    height: 7rem;
  }
}


@media screen and (max-width: 767px) {
  .footer {
    padding: 3rem;
  }
}


/* ============ info table ============ */
.info-table__list {
  padding: 6rem 0;
}

.info-table__item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1rem 0;
  flex-wrap: wrap;
  font-size: 1.2rem;
  line-height: 2em;
}

.info-table__item dt {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  flex-shrink: 0;
  width: 12rem;
}

.info-table__item dd {
  flex: 1;
}

.info-table__item .info-table__item--underline {
  display: inline;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .info-table__list {
    padding: 5rem 0;
  }

  .info-table__item {
    flex-direction: column;
    gap: 0;
  }

  .info-table__item dt {
    width: auto;
    margin-bottom: 0.3rem;
  }
}
