@charset "UTF-8";
/* break point: 900px */
/* contents width: 860px */

/* --------common-------- */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  color: #333;
  font-family: '游ゴシック', 'YuGothic', 'メイリオ', 'Meiryo', sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* -------------------------- */
/* ----------header---------- */
/* -------------------------- */
/* ---header logo--- */
header h1 {
  width: 100%;
  max-width: 100px;
  max-height: 56px;
  margin: 45px 40px 0;
  z-index: 2;
}

header h1 img {
  width: 100%;
}

/* ---hamburger menu--- */
header .hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-color: #FF2A2A;
  z-index: 3;
  cursor: pointer;
  transition: opacity .3s ease;
}

header .hamburger-menu:hover {
  opacity: 0.6;
}

header .hamburger-menu span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  display: inline-block;
  background-color: #fff;
  opacity: 1;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---hamburger menu: closed--- */
header .hamburger-menu span:nth-of-type(1) {
  top: 33px;
}

header .hamburger-menu span:nth-of-type(2) {
  top: 49px;
}

header .hamburger-menu span:nth-of-type(3) {
  top: 66px;
}

/* ---hamburger menu: open--- */
header .hamburger-menu.open span:nth-of-type(1) {
  top: 49px;
  transform: translateX(-50%) rotate(-45deg);
}

header .hamburger-menu.open span:nth-of-type(2) {
  opacity: 0;
}

header .hamburger-menu.open span:nth-of-type(3) {
  top: 49px;
  transform: translateX(-50%) rotate(45deg);
  /* transform: translateX(-50%) rotate(-45deg) scaleY(1); */
}

/* ---hamburger menu: open menu--- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  color: #fff;
  font-weight: bold;
  background-color: #ff2a2a;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

nav.open {
  pointer-events: auto;
  opacity: 1;
  z-index: 2;
}

nav img {
  top: 50px;
  left: 40px;
}

nav h1 {
  cursor: pointer;
  transition: opacity .2s ease;
}

nav h1:hover {
  opacity: 0.5;
}

nav ul {
  padding-bottom: 43px;
  list-style: none;
}

nav ul li:not(:nth-of-type(3)) {
  margin-bottom: 23px;
}

nav a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}

nav a:hover {
  opacity: 0.5;
}

nav .btn {
  position: relative;
  display: inline-block;
  border: 1px solid #fff;
  margin: 0 auto;
  padding: 15px 50px;
  transition: all .3s ease;
}

nav .btn:hover {
  color: #ff2a2a;
  background-color: #fff;
}

nav .btn::after {
  position: absolute;
  content: "";
  top: 6px;
  right: -6px;
  width: 100%;
  height: 100%;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  pointer-events: none;
}

/* ------------------------ */
/* ----------main---------- */
/* ------------------------ */
/* -----main visual----- */
#mainvisual {
  width: 100%;
  height: 100vh;
}

#mainvisual .mv-title p {
  position: absolute;
  top: 385px;
  left: 135px;
  margin-bottom: 33px;
  color: #333333;
  font-size: 46px;
  line-height: 73.6px;
  letter-spacing: calc(4.6em / 1000);
  text-shadow: 0px 4px 6px #FFFFFF;
  z-index: 1;
}

#mainvisual a {
  position: absolute;
  display: inline-block;
  top: 543px;
  left: 135px;
  padding: 18px 135px;
  color: #fff;
  text-decoration: none;
  background-color: #ff0033;
  border-radius: 10px;
  box-shadow: 0 6px 0 #7a051c;
  transition: transform .3s ease;
  z-index: 1;
}

#mainvisual a::before,
#mainvisual a::after {
  content: '';
  position: absolute;
  right: 30px;
  width: 11px;
  height: 2px;
  background: #fff;
}

#mainvisual a::before {
  top: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
}

#mainvisual a::after {
  top: 56%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#mainvisual a:hover {
  transform: scale(105%);
}

/* ---main visual image--- */
/* ---blur image / multiple slides transition--- */
#mainvisual {
  margin-bottom: 124px;
}

#mainvisual ul {
  position: relative;
  min-height: 85vh;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: -1;
}

#mainvisual li {
  position: absolute;
  right: 0;
  width: 74%;
  border-radius: 8px;
  opacity: 0;
  animation: slide 12s infinite;
}

#mainvisual li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: inset 0px 0px 10px 20px #fff;
}

#mainvisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mainvisual li:nth-child(1) {
  animation-delay: 0s;
}

#mainvisual li:nth-child(2) {
  animation-delay: 4s;
}

#mainvisual li:nth-child(3) {
  animation-delay: 8s;
}

@keyframes slide {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* -----reason----- */
#reason h2 {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 103px;
}

#reason h2::after {
  position: absolute;
  content: '';
  left: 50%;
  bottom: -23px;
  width: 100px;
  height: 2px;
  background-color: #333333;
  transform: translateX(-50%);
}

#reason .reason-item-wrapper {
  display: flex;
  justify-content: space-between;
  height: 600px;
  padding: 80px 0;
  margin-bottom: 124px;
  background-color: #ff2a2a;
}

#reason .reason-item-left {
  display: flex;
  align-self: flex-start;
  gap: 30px;
  padding: 70px 160px;
  background-color: #fff;
  border-radius: 0px 20px 20px 0px;
  transform: translateX(-100%);
  overflow: hidden;
  transition: transform .3s ease;
}

#reason .reason-item-left.appear {
  transform: translateX(0)
}

#reason .reason-item-left img {
  width: 100%;
  max-width: 87px;
  max-height: 60px;
}

#reason .reason-item-right {
  position: relative;
  display: flex;
  align-self: flex-end;
  gap: 30px;
  padding: 70px 160px;
  background-color: #fff;
  border-radius: 20px 0 0 20px;
  transform: translateX(100%);
  overflow: hidden;
  transition: transform .3s ease;
}

#reason .reason-item-right.appear {
  transform: translateX(0);
}

#reason .reason-item-right img {
  width: 100%;
  max-width: 51px;
  max-height: 60px;
}

#reason h3 {
  color: #ff2a2a;
  font-size: 28px;
}

#reason p {
  color: #333333;
  font-size: 18px;
}

/* -----voice----- */
#voice {
  padding: 0 269px 140px;
}

#voice h2 {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 103px;
}

#voice h2::after {
  position: absolute;
  content: '';
  left: 50%;
  bottom: -23px;
  width: 100px;
  height: 2px;
  background-color: #333333;
  transform: translateX(-50%);
}

#voice .voice-student {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#voice .voice-student-wrapper {
  display: flex;
  gap: 26px;
}

#voice .voice-student:nth-of-type(odd) .voice-student-wrapper {
  transform: scale(0);
  transition: transform .3s ease;
}

#voice .voice-student:nth-of-type(odd).appear .voice-student-wrapper {
  transform: scale(1);
}

#voice .voice-student:nth-of-type(even) .voice-student-wrapper {
  transform: scale(0);
  transition: transform .3s ease;
}

#voice .voice-student:nth-of-type(even).appear .voice-student-wrapper {
  transform: scale(1);
}

#voice .voice-student:nth-of-type(even) .voice-student-wrapper {
  flex-direction: row-reverse;
}

#voice .voice-student:not(:last-of-type) {
  margin-bottom: 80px;
}

#voice .voice-student:nth-of-type(even) {
  flex-direction: row-reverse;
}

#voice .voice-student-img {
  width: 100%;
  max-width: 120px;
  max-height: 120px;
  background-color: #ccc;
  border-radius: 50%;
}

#voice img {
  width: 100%;
}

#voice .voice-student-name {
  text-align: center;
  font-size: 12px;
}

#voice .voice-student-text {
  position: relative;
  max-width: 514px;
  padding: 20px;
  background-color: #e9f1fb;
  border-radius: 15px;
}

#voice .voice-student:nth-of-type(odd) .voice-student-text::before {
  content: '';
  position: absolute;
  top: 70%;
  left: -20px;
  transform: translateY(-50%);
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-right: 30px solid #e9f1fb;
}

#voice .voice-student:nth-of-type(even) .voice-student-text::before {
  content: '';
  position: absolute;
  top: 70%;
  right: -20px;
  transform: translateY(-50%);
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid #e9f1fb;
}

/* -----summary----- */
#summary .summary-wrapper {
  margin: 0;
  overflow: hidden;
  background-color: #e8e8e8;

  /* ---blur--- */
  background-image:
    radial-gradient(circle, #ff2a2a 30%, rgba(255, 42, 42, 0) 50%),
    radial-gradient(circle, #ff2a2a 30%, rgba(255, 42, 42, 0) 50%);
  /* ---clear--- */
  /* background-image:
  radial-gradient(circle, #ff2a2a 40%, transparent 40%),
  radial-gradient(circle, #ff2a2a 40%, transparent 40%); */

  background-size: 500px 500px;
  background-repeat: repeat;
  background-position: 0 0, 250px 250px;
  animation: moveCircle 7s linear infinite;
}

@keyframes moveCircle {
  0% {
    background-position: 0 0, 250px 250px;
  }

  100% {
    background-position: -500px 500px, -250px 750px;
  }
}

#summary h2 {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 107px;
  padding-top: 64px;
}

#summary h2::after {
  position: absolute;
  content: '';
  left: 50%;
  bottom: -23px;
  width: 100px;
  height: 2px;
  background-color: #333333;
  transform: translateX(-50%);
}

#summary h3 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

#summary h4 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 33px;
}

#summary p {
  font-size: 16px;
}

#summary ul {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  grid-template-rows: repeat(2, 299px);
  row-gap: 60px;
  column-gap: 32px;
  justify-content: center;
  list-style: none;
  padding-bottom: 60px;
}

#summary li {
  width: 400px;
  height: 299px;
  padding: 60px;
  border-radius: 20px;
  background-color: #fff;
}

/* -----entry----- */
#entry {
  text-align: center;
}

#entry .entry-wrapper {
  padding: 0 270px;
}

#entry h3 {
  color: #333333;
  padding: 124px 0 10px;
  font-size: 32px;
  font-weight: bold;
}

#entry p {
  color: #333333;
  font-size: 18px;
}

#entry a {
  font-size: 28px;
  font-weight: bold;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

#entry .entry-btn {
  margin: 43px 0 120px;
  color: #fff;
  background-color: #ff2a2a;
  border-radius: 40px;
  padding: 20px 0;
  transition: all .3s ease;
}

#entry .entry-btn:hover {
  color: #ff2a2a;
  background-color: #fff;
  outline: 3px solid #ff2a2a;
}

/* -------------------------- */
/* ----------footer---------- */
/* -------------------------- */
footer {
  color: #333;
  background-color: #e8e8e8;
}

footer .footer-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 62px 270px 65px;
  list-style: none;
}

footer .footer-item ul {
  list-style: none;
}

footer h3 {
  margin-bottom: 15px;
}

footer .footer-item li {
  text-indent: 0.5rem;
}

footer .footer-item li:not(:last-of-type) {
  margin-bottom: 8px;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}

footer a:hover {
  opacity: 0.5;
}

footer .copyright {
  font-size: 10px;
  text-align: center;
  padding-bottom: 21px;
}

footer .button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  color: #fff;
  background-color: #ff2a2a;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background-color .2s ease, outline .2s ease;
}

footer .button:hover {
  opacity: 0.8;
  background-color: #fff;
  outline: 2px solid #ff2a2a;
}

footer .button::before {
  content: '';
  position: absolute;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: border-bottom .2s ease;
}

footer .button:hover::before {
  border-bottom: 7px solid #ff2a2a;
}

/* ------------------------------ */
/* ----------responsive---------- */
/* ------------------------------ */
@media screen and (max-width: 900px) {
  header h1 {
    margin-top: 26px;
    margin-left: 25px;
  }

  header .hamburger-menu {
    width: 75px;
    height: 75px
  }

  header .hamburger-menu span:nth-of-type(1) {
    top: 17.25px;
  }

  header .hamburger-menu span:nth-of-type(2) {
    top: 36.5px;
  }

  header .hamburger-menu span:nth-of-type(3) {
    top: 55.65px;
  }

  #mainvisual {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  #mainvisual .mv-title p {
    position: static;
    padding: 13px 20px;
    margin-bottom: 0;
    font-size: 28px;
    line-height: 47px;
    text-align: left;
  }

  #mainvisual a {
    position: relative;
    left: 0;
    top: 0;
    display: inline-block;
    font-size: 24px;
    margin: 0 16px;
    text-align: center;
  }

  #mainvisual a::before,
  #mainvisual a::after {
    width: 15px;
    height: 3px;
  }

  #mainvisual ul {
    min-height: 55dvh;
  }

  #mainvisual li {
    left: 0;
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  /* -----reason----- */
  #reason h2 {
    margin-bottom: 62px;
  }

  #reason .reason-item-wrapper {
    display: block;
    height: auto;
    margin-bottom: 123px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #reason .reason-item-left {
    margin-right: 16px;
    margin-bottom: 40px;
    padding: 21px;
  }

  #reason .reason-item-right {
    margin-left: 16px;
    margin-bottom: 40px;
    margin-bottom: 0;
    padding: 21px;
  }

  #reason h3 {
    font-size: 24px;
  }

  /* -----voice----- */
  #voice {
    /* padding: 0 16px 83px; */
    padding: 0 16px 120px;
  }

  #voice h2 {
    margin-bottom: 65px;
    font-size: 28px;
  }

  #voice .voice-student {
    flex-direction: column;
  }

  #voice .voice-student-wrapper {
    flex-direction: column-reverse;
    align-items: center;
  }

  #voice .voice-student:nth-of-type(even) .voice-student-wrapper {
    flex-direction: column-reverse;
  }

  #voice .voice-student:nth-of-type(even) {
    flex-direction: column;
  }

  #voice .voice-student:nth-of-type(odd) .voice-student-text::before,
  #voice .voice-student:nth-of-type(even) .voice-student-text::before,
  #voice .voice-student .voice-student-text::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 15px solid #e9f1fb;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
  }

  /* -----summary----- */
  #summary h2 {
    margin-bottom: 65px;
  }

  #summary ul {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-items: center;
  }

  /* -----entry----- */
  #entry .entry-wrapper {
    padding: 0 13px;
  }

  #entry h3 {
    padding-top: 83px;
  }

  #entry .entry-btn {
    margin-bottom: 99px;
  }

  /* -----footer----- */
  footer .footer-wrapper {
    flex-wrap: wrap;
    gap: 45px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  footer h3 {
    margin-bottom: 13px;
    font-size: 15px;
  }

  footer li {
    font-size: 13px;
  }

  footer .footer-item li:not(:last-of-type) {
    margin-bottom: 7px;
  }


















}