@charset "UTF-8";
html {
  width: 100%;
  height: auto;
  overflow: hidden;
  overscroll-behavior-y: none;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.2em;
  /*color: #eaf2a5;*/
  color: #fcffd9;
  background-color: hsla(90,0%,85%,1);
}
html::selection, div::selection, ul::selection, canvas::selection { background: none; }
a { -webkit-tap-highlight-color: transparent; }
img { user-drag: none; -webkit-user-drag: none; -moz-user-select: none; }
.font-pop-r { font-family: "Poppins", sans-serif; font-weight: 400; line-height: 1.5; letter-spacing: 0.12em; }
.font-pop-m { font-family: "Poppins", sans-serif; font-weight: 500; line-height: 1.5; letter-spacing: 0.12em; }
.font-pop-sb { font-family: "Poppins", sans-serif; font-weight: 600; line-height: 1.5; letter-spacing: 0.12em; }
.font-zen-r { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 400; line-height: 1.6; }
.font-zen-b { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; line-height: 1.6; }
.fadeshow { animation: fadeshow linear 0.8s forwards; }
.fadeshow-slow { animation: fadeshow linear 2.4s forwards; }
.fadehide { animation: fadehide linear 0.3s forwards; }
@keyframes fadeshow {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadehide {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
header {
  position: absolute;
  display: block;
  padding: 32px 56px 0;
  opacity: 0;
  z-index: 100;
}
header nav ul {
  font-size: 12px;
  color: #fcffd9;
  list-style: none;
  display: flex;
  gap: 64px;
}
header nav ul li {
  position: relative;
  padding: 0;
}
header nav ul li::selection, header nav ul li a::selection, header nav ul ul li a::selection {
  background-color: #222222;
}
header nav ul a {
  display: block;
  text-decoration: none;
  color: #fcffd9;
}
header nav ul li a span, header nav ul li ul li a span {
  position: relative;
  display: block;
}
header nav ul li a span::before, header nav ul li ul li a span::before {
  width: 0;
  color: #fefff7;
  overflow: hidden;
  position: absolute;
  content: attr(data-text);
  transition: all 1.5s cubic-bezier(.2, -.5, .2, 2);
}
header nav ul li a span:hover::before, header nav ul li ul li a span:hover::before {
  width: 100%;
}
header nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
}
header nav ul ul#txt-mail { display: block; }
header nav ul ul li {
  font-size: 10.5px;
  padding: 8px 0 0 0;
}
header nav ul ul#txt-mail li { font-size: 10px; letter-spacing: 0.08em; }
header nav ul li:hover>ul { display: block; }
.bg-noise {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.noise {
  background: url(../img/noise.png);
  opacity: 0.7;
  animation: noise_anim 1s steps(10) infinite;
}
@keyframes noise_anim {
  from { background-position: 0 0; }
  to { background-position: 123px 456px; }
}
#leave-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(25px) saturate(120%);
  -webkit-backdrop-filter: blur(25px) saturate(120%);
  z-index: 99999;
}
body.is-leaving #leave-overlay{
  opacity: 1;
  /*animation: leave-blur 0.1s ease forwards;*/
}
@keyframes leave-blur{
  from{
    backdrop-filter: blur(0px) saturate(120%);
    -webkit-backdrop-filter: blur(0px) saturate(120%);
    opacity: 1;
  }
  to{
    backdrop-filter: blur(25px) saturate(120%);
    -webkit-backdrop-filter: blur(25px) saturate(120%);
    opacity: 0.5;
  }
}
#leave-overlay .leave-spinner{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 11px;
  text-align: center;
}
#leave-overlay .leave-spinner::before{
  content: 'LOADING…';
}
#leave-overlay.is-return .leave-spinner::before{
  content: 'THANK YOU';
}
@media (prefers-reduced-motion: reduce){
  #leave-overlay{ transition: none; }
  #leave-overlay .leave-spinner{ animation: none; }
  #leave-overlay.is-active{ opacity: 1; }
}

@media screen and (max-width: 720px) and (orientation: portrait) {
  html { font-size: 12px; letter-spacing: 0.16em; }
  header { padding: 20px 20px 0; }
  header nav ul { display: grid; gap: 12px; font-size: 11px; }
  header nav ul ul#txt-mail li { font-size: 9px; }
  header nav ul ul li { padding: 4px 0 0 0; }
}
