@charset "UTF-8";

/* @import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap'); */

#wrap {
  background: url(../img/bg.jpg);
  /* font-family: 'Kosugi Maru', sans-serif; */
  font-size: 15px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

main {
  max-width: 1280px;
  padding: 4em 0 2em;
  margin: 0 auto;
}

h2 {
  position: relative;
  overflow: hidden;
  width: 960px;
  margin: 0 auto;
  text-align: center;
}

h2::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.4);
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: -160%;
  transform: skewX(-45deg) translateX(0);
  animation: bright 3s ease-in-out 2s infinite;
}

h3 {
  background: url(../img/line.jpg);
  background-size: contain;
  padding: 1em 0;
  background-position: center;
  text-align: center;
}

h3 span {
  background: #D81A0E;
  display: block;
  color: #fff;
  padding: 0.5em 0 0.5em 0.25em;
  font-size: 2em;
  text-align: center;
  letter-spacing: 0.25em;
  font-weight: 600;
}

section {
  max-width: 1280px;
  margin: 2em auto;
}

section ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

section li {
  margin: 0 1em 2em;
  padding: 2em 0 0;
}

h4 {
  font-size: 2.4em;
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  font-weight: 600;
}

h4::before {
  content: "";
  background: url(../img/ico_course.png) no-repeat;
  width: 180px;
  position: absolute;
  background-size: contain;
  aspect-ratio: 173/95;
  transform: rotate(-24deg);
  left: -1em;
  bottom: -0.5em;
}

h4 > span {
  position: relative;
  left: 0.7em;
  bottom: 0.25em;
  filter: drop-shadow(0.1em 0.08em 0px #fff);
  letter-spacing: 0.2em;
}

h4 span.drone {
  width: 6em;
  font-size: 0.4em;
  text-align: center;
  background: #f00;
  padding: 0.25em 0;
  letter-spacing: 0;
  border-radius: 100vh;
  display: block;
  color: #fff;
  margin: 0 0 0.25em;
}

section li .yt_box {
  position: relative;
  width: 608px;
  aspect-ratio: 16 / 9;
  margin-left: auto;
  margin-right: auto;
  background: rgb(201, 158, 50);
  background: linear-gradient(90deg, rgba(201, 158, 50, 1) 0%, rgba(242, 228, 144, 1) 50%, rgba(201, 158, 50, 1) 100%);
  /*
  background: url(../img/line.jpg);
  background-size: contain;
  */
}

section li iframe {
  position: absolute;
  width: 95%;
  height: 95%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@keyframes bright {
  0% {
    transform: skewX(-45deg) translateX(0);
  }
  15% {
    transform: skewX(-45deg) translateX(320%);
  }
  100% {
    transform: skewX(-45deg) translateX(320%);
  }
}

/* アニメーション前 */
.u-fade-type-up{
  transform: translateY(60px);
  opacity: 0;
}

/* トリガー発火でis-activeを付与 */
.u-fade-type-up.is-active{
  transition: 1.5s;
  transform: translateY(0);
  opacity: 1;
}

/* アニメーション前 */
.slideIn-type-left {
  transform: translateX(-60px);
  opacity: 0;
}

/* アニメーション前 */
.slideIn-type-right {
  transform: translateX(60px);
  opacity: 0;
}

/* トリガー発火でis-activeを付与 */
.slideIn-type-left.is-active,
.slideIn-type-right.is-active {
  transition: 1.5s;
  transform: translateX(0);
  opacity: 1;
}

.yt {
  position: relative;
  width: 960px;
  aspect-ratio: 16/9;
  margin-left: auto;
  margin-right: auto;
  background: url(../img/line.jpg);
  background-size: contain;
}

.yt iframe {
  position: absolute;
  width: 95%;
  height: 95%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

footer {
  background: #0052a4;
  color: #fff;
  text-align: center;
  padding: 1em 0;
}

@media screen and (max-width: 899px) {
  #wrap {
    font-size: 12px;
  }

  main {
    padding: 2em 0;
  }

  h2 {
    width: auto;
    margin: 0 1em;
  }

  section {
    max-width: 100%;
  }

  h3 span {
    font-size: 1.8em;
  }

  section ul {
    display: block;
  }

  h4 {
    min-height: 60px;
  }

  h4::before {
    width: 120px;
    left: -0.5em;
    bottom: -0.25em;
  }

  h4 span {
    left: 1em;
    letter-spacing: 0.1em;
  }

  section li {
    margin: 0 1em;
    padding: 2em 0 0;
  }

  section li .yt_box {
    width: 96%;
  }

  /* アニメーション前 */
  .slideIn-type-left {
    transform: translateX(-6vw);
    opacity: 0;
  }
  /* アニメーション前 */
  .slideIn-type-right {
    transform: translateX(6vw);
    opacity: 0;
  }

  footer div {
    font-size: 10px;
  }
}