@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #000000;
  --black-color02: #272d3b;
  --white-color: #fff;
  --gray-color: #aaa;
  --primary-color: #81ba1c;
  --accent-color: #7e57c6;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width: 1020px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
  --z-opening: 9999;
}

/* ---------- base ---------- */

html {
  scroll-behavior: smooth;
  /* モダンブラウザでのスムーススクロール */
}

body {
  font-size: 2.93vw;
  font-family: "Meiryo", "メイリオ", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--white-color);
}

@media screen and (min-width: 768px) {
  body {
    font-size: 14px;
  }
}

@media screen and (min-width: 1080px) {
  body {
    font-size: 16px;
  }
}

/* タップした際の青い四角を削除 */
button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ---------- layout ---------- */
.l_container {
  width: 100%;
  padding: 0 4.26vw;
  margin: 0 auto;
  max-width: calc(var(--content-width) + 32px);
}

@media screen and (min-width: 768px) {
  .l_container {
    padding: 0 32px;
  }
}

.l_contents {
  padding: 21.3vw 0;
}

@media screen and (min-width: 768px) {
  .l_contents {
    padding: 108px 0;
  }
}

.l_main {
  overflow: hidden;
}

/* ---------- module ---------- */
@media screen and (min-width: 768px) {
  .m_sp-br {
    display: none;
  }
}

/* ---------------------------------
  Opening Animation
--------------------------------- */
#opening {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-opening);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.is-opened #opening {
  opacity: 0;
  visibility: hidden;
}

.opening_inner {
  text-align: center;
  animation: openingFadeUp 1.6s ease-out forwards;
}

.opening_eva img {
  width: 60vw;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(129, 186, 28, 0.8));
}

.opening_copy {
  margin-top: 16px;
  font-family: "Noto Serif JP", serif;
  font-size: 4vw;
  letter-spacing: 0.2em;
}

@media screen and (min-width: 768px) {
  .opening_copy {
    font-size: 20px;
  }
}

@keyframes openingFadeUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- hero ---------- */
.heroImg picture,
.heroImg img {
  width: 100%;
  display: block;
}

.heroImg img {
  height: auto;
}

/* ---------- sponcor ---------- */
.sponsor {
  aspect-ratio: 375 / 542;
  position: relative;
  overflow: hidden;
  background-image: url("../img/eva_sponsor_bg_sp.jpg");
  background-size: cover;
  background-position: center;
}

@media screen and (min-width: 768px) {
  .sponsor {
    aspect-ratio: 768 / 854;
    background-image: url("../img/eva_sponsor_bg_t.png");
  }
}

@media screen and (min-width: 1080px) {
  .sponsor {
    background-image: url("../img/eva_sponsor_bg.jpg");
    aspect-ratio: 1280 / 755;
    height: auto;
  }
}

.sponsor::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -40%;
  width: 85%;
  height: 100%;
  background: url("../img/eva_sponsor_bg_right.svg") no-repeat right/contain;
  z-index: var(--z-index-default);
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .sponsor::before {
    content: "";
    position: absolute;
    top: 0%;
    right: -20%;
    width: 70%;
    height: 58%;
    background: url("../img/eva_sponsor_bg_right.svg") no-repeat right/contain;
    z-index: var(--z-index-default);
    pointer-events: none;
  }
}

@media screen and (min-width: 1080px) {
  .sponsor::before {
    content: "";
    position: absolute;
    top: 5vw;
    right: -16vw;
    width: 70%;
    height: 70%;
    background: url("../img/eva_sponsor_bg_right.svg") no-repeat right/contain;
    z-index: var(--z-index-default);
    pointer-events: none;
  }
}

.sponsor_grd {
  width: 100%;
  height: 21.3vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

@media screen and (min-width: 768px) {
  .sponsor_grd {
    height: 120px;
  }
}

.sponsor_ttl {
  font-size: 6.4vw;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .sponsor_ttl {
    font-size: 32px;
  }
}

.sponsor_ttl span {
  letter-spacing: -0.05em;
}

.sponsor_txt {
  margin-top: 6.4vw;
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 450px) {
  .sponsor_txt {
    width: 90%;
  }
}

@media screen and (min-width: 768px) {
  .sponsor_txt {
    margin-top: 40px;
  }
}

.sponsor_polygon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9.33vw;
  background: var(--black-color);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- monster ---------- */
.monster {
  background: var(--black-color);
  position: relative;
}

.monster::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 3px;
  width: 13vw;
  height: 11vw;
  background: url("../img/bg-gallery-01.png") no-repeat center/cover;
  z-index: var(--z-index-default);
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .monster::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 3px;
    width: 128px;
    height: 111px;
    background: url("../img/bg-gallery-01.png") no-repeat center/cover;
    z-index: var(--z-index-default);
    pointer-events: none;
  }
}

.monster_ttl {
  font-family: "Noto Serif JP", serif;
  font-size: 6.4vw;
  letter-spacing: 0.01em;
  font-weight: bold;
  line-height: 2;
  padding-top: 21.3vw;
}

@media screen and (min-width: 768px) {
  .monster_ttl {
    font-size: 32px;
    padding-top: 120px;
  }

  .monster_inner {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.monster_left {
  padding: 0 4.26vw;
}

@media screen and (min-width: 768px) {
  .monster_left {
    width: 48%;
    padding-left: 4.26vw;
    padding-right: 0;
  }
}

@media screen and (min-width: 1080px) {
  .monster_left {
    margin-left: calc((100vw - 1080px) / 2);
  }
}

.monster_txt {
  margin-top: 6.4vw;
}

@media screen and (min-width: 768px) {
  .monster_txt {
    margin-top: 0;
  }
}

.monster_img-wrap {
  width: 100%;
  transition: 0.3s ease;
}

.monster_img-wrap a:hover {
  opacity: 0.8;
}

.monster_img_logo {
  width: 100%;
  margin-top: 6.4vw;
}

@media screen and (min-width: 768px) {
  .monster_img_logo,
  .monster_txt {
    margin-top: 40px;
  }
}

.monster_right {
  margin-top: 10.66vw;
}

@media screen and (min-width: 768px) {
  .monster_right {
    margin-top: 0;
    width: 48%;
  }
}

.monster_img-wrap_right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
}

.monster_img-wrap_right img {
  display: block;
  width: 100%;
  height: auto;
}

.monster_img-wrap_right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(102, 102, 102, 0));
  z-index: var(--z-index-default);
}

.monster_img {
  padding-top: 21.3vw;
  position: relative;
  overflow: hidden;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .monster_img {
    padding-top: 120px;
  }
}

.monster_img picture img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.monster_brush {
  position: absolute;
  top: -15px;
  right: 0;
  width: 50%;
  height: 48vw;
  background: url("../img/bg-gallery-02.png") no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: var(--z-index-default);
}

@media screen and (min-width: 768px) {
  .monster_brush {
    position: absolute;
    top: -15px;
    right: 0;
    width: 30%;
    height: 80%;
    background: url("../img/bg-gallery-02.png") no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: var(--z-index-default);
  }
}

@media screen and (min-width: 1080px) {
  .monster_brush {
    position: absolute;
    top: -20px;
    right: 0;
    width: 20%;
    height: 50%;
    background: url("../img/bg-gallery-02.png") no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: var(--z-index-default);
  }
}

/* ---------- eva-racing ---------- */

/* セクション全体 */
.eva-racing {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/eva_racing_bg.svg") no-repeat center / cover;
  overflow: hidden;
  position: relative;
}

/* タイトル */
.eva-ttl {
  font-size: 6.4vw;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  line-height: 2;
  letter-spacing: -0.05em;
}

@media screen and (min-width: 768px) {
  .eva-ttl {
    font-size: 32px;
  }
}

/* メイン3カラム構成 */
.eva-content {
  margin-top: 10.66vw;
}

@media screen and (min-width: 768px) {
  .eva-content {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
    margin-top: 80px;
  }

  .eva-content_left {
    width: 52%;
  }
}

/* 画像 */
.eva-left-img img {
  width: 70%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .eva-left-img img {
    width: 55%;
    height: auto;
  }
}

.eva-car-img {
  width: 100%;
  height: auto;
  clip-path: polygon(
    4vw 0,
    100% 0,
    100% calc(100% - 4vw),
    calc(100% - 4vw) 100%,
    0 100%,
    0 4vw
  );
}

@media screen and (min-width: 768px) {
  .eva-car-img {
    width: 50%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
  }
}

.eva-car-img img {
  width: 100%;
  height: auto;
}

/* テキストボックス */
.eva-text-box {
  background: var(--accent-color);
  padding: 6.4vw 4.26vw;
  clip-path: polygon(
    0 0,
    calc(100% - 4vw) 0,
    100% 4vw,
    100% 100%,
    4vw 100%,
    0 calc(100% - 4vw)
  );
}

@media screen and (min-width: 768px) {
  .eva-text-box {
    padding: 24px;
    font-size: 14px;
  }
}

@media screen and (min-width: 1080px) {
  .eva-text-box {
    padding: 40px;
    font-size: 16px;
  }
}

.eva-inner {
  position: relative;
  margin-top: 10.66vw;
}

@media screen and (min-width: 768px) {
  .eva-inner {
    margin-top: 80px;
  }
}

/* 女の子画像 */
.eva-girls {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .eva-girls {
    position: absolute;
    top: -40%;
    right: 8%;
  }
}

.eva-girls img {
  width: 80vw;
  height: auto;
}

@media screen and (min-width: 768px) {
  .eva-girls img {
    width: 100%;
    height: 350px;
  }
}

@media screen and (min-width: 1080px) {
  .eva-girls img {
    width: 100%;
    height: 450px;
  }
}

/* 動画枠 */
.eva_video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-default);
  width: 100%;
}

@media screen and (min-width: 768px) {
  .eva_video-container {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }
}

.eva_video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.eva_video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ボタン */
.btn {
  width: 64vw;
  margin: 10.66vw auto 0 auto;
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .btn {
    width: 240px;
    margin: 64px auto 0 auto;
  }
}

.btnLink {
  display: block;
  padding: 4.26vw;
  background-color: var(--white-color);
  position: relative;
  text-decoration: none;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 768px) {
  .btnLink {
    padding: 16px;
  }
}

.btnLink::before {
  content: "";
  display: block;
  background-color: var(--black-color);
  position: absolute;
  inset: 1px;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.btnLink:hover::before {
  opacity: 0.8;
  background-color: var(--primary-color);
}

.btnLink__txt {
  display: block;
  position: relative;
  text-align: center;
  font-size: 3.73vw;
}

@media screen and (min-width: 768px) {
  .btnLink__txt {
    font-size: 14px;
  }
}

.btnLink__txt::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 0.1em solid var(--white-color);
  border-top: none;
  border-left: none;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
  border-radius: 0.1em;
}

/* ---------- reason ---------- */
.reason {
  background-color: var(--black-color);
  position: relative;
}

@media screen and (min-width: 1080px) {
  .reason {
    background-image: url("../img/reason_bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
  }
}

.reason_hand {
  position: absolute;
  top: 0;
  left: -3.5vw;
  width: 48vw;
  height: 43.4vw;
  background: url("../img/monster_hand.png") no-repeat right/contain;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .reason_hand {
    position: absolute;
    top: 0;
    left: -2.5vw;
    width: 36vw;
    height: 36vw;
    background: url("../img/monster_hand.png") no-repeat right/contain;
    pointer-events: none;
  }
}

@media screen and (min-width: 1080px) {
  .reason_hand {
    position: absolute;
    top: 0;
    left: 0;
    width: 28vw;
    height: 28vw;
    background: url("../img/monster_hand.png") no-repeat right/contain;
    pointer-events: none;
  }
}

.reason_ttl {
  font-size: 6.4vw;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  position: relative;
  z-index: 2;
  margin-left: 8.53vw;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .reason_ttl {
    font-size: 32px;
  }
}
@media screen and (min-width: 1200px) {
  .reason_ttl {
    margin-left: 0;
  }
}

.reason_inner {
  margin-top: 10.66vw;
  padding-bottom: 74.66vw;
  background-image: url("../img/reason_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .reason_inner {
    margin-top: 80px;
    padding-bottom: 52vw;
  }
}
@media screen and (min-width: 1080px) {
  .reason_inner {
    padding-bottom: 120px;
    background: none;
  }
}

.reason_left {
  background-color: rgba(129, 186, 28, 0.6);
  background-image: url("../img/reason_txt_bg.svg");
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 6.4vw 3.2vw;
  margin: 0 4.26vw;
}

@media screen and (min-width: 768px) {
  .reason_left {
    width: 80vw;
    padding: 40px;
  }
}

@media screen and (min-width: 1080px) {
  .reason_left {
    margin-left: calc((100vw - 1080px) / 2 + 32px);
    margin-right: 0;
    width: 60%;
    padding: 56px;
  }
}
@media screen and (min-width: 1400px) {
  .reason_left {
    width: 55%;
  }
}
.reason_txt {
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 768px) {
  .reason_txt {
    font-size: clamp(16px, 1.82vw, 20px);
  }
}

.reason_right {
  position: absolute;
  bottom: 10vw;
  right: -8vw;
  width: 95%;
}

@media screen and (min-width: 768px) {
  .reason_right {
    position: absolute;
    bottom: 0;
    right: -15vw;
    width: 77%;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

@media screen and (min-width: 1080px) {
  .reason_right {
    width: clamp(420px, 55vw, 620px);
    right: clamp(-180px, -8vw, -120px);
  }
}

.reason_right img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.btn-list {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.btn-list a {
  text-align: center;
}

.btn-list a:hover {
  opacity: 0.6;
}

/* ----------------------------------------------------
footer (common)
---------------------------------------------------- */
#footer {
  background: var(--black-color02);
  font-size: 1.6rem;
  text-align: center;
  padding: 40px 5%;
}

@media screen and (min-width: 768px) {
  #footer {
    padding: 40px;
  }
}

#footer ul {
  font-size: 0;
  margin-bottom: 16px;
}

#footer ul li {
  font-size: 3.73vw;
  display: inline-block;
  padding: 0 16px;
  transition: 0.3s ease;
}

@media screen and (min-width: 768px) {
  #footer ul li {
    font-size: 16px;
  }
}

#footer ul li:hover {
  opacity: 0.8;
}

#footer ul li:not(:first-child) {
  border-left: 1px solid var(--white-color);
}

#footer .copy {
  font-size: 3vw;
}

@media screen and (min-width: 768px) {
  #footer .copy {
    font-size: 12px;
  }
}

#pagetop {
  position: fixed;
  bottom: 4%;
  right: 3%;
  z-index: 10;
}

#pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: var(--black-color);
  border: 1px solid var(--white-color);
  position: relative;
}

#pagetop a::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 1px solid var(--white-color);
  border-right: 1px solid var(--white-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -25%) rotate(-45deg);
}

/* ========================================
   フェードインアニメーション
======================================== */

/* フェードイン対象の要素（初期状態：非表示） */
.sponsor_ttl,
.sponsor_txt,
.monster_ttl,
.monster_txt,
.monster_img-wrap,
.monster_img-wrap_right,
.monster_img,
.eva-ttl,
.eva-left-img,
.eva-text-box,
.eva-car-img,
.eva-girls,
.eva_video-container,
.reason_ttl,
.reason_left,
.reason_right,
.btn-list {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* フェードイン実行（画面に入ったら表示） */
.is-fadein {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* PageTopボタンのアニメーション */
#pagetop {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#pagetop a:hover {
  background-color: var(--primary-color);
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* アクセシビリティ: 動きを減らす設定を優先する場合 */
@media (prefers-reduced-motion: reduce) {
  .sponsor_ttl,
  .sponsor_txt,
  .monster_ttl,
  .monster_txt,
  .monster_img-wrap,
  .monster_img-wrap_right,
  .monster_img,
  .eva-ttl,
  .eva-left-img,
  .eva-text-box,
  .eva-car-img,
  .eva-girls,
  .eva_video-container,
  .reason_ttl,
  .reason_left,
  .reason_right,
  .btn-list {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
