@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  background-color: #1a1a2e;
}
body .btn-primary {
  max-width: 400px;
  display: inline-block;
  padding: 1.5rem 3.5rem;
  background-color: #ffffff;
  color: #4c1d95;
  font-weight: 800;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  border-radius: 0.75rem;
  border: 4px solid #4c1d95;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  transform: scale(1);
  margin-bottom: 10px;
}
body .btn-primary:hover {
  background-color: #4c1d95;
  color: yellow;
  transform: scale(1.05);
}
@media (max-width: 1024px) {
  body .btn-primary {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (max-width: 480px) {
  body .btn-primary {
    width: 300px;
  }
}
body .hero {
  position: relative;
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: #fff;
  padding: 9rem 1rem;
  overflow: hidden;
  z-index: 0;
}
@media (min-width: 768px) {
  body .hero {
    padding-top: 5rem;
  }
}
@media (max-width: 480px) {
  body .hero {
    padding: 7rem 1rem;
  }
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
body .hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.5;
}
@media (max-width: 1200px) {
  body .hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
body .hero__container {
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}
body .hero__title {
  margin: 0 auto;
  font-size: clamp(0.7rem, 3vw, 3.3rem);
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 2.5rem;
}
body .hero__subtitle {
  font-size: clamp(0.5rem, 2vw, 1.5rem);
  margin: 2rem 0;
}
body .hero__button {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body .hero__button a:nth-child(2) {
  margin-left: 50px;
}
@media (max-width: 1130px), (max-width: 820px), (max-width: 768px), (max-width: 480px) {
  body .hero__button a:nth-child(2) {
    margin-left: 0;
  }
}
@media (max-width: 1130px), (max-width: 820px), (max-width: 768px), (max-width: 480px) {
  body .hero__button a {
    margin-top: 20px;
  }
}
body .hero .scroll {
  position: absolute;
  bottom: 50px;
  right: 50%;
  animation: arrowmove 1s ease-in-out infinite;
}
body .hero .scroll a {
  position: absolute;
  left: -24px;
  bottom: 30px;
  color: #000;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  width: 24px;
  height: 24px;
  text-decoration: none;
}
body .hero .scroll__arrow {
  position: absolute;
  width: 50px;
  height: 7px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}
@media (max-width: 768px) {
  body .hero .scroll__arrow {
    width: 35px;
    height: 5px;
  }
}
body .hero .scroll__arrow:first-child {
  animation: move 3s ease-out 1s infinite;
}
body .hero .scroll__arrow:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}
body .hero .scroll__arrow::before, body .hero .scroll__arrow::after {
  content: " ";
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}
body .hero .scroll__arrow::before {
  left: 0;
  transform: skew(0deg, 30deg);
}
body .hero .scroll__arrow::after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}
@keyframes move {
  25% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}
body .educational-videos {
  margin-top: 8rem;
}
@media (max-width: 768px) {
  body .educational-videos {
    margin-top: 4rem;
  }
}
body .educational-videos ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin: 0 auto;
  width: 80%;
}
@media (max-width: 1024px), (max-width: 820px) {
  body .educational-videos ul {
    width: 95%;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  body .educational-videos ul {
    width: 90%;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  body .educational-videos ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
body .educational-videos ul li {
  position: relative;
}
body .educational-videos ul li:hover img {
  filter: brightness(60%);
}
@media (max-width: 1024px) {
  body .educational-videos ul li:hover img {
    filter: none;
  }
}
body .educational-videos ul li:hover .fadeIn {
  opacity: 1;
}
body .educational-videos ul li .fadeIn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: #fff;
  font-size: clamp(1rem, 4vw, 5rem);
  pointer-events: none; /* クリックを無効に */
  transition: opacity 0.3s ease;
  z-index: 2;
}
@media (max-width: 1024px) {
  body .educational-videos ul li .fadeIn {
    display: none;
  }
}
body .educational-videos ul li .video-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  background-color: #e6eef5;
}
@media (max-width: 768px) {
  body .educational-videos ul li .video-footer {
    padding-top: 2px;
    padding-bottom: 2px;
  }
}
body .educational-videos ul li .video-footer h2 {
  color: #0A1F44;
  text-align: center;
  font-weight: bold;
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.75rem;
}
body .educational-videos ul li .video-footer input[type=checkbox] {
  position: absolute;
  bottom: 20px;
  right: 30px;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  body .educational-videos ul li .video-footer input[type=checkbox] {
    position: absolute;
    bottom: 8px;
    right: 10px;
    width: 0.9rem;
    height: 0.9rem;
  }
}
body .educational-videos ul li .video-expert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  background-color: #e6eef5;
}
@media (max-width: 768px) {
  body .educational-videos ul li .video-expert {
    padding-top: 2px;
    padding-bottom: 2px;
  }
}
body .educational-videos ul li .video-expert h2 {
  color: #0A1F44;
  text-shadow: -1px -1px 0 #D8C29D, 1px -1px 0 #D8C29D, -1px 1px 0 #D8C29D, 1px 1px 0 #D8C29D;
  text-align: center;
  font-weight: bold;
  font-size: clamp(0.49rem, 2vw, 2rem);
  line-height: 1.75rem;
}
body .educational-videos ul li .video-expert input[type=checkbox] {
  position: absolute;
  right: 30px;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  body .educational-videos ul li .video-expert input[type=checkbox] {
    position: absolute;
    right: 10px;
    width: 0.9rem;
    height: 0.9rem;
  }
}
body .under {
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 100px;
}
body .under__text {
  text-align: center;
  color: #FFF;
  margin-bottom: 30px;
}
body .under__title {
  width: 100%;
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 20px;
}
@media (max-width: 820px) {
  body .under__title {
    text-align: center;
  }
}
body .under__note {
  font-size: clamp(0.65rem, 3vw, 1.125rem);
}
@media (max-width: 1024px) {
  body .under__note {
    margin-left: 20px;
    margin-bottom: 2rem;
    margin-top: 20px;
  }
}
@media (max-width: 820px), (max-width: 768px) {
  body .under__note {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 2rem;
    margin-top: 20px;
  }
}
body .under__button {
  text-align: center;
}
@media (max-width: 1800px) {
  body .under__button {
    display: block;
    margin: auto;
    width: 100%;
  }
}
@media (max-width: 820px) {
  body .under__button {
    display: block;
    margin: auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  body .under__button {
    display: block;
    margin: auto;
    width: 100%;
  }
}
body .under__button a {
  margin-left: 20px;
}
@media (max-width: 1024px), (max-width: 820px) {
  body .under__button a {
    margin-top: 30px;
  }
}
@media (max-width: 480px) {
  body .under__button a {
    margin-left: 0;
  }
}
body .under__button a:nth-child(2) {
  padding: 1.5rem 4.7rem;
}
@media (max-width: 1024px) {
  body .under__button a:nth-child(2) {
    padding: 1.5rem 4.2rem;
  }
}
body footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 2rem 0;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  text-align: center;
}
body footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
body footer .footer-container .privacy-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
body footer .footer-container .privacy-link:hover {
  color: #ffffff;
}