/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.home {
  .page-content {
    margin: 0 auto;
  }
}
.header-logo {
  position: absolute;
  top: 0;
  left: 0;
}
.header-inner {
  padding: 0 120px 0 200px;
}
.mainvisual .swiper-slide img {
  margin-left: 157px;
}
.mainvisual-catch {
  color: var(--main-color);
  left: 75px;
  bottom: 20vh;
}
.mainvisual-catch div.copy {
  font-size: 5.6rem;
}
.mainvisual-catch div.sub-text {
  font-size: 3.2rem;
}

.main-news {
  margin-bottom: 8vh;
  .blog-type03 ul li {
    border-bottom: #d9d9d9 1px solid;
  }
  .blog-type03 ul li:last-child {
    border-bottom: #d9d9d9 1px solid;
    padding: 0 0 20px 0;
  }
}
.main-about {
  .image-text-type03 .image img {
    object-fit: unset;
    height: auto;
  }
  .box h3.box-h3 {
    font-size: 2.2rem;
  }
  .box.image-text-type03 .box-h3, .box.image-text-type03 .copy, .box.image-text-type03 p, .box.image-text-type03 .btn {
    max-width: 670px;
  }
  .main-btn {
    display: flex;
    gap: 15px;
    margin: 0 auto;
    max-width: 670px;
  }
  .box .btn a {
    padding: 9px 70px 11px 40px;
  }
  .box.image-text-type03 .btn {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
}
.main-menu {
  margin-bottom: 8vh;
  position: relative;
  .main-menu-banner {
    position: relative;
    padding: 0 0 var(--box-margin) 0;
  }
  .main-menu-banner:after {
    content: "";
    position: absolute;
    top: 112px;
    left: 50%;
    width: 100vw;
    height: calc(100% - 112px);
    background: #4c83c1;
    z-index: -1;
    transform: translateX(-50%);
  }
  .box h3.box-h3 {
    font-size: 2.8rem;
  }
  .banner-type02 ul li .text h3 {
    color: var(--main-color);
    text-align: center;
  }
  .banner-type02 ul li {
    background: #fff;
  }
  .banner-type02 ul li .text {
    color: #444444;
    padding: 4vmin 4vmin 7vmin;
  }
  .banner-type02 ul li .text .btn a {
    background: var(--main-color);
  }
  .box, .box-wrap {
    margin: 0 auto 40px auto;
  }
}
.main-menu::after {
  content: "";
  position: absolute;
  transform: translate(0);
  display: block;
  width: 328px;
  height: 394px;
  top: 410px;
  right: -337px;
  background: url(../images/bgicon.png) no-repeat center center / contain;
}
.main-reason {
  margin-bottom: 8vh;
  .list-number-type02 ol li:before {
    font-size: 6rem;
    border-bottom: #00aad4 3px solid;
    color:#00aad4;
    font-family: "Jost", sans-serif;
    font-weight: normal;
    line-height: 1.5;
  }
  .box h3.box-h3 {
    font-size: 2.6rem;
  }
}
.main-about2 {
  margin-bottom: 8vh;
  .banner-type02 ul li .text h3 {
    color: var(--text-color);
    text-align: center;
  }
  .banner-type02 ul li .text {
    background: var(--sub-color);
    color: var(--text-color);
  }
  .banner-type02 ul li {
    background: var(--sub-color);
    box-shadow: none;
  }
  .box h3.box-h3 {
    font-size: 2.8rem;
  }
  .box .copy {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
  }
  .banner-type02 ul li .text .btn a {
    background: var(--main-color);
  }
}
.main-banner {
  margin-bottom: 10vh;
  .banner-type01 ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
  }
  .banner-type01 ul li .image img {
    border-radius: 4px;
  }
  .banner-type01 ul li a {
    padding: 100px 15px;
  }
  .banner-type01 ul li a .ja {
    letter-spacing: -0.2px;
  }
  .banner-type01 ul li a .en {
    font-size: 1.8rem;
  }
  .box .btn {
    text-align: center;
  }
}
.main-free {
  margin-bottom: 8vh;
  .banner-type01 ul li a span {
    font-size: 3.2rem;
  }
  .banner-type01 ul li a .en {
    font-size: 1.8rem;
  }
}
.main-blog {
  margin-bottom: 8vh;
  .box .image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }
}
.main-staff {
  .image-text-type03 .text:before {
    border-radius: 20px;
  }
  .image-text-type03 .image img {
    border-radius: 20px;
  }
  .box h3.box-h3 {
    margin: 0 0 2vh 0;
    font-size: 3rem;
  }
}
.main-contact {
  .contact-type01 .title {
    font-size: 3.7rem;
    line-height: 1.7;
  }
  .contact-type01 .title .en{
    font-size: 2rem;
  }
  .contact-type01 .text .tel {
    font-size: 7.1rem;
    font-weight: normal;
    margin-top: -26px;
  }
  .contact-type01 .text .btn div a, .contact-type02 .text .btn div a {
    padding: 10px 36px 9px 62px;
  }
}
.footer {
  background: #4c83c1;
  color: #fff;
}
.footer-main .nav ul li a {
  color: #fff;
}
.footer-main .about {
  font-size: 1.5rem;
  line-height: 1.5;
}
.footer-main .about img {
  margin-bottom: 15px;
}
.footer-main .logo {
  display: none;
}
.footer-main:after {
  background: #d9d9d9;
}
.fixed-footer .tel a {
  font-size: 2.6rem;
  font-weight: normal;
}
.fixed-footer .contact a {
  padding: 5px 28px 5px 25px;
  font-size: 1.6rem;
  font-weight: normal;
  background: var(--main-color);
}
.fixed-footer p {
  font-weight: 500;
}
.fixed-footer {
  background: #fefefe;
}
.side-sns {
  right: 23px;
}
.side-sns ul{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-sns li {
  list-style: none;
}
.home {
  .title-type02, .title-type04 {
    padding: 0 0 25px 0;
  }
  .box h2.box-h2 {
    font-size: 3.7rem;
  }
  .title-type02 span:nth-child(2), .title-type04 span:nth-child(2) {
    margin: 1em 0 0 0;
  }
  .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;
    color: var(--main-color);
    font-weight: normal;
  }
  .title-type02:before, .title-type04:before {
    width: 100px;
    background: linear-gradient(to right, #31c2f1 50%, #4f8ed5 50%);
  }
  .blog-type01 ul li .category, .blog-type04 .swiper-slide .category {
    font-weight: normal;
  }
}
@media screen and (max-width: 1280px) {
  .main-about {
    .main-btn {
        flex-direction: column;
    }
  }
  .main-banner {
    .banner-type01 ul {
      grid-template-columns: repeat(2, 1fr);
    }
    .banner-type01 ul li a {
        padding: 50px 15px;
    }
    .banner-type01 ul li a span {
      font-size: 2.3rem;
    }
    .banner-type01 ul li a .en {
      font-size: 1.5rem;
    }
  }
}


iframe {
  width: 600px;
}

/* 20250113 added by Fabo */
.mt-s { margin-top: 4vh !important;}
.mt-m { margin-top: 7vh !important;}
.mt-l { margin-top: 10vh !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;
}

.mt-0 { margin-top: 0 !important;}
.mb-0 { margin-bottom: 0 !important;}
.page-content .image-text-type01 .text {
overflow: hidden;
}

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

.box-color {
    margin: 0 0 6vh;
    padding: 35px;
    background: var(--sub-color);
    border-radius: 10px;
}
.box-color :first-child {
    margin-top: 0 !important;
}
.box-color :last-child {
    margin-bottom: 0 !important;
}

.table-fixed {
    margin-bottom: 25px;
    table-layout: fixed;
    width: 100%;
}
.table-fixed th,
.table-fixed td {
    padding: 12px 15px;
    border: 3px solid #fff;
    text-align: center;
    vertical-align: middle;
}
.table-fixed th {
    color: #fff;
    background: var(--main-color);
}
.table-fixed td {
    background: var(--sub-color);
}

.list-check-type01{
    justify-content: left;
}

.map-wrap iframe {
    width: 100%;
    height: 450px;
    vertical-align: top;
}



/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
}
@media screen and (max-width: 700px) {
  .mainvisual .swiper-slide img {
    margin-left: 9vw;
  }
  .mainvisual-catch {
    left: 3vw;
  }
  .mainvisual-catch div.copy {
    font-size: 4rem;
  }
  .mainvisual-catch div.sub-text {
    font-size: 2.5rem;
  }
  .main-banner {
    .banner-type01 ul {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  .main-menu {
    .banner-type02 ul {
      flex-direction: column;
    }
  }
  .main-reason {
    .list-number-type02 ol li:before {
        font-size: 4rem;
    }
  }
  .main-contact {
    .contact-type01 .text .tel {
        font-size: 5.6rem;
        font-weight: normal;
        margin-top: -26px;
    }
  }
  .main-about2 {
    .banner-type02 ul {
      flex-direction: column;
    }
  }
}

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

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .header-logo {
    width: 115px;
}
  .side-sns {
    display: none;
  }
  .mainvisual-catch {
    color: var(--main-color);
    bottom: 50%;
    left: 10vw;
  }
  .mainvisual .swiper-slide img {
    margin-left: 0;
  }
  .main-about {
    .box .btn a {
        padding: 7px 60px 9px 40px;
    }
  }
  .main-menu {
    .box h3.box-h3 {
      font-size: 2.2rem;
    }
  }
  .main-reason {
    .box h3.box-h3 {
      font-size: 2.2rem;
    }
  }
  .main-about {
    .box h3.box-h3 {
      font-size: 2.2rem;
    }
  }
  .main-free {
    .banner-type01 ul li a {
      padding: 30px 25px;
    }
    .banner-type01 ul li a span {
      font-size: 2.5rem;
    }
    .banner-type01 ul li a .en {
      font-size: 1.5rem;
    }
    .image-text-type03 .text, .image-text-type03.right .text {
      border-radius: 20px;
    }
  }
  .main-staff {
    .box h3.box-h3 {
      font-size: 2.5rem;
    }
  }
  .main-contact {
    .contact-type01 .text .tel {
        font-size: 3.2rem;
    }
    .contact-type01 .text .btn div a {
      padding: 12px 20px;
  }
  }
  .home {
    .box h2.box-h2 {
      margin: 0;
      font-size: 2.8rem;
    }
    .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.6rem;
    }
  }

iframe {
  width: 100%;
}
.map-wrap iframe {
    width: 100%;
    height: 300px;
    vertical-align: top;
}


}

