/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.mainvisual {
  margin: 0;
}
.mainvisual .swiper-slide {
  padding-right: 12.5vh;
}
.mainvisual .swiper-slide img {
  border-radius: 0 200px 200px 0;
}
.drawer-nav > ul > li a .en {
  font-family: "IBM Plex Sans JP", serif;
}
.mainvisual-catch {
  left: auto;
  right: 0;
  width: 100%;
  text-align: right;
  bottom: 8vh;
}
.header-nav > ul > li .en {
  font-family: "IBM Plex Sans JP", serif;
  color: #cd0000;
}
.header-nav > ul > li > ul > li .en {
  color: #fff;
}
.drawer-open {
  border-radius: 0 0 0 40px;
}
.btn01 a, .btn02 a, .btn03 a {
  padding: 16px 65px 14px 40px;
  background: var(--main-color-2);
  font-size: 1.8rem;
  font-weight: 500;
  font-family: "IBM Plex Sans JP", serif;
}
.btn01 a:after, .btn02 a:after, .btn03 a:after {
  content: "\e1c4";
  color: #ffd426;
}
.home {
  .box-wrap.bg:before {
    background: url(../images/bg2.jpg) repeat;
  }
  .box.title-type02 h2.box-h2 .en {
    font-size: 2rem;
    color: #083290;
    font-weight: 600;
  }
  .title-type02 .ja {
    opacity: 1;
    font-size: 4.2rem;
    margin: 0.1em 0 0 0;
  }
  .title-type02 .ja strong {
    color: #cd0000;
  }
  .page-content {
    margin: 0 auto;
  }
}
.main-about {
  margin-bottom: 8vh;
  .box-wrap.bg {
    padding: 38vh 0 10vh;
    margin-top: -29vh;
  }
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
  }
  .title-type02::before, .title-type02::after {
      content: "";
      position: static;
      transform: translate(0);
      display: block;
      width: 81px;
      margin-top: 20px;
      height: 101px;
      background: url(../images/icon1.png) no-repeat center center / contain;
  }
  .title-type02::after {
      background: url(../images/icon4.png) no-repeat center center / contain;
  }
  .image-text-type02 {
    padding: 0;
  }
  .image-text-type02 .image {
    position: relative;
    width: 55%;
    min-height: 25vmax;
    max-height: max-content;
  }
  .image-text-type02 .image {
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
    border-radius: 10px;
  }
  .image-text-type02 .image img {
    border-radius: 10px;
  }
  .image-text-type02 .text {
    padding: 0 0 0 35px;
    letter-spacing: -0.5px;
    width: 45%;
  }
  .box h3.box-h3 {
    margin: 0 0 2vh 0;
    font-size: 2.4rem;
  }
  .image-text-type02 .text:before {
    display: none;
  }
}
.main-reason {
  margin-bottom: 10vh;
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
  }
  .title-type02::before, .title-type02::after {
      content: "";
      position: static;
      transform: translate(0);
      display: block;
      width: 78px;
      margin-top: 20px;
      height: 94px;
      background: url(../images/icon2.png) no-repeat center center / contain;
  }
  .title-type02::after {
      background: url(../images/icon5.png) no-repeat center center / contain;
      height: 91px;
  }
  .box .image {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
  }
  .banner-type02 ul li {
    border-radius: 20px;
  }
  .box h3.box-h3 {
    font-size: 2.4rem;
    font-family: "YuGothic", "Yu Gothic", sans-serif;
    text-align: center;
  }
  .banner-type02 ul li .text {
    padding: 4vmin 4vmin 7vmin;
  }
  .box, .box-wrap {
    margin: 0 auto 3vh auto;
  }
  p:not([class]) {
    margin: 6vh 0 0;
  }
  .banner-type02 ul li .text {
    p:not([class]) {
      margin: var(--text-margin) 0;
    }
  }
  .box.title-type02 {
    margin: 0 auto 5.5vh auto;
  }
}
.main-course {
  .box-wrap.bg:before {
    background: url(../images/bg.jpg) repeat;
    max-width: 1364px;
    margin: 0 auto;
    border-radius: 100px;
}
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
  }
  .title-type02::before, .title-type02::after {
      content: "";
      position: static;
      transform: translate(0);
      display: block;
      width: 59px;
      margin-top: 20px;
      height: 91px;
      background: url(../images/icon3.png) no-repeat center center / contain;
  }
  .title-type02::after {
      background: url(../images/icon6.png) no-repeat center center / contain;
  }
}
.main-voice {
  margin: 8vh 0 10vh;
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
  }
  .title-type02::before, .title-type02::after {
      content: "";
      position: static;
      transform: translate(0);
      display: block;
      width: 76px;
      margin-top: 20px;
      height: 81px;
      background: none;
  }
  .title-type02::after {
      background: url(../images/icon7.png) no-repeat center center / contain;
  }
  .blog-type01 ul li .image, .blog-type04 .swiper-slide .image {
    border: solid 1px #d8d8d8;
    margin-bottom: 2vh;
    border-radius: 10px;
  }
  .blog-type04 .swiper-pagination {
    margin: 50px 0 0 0;
  }
}
.main-voice2 {
    margin-bottom: 8.5vh;
  .box-wrap.bg:before {
    margin-left: calc(50% - var(--vw)* 50);
    margin-right: calc(50% - var(--vw)* 50);
    padding: 0 8vmin 0 0;
    width: calc(var(--vw)* 120);
    border-radius: 0 100px 100px 0;
  }
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
  }
  .title-type02::before, .title-type02::after {
      content: "";
      position: static;
      transform: translate(0);
      display: block;
      width: 89px;
      margin-top: 20px;
      height: 79px;
      background: url(../images/icon8.png) no-repeat center center / contain;
  }
  .title-type02::after {
    background: none;
  }
  .blog-type01 ul li .image, .blog-type04 .swiper-slide .image {
    border: solid 1px #d8d8d8;
    margin-bottom: 2vh;
    border-radius: 10px;
  }
  .blog-type04 .swiper-pagination {
    margin: 50px 0 0 0;
  }
  .box, .box-wrap {
    margin: 0 auto 5vh auto;
  }
  .box-wrap.bg {
    padding: var(--box-margin) 0 10vh;
  }
}
.main-acsess {
  margin-bottom: 10vh;
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 0;
    margin-bottom: 3.5vh;
  }
  .title-type02::before, .title-type02::after {
      content: "";
      position: static;
      transform: translate(0);
      display: block;
      width: 58px;
      margin-top: 40px;
      height: 71px;
      background: none;
  }
  .title-type02::after {
      background: url(../images/icon9.png) no-repeat center center / contain;
  }
  h3:not([class]) {
    font-size: 1.8rem;
    color: #cd0000;
    font-family: "IBM Plex Sans JP", serif;
    padding: 0;
  }
  h3:not([class]):after {
    display: none;
  }
  .box.banner-type02 {
    margin-top: 6vh;
  }
  .box .image {
    border-radius: 20px 20px 0 0;
  }
  .banner-type02 ul li {
    border-radius: 20px;
  }
  h3.box-h3.ja {
    font-family: "YuGothic", "Yu Gothic", sans-serif;
    text-align: center;
  }
  .box .copy {
    font-family: "YuGothic", "Yu Gothic", sans-serif;
    text-align: center;
  }
  .box .copy a {
    color: #fff;
  }
  .banner-type02 ul li .text .btn a {
    background: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "IBM Plex Sans JP", serif;
    color: var(--text-color);
    padding: 16px 65px 14px 40px;
  }
  .box .btn a:after {
    content: "\e1c4";
    color:  var(--main-color-2);
  }
  .banner-type02 ul li .text {
    padding: 4vmin 4vmin 2vmin;
  }
}
.main-greeting {
  .box-wrap.bg:before {
    background: url(../images/bg.jpg) repeat;
  }
  .image-text-type02 .text:before {
    display: none;
  }
  .title-type01 {
    position: relative;
    display: flex;
    gap: 15px;
    align-items: flex-end;
  }
  .title-type01:before {
    content: "";
    position: static;
    transform: translate(0);
    display: block;
    width: 78px;
    height: 57px;
    background: url(../images/icon10.png) no-repeat center center / contain;
  }
  .box h2.box-h2 {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    font-size: 4rem;
  }
  .title-type01 span:nth-child(2), .title-type02 span:nth-child(2), .title-type03 span:nth-child(2), .title-type04 span:nth-child(2) {
    opacity: 1;
    padding-bottom: 8px;
    font-size: 2rem;
    color: var(--main-color);
  }
  .image-text-type02 {
    padding: 0 0 30px 0;
  }
  .image-text-type02 .image {
    width: 40%;
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
  }
  .image-text-type02 .image img {
    border-radius: 10px;
  }
  .image-text-type02 .text {
    width: 63%;
    padding: 0;
    margin: 0;
  }
  .box.image-text-type02 .box-h3, .box.image-text-type02 .copy, .box.image-text-type02 p, .box.image-text-type02 .btn {
    max-width: 100%;
  }
  .image-text-type02 .image {
    width: 40%;
    max-width: 360px;
    max-height: 405px;
    object-fit: cover;
    margin-top: 4vh;
  }
  .image-text-type02.right {
    gap: 20px;
  }
}
.main-blog {
  .title-type02:before, .title-type04:before {
    display: none;
  }
  .title-type02, .title-type04 {
    padding: 0;
  }
  .col img {
    border-radius: 10px;
  }
}
.footer {
  background: url(../images/bg.jpg) repeat;
}
.footer-main .nav ul li {
  font-size: 1.2rem;
}
.footer-main .logo {
  width: 100%;
  margin: 0 auto 10px auto;
}
.footer-main-inner {
  max-width: 380px;
  margin: 0 auto;
  background: #fff;
  padding: 4vh;
  border-radius: 20px;
}
.about {
  font-size: 1.4rem;
  line-height: 1.7;
}
.footer-main {
  padding: 0;
}
.footer-main:after {
  display: none;
}
.sns-icon-list li a {
  background: var(--main-color-2);
}
.footer-sub .copyright {
  font-size: 1rem;
  font-weight: 500;
}
.pagetop a {
  background: #fcd94e;
}
/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .mainvisual-catch {
    bottom: 2vh;
  }
  .main-about {
    .image-text-type02 .image {
      min-height: 40vmax;
    }
  }
  .main-course {
    .box-wrap.bg {
      padding: var(--box-margin) 4vmin;
    }
    .box-wrap.bg:before {
        border-radius: 50px;
        width: 100%;
    }
  }
}
@media screen and (max-width: 720px) {

.home {
  .image-text-type02 .image img {
    position: relative;
  }
  .image-text-type02 {
    display: block;
    padding: 0;
  }
  .image-text-type02 .text {
    width: 100%;
    padding: 0;
    margin: 0;
}
.image-text-type02 .image {
  margin: 0 0 20px 0;
  width: 100%;
  min-height: auto;
  max-width: 100%;
  }
  .box.image-text-type02 .box-h3, .box.image-text-type02 .copy, .box.image-text-type02 p, .box.image-text-type02 .btn {
    max-width: 100%;
  }
  .banner-type02 ul {
    flex-direction: column;
  }
}


}

/* 20250118 added by Fabo */
.mt-0 { margin-top: 0 !important;}
.mt-s { margin-top: 4vh !important;}
.mt-m { margin-top: 7vh !important;}
.mt-l { margin-top: 10vh !important;}

.mb-0 { margin-bottom: 0 !important;}
.mb-s { margin-bottom: 4vh !important;}
.mb-m { margin-bottom: 7vh !important;}
.mb-l { margin-bottom: 10vh !important;}

.page-content h2:not([class]),
.page-content h3:not([class]),
.page-content h4:not([class]) {
    margin-bottom: 3vh;
}

.box-color {
    margin: 0 0 6vh;
    padding: 3vh;
    background: #f7f7f7;
}
.box-color :first-child {
    margin-top: 0 !important;
}
.box-color :last-child {
    margin-bottom: 0 !important;
}

.page-content .image-text-type01 .text {
    overflow: hidden;
}
.page-content .image-text-type01 .text :first-child{
    margin-top: 0;
}
.page-content  .list-check-type01 {
    display: flex;
    justify-content: flex-start;
}

.align-center {
    text-align: center;
}

.table-fixed {
  width: calc(100% + 10px);
  margin: 0 -5px 25px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 5px;
}
.table-fixed th,
.table-fixed td {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}
.table-fixed th {
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
}
.table-fixed td {
  background: var(--sub-color);
}

.table_qa {
  width: 100%;
  margin-bottom: 30px;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}
.table_qa th {
  width: 5%;
  padding: 20px 10px;
}
.table_qa td {
  padding: 20px 10px;
  vertical-align: middle;
}
.table_qa tr:nth-child(2n-1) td {
  font-size: 18px;
  font-weight: bold;
}
.table_qa tr:nth-child(2n) {
  background: var(--sub-color);
}
.table_qa tr:nth-child(2n) th {
  vertical-align: top;
}
.q_icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--main-color);
  line-height: 44px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.a_icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--main-color-2);
  line-height: 44px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

body:not(.home) .image-text-type02 .image {
    min-height: 20vmax;
}


/*------------------------------------------------------------------------------
  TABLET ONLY
------------------------------------------------------------------------------*/
@media screen and (min-width: 600px) and (max-width: 1024px) {
}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .drawer-open {
    border-radius: 0 0 0 20px;
  }
  .mainvisual .swiper-slide {
    padding-right: 0;
  }
  .mainvisual .swiper-slide img {
    border-radius: 0;
  }
  .mainvisual-catch {
    bottom: 4vh;
    left: 5vw;
    text-align: center;
    transform: inherit;
  }
  .home {
    .box.title-type02 h2.box-h2 .en {
      font-size: 1.8rem;
    }
    .title-type02 {
      gap: 5px;
    }
    .title-type02 .ja {
      font-size: 2.8rem;
    }
  }
  .main-reason {
    .box h3.box-h3 {
        font-size: 2.2rem;
    }
  }
  .main-course {
    .title-type02 {
      gap: 20px;
    }
    .title-type02::before, .title-type02::after {
      margin-top: 0px;
    }
  }
  .main-voice2 {
    .box-wrap.bg:before {
        border-radius: 0;
    }
  }
  .main-acsess {
    .title-type02::before, .title-type02::after {
        margin-top: 10px;
    }
    .title-type02 {
      gap: 20px;
    }
  }
  .main-acsess {
    .banner-type02 ul li .text .btn a {
        font-size: 1.6rem;
    }
  }
  .main-greeting {
    .box h2.box-h2 {
        font-size: 2.8rem;
    }
    .title-type01:before {
      background-size: 80%;
    }
    .title-type01 span:nth-child(2), .title-type02 span:nth-child(2), .title-type03 span:nth-child(2), .title-type04 span:nth-child(2) {
      font-size: 1.8rem;
    }
  }

  .table-wrap {
    overflow-x: auto;
  }
  .table-wrap table {
    min-width: 700px;
    table-layout: fixed;
  }

}
