@charset "UTF-8";
.en-ff {
  font-family: "marvin-round", sans-serif !important;
}

body {
  font-family: "dnp-shuei-gothic-gin-std", sans-serif !important;
  color: #715F5F !important;
  font-weight: 600 !important;
}
@media screen and (max-width: 639px) {
  body {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 639px) {
  .single h1 {
    font-size: 22px !important;
  }
  .single h2 {
    font-size: 20px !important;
  }
  .single h3 {
    font-size: 18px !important;
  }
  .single h3.c-entry-summary__title {
    font-size: 15px !important;
  }
  .single h4 {
    font-size: 16px !important;
  }
  h2.c-entry-aside__title {
    font-size: 18px !important;
  }
  .c-prev-next-nav__item-title {
    font-size: 16px !important;
  }
  h3.c-entry-summary__title {
    font-size: 14px !important;
  }
  h1.c-entry__title {
    font-size: 20px !important;
  }
  h2.c-entry-summary__title {
    font-size: 16px !important;
  }
  .c-entries--simple .c-entry-summary__figure {
    margin-right: 1.3em !important;
  }
}
@media screen and (max-width: 639px) {
  .sp-f14 {
    font-size: 14px !important;
  }
  .sp-f16 {
    font-size: 16px !important;
  }
  .sp-f18 {
    font-size: 18px !important;
  }
  .sp-f22 {
    font-size: 22px !important;
  }
  .sp-f26 {
    font-size: 26px !important;
  }
}
li.c-meta__item.c-meta__item--author {
  display: none !important;
}

@media screen and (max-width: 639px) {
  .sp-tal {
    text-align: left !important;
  }
  .sp-tac {
    text-align: center !important;
  }
}
.no-link a {
  text-decoration: none !important;
  color: inherit !important;
}

.ma-ff {
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
}

/*=============================================
# ボタン
=============================================== */
.p-footer-sticky-nav {
  box-shadow: none !important;
}
.p-footer-sticky-nav .c-navbar {
  width: 300px;
  max-width: 100%;
  margin: auto;
  padding: 0.5em 0;
}
.p-footer-sticky-nav .c-navbar__item a {
  position: relative;
  text-decoration: none;
  padding: 1em 5em 1em 4em !important;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  font-size: 14px !important;
  background-color: #FC5061 !important;
  border-radius: 50px !important;
  color: #fff !important;
}
.p-footer-sticky-nav .c-navbar__item a:hover {
  filter: none;
}
.p-footer-sticky-nav .c-navbar__item a::before {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Crect x='2' y='2' width='296' height='36' rx='18' ry='18' fill='none' stroke='white' stroke-width='1.5' stroke-dasharray='3 6' stroke-linecap='round' opacity='0.75'/%3E%3C/svg%3E");
}
.p-footer-sticky-nav .c-navbar__item a::after {
  content: "";
  position: absolute;
  right: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: all 0.3s;
}

.smb-btn:hover {
  filter: none;
}

/* Buttonsブロックに main-btn クラスを付けた前提 */
.main-btn a {
  position: relative;
  text-decoration: none;
  padding: 0.8em 5em 0.8em 4em !important;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  font-size: 1.15em !important;
}
.main-btn a:hover {
  filter: none;
}
.main-btn a::before {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Crect x='2' y='2' width='296' height='36' rx='18' ry='18' fill='none' stroke='white' stroke-width='1.5' stroke-dasharray='3 6' stroke-linecap='round' opacity='0.75'/%3E%3C/svg%3E");
}
.main-btn a::after {
  content: "";
  position: absolute;
  right: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: all 0.3s;
}
.main-btn a:hover:after {
  right: 1.3em;
}

.slash-text {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 2.5em;
  line-height: 1.4;
  text-align: center;
  font-size: clamp(15px, 2.2vw, 22px) !important;
}

/* 左スラッシュ */
.slash-text::before,
.slash-text::after {
  content: "";
  position: absolute;
  top: 65%;
  width: 2em;
  height: 1.5px;
  background: #333;
}

.slash-text2 {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 2.5em;
  text-align: center;
}
@media screen and (max-width: 639px) {
  .slash-text2 {
    padding: 0 2em;
  }
}

/* 左スラッシュ */
.slash-text2::before,
.slash-text2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1em;
  height: 1.5px;
  background: #F7A455;
}

/* 画像の左は「\」っぽい角度 */
.slash-text::before,
.slash-text2::before {
  left: 0;
  transform: translateY(-50%) rotate(55deg);
}

/* 右は「/」 */
.slash-text::after,
.slash-text2::after {
  right: 0;
  transform: translateY(-50%) rotate(-55deg);
}

/*=============================================
# header
=============================================== */
.header-contact-btn a {
  position: relative;
  text-decoration: none;
  background: #FC5061;
  color: #fff;
  border-radius: 50px;
  padding: 0.8em 3em 0.8em 2em;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.header-contact-btn a::before {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 40' preserveAspectRatio='none'%3E%3Crect x='2' y='2' width='296' height='36' rx='18' ry='18' fill='none' stroke='white' stroke-width='1.5' stroke-dasharray='3 6' stroke-linecap='round' opacity='0.75'/%3E%3C/svg%3E");
}
.header-contact-btn a::after {
  content: "";
  position: absolute;
  right: 1.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: all 0.3s;
}
.header-contact-btn a:hover::after {
  right: 1.3em;
}
.header-contact-btn svg.svg-inline--fa.fa-envelope {
  margin-right: 8px;
}

.l-2row-header .p-global-nav .c-navbar__item > a {
  padding-top: 0 !important;
}

.l-header--sticky-lg {
  box-shadow: none !important;
}

/*=============================================
# ページヘッダー
=============================================== */
.c-page-header[data-has-image=true] {
  height: clamp(178px, 30vw, 320px) !important;
}

.c-page-header {
  position: relative;
}
.c-page-header::before {
  content: "";
  width: 100%;
  height: 100%;
  display: inline-block;
  background: #FEF9EA;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.6;
  z-index: 1;
}

.c-page-header__content {
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 2.5em 0;
  width: 880px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
@media screen and (max-width: 639px) {
  .c-page-header__content {
    padding: 1.5em 1em;
  }
}

.page-header__en {
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: 0;
  color: #FFDD79;
  font-family: "marvin-round", sans-serif !important;
  line-height: 2;
  display: block;
}

.c-page-header__title {
  font-size: clamp(22px, 2.4vw, 30px) !important;
  letter-spacing: 0.08em;
  color: #715F5F;
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
}

.l-contents__sidebar h2.wp-block-heading {
  font-weight: 600 !important;
  color: #715F5F !important;
}
@media screen and (max-width: 639px) {
  .l-contents__sidebar h2.wp-block-heading {
    font-size: 18px !important;
  }
}
.l-contents__sidebar h2.wp-block-heading::before, .l-contents__sidebar h2.wp-block-heading::after {
  background-color: #715F5F !important;
}

/*=============================================
# ドロワー
=============================================== */
.c-drawer__menu li {
  text-align: center;
  font-size: 1.15em !important;
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
}

/*=============================================
# トップ
=============================================== */
.fv {
  position: relative;
}
@media screen and (max-width: 639px) {
  .fv {
    padding-bottom: 1em !important;
  }
}
.fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(140px, 24vw, 300px);
  aspect-ratio: 1/1;
  background: url("https://katayama1chome-ecc.com/wp-content/uploads/2026/02/left-back.png") no-repeat top left/contain;
  pointer-events: none;
  z-index: 1;
}
.fv::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(180px, 28vw, 360px);
  aspect-ratio: 1/1;
  background: url("https://katayama1chome-ecc.com/wp-content/uploads/2026/02/right-back.png") no-repeat bottom right/contain;
  pointer-events: none;
  z-index: 0;
}

.fv-bubble {
  width: clamp(215px, 22vw, 310px);
  background: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  display: inline-block;
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  font-size: clamp(14px, 1.3vw, 20px);
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
  transform: rotate(-4deg) translateX(-1.5em);
}
@media screen and (max-width: 639px) {
  .fv-bubble {
    transform: rotate(-4deg) translateX(-0.9em) translateY(-2em);
  }
}
.fv-bubble::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.5em;
  color: #44B5AE;
  margin-right: 8px;
}
.fv-bubble::after {
  content: "";
  position: absolute;
  left: 17%;
  bottom: -23px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top-color: #fff;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fv-bubble {
    width: 350px;
    font-size: 20px;
    transform: rotate(-4deg) translate(0, -0.5em);
  }
}
.fv-title {
  font-family: "Noto Sans JP", sans-serif !important;
  line-height: 1.1;
  font-size: clamp(30px, 4.2vw, 64px) !important;
  font-weight: 800;
  transform: rotate(-4deg) translateY(-0.2em);
  padding-left: 0.6em;
  text-indent: -0.6em;
}
@media screen and (max-width: 639px) {
  .fv-title {
    transform: rotate(-4deg) translateY(-0.6em);
  }
}
@media screen and (min-width: 639px) and (max-width: 1023px) {
  .fv-title {
    font-size: clamp(30px, 6.2vw, 64px) !important;
  }
}

.fv-text {
  font-size: clamp(16px, 1.4vw, 22px) !important;
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
  letter-spacing: 0.06em !important;
}
@media screen and (max-width: 639px) {
  .fv-text {
    margin-top: 12.5em !important;
    text-align: center !important;
  }
}

@media screen and (min-width: 810px) {
  .fv-feature {
    width: 45% !important;
    margin-left: 0 !important;
  }
}
@media screen and (max-width: 639px) {
  .fv-feature {
    margin-top: 1em !important;
  }
}
.fv-feature .smb-items__item {
  border: 2px solid #FCB30F !important;
  border-radius: 24px !important;
  background: #fff;
  padding: 0.5em 0 1em 0 !important;
}
@media screen and (max-width: 639px) {
  .fv-feature .smb-items__item {
    padding: 0.3em 0 0.5em 0 !important;
  }
}
@media screen and (min-width: 810px) {
  .fv-feature .smb-items__item {
    width: clamp(120px, 12vw, 156px) !important;
    height: clamp(120px, 12vw, 156px) !important;
  }
}
.fv-feature p {
  font-size: clamp(12px, 1.3vw, 18px) !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
}
.fv-feature img {
  width: 70% !important;
  margin: auto;
}

.left-column {
  z-index: 2 !important;
}

.right-column {
  position: absolute !important;
  right: 0;
  z-index: 1;
}
@media screen and (max-width: 639px) {
  .right-column {
    top: 23%;
  }
}

.fv-photo-wrap {
  position: relative;
  width: min(600px, 48vw);
  aspect-ratio: 4/3.5;
  transform: rotate(-6deg);
  transform-origin: center;
}
@media screen and (max-width: 639px) {
  .fv-photo-wrap {
    width: auto;
    aspect-ratio: auto;
    transform: rotate(0);
  }
}

.fv-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: #FFE979;
  transform: translate(16px, 16px);
}
@media screen and (max-width: 639px) {
  .fv-photo-wrap::before {
    border-radius: 24px;
    width: 90%;
    transform: translate(26px, 6px);
  }
}

.fv-photo {
  border-radius: clamp(18px, 2.2vw, 32px);
  overflow: hidden;
}
.fv-photo img {
  aspect-ratio: 4/3.5;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 639px) {
  .fv-photo img {
    width: 90%;
    margin: auto;
    aspect-ratio: 4/2.5;
    border-radius: 24px;
  }
}

@media screen and (max-width: 639px) {
  .concept-top-img img {
    width: 216px !important;
  }
}
@media screen and (max-width: 639px) {
  .movie-flex {
    flex-direction: column !important;
  }
}
.concept-message p {
  font-weight: 600;
  line-height: 1.8;
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
  font-size: clamp(14px, 1.2vw, 18px);
}

.square-title::before {
  content: "■";
  margin-right: 4px;
}

.section-en-title {
  font-family: "marvin-round", sans-serif !important;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 2em;
  text-align: center;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 22px);
}
.section-en-title::before, .section-en-title::after {
  content: "";
  position: absolute;
  top: 60%;
  width: 1.2em;
  height: 1.5px;
  background: #FFDD79;
}
.section-en-title::before {
  left: 0;
  transform: translateY(-50%) rotate(55deg);
}
.section-en-title::after {
  right: 0;
  transform: translateY(-50%) rotate(-55deg);
}

.orange.section-en-title::before, .orange.section-en-title::after {
  background: #FFAE60;
}

.section-title {
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
}

@media screen and (max-width: 639px) {
  .points-box h3 {
    font-size: 18px !important;
  }
}
.points-box img {
  border-radius: 4px;
}
@media screen and (max-width: 639px) {
  .points-box img {
    width: 60%;
    margin: auto;
  }
}
.points-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1em;
  width: 56px;
  height: 56px;
  background: #F7931E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(22px, 2.4vw, 28px);
  font-family: "marvin-round", sans-serif !important;
  font-weight: 500;
  line-height: 1;
  z-index: 1;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 639px) {
  .points-box::before {
    width: 45px;
    height: 45px;
  }
}

.points-box.point1::before {
  content: "01";
}

.points-box.point2::before {
  content: "02";
}

.points-box.point3::before {
  content: "03";
}

.points-box.point4::before {
  content: "04";
}

@media screen and (max-width: 639px) {
  .top-points .smb-section__divider--top svg {
    top: 1px;
    height: 40px;
  }
}
.voice-name {
  padding-top: 1em !important;
  margin-top: 1em !important;
  position: relative;
  font-size: 0.9em !important;
}
.voice-name::before {
  content: "";
  width: 6.5em;
  height: 1px;
  display: inline-block;
  background: #707070;
  position: absolute;
  top: 0;
  left: 0;
}

.top-voice .smb-panels__item.smb-panels__item--free {
  border-radius: 8px !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16) !important;
}

.voice-columns p,
.voice-columns li {
  color: #715F5F !important;
  line-height: 1.8 !important;
  letter-spacing: 0.06em !important;
}

.voice-columns p {
  margin-top: 1em !important;
}

.voice-columns .smb-panels__item__body p:first-child {
  margin-top: 0 !important;
}

@media screen and (max-width: 639px) {
  .top-voice .main-btn a {
    padding: 0.8em 3.5em 0.8em 2.5em !important;
  }
}
.top-course .smb-panels__item__body {
  padding: 1.3em !important;
  color: #715F5F !important;
}

.top-course .smb-panels__item {
  border-radius: 8px !important;
  box-shadow: none !important;
}

@media screen and (max-width: 639px) {
  .corse-item h3 {
    font-size: 18px !important;
  }
}
.top-trial {
  position: relative;
}
.top-trial .trial-icon {
  position: absolute;
  top: -8.5em;
  right: 10%;
  transform: rotate(16deg);
}
.top-trial .trial-icon img {
  width: clamp(148px, 20vw, 260px);
}
@media screen and (max-width: 639px) {
  .top-trial .trial-icon {
    right: 0;
  }
}

.faq .smb-accordion__item__title {
  position: relative;
  background: transparent !important;
  padding: 1.3em 2em 1.3em 4em !important;
}
.faq .smb-accordion__item__title::before {
  content: "Q";
  background: #FFDD79;
  color: #fff;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50px;
  text-align: center;
  line-height: 28px;
  position: absolute;
  font-family: "marvin-round", sans-serif !important;
  font-size: 1.15em;
  left: 0.8em;
}
.faq .smb-accordion__item {
  background: #fff;
  border-radius: 4px;
}
.faq .faq-body {
  background: #FEF9EA;
  padding: 1em !important;
  border-radius: 4px;
}
.faq .smb-accordion__item__body {
  padding: 0 1em 1em !important;
}

.footer-section .smb-section-with-bgimage__bgimage {
  height: 48% !important;
}
@media screen and (max-width: 639px) {
  .footer-section .smb-section-with-bgimage__bgimage {
    height: 30% !important;
  }
}
.footer-section .footer-box {
  margin-top: 10em !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16) !important;
}
@media screen and (max-width: 639px) {
  .footer-section .footer-box .main-btn a {
    padding: 0.8em 4em 0.8em 3em !important;
  }
}
.footer-section .footer-tel {
  font-size: clamp(28px, 3vw, 38px) !important;
}
@media screen and (max-width: 639px) {
  .footer-section .footer-logo img {
    width: 300px !important;
  }
}
@media screen and (max-width: 639px) {
  .footer-section .footer-bottom-flex {
    flex-direction: column !important;
    gap: 2em !important;
    align-items: flex-start !important;
  }
}
.footer-section .footer-text {
  line-height: 1.8 !important;
}
.footer-section .footer-menu ul {
  gap: 1em 2em !important;
}
@media screen and (max-width: 639px) {
  .footer-section .footer-menu ul {
    gap: 1em 1em !important;
    justify-content: left !important;
  }
}

.c-copyright--inverse {
  background-color: #217E58;
  text-align: center;
  font-size: 0.85em !important;
}

/*=============================================
# 教室
=============================================== */
@media screen and (max-width: 639px) {
  .scroll-btn {
    gap: 1.5em !important;
  }
}
.scroll-btn a {
  position: relative;
  align-items: center;
}
@media screen and (max-width: 639px) {
  .scroll-btn a {
    width: 280px;
    max-width: 100%;
  }
}
.scroll-btn a::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-top: 8px solid #f7a455;
  border-bottom: 0;
  position: absolute;
  right: 2em;
  transition: all 0.3s;
}
.scroll-btn a:hover {
  transform: translateY(8px);
}

.classroom-img img {
  aspect-ratio: 4/4.4 !important;
  border-radius: 4px;
  -o-object-position: 50% 35% !important;
     object-position: 50% 35% !important;
}

@media screen and (max-width: 639px) {
  .classroom-top-flex {
    flex-direction: column !important;
  }
}
.classroom-gallery .smb-section__divider--top svg {
  top: 1px !important;
  height: 56px !important;
}

.classroom-gallery .smb-section__divider--bottom svg {
  bottom: 1px !important;
  height: 40px !important;
}

.dot-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.dot-title::before, .dot-title::after {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50px;
}
@media screen and (max-width: 639px) {
  .dot-title::before, .dot-title::after {
    width: 8px;
    height: 8px;
  }
}
.dot-title.pink::before, .dot-title.pink::after {
  background: #F74E7E;
}
.dot-title.yellow::before, .dot-title.yellow::after {
  background: #FFDD79;
}
.dot-title.orange::before, .dot-title.orange::after {
  background: #F7881F;
}
.dot-title.green::before, .dot-title.green::after {
  background: #37A79D;
}
.dot-title.blue::before, .dot-title.blue::after {
  background: #159FD5;
}

.dot-title2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.dot-title2::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50px;
  background: #F7881F;
}
@media screen and (max-width: 639px) {
  .dot-title2::before {
    width: 8px;
    height: 8px;
  }
}

.classroom-gallery .spider__dots {
  margin-top: 0.5em !important;
}
.classroom-gallery .smb-spider-slider > .spider__dots[data-thumbnails=true] {
  display: flex;
  gap: 4px;
}
.classroom-gallery .smb-spider-slider > .spider__dots[data-thumbnails=true] .spider__dot {
  flex: 0 0 auto;
  width: calc((100% - 16px) / 5);
}
.classroom-gallery .smb-spider-slider .spider__dots[data-thumbnails=true] .spider__dot[aria-current=true] {
  display: none;
}
.classroom-gallery button.spider__dot img {
  -o-object-fit: contain !important;
     object-fit: contain !important;
  aspect-ratio: 4/2.3 !important;
  background: #fcf3d7 !important;
}
.classroom-gallery .smb-spider-slider__figure-wrapper .spider__figure {
  -o-object-fit: contain !important;
     object-fit: contain !important;
  background: #fcf3d7 !important;
}

@media screen and (min-width: 1024px) {
  .videos-flex {
    justify-content: center !important;
  }
  .videos-flex figure {
    flex-grow: 0 !important;
  }
}
@media screen and (min-width: 639px) and (max-width: 1023px) {
  .videos-flex {
    justify-content: center !important;
    gap: 1em !important;
  }
  .videos-flex figure {
    flex-grow: 0 !important;
  }
}
.teacher-top-flex .teacher-img-column {
  margin: auto;
}
.teacher-top-flex .teacher-img {
  position: relative;
}
@media screen and (max-width: 639px) {
  .teacher-top-flex .teacher-img {
    width: 65% !important;
  }
}
.teacher-top-flex .teacher-img img {
  aspect-ratio: 3/3.5 !important;
  margin: auto;
  position: relative;
}
.teacher-top-flex .teacher-img::before {
  content: "";
  width: 98%;
  height: 98%;
  display: inline-block;
  background: #fffbed;
  position: absolute;
  top: 4px;
  left: 0;
  transform: rotate(-14deg);
  z-index: 0;
}
@media screen and (max-width: 639px) {
  .teacher-top-flex {
    flex-direction: column !important;
    gap: 1.5em !important;
  }
}
.teacher-top-flex p {
  color: #fff !important;
  line-height: 1.8 !important;
}

@media screen and (max-width: 639px) {
  .career-flex {
    display: block !important;
  }
  .knowledge-box {
    margin-top: 2em !important;
  }
}
@media (min-width: 64em) {
  .banner-inner .smb-items__banner:active .smb-items__banner__figure,
.banner-inner .smb-items__banner:focus .smb-items__banner__figure,
.banner-inner .smb-items__banner:hover .smb-items__banner__figure {
    filter: none !important;
  }
}
.banner-inner .smb-items__banner.smb-items__banner--wide {
  border-radius: 8px !important;
  border: 4px solid #F5ABC1 !important;
}
.banner-inner .smb-items__banner__body {
  padding: 0 !important;
}
.banner-inner .smb-items__banner__body-inner {
  width: 100% !important;
  text-align: center !important;
}
@media screen and (max-width: 639px) {
  .banner-inner .smb-items__banner--wide:before {
    padding: 50.25% 0 0 !important;
  }
}
.banner-inner .smb-items__banner__title {
  background: #F5ABC1 !important;
  padding: 0.8em 0.5em 0.5em !important;
  font-size: 1.4em;
  letter-spacing: 0.08em;
  font-family: "fot-tsukuardgothic-std", sans-serif !important;
  position: relative;
}
@media screen and (min-width: 639px) and (max-width: 1023px) {
  .banner-inner .smb-items__banner__title {
    font-size: 16px;
  }
}
.banner-inner .smb-items__banner__title::after {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1em;
  color: #fff;
  right: 2em;
  transition: all 0.3s;
}
@media screen and (min-width: 639px) and (max-width: 1023px) {
  .banner-inner .c-row[data-md-columns="3"] {
    --_item-width: 45%!important;
    justify-content: center !important;
  }
}
.banner-inner .smb-items__banner--wide:hover .smb-items__banner__title::after {
  right: 1.5em;
}
.banner-inner .banner-item.orange .smb-items__banner.smb-items__banner--wide {
  border: 4px solid #F7A455 !important;
}
.banner-inner .banner-item.orange .smb-items__banner__title {
  background: #F7A455 !important;
}
.banner-inner .banner-item.blue .smb-items__banner.smb-items__banner--wide {
  border: 4px solid #159FD5 !important;
}
.banner-inner .banner-item.blue .smb-items__banner__title {
  background: #159FD5 !important;
}

/*=============================================
# コース
=============================================== */
.corse-menu-item p {
  margin-top: 1em !important;
}

.additional-courses-flex .smb-panels__item__body {
  padding: 1.5em !important;
}
.additional-courses-flex .smb-panels__item {
  border-radius: 4px !important;
  box-shadow: none !important;
  color: #715F5F !important;
}

/*=============================================
# 進路
=============================================== */
.school-info-box p {
  line-height: 1.8;
}

.w-fit {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.school-list .wp-block-snow-monkey-blocks-accordion-item {
  background: #fff !important;
  padding: 0.5em 0 !important;
}
.school-list .smb-accordion__item__body {
  padding-top: 0.5em !important;
  padding-bottom: 0.5em !important;
}

.map iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

/*=============================================
# お問い合わせ
=============================================== */
.snow-monkey-form--button-has-accent-color .smf-button-control__control {
  background-color: #F74E7E !important;
  font-size: 1em !important;
  padding: 0.6em !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  width: 220px !important;
  max-width: 100% !important;
  font-family: "dnp-shuei-gothic-gin-std", sans-serif !important;
}
@media screen and (max-width: 639px) {
  .snow-monkey-form--button-has-accent-color .smf-button-control__control {
    width: 156px !important;
  }
}

/*=============================================
# プライバシー
=============================================== */
@media screen and (max-width: 639px) {
  .privacy-policy-container h2 {
    font-size: 18px !important;
  }
}