/*******************/
/* 詳細ページ
********************/
/* slider
**************/

#visual .splide .splide__slide {
  max-width: none;
  min-width: auto;
  padding: 0;
  margin: 0;
}

#visual .splide .splide__slide img {
  /* width: 100%; */
  /* height: 100%; */
  display: block;
  /* object-fit: cover; */
  overflow: hidden;
}

#visual .splide-thumbnail .splide__slide {
  display: inline-block;
}

#visual .splide-thumbnail .splide__list {
  flex-wrap: nowrap;
  transform: none !important;
  width: fit-content;
  margin: 0 auto !important;
}

#visual .splide-thumbnail .splide__track {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

#visual .splide-thumbnail .splide__slide {
  flex: 0 0 auto;
  width: auto;
}

@media (max-width: 767px) {
  /* #visual .splide-main .splide__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

#visual .splide-main .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
} */

  #visual {
    margin-top: calc(64 / var(--base-font-size-row-value) * 1rem);
  }

  #visual .splide-thumbnail {
    margin-top: calc(15/var(--base-font-size-row-value) * 1rem);
  }

  #visual .splide-main .splide__slide {
    width: 100%;
    height: auto;
    /* width: calc(375/var(--base-font-size-row-value) * 1rem) !important; */
    /* height: calc(553/var(--base-font-size-row-value) * 1rem) !important; */
  }

  #visual .splide-thumbnail .splide__slide {
    width: calc(34/var(--base-font-size-row-value) * 1rem) !important;
    height: calc(50/var(--base-font-size-row-value) * 1rem) !important;
  }

  #visual .splide-main .splide__slide {
    opacity: 0;
    transition: opacity 1s ease;
  }

  #visual .splide-main .splide__slide.is-active {
    opacity: 1;
    z-index: 1;
  }

  #visual .splide .splide__slide img {
    width: 100%;
  }

}

@media (min-width: 768px) {
  #visual .splide .splide__slide {
    display: inline-block;
  }

  #visual .splide-thumbnail {
    margin-top: calc(20/var(--base-font-size-row-value) * 1rem);
  }

  #visual .splide-main .splide__slide {
    /* width: calc(488/var(--base-font-size-row-value) * 1rem) !important; */
    height: calc(670/var(--base-font-size-row-value) * 1rem) !important;
  }

  #visual .splide-thumbnail .splide__slide {
    width: calc(68/var(--base-font-size-row-value) * 1rem) !important;
    height: calc(100/var(--base-font-size-row-value) * 1rem) !important;
  }

}

/* profile
**************/
section:not(#cast) {
  padding-top: 0;
  padding-bottom: 0;
}

section#profile {
  width: 92%;
  max-width: 1003px;
  margin: 0 auto;
}

#profile>.container {
  position: relative;
  background: var(--gradient-color-5);
}

#profile>.container .new,
#profile>.container .icon {
  position: absolute;
}

#profile>.container .icon {
  display: flex;
  justify-content: end;
  gap: 0.1rem;
}

#profile>.container .icon div,
#profile>.container .icon img {
  /* aspect-ratio: 1 / 1; */
}

#profile>.container .name {
  display: flex;
  align-items: center;
  letter-spacing: 0.1em;
}

#profile>.container .waiting-wrapper {
  display: grid;
  text-align: center;
}

#profile>.container .waiting-wrapper .waiting {
  padding: calc(10/var(--base-font-size-row-value) * 1rem) 0;
}

#profile>.container .tag ul {
  display: grid;
  text-align: center;
  color: var(--primary-color);
}

#profile>.container .tag ul li {
  padding: calc(6/var(--base-font-size-row-value) * 1rem);
}

@media (max-width: 767px) {
  section#profile {
    padding-top: calc(40/var(--base-font-size-row-value) * 1rem);
  }

  section#recommend {
    padding-bottom: calc(60/var(--base-font-size-row-value) * 1rem);
  }

  section+section {
    padding-top: calc(75/var(--base-font-size-row-value) * 1rem) !important;
  }

  #profile>.container {
    padding: calc(25/var(--base-font-size-row-value) * 1rem) calc(40/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .new {
    top: calc(-15/var(--base-font-size-row-value) * 1rem);
    left: calc(-15/var(--base-font-size-row-value) * 1rem);
    width: calc(60/var(--base-font-size-row-value) * 1rem);
    height: calc(40/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .icon {
    top: calc(-15/var(--base-font-size-row-value) * 1rem);
    right: calc(-15/var(--base-font-size-row-value) * 1rem);
    height: calc(30/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .catch {
    margin-bottom: calc(5/var(--base-font-size-row-value) * 1rem);
    font-size: calc(12/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .name {
    gap: calc(10/var(--base-font-size-row-value) * 1rem);
    font-size: calc(21/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .name span {
    font-size: calc(13/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .prof {
    margin-bottom: calc(20/var(--base-font-size-row-value) * 1rem);
    font-size: calc(12/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .waiting-wrapper {
    grid-template-columns: 1fr;
    font-size: calc(12/var(--base-font-size-row-value) * 1rem);
    gap: calc(5/var(--base-font-size-row-value) * 1rem);
    margin-bottom: calc(10/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .tag {
    font-size: calc(8.5/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .tag ul {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(5/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .name .x-icon {
    width: calc(21/var(--base-font-size-row-value) * 1rem);
    height: calc(21/var(--base-font-size-row-value) * 1rem);
  }
}

@media (min-width: 768px) {
  section#profile {
    padding-top: calc(100/var(--base-font-size-row-value) * 1rem);
  }

  section#recommend {
    padding-bottom: calc(140/var(--base-font-size-row-value) * 1rem);
  }

  section+section {
    padding-top: calc(200/var(--base-font-size-row-value) * 1rem) !important;
  }

  #profile>.container {
    padding: calc(80/var(--base-font-size-row-value) * 1rem) calc(120/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .new {
    top: calc(-50/var(--base-font-size-row-value) * 1rem);
    left: calc(-50/var(--base-font-size-row-value) * 1rem);
    width: calc(160/var(--base-font-size-row-value) * 1rem);
    height: calc(106/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .icon {
    top: calc(-30/var(--base-font-size-row-value) * 1rem);
    right: calc(-30/var(--base-font-size-row-value) * 1rem);
    width: 100%;
    height: calc(60/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .catch {
    margin-bottom: calc(10/var(--base-font-size-row-value) * 1rem);
    font-size: calc(20/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .name {
    gap: calc(20/var(--base-font-size-row-value) * 1rem);
    font-size: calc(56/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .name span {
    font-size: calc(32/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .prof {
    margin-bottom: calc(40/var(--base-font-size-row-value) * 1rem);
    font-size: calc(24/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .waiting-wrapper {
    grid-template-columns: repeat(2, 1fr);
    font-size: calc(20/var(--base-font-size-row-value) * 1rem);
    gap: calc(40/var(--base-font-size-row-value) * 1rem);
    margin-bottom: calc(20/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .tag {
    font-size: calc(15/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .tag ul {
    grid-template-columns: repeat(4, 1fr);
    gap: calc(6/var(--base-font-size-row-value) * 1rem);
  }

  #profile>.container .name .x-icon {
    width: calc(50/var(--base-font-size-row-value) * 1rem);
    height: calc(50/var(--base-font-size-row-value) * 1rem);
  }

}

/* schedule
**************/
.schedule-list {
  display: grid;
  gap: calc(10/var(--base-font-size-row-value) * 1rem);
  width: 92%;
  max-width: 902px;
  margin: 0 auto;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 25% 1fr;
  text-align: center;
  font-weight: 400;
}

.schedule-list li .date,
.schedule-list li .time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.schedule-list li .date {
  background: var(--gradient-color-5);
}

.schedule-list li .time {
  background-color: #fff;
  border: 1px solid var(--secondary-color);
  border-left: none;
}

/* .schedule-list li span {
  display: block;
  line-height: 1.2;
} */

.reserve-btn {
  position: relative;
  width: 80%;
  max-width: calc(292/var(--base-font-size-row-value) * 1rem);
  margin: 0 auto;
  text-align: center;
  color: #fff;
  background: var(--gradient-color-1);
  letter-spacing: 0.2em;
}

.reserve-btn a {
  display: block;
  padding: calc(8/var(--base-font-size-row-value) * 1rem);
  width: 100%;
}

.reserve-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(10/var(--base-font-size-row-value) * 1rem);
  width: calc(10/var(--base-font-size-row-value) * 1rem);
  height: calc(12/var(--base-font-size-row-value) * 1rem);
  display: block;
  background-color: #fff;
  mask: url('../img/common/arrow.svg') no-repeat center;
  mask-size: contain;
  transform: translateY(-50%);
  z-index: 1;
}

@media (max-width: 767px) {
  .schedule-list {
    margin: 0 auto calc(30/var(--base-font-size-row-value) * 1rem);
    font-size: calc(10/var(--base-font-size-row-value) * 1rem);
  }

  .schedule-list li .date {
    padding: calc(5/var(--base-font-size-row-value) * 1rem) 0;
  }

  .schedule-list li .time {
    padding: calc(5/var(--base-font-size-row-value) * 1rem);
    height: calc(60/var(--base-font-size-row-value) * 1rem);
  }

  .reserve-btn a {
    font-size: calc(17/var(--base-font-size-row-value) * 1rem);
  }
}

@media (min-width: 768px) {
  .schedule-list {
    margin: 0 auto calc(60/var(--base-font-size-row-value) * 1rem);
    font-size: calc(16/var(--base-font-size-row-value) * 1rem);
  }

  .schedule-list li .date {
    padding: calc(15/var(--base-font-size-row-value) * 1rem) 0;
  }

  .schedule-list li .time {
    padding: calc(20/var(--base-font-size-row-value) * 1rem) 0;
    height: calc(100/var(--base-font-size-row-value) * 1rem);
  }

  .reserve-btn a {
    font-size: calc(20/var(--base-font-size-row-value) * 1rem);
  }
}

/* コメント
/* メッセージ
**************/
#comment,
#message {
  width: 92%;
  max-width: 1728px;
  margin: 0 auto;

}

#comment .column-layout,
#message .column-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5vw;
}

#comment .text,
#message .text {
  width: 100%;
  max-width: calc(600/var(--base-font-size-row-value) * 1rem);
  height: fit-content;
  max-height: calc(600/var(--base-font-size-row-value) * 1rem);
  overflow-y: auto;
  overflow-x: hidden;
  word-wrap: break-word;
  white-space: normal;
  text-align: left;
  font-weight: 400;
}

@media (max-width: 1500px) {

  #comment .column-layout,
  #message .column-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #comment .column-layout,
  #message .column-layout {
    gap: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {

  #comment .text,
  #message .text {
    max-height: calc(300/var(--base-font-size-row-value) * 1rem);
    font-size: calc(12/var(--base-font-size-row-value) * 1rem);
    ;
  }
}

/* コンテンツ
**************/
#content .contents {
  width: 92%;
  max-width: 1500px;
  margin: 0 auto;
}

#content .contents ul {
  display: grid;
}

#content .contents ul li .movie-box,
#content .contents ul li .gravure-box {
  display: block;
  aspect-ratio: 16 / 9 !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto !important;
}

#content .contents ul li iframe,
#content .contents ul li video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#content .contents ul li .gravure-box a {
  display: block;
  width: 100%;
  height: 100%;
}

#content .contents ul h3 {
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


#content .contents ul li .gravure-box img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#content .contents ul li .gravure-box a:hover img {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  #content .contents ul {
    grid-template-columns: 1fr;
    gap: calc(30/var(--base-font-size-row-value) * 1rem);
    max-width: 100% !important;
  }

  #content .contents ul h3 {
    font-size: calc(18/var(--base-font-size-row-value) * 1rem);
    margin-bottom: calc(15/var(--base-font-size-row-value) * 1rem);
  }

  .contents .gravure-box>a[rel="modal:open"] {
    /* pointer-events: none; */
  }
}

@media (min-width: 768px) {
  #content .contents ul {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(60/var(--base-font-size-row-value) * 1rem);
  }

  #content .contents ul h3 {
    font-size: calc(20/var(--base-font-size-row-value) * 1rem);
    margin-bottom: calc(30/var(--base-font-size-row-value) * 1rem);
  }
}

/* 写メ日記
**************/
#diary .contents {
  width: 92%;
  max-width: 1500px;
  margin: 0 auto;
}

/* フリータグ
**************/
#free .container {
  display: flex;
  flex-direction: column;
  width: 92%;
  max-width: 1024px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

#free .container iframe,
#free .container video {
  width: 100% !important;
}


/* recommend
**************/
section#recommend .container {
  width: 92%;
}

.splide-recommend .splide__slide {
  margin-right: 0;
}

section .splide-recommend .splide__arrow--prev svg {
  transform: translate(0, -50%) rotate(180deg);
}

section .splide-recommend .splide__arrow--next svg {
  transform: translate(0, -50%);
}

@media (max-width: 767px) {
  .splide-recommend .splide__slide {
    max-width: calc(167 / var(--base-font-size-row-value) * 1rem);
    min-width: calc(167 / var(--base-font-size-row-value) * 1rem);
  }

  section .splide-recommend .splide__arrow--prev svg {
    right: inherit;
    left: calc(-10 / var(--base-font-size-row-value) * 1rem);
  }

  section .splide-recommend .splide__arrow--next svg {
    left: inherit;
    right: calc(-10 / var(--base-font-size-row-value) * 1rem);
  }
}

@media (min-width: 768px) {
  .splide-recommend .splide__slide {
    max-width: calc(334 / var(--base-font-size-row-value) * 1rem);
    min-width: calc(334 / var(--base-font-size-row-value) * 1rem);
  }

  section .splide-recommend .splide__arrow--prev svg {
    right: inherit;
    left: calc(-50 / var(--base-font-size-row-value) * 1rem);
  }

  section .splide-recommend .splide__arrow--next svg {
    left: inherit;
    right: calc(-50 / var(--base-font-size-row-value) * 1rem);
  }
}

@media (min-width: 1024px) {
  section .splide-recommend .splide__arrow--prev svg {
    right: inherit;
    left: calc(-50 / var(--base-font-size-row-value) * 1rem);
  }

  section .splide-recommend .splide__arrow--next svg {
    left: inherit;
    right: calc(-50 / var(--base-font-size-row-value) * 1rem);
  }
}

/* 急上昇キャスト画像アニメーション
****************************************/
/* .hot {
    position: relative;
}

.hot::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 25%,
        rgba(255,255,255,.6) 50%,
        rgba(255,255,255,0) 75%
    );
    transform: skewX(-15deg);
    animation: shine-cast 2s linear infinite;
    pointer-events: none;
}

@keyframes shine-cast {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
} */

.cast-card .img {
    position: relative;
    overflow: hidden;
}

.cast-card .img.hot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 20%,
        rgba(255,255,255,.8) 50%,
        rgba(255,255,255,0) 80%
    );
    transform: skewX(-35deg);
    animation: shine-cast 5s linear infinite;
    pointer-events: none;
}

/* アニメーション定義 */
@keyframes shine-cast {
    0% {
        left: -100%;
    }
    6% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}