/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
body{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/main-bg1.png) repeat center center;
}
.header{
  background: #fff;
}
.pc .header-logo,
.pc .footer .logo{
  width: 181px;
}
.pc .header-logo{
  margin-left: 15px;
}
.header-nav{
  margin: 0 45px 0 auto;
}
.header-nav > ul > li{
  font-size: 1.7rem;
  margin: 0 15px;
}

.mainvisual2{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/main-bg1.png) repeat center center;
}
.pc .mainvisual2 .swiper-slide{
  max-width: 750px;
}
.mainvisual2 .swiper-slide{
  border-radius: 40px;
}

.box-wrap.sm{
  max-width: 1124px;
  padding: 0;
}

.title-type02:before, .title-type04:before{
  display: none;
}
.title-type01 span:nth-child(2), .title-type02 span:nth-child(2), .title-type03 span:nth-child(2), .title-type04 span:nth-child(2){
  color: #369fa9;
  opacity: 1;
}
.title-type01, .title-type02, .title-type03, .title-type04{
  margin-bottom: 0;
}

.box-wrap.sm.main-news{
  .title-text-type01 h2.box-h2{
    writing-mode: inherit;
  }
  .title-text-type01 h2 .en{
    color: #369fa9;
    opacity: 1;
    margin-top: 10px;
  }
  .box.title-text-type01.left .text{
    margin-top: 20px;
  }
  .box.blog-type03 .text{
    padding-bottom: 40px;
    border-bottom: 1px solid #d9d9d9;
  }
}

.box-wrap.sm.main-course{
  .col h4{
    font-family: "Kaisei Opti", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.04em;
    font-size: 2.2rem;
  }
  .box.row.row-3{
    position: relative;
  }
  .box.row.row-3::before{
    content: '';
    position: absolute;
    top: -110px;
    left: -175px;
    width: 297px;
    height: 236px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mizutama2.png) no-repeat center center / contain;
  }
  .box.row.row-3::after{
    content: '';
    position: absolute;
    top: -130px;
    right: -110px;
    width: 192px;
    height: 93px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/hata.png) no-repeat center center / contain;
  }
}

.box-wrap.sm.main-greeting{
  .box-h3 .en{
    font-size: 1.8rem;
    color: #369fa9;
    margin-left: 10px;
  }
  .box .copy{
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.8;
  }
  .text p{
    line-height: 2;
  }
  .row .col:nth-child(1){
    max-width: 600px;
    position: relative;
  }
  .row .col:nth-child(1)::before{
    content: '';
    position: absolute;
    top: 10px;
    left: -310px;
    width: 275px;
    height: 299px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mizutama3.png) no-repeat center center / contain;
  }
  .row .col:nth-child(2){
    max-width: 450px;
    margin-left: auto;
    position: relative;
  }
  .row .col:nth-child(2) p{
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #369fa9;
  }
  .row .col:nth-child(2)::before{
    content: '';
    position: absolute;
    top: 0;
    right: -245px;
    width: 375px;
    height: 304px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mizutama1.png) no-repeat center center / contain;
  }
}

.box-wrap.bg.main-point{
  .box{
    position: relative;
    z-index: 2;
  }
  .list-number-type01 ol li:before{
    font-size: 5rem;
    font-family: "Kaisei Opti", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.04em;
    color: #369fa9;
    font-weight: bold;
    top: -45px;
  }
  .box .copy{
    font-family: "Kaisei Opti", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.04em;
    font-weight: normal;
    margin-bottom: 10px;
  }
  .list-number-type01 ol li .text{
    padding: 2vmin 3vmin 3vmin;
  }
  .list-number-type01 ol li .text p{
    margin-top: 0;
    line-height: 1.8;
  }
  .box.list-number-type01{
    position: relative;
  }
  .box.list-number-type01::after{
    content: '';
    position: absolute;
    top: -60px;
    right: -180px;
    width: 271px;
    height: 184px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/dot.png) no-repeat center center / contain;
    z-index: -1;
  }
  .box.list-number-type01::before{
    content: '';
    position: absolute;
    bottom: -70px;
    left: -310px;
    width: 387px;
    height: 316px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mizutama4.png) no-repeat center center / contain;
  }
}
.box-wrap.bg.main-point::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/main-bg2.png) repeat center center;
  z-index: 1;
}

.box-wrap.sm.main-line{
  .box h3.box-h3{
    font-size: 2.8rem;
  }
  .box .copy{
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 50px;
  }
  .box .btn{
    text-align: center;
  }
}
.pc .box-wrap.bg.main-items{
  .box.image-text-type03.right .text{
    padding: 120px 0 120px 55px;
  }
}
.box-wrap.bg.main-items{
  .box{
    position: relative;
    z-index: 2;
  }
  .box h2.box-h2{
    line-height: 1.3;
  }
  .image-text-type03 .image{
    border-radius: 30px;
  }
  .image-text-type03 .text:before{
    background: #edf9fa;
    border-radius: 30px;
  }
  .box.image-text-type03 .box-h3{
    font-size: 3rem;
  }
  .box.image-text-type03.left{
    position: relative;
    margin-bottom: 30px;
  }
  .box.image-text-type03.left::before{
    content: '';
    position: absolute;
    top: 0;
    right: -160px;
    width: 230px;
    height: 304px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mizutama1.png) no-repeat center center / contain;
  }
  .box.image-text-type03.right{
    position: relative;
  }
  .box.image-text-type03.right::before{
    content: '';
    position: absolute;
    bottom: -150px;
    left: -250px;
    width: 297px;
    height: 236px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mizutama2.png) no-repeat center center / contain;
  }
  .box.image-text-type03.right .text p{
    margin-top: 0;
    margin-bottom: 0;
  }
  .list-check-type01{
    margin-bottom: 30px;
  }
  .list-check-type01 > ul > li:before{
    content: '\e834';
  }
  .box h3.box-h3{
    text-align: center;
  }
  .box .copy{
    text-align: center;
    font-weight: normal;
  }
}
.box-wrap.bg.main-items::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/main-bg2.png) repeat center center;
  z-index: 1;
}

.box-wrap.sm.main-column{
  .box-ul{
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2,1fr);
  }
  .blog-type02 ul li p{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-type02 ul li h3.box-h3{
    font-weight: normal;
  }
}

.box-wrap.xl.main-message{
  .image-bg-type02 .text{
    padding: 80px 0;
    color: #333333;
    max-width: 800px;
  }
  .image-bg-type02 .text h3{
    color: #333333;
  }
  .image-bg-type02 .text p{
    line-height: 2;
  }
}
.pc .box-wrap.xl.main-message{
  .image-bg-type02 .text h3{
    font-size: 4.2rem;
  }
  .box .copy{
    font-size: 2.8rem;
    font-weight: normal;
  }
}

.footer .about{
  font-size: 1.5rem;
}
.fixed-footer .tel a{
  font-size: 2.6rem;
}
.fixed-footer .contact a{
  font-weight: normal;
  font-size: 1.6rem;
}
.fixed-footer-line{
  margin-left: 10px;
}
.fixed-footer .contact.fixed-footer-line a:before{
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url(../images/sns/line-fill.svg) no-repeat center center / contain;
  -webkit-mask: url(../images/sns/line-fill.svg) no-repeat center center /
    contain;
}
.sphone-fixed-footer ul li.contact.sphone-fixed-footer-line a:before{
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  mask: url(../images/sns/line-fill.svg) no-repeat center center / contain;
  -webkit-mask: url(../images/sns/line-fill.svg) no-repeat center center /
    contain;
}


/* 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;
  font-family: 'Kaisei Opti', serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.box-color {
  margin: 0 0 6vh;
  padding: 4vh;
  background: var(--sub-color);
  border-radius: 15px;
}
.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;
}

body:not(.home) .image-text-type02 .image {
  z-index: 2;
}
body:not(.home) .image-text-type02 .text {
  z-index: 1;
}

body:not(.home) .image-bg-type01 .image,
body:not(.home) .image-text-type02 .image,
body:not(.home) .image-text-type03 .image {
  border-radius: 30px;
}

body:not(.home) .image-bg-type01 .text {
  padding: 60px;
  border-radius: 30px;
}
body:not(.home) .image-text-type03 .text:before {
  border-radius: 30px;
}

body:not(.home) .list-flow-type01:after {
  z-index: 0;
}
body:not(.home) .list-flow-type01 > ul > li .text {
  z-index: 1;
}

body:not(.home) .contact-type02 .image {
  z-index: 0;
}

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

.radius {
  border-radius: 15px;
}

.sp-header-logo,
.sp-logo{
  display: none;
}


/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .footer-main .logo{
    display: none;
  }
  .header-logo{
    display: none;
  }
  .sp-header-logo,
  .sp-logo{
    display: block !important;
  }
  .sp-header-logo{
    width: 200px;
  }
}

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

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .header-logo{
    width: 120px;
  }
  .box-wrap.sm.main-course{
    .row .col{
      text-align: center;
    }
  }
  .box-wrap.sm.main-greeting{
    .box h3.box-h3{
      font-size: 3.2rem;
    }
  }
  .box-wrap.sm.main-line {
    .box h3.box-h3{
      font-size: 2.2rem;
    }
  }
  .image-text-type03 .text, .image-text-type03.right .text{
    background: #edf9fa;
    border-radius: 30px;
  }
  .box-wrap.xl.main-message {
    .image-bg-type02 .text{
      padding: 60px 4vmin;
    }
  }

  body:not(.home) .image-bg-type01 .text {
    padding: 30px;
  }
  .sp-header-logo{
    width: 200px;
  }
}
