@charset "UTF-8";
h2 {
  font-size: 36px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: #333333;
  margin: 16px auto 0;
}

h3 {
  font-size: 28px;
  position: relative;
}

.l-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  z-index: 100;
}

.l-footer {
  background: #E8E8E8;
  padding: 62px 0 21px 0;
  width: 100%;
}

.l-footer__content {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.l-footer__grid {
  display: flex;
  flex-direction: column;
}

.l-footer__title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333333;
}

.l-footer__list {
  list-style: none;
  padding-left: 10px;
  margin: 0;
}

.l-footer__link {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  line-height: 1.4;
}

.l-footer__link:hover {
  color: #666666;
}

.l-footer__copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #666666;
}

@media (max-width: 900px) {
  .l-footer__content {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
  }
}
.c-logo {
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-left: 40px;
}

.c-logo__img {
  height: auto;
  width: 100px;
}

@media (max-width: 900px) {
  .c-logo {
    padding-top: 0px;
    padding-left: 25px;
  }
}
.c-hamburger {
  background-color: #F44336;
  border: none;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
  border-radius: 0;
  z-index: 100;
  position: fixed;
  top: 0;
  right: 0;
}

.c-hamburger__line {
  width: 50px;
  height: 2px;
  background-color: #ffffff;
  margin: 7px 0;
  display: block;
  transition: all 0.3s ease;
}

.c-hamburger:hover {
  background-color: #d32f2f;
}

.c-hamburger:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.c-hamburger__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FF2A2A;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.c-hamburger__overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.c-hamburger__close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 100px;
  height: 100px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.c-hamburger__close-line {
  width: 50px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  transform-origin: center;
}

.c-hamburger__close-line:nth-child(1) {
  transform: rotate(45deg);
}

.c-hamburger__close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.c-hamburger__logo {
  padding-top: 50px;
  padding-left: 40px;
}

.c-hamburger__logo-img {
  height: auto;
  width: 100px;
}

.c-hamburger__nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.c-hamburger__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.c-hamburger__nav-list li {
  margin-bottom: 23px;
}

.c-hamburger__nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1.6px;
  font-weight: bold;
  line-height: 1.4;
}

.c-hamburger__nav-link:hover {
  opacity: 0.8;
}

.c-hamburger__cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 100vh;
}

.c-hamburger__btn {
  position: relative;
  display: inline-block;
  width: 250px;
  height: 51px;
  line-height: 51px;
  text-align: center;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.c-hamburger__btn:after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 250px;
  height: 51px;
  border-bottom: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
}

.c-hamburger__btn:hover {
  background-color: #ffffff;
  color: #FF2A2A;
}

@media (max-width: 900px) {
  .c-hamburger {
    width: 75px;
    height: 75px;
  }
  .c-hamburger__line {
    width: 35px;
    height: 2px;
    margin: 5px 0;
  }
  .c-hamburger__close {
    width: 75px;
    height: 75px;
  }
  .c-hamburger__logo {
    padding-top: 25px;
    padding-left: 25px;
  }
  .c-hamburger__logo-img {
    height: auto;
    width: 100px;
  }
}
.c-btn {
  display: inline-block;
  background: #FF2A2A 0% 0% no-repeat padding-box;
  border-radius: 40px;
  opacity: 1;
  color: #ffffff;
  width: 100%;
  height: 61px;
  line-height: 61px;
  font-size: 28px;
  letter-spacing: 2.8px;
  text-decoration: none;
  text-align: center;
}

.c-btn:hover {
  background: #ffffff 0% 0% no-repeat padding-box;
  color: #FF2A2A;
  border: 1px solid #FF2A2A;
}

.c-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.p-hero {
  position: relative;
  height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.p-hero__catch {
  position: absolute;
  top: 285px;
  left: 135px;
  font-size: 46px;
  font-weight: bold;
  color: #333333;
  margin: 0;
  text-shadow: 0px 4px 6px #FFFFFF;
  letter-spacing: 4.6px;
  opacity: 1;
}

.p-hero__btn {
  position: absolute;
  top: 445px;
  left: 135px;
  width: 479px;
  height: 61px;
  background: #FF0033 0% 0% no-repeat padding-box;
  border-radius: 10px;
  opacity: 1;
  text-align: center;
  line-height: 61px;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 2.4px;
  text-decoration: none;
  box-shadow: 0px 5px 0px #7A051C;
  transition: transform 0.3s ease;
}

.p-hero__btn:hover {
  transform: scale(1.05);
}

.p-hero__btn::after {
  content: "＞";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  pointer-events: none;
}

.p-hero__bg {
  position: absolute;
  top: 0;
  left: 25%;
  width: 75%;
  height: 100%;
  background-image: url("../images/mainvisual1.jpg");
  background-size: cover;
  background-position: 25% center;
  background-repeat: no-repeat;
  z-index: -1;
}

.p-hero__bg.is-active {
  opacity: 1;
}

@media (max-width: 900px) {
  .p-hero {
    height: auto;
  }
  .p-hero__bg {
    position: static;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    z-index: auto;
  }
  .p-hero__catch {
    position: static;
    top: auto;
    left: auto;
    font-size: 28px;
    letter-spacing: 2.8px;
    text-align: left;
    margin-bottom: 20px;
    width: calc(100% - 32px);
  }
  .p-hero__btn {
    position: relative;
    top: auto;
    left: auto;
    margin: 0 auto;
    display: block;
    width: calc(100% - 32px);
  }
  .p-hero__btn::after {
    content: "＞";
    position: absolute;
  }
}
.p-reason__title {
  margin-top: 125px;
  margin-bottom: 80px;
  text-align: center;
}

.p-reason__grid {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: #FF2A2A;
}

.p-reason__item {
  position: absolute;
  width: 50%;
  height: 200px;
  background: #ffffff;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  box-sizing: border-box;
}

.p-reason__icon {
  position: static;
  left: auto;
  width: auto;
  height: 60px;
}

.p-reason__item:nth-child(1) {
  left: 0;
  top: 80px;
  border-radius: 0px 20px 20px 0px;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.p-reason__item:nth-child(1).is-animated {
  transform: translateX(0);
  opacity: 1;
}

.p-reason__item:nth-child(2) {
  right: 0;
  bottom: 80px;
  border-radius: 20px 0px 0px 20px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.p-reason__item:nth-child(2).is-animated {
  transform: translateX(0);
  opacity: 1;
}

.p-reason__text {
  display: flex;
  flex-direction: column;
}

.p-reason__headline {
  font-size: 28px;
  color: #FF2A2A;
  font-weight: bold;
  letter-spacing: 2.8px;
  margin: 0;
}

.p-reason__desc {
  font-size: 18px;
  color: #333333;
  font-weight: normal;
  letter-spacing: 1.8px;
  margin: 0;
}

@media (max-width: 900px) {
  .p-reason__grid {
    height: 360px;
  }
  .p-reason__item {
    position: absolute;
    width: calc(100% - 16px);
    height: 120px;
  }
  .p-reason__item:nth-child(1) {
    top: 40px;
  }
  .p-reason__item:nth-child(2) {
    bottom: 40px;
  }
  .p-reason__icon {
    padding-left: 20px;
  }
  .p-reason__headline {
    font-size: 24px;
    letter-spacing: 2.4px;
  }
}
/* 画面中心から拡大するアニメーション（odd用） */
@keyframes voice-zoom-in-center {
  from {
    opacity: 0;
    transform: scale(0.75);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.p-voice {
  max-width: 860px;
  margin: 0 auto;
}

.p-voice__title {
  margin-top: 125px;
  margin-bottom: 80px;
  text-align: center;
}

.p-voice__items:nth-child(odd) {
  flex-direction: row;
}

.p-voice__items:nth-child(even) {
  flex-direction: row-reverse;
}

.p-voice__item-odd {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 30px;
  /* 画面中心から拡大して表示 */
  opacity: 0;
  transform: scale(0.75);
  transform-origin: center center;
  animation-name: voice-zoom-in-center;
  animation-duration: 700ms;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

.p-voice__item-odd .p-voice__balloon::before {
  left: -10px;
  border-width: 10px 10px 10px 0;
  border-color: transparent #E8F4FD transparent transparent;
}

.p-voice__item-even {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-bottom: 60px;
  gap: 30px;
  /* 画面中心から拡大して表示 */
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center center;
  animation-name: voice-zoom-in-center;
  animation-duration: 700ms;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 0% cover 20%;
}

.p-voice__item-even .p-voice__balloon::before {
  right: -10px;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #E8F4FD;
}

.p-voice__balloon::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border-style: solid;
}

.p-voice__avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.p-voice__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-voice__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-voice__name {
  width: 70px;
  text-align: center;
  margin-top: 10px;
}

.p-voice__student-name {
  font-size: 12px;
  letter-spacing: 1.2px;
  margin: 0 0 2px 0;
  color: #333;
}

.p-voice__student-role {
  font-size: 12px;
  letter-spacing: 1.2px;
  margin: 0;
  color: #666;
}

.p-voice__balloon {
  width: 514px;
  background-color: #E8F4FD;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
  font-size: 16px;
}

.p-voice__text {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
  letter-spacing: 1.6px;
}

@media (max-width: 900px) {
  .p-voice__item-odd,
  .p-voice__item-even {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: calc(100% - 32px);
    margin: 0 auto 45px auto;
  }
  .p-voice__balloon {
    order: 1;
    width: 100%;
  }
  .p-voice__avatar-container {
    order: 2;
  }
  .p-voice__item-odd .p-voice__balloon::before,
  .p-voice__item-even .p-voice__balloon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #E8F4FD transparent transparent transparent;
  }
}
@keyframes slideBackground {
  0% {
    background-position: 100% -100%;
  }
  100% {
    background-position: -100% 100%;
  }
}
.p-about {
  background-image: url("../images/bg.gif");
  background-size: auto;
  background-position: center;
  background-repeat: repeat;
  animation: slideBackground 20s linear infinite;
}

.p-about__title {
  margin-top: 125px;
  margin-bottom: 80px;
  padding-top: 64px;
  text-align: center;
}

.p-about__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 60px;
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.p-about__item {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border-radius: 20px;
  opacity: 1;
  padding: 64px;
  box-sizing: border-box;
  text-align: center;
}

.p-about__item-title {
  font-weight: bold;
  margin: 0 0 17px 0;
  color: #333333;
}

.p-about__item-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 27px 0;
  color: #333333;
}

.p-about__item-desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #333333;
  text-align: left;
}

@media (max-width: 900px) {
  .p-about__grid {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }
  .p-about__item {
    padding: 32px;
  }
  .p-about__item-title {
    font-size: 24px;
    letter-spacing: 2.4px;
  }
  .p-about__item-subtitle {
    font-size: 16px;
    letter-spacing: 1.6px;
  }
}
.p-cta {
  max-width: 860px;
  margin: 0 auto;
}

.p-cta__title {
  margin-top: 125px;
  margin-bottom: 4px;
  font-size: 32px;
  text-align: center;
  letter-spacing: 3.2px;
  color: #333333;
  font-weight: bold;
}

.p-cta__text {
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1.8px;
  color: #333333;
}

.p-cta__btn {
  margin-bottom: 120px;
}

@media (max-width: 900px) {
  .p-cta {
    width: calc(100% - 32px);
  }
  .p-cta__title {
    margin-top: 80px;
    font-size: 24px;
    letter-spacing: 2.4px;
  }
  .p-cta__text {
    font-size: 16px;
    letter-spacing: 1.6px;
  }
  .p-cta__btn {
    margin-bottom: 80px;
    font-size: 24px;
    letter-spacing: 2.4px;
  }
}

/*# sourceMappingURL=main.css.map */
