@charset "UTF-8";
@import url("./reset.css");

:root {
  --font-m-plus-rounded: "M PLUS Rounded 1c", sans-serif;
  --color-brown: #801a0f;
  --color-orange: #fc6810;
  --color-orange-light: #ffa257;
  --color-blue: #106acd;
  --color-green: #00a4b2;
  --color-pink: #ff6687;
  --color-purple: #992e90;
  --color-lime: #06c755;
  --color-base: var(--color-brown);
}
html {
  font-size: 62.5%;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  -webkit-text-size-adjust: 100%;
  color: var(--color-base);
  font-family: var(--font-m-plus-rounded);
  text-align: justify;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.56;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}
.center {
  text-align: center;
}
@media (hover: hover) {
  button,
  a {
    transition: opacity 0.3s;
    &:hover {
      opacity: 0.7;
    }
  }
}
@media (min-width: 1921px) {
  html {
    font-size: calc(1000vw / 1920);
  }
}
@media (min-width: 769px) {
  .sp {
    display: none;
  }
}
@media (max-width: 768px) {
  html {
    font-size: calc(1000vw / 375);
  }
  body {
    font-size: 1.2rem;
  }
  .pc {
    display: none;
  }
}
/* ==========================================================================
   Modules & Components
========================================================================== */
.heading-standard {
  font-size: 5.6rem;
  position: relative;
  width: fit-content;
  margin: auto;
  z-index: 1;
  letter-spacing: 0.1em;
}
.heading-standard:after {
  content: attr(text);
  width: 100%;
  -webkit-text-stroke-width: 0.8rem;
  -webkit-text-stroke-color: #fff;
  position: absolute;
  left: 0;
  z-index: -1;
  pointer-events: none;
}
@media (max-width: 768px) {
  .heading-standard {
    font-size: 2.4rem;
  }
  .heading-standard:after {
    -webkit-text-stroke-width: 0.5rem;
  }
}
/* ==========================================================================
   Animation
========================================================================== */
@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(var(--floating-distance));
  }
}

/* ==========================================================================
   Para manga
========================================================================== */
.ani-paramanga {
  --para-step: 4;
  --para-width: calc(var(--para-height) * var(--para-aspect-ratio-width) / var(--para-aspect-ratio-height));
  width: 100%;
  height: var(--para-height);
  position: absolute !important;
  left: 0;
  bottom: -1.6rem;
  pointer-events: none;
  overflow: hidden;
}
.ani-paramanga span{
  display: block;
  width: auto;
  height: var(--para-height);
  aspect-ratio: var(--para-aspect-ratio-width) / var(--para-aspect-ratio-height);
  transform-origin: top center;
  animation: paramanga 1s steps(var(--para-step)) 0s infinite,
  horizontalWalking 10s linear 0s infinite;
  position: absolute;
  left: 110%;
  bottom: 0;
}
@keyframes horizontalWalking {
  0% {
    left: 110%;
  }
  100% {
    left: calc(0rem - var(--para-width));
  }
}
@keyframes paramanga {
  to {
    background-position: 0 calc(var(--para-height) * var(--para-step) * -1);
  }
}

/* ==========================================================================
   Header, global navi & mainvisual page navi
========================================================================== */
.global-navi ul,
.page-navi ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.global-navi ul li,
.page-navi ul li {
  flex: 0 0 23rem;
  height: 5rem;
  background: #fff;
  border-radius: 99rem;
}
.global-navi ul li:nth-of-type(1),
.page-navi ul li:nth-of-type(1) {
  --color-theme: var(--color-orange);
}
.global-navi ul li:nth-of-type(2),
.page-navi ul li:nth-of-type(2) {
  --color-theme: var(--color-blue);
}
.global-navi ul li:nth-of-type(3),
.page-navi ul li:nth-of-type(3) {
  --color-theme: var(--color-green);
}
.global-navi ul li:nth-of-type(4),
.page-navi ul li:nth-of-type(4) {
  --color-theme: var(--color-pink);
}
.global-navi ul li:nth-of-type(5),
.page-navi ul li:nth-of-type(5) {
  --color-theme: var(--color-purple);
}
.global-navi ul li a,
.page-navi ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: 2.4rem 1.6rem;
  color: var(--color-theme);
}
.global-navi ul li a:after,
.page-navi ul li a:after {
  content: "";
  flex: 0 0 2rem;
  aspect-ratio: 1/1;
  border-radius: 99rem;
  background: var(--color-theme) url(/iinachan/assets/img/common/ico-chevron-down.svg) no-repeat center center/ 0.8rem auto;
}
.global-navi {
  width: 100%;
  padding: 13rem 1.6rem 7rem;
  background: #ffc08d;
  position: fixed;
  top: -110%;
  right: 0rem;
  transition: all 0.4s;
  z-index: 8;
}
.global-navi.is-active {
  top: 0;
}
.site-header .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 4rem;
  z-index: 9;
  position: fixed;
  right: 4rem;
  top: 4rem;
  opacity: 0;
  pointer-events: none;
}
.site-header .menu.is-show {
  opacity: 1;
  pointer-events: auto;
}
.site-header .menu span {
  width: 8rem;
  height: 0.6rem;
  border-radius: 99rem;
  background: var(--color-orange);
  position: relative;
  transition: all 0.3s;
}
.site-header .menu span:before,
.site-header .menu span:after {
  content: "";
  width: inherit;
  height: inherit;
  border-radius: 99rem;
  background: var(--color-orange);
  position: absolute;
  left: 50%;
  margin-left: -4rem;
  transform-origin: center center;
  transform: rotate(0deg);
  transition: all 0.3s;
}
.site-header .menu span:before {
  top: -1.6rem;
}
.site-header .menu span:after {
  bottom: -1.6rem;
}
.site-header .menu.is-active span {
  background: transparent;
}
.site-header .menu.is-active span:before {
  transform: rotate(30deg);
  top: 0;
  background: #fff;
}
.site-header .menu.is-active span:after {
  transform: rotate(-30deg);
  bottom: 0;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .global-navi ul,
  .page-navi ul {
    gap: 1.2rem 0.8rem;
  }
  .global-navi ul li,
  .page-navi ul li {
    flex: 0 0 16.4rem;
    height: 4rem;
  }
  .global-navi ul li a,
  .page-navi ul li a {
    padding-inline: 1.2rem 0.8rem;
  }
  .global-navi ul li a:after,
  .page-navi ul li a:after {
    flex: 0 0 1.6rem;
    background-size: 0.6rem auto;
    background-position: center 55%;
  }
  .site-header .menu {
    width: 4.4rem;
    right: 2rem;
    top: 2rem;
  }
  .site-header .menu span {
    width: 4.4rem;
    height: 0.3rem;
  }
  .site-header .menu span:before,
  .site-header .menu span:after {
    margin-left: -2.2rem;
  }
  .site-header .menu span:before {
    top: -1rem;
  }
  .site-header .menu span:after {
    bottom: -1rem;
  }
  .global-navi {
    padding: 8rem 1.6rem 4rem;
  }
}

/* ==========================================================================
   Footer
========================================================================== */
.site-footer {
  padding: 14rem 1.6rem 6rem;
  text-align: center;
  background: #FFF;
}
.site-footer p {
  margin-top: 8rem;
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 8rem 3.5rem 4rem;
  }
  .site-footer p {
    margin-top: 4rem;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Youtube Modal
========================================================================== */
aside.yt-modal {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}
aside.yt-modal.is-activated {
  z-index: 20;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s;
  pointer-events: auto;
}
aside.yt-modal.is-hidden {
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
aside.yt-modal .inner {
  width: min(100%, 76.8rem);
  margin: 0 auto;
  padding-top: 4rem;
  background: url(/iinachan/assets/img/common/ico-close.svg) no-repeat right top/3rem auto;
}
aside.yt-modal .inner iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  position: relative;
  z-index: 1;
}
aside.yt-modal .inner .masking {
  position: absolute;
  inset: 0;
  z-index: 0;
  cursor: pointer;
}
