:root {
  --text-color: #000000;
  --bg-color: rgba(255, 255, 255, 0.9);
  --animation-duration: 1.6s;
  --animation-delay: 0.4s;
}

img {
  height: auto;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

@media (hover: hover) {
  a:not([class]) {
    transition: opacity 0.6s ease-out;

    &:hover {
      opacity: 0.5;
    }
  }
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

.pc {
  display: none;
}

@media screen and (min-width: 600px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }
}

@media screen and (max-width: 374px) {
  html {
    font-size: 4.27vw;
  }
}

body {
  font-weight: 400;
  font-family: Koburina Gothic W3 JIS2004;
  color: var(--text-color);
  transition: opacity var(--animation-duration) var(--animation-delay);
}

body.is-loaded {
}

/* mv */
.mv {
  position: relative;
  overflow: hidden;
  height: 100svh;

  img {
    width: 100%;
    max-width: unset;
    height: auto;
  }
}

.mv__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100vw, calc(100svh * 416 / 800));
  aspect-ratio: 416 / 800;
}

.mv__title {
  position: absolute;
  clip-path: inset(0, 0, 0, 0);
  overflow: hidden;
  /* top: calc(66 / 800 * 100%);
  left: calc(76 / 416 * 100%);
  width: calc(43 / 416 * 100%); */
  width: 1px;
  height: 1px;
  /* aspect-ratio: 43/221; */
}
/* 
.mv__title--01 {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: calc(15 / 43 * 100%);
  clip-path: inset(0 0 100% 0);
}

.mv__title--02 {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: calc(15 / 43 * 100%);
  clip-path: inset(0 0 100% 0);
} */

.mv__logo {
  position: absolute;
  top: calc(77 / 800 * 100%);
  left: calc(42 / 416 * 100%);
  width: calc(174 / 416 * 100%);
  opacity: 0;
}

@media screen and (min-width: 600px) {
  .mv__inner {
    width: max(100vw, calc(100svh * 1380 / 900));
    aspect-ratio: 1380 / 900;
  }
  /* 
  .mv__title {
    position: absolute;
    top: calc(220 / 900 * 100%);
    left: calc(371 / 1380 * 100%);
    width: calc(49 / 1380 * 100%);
    aspect-ratio: 49/221;
  } */

  .mv__logo {
    position: absolute;
    top: calc(279 / 900 * 100%);
    left: calc(277 / 1380 * 100%);
    width: calc(222 / 1380 * 100%);
  }
}

/* content */
.content {
  background: rgba(255, 255, 255, 0.9);
}

/* yodogawa */
.yodogawa {
  padding: 5rem 1.25rem;
  color: #2f2f2f;
}

.yodogawa__inner {
  display: grid;
  justify-content: center;
}

.yodogawa__text {
  font-size: 0.875rem;
  line-height: 2.15;
  letter-spacing: 0.08em;
  line-break: strict;
}

.yodogawa__text p + p {
  margin-top: 2.2em;
}

.yodogawa__sale {
  margin-top: 1.75rem;

  img {
    width: 14.8125rem;
    height: 4.6875rem;
    object-fit: contain;
  }
}

.yodogawa__buttons {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.yodogawa__button {
  display: block;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  line-height: 2.3;
  /* font-feature-settings: "palt"; */
  color: var(--text-color);
  background: #e0e0e0;
  border: none;
  letter-spacing: 0.11em;
  transition:
    background-color 0.8s,
    color 0.8s;
}

@media screen and (min-width: 600px) {
  .yodogawa {
    padding: 5.875rem 1.25rem;
    color: #2f2f2f;
  }
}

@media (hover: hover) {
  .yodogawa__button:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
  }
}

/* info */
.info {
  padding: 3.125rem;
  background: #fff;
}

.info__inner {
  display: grid;
  justify-content: center;
}

.info__title {
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0.11em;
}

.info__text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 2.15;
  letter-spacing: 0.08em;
}

.info__body {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #000;
}

.info-block {
  + .info-block {
    margin-top: 0.75rem;
  }
}

.info-block__title {
  font-size: 1rem;
  line-height: 2.1875;
  letter-spacing: 0.11em;
}

.info-block__text {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

@media screen and (min-width: 600px) {
  .info {
    padding: 4.375rem 2.5rem;
  }

  .info__body {
    width: 24.8125rem;
  }

  .info-block {
    + .info-block {
      margin-top: 0.75rem;
    }
  }
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  transition:
    opacity 0.8s,
    visibility 0.8s;
  opacity: 0;
  visibility: hidden;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__layer {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  height: 100%;
  width: 100%;
  padding: 100px 8px;
  background: rgba(0, 0, 0, 0.2);
}

.modal__inner {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 605px;
  max-height: 100%;
  position: relative;
  background: #fff;
}

.modal__wrapper {
  min-height: 0;
  overflow-y: auto;
}

.modal__content {
  display: grid;
  justify-content: center;
  padding: 64px 42px;
}

.modal__title {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.11em;
}

.modal__text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: 0.08em;
}

.pc {
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 14px;
  display: block;
  width: 15px;
  padding: 0;
  background: none;
  border: none;
}

/* bg */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
}

.bg img,
.bg picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
