/* ===== FONTS ===== */
/* Overpass: English */
/* Noto Sans JP: Japanese */
@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:ital,wght@0,100..900;1,100..900&display=swap');

/* ===== VARIABLES ===== */
:root {
  --color-primary: #202124;
  --color-foreground: #fff;
  --color-black: #000;
  --color-gray: #F0F0F4;

  /* Font Family */
  --font-family-English: "Overpass", "Noto Sans JP", sans-serif;
  --font-family-primary: "Hiragino Kaku Gothic Pro", "Noto Sans JP", sans-serif;

  /* Responsive Variables */
  --sp-view-width: 440;
  
  /* Common Values */
  --border-radius: 16px;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
}

body {
  font-size: clamp(14px, calc(16 / var(--sp-view-width) * 100vw), 18px);
  line-height: 1.8;
  font-family: var(--font-family-primary);
  margin: 0;
}

button {
  display: block;
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
p {
  line-height: 1.8;
}


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

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

/* ===== UTILITY CLASSES ===== */
.lp-textLink {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  transition: var(--transition);
}

@media (hover: hover) {
  .lp-textLink:hover {
    color: var(--color-black);
    text-decoration-color: transparent;
  }
}

/* ===== LAYOUT COMPONENTS ===== */
.lp-content {
  max-width: 1540px;
  margin-inline: auto;
  padding-top: 60px;
  padding-inline: 20px;
}

.lp-content > * + * {
  margin-top: 1em;
}

.lp-content h2 + *,
.lp-content .video-container + * {
  margin-top: 30px;
}

/* ===== BUTTONS ===== */
.lp-button {
  display: inline-block;
  font-size: clamp(12px, calc(15 / var(--sp-view-width) * 100vw), 15px);
  line-height: 1;
  background-color: var(--color-black);
  padding: 16px 40px;
  color: var(--color-foreground) !important;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.lp-button:focus {
  border: 1px solid currentColor;
}

@media (hover: hover) {
  .lp-button:hover {
    color: var(--color-black) !important;
    background-color: transparent;
    border-color: var(--color-black);
    text-decoration:none;
  }
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-size: clamp(24px, calc(32 / var(--sp-view-width) * 100vw), 48px);
  font-weight: 700;
  padding-bottom: clamp(16px, calc(22 / var(--sp-view-width) * 100vw), 46px);
  border-bottom: 1px solid var(--color-primary);
  width: 100%;
  margin: 0;
  font-family: var(--font-family-English);
  letter-spacing: -0.02em;
}

.section-title.is-small {
  font-size: clamp(18px, calc(24 / var(--sp-view-width) * 100vw), 40px);
  padding-bottom: clamp(16px, calc(22 / var(--sp-view-width) * 100vw), 22px);
}

/* ===== FIRSTVIEW ===== */
.firstview {
  position: relative;
}

.firstview-image {
  display: block;
  width: 100%;
  height: 100svh;
}

.firstview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30%;
}

.firstview-text {
  position: absolute;
  bottom: clamp(110px, calc(128 / var(--sp-view-width) * 100vw), 118px);
  left: 20px;
  color: var(--color-foreground);
  font-size: calc(29 / var(--sp-view-width) * 100vw);
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-family-English);
  margin: 0;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
}

.firstview-label {
  position: absolute;
  bottom: 30px;
  right: 20px;
  width: calc(187.91 / var(--sp-view-width) * 100vw);
  min-width: 155px;
  height: auto;
}

.firstview-scroll {
  position: absolute;
  bottom: 30px;
  left: 20px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: var(--font-family-English);
  color: var(--color-foreground);
}

.firstview-scroll a {
  display: grid;
  grid-template-columns: 11px max-content;
  gap: 6px;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s ease-in-out;
}

@media (hover: hover) {
  .firstview-scroll a:hover {
    opacity: 0.7;
  }
}

/* ===== VIDEO ===== */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 88.89%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== EXHIBITION CONTENTS ===== */
.exhibition-contents {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.exhibition-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-bottom: 20px;
}

.exhibition-content-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.exhibition-content-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exhibition-content-title {
  font-size: clamp(21px, calc(30 / var(--sp-view-width) * 100vw), 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-family-English);
  margin: 0;
}

.exhibition-content-text {
  font-size: clamp(14px, calc(16 / var(--sp-view-width) * 100vw), 16px);
  margin: 0;
}

.exhibition-content-button {
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  gap: 10px;
}

/* ===== SECTIONS ===== */
.lp-content.about {
  padding-bottom: 30px;
}

.themeExplanation-image {
  margin-top: 60px;
}

.themeExplanation {
  padding-bottom: 60px;
}

.artistMessage {
  background-color: var(--color-gray);
  padding-bottom: 60px;
}

.artistMessage-button {
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  padding-block: 20px;
}

.artistMessage-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.artistMessage-profile-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.artistMessage-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artistMessage-profile-title {
  font-size: clamp(24px, calc(32 / var(--sp-view-width) * 100vw), 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-family-English);
  margin: 0;
}

.artistMessage-profile-text {
  font-size: clamp(14px, calc(16 / var(--sp-view-width) * 100vw), 16px);
  margin-top: 30px;
}

.specialLIVE-contents {
  text-align: center;
  padding-block: 60px;
  margin-top: 30px;
}

.specialLIVE-image {
  margin-top: 60px;
  max-width: 1060px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.specialLIVE-contents-comingSoon {
  font-size: clamp(24px, calc(32 / var(--sp-view-width) * 100vw), 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-family-English);
  margin: 0;
}

.activity {
  padding-bottom: 60px;
}

.activity-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.activity-content-button {
    display: flex;
      grid-template-columns: max-content;
      padding-block: 20px;
      align-items: center;
      justify-items: start;
      flex-direction: column;
      align-content: center;
      justify-content: center;
      flex-wrap: wrap;
}

.activity-content-button .lp-button {
  padding-inline: 40px;
  min-width: 300px;
  max-width: 100%;
  text-align: center;
  line-height: 1.3;
}
p a.lp-button:hover {
  text-decoration: none;
}


.activity-content-button.modal-btn {
  padding:0;
  min-width:300px;
  max-width:100%;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

@media (hover: hover) {
  .modal-overlay:hover {
    cursor: pointer;
  }
}

.modal-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  pointer-events: none;
  margin-inline: auto;
}

.modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--color-foreground);
  border-radius: var(--border-radius);
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
  pointer-events: auto;
}

.modal.is-active .modal-container {
  transform: scale(1);
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  color: var(--color-foreground);
  transition: var(--transition);
  pointer-events: auto;
}

.modal-close:hover {
  background-color: #aaa;
}

.modal-close svg {
  color:#fff;
  fill:#fff;
}

.modal-content {
  height: auto;
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}

.modal-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-text {
  padding: 40px 20px;
  font-size: clamp(14px, calc(16 / var(--sp-view-width) * 100vw), 16px);
  line-height: 1.8;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.modal-text-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.modal-text-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-title {
  font-size: clamp(24px, calc(30 / var(--sp-view-width) * 100vw), 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: var(--font-family-English);
  margin: 0;
  padding-bottom: clamp(25px, calc(30 / var(--sp-view-width) * 100vw), 30px);
  border-bottom: 1px solid var(--color-primary);
}

.modal-text strong {
  font-size: clamp(18px, calc(20 / var(--sp-view-width) * 100vw), 24px);
  font-weight: 700;
}

/* ===== INTERACTIVE ELEMENTS ===== */
.js-modal-trigger {
  cursor: pointer;
  transition: var(--transition);
}

@media (hover: hover) {
  .js-modal-trigger:hover {
    opacity: 0.7;
  }
}

.firstview-image {
  position: relative;
  width: 100%;
  height: 86vh;
  overflow: hidden;
  background:#000;
}

.firstview-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.firstview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.firstview-image img {
  height: auto;
  object-fit: initial;
  object-position: initial;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 769px) {

.firstview-video {
    object-fit: contain;
  }

  .firstview video {
    object-fit: contain;
  }

  /* Common */
  body {
    font-size: 18px;
  }

  br.is-sp-only {
    display: none;
  }

  .lp-content {
    padding-top: 100px;
    padding-inline: 240px;
  }

  .lp-content h2 + *,
  .lp-content .video-container + * {
    margin-top: 50px;
  }

  .section-title {
    font-size: 48px;
    padding-bottom: 36px;
    line-height: 1;
  }

  .section-title.is-small {
    font-size: 40px;
  }



  .firstview-text {
    font-size: 48px;
    left: 50px;
    bottom: 134px;
  }

  .firstview-label {
    bottom: 50px;
    right: 50px;
    width: 15%;
    max-width: 226px;
    min-width: initial;
  }

  .firstview-scroll {
    bottom: 50px;
    left: 50px;
  }

  .firstview-scroll a {
    gap: 12px;
  }

  /* Sections */
  .lp-content.about {
    padding-bottom: 60px;
  }

  .themeExplanation-image {
    margin-top: 100px;
  }

  .artistMessage {
    padding-bottom: 100px;
  }

  .artistMessage-button {
    padding-block: 40px 20px;
  }

  .artistMessage-profile {
    grid-template-columns: 30% 1fr;
    gap: 60px;
  }

  .artistMessage-profile-text {
    font-size: 16px !important;
  }

  .specialLIVE-contents {
    margin-top: 60px;
    padding-block: 100px;
  }

  .activity {
    padding-bottom: 100px;
  }

  .activity-content {
    grid-template-columns: 23% 1fr;
    gap: 60px;
  }

  .activity-content-text {
    font-size: 16px;
  }

  .activity-content-button {
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .activity-content-button.modal-btn {
    margin:0 auto 40px;
    padding:0
  }

  /* Exhibition Contents */
  .exhibition-contents {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    margin-top: 60px;
  }

  .exhibition-content {
    gap: 40px;
    padding-bottom: 0;
  }

  .exhibition-content-text {
    font-size: 16px;
  }

  .exhibition-content-button {
    justify-content: end;
  }

  /* Modal */
  .modal-title {
    font-size: 36px;
  }

  .modal-text strong {
    font-size: 24px;
  }

  .modal-text {
    font-size: 16px;
    padding: 40px;
  }
}