@charset "UTF-8";
.breadcrumb {
  font-size: 14px;
  margin: 20px 10vw;
}
.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb ul li::after {
  content: ">";
  margin: 0 8px;
  color: #aaa;
}
.breadcrumb ul li:last-child::after {
  content: none;
}
.breadcrumb ul li a {
  color: #333;
  text-decoration: none;
}
.breadcrumb ul li a:hover {
  text-decoration: underline;
}

.page-header {
  text-align: center;
  width: 100%;
  height: 160px;
  background-color: #fdfdfd;
}
.page-header__title {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  padding-top: 40px;
  letter-spacing: 10px;
  display: inline-block;
  margin: 0 auto;
}
.page-header__title .gakusya-kun {
  width: 120px;
  height: 120px;
  position: absolute;
  left: 80%; /* h1の右端にくっつける */
  top: 20px;
  transform: translateX(50%);
}
.page-header__subtitle {
  font-size: 20px;
  color: #d50d0d;
  letter-spacing: 5px;
}
@media (max-width: 819px) {
  .page-header {
    height: 120px;
  }
  .page-header__title {
    font-size: 28px;
    padding-top: 25px;
  }
  .page-header__title .privacy-gakusya-kun {
    display: none !important;
  }
  .page-header__title .gakusya-kun {
    width: 80px;
    height: 80px;
    left: 70%;
    top: 15px;
  }
  .page-header__title-contact {
    letter-spacing: 5px;
  }
  .page-header__title-contact .gakusya-kun {
    left: 82%;
    top: 25px;
    width: 70px;
    height: 70px;
  }
  .page-header__title-privacy {
    letter-spacing: 3px;
    font-size: 26px !important;
  }
  .page-header__subtitle {
    font-size: 16px;
  }
}

.page-message {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}
.page-message__sub {
  color: #d50d0d;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.page-message__main {
  color: #d50d0d;
  font-size: 36px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 2px;
  position: relative;
}
.page-message__main .br-sp {
  display: none;
}
.page-message__main::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #d50d0d;
  margin: 10px auto 0;
}
.page-message__contents {
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}
.page-message::before, .page-message::after {
  content: "";
  position: absolute;
  top: 48%;
  width: 240px;
  height: 370px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
  z-index: -1;
}
@media (max-width: 1100px) {
  .page-message {
    padding: 40px 10px;
  }
  .page-message__sub {
    font-size: 18px;
  }
  .page-message__main {
    font-size: 32px;
    line-height: 36px;
  }
  .page-message__main .br-sp {
    display: inline;
  }
  .page-message__contents {
    font-size: 16px;
    width: 400px;
  }
}
@media (max-width: 819px) {
  .page-message {
    padding: 40px 10px;
  }
  .page-message__sub {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 3px;
  }
  .page-message__main {
    font-size: 26px;
    line-height: 32px;
  }
  .page-message__main .br-sp {
    display: inline;
  }
  .page-message__contents {
    font-size: 16px;
    max-width: 400px;
  }
  .page-message::before, .page-message::after {
    width: 140px;
    height: 210px;
    top: 25%;
    transform: translateY(-50%);
    opacity: 0.8;
  }
}
@media (max-width: 480px) {
  .page-message__contents {
    font-size: 16px;
    max-width: 330px;
  }
  .page-message .page-message__main {
    font-size: 22px;
    line-height: 26px;
  }
  .page-message .page-message__main::after {
    margin: 3px auto 0;
  }
  .page-message .page-message__sub {
    font-size: 14px;
  }
  .page-message .page-message__contents {
    line-height: 1.8;
    text-align: justify;
    padding: 20px 5px 0px;
  }
  .page-message::before, .page-message::after {
    width: 68px;
    height: 110px;
    top: 25%;
    transform: translateY(-50%);
    opacity: 0.8;
  }
}

.page-message-teacher::before {
  left: 0;
  background-image: url("../img/message-teacher01.png");
}
.page-message-teacher::after {
  right: 0;
  background-image: url("../img/message-teacher02.png");
}

.page-message-course {
  background: url("../img/grid.png") repeat, #fff;
}
.page-message-course .page-message__sub .br-sp {
  display: none;
}
@media (max-width: 1100px) {
  .page-message-course .page-message__sub .br-sp {
    display: inline;
  }
}
.page-message-course::before {
  left: 0;
  background-image: url("../img/message-course01.png");
}
@media (max-width: 480px) {
  .page-message-course::before {
    top: 15% !important;
    width: 58px;
    height: 100px;
  }
}
.page-message-course::after {
  right: 0;
  background-image: url("../img/message-course02.png");
}
@media (max-width: 480px) {
  .page-message-course::after {
    top: 15% !important;
    width: 56px;
    height: 100px;
  }
}
@media (max-width: 1100px) {
  .page-message-course__sub {
    font-size: 16px !important;
  }
  .page-message-course__main {
    font-size: 30px !important;
    line-height: 34px !important;
  }
}
@media (max-width: 819px) {
  .page-message-course__sub {
    font-size: 14px !important;
  }
  .page-message-course__main {
    font-size: 22px !important;
    line-height: 26px !important;
  }
}

.teacher {
  background-color: #fff;
  margin-top: 60px;
  width: 100%;
}
.teacher__inner {
  max-width: 1080px !important;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 150px;
}
.teacher__content {
  display: flex;
  justify-content: space-between;
}
.teacher__content__left {
  width: 45%;
}
.teacher__content__left .teacher__heading-sp {
  display: none;
}
.teacher__content__left .teacher-photo {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.teacher__content__left .teacher-photo img {
  display: block;
  width: 100%;
  border-radius: 50%;
}
.teacher__content__left .teacher-photo .teacher-overlay {
  position: absolute;
  z-index: 2;
}
.teacher__content__left .teacher-photo .teacher-overlay.teacher-name {
  writing-mode: vertical-rl;
  font-family: "Yuji Mai", serif;
  font-weight: 400;
  font-size: 42px;
  left: -20px;
  top: 40px;
}
@media (max-width: 768px) {
  .teacher__content__left .teacher-photo .teacher-overlay.teacher-name {
    left: -2rem;
    font-size: 1.5rem;
  }
}
.teacher__content__left .teacher-photo .teacher-overlay.icon-eraser {
  background: url("../img/decoration/decoration-eraser.png") no-repeat center/contain;
  width: 130px;
  height: 130px;
  bottom: 10px;
  left: -10px;
}
.teacher__content__left .teacher-photo .teacher-overlay.icon-circle02 {
  background: url("../img/decoration/decoration-circle02.png") no-repeat center/contain;
  width: 120px;
  height: 120px;
  top: 0px;
  right: 0px;
}
.teacher__content__left__role {
  font-size: 24px;
  text-align: center;
  margin: 20px auto;
}
.teacher__content__left__message {
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto;
  text-align: justify;
}
.teacher__content__left .teacher__heading-sp {
  display: none;
}
.teacher__content__right {
  width: 45%;
}
.teacher__content__right .teacher__heading-pc .teacher__catch {
  font-size: 36px;
  font-family: "Yuji Mai", serif;
  font-weight: 550;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}
.teacher__content__right .teacher__heading-pc .teacher__catch .highlight {
  color: #d50d0d;
}
.teacher__content__right .teacher__heading-pc .teacher__catch::before {
  content: "";
  position: absolute;
  bottom: 60px;
  left: 25px;
  width: 435px;
  height: 10px;
  background-color: #ffdd1f;
  z-index: -1;
}
@media (max-width: 819px) {
  .teacher__content__right .teacher__heading-pc {
    display: none;
  }
}
.teacher__content__right .teacher__box .teacher__label {
  color: #d50d0d;
  width: 200px;
  height: 45px;
  border: 2px solid #d50d0d;
  font-size: 18px;
  text-align: center;
  line-height: 40px;
}
.teacher__content__right .teacher__box p {
  font-size: 16px;
  text-align: justify;
  margin: 10px 0 25px;
  line-height: 1.8;
}
@media (max-width: 1100px) {
  .teacher {
    margin-top: 30px;
    width: 100%;
  }
  .teacher__inner {
    max-width: 760px !important;
  }
  .teacher__content__left {
    width: 45%;
  }
  .teacher__content__left .teacher-photo {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .teacher__content__left .teacher-photo img {
    display: block;
    width: 100%;
    border-radius: 50%;
  }
  .teacher__content__left .teacher-photo .teacher-overlay {
    position: absolute;
    z-index: 2;
  }
  .teacher__content__left .teacher-photo .teacher-overlay.teacher-name {
    font-size: 36px;
    left: -20px;
    top: 20px;
  }
  .teacher__content__left .teacher-photo .teacher-overlay.icon-eraser {
    width: 100px;
    height: 100px;
    bottom: 0px;
    left: -10px;
  }
  .teacher__content__left .teacher-photo .teacher-overlay.icon-circle02 {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 0px;
  }
  .teacher__content__right {
    width: 45%;
  }
  .teacher__content__right .teacher__heading-pc .teacher__catch {
    font-size: 26px;
  }
  .teacher__content__right .teacher__heading-pc .teacher__catch::before {
    content: "";
    position: absolute;
    bottom: 44px;
    left: 12px;
    width: 320px;
    height: 10px;
    background-color: #ffdd1f;
    z-index: -1;
  }
}
@media (max-width: 819px) {
  .teacher {
    margin-top: 20px;
  }
  .teacher .teacher__inner {
    max-width: 100%;
    padding-top: 50px;
    padding-bottom: 70px;
  }
  .teacher .teacher__content {
    flex-direction: column;
    align-items: center;
  }
  .teacher .teacher__content__left {
    width: 100%;
    padding: 0px 30px;
  }
  .teacher .teacher__content__left .teacher__heading-pc .teacher__catch {
    font-size: 26px;
  }
  .teacher .teacher__content__left .teacher__heading-pc .teacher__catch::before {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 320px;
    height: 10px;
    background-color: #ffdd1f;
    z-index: -1;
  }
  .teacher .teacher__content__right {
    width: 100%;
    padding: 40px 30px 0px;
    max-width: 460px;
  }
  .teacher .teacher__heading-sp {
    display: block;
    font-size: 26px;
    font-family: "Yuji Mai", serif;
    font-weight: 550;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    z-index: 1;
  }
  .teacher .teacher__heading-sp .highlight {
    color: #d50d0d;
  }
  .teacher .teacher__heading-sp::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translate(-50%);
    width: 310px;
    height: 10px;
    background-color: #ffdd1f;
    z-index: -1;
  }
}

.teacher02 {
  margin-top: 60px;
  width: 100%;
}
.teacher02__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 150px;
}
.teacher02__content {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 819px) {
  .teacher02__content {
    flex-direction: column;
    align-items: center;
  }
}
.teacher02__content__left {
  width: 45%;
  margin-top: 50px;
  max-width: 460px;
}
.teacher02__content__left .teacher__heading-pc .teacher__catch {
  font-size: 36px;
  font-family: "Yuji Mai", serif;
  font-weight: 550;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}
.teacher02__content__left .teacher__heading-pc .teacher__catch .highlight {
  color: #d50d0d;
}
.teacher02__content__left .teacher__heading-pc .teacher__catch::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 11px;
  width: 435px;
  height: 10px;
  background-color: #ffdd1f;
  z-index: -1;
}
@media (max-width: 819px) {
  .teacher02__content__left .teacher__heading-pc {
    display: none;
  }
}
.teacher02__content__left .teacher__box .teacher__label {
  color: #d50d0d;
  width: 200px;
  height: 45px;
  border: 2px solid #d50d0d;
  font-size: 18px;
  text-align: center;
  line-height: 40px;
}
.teacher02__content__left .teacher__box p {
  font-size: 16px;
  text-align: justify;
  margin: 10px 0 25px;
  line-height: 1.8;
}
.teacher02__content__right {
  width: 45%;
}
.teacher02__content__right .teacher__heading-sp {
  display: none;
}
.teacher02__content__right .teacher-photo {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.teacher02__content__right .teacher-photo img {
  display: block;
  width: 100%;
  border-radius: 50%;
}
.teacher02__content__right .teacher-photo .teacher-overlay {
  position: absolute;
  z-index: 2;
}
.teacher02__content__right .teacher-photo .teacher-overlay.teacher-name {
  writing-mode: vertical-rl;
  font-family: "Yuji Mai", serif;
  font-weight: 400;
  font-size: 42px;
  right: -20px;
  top: 0px;
}
@media (max-width: 768px) {
  .teacher02__content__right .teacher-photo .teacher-overlay.teacher-name {
    left: -2rem;
    font-size: 1.5rem;
  }
}
.teacher02__content__right .teacher-photo .teacher-overlay.icon-triangles02 {
  background: url("../img/decoration/decoration-triangles02.png") no-repeat center/contain;
  width: 100px;
  height: 100px;
  top: 20px;
  left: -10px;
}
.teacher02__content__right .teacher-photo .teacher-overlay.icon-circle01 {
  background: url("../img/decoration/decoration-circle.png") no-repeat center/contain;
  width: 140px;
  height: 140px;
  bottom: 0px;
  left: -10px;
}
.teacher02__content__right .teacher-photo .teacher-overlay.icon-sun {
  background: url("../img/decoration/decoration-sun.png") no-repeat center/contain;
  width: 100px;
  height: 100px;
  bottom: 20px;
  right: 0px;
}
.teacher02__content__right__role {
  font-size: 24px;
  text-align: center;
  margin: 20px auto;
}
.teacher02__content__right__message {
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto;
  text-align: justify;
}
.teacher02__content__right .teacher__heading-sp {
  display: none;
}
@media (max-width: 1100px) {
  .teacher02 {
    margin-top: 30px;
  }
  .teacher02__inner {
    max-width: 760px;
  }
  .teacher02__content__left {
    width: 45%;
  }
  .teacher02__content__left .teacher__heading-pc .teacher__catch {
    font-size: 26px;
  }
  .teacher02__content__left .teacher__heading-pc .teacher__catch::before {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 11px;
    width: 320px;
    height: 10px;
    background-color: #ffdd1f;
    z-index: -1;
  }
  .teacher02__content__right {
    width: 45%;
  }
  .teacher02__content__right .teacher-photo {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .teacher02__content__right .teacher-photo img {
    display: block;
    width: 100%;
    border-radius: 50%;
  }
  .teacher02__content__right .teacher-photo .teacher-overlay {
    position: absolute;
    z-index: 2;
  }
  .teacher02__content__right .teacher-photo .teacher-overlay.teacher-name {
    font-size: 32px;
    left: -20px;
    top: 0px;
  }
  .teacher02__content__right .teacher-photo .teacher-overlay.icon-triangles02 {
    width: 80px;
    height: 80px;
    bottom: 0px;
    left: -10px;
  }
  .teacher02__content__right .teacher-photo .teacher-overlay.icon-circle01 {
    width: 100px;
    height: 100px;
    bottom: 0px;
    right: 0px;
  }
  .teacher02__content__right .teacher-photo .teacher-overlay.icon-sun {
    width: 80px;
    height: 80px;
    bottom: 0px;
    right: 0px;
  }
}
@media (max-width: 819px) {
  .teacher02 {
    margin-top: 20px;
  }
  .teacher02 .teacher02__inner {
    max-width: 100%;
    padding-top: 50px;
    padding-bottom: 70px;
  }
  .teacher02 .teacher02__content {
    flex-direction: column;
    align-items: center;
  }
  .teacher02 .teacher02__content__left {
    width: 100%;
    padding: 0px 30px;
    order: 2;
  }
  .teacher02 .teacher02__content__right {
    width: 100%;
    order: 1;
    padding: 0px 30px;
  }
  .teacher02 .teacher__heading-sp {
    display: block;
    font-size: 26px;
    font-family: "Yuji Mai", serif;
    font-weight: 550;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    z-index: 1;
  }
  .teacher02 .teacher__heading-sp .highlight {
    color: #d50d0d;
  }
  .teacher02 .teacher__heading-sp::before {
    content: "";
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translate(-50%);
    width: 310px;
    height: 10px;
    background-color: #ffdd1f;
    z-index: -1;
  }
}

.teacher-sns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.teacher-sns a img {
  width: 48px;
}
.teacher-sns a:hover {
  opacity: 0.7;
  cursor: pointer;
}

.course-list__title {
  font-weight: bold;
  text-align: center;
  margin: 80px auto;
  letter-spacing: 2px;
  position: relative;
}
.course-list__title img {
  margin: 0 auto 15px;
  width: 48px;
}
.course-list__title__main {
  font-size: 42px;
  color: #d50d0d;
}
.course-list__title__sub {
  font-size: 24px;
}
.course-list__title::after {
  content: "";
  display: block;
  width: 880px;
  height: 3px;
  background-color: #000;
  margin: 10px auto 0;
}
.course-list__content {
  display: flex;
  width: 1080px;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
}
.course-list__content::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 57px;
  background: url("../img/school-year.png") no-repeat top center;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}
.course-list__content__left, .course-list__content__right {
  width: 35%;
}
.course-list__content__left .content-theme, .course-list__content__right .content-theme {
  position: relative;
}
.course-list__content__left .content-theme__title, .course-list__content__right .content-theme__title {
  width: 380px;
  height: 75px;
  background-color: #fff;
  border: 2px solid #000;
  text-align: center;
  line-height: 75px;
  box-shadow: 0px 3px 0px #000;
  margin-bottom: 40px;
  color: #d50d0d;
}
.course-list__content__left .content-theme__title-02, .course-list__content__right .content-theme__title-02 {
  font-size: 24px;
}
.course-list__content__left .content-theme .icon-pen, .course-list__content__right .content-theme .icon-pen {
  background: url("../img/decoration/decoration-pen.png") no-repeat center/contain;
  width: 60px;
  height: 60px;
  rotate: 130deg;
  top: -30%;
  left: -5%;
  position: absolute;
}
.course-list__content__left .about-course, .course-list__content__right .about-course {
  width: 320px;
  margin: 80px auto;
  background-color: #fff;
}
.course-list__content__left .about-course__title, .course-list__content__right .about-course__title {
  text-align: center;
  font-size: 24px;
  margin-top: 20px;
}
.course-list__content__left .about-course__text, .course-list__content__right .about-course__text {
  padding: 10px 20px 30px;
  font-size: 14px;
  text-align: justify;
}
.course-list__content__left .about-course__text__br, .course-list__content__right .about-course__text__br {
  display: inline-block;
}
@media (max-width: 1100px) {
  .course-list__content__left .about-course__text__br, .course-list__content__right .about-course__text__br {
    display: none;
  }
}
.course-list__content__left .about-frequency-left, .course-list__content__right .about-frequency-left {
  position: relative;
  gap: 1rem;
}
.course-list__content__left .about-frequency-left__title, .course-list__content__right .about-frequency-left__title {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 5px;
  margin-bottom: 5px;
}
.course-list__content__left .about-frequency-left .line-with-dot, .course-list__content__right .about-frequency-left .line-with-dot {
  width: 380px;
  height: 3px;
  background-color: #000;
  position: relative;
}
.course-list__content__left .about-frequency-left .line-with-dot::after, .course-list__content__right .about-frequency-left .line-with-dot::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #000;
  border-radius: 50%;
}
.course-list__content__left .about-frequency-left__text, .course-list__content__right .about-frequency-left__text {
  font-size: 18px;
  font-weight: bold;
  margin-top: 8px;
}
.course-list__content__left .about-frequency-left img, .course-list__content__right .about-frequency-left img {
  width: 160px;
  margin: 20px auto 0;
}
.course-list__content__left .about-frequency-right, .course-list__content__right .about-frequency-right {
  position: relative;
  gap: 1rem;
  margin-top: 100px;
}
.course-list__content__left .about-frequency-right__title, .course-list__content__right .about-frequency-right__title {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 5px;
  margin-bottom: 5px;
  text-align: right;
}
.course-list__content__left .about-frequency-right .line-with-dot, .course-list__content__right .about-frequency-right .line-with-dot {
  width: 380px;
  height: 3px;
  background-color: #000;
  position: relative;
}
.course-list__content__left .about-frequency-right .line-with-dot::after, .course-list__content__right .about-frequency-right .line-with-dot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: #000;
  border-radius: 50%;
}
.course-list__content__left .about-frequency-right__text, .course-list__content__right .about-frequency-right__text {
  font-size: 18px;
  font-weight: bold;
  margin-top: 8px;
  text-align: right;
}
.course-list__content__left .about-frequency-right img, .course-list__content__right .about-frequency-right img {
  width: 160px;
  margin: 20px auto 0;
}
.course-list__content__left {
  margin-left: 80px;
  position: relative;
}
.course-list__content__left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 2100px;
  background-color: #faf8dc;
  opacity: 0.8;
  z-index: -1;
  border-radius: 50%;
}
.course-list__content__right {
  margin-right: 80px;
  position: relative;
}
.course-list__content__right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1080px;
  background-color: #faf8dc;
  opacity: 0.8;
  z-index: -1;
  border-radius: 50%;
}
.course-list__content-sp {
  display: none;
}
@media (max-width: 1100px) {
  .course-list__title {
    margin: 40px auto;
  }
  .course-list__title img {
    width: 42px;
  }
  .course-list__title__main {
    font-size: 36px;
  }
  .course-list__title__sub {
    font-size: 20px;
  }
  .course-list__title::after {
    width: 600px;
  }
  .course-list__content {
    max-width: 760px;
  }
  .course-list__content::before {
    width: 55px;
  }
  .course-list__content__left, .course-list__content__right {
    width: 43%;
  }
  .course-list__content__left .content-theme, .course-list__content__right .content-theme {
    position: relative;
  }
  .course-list__content__left .content-theme__title, .course-list__content__right .content-theme__title {
    width: 330px;
    height: 65px;
    line-height: 65px;
  }
  .course-list__content__left .content-theme .icon-pen, .course-list__content__right .content-theme .icon-pen {
    width: 50px;
    height: 50px;
    top: -25%;
    left: -6%;
  }
  .course-list__content__left .about-course, .course-list__content__right .about-course {
    width: 280px;
  }
  .course-list__content__left .about-course__title, .course-list__content__right .about-course__title {
    font-size: 22px;
    margin-top: 12px;
  }
  .course-list__content__left .about-course__text, .course-list__content__right .about-course__text {
    padding-bottom: 20px;
  }
  .course-list__content__left::after, .course-list__content__right::after {
    width: 350px;
  }
  .course-list__content .about-frequency-left__title {
    font-size: 24px;
  }
  .course-list__content .about-frequency-left__text {
    font-size: 17px;
  }
  .course-list__content .about-frequency-left .line-with-dot {
    width: 330px;
  }
  .course-list__content .about-frequency-right__title {
    font-size: 24px;
  }
  .course-list__content .about-frequency-right__text {
    font-size: 17px;
  }
  .course-list__content .about-frequency-right .line-with-dot {
    width: 330px;
    margin-left: 10px;
  }
  .course-list__content__left {
    margin-left: 0px;
  }
  .course-list__content__left::after {
    height: 2050px;
  }
  .course-list__content__right {
    margin-right: 0px;
  }
}
@media (max-width: 819px) {
  .course-list__title {
    margin: 40px auto 20px;
  }
  .course-list__title img {
    width: 30px;
    margin: 0 auto 8px;
  }
  .course-list__title__main {
    font-size: 28px;
  }
  .course-list__title__sub {
    font-size: 18px;
  }
  .course-list__title::after {
    width: 360px;
  }
  .course-list__content {
    display: none;
  }
  .course-list__content-sp {
    margin: 40px auto;
    padding: 0 10px;
    display: flex;
    max-width: 360px;
    justify-content: space-between;
  }
  .course-list__content-sp__left {
    width: 15%;
  }
  .course-list__content-sp__right {
    width: 80%;
  }
  .course-list__content-sp__right .about-frequency {
    position: relative;
    gap: 1rem;
    margin-top: 10px;
  }
  .course-list__content-sp__right .about-frequency__title {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 3px;
    text-align: right;
  }
  .course-list__content-sp__right .about-frequency .line-with-dot {
    width: 275px;
    height: 2px;
    background-color: #000;
    position: relative;
  }
  .course-list__content-sp__right .about-frequency .line-with-dot::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #000;
    border-radius: 50%;
  }
  .course-list__content-sp__right .about-frequency__text {
    font-size: 12px;
    font-weight: bold;
    margin-top: 3px;
    text-align: right;
  }
  .course-list__content-sp__right .about-frequency-02 {
    margin-bottom: 100px;
  }
  .course-list__content-sp__right .about-course {
    width: 260px;
    margin: 40px auto;
    position: relative;
    background-color: #fff;
  }
  .course-list__content-sp__right .about-course__title {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
  }
  .course-list__content-sp__right .about-course__text {
    padding: 10px 20px 30px;
    font-size: 12px;
    text-align: justify;
  }
  .course-list__content-sp__right .about-course .course-overlay {
    content: "";
    position: absolute;
    z-index: 1;
    width: 60px;
    height: 60px;
    bottom: -15px;
    right: -25px;
  }
  .course-list__content-sp__right .about-course .gakusya-walk {
    background: url("../img/gakusya-kun/gakusya-kun08.png") no-repeat center/contain;
  }
  .course-list__content-sp__right .about-course .gakusya-study {
    background: url("../img/gakusya-kun/gakusya-kun02.png") no-repeat center/contain;
  }
  .course-list__content-sp__right .about-course .gakusya-run {
    background: url("../img/gakusya-kun/gakusya-kun09.png") no-repeat center/contain;
  }
  .course-list__content-sp__right .about-course .gakusya-goukaku {
    background: url("../img/gakusya-kun/gakusya-kun05.png") no-repeat center/contain;
  }
}

.course-price {
  max-width: 1080px;
  margin: 80px auto;
}
.course-price__title {
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  margin: 30px auto 50px;
  font-size: 42px;
}
.course-price__title::after {
  content: "";
  display: block;
  width: 880px;
  height: 3px;
  background-color: #000;
  margin: 10px auto 0;
}
.course-price__content__pc {
  display: block;
}
.course-price__content__pc__text {
  font-size: 16px;
  text-align: center;
  margin: 20px auto 30px;
}
.course-price__content__sp {
  display: none;
}
@media (max-width: 1100px) {
  .course-price {
    max-width: 760px;
  }
  .course-price__title {
    font-size: 36px;
    margin: 20px auto 30px;
  }
  .course-price__title::after {
    width: 600px;
  }
}
@media (max-width: 819px) {
  .course-price {
    max-width: 360px;
  }
  .course-price__title {
    font-size: 28px;
    margin: 20px auto 30px;
  }
  .course-price__title::after {
    max-width: 360px;
  }
  .course-price .course-price__content__pc {
    display: none;
  }
  .course-price .course-price__content__sp {
    display: block;
  }
  .course-price .course-price__content__sp__text {
    font-size: 14px;
    text-align: center;
    margin: 15px auto;
  }
  .course-price .course-price__content__sp img {
    width: 330px;
    margin: 40px auto 0;
  }
}

@media (max-width: 819px) {
  .course-main {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .course-main::before {
    content: "";
    position: absolute;
    top: 13%;
    left: 62%;
    transform: translateX(-50%);
    width: 430px;
    height: 430px;
    background-color: #faf8dc;
    opacity: 0.8;
    z-index: -1;
    border-radius: 50%;
  }
  .course-main::after {
    content: "";
    position: absolute;
    top: 32%;
    left: 62%;
    transform: translateX(-50%);
    width: 430px;
    height: 430px;
    background-color: #faf8dc;
    opacity: 0.8;
    z-index: -1;
    border-radius: 50%;
  }
}

.course-elementary {
  width: 100%;
  align-items: stretch;
}
.course-elementary__fv {
  width: 100%;
  height: 100vh;
  background: url("../img/elementary-fv-bg-pc.png") no-repeat center center;
  background-size: cover;
}
.course-elementary__fv__pc {
  display: flex;
  justify-content: center;
}
.course-elementary__fv__pc .copy {
  font-family: "Yuji Mai", serif;
  margin-top: 170px;
}
.course-elementary__fv__pc .copy .sub-copy {
  font-size: 26px;
  color: #4D6C3F;
  position: relative;
  display: inline-block;
}
.course-elementary__fv__pc .copy .sub-copy::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; /* テキストとの間隔調整 */
  width: 100%;
  height: 2px; /* 線の太さ */
  background: #D9D376;
}
.course-elementary__fv__pc .copy .main-copy {
  font-size: 34px;
  font-weight: normal;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #4D6C3F;
  letter-spacing: 7px;
  margin: 14px auto;
  color: #4D6C3F;
}
.course-elementary__fv__pc .fv-mv {
  width: 680px;
}
.course-elementary__fv__sp {
  display: none;
}
.course-elementary__message {
  margin-bottom: 120px;
}
.course-elementary__message .message {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.course-elementary__message .message__text {
  flex: 1;
  font-size: 16px;
  line-height: 2.4;
  color: #4D6C3F;
}
.course-elementary__message .message__text__title {
  font-size: 26px;
  font-weight: normal;
  -webkit-text-stroke-width: 1.3px;
  -webkit-text-stroke-color: #4D6C3F;
  color: #4D6C3F;
  letter-spacing: 2px;
  margin-left: -18px;
}
.course-elementary__message .message__text__title .sp-only {
  display: none;
}
.course-elementary__message .message__text p {
  margin-bottom: 1.5em;
  text-align: justify;
  text-justify: inter-word;
}
.course-elementary__message .message__img {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.course-elementary__message .message__img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  position: relative;
}
.course-elementary__troubles .inner {
  width: 100%;
  height: 100vh;
}
.course-elementary__troubles .pc-only {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
}
.course-elementary__troubles .pc-only .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  -o-object-position: center;
     object-position: center; /* 画像の位置を中央に */
}
.course-elementary__troubles .pc-only::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 100px;
  background: url("../img/arrow.png") no-repeat center/contain;
  z-index: 1;
}
.course-elementary__troubles .pc-only .troubles__content {
  vertical-align: middle;
}
.course-elementary__troubles .pc-only h2 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-top: 120px;
  color: #fff;
}
.course-elementary__troubles .pc-only .troubles {
  padding: 30px 20px;
}
.course-elementary__troubles .pc-only .troubles__inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.course-elementary__troubles .pc-only .troubles__item {
  width: 297px;
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
}
.course-elementary__troubles .pc-only .troubles__img {
  width: 150px;
  height: auto;
  margin: 0 auto 10px;
}
.course-elementary__troubles .pc-only .troubles__title {
  font-size: 20px;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-elementary__troubles .pc-only .troubles__text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  text-align: left;
}
.course-elementary__troubles .sp-only {
  display: none;
}
.course-elementary__troubles .solution {
  position: relative;
  text-align: center;
  margin: 60px auto;
  padding: 40px 20px;
}
.course-elementary__troubles .solution__text {
  display: inline-block;
  position: relative;
  font-weight: 700;
  color: #4D6C3F;
  line-height: 1.5;
  letter-spacing: 2px;
}
.course-elementary__troubles .solution__text::after {
  content: "";
  display: block;
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  right: -110px;
  width: 100px;
  height: 100px;
  background: url("../img/gakusya-kun/gakusya-kun15.png") no-repeat center/contain;
}
.course-elementary__troubles .solution__text::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 14px;
  background-color: #FFE76D;
  z-index: -1;
}
.course-elementary__troubles .solution__text .large {
  font-size: 36px;
}
.course-elementary__troubles .solution__text .small {
  font-size: 27px;
}
.course-elementary__troubles .solution .solution-br {
  display: none;
}
.course-elementary__teacher-message {
  background: url("../img/grid.png") repeat;
  padding: 60px 0;
  box-shadow: 0 8px 0 #4D6C3F;
}
.course-elementary__teacher-message .inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.course-elementary__teacher-message .teacher-photo {
  flex: 0 0 40%;
}
.course-elementary__teacher-message .teacher-photo .teacher-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.course-elementary__teacher-message .teacher-text {
  flex: 1;
  color: #333;
}
.course-elementary__teacher-message .teacher-text .sub-catch {
  font-size: 20px;
  font-weight: bold;
  color: #496b2e;
  margin-bottom: 8px;
}
.course-elementary__teacher-message .teacher-text .catch {
  font-size: 28px;
  font-weight: bold;
  color: #1d7c37;
  margin-bottom: 20px;
}
.course-elementary__teacher-message .teacher-text .teacher-message {
  font-size: 16px;
  line-height: 1.8;
}
.course-elementary__seven-common {
  width: 100%;
  margin: 80px auto;
  /* 共通スタイル */
  /* 左矢印 */
  /* 右矢印 */
}
.course-elementary__seven-common h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 80px 0 0px;
  color: #4D6C3F;
}
.course-elementary__seven-common h2 .sp-only {
  display: none;
}
.course-elementary__seven-common .uncommon-card {
  background: url("../img/grid.png") repeat;
  padding: 40px 24px;
  border: 4px solid #4B5F4A;
  box-shadow: 0 6px 0 #4B5F4A;
  border-radius: 12px;
  position: relative;
  max-width: 460px;
  height: 580px;
  margin: 0 auto;
  text-align: center;
  list-style-type: none;
}
.course-elementary__seven-common .uncommon-card__inner {
  position: relative;
}
.course-elementary__seven-common .uncommon-card__badge {
  position: absolute;
  top: -80px;
  left: -70px;
  width: 100px;
  height: auto;
  z-index: 2;
}
.course-elementary__seven-common .uncommon-card__title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  color: #478845;
  margin-top: 40px;
  margin-bottom: 24px;
}
.course-elementary__seven-common .uncommon-card__image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.course-elementary__seven-common .uncommon-card__image {
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.course-elementary__seven-common .uncommon-card__label {
  position: absolute;
  bottom: -2px;
  left: 20px;
  width: 90%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 0;
}
.course-elementary__seven-common .uncommon-card__text {
  font-size: 18px;
  line-height: 1.5;
  width: 90%;
  text-align: justify;
  color: #333;
  margin: 20px auto 0;
}
.course-elementary__seven-common .common-slider {
  padding-left: 0px;
}
.course-elementary__seven-common .common-slider .slick-slide {
  transition: all 0.3s ease;
  opacity: 0.5;
  transform: scale(0.95);
  padding: 10px;
  margin: 0 30px;
}
.course-elementary__seven-common .common-slider .slick-center {
  opacity: 1;
  transform: scale(1);
}
.course-elementary__seven-common .common-slider .slick-track {
  margin: 30px 0 40px;
}
.course-elementary__seven-common .common-slider .slick-arrow {
  z-index: 10;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.course-elementary__seven-common .common-slider .slick-prev::before, .course-elementary__seven-common .common-slider .slick-next::before {
  color: #478845;
  font-size: 30px;
}
.course-elementary__seven-common .common-slider .slick-prev:hover, .course-elementary__seven-common .common-slider .slick-next:hover {
  color: #1f3a1e;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.course-elementary__seven-common .common-slider .slick-dots {
  bottom: -30px;
}
.course-elementary__seven-common .common-slider .slick-dots li {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.course-elementary__seven-common .common-slider .slick-dots li button {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
}
.course-elementary__seven-common .common-slider .slick-dots li button:before {
  color: #838383;
}
.course-elementary__seven-common .common-slider .slick-dots li.slick-active button:before {
  color: #478845;
}
.course-elementary__seven-common .custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.course-elementary__seven-common .slick-prev {
  left: 33% !important;
}
.course-elementary__seven-common .slick-prev::before {
  content: "◀";
  font-size: 24px !important;
  padding-bottom: 3px !important;
}
.course-elementary__seven-common .slick-next {
  right: 33%;
}
.course-elementary__seven-common .slick-next::before {
  content: "▶";
  font-size: 24px !important;
  padding-bottom: 3px !important;
}
.course-elementary__seven-common .slick-dots li button:before {
  font-size: 12px;
}
.course-elementary__student-type {
  padding: 120px 20px;
  background-color: #fff;
  text-align: center;
}
.course-elementary__student-type h2 {
  font-size: 26px;
  font-weight: 500;
  color: #4D6C3F;
  line-height: 1.2;
  margin-bottom: 40px;
}
.course-elementary__student-type h2 span {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin: 8px auto 20px;
  width: 540px;
}
.course-elementary__student-type .student-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.course-elementary__student-type .student-grid > div {
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s;
}
.course-elementary__student-type .student-grid > div img {
  width: 150px;
  height: auto;
  margin: 0 auto 20px;
}
.course-elementary__student-type .student-grid > div h4 {
  font-size: 20px;
  font-weight: bold;
  color: #4D6C3F;
  margin-bottom: 6px;
}
.course-elementary__student-type .student-grid > div p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  text-align: left;
}
.course-elementary__student-type .student-slider {
  display: none;
}
.course-elementary__course {
  padding: 180px 24px 60px;
}
.course-elementary__course h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #4D6C3F;
  margin-bottom: 8px;
}
.course-elementary__course .course-target {
  text-align: center;
  font-size: 20px;
}
.course-elementary__course p {
  text-align: justify;
  margin-bottom: 40px;
  font-size: 16px;
  color: #333;
}
.course-elementary__course .course-tabs {
  max-width: 1000px;
  margin: 0 auto;
}
.course-elementary__course .tab-menu {
  display: flex;
  justify-content: center;
  padding: 0px;
  margin-bottom: 0px;
  overflow: hidden;
}
.course-elementary__course .tab-menu li {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  cursor: pointer;
  background-color: #ccc;
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 20px 20px 0 0;
  list-style-type: none;
  transition: all 0.3s ease;
  font-size: 24px;
}
.course-elementary__course .tab-menu li.active {
  background-color: #72A859;
  color: #fff;
}
.course-elementary__course .tab-menu li:not(.active) {
  background-color: #888;
}
.course-elementary__course .tab-menu li .sp-only {
  display: none;
}
.course-elementary__course .tab-content .tab {
  display: none;
  background: url("../img/grid.png") repeat;
  padding: 80px 60px 30px;
}
.course-elementary__course .tab-content .tab.active {
  display: block;
}
.course-elementary__course .tab-content .course-content__item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .course-elementary__course .tab-content .course-content__item {
    flex-direction: column;
    gap: 20px;
  }
}
.course-elementary__course .tab-content .course-content__item.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .course-elementary__course .tab-content .course-content__item.reverse {
    flex-direction: column;
  }
}
.course-elementary__course .tab-content .course-content__item .course-content__image {
  flex: 1;
}
.course-elementary__course .tab-content .course-content__item .course-content__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.course-elementary__course .tab-content .course-content__item .course-content__text {
  flex: 1;
}
.course-elementary__course .tab-content .course-content__item .course-content__text h3 {
  font-size: 28px;
  color: #4D6C3F;
  font-weight: 600;
  margin-bottom: 16px;
}
.course-elementary__course .tab-content .course-content__item .course-content__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  width: 450px;
}
.course-elementary__course .tab-content .reverse {
  flex-direction: row-reverse !important;
}
.course-elementary__youtube {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
  margin: 120px auto;
}
.course-elementary__youtube h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}
.course-elementary__youtube h2 span {
  color: #d60000;
  font-weight: bold;
}
.course-elementary__youtube h2 .sp-only {
  display: none;
}
.course-elementary__youtube .youtube-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.course-elementary__youtube .youtube-wrapper iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.course-elementary__youtube .youtube-wrapper .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 9999px;
  transition: 0.3s ease;
}
@media (min-width: 768px) {
  .course-elementary__youtube h2 {
    font-size: 32px;
  }
  .course-elementary__youtube .youtube-wrapper {
    gap: 40px;
  }
  .course-elementary__youtube .youtube-wrapper iframe {
    width: 560px;
    height: 315px;
  }
}
.course-elementary__comparison .comparison-title {
  position: relative;
  display: block;
  padding: 16px 32px;
  background: #fff;
  border: 4px solid #111;
  border-radius: 8px;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 0 #111;
  margin: 0 auto;
  width: 50%;
}
.course-elementary__comparison .comparison-title::after {
  content: "";
  position: absolute;
  bottom: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 20px solid #111;
  z-index: 0;
}
.course-elementary__comparison .comparison-title::before {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 20px solid #fff;
  z-index: 1;
}
.course-elementary__comparison .comparison-table-pc {
  padding: 80px 20px;
}
.course-elementary__comparison .comparison-table-pc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.course-elementary__comparison .comparison-table-pc table {
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  margin: 0 auto;
  color: #333;
}
.course-elementary__comparison .comparison-table-pc table th {
  border: 1px solid #ccc;
  padding: 16px;
  vertical-align: top;
  text-align: center;
  display: inline-block;
  width: 300px;
  font-size: 20px;
  background-color: #fff;
}
.course-elementary__comparison .comparison-table-pc table td {
  border: 1px solid #ccc;
  padding: 16px;
  vertical-align: top;
  text-align: left;
  line-height: 1.6;
  display: inline-block;
  width: 300px;
  font-size: 14px;
  background-color: #fff;
}
.course-elementary__comparison .comparison-table-pc table td div {
  font-size: 36px;
  text-align: center;
  font-weight: bold;
  color: #62715A;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #62715A;
}
.course-elementary__comparison .comparison-table-pc table td .clear {
  color: #548C3A;
  -webkit-text-stroke-color: #548C3A !important;
}
.course-elementary__comparison .comparison-table-pc table td span {
  text-align: center !important;
  font-weight: bold;
  display: inline-block;
  margin: 0 auto;
  width: 100%;
}
.course-elementary__comparison .comparison-table-pc table td .span01-td {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 2px;
}
.course-elementary__comparison .comparison-table-pc table td .span01-td span {
  font-size: 36px;
  display: inline;
  letter-spacing: -2px;
}
.course-elementary__comparison .comparison-table-pc table td .span01-td .big {
  color: #548C3A;
}
.course-elementary__comparison .comparison-table-pc table td .class-style {
  background-color: #F4F4F4;
  padding: 4px;
}
.course-elementary__comparison .comparison-table-pc table .border-side {
  border-left: 6px solid #72A859;
  border-right: 6px solid #72A859;
}
.course-elementary__comparison .comparison-table-pc table .border-bottom-side {
  border-left: 6px solid #72A859;
  border-right: 6px solid #72A859;
  border-bottom: 6px solid #72A859;
}
.course-elementary__comparison .comparison-table-pc table thead th {
  font-weight: bold;
  width: 300px;
  height: 60px;
  text-align: center;
  vertical-align: middle;
}
.course-elementary__comparison .comparison-table-pc table thead th:nth-child(1) {
  opacity: 0;
}
.course-elementary__comparison .comparison-table-pc table thead th:nth-child(2) {
  background-color: #62715A;
  color: #fff;
}
.course-elementary__comparison .comparison-table-pc table thead th:nth-child(3) {
  background-color: #72A859;
  color: #fff;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison01 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison01 td {
  height: 130px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison01 th {
  padding-top: 35px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison02 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison02 td {
  height: 160px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison02 th {
  line-height: 130px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison03 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison03 td {
  height: 160px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison03 th {
  line-height: 120px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison04 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison04 td {
  height: 210px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison04 th {
  line-height: 180px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison05 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison05 td {
  height: 300px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison05 th {
  line-height: 270px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison06 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison06 td {
  height: 180px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison06 th {
  padding-top: 60px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison07 th, .course-elementary__comparison .comparison-table-pc table tbody .comparison07 td {
  height: 230px;
}
.course-elementary__comparison .comparison-table-pc table tbody .comparison07 th {
  line-height: 180px;
}
.course-elementary__comparison .comparison-table-pc table tbody td {
  width: 300px;
}
.course-elementary__comparison .comparison-table-pc table strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.course-elementary__comparison .comparison-table-pc table small {
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 8px;
  color: #666;
}
@media (max-width: 767px) {
  .course-elementary__comparison .comparison-table-pc table,
  .course-elementary__comparison .comparison-table-pc thead,
  .course-elementary__comparison .comparison-table-pc tbody,
  .course-elementary__comparison .comparison-table-pc th,
  .course-elementary__comparison .comparison-table-pc td,
  .course-elementary__comparison .comparison-table-pc tr {
    display: block;
  }
  .course-elementary__comparison .comparison-table-pc thead {
    display: none;
  }
  .course-elementary__comparison .comparison-table-pc tbody tr {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
  }
  .course-elementary__comparison .comparison-table-pc tbody th {
    background-color: #f2f2f2;
    padding: 12px;
    border-bottom: 1px solid #ccc;
  }
  .course-elementary__comparison .comparison-table-pc tbody td {
    padding: 12px;
    border-top: none;
    border-bottom: 1px solid #ccc;
  }
  .course-elementary__comparison .comparison-table-pc tbody td:last-child {
    background-color: #e6f4e9;
  }
}
.course-elementary__comparison .comparison-table-sp {
  display: none;
}
@media (max-width: 1100px) {
  .course-elementary__fv__pc {
    display: none;
  }
  .course-elementary__fv__sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: url("../img/elementary-fv-bg-sp.png") no-repeat center center;
    background-size: cover;
    height: 100vh;
  }
  .course-elementary__fv__sp .copy {
    margin-top: 20px;
    text-align: center;
    font-family: "Yuji Mai", serif;
  }
  .course-elementary__fv__sp .copy .sub-copy {
    font-size: 20px;
    color: #4D6C3F;
    position: relative;
    display: inline-block;
  }
  .course-elementary__fv__sp .copy .sub-copy::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px; /* テキストとの間隔調整 */
    width: 100%;
    height: 2px; /* 線の太さ */
    background: #D9D376;
  }
  .course-elementary__fv__sp .copy .main-copy {
    font-size: 26px;
    letter-spacing: 2px;
    color: #4D6C3F;
    margin-top: 15px;
  }
  .course-elementary__fv__sp .copy .main-copy .no-space {
    letter-spacing: -0.3em;
  }
  .course-elementary__fv__sp .fv-mv {
    width: 100%;
    max-width: 400px;
    margin-top: 40px;
  }
  .course-elementary__message {
    margin-bottom: 20px;
  }
  .course-elementary__message .message {
    flex-direction: column;
    align-items: center;
  }
  .course-elementary__message .message__text {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    order: 2;
  }
  .course-elementary__message .message__text__title {
    font-size: 24px;
    color: #4D6C3F;
    line-height: 0.8;
    margin-bottom: 16px;
  }
  .course-elementary__message .message__text p {
    margin: 0 auto;
    display: block;
    line-height: 2;
    width: 90%;
    font-size: 16px;
  }
}
@media (max-width: 1100px) and (max-width: 560px) {
  .course-elementary__message .message .sp-only {
    display: block;
  }
  .course-elementary__message .message .message__img {
    margin-top: -55px;
  }
}
@media (max-width: 1100px) {
  .course-elementary__message .message__img {
    width: 100%;
    flex-basis: 0px;
    margin: 50px auto 20px;
    flex-direction: row;
    order: 1;
    gap: 0px;
  }
  .course-elementary__message .message__img img {
    width: 47%;
    height: auto;
  }
  .course-elementary__troubles .pc-only {
    display: none;
  }
  .course-elementary__troubles .sp-only {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    display: block;
    min-height: 100vh;
    box-sizing: border-box;
  }
  .course-elementary__troubles .sp-only .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    -o-object-position: center;
       object-position: center; /* 画像の位置を中央に */
  }
  .course-elementary__troubles .sp-only::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 52%;
    transform: translateX(-50%);
    width: 17px;
    height: 70px;
    background: url("../img/arrow.png") no-repeat center/contain;
    z-index: 1;
  }
  .course-elementary__troubles .sp-only .trouble-slider .troubles__content h2 {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    line-height: 1.3;
    margin: 40px auto 20px;
  }
  .course-elementary__troubles .sp-only .trouble-slider .troubles__content .troubles__item {
    width: 90%;
    margin: 0 10px;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-sizing: border-box;
    height: 380px;
  }
  .course-elementary__troubles .sp-only .trouble-slider .troubles__content .troubles__img {
    width: 150px;
    margin: 0 auto 10px;
  }
  .course-elementary__troubles .sp-only .trouble-slider .troubles__content .troubles__title {
    font-size: 22px;
    font-weight: bold;
    color: #2e7d32;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .course-elementary__troubles .sp-only .trouble-slider .troubles__content .troubles__text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: left;
  }
  .course-elementary__troubles .sp-only__inner-sp {
    padding: 0 20px;
    width: 100%;
  }
  .course-elementary__troubles .sp-only__inner-sp .slick-slide {
    display: flex !important;
    justify-content: center;
  }
  .course-elementary__troubles .sp-only .slick-dots {
    bottom: -35px;
  }
  .course-elementary__troubles .sp-only .slick-dots li.slick-active button:before {
    color: #ffdd1f;
  }
  .course-elementary__troubles .sp-only .slick-dots li button:before {
    font-size: 12px;
  }
  .course-elementary__troubles .solution {
    margin: 20px auto;
  }
  .course-elementary__troubles .solution__text {
    font-size: 20px;
  }
  .course-elementary__troubles .solution__text .large {
    font-size: 28px;
  }
  .course-elementary__troubles .solution__text .small {
    font-size: 24px;
  }
  .course-elementary__troubles .solution__text::after {
    content: "";
    position: absolute;
    top: 38%;
    left: 0;
    width: 100%;
    height: 10px;
    background: none;
    background-color: #FFE76D;
    z-index: -1;
  }
  .course-elementary__troubles .solution__text::before {
    height: 10px;
    bottom: 2px;
  }
  .course-elementary__troubles .solution .solution-br {
    display: block;
    height: 0px;
  }
  .course-elementary__teacher-message .inner {
    flex-direction: column;
    gap: 0;
  }
  .course-elementary__teacher-message .inner .teacher-photo {
    margin-bottom: 20px;
  }
  .course-elementary__teacher-message .inner .teacher-photo .teacher-image {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-right: 30px;
  }
  .course-elementary__teacher-message .inner .teacher-text {
    text-align: center;
  }
  .course-elementary__teacher-message .inner .teacher-text .sub-catch {
    margin-bottom: 4px;
    font-size: 16px;
  }
  .course-elementary__teacher-message .inner .teacher-text .catch {
    margin-bottom: 8px;
    font-size: 20px;
    width: 90%;
    margin: 0 auto 15px;
  }
  .course-elementary__teacher-message .inner .teacher-text .teacher-message {
    font-size: 16px;
    -moz-text-align-last: left;
         text-align-last: left;
    width: 90%;
    margin: 0 auto;
    text-align: justify;
  }
  .course-elementary__seven-common {
    width: 100%;
    margin: 80px auto;
  }
  .course-elementary__seven-common h2 {
    font-size: 28px;
    font-weight: 700;
    padding-left: 20px;
    text-align: center;
    margin: 40px 0 0px;
  }
  .course-elementary__seven-common h2 .sp-only {
    display: block;
    line-height: 0;
  }
  .course-elementary__seven-common .uncommon-card {
    height: 455px;
    margin: 0 auto;
    padding: 20px;
  }
  .course-elementary__seven-common .uncommon-card__inner {
    position: relative;
    text-align: center;
  }
  .course-elementary__seven-common .uncommon-card__badge {
    position: absolute;
    top: -55px;
    left: -50px;
    width: 68px;
    height: auto;
    z-index: 2;
  }
  .course-elementary__seven-common .uncommon-card__title {
    font-size: 16px !important;
    font-weight: bold;
    line-height: 1.2;
    color: #478845;
    margin-top: 20px;
    margin-bottom: 16px;
  }
  .course-elementary__seven-common .uncommon-card__image-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }
  .course-elementary__seven-common .uncommon-card__image {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .course-elementary__seven-common .uncommon-card__label {
    position: absolute;
    bottom: -5px;
    left: 20px;
    width: calc(100% - 40px);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 0;
  }
  .course-elementary__seven-common .uncommon-card__text {
    font-size: 16px;
    line-height: 1.5;
    width: calc(100% - 40px);
    text-align: justify;
    color: #333;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .course-elementary__seven-common .common-slider {
    /* 左矢印 */
    /* 右矢印 */
  }
  .course-elementary__seven-common .common-slider .slick-slide {
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.95);
    padding: 10px;
    margin: 0 15px;
  }
  .course-elementary__seven-common .common-slider .slick-center {
    opacity: 1;
    transform: scale(1);
  }
  .course-elementary__seven-common .common-slider .slick-prev {
    left: 3cqb !important;
  }
  .course-elementary__seven-common .common-slider .slick-next {
    right: 5%;
  }
  .course-elementary__student-type {
    padding: 60px 0px;
  }
  .course-elementary__student-type h2 {
    font-size: 22px;
  }
  .course-elementary__student-type h2 span {
    font-size: 28px;
    width: auto;
    padding-bottom: 12px;
  }
  .course-elementary__student-type .student-grid {
    display: none;
  }
  .course-elementary__student-type .student-slider {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .course-elementary__student-type .student-slider .slick-slide {
    justify-content: center;
    margin: 0px 10px 40px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px 20px 40px;
    box-sizing: border-box;
    text-align: center;
    height: 380px;
    transition: transform 0.3s;
  }
  .course-elementary__student-type .student-slider .slick-slide img {
    width: 140px;
    margin: 0 auto 16px;
  }
  .course-elementary__student-type .student-slider .slick-slide h4 {
    font-size: 18px;
    font-weight: bold;
    color: #4D6C3F;
    margin-bottom: 10px;
  }
  .course-elementary__student-type .student-slider .slick-slide p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    text-align: left;
  }
  .course-elementary__student-type .student-slider .slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    bottom: -6px;
    left: 0;
  }
  .course-elementary__student-type .student-slider .slick-dots li.slick-active button:before {
    color: #4D6C3F;
  }
  .course-elementary__student-type .student-slider .slick-dots li button:before {
    font-size: 12px;
  }
  .course-elementary__course {
    padding: 60px 10px 30px;
  }
  .course-elementary__course h2 {
    font-size: 28px;
  }
  .course-elementary__course .tab-content .tab {
    padding: 40px 10px 30px;
  }
  .course-elementary__course .tab-content .course-content__item {
    flex-direction: column;
    gap: 20px;
  }
  .course-elementary__course .tab-content .course-content__item.reverse {
    flex-direction: column !important;
  }
  .course-elementary__course .tab-content .course-content__item .course-content__image img {
    border-radius: 8px;
  }
  .course-elementary__course .tab-content .course-content__item .course-content__text h3 {
    font-size: 22px;
    text-align: center;
  }
  .course-elementary__course .tab-content .course-content__item .course-content__text p {
    font-size: 14px;
    width: 100%;
  }
  .course-elementary__course .tab-menu li {
    font-size: 16px;
    padding: 14px 0;
    vertical-align: middle;
    line-height: 1.3;
  }
  .course-elementary__course .tab-menu li .sp-only {
    display: block;
    line-height: 0;
  }
  .course-elementary__course .tab-menu li:nth-child(2) {
    padding-top: 26px;
  }
  .course-elementary__course .course-target {
    font-size: 16px;
  }
  .course-elementary__youtube {
    padding: 60px 20px;
    margin: 60px auto 30px;
  }
  .course-elementary__youtube h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .course-elementary__youtube h2 .sp-only {
    display: block;
    line-height: 0;
  }
  .course-elementary__youtube .youtube-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  .course-elementary__comparison {
    padding: 60px 20px;
  }
  .course-elementary__comparison .comparison-title {
    font-size: 24px;
    margin-bottom: 40px;
    width: 90%;
  }
  .course-elementary__comparison .comparison-table-pc {
    display: none;
  }
  .course-elementary__comparison .comparison-table-sp {
    display: block;
    padding: 40px 20px;
  }
  .course-elementary__comparison .comparison-table-sp__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .course-elementary__comparison .comparison-table-sp .comparison-row {
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
  }
  .course-elementary__comparison .comparison-table-sp .row-title {
    background-color: #f6f6f6;
    font-weight: 600;
    font-size: 16px;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #ccc;
  }
  .course-elementary__comparison .comparison-table-sp .row-content {
    display: flex;
    flex-direction: column;
  }
  .course-elementary__comparison .comparison-table-sp .col {
    padding: 12px;
    border: 5px solid #72A859;
  }
  .course-elementary__comparison .comparison-table-sp .col:first-child {
    border: none;
  }
  .course-elementary__comparison .comparison-table-sp .col-label {
    font-size: 14px;
    margin-bottom: 8px;
    width: 140px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    background-color: #72A859;
  }
  .course-elementary__comparison .comparison-table-sp .col-label-other {
    background-color: #62715A !important;
  }
  .course-elementary__comparison .comparison-table-sp .mark {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #62715A;
  }
  .course-elementary__comparison .comparison-table-sp .highlight {
    color: #548C3A;
    -webkit-text-stroke-width: 1.6px;
    -webkit-text-stroke-color: #548C3A !important;
  }
  .course-elementary__comparison .comparison-table-sp .desc-title {
    background-color: #F4F4F4;
    text-align: center;
    padding: 5px;
    margin: 5px auto;
    font-size: 14px;
  }
  .course-elementary__comparison .comparison-table-sp .desc-first {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin: 20px auto 10px;
  }
  .course-elementary__comparison .comparison-table-sp .desc-first span {
    font-size: 36px;
  }
  .course-elementary__comparison .comparison-table-sp .desc-first .desc-span {
    color: #72A859;
  }
  .course-elementary__comparison .comparison-table-sp .desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .course-elementary__comparison .comparison-table-sp .desc-bold {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
  }
  .course-elementary__comparison .comparison-table-sp small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }
}

.body-junior-high {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #fefcf9;
}
.body-junior-high::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100vh;
  background: url("../img/junior-high-fv-bg-pc.png") no-repeat center center;
  background-size: cover;
}
@media (max-width: 1100px) {
  .body-junior-high::before {
    background-image: url("../img/junior-high-fv-bg-sp.png");
    height: 640px;
  }
}

.course-junior-high {
  width: 100%;
  align-items: stretch;
}
.course-junior-high__fv__pc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-junior-high__fv__pc .copy {
  font-family: "Yuji Mai", serif;
  writing-mode: vertical-rl;
  text-align: center;
  margin-left: 22%;
  margin-bottom: 50px;
}
.course-junior-high__fv__pc .copy .sub-copy {
  font-size: 17px;
  color: #333;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.course-junior-high__fv__pc .copy .main-copy {
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.17);
  color: #333;
  margin-top: 125px;
  padding-right: 9px;
}
.course-junior-high__fv__pc .copy .main-copy .highlight {
  color: #375083;
  font-weight: 600;
  margin-bottom: 200px;
  margin-right: 20px;
  font-size: 45px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.17);
  -webkit-text-stroke-width: 0.3px;
  -webkit-text-stroke-color: #375083;
  letter-spacing: 17px;
}
.course-junior-high__fv__pc .fv-mv {
  width: 620px;
  margin-right: 11%;
}
.course-junior-high__fv__sp {
  display: none;
}
.course-junior-high__message {
  padding: 200px 0 80px;
  position: relative;
}
@media (min-width: 1800px) {
  .course-junior-high__message {
    padding: 300px 0 80px;
  }
}
.course-junior-high__message .message {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  gap: 180px;
}
.course-junior-high__message .message__img {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.course-junior-high__message .message__img img {
  width: 320px;
  height: auto;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
}
.course-junior-high__message .message__text {
  writing-mode: vertical-rl;
  font-size: 16px;
  color: #1a1a1a;
  line-height: 2.4;
  letter-spacing: 2px;
}
.course-junior-high__message .message__text__title {
  font-size: 24px;
  font-family: "Yuji Mai", serif;
  margin-bottom: 24px;
  color: #18325c;
}
.course-junior-high__message .message__text p {
  font-size: 16px;
  margin-top: 40px;
}
.course-junior-high__troubles .inner {
  width: 100%;
  height: 100vh;
}
.course-junior-high__troubles .pc-only {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  box-sizing: border-box;
}
.course-junior-high__troubles .pc-only .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  -o-object-position: center;
     object-position: center; /* 画像の位置を中央に */
}
.course-junior-high__troubles .pc-only::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 100px;
  background: url("../img/arrow.png") no-repeat center/contain;
  z-index: 1;
}
.course-junior-high__troubles .pc-only .troubles__content {
  vertical-align: middle;
}
.course-junior-high__troubles .pc-only h2 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-top: 120px;
  color: #fff;
}
.course-junior-high__troubles .pc-only .troubles {
  padding: 30px 20px;
}
.course-junior-high__troubles .pc-only .troubles__inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.course-junior-high__troubles .pc-only .troubles__item {
  width: 297px;
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
}
.course-junior-high__troubles .pc-only .troubles__img {
  width: 150px;
  height: auto;
  margin: 0 auto 10px;
}
.course-junior-high__troubles .pc-only .troubles__title {
  font-size: 20px;
  font-weight: bold;
  color: #213764;
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-junior-high__troubles .pc-only .troubles__text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  text-align: left;
}
.course-junior-high__troubles .sp-only {
  display: none;
}
.course-junior-high__troubles .solution {
  position: relative;
  text-align: center;
  margin: 60px auto;
  padding: 40px 20px;
}
.course-junior-high__troubles .solution__text {
  display: inline-block;
  position: relative;
  font-weight: 700;
  color: #213764;
  line-height: 1.5;
  letter-spacing: 2px;
}
.course-junior-high__troubles .solution__text::after {
  content: "";
  display: block;
  position: absolute;
  top: 43%;
  transform: translateY(-50%);
  right: -110px;
  width: 100px;
  height: 100px;
  background: url("../img/gakusya-kun/gakusya-kun15.png") no-repeat center/contain;
}
.course-junior-high__troubles .solution__text::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 14px;
  background-color: #FFE76D;
  z-index: -1;
}
.course-junior-high__troubles .solution__text .large {
  font-size: 36px;
}
.course-junior-high__troubles .solution__text .small {
  font-size: 27px;
}
.course-junior-high__troubles .solution .solution-br {
  display: none;
}
.course-junior-high__teacher-message {
  background: url("../img/grid.png") repeat;
  padding: 60px 0;
  box-shadow: 0 8px 0 #375083;
}
.course-junior-high__teacher-message .inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.course-junior-high__teacher-message .teacher-photo {
  flex: 0 0 40%;
}
.course-junior-high__teacher-message .teacher-photo .teacher-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.course-junior-high__teacher-message .teacher-text {
  flex: 1;
  color: #333;
  margin-bottom: 30px;
}
.course-junior-high__teacher-message .teacher-text .sub-catch {
  font-size: 20px;
  display: block;
  font-weight: normal;
  color: #fff;
  margin: 0 auto 20px;
  text-align: center;
  background-color: #213764;
  padding: 10px 30px;
  width: -moz-fit-content;
  width: fit-content;
}
.course-junior-high__teacher-message .teacher-text .catch {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  font-family: "Yuji Mai", serif;
  color: #375083;
  margin-bottom: 20px;
}
.course-junior-high__teacher-message .teacher-text .teacher-message {
  font-size: 20px;
  line-height: 1.8;
  text-align: justify;
  width: 85%;
  margin: 0 auto;
}
.course-junior-high__seven-common {
  width: 100%;
  margin: 80px auto;
  /* 共通スタイル */
  /* 左矢印 */
  /* 右矢印 */
}
.course-junior-high__seven-common h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 80px 0 0px;
  color: #213764;
}
.course-junior-high__seven-common h2 .sp-only {
  display: none;
}
.course-junior-high__seven-common .uncommon-card {
  background: url("../img/grid.png") repeat;
  padding: 40px 24px;
  border: 4px solid #213764;
  box-shadow: 0 6px 0 #213764;
  border-radius: 12px;
  position: relative;
  max-width: 460px;
  height: 580px;
  margin: 0 auto;
  text-align: center;
  list-style-type: none;
}
.course-junior-high__seven-common .uncommon-card__inner {
  position: relative;
}
.course-junior-high__seven-common .uncommon-card__badge {
  position: absolute;
  top: -80px;
  left: -70px;
  width: 100px;
  height: auto;
  z-index: 2;
}
.course-junior-high__seven-common .uncommon-card__title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  color: #213764;
  margin-top: 40px;
  margin-bottom: 24px;
}
.course-junior-high__seven-common .uncommon-card__image-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.course-junior-high__seven-common .uncommon-card__image {
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.course-junior-high__seven-common .uncommon-card__label {
  position: absolute;
  bottom: -2px;
  left: 20px;
  width: 90%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 0;
}
.course-junior-high__seven-common .uncommon-card__text {
  font-size: 18px;
  line-height: 1.5;
  width: 90%;
  text-align: justify;
  color: #333;
  margin: 10px auto 0;
}
.course-junior-high__seven-common .uncommon-card__text-title {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  padding: 4px 0;
  background-color: #6C6C6C;
  margin: 12px auto 0px;
  width: 90%;
}
.course-junior-high__seven-common .uncommon-card__text-title-blue {
  background-color: #375083 !important;
}
.course-junior-high__seven-common .common-slider {
  padding-left: 0px;
}
.course-junior-high__seven-common .common-slider .slick-slide {
  transition: all 0.3s ease;
  opacity: 0.5;
  transform: scale(0.95);
  padding: 10px;
  margin: 0 30px;
}
.course-junior-high__seven-common .common-slider .slick-center {
  opacity: 1;
  transform: scale(1);
}
.course-junior-high__seven-common .common-slider .slick-track {
  margin: 30px 0 40px;
}
.course-junior-high__seven-common .common-slider .slick-arrow {
  z-index: 10;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.course-junior-high__seven-common .common-slider .slick-prev::before, .course-junior-high__seven-common .common-slider .slick-next::before {
  color: #375083;
  font-size: 30px;
}
.course-junior-high__seven-common .common-slider .slick-prev:hover, .course-junior-high__seven-common .common-slider .slick-next:hover {
  color: #1f3a1e;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.course-junior-high__seven-common .common-slider .slick-dots {
  bottom: -30px;
}
.course-junior-high__seven-common .common-slider .slick-dots li {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.course-junior-high__seven-common .common-slider .slick-dots li button {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
}
.course-junior-high__seven-common .common-slider .slick-dots li button:before {
  color: #838383;
}
.course-junior-high__seven-common .common-slider .slick-dots li.slick-active button:before {
  color: #375083;
}
.course-junior-high__seven-common .custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.course-junior-high__seven-common .slick-prev {
  left: 33% !important;
}
.course-junior-high__seven-common .slick-prev::before {
  content: "◀";
  font-size: 24px !important;
  padding-bottom: 3px !important;
}
.course-junior-high__seven-common .slick-next {
  right: 33%;
}
.course-junior-high__seven-common .slick-next::before {
  content: "▶";
  font-size: 24px !important;
  padding-bottom: 3px !important;
}
.course-junior-high__seven-common .slick-dots li button:before {
  font-size: 12px;
}
.course-junior-high__student-type {
  padding: 120px 20px;
  background-color: #fff;
  text-align: center;
}
.course-junior-high__student-type h2 {
  font-size: 26px;
  font-weight: 500;
  color: #213764;
  line-height: 1.2;
  margin-bottom: 40px;
}
.course-junior-high__student-type h2 span {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin: 8px auto 20px;
  width: 540px;
}
.course-junior-high__student-type .student-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.course-junior-high__student-type .student-grid > div {
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s;
}
.course-junior-high__student-type .student-grid > div img {
  width: 150px;
  height: auto;
  margin: 0 auto 20px;
}
.course-junior-high__student-type .student-grid > div h4 {
  font-size: 20px;
  font-weight: bold;
  color: #213764;
  margin-bottom: 6px;
}
.course-junior-high__student-type .student-grid > div p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  text-align: left;
}
.course-junior-high__student-type .student-slider {
  display: none;
}
.course-junior-high__course {
  padding: 180px 24px 60px;
}
.course-junior-high__course h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  margin-bottom: 8px;
  background-color: #375083;
  width: -moz-fit-content;
  width: fit-content;
  padding: 15px 30px;
  border-radius: 8px;
  margin: 0 auto 40px;
}
.course-junior-high__course .course-target {
  text-align: center;
  font-size: 20px;
}
.course-junior-high__course p {
  text-align: justify;
  margin-bottom: 40px;
  font-size: 16px;
  color: #333;
}
.course-junior-high__course .course-tabs {
  max-width: 1000px;
  margin: 0 auto;
}
.course-junior-high__course .tab-content .tab {
  display: none;
  background: url("../img/grid.png") repeat;
  padding: 80px 60px 30px;
}
.course-junior-high__course .tab-content .tab.active {
  display: block;
}
.course-junior-high__course .tab-content .course-content__item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .course-junior-high__course .tab-content .course-content__item {
    flex-direction: column;
    gap: 20px;
  }
}
.course-junior-high__course .tab-content .course-content__item.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .course-junior-high__course .tab-content .course-content__item.reverse {
    flex-direction: column;
  }
}
.course-junior-high__course .tab-content .course-content__item .course-content__image {
  flex: 1;
}
.course-junior-high__course .tab-content .course-content__item .course-content__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.course-junior-high__course .tab-content .course-content__item .course-content__text {
  flex: 1;
}
.course-junior-high__course .tab-content .course-content__item .course-content__text h3 {
  font-size: 28px;
  color: #213764;
  font-weight: 600;
  margin-bottom: 16px;
}
.course-junior-high__course .tab-content .course-content__item .course-content__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  width: 450px;
}
.course-junior-high__course .tab-content .reverse {
  flex-direction: row-reverse !important;
}
.course-junior-high__youtube {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
  width: 100%;
  margin: 120px auto;
}
.course-junior-high__youtube h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}
.course-junior-high__youtube h2 span {
  color: #d60000;
  font-weight: bold;
}
.course-junior-high__youtube h2 .sp-only {
  display: none;
}
.course-junior-high__youtube .youtube-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.course-junior-high__youtube .youtube-wrapper iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.course-junior-high__youtube .youtube-wrapper .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 9999px;
  transition: 0.3s ease;
}
@media (min-width: 768px) {
  .course-junior-high__youtube h2 {
    font-size: 32px;
  }
  .course-junior-high__youtube .youtube-wrapper {
    gap: 40px;
  }
  .course-junior-high__youtube .youtube-wrapper iframe {
    width: 560px;
    height: 315px;
  }
}
.course-junior-high__comparison .comparison-title {
  position: relative;
  display: block;
  padding: 16px 32px;
  background: #fff;
  border: 4px solid #111;
  border-radius: 8px;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 0 #111;
  margin: 0 auto;
  width: 50%;
}
.course-junior-high__comparison .comparison-title::after {
  content: "";
  position: absolute;
  bottom: -27px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 20px solid #111;
  z-index: 0;
}
.course-junior-high__comparison .comparison-title::before {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 20px solid #fff;
  z-index: 1;
}
.course-junior-high__comparison .comparison-table-pc {
  padding: 80px 20px;
}
.course-junior-high__comparison .comparison-table-pc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.course-junior-high__comparison .comparison-table-pc table {
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  margin: 0 auto;
  color: #333;
}
.course-junior-high__comparison .comparison-table-pc table th {
  border: 1px solid #ccc;
  padding: 16px;
  vertical-align: top;
  text-align: center;
  display: inline-block;
  width: 300px;
  font-size: 20px;
  background-color: #fff;
}
.course-junior-high__comparison .comparison-table-pc table td {
  border: 1px solid #ccc;
  padding: 16px;
  vertical-align: top;
  text-align: left;
  line-height: 1.6;
  display: inline-block;
  width: 300px;
  font-size: 14px;
  background-color: #fff;
}
.course-junior-high__comparison .comparison-table-pc table td div {
  font-size: 36px;
  text-align: center;
  font-weight: bold;
  -webkit-text-stroke-width: 1px;
}
.course-junior-high__comparison .comparison-table-pc table td .clear {
  color: #213764;
}
.course-junior-high__comparison .comparison-table-pc table td span {
  text-align: center !important;
  font-weight: bold;
  display: inline-block;
  margin: 0 auto;
  width: 100%;
}
.course-junior-high__comparison .comparison-table-pc table td .span01-td {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 2px;
}
.course-junior-high__comparison .comparison-table-pc table td .span01-td span {
  font-size: 36px;
  display: inline;
  letter-spacing: -2px;
}
.course-junior-high__comparison .comparison-table-pc table td .span01-td .big {
  color: #213764;
}
.course-junior-high__comparison .comparison-table-pc table td .class-style {
  background-color: #F4F4F4;
  padding: 4px;
}
.course-junior-high__comparison .comparison-table-pc table .border-side {
  border-left: 6px solid #213764;
  border-right: 6px solid #213764;
}
.course-junior-high__comparison .comparison-table-pc table .border-bottom-side {
  border-left: 6px solid #213764;
  border-right: 6px solid #213764;
  border-bottom: 6px solid #213764;
}
.course-junior-high__comparison .comparison-table-pc table thead th {
  font-weight: bold;
  width: 300px;
  height: 60px;
  text-align: center;
  vertical-align: middle;
}
.course-junior-high__comparison .comparison-table-pc table thead th:nth-child(1) {
  opacity: 0;
}
.course-junior-high__comparison .comparison-table-pc table thead th:nth-child(2) {
  background-color: #838383;
  color: #fff;
}
.course-junior-high__comparison .comparison-table-pc table thead th:nth-child(3) {
  background-color: #213764;
  color: #fff;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison01 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison01 td {
  height: 130px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison01 th {
  padding-top: 35px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison02 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison02 td {
  height: 160px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison02 th {
  line-height: 130px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison03 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison03 td {
  height: 160px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison03 th {
  line-height: 150px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison04 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison04 td {
  height: 210px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison04 th {
  line-height: 180px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison05 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison05 td {
  height: 300px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison05 th {
  line-height: 270px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison06 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison06 td {
  height: 180px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison06 th {
  padding-top: 60px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison07 th, .course-junior-high__comparison .comparison-table-pc table tbody .comparison07 td {
  height: 230px;
}
.course-junior-high__comparison .comparison-table-pc table tbody .comparison07 th {
  line-height: 180px;
}
.course-junior-high__comparison .comparison-table-pc table tbody td {
  width: 300px;
}
.course-junior-high__comparison .comparison-table-pc table strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.course-junior-high__comparison .comparison-table-pc table small {
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 8px;
  color: #666;
}
@media (max-width: 767px) {
  .course-junior-high__comparison .comparison-table-pc table,
  .course-junior-high__comparison .comparison-table-pc thead,
  .course-junior-high__comparison .comparison-table-pc tbody,
  .course-junior-high__comparison .comparison-table-pc th,
  .course-junior-high__comparison .comparison-table-pc td,
  .course-junior-high__comparison .comparison-table-pc tr {
    display: block;
  }
  .course-junior-high__comparison .comparison-table-pc thead {
    display: none;
  }
  .course-junior-high__comparison .comparison-table-pc tbody tr {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
  }
  .course-junior-high__comparison .comparison-table-pc tbody th {
    background-color: #f2f2f2;
    padding: 12px;
    border-bottom: 1px solid #ccc;
  }
  .course-junior-high__comparison .comparison-table-pc tbody td {
    padding: 12px;
    border-top: none;
    border-bottom: 1px solid #ccc;
  }
  .course-junior-high__comparison .comparison-table-pc tbody td:last-child {
    background-color: #e6f4e9;
  }
}
.course-junior-high__comparison .comparison-table-sp {
  display: none;
}
@media (max-width: 1100px) {
  .course-junior-high__fv__pc {
    display: none;
  }
  .course-junior-high__fv__sp {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
  }
  .course-junior-high__fv__sp .copy {
    margin-top: 20px;
    font-family: "Yuji Mai", serif;
    writing-mode: vertical-rl;
  }
  .course-junior-high__fv__sp .copy .sub-copy {
    font-size: 17px;
    letter-spacing: 3px;
    color: #333;
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
  }
  .course-junior-high__fv__sp .copy .main-copy {
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-top: 20px;
    color: #3f3f3f;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #3f3f3f;
    text-shadow: 0 1px 5px rgba(79, 85, 104, 0.2);
  }
  .course-junior-high__fv__sp .copy .main-copy .highlight {
    color: #375083;
    -webkit-text-stroke-color: #375083 !important;
  }
  .course-junior-high__fv__sp .copy .main-copy .pc-only {
    display: none;
  }
  .course-junior-high__fv__sp .fv-mv {
    width: 100%;
    max-width: 260px;
  }
  .course-junior-high__message {
    margin-bottom: 20px;
    padding: 80px 0;
  }
  .course-junior-high__message .message {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    align-items: center;
  }
  .course-junior-high__message .message__text {
    margin-bottom: 20px;
    order: 2;
  }
  .course-junior-high__message .message__text__title {
    font-size: 24px;
    color: #213764;
    line-height: 0.8;
    margin-bottom: 16px;
  }
  .course-junior-high__message .message__text p {
    margin: 30px 30px 0 0;
    display: block;
    line-height: 2;
    width: 90%;
    font-size: 16px;
  }
}
@media (max-width: 1100px) and (max-width: 560px) {
  .course-junior-high__message .message .sp-only {
    display: block;
  }
  .course-junior-high__message .message .message__img {
    margin-top: -55px;
  }
}
@media (max-width: 1100px) {
  .course-junior-high__message .message__img {
    width: 100%;
    flex-basis: 0px;
    margin: 50px auto 20px;
    flex-direction: row;
    order: 1;
    gap: 18px;
  }
  .course-junior-high__message .message__img img {
    width: 47%;
    height: auto;
  }
  .course-junior-high__troubles .pc-only {
    display: none;
  }
  .course-junior-high__troubles .sp-only {
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    display: block;
    min-height: 100vh;
    box-sizing: border-box;
  }
  .course-junior-high__troubles .sp-only .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    -o-object-position: center;
       object-position: center; /* 画像の位置を中央に */
  }
  .course-junior-high__troubles .sp-only::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 52%;
    transform: translateX(-50%);
    width: 17px;
    height: 70px;
    background: url("../img/arrow.png") no-repeat center/contain;
    z-index: 1;
  }
  .course-junior-high__troubles .sp-only .trouble-slider .troubles__content h2 {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    line-height: 1.3;
    margin: 40px auto 20px;
  }
  .course-junior-high__troubles .sp-only .trouble-slider .troubles__content .troubles__item {
    width: 90%;
    margin: 0 10px;
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-sizing: border-box;
    height: 380px;
  }
  .course-junior-high__troubles .sp-only .trouble-slider .troubles__content .troubles__img {
    width: 150px;
    margin: 0 auto 10px;
  }
  .course-junior-high__troubles .sp-only .trouble-slider .troubles__content .troubles__title {
    font-size: 22px;
    font-weight: bold;
    color: #213764;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .course-junior-high__troubles .sp-only .trouble-slider .troubles__content .troubles__text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: left;
  }
  .course-junior-high__troubles .sp-only__inner-sp {
    padding: 0 20px;
    width: 100%;
  }
  .course-junior-high__troubles .sp-only__inner-sp .slick-slide {
    display: flex !important;
    justify-content: center;
  }
  .course-junior-high__troubles .sp-only .slick-dots {
    bottom: -35px;
  }
  .course-junior-high__troubles .sp-only .slick-dots li.slick-active button:before {
    color: #ffdd1f;
  }
  .course-junior-high__troubles .sp-only .slick-dots li button:before {
    font-size: 12px;
  }
  .course-junior-high__troubles .solution {
    margin: 20px auto;
  }
  .course-junior-high__troubles .solution__text {
    font-size: 20px;
  }
  .course-junior-high__troubles .solution__text .large {
    font-size: 28px;
  }
  .course-junior-high__troubles .solution__text .small {
    font-size: 24px;
  }
  .course-junior-high__troubles .solution__text::after {
    content: "";
    position: absolute;
    top: 38%;
    left: 0;
    width: 100%;
    height: 10px;
    background: none;
    background-color: #FFE76D;
    z-index: -1;
  }
  .course-junior-high__troubles .solution__text::before {
    height: 10px;
    bottom: 2px;
  }
  .course-junior-high__troubles .solution .solution-br {
    display: block;
    height: 0px;
  }
  .course-junior-high__teacher-message .inner {
    flex-direction: column;
    gap: 0;
  }
  .course-junior-high__teacher-message .inner .teacher-photo {
    margin-bottom: 20px;
  }
  .course-junior-high__teacher-message .inner .teacher-photo .teacher-image {
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-right: 30px;
  }
  .course-junior-high__teacher-message .inner .teacher-text {
    text-align: center;
  }
  .course-junior-high__teacher-message .inner .teacher-text .sub-catch {
    margin-bottom: 14px;
    font-size: 16px;
    padding: 8px 20px;
  }
  .course-junior-high__teacher-message .inner .teacher-text .catch {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    width: 90%;
    margin: 0 auto 8px;
  }
  .course-junior-high__teacher-message .inner .teacher-text .catch .pc-only {
    display: none;
  }
  .course-junior-high__teacher-message .inner .teacher-text .teacher-message {
    font-size: 16px;
    -moz-text-align-last: left;
         text-align-last: left;
    width: 90%;
    margin: 0 auto;
  }
  .course-junior-high__seven-common {
    width: 100%;
    margin: 80px auto;
  }
  .course-junior-high__seven-common h2 {
    font-size: 28px;
    font-weight: 700;
    padding-left: 20px;
    text-align: center;
    margin: 40px 0 0px;
  }
  .course-junior-high__seven-common h2 .sp-only {
    display: block;
    line-height: 0;
  }
  .course-junior-high__seven-common .uncommon-card {
    height: 480px;
    margin: 0 auto;
    padding: 20px;
  }
  .course-junior-high__seven-common .uncommon-card__inner {
    position: relative;
    text-align: center;
  }
  .course-junior-high__seven-common .uncommon-card__badge {
    position: absolute;
    top: -55px;
    left: -50px;
    width: 68px;
    height: auto;
    z-index: 2;
  }
  .course-junior-high__seven-common .uncommon-card__title {
    font-size: 16px !important;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 16px;
  }
  .course-junior-high__seven-common .uncommon-card__image-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }
  .course-junior-high__seven-common .uncommon-card__image {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .course-junior-high__seven-common .uncommon-card__label {
    position: absolute;
    bottom: -5px;
    left: 20px;
    width: calc(100% - 40px);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 0;
  }
  .course-junior-high__seven-common .uncommon-card__text {
    font-size: 16px;
    line-height: 1.5;
    width: calc(100% - 40px);
    text-align: justify;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  .course-junior-high__seven-common .uncommon-card__text-title {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    padding: 4px 0;
    background-color: #6C6C6C;
    margin: 10px auto 0px;
  }
  .course-junior-high__seven-common .common-slider {
    /* 左矢印 */
    /* 右矢印 */
  }
  .course-junior-high__seven-common .common-slider .slick-slide {
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.95);
    padding: 10px;
    margin: 0 15px;
  }
  .course-junior-high__seven-common .common-slider .slick-center {
    opacity: 1;
    transform: scale(1);
  }
  .course-junior-high__seven-common .common-slider .slick-prev {
    left: 3cqb !important;
  }
  .course-junior-high__seven-common .common-slider .slick-next {
    right: 5%;
  }
  .course-junior-high__student-type {
    padding: 60px 0px;
  }
  .course-junior-high__student-type h2 {
    font-size: 22px;
  }
  .course-junior-high__student-type h2 span {
    font-size: 28px;
    width: auto;
    padding-bottom: 12px;
  }
  .course-junior-high__student-type .student-grid {
    display: none;
  }
  .course-junior-high__student-type .student-slider {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .course-junior-high__student-type .student-slider .slick-slide {
    justify-content: center;
    margin: 0px 10px 40px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px 20px 40px;
    box-sizing: border-box;
    text-align: center;
    height: 380px;
    transition: transform 0.3s;
  }
  .course-junior-high__student-type .student-slider .slick-slide img {
    width: 140px;
    margin: 0 auto 16px;
  }
  .course-junior-high__student-type .student-slider .slick-slide h4 {
    font-size: 18px;
    font-weight: bold;
    color: #213764;
    margin-bottom: 10px;
  }
  .course-junior-high__student-type .student-slider .slick-slide p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    text-align: left;
  }
  .course-junior-high__student-type .student-slider .slick-dots {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    bottom: -6px;
    left: 0;
  }
  .course-junior-high__student-type .student-slider .slick-dots li.slick-active button:before {
    color: #375083;
  }
  .course-junior-high__student-type .student-slider .slick-dots li button:before {
    font-size: 12px;
  }
  .course-junior-high__course {
    padding: 60px 10px 30px;
  }
  .course-junior-high__course h2 {
    font-size: 22px;
    padding: 15px;
    margin: 0 auto 15px;
  }
  .course-junior-high__course .tab-content .tab {
    padding: 40px 10px 30px;
  }
  .course-junior-high__course .tab-content .course-content__item {
    flex-direction: column;
    gap: 20px;
  }
  .course-junior-high__course .tab-content .course-content__item.reverse {
    flex-direction: column !important;
  }
  .course-junior-high__course .tab-content .course-content__item .course-content__image img {
    border-radius: 8px;
  }
  .course-junior-high__course .tab-content .course-content__item .course-content__text h3 {
    font-size: 22px;
    text-align: center;
  }
  .course-junior-high__course .tab-content .course-content__item .course-content__text p {
    font-size: 14px;
    width: 100%;
  }
  .course-junior-high__course .tab-menu li {
    font-size: 16px;
    padding: 14px 0;
    vertical-align: middle;
    line-height: 1.3;
  }
  .course-junior-high__course .tab-menu li .sp-only {
    display: block;
    line-height: 0;
  }
  .course-junior-high__course .tab-menu li:nth-child(2) {
    padding-top: 26px;
  }
  .course-junior-high__course .course-target {
    font-size: 16px;
  }
  .course-junior-high__youtube {
    padding: 60px 20px;
    margin: 60px auto 30px;
  }
  .course-junior-high__youtube h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .course-junior-high__youtube h2 .sp-only {
    display: block;
    line-height: 0;
  }
  .course-junior-high__youtube .youtube-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  .course-junior-high__comparison {
    padding: 60px 20px;
  }
  .course-junior-high__comparison .comparison-title {
    font-size: 24px;
    margin-bottom: 40px;
    width: 90%;
  }
  .course-junior-high__comparison .comparison-table-pc {
    display: none;
  }
  .course-junior-high__comparison .comparison-table-sp {
    display: block;
    padding: 40px 20px;
  }
  .course-junior-high__comparison .comparison-table-sp__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .course-junior-high__comparison .comparison-table-sp .comparison-row {
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
  }
  .course-junior-high__comparison .comparison-table-sp .row-title {
    background-color: #f6f6f6;
    font-weight: 600;
    font-size: 16px;
    padding: 12px;
    text-align: center;
    border-bottom: 2px solid #ccc;
  }
  .course-junior-high__comparison .comparison-table-sp .row-content {
    display: flex;
    flex-direction: column;
  }
  .course-junior-high__comparison .comparison-table-sp .col {
    padding: 12px;
    border: 5px solid #213764;
  }
  .course-junior-high__comparison .comparison-table-sp .col:first-child {
    border: none;
  }
  .course-junior-high__comparison .comparison-table-sp .col-label {
    font-size: 14px;
    margin-bottom: 8px;
    width: 140px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    background-color: #213764;
  }
  .course-junior-high__comparison .comparison-table-sp .col-label-other {
    background-color: #838383 !important;
  }
  .course-junior-high__comparison .comparison-table-sp .mark {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #000000;
  }
  .course-junior-high__comparison .comparison-table-sp .highlight {
    color: #213764;
    -webkit-text-stroke-width: 1.6px;
    -webkit-text-stroke-color: #375083 !important;
  }
  .course-junior-high__comparison .comparison-table-sp .desc-title {
    background-color: #F4F4F4;
    text-align: center;
    padding: 5px;
    margin: 5px auto;
    font-size: 14px;
  }
  .course-junior-high__comparison .comparison-table-sp .desc-first {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin: 20px auto 10px;
  }
  .course-junior-high__comparison .comparison-table-sp .desc-first span {
    font-size: 36px;
  }
  .course-junior-high__comparison .comparison-table-sp .desc-first .desc-span {
    color: #375083;
  }
  .course-junior-high__comparison .comparison-table-sp .desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .course-junior-high__comparison .comparison-table-sp .desc-bold {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
  }
  .course-junior-high__comparison .comparison-table-sp small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }
}

.contact-form {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 16px;
  font-family: "Noto Sans JP", sans-serif;
}
.contact-form__description {
  text-align: center;
  font-size: 18px;
  margin: 32px auto 60px;
}
@media (max-width: 819px) {
  .contact-form__description {
    font-size: 16px;
    margin: 0px auto 60px;
  }
  .contact-form__description span {
    display: none;
  }
}
.contact-form__group {
  max-width: 600px;
  margin: 0 auto 36px;
}
.contact-form__group label {
  display: block;
  font-weight: 550;
  margin-bottom: 8px;
  font-size: 20px;
}
.contact-form__group label .required {
  background-color: #f68a1f;
  color: #fff;
  font-size: 14px;
  padding: 2px 10px;
  margin-left: 8px;
  border-radius: 4px;
}
.contact-form__group label .optional {
  background-color: #999;
  color: #fff;
  font-size: 14px;
  padding: 2px 10px;
  margin-left: 8px;
  border-radius: 4px;
}
.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
  width: 100%;
  font-size: 16px;
  resize: vertical;
  padding: 11.2px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}
.contact-form__group input::-moz-placeholder, .contact-form__group textarea::-moz-placeholder {
  color: #cacaca;
}
.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: #cacaca;
}
.contact-form__group .custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
}
.contact-form__group .custom-select select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  -webkit-text-fill-color: #000; /* iOS対策 */
  -webkit-appearance: none; /* 必要に応じて */
  background-color: #fff;
}
.contact-form__group .custom-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("../img/select.svg") no-repeat center;
  background-size: contain;
  pointer-events: none;
}
.contact-form__group .custom-select:hover::after {
  opacity: 0.8;
}
.contact-form__group textarea {
  min-height: 120px;
}
.contact-form__privacy {
  font-size: 16px;
  text-align: center;
  margin-top: 32px;
}
@media screen and (max-width: 819px) {
  .contact-form__privacy {
    font-size: 14px;
    margin-top: 24px;
  }
}
.contact-form__privacy a {
  color: #3c92e8;
  text-decoration: underline;
}
.contact-form__privacy a:hover {
  opacity: 0.6;
  cursor: pointer;
}
.contact-form .submit-button {
  margin: 40px auto;
}

.contact-check {
  display: block;
}

.contact-confirm {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
  font-family: "Noto Sans JP", sans-serif;
}
.contact-confirm__lead {
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
}
.contact-confirm__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
@media (max-width: 819px) {
  .contact-confirm__table tr {
    display: flex;
    flex-direction: column;
  }
  .contact-confirm__table tr th {
    width: 100%;
    text-align: left;
  }
}
.contact-confirm__table th,
.contact-confirm__table td {
  border: 1px solid #ccc;
  padding: 16px;
  font-size: 16px;
  vertical-align: top;
}
.contact-confirm__table th {
  background-color: #f7f7f7;
  width: 40%;
  -moz-text-align-last: left;
       text-align-last: left;
  font-weight: bold;
}
.contact-confirm__table th .required {
  background-color: #f68a1f;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 4px;
}
.contact-confirm__table th .optional {
  background-color: #999;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 4px;
}
.contact-confirm__table td {
  background-color: #fff;
}
.contact-confirm__actions {
  text-align: center;
}
.contact-confirm__actions .contact-confirm__submit {
  background-color: #d50d0d;
  color: white;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 48px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.contact-confirm__actions .contact-confirm__submit:hover {
  background-color: #d84747;
}
.contact-confirm__actions .contact-confirm__form {
  width: 50%;
  margin: 0 auto 30px;
}
.contact-confirm__actions .contact-confirm__back {
  display: block;
  text-decoration: underline;
  color: #000;
  font-size: 18px;
  margin-top: 20px;
}
.contact-confirm__actions .contact-confirm__back:hover {
  opacity: 0.6;
}

.contact-fix__title {
  font-size: 36px;
  text-align: center;
  margin: 40px auto 20px;
}
.contact-fix__lead {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
}
.contact-fix__lead span {
  display: contents;
}
.contact-fix__form {
  width: 370px;
  margin: 0 auto 30px;
}
@media (max-width: 819px) {
  .contact-fix {
    margin: 20px;
  }
  .contact-fix__title {
    font-size: 24px;
    margin: 40px auto 10px;
  }
  .contact-fix__lead {
    font-size: 16px;
    text-align: justify;
  }
  .contact-fix__lead span {
    display: none;
  }
  .contact-fix__form {
    width: 100%;
    padding: 0 20px;
  }
}

.privacy {
  padding: 64px 16px;
  font-family: "Noto Sans JP", sans-serif;
}
.privacy__content {
  max-width: 800px;
  margin: 0 auto;
}
.privacy__content__description {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin: 40px auto 60px;
}
.privacy__section {
  margin-bottom: 40px;
  width: 800px;
}
.privacy__section h2 {
  font-size: 28px;
  font-weight: bold;
  border-bottom: 4px solid #d50d0d;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.privacy__section p,
.privacy__section ul {
  font-size: 16px;
  line-height: 28.8px;
}
.privacy__section ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 8px;
}
.privacy__section address {
  font-style: normal;
  line-height: 28.8px;
}
@media (max-width: 819px) {
  .privacy__content {
    padding: 32px 0px;
    width: 340px;
  }
  .privacy__content__description {
    font-size: 14px;
    margin: 20px auto 40px;
  }
  .privacy__section {
    width: 340px;
  }
  .privacy__section h2 {
    font-size: 20px;
    border-bottom: 3px solid #d50d0d;
  }
  .privacy__section p,
  .privacy__section ul,
  .privacy__section address {
    font-size: 14px;
    line-height: 24.5px;
  }
}

.single-post .single-contents {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}
.single-post .single-contents .widget-area {
  width: 22% !important;
  margin-right: 20px;
  margin-bottom: 20px;
  margin-top: 100px !important;
}
.single-post .single-contents .single-container {
  width: 70%;
  margin: 0 auto;
  padding: 20px;
}
.single-post .single-contents .single-container .post-category a {
  color: #fff;
  background-color: #d50d0d;
  text-decoration: none;
  padding: 3px 8px;
  margin: 0px 5px;
  border-radius: 5px;
}
.single-post .single-contents .single-container .post-category a:hover {
  background-color: #e05151;
}
.single-post .post-title {
  font-size: 2rem;
  margin-top: 120px;
  margin-bottom: 20px;
}
.single-post .post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5em;
}
.single-post .post-content {
  line-height: 1.8;
  margin: 50px auto;
}
.single-post .post-content p {
  margin-bottom: 1.2em;
}
.single-post .post-content h1 {
  font-size: 2rem;
  margin: 2em 0 1em;
}
.single-post .post-content h2 {
  font-size: 1.4rem;
  margin: 2em 0 1em;
  border-left: 4px solid #d84747;
  padding-left: 0.6em;
}
.single-post .post-content h3 {
  font-size: 1.2rem;
  margin: 2em 0 1em;
  border-bottom: 3px solid #d84747;
  padding-bottom: 0.3em;
}
.single-post .post-content ul, .single-post .post-content ol {
  border: 2px solid #f7941d;
  border-radius: 8px;
  background-color: #fef9eb;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
}
.single-post .post-content ul li, .single-post .post-content ol li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 0.3rem;
  font-weight: 600;
  color: #333;
}
.single-post .post-content table {
  border-collapse: collapse;
  width: 100%;
  border: 2px solid #d84747;
}
.single-post .post-content table th,
.single-post .post-content table td {
  border: 2px solid #d84747;
  padding: 8px 12px;
  text-align: center;
}
.single-post .post-content #toc_container {
  background: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
}
.single-post .post-content #toc_container .toc_title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
}
.single-post .post-content #toc_container .toc_list {
  margin: 0;
  padding-left: 0;
  border: none;
}
.single-post .post-content #toc_container .toc_list li {
  list-style: none;
  margin: 6px 0;
  position: relative;
  padding-left: 1.2em;
}
.single-post .post-content #toc_container .toc_list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f39c12;
}
.single-post .post-content #toc_container .toc_list li a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}
.single-post .post-content #toc_container .toc_list li a:hover {
  color: #e67e22;
}
.single-post .post-content #toc_container .toc_list li ul {
  border-left: 2px solid #f39c12;
  border: none;
}
.single-post .post-content #toc_container .toc_list li ul li a {
  color: #555;
}
.single-post .post-content thead tr,
.single-post .post-content tbody tr:first-child {
  background-color: #d50d0d;
}
.single-post .post-content thead tr th,
.single-post .post-content thead tr td,
.single-post .post-content tbody tr:first-child th,
.single-post .post-content tbody tr:first-child td {
  color: #fff; /* 文字色を白に */
  font-weight: bold;
}
.single-post .post-content img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
}
.single-post .post-content blockquote {
  padding-left: 1em;
  border-left: 3px solid #ccc;
  font-style: italic;
  color: #666;
  margin: 2em 0;
}

.recent-posts {
  margin: 80px auto 0;
}
.recent-posts h2 {
  font-size: 2rem;
  margin-bottom: 1.5em;
}
.recent-posts .post-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 1150px;
}
.recent-posts .post-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 1em;
  margin-bottom: 45px;
  width: 350px;
  text-align: left;
  transition: all 0.2s ease;
  margin-right: 2rem;
}
.recent-posts .post-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.recent-posts .post-item a {
  text-decoration: none !important;
  color: #333;
}
.recent-posts .post-item .post-thumbnail {
  width: 320px;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
}
.recent-posts .post-item .post-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 16/10;
  display: block;
}
.recent-posts .post-item .post-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 12px 0;
  color: #333;
  transition: color 0.2s ease;
}
.recent-posts .post-item .post-title:hover {
  color: #d50d0d;
}
.recent-posts .post-item .post-date {
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 819px) {
  .single-post .single-contents {
    display: block;
  }
  .single-post .single-contents .widget-area {
    width: 100% !important;
    margin: 40px 0 20px !important;
  }
  .single-post .single-contents .single-container {
    width: 100%;
    padding: 0 16px;
  }
  .single-post .post-title {
    font-size: 1.6rem;
    margin-top: 80px;
    padding: 0 16px;
  }
  .single-post .post-meta {
    padding: 0 16px;
  }
  .single-post .post-content {
    padding: 0 16px;
    margin: 40px auto;
  }
  .single-post .post-content h1 {
    font-size: 1.6rem;
  }
  .single-post .post-content h2 {
    font-size: 1.2rem;
  }
  .single-post .post-content h3 {
    font-size: 1.1rem;
  }
  .single-post .post-content ul,
  .single-post .post-content ol {
    padding: 1.2rem 1rem 1.2rem 1.5rem;
  }
  .single-post .post-content table {
    font-size: 0.9rem;
    overflow-x: auto;
    display: block;
  }
  .single-post .post-content #toc_container {
    max-width: 100%;
    padding: 16px;
  }
  .recent-posts {
    margin: 60px auto 0;
  }
  .recent-posts .post-list {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .recent-posts .post-item {
    width: 100%;
    margin-right: 0;
    padding: 1em;
    box-sizing: border-box;
  }
  .recent-posts .post-item .post-thumbnail {
    width: 100%;
    height: auto;
  }
  .recent-posts .post-item .post-thumbnail img {
    aspect-ratio: 16/9;
  }
  .recent-posts .post-item .post-title {
    font-size: 18px;
  }
  #secondary {
    padding: 16px;
  }
}
.archive-post {
  margin: 80px auto 0;
  text-decoration: none;
}
.archive-post .archive-contents {
  display: flex;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
}
.archive-post .widget-area {
  width: 250px;
  margin-right: 20px;
  margin-bottom: 20px;
  position: sticky;
  top: 80px; /* スクロール時の位置を調整 */
}
.archive-post .archive-title {
  font-size: 2rem;
  margin-bottom: 1.5em;
}
.archive-post .post-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 980px;
}
.archive-post .post-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 1em;
  margin-bottom: 45px;
  width: 290px;
  text-align: left;
  transition: all 0.2s ease;
  margin-right: 2rem;
}
.archive-post .post-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.archive-post .post-item a {
  text-decoration: none !important;
  color: #333;
}
.archive-post .post-item a:hover {
  color: #d50d0d;
}
.archive-post .post-item .post-thumbnail img {
  width: 320px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
}
.archive-post .post-item .post-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 6px 0;
  color: #333;
  transition: color 0.2s;
}
.archive-post .post-item .post-title:hover {
  color: #d50d0d; /* メインの赤色に変更 */
}
.archive-post .post-item .post-categories {
  display: flex;
  flex-wrap: wrap;
  margin: 12px 0px 2px;
}
.archive-post .post-item .post-categories .category-badge {
  display: inline-block;
  padding: 3px 8px;
  margin: 0 5px 5px 0;
  font-size: 12px;
  color: #fff;
  background-color: #d50d0d;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s;
}
.archive-post .post-item .post-categories .category-badge:hover {
  background-color: #d84747;
}
.archive-post .post-item .post-date {
  font-size: 0.85rem;
  color: #888;
}
.archive-post .pagination {
  margin: 3em 0px;
  text-align: center;
}
.archive-post .pagination a, .archive-post .pagination span {
  display: inline-block;
  margin: 0 4px;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background: #fff;
  border: 1px solid #eee;
}
.archive-post .pagination a:hover, .archive-post .pagination span:hover {
  box-shadow: 0 2px 2px rgba(139, 139, 139, 0.1);
  transition: box-shadow 0.3s ease 0.1s;
  color: #d50d0d;
}
.archive-post .pagination .current {
  background: #d50d0d;
  color: #fff;
  border-color: #d50d0d;
}
.archive-post .sticky-posts .sticky {
  position: relative;
}
.archive-post .sticky-posts .sticky::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100px;
  height: 100px;
  background: url("../img/pickup.png") no-repeat top left/contain;
  z-index: 1;
}

@media (max-width: 819px) {
  .archive-post {
    margin: 40px auto 0;
  }
  .archive-post .archive-contents {
    flex-direction: column;
    padding: 0 16px;
  }
  .archive-post .archive-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1em;
  }
  .archive-post .post-list {
    width: 100%;
    justify-content: center;
    margin: 0 auto;
  }
  .archive-post .post-item {
    background: none;
    border: none;
    border-bottom: 1px solid #c8c8c8;
    width: 100%;
    position: relative;
    margin: 0 auto 30px;
    padding: 0 0 20px;
  }
  .archive-post .post-item .post-thumbnail img {
    position: absolute;
    top: 0%;
    right: 0%;
    width: 140px;
    height: 110px;
    border-radius: 4px;
  }
  .archive-post .post-item .post-title {
    font-size: 16px;
    padding: 0 12px;
    margin-top: 8px;
    width: -moz-fit-content;
    width: fit-content;
    display: block;
    white-space: normal;
    word-break: break-word;
    margin-right: 150px;
    display: -webkit-box; /* Flexboxの一種で行数制御に必須 */
    -webkit-box-orient: vertical; /* 縦方向に制御 */
    -webkit-line-clamp: 2; /* ← 表示する最大行数 */
    line-clamp: 2; /* ← 標準プロパティも追加 */
    overflow: hidden; /* はみ出し部分を非表示 */
    text-overflow: ellipsis; /* 省略記号 (…) を表示 */
    display: box; /* 古いSafari対策 */
  }
  .archive-post .post-item .post-categories {
    display: flex;
    flex-wrap: wrap;
    padding: 0 12px;
    width: 65%;
    margin: 0px;
  }
  .archive-post .post-item .post-categories .category-badge {
    font-size: 12px;
    padding: 2px 6px;
  }
  .archive-post .post-item .post-date {
    font-size: 12px;
    padding: 0 12px 10px;
  }
  .archive-post .pagination {
    margin: 2em 0;
  }
  .archive-post .pagination a, .archive-post .pagination span {
    padding: 6px 10px;
    font-size: 14px;
  }
  .archive-post .sticky-posts .sticky {
    padding-bottom: 30px;
  }
  .archive-post .sticky-posts .sticky::before {
    width: 80px;
    height: 45px;
    content: "";
    position: absolute;
    top: 0px;
    left: auto !important;
    right: 60px !important;
  }
}
/* ========= availability ========== */
.availability {
  padding: 100px 0 72px;
  width: 1080px;
  /* Grid */
}
.availability__container {
  margin: 0 auto;
}
.availability__header {
  text-align: center;
  margin-bottom: 28px;
  z-index: 0;
}
.availability__title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0 0 4px;
}
.availability__subtitle {
  font-size: 20px;
  color: #d50d0d;
  font-weight: bold;
  letter-spacing: 3px;
}
.availability__divider {
  width: 880px;
  height: 3px;
  background: #111;
  display: inline-block;
}
.availability__grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.availability__empty {
  text-align: center;
  color: #6e6e6e;
  margin-top: 24px;
}
.availability__btn {
  margin-top: 50px;
}

/* ========= card ========== */
.availability-card {
  background: #fff;
  border-radius: 14px;
  width: 330px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.availability-card__head {
  background: #d84747;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
}
.availability-card__grade {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 16px;
}
.availability-card__body {
  padding: 18px 18px 16px;
  text-align: center;
}
.availability-card__status {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}
.availability-card .is-alert {
  color: #d50d0d;
}
.availability-card__note {
  font-size: 13px;
  color: #6e6e6e;
  margin-bottom: 6px;
}
.availability-card__date {
  font-size: 12px;
  color: #6e6e6e;
}

/* ========= responsive ========= */
@media (max-width: 819px) {
  .availability {
    padding: 80px 0 56px;
    width: 350px;
  }
  .availability__container {
    width: 92%;
  }
  .availability__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
  }
  .availability__title {
    font-size: 32px;
  }
  .availability__subtitle {
    font-size: 16px;
    letter-spacing: 0.18em;
  }
  .availability__divider {
    width: 300px;
  }
  .availability__btn {
    margin-top: 30px;
  }
  .availability-card {
    border-radius: 12px;
    width: 160px;
    margin-inline: auto; /* 中央寄せ */
  }
  .availability-card__head {
    padding: 9px 14px;
  }
  .availability-card__grade {
    font-size: 15px;
  }
  .availability-card__body {
    padding: 16px 14px 14px;
    height: 100px;
  }
  .availability-card__status {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .availability-card__note {
    font-size: 12px;
  }
  .availability-card__date {
    font-size: 11px;
  }
}/*# sourceMappingURL=style.css.map */