@charset "UTF-8";

/* CSS Document */
/*------------------------------

  標準レイアウト・基本カラー

------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap");

.sports {
  --main_color: #006a97;
  --main_gradient: linear-gradient(135deg,
      #0096d6 0%,
      #0077b6 50%,
      #005f8f 100%);
  --main_background: #e8f4fc;
}

.study {
  --main_color: #4a8f3a;
  --main_gradient: linear-gradient(135deg,
      #69b85a 0%,
      #4a8f3a 50%,
      #35682a 100%);
  --main_background: #eef7e8;
}

.contribution {
  --main_color: #c77b30;
  --main_gradient: linear-gradient(135deg,
      #e39a4a 0%,
      #c77b30 50%,
      #9f5d20 100%);
  --main_background: #faf1e7;
}

figure img {
  width: 100%;
  vertical-align: bottom;
}

body {
  overflow-x: hidden;
}

h2,
h3,
h4,
p,
a {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

#main {
  margin-top: 50px;
}

@media screen and (max-width: 1500px) {
  #main {
    padding: 0 5%;
  }
}

@media screen and (max-width: 480px) {
  #main {
    padding: 0 0%;
  }
}

/*---------------------------------

  キービジュアル

---------------------------------*/
.key_visual {
  min-height: calc(100vh - 80px);
}

.key_visual.no_slider {
  min-height: auto;
}

.key_title {
  width: 100%;
  max-width: 800px;

  animation: floatLoop 3s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes floatLoop {
  0% {
    transform: translateY(0);
  }

  8% {
    transform: translateY(-8px);
  }

  16% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

.title_group {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.title_text {
  white-space: nowrap;
  font-weight: bold;
  line-height: 1;
  padding-right: 5px;
}

.char {
  font-size: clamp(36px, 4.5vw, 50px);
  display: inline-block;

  opacity: 0;
  transform: translateY(40px);

  animation: fadeUp 0.6s ease forwards;
}

.char:nth-child(1) {
  animation-delay: 0.1s;
}

.char:nth-child(2) {
  animation-delay: 0.2s;
}

.char:nth-child(3) {
  animation-delay: 0.3s;
}

.char:nth-child(4) {
  animation-delay: 0.4s;
}

.char:nth-child(5) {
  animation-delay: 0.5s;
}

.char:nth-child(6) {
  animation-delay: 0.6s;
}

.char:nth-child(7) {
  animation-delay: 0.7s;
}

.color_text {
  color: var(--main_color);
}

.title_image_wrap {
  flex-shrink: 1;
  position: relative;
  width: 50%;
  max-width: 320px;
}

.title_image {
  width: 100%;
  display: block;

  clip-path: inset(0 100% 0 0);
  animation: arrowWipe 0.8s cubic-bezier(0.25, 1.2, 0.3, 1) forwards;
}

.title_arrow {
  position: absolute;
  top: -11%;
  right: 5%;
  width: 100%;

  clip-path: inset(0 0 0 100%);
  animation: arrowWipe 0.8s cubic-bezier(0.25, 1.2, 0.3, 1) forwards;
}

.sports .title_image,
.contribution .title_image {
  animation-delay: 1.2s;
}

.sports .title_arrow,
.contribution .title_arrow {
  animation-delay: 1.5s;
}

.study .title_image {
  animation-delay: 0.8s;
}

.study .title_arrow {
  animation-delay: 1.1s;
}

.key_visual p {
  margin: 20px 0px;
  line-height: 1.8;
}

.key_visual .slider {
  border-radius: 30px;
}

.key_visual .slider img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: contain;
  border-radius: 30px;
  display: block;
}

@media (max-width: 480px) {
  .key_visual .slider img {
    aspect-ratio: 5 / 6;
    /* SP用の固定比率 */
  }
}

@keyframes arrowWipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  60% {
    opacity: 1;
    transform: translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 876px) {}

@media (max-width: 480px) {
  .title_text {
    white-space: normal;
  }

  .char {
    font-size: 40px;
  }

  .title_group {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
  }

  .title_image_wrap {
    width: 100%;
  }

  .title_arrow {
    right: 0%;
    top: -10%;
  }
}

/* =========================
   slick ドット
========================= */

.slick-dots {
  bottom: -35px;
}

.slick-dots li button:before {
  font-size: 10px;
  color: var(--main_color);
  opacity: 0.3;
}

.slick-dots li.slick-active button:before {
  color: var(--main_color);
  opacity: 1;
}

@media screen and (max-width: 1024px) {}

@media (max-width: 768px) {}

@media screen and (max-width: 480px) {}

/*---------------------------------

  イベント情報

---------------------------------*/
section.event_block .event_wrap {
  margin-bottom: 100px;
}

section.event_block .title p {
  position: relative;

  color: var(--main_color);
  font-size: 20px;
  font-weight: 500;

  padding-left: 20px;
  overflow: hidden;
}

section.event_block .title p span {
  display: inline-block;

  transform: translateX(-110%);
  opacity: 0;

  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    opacity 0.4s ease 0.3s;
}

section.event_block .title p::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 8px;
  height: 0;

  background: var(--main_color);

  transition: height 0.4s ease;
}

section.event_block .title h3 {
  font-size: 40px;
  font-weight: 800;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.8s ease 0.7s,
    transform 0.8s ease 0.7s;
}

section.event_block .title.show p::before {
  height: 100%;
}

section.event_block .title.show p span {
  transform: translateX(0);
  opacity: 1;
}

section.event_block .title.show h3 {
  opacity: 1;
  transform: translateY(0);
}

.event_inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 120px;
  background: var(--main_background);
  margin: 50px 0px 200px;
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* overflow-inline: hidden; */
}

.event_inner.show {
  opacity: 1;
  transform: translateY(0);
}

.event_inner:last-child {
  margin-bottom: 50px;
}

.event_inner.left {
  flex-direction: row;
  padding: 80px 60px 80px 0px;
}

.event_inner.right {
  flex-direction: row-reverse;
  padding: 80px 0px 80px 60px;
}

.event_date {
  position: absolute;
  top: -63px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--main_color);
  color: #fff;
  padding: 20px 40px;
  border-radius: 15px 15px 0 0;
}

.sports .event_image {
  position: relative;
  flex: 0 1 45%;
  max-width: 520px;
  margin: 0;

  opacity: 0;

  transition:
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}

.sports .event_inner.left .event_image {
  transform: scale(1.35) translate(-260px, -160px) rotate(-8deg);
}

.sports .event_inner.right .event_image {
  transform: scale(1.35) translate(260px, -160px) rotate(8deg);
}

.sports .event_inner.show .event_image {
  transform: translate(0, 0) rotate(0);

  opacity: 1;
}

.study .event_image {
  position: relative;
  flex: 0 1 45%;
  max-width: 520px;
  margin: 0;

  opacity: 0;

  transform:
    translateY(-400px) scale(0.8);

  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}

.study .event_inner.show .event_image {
  opacity: 1;

  transform:
    translateY(0) scale(1);
}

.contribution .event_image {
  position: relative;
  flex: 0 1 45%;
  max-width: 520px;
  margin: 0;

  opacity: 0;

  transform: scale(0.3);

  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease;
}

.contribution .event_inner.show .event_image {
  opacity: 1;
  transform: scale(1);
}

.event_image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--main_gradient);
  z-index: 0;
  opacity: 0;

  transform: translate(20px, 20px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.event_inner.show .event_image::before {
  opacity: 1;

  transform: translate(0, 0);

  transition-delay: 1.2s;
}

.event_inner.left .event_image::before {
  bottom: -30px;
  right: -30px;
}

.event_inner.right .event_image::before {
  bottom: -30px;
  right: 30px;
}

.event_image img {
  position: relative;
  width: 100%;
  display: block;
  z-index: 1;
  object-fit: cover;
}

.image_mask {
  position: relative;
  overflow: hidden;
}

/* 画像を覆う図形 */
.sports .image_mask::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: var(--main_gradient);

  z-index: 3;

  transform: translateX(0) skewX(-20deg);
}

/* show時に横へ消える */
.sports .event_inner.show .image_mask::after {
  animation: diagonalReveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
}

.study .mask_left,
.study .mask_right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;

  background: var(--main_gradient);

  z-index: 3;
}

.study .mask_left {
  left: 0;

  transform-origin: left center;
  transform: scaleX(1);

  transition:
    transform 0.8s ease 0.5s;
}

.study .mask_right {
  right: 0;

  transform-origin: right center;
  transform: scaleX(1);

  transition:
    transform 0.8s ease 0.5s;
}

.study .event_inner.show .mask_left,
.study .event_inner.show .mask_right {
  transform: scaleX(0);
}

.contribution .image_mask::after {
  content: "";
  position: absolute;
  inset: 0;

  background: var(--main_gradient);

  z-index: 3;

  clip-path: circle(100% at 50% 50%);

  transition:
    clip-path 0.9s ease 0.4s;
}

.contribution .event_inner.show .image_mask::after {
  clip-path: circle(0% at 50% 50%);
}

/* 光ライン */
.image_mask::before {
  content: "";
  position: absolute;

  top: -20%;
  left: -120%;

  width: 50%;
  height: 160%;

  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.15) 30%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.15) 70%,
      rgba(255, 255, 255, 0) 100%);

  transform: rotate(20deg);

  z-index: 4;

  opacity: 0;

  pointer-events: none;
}

.event_inner.show .image_mask::before {
  animation: shineMove 0.8s ease-out 0.8s forwards;
}

/* Fight! */
.event_image figcaption {
  position: absolute;
  color: #fff;
  font-size: 100px;
  z-index: 2;
  font-family: "Caveat", cursive;
  font-weight: 1000;
  -webkit-text-stroke: 3px var(--main_color);
  animation: swingTilt 4s ease-in-out infinite;

  overflow: hidden;

  padding: 20px;
}

.sports .event_image figcaption span {
  display: inline-block;

  transform: translateX(-110%);

  opacity: 0;

  transition:
    transform 0.8s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.3s ease;
}

.sports .event_inner.show .event_image figcaption span {
  transform: translateX(0);

  opacity: 1;

  transition-delay: 1.1s;
}

.study .event_image figcaption span {
  display: inline-block;

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.study .event_inner.show .event_image figcaption span {
  opacity: 1;
  transform: translateY(0);

  transition-delay: 1.2s;
}

.contribution .event_image figcaption span {
  display: inline-block;

  opacity: 0;
  transform: scale(0.5);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.contribution .event_inner.show .event_image figcaption span {
  opacity: 1;
  transform: scale(1);

  transition-delay: 1.3s;
}

.event_image figcaption {
  position: absolute;
  color: #fff;
  font-size: 100px;
  z-index: 2;
  font-family: "Caveat", cursive;
  font-weight: 1000;
  -webkit-text-stroke: 3px var(--main_color);

  padding: 20px;
}

.event_image figcaption span {
  display: inline-block;
}

.event_inner.left .event_image figcaption {
  right: -10px;
  bottom: -40px;
  transform: rotate(-5deg);
}

.event_inner.right .event_image figcaption {
  left: -50px;
  bottom: -40px;
  transform: rotate(-5deg);
}

.event_box {
  flex: 1;
  min-width: 0;
}

.event_box h4 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  border-left: 13px solid var(--main_color);
  padding-left: 15px;
}

.event_box p {
  text-align: justify;
}

.event_logo {
  width: 80%;
  max-width: 400px;
  margin-top: 20px;
}

.event_box .wrap_button {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.event_box .wrap_button a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

@keyframes shineMove {
  0% {
    left: -120%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    left: 140%;
    opacity: 0;
  }
}

@keyframes diagonalReveal {
  100% {
    transform: translateX(130%) skewX(-20deg);
  }
}

@keyframes swingTilt {
  0% {
    transform: rotate(-5deg);
  }

  20% {
    transform: rotate(-12deg);
  }

  40% {
    transform: rotate(4deg);
  }

  60% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(-5deg);
  }
}

/* ===================
通常ボタン
=================== */

.button_normal a {
  background: #fff;
  color: var(--main_color) !important;
  border: 2px solid var(--main_color);
  box-shadow: 5px 5px var(--main_color);
}

/* hover */
.button_normal a:hover {
  box-shadow: none;
  transform: translate(5px, 5px);
}

/* ===================
申し込みボタン
=================== */

.button_entry a {
  background: var(--main_color);
  color: #fff !important;
  border: 2px solid var(--main_color);
}

/* hover */
.button_entry a:hover {
  color: var(--main_color) !important;
  background: #fff !important;
  border: 2px solid var(--main_color);
}

@media screen and (max-width: 896px) {
  section.event_block .title {
    margin-top: 70px;
  }

  section.event_block .title p {
    font-size: 16px;
    padding-left: 15px;
  }

  section.event_block .title h3 {
    font-size: 28px;
    line-height: 1.3;
  }

  .event_inner {
    gap: 40px;
    margin: 100px 0 120px;
  }

  .event_inner.left,
  .event_inner.right {
    flex-direction: column;
    padding: 50px 40px;
  }

  .event_box {
    width: 100%;
  }

  .event_box h4 {
    font-size: 24px;
    border-left: 8px solid var(--main_color);
    padding-left: 10px;
    margin: 20px 0px;
  }

  .event_date {
    position: absolute;
    top: -45px;
    right: 0px;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 10px 10px 0 0;
  }

  .event_image {
    margin-left: -40px;
  }

  .event_image img {
    width: 95%;
  }

  /* 英字装飾 */
  .event_image figcaption {
    font-size: 65px;
    -webkit-text-stroke: 2px var(--main_color);
  }

  .event_inner.left .event_image figcaption,
  .event_inner.right .event_image figcaption {
    right: 0%;
    bottom: -10%;
    left: auto;
  }

  /* 背景装飾 */
  .event_inner.left .event_image::before,
  .event_inner.right .event_image::before {
    width: 95%;
    left: 25px;
    bottom: -25px;
  }

  /* ボタン */
  .event_box .wrap_button {
    display: block;
    gap: 16px;
    margin-top: 10px;
  }

  .event_box .wrap_button a {
    width: 100%;
    min-width: auto;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 15px;
  }

  .button_normal a {
    box-shadow: none;
  }

  .button_normal a:hover {
    box-shadow: none;
    transform: none;
  }

  /* hover */
  .button_entry a:hover {
    background: var(--main_color) !important;
    color: #fff !important;
    border: 2px solid var(--main_color);
  }
}

@media screen and (max-width: 480px) {

  .event_inner.left,
  .event_inner.right {
    flex-direction: column;
    padding: 50px 20px;
  }

  .event_image {
    margin-left: -20px;
  }

  .event_box h4 {
    font-size: 22px;
  }

  .event_image figcaption {
    font-size: 48px;
  }
}