@charset "utf-8";

/* ==========================================================================
reset
========================================================================== */
/*** The new CSS reset - version 1.8.2 (last updated 23.12.2022) ***/

*:where(:not(html,iframe,canvas,img,svg,video,audio):not(svg *,symbol *)){all:unset;display:revert}*,*::before,*::after{box-sizing:border-box}a,button{cursor:revert}ol,ul,menu{list-style:none}img{max-inline-size:100%;max-block-size:100%}table{border-collapse:collapse}input,textarea{-webkit-user-select:auto}textarea{white-space:revert}meter{-webkit-appearance:revert;appearance:revert}pre{all:revert}::placeholder{color:unset}::marker{content:""}:where([hidden]){display:none}:where([contenteditable]:not([contenteditable="false"])){-moz-user-modify:read-write;-webkit-user-modify:read-write;overflow-wrap:break-word;-webkit-line-break:after-white-space;-webkit-user-select:auto}:where([draggable="true"]){-webkit-user-drag:element}:where(dialog:modal){all:revert}


/* ==========================================================================
base
========================================================================== */
:root {
  --color-blue: #0062c2;
  --color-sky-blue: #70c8d5;
  --color-green: #89ca69;
  --color-orange: #edbf67;
  --color-black: #000000;
  --color-gray: #888d93;
  --color-white: #ffffff;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', 'メイリオ', 'Meiryo', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img {
  vertical-align: middle;
}
a {
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}
button {
  transition: 0.3s;
  cursor: pointer;
}
button:hover {
  opacity: 0.7;
}

/* ==========================================================================
layout
========================================================================== */
.main {
  padding: 60px 0 1px;
  background: url('../img/bg-pattern-dot.png') repeat center top fixed;
  background-size: 100%;
}

@media screen and (max-width: 768px) {
  .main {
    padding: 50px 0 1px;
    background-size: 300%;
  }
}

.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url('../img/bg-pattern.png') no-repeat left top;
  background-size: 100% auto;
  animation: bgPattern 5s ease-in-out 0s infinite;
}

@keyframes bgPattern {
  0% {
  }

  70% {
    opacity: 1;
    transform: translateY(0);
  }

  80% {
    opacity: 0;
    transform: translateY(200px);
  }

  90% {
    opacity: 0;
    transform: translateY(-200px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contents {
  max-width: 1378px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 768px) {
  .contents {
    padding: 0 20px;
  }
}

/* ==========================================================================
共通スタイル
========================================================================== */

/*****   button   *****/
.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 40px;
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  border-radius: 40px;
  background-color: var(--color-blue);
}

@media screen and (max-width: 768px) {
  .button {
    height: 40px;
    font-size: 18px;
  }
}

.button--blank::after {
  position: absolute;
  right: 40px;
  top: 50%;
  display: block;
  width: 20px;
  height: 16px;
  background: url('../img/icon-blank.png') no-repeat center center;
  background-size: contain;
  content: '';
  transform: translateY(-50%);
}

/*****   pcのみ表示   *****/
@media screen and (max-width: 768px) {
  .only-pc {
    display: none;
  }
}

/*****   spのみ表示   *****/
.only-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .only-sp {
    display: block;
  }
}

/* ==========================================================================
個別スタイル
========================================================================== */

/*****   h1 タイトル   *****/
.heading-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  color: var(--color-white);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  background: url('../img/headline-title-background.png') no-repeat left top;
  background-size: 100% 100%;
}

.heading-title__separator {
  display: inline-block;
  padding: 0 20px;
}

.heading-title__page {
  display: inline-block;
}

.heading-title br {
  display: none;
}

@media screen and (max-width: 768px) {
  .heading-title {
    flex-direction: column;
    height: 140px;
    font-size: 22px;
    background: url('../img/headline-title-background-sp.png') no-repeat center center;
    background-size: 100% 100%;
  }

  .heading-title__separator {
    display: none;
  }

  .heading-title__page {
    display: block;
  }

  .heading-title br {
    display: block;
  }
}

/*****   メイン動画   *****/
.main-movie__video {
  width: 100%;
}

/*****   概要   *****/
.outline {
  max-width: 1050px;
  margin: 100px auto;
}

@media screen and (max-width: 768px) {
  .outline {
    margin: 60px auto;
  }
}

.outline__logo {
  width: 100%;
  max-width: 500px;
}

@media screen and (max-width: 768px) {
  .outline__logo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }
}

.outline__detail {
  margin-top: -8%;
  margin-left: 20%;
}

@media screen and (max-width: 768px) {
  .outline__detail {
    margin-top: 30px;
    margin-left: 0;
  }
}

.outline__text {
  font-size: 28px;
  font-weight: 700;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .outline__text {
    font-size: 18px;
  }
}

.outline__text--strong {
  color: var(--color-blue);
}

/*****   動画リスト概要   *****/
.outline-movie {
  max-width: 1150px;
  margin: 100px auto;
}

@media screen and (max-width: 768px) {
  .outline-movie {
    margin: 60px auto;
  }
}

.outline-movie__logo {
  width: 100%;
  max-width: 300px;
}

@media screen and (max-width: 768px) {
  .outline-movie__logo {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }
}

.outline-movie__detail {
  margin-top: -10%;
  margin-left: 30%;
}

@media screen and (max-width: 768px) {
  .outline-movie__detail {
    margin-top: 30px;
    margin-left: 0;
  }
}

.outline-movie__text {
  font-size: 24px;
  font-weight: 700;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .outline-movie__text {
    font-size: 18px;
  }
}

/*****   視聴   *****/
.how-to-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 100px;
  margin: 60px 0;
  border: 1px solid var(--color-blue);
  background-color: var(--color-white);
}

@media screen and (max-width: 768px) {
  .how-to-play {
    display: block;
    padding: 20px;
    margin: 40px 0;
  }
}

.how-to-play__detail {
  margin-right: 40px;
}

@media screen and (max-width: 768px) {
  .how-to-play__detail {
    margin-right: 0;
  }
}

.how-to-play__title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .how-to-play__title {
    font-size: 18px;
  }
}

.how-to-play__title::before {
  display: block;
  width: 42px;
  height: 32px;
  margin-right: 10px;
  background: url('../img/icon-movie.png') no-repeat center top;
  background-size: contain;
  content: '';
}

@media screen and (max-width: 768px) {
  .how-to-play__title::before {
    width: 31.5px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
  }
}

.how-to-play__text {
  margin-top: 8px;
  margin-left: 53px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .how-to-play__text {
    margin-top: 8px;
    margin-left: 0;
    font-size: 14px;
  }
}

.how-to-play__caption {
  margin-left: 53px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .how-to-play__caption {
    margin-left: 0;
    font-size: 12px;
  }
}

.how-to-play__button {
  width: 100%;
  max-width: 400px;
}

@media screen and (max-width: 768px) {
  .how-to-play__button {
    width: 100%;
    max-width: inherit;
    margin-top: 20px;
  }
}

.how-to-play__button .button {
  width: 100%;
}

/*****   サムネイルリスト   *****/
.thumbnail-list__list {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 768px) {
  .thumbnail-list__list {
    grid-template-columns: 1fr;
  }
}

.thumbnail-list__item {
  position: relative;
  padding-bottom: 80px;
  border-radius: 8px;
}

.thumbnail-list__item:nth-child(3n) {
  background-color: var(--color-orange);
}

.thumbnail-list__item:nth-child(3n+1) {
  background-color: var(--color-sky-blue);
}

.thumbnail-list__item:nth-child(3n+2) {
  background-color: var(--color-green);
}

.thumbnail-list__movie {
  padding-top: 20px;
}

.thumbnail-list__detail {
  padding: 20px;
}

.thumbnail-list__title {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .thumbnail-list__title {
    font-size: 18px;
  }
}

.thumbnail-list__text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .thumbnail-list__text {
    margin-top: 8px;
    font-size: 14px;
  }
}

.thumbnail-list__detail-button {
  position: absolute;
  bottom: 20px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px 0 30px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 46px 0 0 46px;
  background-color: var(--color-white);
}

@media screen and (max-width: 768px) {
  .thumbnail-list__detail-button {
    font-size: 14px;
  }
}

.thumbnail-list__detail-button::after {
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 20px;
  background: url('../img/icon-plus.png') no-repeat center center;
  background-size: contain;
  content: '';
}

@media screen and (max-width: 768px) {
  .thumbnail-list__detail-button::after {
    margin-left: 18px;
  }
}

/*****   動画リスト   *****/
.movie-list__list {
  display: grid;
  gap: 100px;
  grid-template-columns: 1fr;
  margin: 100px 0;
}

@media screen and (max-width: 768px) {
  .movie-list__list {
    gap: 40px;
  }
}

.movie-list__item {
  position: relative;
  display: flex;
  padding: 0 40px;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .movie-list__item {
    display: block;
    padding: 0 20px;
  }
}

.movie-list__item:nth-child(3n) {
  background-color: var(--color-orange);
}

.movie-list__item:nth-child(3n+1) {
  background-color: var(--color-sky-blue);
}

.movie-list__item:nth-child(3n+2) {
  background-color: var(--color-green);
}

.movie-list__movie {
  width: 400px;
  margin: -20px 0;
}

@media screen and (max-width: 768px) {
  .movie-list__movie {
    width: auto;
    margin: -20px 0 0;
  }
}

.movie-list__movie img {
  border-radius: 8px;
}

.movie-list__button {
  margin-top: 15px;
}

.movie-list__detail {
  flex: 1;
  padding: 40px;
}

@media screen and (max-width: 768px) {
  .movie-list__detail {
    padding: 20px 0 80px;
  }
}

.movie-list__title {
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .movie-list__title {
    font-size: 18px;
  }
}

.movie-list__text {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .movie-list__text {
    margin-top: 8px;
    font-size: 14px;
  }
}

.movie-list__detail-button {
  position: absolute;
  bottom: 20px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px 0 30px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 46px 0 0 46px;
  background-color: var(--color-white);
}

@media screen and (max-width: 768px) {
  .movie-list__detail-button {
    font-size: 14px;
  }
}

.movie-list__detail-button::after {
  display: block;
  width: 14px;
  height: 14px;
  margin-left: 20px;
  background: url('../img/icon-plus.png') no-repeat center center;
  background-size: contain;
  content: '';
}

@media screen and (max-width: 768px) {
  .movie-list__detail-button::after {
    margin-left: 18px;
  }
}

/*****   関連リンク   *****/
.relation {
  padding: 80px 0;
  background-color: var(--color-gray);
}

.relation__title {
  color: var(--color-white);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .relation__title {
    font-size: 28px;
  }
}

.relation__title-sub {
  display: block;
  font-size: 24px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .relation__title-sub {
    font-size: 18px;
  }
}

.relation__description {
  margin-top: 24px;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .relation__description {
    font-size: 18px;
    text-align: left;
  }
}

.relation__list {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 60px;
}

@media screen and (max-width: 768px) {
  .relation__list {
    gap: 20px;
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}

.relation__item {
  border-radius: 8px;
  background-color: var(--color-white);
}

.relation__link {
  display: block;
}

.relation__item-title {
  padding: 20px;
  font-size: 18px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .relation__item-title {
    font-size: 14px;
  }
}

/*****   モーダル   *****/
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 101;
  display: none;
  width: 100%;
  max-width: 80%;
  background-color: var(--color-white);
  transform: translateX(-50%) translateY(-50%);
}

.modal--show {
  display: block;
  animation: modalShow 0.3s ease;
}

@keyframes modalShow {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.modal__content {
  max-height: 80vh;
  padding: 80px 80px 40px;
  overflow-y: auto;
}

@media screen and (max-width: 768px) {
  .modal__content {
    padding: 60px 20px 20px;
  }
}

.modal__close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 30px;
  height: 30px;
}

@media screen and (max-width: 768px) {
  .modal__close {
    top: 20px;
    right: 20px;
  }
}

.modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-overlay--show {
  display: block;
  animation: modalOverlayShow 0.3s ease;
}

@keyframes modalOverlayShow {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*****   モーダル　詳細   *****/
.modal-content__title {
  padding: 0 0 16px;
  margin-bottom: 48px;
  color: var(--color-blue);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 2px solid var(--color-blue);
}

@media screen and (max-width: 768px) {
  .modal-content__title {
    margin-bottom: 40px;
    font-size: 24px;
  }
}

.modal-content__description-text {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .modal-content__description-text {
    font-size: 14px;
  }
}

.modal-content__box {
  padding: 40px;
  margin: 40px 0;
  background-color: rgba(0, 98, 194, 0.1);
}

@media screen and (max-width: 768px) {
  .modal-content__box {
    padding: 20px;
    margin: 20px 0;
  }
}

.modal-content__box-title {
  color: var(--color-blue);
  font-size: 24px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .modal-content__box-title {
    font-size: 18px;
  }
}

.modal-content__box-item {
  font-size: 18px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .modal-content__box-item {
    font-size: 14px;
  }
}
