:root{
  --color1: #00689A;
  --color2: #0092D9;
  --color3: #BBD8E6;
  --color4: #717A7E;
  --color5: #86A1AE;
  --f-size: 24;
  --f-unit: 1vmin;
  --f: calc(var(--f-size) * var(--f-unit));
  --bg: #ffffff;
}

@keyframes glitch-p {
  17% { --scale: .98; }
  31% { --scale: 1.02; }
  37% { --scale: 1.04; }
  47% { --scale: .96; }
  87% { --scale: 1; }
}

@keyframes glitch-a {
  10%,30%,50%,70%,90% {
    --top: 0;
    --left: 0;
  }
  0% {
   --v-height: 15%; 
  }
  20% {
    --left: .005;
  }
  40% {
    --left: .01;
    --v-height: 20%;
    --top: 3;
  }
  60% {
    --left: .03;
    --v-height: 25%;
    --top: 6;
  }
  80% {
    --left: .07;
    --v-height: 5%;
    --top: 8;
  }
  100% {
    --left: .083;
    --v-height: 30%;
    --top: 1;
  }
}

@keyframes glitch-b {
    10%,30%,50%,70%,90% {
    --top: 0;
    --left: 0;
  }
  0% {
   --v-height: 15%; 
   --top: 10;
  }
  20% {
    --left: -.05;
  }
  40% {
    --left: -.01;
    --v-height: 17%;
    --top: 3;
  }
  60% {
    --left: -.03;
    --v-height: 35%;
    --top: 6;
  }
  80% {
    --left: -.07;
    --v-height: 5%;
    --top: 8;
  }
  100% {
    --left: -.083;
    --v-height: 30%;
    --top: 1;
  }
}

/* ===============================================================================
Body Setting
=============================================================================== */
html{
    margin: 0;
    scroll-behavior: auto;
    scroll-padding-top: calc(0 / var(--vw) * var(--base));
}

@media (min-width: 768px) {
    html {
        scroll-padding-top: 0px;
    }
}

body{
  position: relative;
  background-color: #fff;
  color: #000;
  font-feature-settings: "palt";
  font-family: 'Noto Sans JP', sans-serif;
  font-size: calc(14 / var(--vw) * var(--base));
  font-weight: 400;
  letter-spacing: 0em;
  line-height: calc(25/14);
}

@media (min-width: 768px){
  body{
    font-size: 24px;
    line-height: calc(48/24);
  }
}
 
a {
  color: inherit;
  text-decoration: none;
}

@media (min-width: 768px) {
  a {
    transition: 0.6s ease;
  }

  a:hover {
    color: var(--color4);
  }
}

img {
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

:where(section){
  margin-block: calc(80 / var(--vw) * var(--base));
}

section :where(section){
  margin-block: calc(80 / var(--vw) * var(--base));
}

:first-child {
  margin-block-start: 0;
}

:last-child {
  margin-block-end: 0;
}

.noscroll {
  overflow: hidden;
}

.nowrap{
  white-space: nowrap;
}

.align-right{
  text-align: right;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.color1{
  color: var(--color1);
}

.color2{
  color: var(--color2);
}

.color3{
  color: var(--color3);
}

.color4{
  color: var(--color4);
}

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

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

/* ===============================================================================
Header
=============================================================================== */

#header{
  background-color: var(--color3);
  border-bottom: 1px solid var(--color4);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: calc(72 / var(--vw) * var(--base));
  margin-inline: auto;
  padding-inline-start: calc(38 / var(--vw) * var(--base));
  padding-inline-end: calc(24 / var(--vw) * var(--base));
}

.header-logo{
  position: relative;
  font-size: calc(22 / var(--vw) * var(--base));
  font-weight: 500;
  letter-spacing: 6%;
  white-space: pre-line;
  line-height: 1.2;
}

.header-logo.is-active {
  transform: scaleX(var(--scale, 1));
  animation: glitch-p 1.2s infinite alternate;
}

.header-logo.is-active:before,
.header-logo.is-active:after{
  --top: 0;        /* offset from top [0 - 10] */
  --left: 0.5;     /* offset from left [0.001 - 1] */
  --v-height: 30%; /* visible part */
  
  --n-tenth: calc(var(--f-size) * .1 * var(--top));
  --t-cut: calc(var(--n-tenth) / var(--f-size) * 100%);
  --b-cut: calc(var(--t-cut) + var(--v-height));
  
  content: attr(data-text);
  background-color: var(--color3);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  text-align: center;
  
  transform: translateX(calc(var(--left) * 100%));
  
  /* this helps to get rid of pixelization */
  filter: drop-shadow(0 0 transparent); 
  
  text-shadow: calc(var(--left) * -1em) 0 .02em lime, 
                calc(var(--left) * +2em) 0 .02em #ff00e1;
  
  background-color: var(--color3);
  clip-path: polygon(0% var(--t-cut), 100% var(--t-cut), 100% var(--b-cut), 0% var(--b-cut));
}

.header-logo.is-active::before {
  animation: glitch-b 0.6s infinite alternate-reverse;
}

.header-logo.is-active::after {
  animation: glitch-a 0.4s infinite alternate;
}

.menu{
  width: calc(17 / var(--vw) * var(--base));
  height: calc(32 / var(--vw) * var(--base));
  background: url("../img/dummy/menu.svg") no-repeat center/contain;
}

.header-nav a{
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.header-nav a:hover{
  color: transparent;
}

.header-nav a:after{
  content: "【準備中】";
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  color: var(--color1);
  white-space: nowrap;
  transition: 0.3s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
}

.header-nav :last-child a:after{
  content: "迢ｭ髢薙∈";
  color: red;
}

.header-nav a:hover:after{
  opacity: 1;
}

@media (min-width: 768px){
  #header{
    position: sticky;
  }

  .header-inner{
    width: 94%;
    max-width: 1400px;
    padding-inline: calc(10 / var(--vw) * var(--base));
  }

  .header-nav{
    display: flex;
    align-items: center;
    column-gap: calc(60 / var(--vw) * var(--base));
    font-size: calc(16 / var(--vw) * var(--base));
    font-weight: 700;
    letter-spacing: 10%;
  }

  .header-nav a{
    color: var(--color1);
  }
}

/* ===============================================================================
Footer
=============================================================================== */

#footer{
  background-color: var(--color3);
  border-top: 1px solid var(--color4);
  margin-block-start: calc(80 / var(--vw) * var(--base));
}

.footer-lead,
.footer-link{
  border-bottom: 1px solid var(--color4)
}

.footer-lead-inner,
.footer-link-inner,
.footer-copyright-inner{
  width: calc(280 / var(--vw) * var(--base));
  margin-inline: auto;
}

.footer-lead-inner{
  padding-block: calc(32 / var(--vw) * var(--base));
  font-size: calc(18 / var(--vw) * var(--base));
  font-weight: 500;
  letter-spacing: 7%;
  line-height: calc(48/32);
}

.footer-link-inner{
  padding-block-start: calc(50 / var(--vw) * var(--base));
  padding-block-end: calc(110 / var(--vw) * var(--base));
  font-size: calc(16 / var(--vw) * var(--base));
  font-weight: 500;
  letter-spacing: 7%;
  line-height: calc(32/16);
}

.footer-copyright-inner{
  display: flex;
  justify-content: space-between;
  padding-block-start: calc(9 / var(--vw) * var(--base));
  padding-block-end: calc(22 / var(--vw) * var(--base));
  font-size: calc(11 / var(--vw) * var(--base));
  font-weight: 500;
  letter-spacing: 7%;
  line-height: calc(20/11);
}

.footer-logo{
  position: relative;
  width: max-content;
  margin-block-end: calc(48 / var(--vw) * var(--base));
  font-size: calc(38 / var(--vw) * var(--base));
  font-weight: 500;
  letter-spacing: 1%;
  line-height: calc(66/54);
  white-space: pre-line;
}

.footer-logo.is-active {
  transform: scaleX(var(--scale, 1));
  animation: glitch-p 1.2s infinite alternate;
}

.footer-logo.is-active:before,
.footer-logo.is-active:after{
  --top: 0;        /* offset from top [0 - 10] */
  --left: 0.5;     /* offset from left [0.001 - 1] */
  --v-height: 30%; /* visible part */
  
  --n-tenth: calc(var(--f-size) * .1 * var(--top));
  --t-cut: calc(var(--n-tenth) / var(--f-size) * 100%);
  --b-cut: calc(var(--t-cut) + var(--v-height));
  
  content: attr(data-text);
  background-color: var(--color3);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  text-align: center;
  
  transform: translateX(calc(var(--left) * 100%));
  
  /* this helps to get rid of pixelization */
  filter: drop-shadow(0 0 transparent); 
  
  text-shadow: calc(var(--left) * -1em) 0 .02em lime, 
                calc(var(--left) * +2em) 0 .02em #ff00e1;
  
  background-color: var(--color3);
  clip-path: polygon(0% var(--t-cut), 100% var(--t-cut), 100% var(--b-cut), 0% var(--b-cut));
}

.footer-logo.is-active::before {
  animation: glitch-b 0.6s infinite alternate-reverse;
}

.footer-logo.is-active::after {
  animation: glitch-a 0.4s infinite alternate;
}

.footer-link-inner a{
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.footer-link-inner a:hover{
  color: transparent;
}

.footer-link-inner a:after{
  content: "【準備中】";
  display: flex;
  align-items: center;
  background: var(--color3);
  width: max-content;
  height: 100%;
  color: var(--color1);
  white-space: nowrap;
  transition: 0.3s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.footer-link-inner ul :last-child a:after{
  content: "迢ｭ髢薙∈";
  color: red;
}

.footer-link-inner a:hover:after{
  opacity: 1;
}

@media (max-width: 767px){
  .footer-copyright-inner{
    flex-direction: column;
    gap: calc(50 / var(--vw) * var(--base));
  }
}

@media (min-width: 768px){
  #footer{
    margin-block-start: calc(140 / var(--vw) * var(--base));
  }

  .footer-lead-inner,
  .footer-link-inner,
  .footer-copyright-inner{
    width: 94%;
    max-width: 1144px;
  }

  .footer-lead-inner{
    padding-block: calc(50 / var(--vw) * var(--base));
    font-size: calc(32 / var(--vw) * var(--base));
  }

  .footer-link-inner{
    padding-block-start: calc(50 / var(--vw) * var(--base));
    padding-block-end: calc(78 / var(--vw) * var(--base));
    font-size: calc(20 / var(--vw) * var(--base));
    line-height: calc(48/20);
  }

  .footer-copyright-inner{
    padding-block-start: calc(9 / var(--vw) * var(--base));
    padding-block-end: calc(48 / var(--vw) * var(--base));
    font-size: calc(11 / var(--vw) * var(--base));
  }

  .footer-logo{
    margin-block-end: calc(24 / var(--vw) * var(--base));
    font-size: calc(54 / var(--vw) * var(--base));
  }
}

/* ===============================================================================
Contents
=============================================================================== */

.h-fv{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.h-fv-title{
  position: relative;
  margin-block-end: calc(7 / var(--vw) * var(--base));
  width: max-content;
  padding-inline: 0.5em;
  font-size: calc(46 / var(--vw) * var(--base));
  font-weight: 500;
  letter-spacing: 1%;
  line-height: calc(56/46);
  text-align: center;
  white-space: pre-line;
}

.h-fv-title canvas{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: 0;
}

.h-fv-title.is-active canvas{
  opacity: 1;
}

.h-fv-title.is-active {
  transform: scaleX(var(--scale, 1));
  animation: glitch-p 1.2s infinite alternate;
}

.h-fv-title.is-active:before,
.h-fv-title.is-active:after{
  --top: 0;        /* offset from top [0 - 10] */
  --left: 0.2;     /* offset from left [0.001 - 1] */
  --v-height: 20%; /* visible part */
  
  --n-tenth: calc(var(--f-size) * .1 * var(--top));
  --t-cut: calc(var(--n-tenth) / var(--f-size) * 100%);
  --b-cut: calc(var(--t-cut) + var(--v-height));
  
  content: attr(data-text);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  text-align: center;
  
  transform: translateX(calc(var(--left) * 100%));
  
  /* this helps to get rid of pixelization */
  filter: drop-shadow(0 0 transparent); 

  text-shadow: calc(var(--left) * -1em) 0 .02em lime, 
              calc(var(--left) * +2em) 0 .02em #ff00e1;

  background-color: var(--bg);
  clip-path: polygon(0% var(--t-cut), 100% var(--t-cut), 100% var(--b-cut), 0% var(--b-cut));
}

.h-fv-title.is-active::before {
  animation: glitch-b 0.6s infinite alternate-reverse;
}

.h-fv-title.is-active::after {
  animation: glitch-a 0.4s infinite alternate;
}

.h-fv-text{
  letter-spacing: 10%;
  line-height: 1;
}

.h-fv-image{
  height: calc(720 / var(--vw) * var(--base));
}

.h-fv-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px){
  :root{
    --bg: transparent;
  }

  .h-fv{
    position: absolute;
    top: calc(220 / var(--vw) * var(--base));
    left: 0;
    z-index: 1;
    width: 100%;
  }

  .h-fv-image{
    position: relative;
    z-index: 0;
  }

  .h-fv-image:before{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 16%,rgba(255,255,255,0) 75%);
  }

  .h-fv-text{
    font-size: calc(16 / var(--vw) * var(--base));
    line-height: calc(24/16);
    letter-spacing: 16%;
  }
}

@media (min-width: 768px){
  #fv{
    margin-block-start: calc(46 / var(--vw) * var(--base));
  }

  .h-fv{
    padding-block: calc(100 / var(--vw) * var(--base));
  }

  .h-fv-title{
    margin-block-end: calc(18 / var(--vw) * var(--base));
    font-size: calc(80 / var(--vw) * var(--base));
    line-height: calc(97/80);
    white-space: nowrap;
  }

  .h-fv-image{
    height: calc(622 / var(--vw) * var(--base));
  }
}

.introduction-inner{
  max-width: calc(280 / var(--vw) * var(--base));
  margin-inline: auto;
}

.introduction-inner p:not(:last-child){
  margin-block-end: calc(40 / var(--vw) * var(--base));
}

@media (min-width: 768px){
  #introduction{
    margin-block: calc(140 / var(--vw) * var(--base));
  }

  .introduction-inner{
    max-width: 756px;
  }

  .introduction-inner p:not(:last-child){
    margin-block-end: calc(40 / var(--vw) * var(--base));
  }
}

.navi-wrap{
  display: flex;
  flex-direction: column-reverse;
  row-gap: calc(56 / var(--vw) * var(--base));
}

.navi-link-wrap{
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  width: 100%;
  height: 100%;
}

.navi-link-item a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid var(--color5);
  color: var(--color2);
  font-weight: 500;
  letter-spacing: 5%;
  cursor: pointer;
}

.navi-link-item a:hover{
  color: transparent;
}

.navi-link-item a:after{
  content: "【準備中】";
  display: flex;
  align-items: center;
  width: max-content;
  height: calc(100% - 1px);
  color: var(--color2);
  transition: 0.3s ease;
  opacity: 0;
  position: absolute;
  top: 1px;
  left: 0;
  z-index: 1;
}

.navi-link-item:last-child a:after{
  content: "迢ｭ髢薙∈";
  color: red;
}

.navi-link-item a:hover:after{
  opacity: 1;
}

.navi-text{
  color: var(--color5);
  font-size: calc(14 / var(--vw) * var(--base));
}

.navi-image{
  height: calc(280 / var(--vw) * var(--base));
}

.navi-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px){
  .navi-link-wrap{
    gap: calc(10 / var(--vw) * var(--base));
    max-width: calc(280 / var(--vw) * var(--base));
    margin-inline: auto;
  }

  .navi-link-item a{
    height: calc(48 / var(--vw) * var(--base));
    padding-inline-start: calc(20 / var(--vw) * var(--base));
    font-size: calc(20 / var(--vw) * var(--base));
  }

  .navi-link-item a:after{
    padding-inline-start: calc(20 / var(--vw) * var(--base));
  }
}

@media (min-width: 768px){
  .navi-wrap{
    display: grid;
    grid-template-columns: 1fr calc(1144/1920*100%);
    column-gap: min(214px, (214/1920*100%));
    justify-content: flex-end;
  }

  .navi-link-wrap{
    max-width: calc(368 / var(--vw) * var(--base));
    margin-inline-start: auto;
    padding-inline-start: calc(40 / var(--vw) * var(--base));
  }

  .navi-link-item a{
    height: 100%;
  }

  .navi-image{
    height: calc(400 / var(--vw) * var(--base));
  }
}