/*
 * legacy-elementor.css
 * Purpose: temporary CSS for pasted legacy HTML inside Elementor text editor.
 * Scope: only inside .elementor .legacy-content
 *
 * Deletion criteria used for this整理版:
 * 1) Delete rules with syntax errors or broken selectors.
 * 2) Delete duplicated rules where later/clearer rules already win.
 * 3) Delete site-wide layout/header/footer/nav/slick rules not needed for pasted body content.
 * 4) Keep only body-content classes that are likely to appear in pasted HTML.
 * 5) Add only minimal helper rules when the pasted HTML already uses those class names.
 */

/* =========================================================
   Scope / base
   ========================================================= */
.elementor .legacy-content,
.elementor .legacy-content * {
  box-sizing: border-box;
}

.elementor .legacy-content {
  color: #333;
/*  font-family: "Yu Gothic UI", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; */
  font-size: 15px !important;
  line-height: 1.8;
  margin: 0 !important;
  padding: 0 !important;
  font-style: normal;
  font-weight: normal;
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  overflow-x: hidden;
}

.elementor .legacy-content a {
  color: #333;
  text-decoration: none;
}

.elementor .legacy-content a:hover {
  text-decoration: underline;
}

.elementor .legacy-content p,
.elementor .legacy-content ul,
.elementor .legacy-content ol,
.elementor .legacy-content table,
.elementor .legacy-content .normal__block,
.elementor .legacy-content .normalType__sec,
.elementor .legacy-content .courseType,
.elementor .legacy-content .courseList {
  margin-bottom: 20px;
}

.elementor .legacy-content img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.elementor .legacy-content::before,
.elementor .legacy-content::after,
.elementor .legacy-content .normal__block::before,
.elementor .legacy-content .normal__block::after,
.elementor .legacy-content .normalType__intro::before,
.elementor .legacy-content .normalType__intro::after,
.elementor .legacy-content .courseType__intro::before,
.elementor .legacy-content .courseType__intro::after {
  content: "";
  display: table;
}

.elementor .legacy-content::after,
.elementor .legacy-content .normal__block::after,
.elementor .legacy-content .normalType__intro::after,
.elementor .legacy-content .courseType__intro::after {
  clear: both;
}

/* =========================================================
   Typography helpers kept from legacy content styles
   ========================================================= */
.elementor .legacy-content .standardText {
  color: #333;
  font-size: 16px;
  line-height: 1.9;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .standardText {
    font-size: 15px;
  }
}

.elementor .legacy-content .standardText a {
  color: #5d68a9;
  text-decoration: underline;
}

.elementor .legacy-content .standardText a:hover {
  color: #ba1b21;
  text-decoration: none;
}

.elementor .legacy-content .courseCatch {
  margin: 20px 0;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseCatch {
    margin: 6px 0 !important;
  }
}

/* =========================================================
   Titles
   ========================================================= */
.elementor .legacy-content .ttl01 {
  position: relative;
  padding: 8px 0 12px;
  border-bottom: 3px solid #ddd;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.7rem !important;
  margin-bottom: 20px;
}

.elementor .legacy-content .ttl01::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: "";
  width: 20%;
  height: 3px;
  background-color: #ba1b21;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl01 {
    font-size: 1.7rem;
    padding: 8px 0;
    margin-bottom: 15px;
  }
}

.elementor .legacy-content .ttl02 {
  position: relative;
  border: 1px dashed #ba1b21;
  padding: 12px 15px 13px 20px;
  color: #ba1b21;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin-bottom: 22px;
}

.elementor .legacy-content .ttl02::before {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 4px;
  height: calc(100% + 2px);
  background: #ba1b21;
  content: "";
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl02 {
    font-size: 17px !important;
    margin-bottom: 15px;
  }
}

.elementor .legacy-content .ttl03 {
  border-bottom: 2px solid #ba1b21;
  padding-bottom: 12px;
  margin-bottom: 15px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px !important;
  line-height: 1.3 !important;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl03 {
    font-size: 17px !important;
    margin-bottom: 14px;
  }
}

.elementor .legacy-content .ttl04 {
  border-bottom: 1px solid #ba1b21;
  padding-bottom: 12px;
  margin-bottom: 25px;
  color: #ba1b21;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 21px !important;
  line-height: 1.3 !important;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl04 {
    font-size: 17px !important;
    margin-bottom: 14px;
  }
}

.elementor .legacy-content .ttl05 {
  position: relative;
  padding-bottom: 17px;
  margin-bottom: 20px;
  text-align: center;
  color: #ba1b21;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3 !important;
}

.elementor .legacy-content .ttl05::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 20%;
  margin: auto;
  border-bottom: dotted 4px #ba1b21;
  content: "";
}

.elementor .legacy-content .ttl05__large {
  font-size: 1.7rem !important;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl05 {
    font-size: 17px;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
  }

  .elementor .legacy-content .ttl05__large {
    font-size: 19px;
    letter-spacing: 0;
  }
}

.elementor .legacy-content .ttl06 {
  position: relative;
  margin-top: 16px;
  margin-bottom: 10px;
  padding-left: 22px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px !important;
  line-height: 1.3 !important;
}

.elementor .legacy-content .ttl06::before {
  position: absolute;
  left: 2px;
  top: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  background: #ba1b21;
  border-radius: 50%;
  content: "";
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl06 {
    font-size: 15px !important;
    margin-bottom: 7px;
    padding-left: 18px;
  }

  .elementor .legacy-content .ttl06::before {
    width: 10px;
    height: 10px;
  }
}

/* ttl07 was intentionally removed from source keep-set:
   broken selector in original file made it effectively dead.
   Add later only if a migrated page actually needs it. */

.elementor .legacy-content .ttl08 {
  border-top: 5px solid #ba1b21;
  padding: 36px 20px;
  margin-bottom: 30px;
  background: #fbeeef;
  color: #ba1b21;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.7rem !important;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl08 {
    border-top-width: 3px;
    font-size: 19px;
    padding: 20px 8px;
    margin-bottom: 15px;
  }
}

.elementor .legacy-content .ttl09 {
  position: relative;
  border: 1px dashed #4753a2;
  padding: 12px 15px 13px 20px;
  color: #4753a2;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px !important;
  line-height: 1.3 !important;
  margin-bottom: 22px;
}

.elementor .legacy-content .ttl09::before {
  position: absolute;
  left: -1px;
  top: -1px;
  width: 4px;
  height: calc(100% + 2px);
  background: #4753a2;
  content: "";
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .ttl09 {
    font-size: 17px !important;
    margin-bottom: 15px;
  }
}

/* =========================================================
   Catch copy
   ========================================================= */
.elementor .legacy-content .catchcopyText,
.elementor .legacy-content .catchcopyText--red,
.elementor .legacy-content .catchcopyText--blue {
  line-height: 1.5;
  font-weight: 600;
  font-size: 1.5rem !important;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.elementor .legacy-content .catchcopyText--red {
  color: #ba1b21;
}

.elementor .legacy-content .catchcopyText--blue {
  color: #5864ad;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .catchcopyText,
  .elementor .legacy-content .catchcopyText--red,
  .elementor .legacy-content .catchcopyText--blue {
    font-size: 1.7rem;
    padding: 8px 0;
    letter-spacing: 0;
    margin: 20px 0 15px !important;
  }
}

.elementor .legacy-content .catchcopyText-s,
.elementor .legacy-content .catchcopyText-s--red,
.elementor .legacy-content .catchcopyText-s--blue {
  line-height: 1.5;
  font-weight: 600;
  font-size: 1.7rem !important;
  margin-bottom: 18px;
  letter-spacing: 1px;
  font-family: "Noto Sans JP", sans-serif;
}

.elementor .legacy-content .catchcopyText-s--red {
  color: #ba1b21;
}

.elementor .legacy-content .catchcopyText-s--blue {
  color: #5864ad;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .catchcopyText-s,
  .elementor .legacy-content .catchcopyText-s--red,
  .elementor .legacy-content .catchcopyText-s--blue {
    font-size: 1.6rem;
    letter-spacing: 0;
    margin-bottom: 10px;
    line-height: 1.3;
  }
}

/* =========================================================
   Buttons / links
   ========================================================= */
.elementor .legacy-content .baseBtn,
.elementor .legacy-content .baseBtn_blue {
  display: inline-block;
  position: relative;
  padding: 9px 70px;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.elementor .legacy-content .baseBtn {
  background: #ba1b21;
}

.elementor .legacy-content .baseBtn_blue {
  background: #5864ad;
}

.elementor .legacy-content .baseBtn::before,
.elementor .legacy-content .baseBtn_blue::before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px;
  width: 8px;
  height: 8px;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  content: "";
}

.elementor .legacy-content .baseBtn:hover {
  background: #fad9db;
  color: #ba1b21;
}

.elementor .legacy-content .baseBtn_blue:hover {
  background: #fad9db;
  color: #5864ad;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .baseBtn,
  .elementor .legacy-content .baseBtn_blue {
    padding: 8px 70px;
  }
}

.elementor .legacy-content .normalType__link a,
.elementor .legacy-content .courseType__link a {
  position: relative;
  margin-right: 15px;
  padding-left: 17px;
  color: #ba1b21;
  font-size: 1.7rem;
  font-weight: 500;
}

.elementor .legacy-content .normalType__link a::after,
.elementor .legacy-content .courseType__link a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  height: 7px;
  margin: auto;
  border-top: 3px solid #ba1b21;
  border-right: 3px solid #ba1b21;
  transform: rotate(45deg);
  content: "";
}

.elementor .legacy-content .normalType__link a:hover,
.elementor .legacy-content .courseType__link a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .normalType__link a,
  .elementor .legacy-content .courseType__link a {
    font-size: 16px;
  }
}

/* =========================================================
   Icons kept for course/category labels
   ========================================================= */
.elementor .legacy-content .icon,
.elementor .legacy-content .icon--kids,
.elementor .legacy-content .icon--elementary,
.elementor .legacy-content .icon--junior,
.elementor .legacy-content .icon--senior {
  display: inline-block;
  margin: 0;
  padding: 5px 7px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.elementor .legacy-content .icon--kids {
  background-color: #edbeca;
}

.elementor .legacy-content .icon--elementary {
  background-color: #ecbe31;
}

.elementor .legacy-content .icon--junior {
  background-color: #8db930;
}

.elementor .legacy-content .icon--senior {
  background-color: #3c6f99;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .icon,
  .elementor .legacy-content .icon--kids,
  .elementor .legacy-content .icon--elementary,
  .elementor .legacy-content .icon--junior,
  .elementor .legacy-content .icon--senior {
    font-size: 11px;
    padding: 4px 5px;
  }
}

/* =========================================================
   Image/text blocks
   ========================================================= */
.elementor .legacy-content .normal__block {
  overflow: hidden;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .normal__block {
    margin-bottom: 25px;
  }
}

.elementor .legacy-content .normal__block__ph {
  float: right;
  width: 34%;
  margin-left: 28px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .normal__block__ph {
    display: block;
    width: 85%;
    float: none;
    margin: 0 auto 10px;
  }
}

.elementor .legacy-content .normal__block__text {
  line-height: 2;
}

.elementor .legacy-content .photo_01 {
  width: 95%;
  text-align: center;
  margin-bottom: 20px;
}

.elementor .legacy-content .photoLeft {
  float: left;
  padding-right: 35px;
  margin-top: 6px;
  margin-bottom: 15px;
  max-width: 400px !important;
}

.elementor .legacy-content .photoRight {
  float: right;
  padding-left: 35px;
  margin-top: 10px;
  margin-bottom: 15px;
  max-width: 400px !important;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .photoLeft,
  .elementor .legacy-content .photoRight {
    float: none;
    width: 100%;
    max-width: 100%;
    display: block;
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
  }
}

/* =========================================================
   Intro / section helpers
   ========================================================= */
@media screen and (max-width: 599px) {
  .elementor .legacy-content .normalType__intro {
    margin-bottom: 15px;
  }
}

.elementor .legacy-content .normalType__intro__text,
.elementor .legacy-content .courseType__intro__text {
  line-height: 2;
}

.elementor .legacy-content .normalType__intro .catchcopyText-s--red,
.elementor .legacy-content .courseType__intro .catchcopyText-s--red {
  padding-top: 10px;
}

.elementor .legacy-content .normalType__link,
.elementor .legacy-content .courseType__link {
  margin-top: 10px;
}

.elementor .legacy-content .normalType__sec,
.elementor .legacy-content .courseType__sec {
  margin-bottom: 30px;
}

.elementor .legacy-content .normalType__sec .standardText,
.elementor .legacy-content .courseType__sec .standardText {
  margin-bottom: 20px;
}

.elementor .legacy-content .normalType__sec__ph,
.elementor .legacy-content .courseType__sec__ph {
  width: 41%;
  float: right;
  margin-left: 30px;
  margin-bottom: 15px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .normalType__sec__ph,
  .elementor .legacy-content .courseType__sec__ph {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-bottom: 10px;
  }
}

.elementor .legacy-content .normalType__sec__atn,
.elementor .legacy-content .courseType__sec__atn {
  font-size: 1.4rem;
  margin-top: 8px;
  line-height: 1.2;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseType {
    margin-bottom: 25px;
  }
}

.elementor .legacy-content .courseType__ttl {
  background: #f3f3f3;
  padding: 32px 25px;
  border-left: 4px solid #ba1b21;
  margin-bottom: 22px;
  line-height: 1.4;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseType__ttl {
    padding: 18px 5px 10px 10px;
    margin-bottom: 12px;
  }
}

.elementor .legacy-content .courseType__ttl__tit {
  display: inline-block;
  margin-right: 20px;
  vertical-align: middle;
  font-size: 1.7rem !important;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
}

.elementor .legacy-content .courseType__ttl__tit span {
  font-size: 1.7rem;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseType__ttl__tit {
    font-size: 18px;
    margin-right: 8px;
  }

  .elementor .legacy-content .courseType__ttl__tit span {
    font-size: 12px;
    letter-spacing: -1px;
  }
}

.elementor .legacy-content .courseType__icon {
  display: inline-block;
  vertical-align: middle;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseType__icon {
    display: block;
    margin-top: 5px;
  }
}

.elementor .legacy-content .courseType__icon li {
  display: inline;
}

.elementor .legacy-content .courseType__intro {
  margin-bottom: 30px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseType__intro {
    margin-bottom: 15px;
  }
}

/* =========================================================
   Course list cards
   ========================================================= */
.elementor .legacy-content .courseList {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList {
    gap: 10px;
  }
}

.elementor .legacy-content .courseList__03 .courseList__item {
  width: calc(33.333% - 10px);
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__03 .courseList__item {
    width: 100%;
  }
}

.elementor .legacy-content .courseList__02 .courseList__item {
  width: 48.8%;
  margin-bottom: 15px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__02 .courseList__item {
    width: 49%;
    margin-bottom: 25px;
  }
}

.elementor .legacy-content .courseList__item--100 {
  width: 100%;
  margin-bottom: 10px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__item--100 {
    margin-bottom: 7px;
  }
}

.elementor .legacy-content .courseList__item a {
  display: block;
  border: 5px solid #e5e5e5;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.elementor .legacy-content .courseList__item a:hover {
  border-color: #fad9db;
}

.elementor .legacy-content .courseList__item a:hover .courseList__ttl {
  background: #fcedee;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__item a {
    border-width: 3px;
  }
}

.elementor .legacy-content .courseList__ttl {
  font-size: 1.7rem !important;
  font-family: "Noto Sans JP", sans-serif;
  padding: 23px 5px;
  background: #f6f6f6;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.1;
}

.elementor .legacy-content .courseList__ttl span {
  font-size: 1.5rem;
  font-weight: normal;
}

.elementor .legacy-content .courseList__ttl.pd {
  padding: 18px 5px 6px;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__ttl {
    font-size: 16px;
    padding: 12px 5px;
    margin-bottom: 5px;
  }

  .elementor .legacy-content .courseList__ttl span {
    font-size: 12px;
    letter-spacing: -1px;
  }

  .elementor .legacy-content .courseList__ttl.pd {
    padding: 14px 5px 8px;
  }
}

@media screen and (max-width: 320px) {
  .elementor .legacy-content .courseList__ttl {
    font-size: 14px;
  }
}

.elementor .legacy-content .courseList__icon {
  margin-bottom: 10px;
  text-align: center;
}

.elementor .legacy-content .courseList__icon li {
  display: inline;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__icon {
    margin-bottom: 6px;
  }

  .elementor .legacy-content .courseList__icon li.atn {
    display: block;
    font-size: 12px;
    line-height: 1;
  }
}

.elementor .legacy-content .courseList__item--100 .courseList__icon {
  padding: 8px;
}

.elementor .legacy-content .courseList__item--100 .courseList__icon .icon--elementary,
.elementor .legacy-content .courseList__item--100 .courseList__icon .icon--junior,
.elementor .legacy-content .courseList__item--100 .courseList__icon .icon--senior,
.elementor .legacy-content .courseList__item--100 .courseList__icon .icon--kids {
  padding: 8px 50px;
  margin: 0 6px;
  text-align: center;
  font-size: 1.6rem;
}

@media screen and (max-width: 599px) {
  .elementor .legacy-content .courseList__item--100 .courseList__icon {
    padding: 5px 5px 0;
  }

  .elementor .legacy-content .courseList__item--100 .courseList__icon .icon--elementary,
  .elementor .legacy-content .courseList__item--100 .courseList__icon .icon--junior,
  .elementor .legacy-content .courseList__item--100 .courseList__icon .icon--senior,
  .elementor .legacy-content .courseList__item--100 .courseList__icon .icon--kids {
    padding: 6px 20px;
    margin: 0 2px;
    font-size: 13px;
  }
}

/* =========================================================
   Minimal helper added for pasted sample HTML
   ========================================================= */
.elementor .legacy-content .education {
  margin-bottom: 20px;
}

.elementor .legacy-content .education__list {
  padding-left: 1.5em;
}

.elementor .legacy-content .education__list li {
  list-style: disc;
  line-height: 1.9;
  margin-bottom: 0.4em;
}
