@charset "UTF-8";

/* ================================
   フォントの設定方法
   step1: サイトで使うフォントをすべて洗い出し、Google Fontsにアクセスして"Get font"
   step2: "Get font"したhtmlのコードをheadに貼る
   step3: "Get font"したcssのコードを_variables.scssに貼り、変数名を付ける
   step4: デフォルト以外のフォントを使いたい場面では定義した変数名を呼び出す
================================ */

.base__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* ================================
   Main Layout
================================ */

.main-layout {
  position: relative;
  overflow-x: clip;
}

/* ================================
   Main Visual / FV
================================ */

.main-hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.main-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.fv {
  padding-bottom: 60px;
}

.swiper__wrapper {
  position: relative;
  padding-top: 15px;
  padding-inline: 20px;
}

@media screen and (min-width: 768px) {
  .swiper__wrapper {
    padding-top: 40px;
    padding-inline: 60px;
    padding-bottom: 0;
  }
}

.fv-swiper {
  position: relative;
  z-index: -1;
}

.fv-swiper .fv__swiper-slide {
  border-radius: 16px;
  overflow: hidden;
}

.fv-swiper .fv__swiper-slide img {
  width: 100%;
  opacity: 0.7;
}

@media screen and (min-width: 768px) {
  .fv-swiper .fv__swiper-slide {
    border-radius: 20px;
  }
}

.fv-swiper .fv__swiper-slide::after {
  position: absolute;
  content: "";
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .fv-swiper .fv__swiper-slide::after {
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.1);
  }
}

.fv_swiper-pagination {
  bottom: 13px !important;
  left: 3.5px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 14px !important;
  height: 42px;
  padding-block: 4px;
}

@media screen and (min-width: 768px) {
  .fv_swiper-pagination {
    bottom: 0 !important;
    left: 33px !important;
    gap: 10px;
    width: 18px !important;
    height: 54px;
    padding-block: 5px;
  }
}

.fv_swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
}

@media screen and (min-width: 768px) {
  .fv_swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

.fv_swiper-button-prev,
.fv_swiper-button-next {
  width: 32px;
  height: 32px;
  top: 53% !important;
}

@media screen and (min-width: 768px) {
  .fv_swiper-button-prev,
  .fv_swiper-button-next {
    width: 48px;
    height: 48px;
  }
}

.fv_swiper-button-prev .swiper-navigation-icon,
.fv_swiper-button-next .swiper-navigation-icon {
  display: none;
}

.fv_swiper-button-prev {
  background: url("../images/front/arrow-left.png") no-repeat center
    center/contain;
}

@media screen and (min-width: 768px) {
  .fv_swiper-button-prev {
    left: 32px !important;
  }
}

.fv_swiper-button-next {
  background: url("../images/front/arrow-right.png") no-repeat center
    center/contain;
}

@media screen and (min-width: 768px) {
  .fv_swiper-button-next {
    right: 32px !important;
  }
}

.fv-text {
  padding-top: 20px;
  position: absolute;
  display: flex;
  align-items: center;
  inset: 0;
  z-index: 2;
  padding-inline: 40px;
}

@media screen and (min-width: 768px) {
  .fv-text {
    padding-left: 123px;
  }
}

.fv-text h1 {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .fv-text h1 {
    padding: 20px 24px;
    font-size: 32px;
    letter-spacing: 2.56px;
    text-decoration-thickness: 5px;
    text-underline-offset: 12px;
  }
}

/* ================================
   FV: SPだけ高さを固定して整える
================================ */

@media screen and (max-width: 767px) {
  .fv-swiper {
    height: 42vh;
    min-height: 260px;
    max-height: 360px;
  }

  .fv-swiper .swiper-wrapper,
  .fv-swiper .fv__swiper-slide {
    height: 100%;
  }

  .fv-swiper .fv__swiper-slide img {
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
  }

  .fv {
    padding-bottom: 24px;
  }

  .swiper__wrapper {
    padding-top: 20px;
    padding-inline: 16px;
  }
}

/* ================================
   Main Body Layout
================================ */

.main-body {
  position: relative;
}

@media screen and (min-width: 768px) {
  .main-body {
    margin: 0 auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
  }
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* 紙面型では中央寄せしない */
.main-content .container {
  max-width: none;
  margin: 0;
}

/* =============================
   Search
============================= */

.search {
  background: #ffffff;
  padding: 80px 0;
  padding-top: 0;
}

@media screen and (max-width: 767px) {
  .search {
    padding: 60px 0;
    padding-top: 0;
  }
}

.search__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 767px) {
  .search__inner {
    padding: 0 20px;
  }
}

.search__header {
  margin-bottom: 32px;
  text-align: center;
}

.search__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.search__lead {
  font-size: 14px;
  color: #666;
}

.search__form {
  max-width: 680px;
  margin: 0 auto;
}

.search__control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.search__input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  line-height: 1.5;
}

.search__input::placeholder {
  color: #999;
}

.search__input:focus {
  outline: none;
}

.search__submit {
  width: 56px;
  height: 52px;
  border: none;
  background: #1391e6;
  color: #ffffff;
  cursor: pointer;
  transition: filter 0.25s;
}

.search__submit:hover {
  filter: brightness(0.95);
}

/* 旧レイアウトは非表示 */
.search__fields,
.search__actions,
.search__reset,
.search__select,
.search__label,
.search__field {
  display: none;
}

/* =============================
   Quick Genre
   ジャンルから選ぶ
============================= */

.quick-genre {
  padding: 56px 0 48px;
  padding-top: 0;
  background: #ffffff;
}

.quick-genre__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 32px;
}

.quick-genre__wrapper {
  border-radius: 24px;
  padding: 36px 40px 40px;
  background: rgba(181, 140, 145, 0.08);
}

.quick-genre__title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.quick-genre__list--pill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  gap: 14px 16px;
}

.quick-genre__item {
  flex: 0 0 auto;
  margin: 0;
}

.quick-genre__btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 128px;
  min-height: 40px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #222;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.quick-genre__btn:hover {
  opacity: 0.86;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.quick-genre__badge {
  display: grid;
  place-items: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.quick-genre__badge img {
  display: none;
}

.quick-genre__label {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quick-genre__btn:hover .quick-genre__label {
  background: transparent;
  transform: none;
}

/* ジャンル別カラー */
.quick-genre .genre-love .quick-genre__badge {
  background: rgb(199.5, 168.75, 172.5);
}

.quick-genre .genre-comedy .quick-genre__badge {
  background: rgb(189.75, 183.75, 158.25);
}

.quick-genre .genre-human .quick-genre__badge {
  background: rgb(157.5, 168, 168.75);
}

.quick-genre .genre-suspense .quick-genre__badge {
  background: rgb(131.25, 131.25, 131.25);
}

.quick-genre .genre-action .quick-genre__badge {
  background: rgb(135, 150.75, 168.75);
}

.quick-genre .genre-history .quick-genre__badge {
  background: rgb(168.75, 148.5, 132);
}

.quick-genre .genre-fantasy .quick-genre__badge {
  background: rgb(144.75, 91.5, 137.25);
}

/* =============================
   Quick Tags
   特色タグ・印象タグから選ぶ
============================= */

.quick-tags {
  padding: 24px 0 72px;
}

.quick-tags__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

.quick-tags__wrapper {
  border-radius: 24px;
  background: #fff;
  padding: 36px 40px 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.quick-tags__group + .quick-tags__group {
  margin-top: 36px;
}

.quick-tags__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.quick-tags__lead {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
  margin: 0 0 18px;
}

.quick-tags__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  gap: 10px 8px;
}

.quick-tags__item {
  flex: 0 0 auto;
  margin: 0;
}

.quick-tags__link {
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.quick-tags__link.tag--sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #d8dee5;
  background: #f3f5f7;
  color: #555;
  font-size: 12px;
  font-weight: 600;
}

.quick-tags__link.tag--sub:hover {
  opacity: 0.82;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

@media screen and (max-width: 767px) {
  .quick-genre {
    padding: 40px 0 36px;
    padding-top: 0;
  }

  .quick-genre__inner,
  .quick-tags__inner {
    padding: 0 20px;
  }

  .quick-genre__wrapper,
  .quick-tags__wrapper {
    padding: 32px 24px 36px;
    border-radius: 20px;
  }

  .quick-genre__title,
  .quick-tags__title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .quick-genre__list--pill {
    max-width: 320px;
    gap: 10px 8px;
  }

  .quick-genre__btn {
    min-width: 112px;
    min-height: 36px;
    padding: 7px 12px 7px 10px;
  }

  .quick-genre__label {
    font-size: 13px;
  }

  .quick-tags {
    padding: 20px 0 56px;
  }

  .quick-tags__title {
    margin-bottom: 8px;
  }

  .quick-tags__lead {
    font-size: 12px;
    margin-bottom: 16px;
  }

  .quick-tags__group + .quick-tags__group {
    margin-top: 32px;
  }

  .quick-tags__list {
    max-width: 320px;
    gap: 10px 8px;
  }

  .quick-tags__link.tag--sub {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 12px;
  }
}

/* =============================
   Quick Tags
   俳優名から選ぶ
============================= */

.quick-tags__button-wrap {
  margin-top: 18px;
  text-align: center;
}

.quick-tags__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid #1e9bec;
  border-radius: 999px;
  background: #fff;
  color: #1e9bec;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.quick-tags__button:hover {
  background: #1e9bec;
  color: #fff;
  transform: translateY(-2px);
}

/* ================================
   Recommend
================================ */

.section--recommend {
  display: none;
}

.section--recommend1 .recommend__inner {
  max-width: 1120px;
  margin-inline: auto;
}

.section--recommend1 .recommend__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section--recommend1 .recommend__title {
  margin: 0;
}

.section--recommend1 .recommend__more {
  font-size: 14px;
  font-weight: 700;
  color: #1391e6;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.section--recommend1 .recommend__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .section--recommend1 .recommend__cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.section--recommend1 .card--split-recommend {
  display: block;
}

.section--recommend1 .card--split-recommend .card__media {
  width: 100%;
  overflow: hidden;
}

.section--recommend1 .card--split-recommend .card__media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.section--recommend1 .card--split-recommend .card__inner {
  margin-top: 8px;
}

.section--recommend1 .card--split-recommend .card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section--recommend1 .card--split-recommend .card__head h3 {
  margin: 0;
}

.section--recommend1 .card--split-recommend h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
