a {
  color: white;
  text-decoration: none;
  width: 100%;
}

.header-logo {
  width: fit-content;
  z-index: 3;
}

.header-logo-image {
  width: 162px;
}

/*チェックボックスを非表示*/
.toggle {
  display: none;
}

/*文章を非表示にする*/

.language-list {
  position: absolute;
  top: 88px;
  right: 0;
  padding: 0;
  background-color: black;
  box-shadow: 1px 1px 1px #3c3c3c;
  max-height: 0;
  overflow: hidden;
}

.language-list .sp-menu {
  display: none;
}

/*クリックすると要素が開く*/
.toggle:checked + .language-chevron + .language-list {
  max-height: 500px;
  padding: 16px 16px 16px 12px;
  transition: padding-bottom 0.1s;
  z-index: 99;
  margin-right: 16px;
  margin-top: -26px;
}

.section-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 88px;
  background-color: black;
  display: inline-flex;
  justify-content: center;
  z-index: 11;
}

.language-selector {
  display: inline-flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 88px;
  max-width: 1280px;
  justify-content: space-between;
  z-index: 12;
  background-color: black;
}

.language-chevron {
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
  margin-right: 16px;
}

.lang-selected {
  margin-right: 8px;
  font-size: 16px;
}

.lang-list {
  font-size: 16px;
  margin-bottom: 4px;
}

.lang-list:hover {
  background-color: #3c3c3c;
}

.menu-icon-pc {
  display: inline-flex;
}

.menu-icon-sp {
  display: none;
}

@media only screen and (max-width: 999px) {
  .menu-icon-pc {
    display: none;
  }

  .menu-icon-sp {
    display: inline-flex;
    width: 32px;
    height: 32px;
    position: relative;
  }

  /*
		.toggle:checked + .menu-icon-sp::before {
				content: url("../images/menu-open.svg");
		}
		*/

  .lang-selected {
    display: none;
  }

  .section-header {
    height: 60px;
  }

  .language-selector {
    height: 60px;
  }

  .language-list {
    top: 60px;
  }

  .language-list a {
    margin-left: -16px;
  }

  .header-logo {
    margin-left: 16px;
  }

  .header-logo-image {
    width: 107px;
  }

  /*クリックすると要素が開く*/
  .toggle:checked + .language-chevron + .language-list {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    right: 0;
    left: 0;
    padding: 0 16px;
    transition: padding-bottom 0.1s;
    z-index: 99;
    overflow: hidden;
    position: fixed;
    padding-top: 20px;
    margin-top: 0;
  }

  .language-list a:not(.sp-menu) {
    display: none;
  }

  .language-list .sp-menu {
    display: block;
  }

  select.sp-menu {
    border: 0;
    background-color: #000;
    color: #fff;
    margin: 10px auto;
    font-size: 16px;
    font-family: "Noto Serif JP", "Noto Serif", serif;
    width: 170px;
    background-position: 90px 18px;
    padding: 0 5px;
  }

  .lang-list {
    width: 100%;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .toggle:checked ~ .language-chevron .menu-close {
    opacity: 1;
  }

  .toggle:not(:checked) ~ .language-chevron .menu-open {
    opacity: 1;
  }

  .menu-open,
  .menu-close {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    transition: 0.4s;
  }

  .header-menu {
    display: none;
  }
  
  .header-link {
    gap: 30px;
    border-right: 1px solid #ffffff;
    height: 30px;
    margin-left: auto;
    margin-right: 10px;
    padding-right: 30px;
  }

  .header-link a img {
    height: 18px;
  }

  .page-wrapper {
    margin: 64px 16px 0 16px;
  }

  .title-image-pc video {
    top: clamp(-50vh, calc(((100vw / (16 / 9) - 100vh) / 2) * -1), 60px);
  }
}
