@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

h1, h2, h3, .font-pop, .font-pop h4, .font-pop P.eltdf-il-text {
  font-family: "Mochiy Pop One";
  font-weight: normal;
}

/* ヘッダーロゴ（両方のクラス名に対応） */
.eltdf--header .eltdf-logo-wrapper a img,
.eltdf-page-header .eltdf-logo-wrapper a img {
  width: 260px;
  height: 85px;
  padding-top: 6px;
}
@media only screen and (max-width: 1440px) {
  .eltdf--header .eltdf-logo-wrapper a img,
  .eltdf-page-header .eltdf-logo-wrapper a img {
    width: 200px;
    height: 66px;
    padding-top: 12px;
  }
}

@media only screen and (max-width: 1200px) {
  .eltdf-main-menu > ul > li > a {
    padding: 0 12px;
  }
}

.eltdf--header .eltdf-sticky-holder .eltdf-logo-wrapper a img,
.eltdf-page-header .eltdf-sticky-holder .eltdf-logo-wrapper a img {
  width: 200px;
  height: 66px;
  padding-top: 2px;
}

.eltdf-mobile-header .eltdf-mobile-logo-wrapper img {
  width: 200px;
  height: 66px;
}

.eltdf-side-menu-button-opener.eltdf-icon-has-hover {
  display: none;
}

.eltdf--header .eltdf-logo-wrapper a,
.eltdf-page-header .eltdf-logo-wrapper a {
  display: block;
}

.eltdf-counter-image img {
  width: auto;
  height: 85px;
}

.svg-img img {
  width: auto;
  height: 85px;
}

.teacher-L .wpb_single_image img {
  border: 14px solid #fff;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: -2px 2px 6px 1px rgba(0, 0, 0, 0.05);
}
.teacher-L p {
  font-size: 15px;
}

.teacher-S {
  margin-bottom: 20px;
}
.teacher-S .vc_row.wpb_row.vc_inner.vc_row-fluid {
  display: flex;
  align-items: center;
}
.teacher-S .vc_align_left img {
  border: 6px solid #fff;
  box-sizing: border-box;
  border-radius: 100%;
  box-shadow: -2px 2px 6px 1px rgba(0, 0, 0, 0.05);
}
.teacher-S .vc_col-sm-8 {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  min-height: 75px;
  padding: 14px 10px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: -2px 2px 6px 1px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
.teacher-S .vc_col-sm-8 :before {
  content: "";
  position: absolute;
  top: calc(50% - 15px);
  left: -14px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #fff;
  z-index: 2;
}
.teacher-S .vc_col-sm-8 h3 {
  margin-top: 0;
  font-size: 1.4rem;
}
.teacher-S .vc_col-sm-8 p {
  font-size: 15px;
  min-height: 56px;
}
@media only screen and (max-width: 768px) {
  .teacher-S .vc_col-xs-4 {
    padding-left: 0;
  }
  .teacher-S .vc_column_container > .vc_column-inner {
    padding-left: 0;
  }
}

.eltdf-testimonials-holder.eltdf-testimonials-boxed .eltdf-testimonial-image img {
  border-radius: 100%;
  width: 130px !important;
  height: auto;
}

.bnr .eltdf-banner-icon img {
  width: 100%;
  height: auto;
}
.bnr .bnr-green .eltdf-banner-link a {
  background-color: #fff;
  color: #105848;
}
.bnr .bnr-green .eltdf-banner-link a:hover {
  background-color: rgba(16, 88, 72, 0.1254901961);
}
.bnr .bnr-orange .eltdf-banner-link a.eltdf-btn.eltdf-hover-animation {
  background-color: #fff;
  color: #f39800;
}
.bnr .eltdf-banner-holder .eltdf-banner-content .eltdf-banner-text {
  min-height: 56px;
}

.eltdf-row-grid-section-wrapper.eltdf-parallax-row-holder.eltdf-content-aligment-center {
  background-size: cover;
  position: relative;
}
.eltdf-row-grid-section-wrapper.eltdf-parallax-row-holder.eltdf-content-aligment-center::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

/* フッター（両方のクラス名に対応） */
.eltdf--footer .widget,
.eltdf-page-footer .widget {
  margin-bottom: 15px;
}
.eltdf--footer .widget ul li a,
.eltdf-page-footer .widget ul li a {
  font-size: 15px;
}
.eltdf--footer .widget ul li a,
.eltdf--footer .widget h2,
.eltdf--footer .widget h3,
.eltdf--footer .widget h4,
.eltdf--footer .widget h5,
.eltdf--footer .widget h6,
.eltdf--footer .widget .eltdf-widget-title,
.eltdf-page-footer .widget ul li a,
.eltdf-page-footer .widget h2,
.eltdf-page-footer .widget h3,
.eltdf-page-footer .widget h4,
.eltdf-page-footer .widget h5,
.eltdf-page-footer .widget h6,
.eltdf-page-footer .widget .eltdf-widget-title {
  color: #333333;
}
.eltdf--footer .eltdf-icon-widget-holder,
.eltdf-page-footer .eltdf-icon-widget-holder {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #333333;
}

.rats-img img {
  height: 150px;
  width: auto;
}

.color-white h2 {
  color: #fff;
}

#eltdf-back-to-top {
  bottom: 27px;
}
#eltdf-back-to-top > span {
  background-color: #105848;
}
#eltdf-back-to-top > span:hover {
  background-color: #f39800;
}

#fixed-btn {
  position: fixed;
  right: 120px;
  bottom: 34px;
  z-index: 1000;
}
@media only screen and (max-width: 768px) {
  #fixed-btn a {
    font-size: 16px !important;
    padding: 12px 35px !important;
  }
}

.eltdf--footer,
.eltdf-page-footer {
  z-index: 99;
}

.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
}
.hidden-desktop {
  display: block;
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  .eltdf-tabs.eltdf-tabs-vertical .eltdf-tabs-nav li {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 5px;
  }
  .eltdf-tabs.eltdf-tabs-vertical .eltdf-tabs-nav li a {
    border: 1px solid #efefef;
    display: block;
    padding: 10px 20px;
    border-radius: 5px;
  }
}

/* シンプルスライダー */
.simple-slider {
  position: relative;
  width: 100%;
  height: 580px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .simple-slider {
    height: 400px;
  }
}
.simple-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.simple-slider .slide.active {
  opacity: 1;
}
.simple-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.simple-slider .slider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}
.simple-slider .slider-text h2 {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 80px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .simple-slider .slider-text h2 {
    font-size: 60px;
  }
}
@media (max-width: 768px) {
  .simple-slider .slider-text h2 {
    font-size: 36px;
    white-space: normal;
    padding: 0 20px;
    white-space: nowrap;
  }
}
.simple-slider .slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.simple-slider .slider-nav span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.simple-slider .slider-nav span.active {
  background: #fff;
}
