@charset "UTF-8";
/*! destyle.css v1.0.15 | MIT License | https://github.com/nicolas-cusan/destyle.css */

* {
  box-sizing: border-box;
}

:before,
:after {
  box-sizing: inherit;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
}

main {
  display: block;
}

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid;
  margin: 0;
  clear: both;
  color: inherit;
}

pre {
  font-family: monospace, monospace;
  font-size: inherit;
}

address {
  font-style: inherit;
}

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

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: inherit;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

img {
  border-style: none;
  vertical-align: bottom;
}

embed,
object,
iframe {
  border: 0;
  vertical-align: bottom;
}

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}

[type=checkbox] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  appearance: radio;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button[disabled],
[type=button][disabled],
[type=reset][disabled],
[type=submit][disabled] {
  cursor: default;
}

input[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
}

select {
  -moz-appearance: none;
  text-indent: .01px;
  text-overflow: "";
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

select::-ms-expand {
  display: none;
}

option {
  padding: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

label[for] {
  cursor: pointer;
}

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable] {
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: 700;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

@font-face {
  font-family: PP Neue Montreal Medium;
  src: url(../fonts/fonts-ppneuemontreal-medium.woff) format("woff");
}

@font-face {
  font-family: PP Neue Montreal Book;
  src: url(../fonts/fonts-ppneuemontreal-book.woff) format("woff");
}

html {
  font-size: .7320644217vw;
  height: 100svh;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: hidden;
}

html::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1366px) and (min-width: 768px) {
  html {
    font-size: .7320644217vw;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 2.6666666667vw;
  }
}

html.is-wait {
  pointer-events: none;
  cursor: wait !important;
}

body {
  width: 100%;
  max-width: 2700px;
  height: 100svh;
  background: var(--system-background-color);
  font-size: var(--sm);
  font-family: PP Neue Montreal Medium;
  color: var(--system-color);
  letter-spacing: .02em;
  position: relative;
  overscroll-behavior: none;
  margin: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
}

@media (max-width: 767px) {
  body {
    overflow-x: clip;
  }
}

body::-webkit-scrollbar {
  display: none;
}

a {
  cursor: pointer;
}

::selection {
  background: #1d1d1d;
  color: #ccc;
}

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

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

.u-medium {
  font-family: PP Neue Montreal Medium;
}

.p-home {
  width: 100%;
  min-height: 100svh;
  background: var(--system-background-color);
  position: relative;
}

.p-bio {
  width: 100%;
  min-height: 100svh;
  background: var(--system-background-color);
  padding-inline: var(--app-grid-padding);
}

.lenis {
  width: 100%;
  height: 100%;
  overflow: scroll;
  overflow-x: hidden;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lenis::-webkit-scrollbar {
  display: none;
}

.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  border: 0;
}

.l-header {
  position: fixed;
  top: 28px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.l-header__inner {
  width: 100%;
  display: grid;
  column-gap: var(--app-grid-col-gap);
  grid-template-columns: var(--app-grid-repeat);
  padding-inline: var(--app-grid-padding);
}

@media (max-width: 767px) {
  .l-header__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.l-header__name {
  font-size: 16px;
  font-weight: 600;
  grid-column: 1 / span 2;
}

.l-header__name a {
  transition: all .4s ease;
}

@media (hover: hover) {
  .l-header__name a:hover {
    opacity: .5;
  }
}

.l-header__text {
  font-size: 12px;
  grid-column: 3 / span 6;
}

@media (max-width: 1000px) {
  .l-header__text {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 767px) {
  .l-header__text {
    display: none;
  }
}

.l-footer {
  position: fixed;
  bottom: 20px;
  width: 100%;
  z-index: 100;
  padding-inline: 20px;
}

@media (max-width: 767px) {
  .l-footer {
    bottom: 16px;
  }
}

.l-footer__copy {
  display: block;
  font-size: 10px;
  width: fit-content;
  margin-left: auto;
}

@media (max-width: 767px) {
  .l-footer__copy {
    margin: auto;
  }
}

.l-menu-button {
  position: fixed;
  top: 24px;
  right: 20px;
  width: 30px;
  height: 20px;
  z-index: 103;
}

.l-menu-button__line {
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--system-color);
}

.l-menu-button__line:nth-of-type(1) {
  top: 8px;
  left: 0;
}

.l-menu-button__line:nth-of-type(2) {
  top: 12px;
  left: 0;
}

.l-menu {
  display: flex;
  flex-direction: row-reverse;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 102;
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 767px) {
  .l-menu {
    opacity: 0;
    background: #fff;
    padding-top: 100px;
    flex-direction: column;
  }
}

.l-menu__inner {
  background: #fff;
  width: 50%;
}

@media (min-width: 768px) {
  .l-menu__inner {
    clip-path: inset(100% 0% 0% 0%);
    display: grid;
    column-gap: var(--app-grid-col-gap);
    grid-template-columns: var(--app-grid-repeat);
    padding-inline: var(--app-grid-padding);
  }
}

@media (min-width: 768px) and (max-width: 767px) {
  .l-menu__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .l-menu__inner {
    width: 100%;
    bottom: 40px;
    padding-inline: 20px;
  }
}

.l-menu__box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
  padding-bottom: 60px;
  grid-column: 15 / span 8;
}

.l-menu__box .title {
  font-size: 13px;
  color: #696969;
  margin-bottom: 6px;
}

.l-menu__box .links {
  display: flex;
}

.l-menu__box a,
.l-menu__box .text {
  font-size: 18px;
}

.l-menu__box a {
  transition: all .4s ease;
}

@media (hover: hover) {
  .l-menu__box a:hover {
    opacity: .5;
  }
}

.l-menu__box .is-current {
  opacity: .5;
  pointer-events: none;
}

.l-menu__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .l-menu__image {
    clip-path: inset(0% 0% 100% 0%);
  }
}

@media (max-width: 767px) {
  .l-menu__image {
    width: 100%;
    height: 53svh;
  }
}

@media (max-width: 450px) and (min-height: 800px) {
  .l-menu__image {
    height: 65svh;
  }
}

.l-menu__image img,
.l-menu__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-animation-logo {
  display: flex;
  width: fit-content;
  position: fixed;
  top: 25px;
  left: 20px;
  font-size: 32px;
  font-weight: 600;
  z-index: 100;
}

.c-animation-logo span:nth-of-type(2) {
  display: block;
  position: relative;
  left: -5px;
}

.c-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background: #fff;
  z-index: 9999;
}

.c-loading__text {
  display: flex;
  height: fit-content;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
}

.c-loading__text span {
  display: block;
  line-height: 1;
  opacity: 0;
}

.c-loading__text .u-space {
  width: 4px;
}

.c-loading__icon {
  width: 30px;
  opacity: 0;
  transform: translate(20px, -20px) rotate(-30deg);
  margin: 0 auto 14px;
}

.c-loading__icon img {
  width: 100%;
}

.p-home-view {
  width: fit-content;
  border-radius: 100vmax;
  background: #000000b3;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px #555 solid;
  display: flex;
  gap: 10px;
  align-items: center;
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%);
  padding: 3px;
  z-index: 100;
}

.p-home-view__button {
  min-width: 70px;
  height: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 100vmax;
  position: relative;
  z-index: 1;
  transition: all .4s ease;
}

@media (hover: hover) {
  .p-home-view__button:hover {
    opacity: .5;
  }
}

.p-home-view__button span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--system-white);
  transition: all .4s .4s ease;
}

.p-home-view__button.is-current {
  pointer-events: none;
}

.p-home-view__button.is-current span {
  color: var(--system-color);
  pointer-events: none;
}

.p-home-view__background {
  position: absolute;
  width: 70px;
  height: 26px;
  background: var(--system-white);
  border-radius: 100vmax;
}

[data-list-view] span {
  display: inline-block;
  position: relative;
  left: 2px;
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.p-home-scroll {
  position: fixed;
  left: 40px;
  bottom: 47px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .p-home-scroll {
    font-size: 12px;
    left: 50%;
    bottom: 100px;
    transform: translate(-50%);
  }
}

.p-home-grid-mode {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-height: 100svh;
}

.p-home-grid-mode.is-row {
  height: 10000px;
}

.p-home-grid-mode__contents {
  width: 47%;
  min-height: 100svh;
  display: grid;
  column-gap: 70px;
  row-gap: 70px;
  grid-template-columns: repeat(4, 1fr);
  padding-left: 20px;
  align-items: center;
  padding-block: 100px;
  position: relative;
  z-index: 1;
}

.p-home-grid-mode__contents.is-row {
  position: sticky;
  top: 0;
  width: fit-content;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  grid-auto-rows: unset;
}

.p-home-grid-mode__contents.is-row .p-home-grid-mode__item {
  width: 60svh;
}

@media (min-width: 1600px) {
  .p-home-grid-mode__contents {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 2000px) {
  .p-home-grid-mode__contents {
    column-gap: 40px;
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1300px) {
  .p-home-grid-mode__contents {
    column-gap: 40px;
  }
}

@media (max-width: 1200px) {
  .p-home-grid-mode__contents {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .p-home-grid-mode__contents {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .p-home-grid-mode__contents {
    width: 100%;
    column-gap: 10px;
    row-gap: 40px;
    grid-template-columns: repeat(3, 1fr);
    padding-inline: 20px;
    padding-block: 80px 100px;
  }
}

.p-home-grid-mode__item {
  display: flex;
  gap: 10px;
  opacity: 0;
}

.p-home-grid-mode__item-num {
  font-size: 10px;
}

.p-home-grid-mode__item-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .p-home-grid-mode__item-image {
    min-height: 100px;
    padding-top: 70%;
  }
}

@media (max-width: 767px) {
  .p-home-grid-mode__item-image {
    padding-top: 80%;
  }
}

.p-home-grid-mode__item-image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
}

.p-home-grid-mode__item-image:before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: var(--system-white);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
}

@media (hover: hover) {
  .p-home-grid-mode__item-image:hover:after {
    opacity: .7;
  }

  .p-home-grid-mode__item-image:hover:before {
    opacity: 1;
  }
}

.p-home-grid-mode__item-image img {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.p-home-grid-mode__area {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  right: 0;
  width: 50%;
  height: 100svh;
  background: #f2f2f2;
  overflow: hidden;
}

@media (max-width: 767px) {
  .p-home-grid-mode__area {
    display: none;
  }
}

.p-home-grid-mode__area-image {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  z-index: 1;
}

@media (max-width: 1250px) {
  .p-home-grid-mode__area-image {
    height: 280px;
  }
}

@media (max-width: 1170px) {
  .p-home-grid-mode__area-image {
    height: 240px;
  }
}

@media (max-width: 930px) {
  .p-home-grid-mode__area-image {
    height: 210px;
  }
}

@media (max-width: 780px) {
  .p-home-grid-mode__area-image {
    height: 190px;
  }
}

.p-home-grid-mode__area-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  opacity: 0;
}

.p-home-grid-mode__area-text {
  display: flex;
  align-items: center;
  gap: 20px;
  position: absolute;
  left: 50%;
  bottom: 14svh;
  transform: translate(-50%);
  z-index: 1;
}

.p-home-grid-mode__area-text span {
  display: block;
  font-size: 32px;
}

.p-home-grid-mode__area-text .line {
  display: block;
  width: 171px;
  height: 3px;
  background: var(--system-color);
}

.p-home-grid-mode__full {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
}

.p-home-grid-mode__full img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.leaf {
  position: absolute;
  width: 50px;
  z-index: 0;
}

.leaf:nth-of-type(2n) {
  z-index: 2;
}

.leaf img {
  width: 100%;
}

.p-bio-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100svh;
}

@media (min-width: 768px) {
  .p-bio-main__inner {
    display: grid;
    column-gap: var(--app-grid-col-gap);
    grid-template-columns: var(--app-grid-repeat);
    padding-inline: var(--app-grid-padding);
  }
}

@media (min-width: 768px) and (max-width: 767px) {
  .p-bio-main__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .p-bio-main__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.p-bio-main__item h2 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.p-bio-main__item p {
  font-size: 12px;
  word-break: break-all;
}

@media (min-width: 768px) {
  .grid-item01 {
    grid-column: 2 / span 2;
  }
}

@media (min-width: 768px) {
  .grid-item02 {
    grid-column: 5 / span 4;
  }
}

@media (min-width: 768px) {
  .grid-item03 {
    grid-column: 10 / span 6;
  }
}

@media (min-width: 768px) {
  .grid-item04 {
    grid-column: 17 / span 3;
  }
}

@media (min-width: 768px) {
  .grid-item05 {
    grid-column: 20 / span 3;
  }
}

.p-bio-main__area {
  height: 70px;
  overflow: hidden;
  position: relative;
}

.p-bio-main__area video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  object-fit: cover;
}

.p-single__grid {
  width: 100%;
  height: 100svh;
  align-items: center;
  display: grid;
  column-gap: var(--app-grid-col-gap);
  grid-template-columns: var(--app-grid-repeat);
  padding-inline: var(--app-grid-padding);
}

@media (max-width: 767px) {
  .p-single__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.p-single__grid-box {
  word-break: break-all;
}

@media (min-width: 768px) {
  .p-single__grid-box {
    grid-column: 1 / span 3;
  }
}

@media (max-width: 767px) {
  .p-single__grid-box {
    position: absolute;
    top: 24svh;
    left: 20px;
    padding-right: 60px;
  }
}

@media (max-width: 450px) and (min-height: 800px) {
  .p-single__grid-box {
    top: 29svh;
  }
}

.p-single__grid-year {
  font-size: 14px;
  margin-bottom: 10px;
}

.p-single__grid-text {
  font-size: 11px;
}

.p-single__grid-images {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .p-single__grid-images {
    grid-column: 22 / span 3;
  }
}

@media (max-width: 767px) {
  .p-single__grid-images {
    justify-content: center;
    width: 220px;
    position: absolute;
    left: 50%;
    bottom: 27svh;
    transform: translate(-50%);
    gap: 3px;
    z-index: 1;
  }
}

@media (max-width: 450px) and (min-height: 800px) {
  .p-single__grid-images {
    bottom: 30svh;
  }
}

.p-single__grid-image {
  width: 30%;
  padding-top: 25%;
  cursor: pointer;
  position: relative;
}

@media (max-width: 767px) {
  .p-single__grid-image {
    width: 15.4%;
    padding-top: 14%;
  }
}

.p-single__grid-image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
}

.p-single__grid-image:before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: var(--system-white);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
}

.p-single__grid-image.is-show:after {
  opacity: .7;
}

.p-single__grid-image.is-show:before {
  opacity: 1;
}

@media (hover: hover) {
  .p-single__grid-image:hover:after {
    opacity: .7;
  }

  .p-single__grid-image:hover:before {
    opacity: 1;
  }
}

.p-single__grid-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.p-single__grid-main-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 50svh;
  z-index: 1;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .p-single__grid-main-image {
    width: 45vw;
  }
}

@media (max-width: 1120px) {
  .p-single__grid-main-image {
    height: 40svh;
  }
}

@media (max-width: 960px) {
  .p-single__grid-main-image {
    height: 35svh;
  }
}

@media (max-width: 850px) {
  .p-single__grid-main-image {
    height: 30svh;
  }
}

@media (max-width: 767px) {
  .p-single__grid-main-image {
    height: 29svh;
  }
}

@media (max-width: 450px) and (min-height: 800px) {
  .p-single__grid-main-image {
    height: 25svh;
  }
}

.p-single__grid-main-image.is-zoom {
  width: 100vw;
  height: 100svh;
}

.p-single__grid-main-image img {
  cursor: zoom-in;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100%;
  object-fit: cover;
}

.p-single__grid-main-image img.is-zoom {
  cursor: zoom-out;
  object-fit: cover;
}

.p-single__grid-nav {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 400px;
  background: #000000b3;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px #555 solid;
  border-radius: 100vmax;
  z-index: 100;
}

@media (max-width: 767px) {
  .p-single__grid-nav {
    width: 300px;
    bottom: 50px;
  }
}

.p-single__grid-nav a {
  border-radius: 100vmax;
  transition: all .4s ease;
}

@media (hover: hover) {
  .p-single__grid-nav a:hover {
    opacity: .5;
  }
}

.p-single__grid-nav .prev,
.p-single__grid-nav .next {
  display: block;
  font-size: 14px;
  color: var(--system-white);
  padding-inline: 20px;
  padding-block: 8px;
}

@media (max-width: 767px) {
  .p-single__grid-nav .prev,
  .p-single__grid-nav .next {
    font-size: 12px;
    padding-block: 4px;
  }
}

.p-single__grid-nav .back {
  display: block;
  font-size: 20px;
  color: var(--system-white);
  padding-inline: 8px;
  padding-block: 8px;
}

@media (max-width: 767px) {
  .p-single__grid-nav .back {
    padding-block: 4px;
  }
}

:root {
  --system-color: #222222;
  --system-white: #eeeeee;
  --system-background-color: #ffffff;
  --app-grid-repeat: repeat(24, 1fr);
  --app-grid-col: 12;
  --app-grid-row: 4;
  --app-grid-col-gap: 20px;
  --app-grid-row-gap: 20px;
  --app-grid-col-gap: 10px;
  --app-grid-row-gap: 10px;
  --app-grid-padding: 20px;
}

@media (max-width: 767px) {
  :root {
    --app-grid-repeat: repeat(4, 1fr);
    --app-grid-col: 12;
    --app-grid-row: 4;
    --app-grid-col-gap: 10px;
    --app-grid-row-gap: 10px;
    --app-grid-padding: 20px;
  }
}

body {
  color: var(--system-color);
}

#webgl {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 200;
  pointer-events: none;
}

.transition-text-cover {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
  opacity: 0;
  pointer-events: none;
}

.transition-text-cover img {
  width: 52px;
}

.transition-text {
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .transition-text {
    font-size: 16px;
  }
}
