@charset "UTF-8";

#main {
  /* margin-top: 118px; */
}

@media screen and (max-width: 768px) {
  #main {
    /* margin-top: 50px; */
  }
}

.offline {
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .offline {
    margin-top: 30px;
  }
}

.class__top {
  background: #EE827D;
  padding: 8px 0;
  position: fixed;
    top: 80px;
    z-index: 1000;
  width: 100%;
  left: 0;
  right: 0;
  
}

@media screen and (max-width: 768px) {
  .class__top {
    padding: 4px 0;
    position: sticky;
    top: 50px;
    z-index: 1000;
  }
}

.class__top__inner {
  display: flex;
  align-items: center;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 20px;
}

@media screen and (max-width: 768px) {
  .class__top__inner {
    justify-content: space-between;
    padding-left: 0px;
    padding-right: 0;
  }
}

.class__top--left {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .class__top--left {
    font-size: 12px;
    padding-left: 20px;
  }
}

.class__top--right.new-student-label {
  width: 102px;
  height: 22px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .class__top--right.new-student-label {
    margin-left: auto;
  }
}

.class__top--right.new-student-label::before {
  content: "";
  width: 102px;
  height: 22px;
  background-image: url("../images/school/class/single-class-open-red.png");
  background-size: cover;
  position: absolute;
  top: -12px;
  /* left: 20px;
  top: 50%;
  transform: translateY(-50%); */
}

@media screen and (max-width: 768px) {
  .class__top--right.new-student-label::before {
    width: 76px;
    height: 16px;
    right: 0;
    top: -4px;
    /* left: 0px; */
  }
}

.course-type-ehon .offline-class {
  padding: 60px 40px;
  background: repeating-linear-gradient(
    -45deg, /* 斜線の角度を逆にする */
    #FCD893, /* 斜線の色 */
    #FCD893 3px, /* 斜線の幅（細くする） */
    #FFFBCE 3px, /* 隙間の開始 */
    #FFFBCE 6px /* 隙間の幅 */
  );
}

.course-type-special .offline-class {
  padding: 90px 40px;
  background: repeating-linear-gradient(
    -45deg, /* 斜線の角度を逆にする */
    #DAE9C8, /* 斜線の色 */
    #DAE9C8 3px, /* 斜線の幅（細くする） */
    #FFFBCE 3px, /* 隙間の開始 */
    #FFFBCE 6px /* 隙間の幅 */
  );
}

@media screen and (max-width: 768px) {
 .course-type-ehon .offline-class,
 .course-type-special .offline-class {
    position: relative;
    padding: 20px 20px 40px 20px;
  }
}

.offline-class__inner {
  /* gap: 23px; */
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* @media screen and (max-width: 768px) {
  .offline-class__inner {
    flex-direction: column;
    align-items: center;
  }
} */

.offline-class__content-wrap {
  display: flex;
}

@media screen and (max-width: 768px) {
  .offline-class__content-wrap {
    flex-direction: column;
    align-items: center;
  }
}

.offline-class__content {
  width: 60%;
  /* width: 47.5%; */
  /* width: 51.6%; */
  background: #FDFBE5;
  padding: 0 30px 30px 30px;
}

@media screen and (max-width: 768px) {
  .offline-class__content {
    width: 100%;
    padding-top: 30px;
    /* padding-top: 40px; */
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
  }
}

.offline-class__content-title {
  width: 100%;
  /* width: fit-content; */
  /* padding: 10px 40px; */
  padding-bottom: 14px;
  /* height: 50px; */
  /* color: #FFF; */
  /* border-radius: 10px; */
  font-size: 30px;
  font-weight: 500;
  /* font-weight: 700; */
  letter-spacing: 1.5px;
  /* margin-left: auto; */
  /* margin-top: -20px; */
  margin-top: 30px;
  position: relative;
}

.course-type-ehon .offline-class__content-title {
  /* background: #F8B62D; */
  color: #F39800;
  border-bottom: 1px solid #F39800;
}

.course-type-special .offline-class__content-title {
  /* background: #71BE78; */
  color: #71BE78;
  border-bottom: 1px solid #71BE78;
}

@media screen and (max-width: 768px) {
  .offline-class__content-title {
    /* width: 86.8%; */
    /* min-width: 50%; */
    /* text-align: center; */
    /* height: 40px; */
    /* position: absolute; */
    /* top: 0px; */
    /* left: 3%; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    font-size: 20px;
    /* font-weight: 900; */
    letter-spacing: 1px;
    /* margin-left: 2%; */
    /* padding: 10px 10px; */
    margin-top: 0;
  }
}

.offline-class__content-text {
  font-size: 16px;
  /* font-size: 18px; */
  font-weight: 600;
  line-height: 1.8; /* 144.444% */
  margin-top: 20px;
  /* text-shadow:
    -2px -2px 0 #FFFBCE,
     2px -2px 0 #FFFBCE,
    -2px  2px 0 #FFFBCE,
     2px  2px 0 #FFFBCE; */
}

@media screen and (max-width: 768px) {
  .offline-class__content-text {
    margin-top: 10px;
    font-size: 14px;
    /* font-weight: 700; */
    line-height: 180%; /* 25.2px */
    letter-spacing: 0.14px;
  }
}

.offline-class__image-wrap {
  width: 40%;
  /* width: 45.65%; */
  height: auto;
  position: relative;
}

@media screen and (max-width: 768px) {
  .offline-class__image-wrap {
    width: 100%;
  }
}

.offline-class__image {
  aspect-ratio: 420 / 227;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .offline-class__image {
    aspect-ratio: 350 / 189;
  }
}

.offline-class__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offline-info {
  /* margin-top: 90px; */
  max-width: 1040px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .offline-info {
    margin-top: 0px;
  }
}

.offline-info__inner {
  background: #fff;
  /* background: rgba(255, 255, 255, 0.50); */
  padding: 90px 47px;
  margin-top: 50px;
}

@media screen and (max-width: 1000px) {
  .offline-info__inner {
    padding: 40px 20px;
    /* margin-left: 20px; */
    /* margin-right: 20px; */
    margin-top: 30px;
  }
}

.offline-info__title {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 768px) {
  .offline-info__title {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

.offline-info__items {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 45px 43px;
  margin-top: 80px;
}

@media screen and (max-width: 1000px) {
  .offline-info__items {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px 0px;
    margin-top: 40px;
  }
}

.offline-info__item {
  display: flex;
  align-items: flex-start;
  /* align-items: center; */
  gap: 30px;
}

@media screen and (max-width: 768px) {
  .offline-info__item {
    gap: 16px;
    /* align-items: center; */
  }
}

.offline-info__item:nth-child(1) {
  align-items: center;
}

.offline-info__item:nth-child(2) {
  align-items: center;
}

/* @media screen and (max-width: 768px) {
  .offline-info__item:nth-child(4) {
    align-items: flex-start;
  }
} */

/* .offline-info__item:nth-child(6) {
  align-items: flex-start;
} */

.offline-info__item-title {
  width: 100px;
  height: 40px;
  padding: 1px 0px;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 37px; /* 185% */
  text-align: center;
}

.course-type-ehon .offline-info__item-title {
  background: #F39800;
}

.course-type-special .offline-info__item-title {
  background: #71BE78;
}

@media screen and (max-width: 768px) {
  .offline-info__item-title {
    width: 60px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8.322px;
    font-size: 14px;
    /* font-weight: 900; */
    line-height: normal;
    letter-spacing: -0.7px;
  }
}

.offline-info__item-description {
  width: calc(100% - 100px - 30px);
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 16px;
  /* font-size: 22px; */
  font-weight: 700;
  line-height: 1.5;
  /* line-height: 44px; */
}

@media screen and (max-width: 768px) {
  .offline-info__item-description {
    width: calc(100% - 60px - 16px);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    /* line-height: 22px; */
    letter-spacing: 0.32px;
  }
}

@media screen and (max-width: 768px) {
  .offline-info__item:nth-child(6) .offline-info__item-description {
    font-size: 12px;
    letter-spacing: -0.1em;
  }
}

.offline-info__item-description--notice {
  font-size: 14px;
}

.class-price {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  color: #231815;
  /* color: #ED766E; */
}

@media screen and (max-width: 768px) {
  .class-price {
    font-size: 30px;
  }
}

.tax {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 38px; /* 135.714% */
  letter-spacing: -1.4px;
}

@media screen and (max-width: 768px) {
  .tax {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.32px;
  }
}

.class-pay-notice {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

@media screen and (max-width: 768px) {
  .class-pay-notice {
    font-size: 10px;
    line-height: 15px;
    letter-spacing: -0.7px;
  }
}

/* .offline-info__item:nth-child(4) .offline-info__item-description {
  line-height: 1;
} */

.offline-info__btn {

}

.offline-info__btn {
  margin-top: 30px;
  /* margin-right: 40px; */
}

@media screen and (max-width: 768px) {
  .offline-info__btn {
    margin-top: 30px;
  }
}

.offline-info__btn a {
  width: 293px;
  height: 60px;
  border-radius: 50px;
  background: #FFF100;
  /* margin-right: auto; */
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 36px; /* 200% */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .offline-info__btn a {
    /* margin-top: 47px; */
  }
}

@media screen and (max-width: 768px) {
  .offline-info__btn a {
    max-width: 240px;
    width: 100%;
    height: 50px;
    font-size: 14px;
    font-weight: 900;
    margin-right: auto;
    /* margin-top: 47px; */
    margin-left: auto;
    margin-right: auto;
  }
}

.offline-info__btn a:hover {
  background: #FFF999;
}

.offline-info__btn a span {
  padding-left: 36px;
  /* padding-bottom: 4px; */
  font-weight: 700;
  margin-top: 3px;
}

@media screen and (max-width: 768px) {
  .offline-info__btn a span {
    /* padding-left: 4px; */
    font-size: 14px;
    font-weight: 900;
  }
}

/* .offline-info__notice-wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
} */

/* @media screen and (max-width: 768px) {
  .offline-info__notice-wrap {
    flex-direction: column-reverse;
    margin-top: 30px;
  }
} */

.offline-info__notice {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px; /* 175% */
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .offline-info__notice {
    font-size: 10px;
    font-weight: 500;
    line-height: 17px; /* 141.667% */
    margin-top: 30px;
  }
}

.offline-info__schedule-title {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin-top: 70px;
}

@media screen and (max-width: 768px) {
  .offline-info__schedule-title  {
    font-size: 20px;
    letter-spacing: 1px;
  }
}

.course-type-ehon .offline-info__schedule {
  width: 100%;
  height: auto;
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .course-type-ehon .offline-info__schedule {
    margin-top: 0px;
  }
}

.course-type-special .offline-info__schedule {
  width: 100%;
  /* width: 36.4%; */
  height: auto;
  overflow: hidden;
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .course-type-special .offline-info__schedule {
    margin-top: 50px;
    width: 100%;
  }
}

.offline-info__schedule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offline-feedback {
  margin-top: 60px;
  margin-bottom: 100px;
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .offline-feedback {
    margin-top: 40px;
    margin-bottom: 30px;
  }
}

.offline-feedback__inner {
  padding-left: 100px;
  padding-right: 100px;
}

@media screen and (max-width: 768px) {
  .offline-feedback__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.offline-feedback__title {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

@media screen and (max-width: 768px) {
  .offline-feedback__title {
    font-size: 20px;
    line-height: normal;
    letter-spacing: 1px;
  }
}

.offline-feedback__image-wrap {
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .offline-feedback__image-wrap {
    margin-top: 20px;
  }
}

.offline-feedback__image {
  width: 100%;
  height: auto;
}

.offline-feedback__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

