body {
  background: #ccc;
}

body:has(.modalOpen) {
  overflow: hidden;
}

.mv {
  padding-bottom: 2.5rem;
}

.mv__image {
  margin: 6.875rem auto 0;
  overflow: hidden;
  position: relative;
  width: fit-content;
}

.mv__image img {
  max-width: 72.8125rem;
  min-width: 42.875rem;
  padding: 0 1.25rem;
  width: 100%;
}

.mv__lead {
  font-size: 1rem;
  line-height: 2;
  margin: 1.75rem auto 0;
  max-width: 52.875rem;
  padding: 0 1.25rem;
  text-align: center;
}

.mv__lead span {
  font-weight: 700;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mv__flower1,
.mv__flower2,
.mv__player {
  position: absolute;
}

.mv__flower1 {
  height: auto;
  max-width: 8.875rem;
  right: 7.12%;
  top: 5.23%;
  width: 9.8611vw;
}

.mv__flower2 {
  height: auto;
  max-width: 6.075rem;
  right: 16.3%;
  top: 2.71%;
  width: 6.75vw;
}

.mv__player {
  height: auto;
  left: 5.92%;
  max-width: 17.375rem;
  top: 33.1%;
  width: 19.3056vw;
}

@media screen and (max-width: 767px) {
  .mv__image {
    height: 21.875rem;
    position: relative;
    width: 100%;
  }
  .mv__image img {
    left: 50%;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .mv__imageContainer {
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 42.875rem;
  }
  .mv__flower1 {
    height: auto;
    max-width: 8.875rem;
    right: 6.12%;
    top: 10.23%;
    width: 13%;
  }

  .mv__flower2 {
    height: auto;
    max-width: 6.075rem;
    right: 15.3%;
    top: 11.71%;
    width: 8%;
  }

  .mv__player {
    height: auto;
    left: 4.92%;
    max-width: 17.375rem;
    top: 35.6%;
    width: 23%;
  }
  .mv__lead {
    font-size: min(3.733vw, 1rem);
  }
}

@media screen and (max-width: 550px) {
  .mv__flower1 {
    max-width: 8.875rem;
    right: 18.82%;
    top: -0.77%;
    width: 10.4%;
  }
  .mv__flower2 {
    max-width: 6.075rem;
    right: 27.3%;
    top: 5.41%;
    width: 7.1%;
  }
  .mv__player {
    left: 19.92%;
    max-width: 17.375rem;
    top: 54.6%;
    width: 20.3%;
  }
}

/* Theme list */

.themeListArea {
  padding: 2.5rem 1.25rem 3.75rem;
}

.themeList__title {
  font-family: var(--familyInter);
  font-size: var(--fontMax18Min16);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
}

.themeList {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.themeList li a {
  align-items: center;
  background-image: url(../../images/top/icon-theme_texture.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: var(--familyInter);
  font-size: 1.25rem;
  height: 8.75rem;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1.2;
  position: relative;
  text-align: center;
  width: 8.75rem;
  word-break: break-word;
}

.themeList li a::before {
  background: url(../../images/top/icon-circles.png) no-repeat center / cover;
  content: "";
  display: block;
  height: 8.75rem;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8.75rem;
}

@media screen and (max-width: 767px) {
  .themeList {
    display: grid;
    gap: 0.625rem;
    grid-auto-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    margin: 2rem auto 0;
    max-width: 23.75rem;
    width: 100%;
  }
  .themeList li a {
    border-radius: 100px;
    font-size: 1rem;
    height: 100%;
    line-height: 1.15;
    max-width: 12.5rem;
    padding: 0.625rem 0.5rem;
    width: 100%;
  }
  .themeList li a::before {
    display: none;
  }
}

/* Theme Groups */

.themeGroups {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 11.1111vw, 10rem);
  padding-bottom: clamp(4rem, 11.1111vw, 10rem);
}

.theme__heading {
  display: flex;
  flex-direction: column;
}

.theme__section {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.theme__sectionLead {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.theme__image {
  aspect-ratio: 680 / 380;
  height: auto;
  max-width: 42.5rem;
  min-width: 20rem;
  position: absolute;
  top: 0;
  width: 47.22vw;
  z-index: -1;
}

.theme__section:nth-child(odd) .theme__heading {
  text-align: start;
}

.theme__section:nth-child(even) .theme__heading {
  text-align: end;
}

.theme__section:nth-child(odd) .theme__image {
  right: 0;
}

.theme__section:nth-child(even) .theme__image {
  left: 0;
}

.theme__image img {
  height: 100%;
  width: 100%;
}

.theme__section:nth-child(even) .theme__image img {
  transform: scaleX(-1);
}
/* 
.theme__image.theme__image--morning img {
    max-width: clamp(19.9375rem, 45.13vw, 42.375rem);
}

.theme__image.theme__image--work img {
    max-width: clamp(14.375rem, 35.27vw, 31.75rem);
}

.theme__section:nth-child(odd) #theme__image--play {
    right: clamp(2.25rem, 10.4861vw, 9.4375rem);
}

.theme__section:nth-child(even) #theme__image--play {
    left: clamp(2.25rem, 10.4861vw, 9.4375rem);
}

.theme__image.theme__image--play img {
    max-width: clamp(5.6875rem, 12.7vw, 11.4375rem);
}

.theme__image.theme__image--relax img {
    max-width: clamp(16.75rem, 39.3056vw, 35.375rem);
}

.theme__image.theme__image--sleep img {
    max-width: clamp(11.4583vw, 26.9444vw, 24.25rem);
}

.theme__section:nth-child(odd) #theme__image--special {
    right: clamp(0px, 4.9306vw, 4.4375rem);
}

.theme__section:nth-child(even) #theme__image--special {
    left: clamp(0px, 4.9306vw, 4.4375rem);
}

.theme__image.theme__image--special img {
    max-width: clamp(9.9375rem, 22.1528vw, 19.9375rem);
} */

.theme__container {
  margin: 0 auto;
  max-width: 77.5rem;
  padding: clamp(4rem, 12.9032vw, 10rem) 1.25rem 0;
}

.theme__sectionTitle {
  color: #fff;
  font-family: "brandon-grotesque", sans-serif;
  /* Max 100 Min 56*/
  font-size: clamp(3.5rem, 1.801rem + 4.94vw, 6.25rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
  opacity: 0.4;
}

.themeSwiper {
  margin-top: 1.5rem;
  overflow: visible;
  padding-bottom: 1.75rem;
}

.themeSlide {
  display: grid;
  grid-template-rows: auto 1fr;
  height: auto;
  max-width: 16.25rem;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.themeSlide__thumbnail {
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  position: relative;
}

.themeSlide__thumbnail img {
  width: 100%;
}

.themeSlide__body {
  background: #fff;
  border-radius: 0 0 6px 6px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 0.625rem 1rem 1.125rem;
}

.themeSlide__newLabel {
  align-items: center;
  background: #c51e00;
  border-radius: 100px;
  color: #fff;
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  height: 1rem;
  justify-content: center;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 0.5rem;
  max-width: fit-content;
  padding: 0 0.625rem;
  width: 100%;
}

.themeSlide__text {
  line-height: 1.45;
  word-break: break-word;
}

.themeSlide__button {
  align-items: center;
  background: var(--colorBlack);
  border-radius: 100px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: var(--familyInter);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
  height: 2.125rem;
  justify-content: center;
  line-height: 1;
  margin: 0.5rem auto 0;
  max-width: 7.25rem;
  padding: 0 1rem 0 0.625rem;
  width: 100%;
}

.themeSlide__button img {
  max-width: 0.875rem;
}

.modalBackdrop {
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: 0.2s;
  visibility: hidden;
  width: 100%;
  z-index: 15;
}

.modalBackdrop.modalOpen {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.playlistModal {
  background: #c9c9c9;
  border-radius: 10px;
  bottom: 0;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
  height: fit-content;
  left: 50%;
  opacity: 0;
  padding: 1rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transition: 0.2s;
  visibility: hidden;
  width: calc(100% + 26px);
}

.modalOpen .playlistModal {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
}

.playlistModal__nav {
  margin-top: 0.75rem;
}

.playlistModal__nav ul {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

.playlistModal .popupClose {
  color: var(--colorBlack);
  margin: 0.5rem auto 0;
}

@media screen and (max-width: 767px) {
  .themeSlide {
    max-width: 10.625rem;
  }

  .themeSlide__body {
    padding: 0.375rem 0.625rem 0.75rem;
  }

  .themeSlide__button {
    margin-top: 0.25rem;
  }
}

@media screen and (max-width: 400px) {
  .themeSlide {
    max-width: 45%;
  }
}

/* Playlist Popup Modal */

.playlistPopup {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 16px;
  left: 50%;
  max-width: 34.25rem;
  padding: 1.5rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
  width: 85vw;
  z-index: 15;
}

.playlistPopup__contents {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.playlistPopup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  visibility: hidden;
}

.playlistPopup__title {
  color: #fff;
  font-size: var(--fontMax18Min16);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-align: center;
}

.playlistPopup__thumbnail {
  display: flex;
  flex-direction: column;
  max-width: 16.25rem;
}

.playlistPopup__figcaption {
  background: #fff;
  border-radius: 0 0 8px 8px;
  padding: 0.625rem 1rem;
}

.playlistPopup__thumbnailImage {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.playlistPopup__thumbnailImage img {
  width: 100%;
}

.campaign__banner {
  display: flex;
  height: auto;
  justify-content: center;
  width: 100%;
}

.campaign__banner img {
  max-width: calc(100% - 2.5rem);
}

.playlistPopup__description {
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.45;
  padding: 0 clamp(0.75rem, 6.2vw, 1.875rem);
  word-break: break-word;
}

.playlistPopup__navList {
  display: grid;
  gap: 1rem 0.5rem;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0 clamp(0.75rem, 6.2vw, 1.875rem);
}

.popupClose {
  align-items: center;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: var(--familyInter);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.25rem;
  justify-content: center;
}

.popupClose__cross img {
  width: 1.5rem;
}

.popupCampaign__link {
  align-items: center;
  background: #fff;
  border-radius: 100px;
  color: var(--colorBlack);
  display: flex;
  font-family: var(--familyShueiMGoStd);
  font-size: 1.125rem;
  font-weight: 700;
  justify-content: center;
  min-height: 3.375rem;
  padding: 0.5rem 2rem;
  width: fit-content;
}

.playlistPopup__contents {
	max-height: 80svh;
	overflow-y: auto;
}
/* width */
.playlistPopup__contents::-webkit-scrollbar {
	width: 4px;
}

/* Track */
.playlistPopup__contents::-webkit-scrollbar-track {
	background: transparent;
}

/* Handle */
.playlistPopup__contents::-webkit-scrollbar-thumb {
	background: #888;
}

/* Handle on hover */
.playlistPopup__contents::-webkit-scrollbar-thumb:hover {
	background: #555;
}

@media screen and (max-width: 767px) {
	.playlistPopup__description {
		text-align: center;
	}
}

@media screen and (max-width: 400px) {
  .playlistPopup {
    padding: 1.5rem 1rem;
    width: 90vw;
  }
}

/* Promotion */

.promotion {
  background: #fff;
  padding: 1.5rem 1.25rem 1.875rem;
}

.promotion__text {
  line-height: 2;
  text-align: center;
}

.promotion__list {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.625rem;
}

.promotion__item a {
  align-items: center;
  border: 1px solid #000;
  border-radius: 100px;
  cursor: pointer;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1.5rem 1fr;
  height: 2.5rem;
  justify-content: center;
  padding: 0 1rem;
  width: 8.75rem;
}

.promotion__linkText {
  font-family: var(--familyInter);
  line-height: 1;
  text-align: center;
}

.singlePlaylistModal {
  background: #c9c9c9;
  border-radius: 10px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
  display: none;
  left: 50%;
  max-height: 80dvh;
  max-width: 25rem;
  opacity: 0;
  overflow-y: auto;
  padding: 1rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transition: 0.2s;
  visibility: hidden;
  width: 85vw;
  z-index: 15;
}

.singlePlaylistModal.modalOpen {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
}

.singlePlaylistModal__title {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

.singlePlaylistModal__text {
  font-size: 1rem;
  margin-top: 1rem;
}

.singlePlaylistModal__nav {
  margin-top: 1rem;
}

.singlePlaylistModal__nav ul {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}

.singlePlaylistModal__nav .popupClose {
  color: var(--colorBlack);
  margin: 0.5rem auto 0;
}

.singlePlaylistModal .popupClose {
  margin: 1rem auto 0;
}

.singlePlaylistModal .popupClose__cross {
  transform: translateY(0.125rem);
}

.singlePlaylistModal__overlay {
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.4);
  bottom: 0;
  display: none;
  height: 100%;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transition: 0.2s;
  visibility: hidden;
  width: 100%;
  z-index: 14;
}

.singlePlaylistModal__overlay.modalOpen {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

@media screen and (max-width: 767px) {
  .promotion__list {
    gap: 0.25rem;
  }
  .promotion__item a {
    max-width: 6.8125rem;
    width: 100%;
  }
  .promotion__linkText {
    font-size: 0.875rem;
  }
  .playlistPopup__navList {
    grid-template-columns: 1fr 1fr;
  }
  .singlePlaylistModal,
  .singlePlaylistModal__overlay {
    display: block;
  }
}
