/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.pc .header-logo,
.pc .footer .logo{
  width: 233px;
}
.header-nav > ul > li .en{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-feature-settings: "palt" 1;
}
.mainvisual2{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/mv-bg.png) repeat center center;
}
.swiper-pagination .swiper-pagination-bullet-active{
  background: #eb9c21;
}
.box h2.box-h2{
  font-size: 1.8rem;
}
.title-type02 span:nth-child(2){
  font-size: 4.4rem;
  opacity: 1;
  color: #009743;
  margin: 0;
}
.title-type02:before, .title-type04:before{
  width: 78px;
  height: 5px;
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/title-before.png) no-repeat center center / contain;
}
.box .btn a{
  padding: 16px 70px 16px 50px;
}
.home .blog-content h3:not([class]):after, .page-content h3:not([class]):after{
  display: none;
}
.box-wrap.sm{
  max-width: 1124px;
  padding: 0;
}

.pc .box-wrap.lg.main-greeting{
  padding: 0 25vmin;
  margin: 0 calc(50% - var(--vw) * 50) 10vh calc(50% - var(--vw) * 50);
  .image-bg-type01 .text{
    margin: -60px -3vw 0 -3vw;
  }
  .box h3.box-h3{
    font-size: 4.4rem;
  }
  .box .copy{
    font-size: 2.4rem;
  }
}

.box-wrap.lg.main-greeting{
  position: relative;
  .image-bg-type01 .text::after{
    content: '';
    position: absolute;
    top: -153px;
    left: 19px;
    width: 165px;
    height: 225px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/greeting-after1.png) no-repeat center center / contain;
  }
  .image-bg-type01 .text::before{
    content: '';
    position: absolute;
    top: -148px;
    right: 29px;
    width: 90px;
    height: 210px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/greeting-before1.png) no-repeat center center / contain;
  }
  .box h3.box-h3{
    color: #009743;
  }
  .text p{
    line-height: 1.8;
  }
}
.box-wrap.lg.main-greeting::before{
  content: '';
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  height: 480px;
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/problem-bg.png) repeat center center;
}

.pc .box-wrap.lg.main-gallery{
  position: relative;
}
.pc .box-wrap.lg.main-gallery::after{
  content: '';
  position: absolute;
  left: 0;
  top: -290px;
  width: 545px;
  height: 407px;
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/greeting-after2.png) no-repeat center center / contain;
}
.pc .box-wrap.lg.main-gallery::before{
  content: '';
  position: absolute;
  right: 0;
  top: -300px;
  width: 369px;
  height: 415px;
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/greeting-before2.png) no-repeat center center / contain;
}
.box-wrap.lg.main-gallery{
  .blog-type01 ul li .category, .blog-type04 .swiper-slide .category{
    background: #eb1829;
    font-weight: normal;
  }
  .box .image{
    width: 340px;
    height: 340px;
  }
  .box .image img{
    object-fit: cover;
  }
}

.pc .box-wrap.bg.main-problem{
  margin: 0 calc(50% - var(--vw) * 50) 0 calc(50% - var(--vw) * 50);
  padding-left: 4vmin;
  padding-right: 4vmin;
}
.box-wrap.bg.main-problem::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/problem-bg.png) repeat center center;
}
.box-wrap.bg.main-problem{
  margin-bottom: 0;
  .row .col{
    background: #fff;
    border-radius: 50px;
    padding: 50px 70px;
  }
  .row .col h3{
    font-size: 2.2rem;
    padding: 0 0 0 10px;
    margin-bottom: 10px;
  }
  .list-check-type01 > ul > li:before{
    content: '';
    width: 22px;
    height: 22px;
    top: 6px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/list-before.png) no-repeat center center / contain;
  }
  .list-check-type01 > ul > li{
    padding: 0 0 15px 25px;
    margin-bottom: 15px;
    border-bottom: 2px dashed #cecece;
  }
  p{
    margin-top: 10px;
  }
}
.box-wrap.bg.main-problem::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,100%);
  width: 520px;
  height: 60px;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/problem-bg.png) repeat center center;
}

.box-wrap.bg.main-company::before{
  background: url(/mwp/wp-content/themes/mwp-theme/assets/images/company-bg.png) repeat center center;
}
.box-wrap.bg.main-company{
  padding-top: 100px;
  color: #fff;
  .box h3.box-h3{
    position: relative;
    font-size: 4.6rem;
  }
  .box h3.box-h3 strong{
    font-size: 5.2rem;
  }
  .box h3.box-h3::before{
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translate(-350px,0);
    width: 114px;
    height: 104px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/company-title-before.png) no-repeat center center / contain;
  }
  .box h3.box-h3::after{
    content: '';
    position: absolute;
    top: 15px;
    right: 50%;
    transform: translate(350px,0);
    width: 114px;
    height: 104px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/company-title-after.png) no-repeat center center / contain;
  }
  .box .copy{
    font-size: 2.4rem;
  }
  .box p{
    line-height: 1.8;
  }
}

.box-wrap.lg.main-maintenance{
  .box.image-text-type03 .box-h3{
    font-size: 4rem;
    color: #009743;
    padding-left: 27px;
    position: relative;
  }
  .box.image-text-type03 .box-h3::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    width: 6px;
    height: 90px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/maintenance-subtitle-before.png) no-repeat center center / contain;
  }
  .box.image-text-type03 p{
    line-height: 1.8;
  }
}

.box-wrap.lg.main-menu{
  .banner-type01 ul li a span{
    font-size: 3.2rem;
  }
  .banner-type01 ul li a:after {
    font-size: 4rem;
    line-height: 1;
    bottom: 10px;
    right: 10px;
    color: #eb9c21;
  }
  .banner-type01 ul li a{
    padding: 100px 40px;
  }
  .box.banner-type01:not(:last-child){
    margin-bottom: 30px;
  }
  .box .btn{
    text-align: center;
  }
}

.box-wrap.sm.main-area{
  .image-text-type02 .image{
    min-height: 35vmax;
  }
  .image-text-type02 .text:before{
    max-height: 480px;
  }
  .image-text-type02 .text{
    padding: 0 0 0 50px;
  }
  .box.image-text-type02 .box-h3, .box.image-text-type02 .copy, .box.image-text-type02 p, .box.image-text-type02 .btn{
    max-width: 400px;
  }
  .box.image-text-type02 .box-h3{
    font-size: 3rem;
    color: #009743;
    padding-left: 27px;
    position: relative;
    white-space: nowrap;
  }
  .box.image-text-type02 .box-h3::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    width: 6px;
    height: 90px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/maintenance-subtitle-before.png) no-repeat center center / contain;
  }
}

.box-wrap.sm.main-banner{
  .image{
    max-width: 880px;
    margin: auto;
  }
}

.box-wrap.xl.main-contact{
  .title{
    position: relative;
    padding-bottom: 20px;
  }
  .title::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
    width: 78px;
    height: 5px;
    background: url(/mwp/wp-content/themes/mwp-theme/assets/images/title-before.png) no-repeat center center / contain;
  }
  .title .en{
    font-size: 1.8rem;
  }
  .contact-type01 .text .tel:before{
    color: #eb1829;
  }
}
.pc .contact-type01 .text .tel{
  font-size: 7.1rem;
}

.home .page-content{
  margin-bottom: 0;
}

.footer{
  background: #faefd9;
}
.fixed-footer .contact a{
  background: #eb9c21;
}
.fixed-footer .tel a:before{
  color: #eb1829;
}
.pagetop a{
  background: #1eabda;
  color: #fff;
}




/* 20250212 added by Fabo */

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

.page-content h3 {
  position: relative;
}
.page-content h3:not([class])::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #000;
    border-radius: 3px;
}

.btn a {
  font-weight: bold;
}

.mt-0 { margin-top: 0 !important;}
.mt-ss { margin-top: 2vh !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-ss { margin-bottom: 2vh !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;
}

body:not(.home) .page-content h3:not([class])::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--main-color);
  border-radius: 3px;
}

body:not(.home) .page-content dl dt {
  font-weight: bold;
  font-size: 120%;
}
body:not(.home) .page-content dl dd {
  margin-bottom: 1vh;
}

.box-color {
  margin: 0 0 6vh;
  padding: 35px;
  background: #eef7e5;
}
.box-color h4 {
    margin-bottom: 2vh;
}
.box-color :first-child {
  margin-top: 0 !important;
}
.box-color :last-child {
  margin-bottom: 0 !important;
}

.image-text-type02 .table-type02 table td {
  background: #fff;
}

.page-content .image-text-type01 .text {
  overflow: hidden;
}
.page-content  .list-check-type01 {
  display: flex;
  justify-content: flex-start;
}

.align-center {
  text-align: center;
}

.box-flow-list-wrap {
  position: relative;
  margin: 100px 0;
}
.box-flow-list-wrap::before {
  content: '';
  position: absolute;
  top: -43px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #aaa;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.box-flow-list-wrap::after {
  content: '';
  position: absolute;
  top: -43px;
  bottom: -52px;
  left: 50%;
  width: 2px;
  background: #aaa;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.box-flow-list-col {
  float: left;
  width: 50%;
}
.box-flow-list-col:nth-child(2) {
  padding-top: 60px;
}
.box-flow-list-item {
  position: relative;
  min-height: 240px;
  padding: 52px 60px 30px 0;
}
.box-flow-list-col:nth-child(2) .box-flow-list-item {
  padding: 52px 0 30px 60px;
}
.box-flow-list-item:last-child {
  padding-bottom: 0 !important;
}
.box-flow-list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-200%);
  width: 300%;
  border-top: 1px solid #aaa;
}
.box-flow-list-col:nth-child(2) .box-flow-list-item::before {
  right: -200%;
  left: auto;
}
.box-flow-list-title {
  margin-bottom: 15px;
  color: #009743;
  font-size: 30px;
  font-weight: bold;
}
.box-flow-list-title span {
  position: relative;
  top: -1px;
  margin-right: 15px;
}
.box-flow-list-text {
}
.box-flow-list-img {
  margin-bottom: 25px;
}

.btn-wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.btn-wrap .btn {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  margin: 0;
  padding: 0 10px 20px;
}
.btn-wrap .btn a {
  width: 100%;
  padding: 15px 10px;
  text-align: center;
}
.btn-wrap .btn a:after {
  display: none;
}
.box .btn a + a {
  margin: 10px 0 0 10px;
}

.page-content .list-flow-type01 > ul > li .text .text {
  width: auto;
}

.cw-fluid {
  position: relative;
  left: 50%;
  width: 100vw !important;
  margin-bottom: 7vh;
  text-align: center;
  transform: translateX(-50%);
}
.cw-fluid-image {
  height: 500px;
  background: #000;
}
.cw-fluid-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.cw-fluid-bg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

body:not(.home) .image-text-type01 .text :first-child {
  margin-top: 0 !important;
}

.contact-type02 .text .tel::before {
  margin: 10px 10px 0 0;
}
.contact-type02 .datetime {
  margin: 0 0 0 0 !important;
}
.contact-type02 .btn {
  margin-top: 2vh;
}


/* ======================================
2025/2/18 added by tsuji
======================================== */

/* --------------- イカロス見出しテキストのmargin --------------- */

/*見出しテキストのmargin*/
.page-content h2:not([class]),
.page-content h3:not([class]),
.page-content h4:not([class]){
	margin: var(--text-margin) 0 30px 0;
}

.box001 {
    padding: 0px 0px 20px;
    margin: 15px 0;
    border: solid 2px #009743;
}

.box0011 {
    padding: 10px 0px;
    margin: 0px ;
    background: #009743;
	color:#fff;
}

.box0012 {
    padding: 10px 20px;
    margin: 0px ;

}

.box002 {
    padding: 20px 30px;
    margin: 15px 0;
    background: #EEF7E5;
}

.box003 {
    padding: 5px 30px;
    margin: 25px 0;
    background: #EEF7E5;
    border-radius: 10px;
}

/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .btn-wrap {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -8px;
  }
  .btn-wrap .btn {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding: 0 8px 16px;
    font-size: 15px;
  }
}

.table_qa {
  width: 100%;
  margin-bottom: 30px;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}
.table_qa th {
  width: 5%;
  padding: 20px 0 20px 20px;
}
.table_qa td {
  padding: 20px 20px 20px 20px;
  vertical-align: middle;
}
.table_qa tr:nth-child(2n-1) td {
  font-size: 18px;
  font-weight: bold;
}
.table_qa tr:nth-child(2n) {
  background: #fbf6eb;
}
.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;
}


/*------------------------------------------------------------------------------
  TABLET ONLY
------------------------------------------------------------------------------*/
@media screen and (min-width: 600px) and (max-width: 1024px) {
  .box-wrap.lg.main-gallery{
    .box .image{
      width: 150px;
      height: 150px;
    }
    .box .image img{
      object-fit: cover;
    }
  }
}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .title-type02 span:nth-child(2){
    font-size: 2.8rem;
  }
  .box-wrap.lg.main-greeting {
    .image-bg-type01 .text::before{
      width: 40px;
      height: 110px;
      top: -45px;
      right: -20px;
    }
    .image-bg-type01 .text::after {
      width: 80px;
      height: 95px;
      top: -30px;
      left: -20px;
    }
  }
  .box-wrap.bg.main-problem::after{
    bottom: 1px;
  }
  .box-wrap.bg.main-company {
    .box h3.box-h3{
      font-size: 2.4rem;
    }
    .box h3.box-h3 strong{
      font-size: 2.8rem;
    }
    .box .copy{
      font-size: 1.8rem;
    }
    .box h3.box-h3::before {
      width: 60px;
      height: 60px;
      transform: translate(-180px,0);
    }
    .box h3.box-h3::after {
      width: 60px;
      height: 60px;
      transform: translate(180px,0);
    }
  }
  .box-wrap.lg.main-maintenance {
    .box.image-text-type03 .box-h3{
      font-size: 2.8rem;
    }
  }

  .box-wrap.lg.main-menu{
    .banner-type01 ul{
      gap: 30px;
    }
    .banner-type01 ul li a span{
      font-size: 2.4rem;
    }
  }

  .box-wrap.sm.main-area {
    .image-text-type02 .text:before{
      max-height: none;
      height: calc(100% + 100px);
    }
  }
  .box-wrap.lg.main-gallery{
    .box .image{
      width: 275px;
      height: 275px;
    }
    .box .image img{
      object-fit: cover;
    }
  }

  body:not(.home) .title-type02 span:nth-child(2){
    font-size: 3rem;
  }
  .box-flow-list-wrap {
    position: relative;
    margin: 80px 0;
  }
  .box-flow-list-item {
    position: relative;
    padding: 20px 20px 15px 0;
    min-height: 240px;
  }
  .box-flow-list-col:nth-child(2) .box-flow-list-item {
    padding: 20px 0 15px 20px;
  }
  .box-flow-list-title {
    margin-bottom: 10px;
    font-size: 17px;
  }
  .box-flow-list-title span {
    position: relative;
    top: -1px;
    margin-right: 10px;
    font-size: 15px;
  }
  .box-flow-list-text {
    margin-bottom: 15px;
  }
  .box-flow-list-item .btn a {
    padding: 15px;
  }
  .box-flow-list-item .btn a::after {
    display: none;
  }

  body:not(.home) .image-text-type01 .text :first-child {
    margin-top: var(--text-margin) !important;
  }

  .contact-type02 .text .tel {
    display: block;
  }
  .contact-type02 .text .tel::before {
    vertical-align: text-top;
    margin: 0 5px 0 0;
  }

}
