/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.header-tel {
  position: fixed;
  top: 0;
  right: 100px;
  z-index: 1003;
}
.header-net {
  position: fixed;
  top: 0;
  right: 200px;
  z-index: 1003;
}
.header-inner {
  padding: 0 305px 0 20px;
}
.header-logo {
  width: 277px;
}
.header-nav > ul .ja {
  font-family: "Sen", sans-serif;
  color: var(--main-color);
  font-weight: bold;
}
.header-nav > ul .en {
  font-family: "Kaisei Tokumin", serif;
}
.mainvisual {
  width: auto;
  margin: 2vh 100px 7vmin;
  border-radius: 10vmin;
}
.mainvisual-catch div.copy {
  font-size: 7.6rem;
  font-weight: normal;
  text-align: center;
  margin: 0 0 30px 0;
}
.mainvisual-catch div.sub-text {
  font-family: "Kaisei Tokumin", serif;
  font-size: 1.9rem;
  text-align: center;
  line-height: 2.1;
}
.box h2.box-h2 {
  font-size: 4.1rem;
}
.title-type02 span:nth-child(2), .title-type04 span:nth-child(2) {
  margin: 0.5em 0 0 0;
  font-size: 1.7rem;
  color: var(--main-color-2);
  opacity: 1;
}
.box .btn a {
  font-size: 1.4rem;
}
.box .btn a:after {
  content: "\e1c4";
  font-size: 2.8rem;
  right: 8px;
  transform: translateY(-50%);
}
.home {
  .title-type02:before, .title-type04:before {
    display: none;
  }
}
@media screen and (max-width: 1450px) {
  .mainvisual {
    margin: 2vh 8vmin 7vmin;
  }
}
.main-news,.main-blog {
  position: relative;
  margin-bottom: 7vh;
  h2.box-h2 {
    font-size: 3.8rem;
    display: flex;
    align-items: flex-end;
    gap: 5px;
  }
  .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;
    font-size: 1.8rem;
    color: var(--main-color-2);
  }
  .title-type01 {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-end;
  }
  .title-type01:before {
    content: "";
    position: static;
    transform: translate(0);
    display: block;
    width: 46px;
    height: 41px;
    background: url(../images/icon1.png) no-repeat center center / contain;
  }
  .btn {
    margin: 0;
  }
  .btn.en {
    position: absolute;
    top: -95px;
    right: 0;
  }
}
.main-time {
  margin: 0 auto;
  width: 100%;
  padding: 40px 60px 25px;
  background-color: #fff;
  border: 3px solid var(--main-color);
  border-radius: 60px;
  position: relative;

  strong {
    font-size: 1.5rem;
    font-weight: 500;
  }
  h2.box-h2 {
    font-size: 2.4rem;
    color: var(--main-color);
    font-weight: bold;
    margin-bottom: 3vh;
  }
  h2.box-h2 .ja {
    font-weight: 700;
  }
  .title-type02, .title-type04 {
    padding: 0;
  }
  .title-type02:before, .title-type04:before {
    display: none;
  }
  .title-type01, .title-type02, .title-type03, .title-type04 {
    margin: 0 auto;
  }
  .common-timetable {
    margin-bottom: 20px;
    width: 100%;
  }
  .common-timetable th, .common-timetable td {
    vertical-align: center;
    font-size: 1.8rem;
  }
  .common-timetable th.bdr, .common-timetable td.bdr {
    border-right: 1px dotted #dbd3ba;
    border-bottom: 1px dotted #dbd3ba;
  }
  .common-timetable th.bdb, .common-timetable td.bdb {
    border-bottom: 1px dotted #dbd3ba;
  }
  .common-timetable th.bottom, .common-timetable td.bottom {
    border-bottom: none !important;
  }
  .common-timetable th.right, .common-timetable td.right {
    border-right: none !important;
  }
  .common-timetable th {
    padding: 10px 0;
  }
  .common-timetable td {
    text-align: center;
  }
  .common-timetable td img {
    margin: 0 auto;
    width: 16px;
    height: 16px;
    display: block;
  }
  .common-timetable .timetable__heading {
    padding-right: 15px;
    text-align: left;
    height: 75px;
  }
  .common-timetable .timetable__week {
    padding: 5px 0;
  }
}
.main-time:before, .main-time:after {
  content: '';
  width: 20px;
  height: 51px;
  background: url(../images/icon2.png);
  background-size: contain;
  display: block;
  position: absolute;
  top: -20px;
  left: 16vw;
}
.main-time:after {
  right: 16vw;
  left: auto;
}
.main-problem {
  .title-type02, .title-type04 {
    padding: 0;
  }
  .box-wrap.lg {
    margin-left: calc(50% - var(--vw)* 45);
    margin-right: calc(50% - var(--vw)* 45);
    padding: 9vh 4vmin 10vh;
    width: auto;
    border-radius: 160px;
    background: url(../images/icon12.png)no-repeat bottom center, url(../images/bg2.jpg) ;
    margin-bottom: 5vh;
  }
  ul:not([class]) {
    margin: 0 auto;
    padding: 0 4vmin;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    list-style: none;
  }
  ul:not([class]) li {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    background: #fff;
    border-radius: 3rem;
    height: 120px;
    max-width: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: 3px solid #edf7e0;
    outline-offset: -8px;
    box-shadow: 0px 0px 10px #8080804a;
    padding: 0 10px;
}
  li::marker {
    content: '';
  }
}
.main-message {
  .title-type02 {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 4vh;
  }
  .title-type02:before, .title-type02:after {
    content: "";
    position: static;
    transform: translate(0);
    display: block;
    width: 39px;
    margin-top: -20px;
    height: 39px;
    background: url(../images/icon6.png) no-repeat center center / contain;
  }
  .title-type02::after {
    background: url(../images/icon7.png) no-repeat center center / contain;
  }
  h2.box-h2 strong {
    position: relative;
    font-weight: normal;
    border-bottom: 20px solid transparent;
    background: url(../images/icon8.png) no-repeat center bottom;
    padding-bottom: 10px;
    background-size: 100% 10px;
    line-height: 2;
  }

  .box h3.box-h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 3.6rem;
    font-weight: bold;
  }
}
.main-courses {
  .title-type02, .title-type04 {
    padding: 0;
  }
  .box h3.box-h3 {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 2.8rem;
    font-weight: bold;
  }
  .box .copy {
    font-size: 1.8rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }
  .text strong {
    background: var(--main-color);
    font-size: 1.4rem;
    color: #fff;
    padding: 4px 12px 6px;
    border-radius: 1.5rem;
    margin-bottom: 1.5vh;
    display: table;
  }
  .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--main-color-2);
  }
}
.main-about {
  .image-text-type03 .text:before {
    border-radius: 5rem;
  }
  h3.box-h3.ja {
    font-size: 3rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: bold;
  }
}
.main-faq {
  .box-wrap.bg:before {
    background: url(../images/bg.jpg);
  }
  .title-type02 {
    padding: 0;
    color: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 4vh;
    margin-bottom: 0;
  }
  .title-type02:before, .title-type02:after {
    content: "";
    position: static;
    transform: translate(0);
    display: block;
    width: 70px;
    margin-top: -5px;
    height: 139px;
    background: url(../images/icon10.png) no-repeat center center / contain;
  }
  .title-type02::after {
    background: url(../images/icon9.png) no-repeat center center / contain;
    width: 108px;
    height: 161px;
    margin-top: -30px;
  }
  .accordion-type01 > ul > li {
    border: none;
    padding: 0;
  }
  .accordion-type01 > ul > li > ul > li{
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 10px #8080804a;
  }
  .accordion-type01 ul li h3.box-h3:after {
    content: "\e147";
    font-size: 5rem;
    color: var(--main-color-2);
    top: -18px;
    right: -5px;
  }
  .accordion-type01 ul li.active h3.box-h3:after {
    content: "\e15c";
    color: var(--main-color);
  }
  .accordion-type01 ul li .text {
    background: #fff;
    padding: 0;
  }
  .accordion-type01 ul li.active .text {
    padding: 30px 0;
  }
  h3.box-h3.ja {
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }
  h3.box-h3.ja:before {
    content: "Q.";
    font-size: 2.4rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin-right: 7px;
    color: var(--main-color);
    font-weight: bold;
  }
}
.main-blog {
  .title-type01:before {
    content: "";
    position: static;
    transform: translate(0);
    display: block;
    width: 42px;
    height: 46px;
    background: url(../images/icon11.png) no-repeat center center / contain;
  }
}
.main-contact {
  .contact-type02 {
    padding: 60px 0 70px;
  }
  .contact-type02 .title {
    color: var(--text-color);
    font-size: 4.6rem;
    .en {
      color: var(--main-color-2);
      font-size: 2.1rem;
    }
  }
  .contact-type02 .text .tel {
    font-size: 6rem;
    color: var(--text-color);
  }
  .contact-type02 .text .tel:before {
    color: var(--main-color);
    margin: 0 5px 0 0;
  }
  .contact-type02 .text .datetime {
    color: var(--text-color);
  }
  .contact-type02 .image {
    border: #ffff solid 8px;
    border-radius: 4rem;
    outline: 4px solid #89ce30;
    outline-offset: -5px;
  }
}
.footer-main .logo {
  width: 100%;
}
.pagetop a {
  color: var(--main-color-2);
}
.fixed-footer p {
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.fixed-footer .contact a {
  padding: 8px 28px 7px 25px;
  font-size: 1.5rem;
  background: #f3c623;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width: 1550px) {
  .main-problem {
    ul:not([class]) {
        padding: 0 10vmin;
        position: relative;
    }
    .box-wrap.lg {
      background: url(../images/bg2.jpg);
      position: relative;
      border-radius: 120px;
    }

    ul:not([class]):before ,ul:not([class]):after{
      content: "";
      position: absolute;
      transform: translate(0);
      display: block;
      bottom: -10vh;
      width: 90px;
      height: 170px;
      background: url(../images/icon3.png) no-repeat center center / contain;
    }
    ul:not([class]):after{
      right: 0;
      background: url(../images/icon4.png) no-repeat center center / contain;
    }
  }
}

/* 20240130 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: 35px;
    background: #f6f4ec;
    border-radius: 10px;
}
.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  .list-check-type01 {
    display: flex;
    justify-content: flex-start;
}

.table_qa {
  margin-bottom: 10px;
}
.table_qa th {
  width: 5%;
  padding: 10px;
}
.table_qa td {
  padding: 10px;
  vertical-align: middle;
}
.table_qa tr:nth-child(2n-1) td {
  font-size: 18px;
}
.table_qa tr:nth-child(2n) {
  background: #fbf2e4;
}
.table_qa tr:nth-child(2n) th {
  vertical-align: top;
}
.table_qa td p {
  margin-top: 0 !important;
}

/* Qアイコン */
.q_icon {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #69bb00;
  line-height: 54px;
  color: #fff;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 26px !important;
  font-weight: normal;
  text-align: center;
}
/* Aアイコン */
.a_icon {
  display: inline-block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f99d31;
  line-height: 54px;
  color: #fff;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 26px !important;
  font-weight: normal;
  text-align: center;
}

.list-flow-type01 > ul > li .text > p {
  margin-top: 0 !important;
}

/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .mainvisual {
    margin: 2vh 4vmin 7vmin;
  }
  .mainvisual-catch div.copy {
    font-size: 5.6rem;
  }
  .main-problem {
    ul:not([class]) {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .box-wrap.lg {
      border-radius: 8rem;
    }
  }
  .main-contact {
    .contact-type02 .text .tel {
        font-size: 4rem;
        color: var(--text-color);
    }
    .contact-type02 .title {
      font-size: 3rem;
      padding: 0 30px 0 0;
    }
    .datetime {
      max-width: 360px;
    }
  }
}

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

}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .header-inner {
    padding: 0 210px 0 20px;
  }
  .header-tel {
    width: 60px;
    height: 60px;
    right: 60px;
  }
  .header-net {
    width: 60px;
    height: 60px;
    right: 120px;
  }
  .mainvisual {
    margin: 2vh 4vmin 5vmin;
  }
  .mainvisual-catch div.copy {
    font-size: 3rem;
  }
  .mainvisual-catch div.sub-text {
    font-size: 1.5rem;
  }
  .mainvisual-catch {
    left: 5vw;
    width: calc(100% - 10vw);
  }
  .box h2.box-h2 {
    font-size: 2.8rem;
  }
  .main-news,.main-blog {
    .btn.en {
        position: initial;
    }
    .blog-type03 ul {
      grid-template-columns: repeat(1, 1fr);
      margin-bottom: 5vh;
    }
    h2.box-h2 {
      font-size: 2.8rem;
    }
    .title-type01:before {
      width: 35px;
      height: 35px;
    }
  }
  .main-time {
    padding: 40px 20px 20px;
    border-radius: 20px;
    .common-timetable .timetable__heading {
      padding-right: 0;
      font-size: 1.5rem;
    }
    .common-timetable th.bdr, .common-timetable td.bdr {
      font-size: 1.5rem;
    }
    strong {
      font-size: 1.3rem;
      font-weight: 500;
    }
  }
  .main-problem {
    .box-wrap.lg {
      border-radius: 3rem;
      padding: 9vh 4vmin 20vh;
    }
    ul:not([class]) {
      padding: 0 2vmin;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    ul:not([class]) li {
      font-size: 1.6rem;
      border-radius: 2rem;
      height: 80px;
      padding: 20px;
      }
    ul:not([class]):before, ul:not([class]):after {
      bottom: -20vh;
      height: 125px;
    }
  }
  .main-message {
    .box h2.box-h2 {
      font-size: 2.5rem;
    }
    .title-type02, .title-type04 {
      padding: 0;
    }
    .box h3.box-h3 {
      font-size: 2.2rem;
    }
  }
  .main-courses {
    .box h3.box-h3 {
      font-size: 2.2rem;
      }
    .box .copy {
      font-size: 1.6rem;
      font-weight: bold;
    }
  }
  .main-about {
    h3.box-h3.ja {
      font-size: 2.2rem;
      }
  }
  .main-faq {
    .title-type02::after {
      display: none;
    }
    .title-type02:before, .title-type02:after {
      display: none;
    }
    .box h2.box-h2 {
      font-size: 2.8rem;
      margin-bottom: 5vh;
    }
    h3.box-h3.ja {
      font-weight: 500;
    }
    .accordion-type01 ul li {
      padding: 15px 30px;
      border-radius: 3px;
    }
    .accordion-type01 ul li h3.box-h3 {
      padding: 0 20px 0 0;
      font-size: 1.8rem;
    }
    .accordion-type01 ul li h3.box-h3:after {
      font-size: 2.5rem;
      top: 0;
      right: -15px;
    }
    .accordion-type01 > ul > li {
      padding: 0;
    }
  }
  .main-blog {
    .title-type01, .title-type03 {
      padding:0;
    }
  }
  .main-contact {
    .contact-type02 .title .ja {
      font-size: 3rem;
    }
    .contact-type02 .title {
      margin: 0 auto 10px auto;
      .en {
          font-size: 1.8rem;
      }
    }
    .contact-type02 {
      padding: 40px 20px 55px;
    }
    .contact-type02 .text .tel {
      font-size: 3.2rem;
    }
    .contact-type02 .text .tel {
      justify-content: center;
    }
  }
  .footer-main .logo {
    width: 180px;
  }
  .table_qa th {
    width: 15%;
    padding: 6px;
  }
  .table_qa td {
    padding: 10px;
  }
  .table_qa tr:nth-child(2n-1) td {
    font-size: 15px;
  }
  /* Qアイコン */
  .q_icon {
    width: 42px;
    height: 42px;
    line-height: 40px;
  }
  /* Aアイコン */
  .a_icon {
    width: 42px;
    height: 42px;
    line-height: 40px;
  }
}
