/* Commons */

@font-face {
  font-family: "didot bold";
  src: url("/fonts/Didot_Bold.otf");
}

@font-face {
  font-family: "didot regular";
  src: url("/fonts/Didot_Regular.ttf");
}

html,
body {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  line-height: 1.6;
  letter-spacing: 0.175rem;
  color: white;
  background-color: black;
}

h1,
h2,
h3,
h4 {
  text-align: center;
}

h1,
h2 {
  font-family: "didot bold", "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro",
    "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

a {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

img {
  width: 100%;
  height: auto;
}

.font-exSmall {
  font-size: 11px;
}

.font-small {
  font-size: 14px;
}

.font-regular {
  font-size: 16px;
}

.font-medRegular {
  font-size: 18px;
}

.font-medium {
  font-size: 22px;
}

.font-large {
  font-size: 28px;
}

.font-exLarge {
  font-size: 38px;
}

.font-notoSans {
  font-family: "Noto Sans JP", sans-serif;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.visibility-hidden {
  visibility: hidden;
  opacity: 0;
}

/* .is-hidden {
  display: none !important;
} */

.sp-only {
  display: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 46px;
  background-color: #101313;
  z-index: 100;
}

.header_contents {
  width: 100%;
  height: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
}

.header_left a > h1 {
  display: flex;
  align-items: center;
  width: 260px;
}

.header_right {
  height: 100%;
}

.header_right_item {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 30px;
  color: #c1a586;
  text-decoration: none;
  cursor: pointer;
}

.header_right_item:last-child {
  margin-right: 0;
}

.header_spmenu_icon,
.header_spmenu {
  display: none;
}

.header_languages {
  position: absolute;
  top: 60px;
  right: -6vw;
  color: #c1a586;
  visibility: hidden;
  opacity: 0;
  transition: all 1s ease;
}

.header_languages.active {
  right: 6vw;
  visibility: visible;
  opacity: 1;
}

.header_languages > a {
  color: #c1a586;
  padding: 6px;
  margin-top: 4px;
}

.footer {
  position: relative;
  z-index: 2;
  background: #101313;
  padding: 80px 0;
}

.footer::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: #101313;
}

.footer_btn-special-thanks {
  margin: 0 auto 32px;
  color: #c1a586;
  padding: 2px 0;
  width: 320px;
  border: solid 1px#c1a586;
  text-align: center;
}

.footer_sns-icons {
  width: 22%;

  max-width: 1200px;
  margin: 0 auto;
}

.footer_sns-icon {
  width: 32px;
  cursor: pointer;
}

.footer_companies {
  width: 36%;
  min-width: 480px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.footer_company_bsn {
  width: 46px;
}

.footer_company_tyffon {
  width: 96px;
}

.footer_company_sadokinzan {
  width: 110px;
}

.footer_company_earth {
  width: 40px;
}

.footer_copy-and-privacy {
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer_copyright {
  text-align: center;
  margin-right: 20px;
}

.footer_privacy-link {
  padding: 4px 0;
  text-align: center;
  color: white;
  border: solid 1px white;
  width: 240px;
  transition: all 1s ease;
}

.footer_privacy-link:hover {
  color: #c1a586;
  border-color: #c1a586;
}

@media screen and (max-width: 959px) {
  /* Header */
  .header {
    height: 44px;
  }

  .header_contents {
    padding: 0 20px;
  }

  .header_left > h1 {
    width: 200px;
  }

  .header_right {
    height: 100%;
  }

  .header_right_item {
    display: none;
  }

  /* sp menu */
  .header_spmenu_icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 28px;
    height: 20px;
    cursor: pointer;
  }

  .header_spmenu_icon > span {
    position: relative;
    display: block;
    width: 28px;
    height: 2px;
    background-color: #c1a586;
    transition: all 0.5s ease;
  }

  .header_spmenu_icon.close > span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
  }

  .header_spmenu_icon.close > span:nth-child(2) {
    opacity: 0;
  }

  .header_spmenu_icon.close > span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 8px;
  }

  .header_spmenu {
    position: fixed;
    top: 44px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20vh 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10;
    transition: all 0.5s ease;
  }

  .header_spmenu > a {
    margin: 1vh auto;
    padding: 1vh 0;
    color: #c1a586;
  }

  .header_spmenu_languages {
    width: 60%;
    border-top: solid 1px #c1a586;
  }

  .header_spmenu_languages > a {
    color: #c1a586;
    margin: 1vh auto;
    padding: 1vh 0;
    text-align: center;
  }
}

/* sp and tablet media query */
@media screen and (max-width: 767px) {
  html,
  body {
    letter-spacing: 0.125rem;
  }

  .font-exSmall {
    font-size: 11px;
  }

  .font-small {
    font-size: 12px;
  }

  .font-regular {
    font-size: 14px;
  }

  .font-medRegular {
    font-size: 16px;
  }

  .font-medium {
    font-size: 18px;
  }

  .font-large {
    font-size: 20px;
  }

  .font-exLarge {
    font-size: 28px;
  }

  .sp-only {
    display: block;
  }

  /* 
  Footer */
  .footer_btn-special-thanks {
    width: 90%;
  }
  .footer_sns-icons {
    min-width: 260px;
  }

  .footer_companies {
    min-width: 200px;
    justify-content: space-around;
  }

  .footer_companies > div {
    transform: scale(0.7);
  }

  .footer_company_earth {
    margin-right: 40px;
  }

  .footer_copy-and-privacy {
    display: block;
  }

  .footer_privacy-link {
    margin: 20px auto 0;
  }
}
