@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");

body {
  margin: unset;
  letter-spacing: unset;
}
.skipNav,
.hideen {
  visibility: hidden;
  position: absolute;
}
.container img {
  display: block;
  /* max-width: 300px; */
  height: auto;
  width: 100%;
}
small {
  font-weight: 700;
}
.container {
  text-align: center;
  margin-top: 50px;
  background: url(../images/bg.jpg);
  background-position: top center;
  background-repeat: repeat;
  /* background-size: 100%; */
  margin: 0 auto;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(0px, 1.81818vw, 20px);
  color: #3facdb;
  font-style: normal;
  font-weight: 500;
  /* padding-bottom: 5em; */
  overflow: clip;
}
.modaal-wrapper {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}

.container * {
  box-sizing: content-box;
  font-size: clamp(0px, 1.81818vw, 20px);
}

.container > div {
  max-width: 1100px;
  padding: 0 5%;
  /* display: flex; */
  flex-direction: row;
  margin: 0 auto;
}

.container > div.sticky {
  position: relative;
  z-index: 5;
}

.container > div.sticky > div {
  position: relative;
  z-index: 9;
}

.container > div.sticky::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../images/cloud.png);
  background-position: top center;
  background-repeat: no-repeat space;
  background-size: contain;
  opacity: 0;
  transition: opacity 2s, background-repeat 0s;
  transition-delay: opacity 1s;
  z-index: -1;
}

HTML :has(#mv.side).container > div.sticky::before {
  opacity: 8;
  transition: opacity 1s, background-repeat 2s;
}

HTML :has(#mv.side) div#mv {
  width: calc(100% / 3);
  height: 100svh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 2s;
}

HTML :has(#mv.side) div#mv h2 {
  font-size: 2.6em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: unset;
  position: absolute;
  transition: 2s;
  width: 100%;
  transform: translate3d(0, -4em, 0);
  -webkit-text-stroke: 0.2em #fff;
}

div#mv h2 small {
  font-size: 0.5em;
}

.right {
  /* height: 500svh; */
  width: calc(100% / 3 * 2 - 1em);
  margin-top: 100svh;
  margin: 0 0 0 auto;
  position: fixed;
  top: 100svh;
  opacity: 0;
  padding-bottom: 5em;
  transition: 2s;
}

HTML :has(#mv.side) .right {
  position: static;
  top: unset;
  opacity: 1;
  padding-bottom: 5em;
  transition: 2s;
}

.container h3 {
  font-size: 2em;
  font-weight: 900;
  color: #3facdb;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.2em #fff;
  margin: 0 auto 1em;
  text-align: center;
}

div#prof > div {
  padding: 0.5em 1em;
  background: #fff;
  color: #3facdb;
  border-radius: 1.2em;
  color: #444;
}

div#prof > div span {
  display: flex;
  gap: 0.2em 0;
  line-height: 1.2;
  padding: 0.5em 0;
  border-bottom: 0.1em dashed;
  flex-wrap: wrap;
  justify-content: center;
}

div#prof > div span:last-of-type {
  border-bottom: unset;
}

div#prof > div span:last-of-type p {
  margin: 0 0 0 auto;
}

div#prof > div span b {
  min-width: 4em;
}

div#prof {
  text-align: left;
  margin: 5em auto;
}

div#prof > div span p {
  margin: unset;
  width: calc(100% - 4em);
}

#read {
  margin: 5em auto;
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: drop-shadow(0 0 4em #fff) drop-shadow(0 0 0 #fff);
  text-shadow: 0 0 0.75em #fff;
  font-weight: bold;
}

#creator {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  color: #3facdb;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin: 9em 2em;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0.5em 0.5em 0 #3facdb) drop-shadow(0 0 1em #3facdb22);
}

#creator > div {
  width: 10em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em 0;
  line-height: 1.25;
}

#creator > div h4 {
  font-size: 0.9em;
}

#creator > div img {
  width: 90%;
}

#creator > span {
  width: calc(100% - 11em);
  padding: 1em 1em 0 0;
  box-sizing: border-box;
  text-align: left;
  color: #444;
}

#creator > span p {
  margin: 0.75em 0 0;
}

#creator > a {
  display: flex;
  height: 2.75em;
  width: fit-content;
  flex-direction: row;
  align-items: center;
  background: #3facdb;
  color: #fff;
  padding: 0.5em 2em 0.5em 0.5em;
  line-height: 1.3em;
  border-radius: 10em;
  text-decoration: unset;
  transition: 0.4s;
}
#creator > a:hover {
  background: #3facdbbb;
}

#creator > a span {
  padding: 0 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

#creator > a span b {
  line-height: 1em;
  background: #fff;
  color: #3facdb;
  display: inline-block;
  padding: 0 0.5em 0.1em;
  border-radius: 2em;
  font-weight: 900;
}

#creator > a img {
  width: 2.75em;
}

#creator > *::before,
#creator > *::after {
  position: absolute;
  content: "";
  width: 16.5em;
  height: 14.5em;
  background: #fff;
  border-radius: 50%;
  z-index: -1;
  user-select: none;
  pointer-events: none;
  cursor: default;
}

#creator > div::before {
  width: 16.5em;
  height: 14.5em;
  left: -1.5em;
  top: -4em;
}

#creator > div::after {
  left: -3em;
  bottom: -1.5em;
  width: 26em;
  height: 23em;
}

#creator > span::before {
  left: 4.5em;
  top: -4.5em;
  width: 19.5em;
  height: 18em;
}

#creator > span::after {
  right: -3em;
  bottom: 0.5em;
  width: 19.5em;
  height: 22em;
}

#creator > a::before {
  right: -0.5em;
  top: -2em;
  width: 14.5em;
  height: 13.5em;
}

#creator > a::after {
  left: 5em;
  bottom: -3.5em;
  width: 19em;
  height: 11.5em;
}

#creator h4,
#creator p {
  margin: unset;
}
#creator > div a {
  color: #3facdb;
  text-decoration: underline;
  margin-bottom: 0.25em;
  display: inline-block;
  text-underline-offset: 0.15em;
}

#creator img {
  filter: drop-shadow(0.25em 0.25em 0 #3facdb);
}

HTML :has(#mv.side) .text {
  margin-top: 0em;
  position: relative;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.2;
  position: absolute;
  left: unset;
  text-align: center;
  transition: 2s;
  transform: translate3d(0, 7.5em, 0);
}

.text b {
  font-size: 1.5em;
  line-height: 0.5;
  font-weight: 900;
  bottom: -0.05em;
  position: relative;
}

HTML :has(#mv.side) .text::before {
  content: "／";
  position: absolute;
  top: -0.75em;
  left: -0.75em;
  font-size: 1.25em;
  font-weight: 900;
}

HTML :has(#mv.side) .text::after {
  content: "＼";
  position: absolute;
  top: -0.75em;
  font-size: 1.25em;
  right: -0.75em;
  font-weight: 900;
  left: unset;
}

.text::before {
  content: "／";
  position: absolute;
  top: -0.75em;
  left: -0.75em;
  font-size: 1.25em;
  font-weight: 900;
  top: -1em;
  font-size: 1.5em;
  rotate: 10deg;
  transition: 2s;
}

.text::after {
  content: "＼";
  position: absolute;
  top: -0.75em;
  font-size: 1.25em;
  right: -0.75em;
  font-weight: 900;
  top: unset;
  bottom: -1em;
  right: unset;
  left: -0.75em;
  rotate: -10deg;
  transition: 2s;
}

HTML :has(#mv.side) #mv button {
  cursor: pointer;
  background: unset;
  border: unset;
  padding: unset;
  width: 100%;
  transition: 2s;
  animation: unset;
}

#story {
  margin: 5em auto 0;
}

#story > p {
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: drop-shadow(0 0 4em #fff) drop-shadow(0 0 0 #fff);
  text-shadow: 0 0 0.75em #fff;
  text-align: left;
  color: #444;
}

#story .story_box {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 66/49;
  margin-top: 1.5em;
  /* background: #0002; */
}

#story .story_box .modaal {
  width: 45%;
  position: absolute;
  border-radius: 0.25em;
  overflow: hidden;
  transition: 0.4s;
}
#story .story_box .modaal:hover {
  scale: calc(1.025);
}

#story .story_box .modaal:nth-of-type(1) {
  rotate: -10deg;
  top: 1.5em;
  left: 2em;
}

#story .story_box .modaal:nth-of-type(2) {
  rotate: 10deg;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  right: 2em;
}

#story .story_box .modaal:nth-of-type(3) {
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

a.imadoko {
  position: fixed;
  bottom: -0.75em;
  right: -0.75em;
  width: 10em;
  z-index: 99;
  transition: all 0.6s cubic-bezier(0.2, 1, 0.66, 1);
  filter: drop-shadow(-0.25em -0.25em 0.75em #fffb);
  opacity: 0.95;
}

a.imadoko:hover {
  bottom: 0;
  right: 0;
  opacity: 1;
}

a.imadoko b {
}

a.imadoko img {
  width: 100%;
}

a.imadoko {
}

/* ====================== */

div#mv {
  width: 100%;
  height: calc(100svh - 114px);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 2s;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.25em #fff;
}

.text {
  margin-top: 0em;
  position: relative;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.5;
  position: absolute;
  text-align: left;
  transform: translate3d(15.5em, 0em, 0);
  transition: 2s;
}

div#mv button {
  cursor: pointer;
  background: unset;
  border: unset;
  padding: unset;
  width: calc(100% / 2);
  /* width: 41.5em; */
  position: relative;
  transition: 2s;
  -webkit-animation: fuwafuwa 3s infinite linear alternate;
  animation: fuwafuwa 3s infinite linear alternate;
}
@-webkit-keyframes fuwafuwa {
  0% {
    -webkit-transform: translate(0, 0) rotate(-5deg);
  }
  50% {
    -webkit-transform: translate(0, -5px) rotate(0deg);
  }
  100% {
    -webkit-transform: translate(0, 0) rotate(5deg);
  }
}

@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-5deg);
  }
  50% {
    transform: translate(0, -5px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(5deg);
  }
}

div#mv button::after {
  content: "";
  position: absolute;
  width: 10%;
  height: auto;
  aspect-ratio: 39 / 53;
  background: url(../images/cursor.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  top: 85%;
  rotate: -15deg;
  right: 15%;
  animation: floating-y 1s ease-in-out infinite alternate-reverse;
  opacity: 0;
  transition: 0.4s;
}

HTML :has(#mv.side) div#mv button::after {
  opacity: 0;
}

@keyframes floating-y {
  0% {
    transform: translateY(-10%);
    scale: 1.02;
  }

  100% {
    transform: translateY(10%);
    scale: 1;
  }
}

div#mv h2 {
  font-size: 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: unset;
  transform: translate3d(-7.5em, 0em, 0);
  position: absolute;
  transition: 2s;
  -webkit-text-stroke: 0.2em #fff;
}

.container > div#members {
  max-width: unset;
  padding: unset;
  margin-top: 2em;
}

.container > div#members > div {
  position: relative;
}

.container > div#members > div > a {
  position: absolute;
  font-size: 1.5vw;
  overflow: visible;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #444;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 0 0.5em #fff, 0 0 0.5em #fff;
  line-height: 1.2;
  /* overflow: hidden; */
  opacity: 0;
  transition: opacity 0.4s, overflow 0s;
  background: radial-gradient(closest-side, #fff4, #ffffff00);
  mix-blend-mode: lighten;
}
.container > div#members > div > a span {
  font-size: 1.5vw;
  background: #fff;
  padding: 0.3em 1em 0.5em;
  border-radius: 50em;
  position: relative;
  opacity: 0.8;
}
/* .container > div#members > div > a span.top::before {
  content: "";
  position: absolute;
  bottom: 100%;
  height: 1em;
  width: auto;
  aspect-ratio: 1 / cos(30deg);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #fff;

} */

.container > div#members > div > a:hover {
  opacity: 1;
  overflow: visible;
  transition: opacity 0s, overflow 0.4s;
}

.modaal-container {
  border-radius: 30px;
  font-size: 16px;
  width: fit-content;
}

.modaal-content-container > span.story-inner {
  display: flex;
  flex-direction: column;
  width: fit-content;
  align-items: center;
  gap: 0.5em;
}
.modaal-content-container > span.story-inner h5 {
  font-size: 1.25em;
  font-weight: 500;
}
.modaal-content-container > span.story-inner img {
  width: 100%;
  max-width: 750px;
  padding-bottom: 1em;
}
/* .modaal-content-container > span.story-inner img:has(+ *) {
  border-bottom: 0.15em solid;
} */
.modaal-content-container > span.story-inner :is(p, a, b) {
  color: #333;
  text-underline-offset: 0.15em;
  padding: 0 0.5em;
  line-height: 1.3;
}
.modaal-container:has(span.story-inner) {
  width: fit-content;
}
/* .modaal-content-container:has(span.story-inner) {
  padding: 10px;
} */

.modaal-content-container .imadoko-inner {
  font-size: 1em;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modaal-content-container .imadoko-inner h4 {
  font-size: 2em;
  font-weight: 900;
  color: #3facdb;
  text-align: center;
  margin-bottom: 0.25em;
  position: relative;
  paint-order: stroke fill;
  -webkit-text-stroke: 0.2em #fff;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.75em;
  line-height: 1.25;
}
.modaal-content-container .imadoko-inner h4::before {
  position: absolute;
  content: "";
  width: 2em;
  height: auto;
  aspect-ratio: 5 / 4;
  background-image: url(../images/07.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  left: -1.25em;
  top: -0.5em;
  rotate: -15deg;
  z-index: -1;
}
.modaal-content-container .imadoko-inner h4::after {
  position: absolute;
  content: "";
  width: 2em;
  height: auto;
  aspect-ratio: 5 / 4;
  background-image: url(../images/11.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  right: -1.25em;
  bottom: -0.25em;
  rotate: 15deg;
  z-index: -1;
}
.modaal-content-container .imadoko-inner p {
  margin-top: 0.5em;
}
.modaal-content-container .imadoko-inner div.yoko2 {
  display: flex;
  width: 100%;
  gap: 1em;
  justify-content: center;
  margin-top: 1em;
}
.modaal-content-container .imadoko-inner div.yoko2 img {
  width: calc(50% - 0.5em);
  display: block;
  max-width: 400px;
}

.modaal-content-container > span.chara-inner {
  display: flex;
  flex-direction: column;
  width: fit-content;
  align-items: center;
  gap: 0.5em;
}
.modaal-content-container > span.chara-inner h5 {
  font-size: 1.3em;
  font-weight: 900;
}
.modaal-content-container > span.chara-inner img {
  width: 100%;
  max-width: 250px;
  padding-bottom: 1em;
}
.modaal-content-container > span.chara-inner img:has(+ *) {
  border-bottom: 0.15em solid;
}
.modaal-content-container > span.chara-inner :is(a, b) {
  color: #333;
  text-underline-offset: 0.15em;
  padding: 0 0.5em;
  text-align: center;
  line-height: 1.3;
}
.modaal-container:has(span.chara-inner) {
  width: fit-content;
}
.modaal-content-container:has(span.chara-inner) {
  padding: 10px;
}
.modaal-overlay {
  opacity: 0.4 !important;
}

@media (max-width: 768px) {
  .right {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: static;
    top: unset;
    opacity: 1;
    padding-bottom: 5em;
    transition: 2s;
  }
  .container h3 {
    font-size: 1.7em;
  }
  .container > div {
    padding: 0 3%;
  }
  .container * {
    font-size: clamp(2px, 4.5vw, 20px);
  }
  div#mv,
  HTML :has(#mv.side) div#mv {
    width: calc(100%);
    height: 100svh;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 2s;
    max-height: 150svw;
  }
  div#mv h2,
  HTML :has(#mv.side) div#mv h2 {
    font-size: 2.6em;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: unset;
    position: absolute;
    transition: 2s;
    width: 100%;
    transform: translate3d(0, -4em, 0);
    -webkit-text-stroke: 0.2em #fff;
  }
  .text,
  HTML :has(#mv.side) .text {
    margin-top: 2em;
    position: relative;
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.2;
    position: absolute;
    left: unset;
    text-align: center;
    transition: 2s;
    transform: translate3d(0, 7.5em, 0);
  }
  div#mv button,
  HTML :has(#mv.side) #mv button {
    width: 19em;
  }
  .text::after,
  HTML :has(#mv.side) .text::after {
    content: "＼";
    position: absolute;
    top: -0.75em;
    font-size: 1.25em;
    right: -0.75em;
    font-weight: 900;
    left: unset;
  }
  .text::before,
  HTML :has(#mv.side) .text::before {
    content: "／";
    position: absolute;
    top: -0.75em;
    left: -0.75em;
    font-size: 1.25em;
    font-weight: 900;
  }
  #read {
    margin-top: unset;
  }
  .container > div.sticky::before,
  HTML :has(#mv.side).container > div.sticky::before {
    opacity: 8;
  }
  #creator {
    position: static;
    padding: 1.5em 1em;
    border-radius: 1.2em;
    filter: unset;
    margin: 5em 0;
  }
  #creator > div {
    width: 100%;
  }
  #creator > div h4 {
    font-size: 1.5em;
    margin-bottom: 0.25em;
  }
  #creator > div img {
    width: 10em;
  }
  #creator > span {
    width: calc(100% - 0em);
    padding: 0;
  }
  #creator > *::before,
  #creator > *::after {
    content: unset;
  }
  #story > p {
    padding: 0 0.25em 0 0.5em;
  }
  .container > div#members > div > a {
    opacity: 1;
  }
  a.imadoko {
    width: 8em;
  }
  .container > div#members > div > a span {
    background: unset;
  }
}
