@font-face {
  font-family: "MyCustomEn";
  src: url("../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf") format("truetype");
  unicode-range: U+0020-007E;
  size-adjust: 110%;
  font-weight: 100 1000;
}
html {
  background: #f0f0e6;
  letter-spacing: 0.01em;
  font-size: min(0.893vw, 10px);
  font-family: "MyCustomEn", "Noto Sans SC", Arial, "Segoe UI", sans-serif;
  font-feature-settings: "palt";
  color: #333;
}
@media (max-width: 768px) {
  html {
    font-size: min(2.986vw, 10px);
  }
}

body, h1, h2, h3, h4, p, figure, ul, ol, dl, dt, dd {
  margin: 0;
  padding: 0;
}

ul, ol, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

input, button {
  font: inherit;
  transition: 0.2s linear;
}
input:focus, button:focus {
  transition: none;
}

img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

svg {
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

.js-animation.fadeIn {
  opacity: 0;
  transition: opacity 0.4s linear;
}
.js-animation.fadeIn.is-animated {
  opacity: 1;
}
.js-animation.slideUpIn {
  opacity: 0;
  translate: 0 30px;
  transition: opacity 0.4s linear, translate 0.4s ease-out;
}
.js-animation.slideUpIn.is-animated {
  opacity: 1;
  translate: 0 0;
}

.header_outer {
  position: sticky;
  background: #f0f0e6;
  top: 0;
  z-index: 500;
}
@media (min-width: 769px) {
  .header_outer {
    height: 10rem;
  }
}
@media (max-width: 768px) {
  .header_outer {
    height: 5rem;
  }
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 100%;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .header_inner {
    column-gap: 3rem;
    padding: 0 4rem;
  }
}
@media (max-width: 768px) {
  .header_inner {
    column-gap: 1rem;
    padding: 0 1rem;
  }
}

@media (min-width: 769px) {
  .header_logo {
    width: 16.3rem;
    margin-top: 1.1rem;
  }
}
@media (max-width: 768px) {
  .header_logo {
    width: 8.15rem;
  }
}
.header_logo:hover {
  opacity: 0.6;
}

.lang_switch {
  display: block;
  position: relative;
  background-image: url(../img/common/language.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
  cursor: pointer;
}
@media (min-width: 769px) {
  .lang_switch {
    width: 3.3rem;
    height: 3.3rem;
  }
}
@media (max-width: 768px) {
  .lang_switch {
    width: 2rem;
    height: 2rem;
  }
}

.lang_outer {
  position: fixed;
  z-index: 500;
}
@media (min-width: 769px) {
  .lang_outer {
    width: 12.7rem;
    right: 10.3rem;
    top: 8rem;
  }
}
@media (max-width: 768px) {
  .lang_outer {
    width: 11.2rem;
    right: 1rem;
    top: 3.6rem;
  }
}
.lang_outer:not(.is-opened) {
  display: none;
}
.lang_outer::before {
  content: "";
  position: absolute;
  background: #282896;
  inset: 0;
  pointer-events: none;
}
@media (min-width: 769px) {
  .lang_outer::before {
    clip-path: polygon(0 1rem, 5.4rem 1rem, 50% 0, 7.3rem 1rem, 100% 1rem, 100% 100%, 0 100%);
  }
}
@media (max-width: 768px) {
  .lang_outer::before {
    clip-path: polygon(0 1rem, 4.65rem 1rem, 50% 0, 6.55rem 1rem, 100% 1rem, 100% 100%, 0 100%);
  }
}
.lang_outer::after {
  content: "";
  position: absolute;
  background: #fff;
  inset: 0.25rem 0.2rem 0.2rem;
  pointer-events: none;
}
@media (min-width: 769px) {
  .lang_outer::after {
    clip-path: polygon(0 0.95rem, 5.3rem 0.95rem, 50% 0, 7rem 0.95rem, 100% 0.95rem, 100% 100%, 0 100%);
  }
}
@media (max-width: 768px) {
  .lang_outer::after {
    clip-path: polygon(0 0.95rem, 4.55rem 0.95rem, 50% 0, 6.25rem 0.95rem, 100% 0.95rem, 100% 100%, 0 100%);
  }
}

.lang_inner {
  position: relative;
  padding: 2.9rem 0 1.9rem;
  z-index: 2;
}

.lang_links {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 0.8rem;
}

.lang_link {
  display: block;
  position: relative;
  height: 3.2rem;
  padding: 0.4rem 0;
}
.lang_link::before {
  content: "";
  position: absolute;
  background: #282896;
  border-radius: 2px;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
}
.lang_link:hover::before {
  opacity: 1;
}
.lang_link.is-current {
  pointer-events: none;
}
.lang_link.is-current::before {
  opacity: 1;
}

.nav_open {
  display: block;
  position: relative;
  cursor: pointer;
}
@media (min-width: 769px) {
  .nav_open {
    width: 8rem;
    height: 8rem;
  }
}
@media (max-width: 768px) {
  .nav_open {
    width: 3.6rem;
    height: 3.6rem;
  }
}
.nav_open::before, .nav_open::after, .nav_open > span {
  display: block;
  position: absolute;
  background: #282896;
  width: 50%;
  height: 5%;
  inset: 0;
  margin: auto;
}
.nav_open::before {
  content: "";
  top: 32.5%;
  bottom: auto;
}
.nav_open::after {
  content: "";
  top: auto;
  bottom: 32.5%;
}
.nav_open:hover {
  opacity: 0.6;
}

.nav_outer {
  position: fixed;
  background: #f0f0e6;
  height: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  transition: height 0.3s linear;
  z-index: 500;
}
.nav_outer.is-opened {
  height: 100dvh;
}

.nav_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
@media (min-width: 769px) {
  .nav_inner {
    padding: 3.4rem 6.4rem;
  }
}
@media (max-width: 768px) {
  .nav_inner {
    padding: 1.7rem 2.1rem;
  }
}

.nav_close {
  display: block;
  position: relative;
  margin: 0 0 0 auto;
  cursor: pointer;
}
@media (min-width: 769px) {
  .nav_close {
    width: 3.2rem;
    height: 3.2rem;
  }
}
@media (max-width: 768px) {
  .nav_close {
    width: 1.6rem;
    height: 1.6rem;
  }
}
.nav_close::before, .nav_close::after {
  content: "";
  position: absolute;
  background: #282896;
  width: 125%;
  height: 12.5%;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
}
.nav_close::before {
  rotate: 45deg;
}
.nav_close::after {
  rotate: -45deg;
}
.nav_close:hover {
  opacity: 0.6;
}

.nav_list {
  display: grid;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 769px) {
  .nav_list {
    grid-template-columns: repeat(auto-fill, 49rem);
    gap: 0 6.8rem;
    max-width: 104.8rem;
    padding: 1.9rem 0 4.9rem;
  }
}
@media (max-width: 768px) {
  .nav_list {
    grid-template-columns: 100%;
    max-width: 31.5rem;
    padding: 5rem 0 4.8rem;
  }
}
.nav_list > li {
  display: flex;
  position: relative;
}
@media (min-width: 769px) {
  .nav_list > li {
    align-items: flex-end;
    height: 10.5rem;
    padding: 0 0 3.2rem;
  }
}
@media (max-width: 768px) {
  .nav_list > li {
    align-items: center;
    height: 8.1rem;
    padding: 1.35rem 0 1.55rem;
  }
}
.nav_list > li::after {
  content: "";
  position: absolute;
  background: #282896;
  border-radius: 2px;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.nav_link {
  display: flex;
  align-items: center;
}
@media (min-width: 769px) {
  .nav_link {
    column-gap: 1.3rem;
  }
}
@media (max-width: 768px) {
  .nav_link {
    column-gap: 1.2rem;
  }
}
.nav_link .num {
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .nav_link .num {
    width: 6.8rem;
  }
}
@media (max-width: 768px) {
  .nav_link .num {
    width: 5.2rem;
  }
}
.nav_link .nav_title {
  position: relative;
  letter-spacing: 0.05em;
  color: #282896;
}
@media (min-width: 769px) {
  .nav_link .nav_title {
    line-height: 1.364;
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .nav_link .nav_title {
    line-height: 1.445;
    font-size: 1.8rem;
  }
}
.nav_link .nav_title::before {
  content: "";
  position: absolute;
  background: #282896;
  border-radius: 2px;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  scale: 0 1;
  transition: scale 0.2s linear 0.1s;
  transform-origin: right bottom;
}
.nav_link:hover {
  opacity: 0.6;
}

.nav_top {
  display: flex;
  align-items: center;
}
@media (min-width: 769px) {
  .nav_top {
    column-gap: 0.8rem;
    margin-right: 9.6rem;
  }
}
@media (max-width: 768px) {
  .nav_top {
    column-gap: 1rem;
    margin-right: 2.9rem;
  }
}
.nav_top figure {
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .nav_top figure {
    width: 5.8rem;
  }
}
@media (max-width: 768px) {
  .nav_top figure {
    width: 2.9rem;
  }
}
.nav_top p {
  position: relative;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #282896;
}
@media (min-width: 769px) {
  .nav_top p {
    line-height: 1.273;
    font-size: 2.2rem;
  }
}
@media (max-width: 768px) {
  .nav_top p {
    line-height: 1.334;
    font-size: 1.8rem;
  }
}
.nav_top p::before {
  content: "";
  position: absolute;
  background: #282896;
  border-radius: 2px;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 0;
  scale: 0 1;
  transition: scale 0.2s linear 0.1s;
  transform-origin: right bottom;
}
.nav_top:hover {
  opacity: 0.6;
}

.footer_outer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #282896;
  color: #fff;
}
@media (min-width: 769px) {
  .footer_outer {
    height: 8rem;
  }
}
@media (max-width: 768px) {
  .footer_outer {
    height: 6rem;
  }
}

.footer_copyright {
  letter-spacing: 0.05em;
  line-height: 1;
}
@media (min-width: 769px) {
  .footer_copyright {
    font-size: 1.2rem;
  }
}
@media (max-width: 768px) {
  .footer_copyright {
    font-size: 0.8rem;
  }
}