/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/

.header-logo {
  width: auto;
}

.mainvisual{
  margin-bottom: 40px;
}
.mainvisual-catch .copy{
  display: flex;
  flex-flow: column;
  align-items: start;
  gap: 10px;
  & p{
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    color: #000;
  }
}

.footer{
  background: #f2f0e6;
  .logo{
    width: auto;
  }
}
.footer-main::after{
  background: #e6e4c1;
}

.fixed-footer .tel a:before{
  color: #89bc31;
}
.fixed-footer {
  background: #fff;
  .contact a{
    background: #89bc31;
  }
  .con2 {
    margin: 0 6px;
  }
  .con3 a::before{
    content:"";
    display: block;
    width: 2rem;
    height: 2rem;
    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;
  }
}



.home .page-content{

.sm{
  max-width: 1120px;
  padding: 0;
}

.title-type01 span:nth-child(2),
.title-type02 span:nth-child(2){
  color: #a0a0a0;
  opacity: 1;
}

.main-message{
  .image-bg-type01{
    text-align: center;
  }
}

.main-service{
  margin-bottom: 0;
  padding: 7vmin;
  background: url(../images/service-bg.jpg) repeat center 0;
}

.main-int{
  &::before{
    background: url(../images/int-bg.jpg) no-repeat center center / cover;
  }
  .banner-type02 {
    margin-bottom: 0;
    & ul {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      & li{
        background: #fff;
        .text,
        .text .box-h3{
          color: #000;
        }
      }
    }
  }
  .banner-type02 + .banner-type02{
    margin-top: 28px;
  }
}

.main-rel{
  &::before{
    background: url(../images/rel-bg.jpg) no-repeat center center / cover;
  }
  .list-number-type01 .box-ol{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 51px 30px;
    & li{
      &::before{
        color: #48afeb;
        font-family: "Montserrat", sans-serif;
      }
      & h3.box-h3{
        font-size: 2.6rem;
      }
    }
  }
}

.main-banner{
  .banner-type01{
    margin-bottom: 0;
    & + .banner-type01{
      margin-top: 25px;
    }
    .image{
      position: static;
    }
    .text{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      & a{
        display: flex;
        flex-flow: column;
        justify-content: center;
        text-align: left;
        height: 100%;
        &::after{
          bottom: 0;
          right: 0;
          width: 60px;
          height: 60px;
          line-height: 60px;
          text-align: center;
          background: #48afeb;
        }
        .en{
          font-size: 2rem;
          color: #48afeb;
        }
        .ja{
          font-size: 3rem;
        }
      }
    }
  }
}

.main-con{
  .contact-type01{
    .title .en{
      font-size: 2.4rem;
      color: #48afeb;
    }
    .text .btn {
      .con3 a::after{
        content:"";
        display: block;
        width: 2rem;
        height: 2rem;
        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;
      }
      & a{
        background: #89bc31;
      }
    }
  }
  .lead-type01{
    margin-bottom: 30px;
    .text{
      max-width: 900px;
    }
    .copy{
      font-size: 1.8rem;
      & strong{
        color: #89bc31;
      }
    }
  }
}

.main-message2{
  .image-bg-type02 .text{
    max-width: 820px;
    & h3{
      font-size: 4.2rem;
    }
    .copy{
      font-size: 2.2rem;
      color: #48afeb;
    }
  }
}

.blog-type03 ul li .date,
.blog-type02 ul li .date{
  color: #a0a0a0;
}

.main-blog{
  .blog-type02 ul li .category{
    background: #89bc31;
  }
}

/* home */
}

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

.header-logo{
  width: 200px;
}

.sphone-fixed-footer{
  background: #89bc31;
}

.mainvisual-catch{
  bottom: 20vh;
  & div.copy{
    font-size: 2rem;
  }
}

.home .page-content{
  padding-left: 0;
  padding-right: 0;

.main-int,
.main-rel,
.main-banner{
  padding: 8vmin 4vmin;
  .list-number-type01 .box-ol,
  .banner-type02 .box-ul{
    grid-template-columns: repeat(1, 1fr);
  }
}
.main-news,
.main-blog{
  padding: 0 4vmin;
}

.main-con{
  .contact-type01{
    .text .btn {
      flex-flow: column;
      gap: 10px;
      .con3 a::after{display: none;}
    }
  }
}

.main-message2{
  .image-bg-type02 .text{
    & h3{
      font-size: 3.2rem;
    }
    .copy{
      font-size: 2.2rem;
    }
  }
}

/* home */
}
}

/* 20250512 added by Kumagai */
.page-content h2:not([class]),
.page-content h3:not([class]),
.page-content h4:not([class]) {
  margin-bottom: 3vh;
}
.template-backpattern {
	margin: 10px 0;
	padding: 30px;
	background: #f2f0e6;
}
.contents-backpattern02 {
		margin: 10px 0;
	padding: 20px;
	background: #f2f0e6;
}
.contents-backpattern02 p {
	line-height: 35px;
	font-size: 1.1em;
}

/* 20250512 added by Fabo */
.blog-content h2:not([class]),
.blog-content h3:not([class]),
.blog-content h4:not([class]) {
  margin-bottom: 3vh;
}

/* お客様の声 */
.single-voice .contents-leftimg {
  margin-bottom: 4vh;
  text-align: center;
}

/* LINE バナー */
.banner-type01.-line span {
  display: inline-block;
  line-height: 40px;
  vertical-align: middle;
}
.banner-type01.-line .line-icon {
  display: inline-block;
  position: relative;
  width: 46px;
  height: 46px;
  margin: 4px 12px 0 0;
  background: #fff;
  -webkit-mask: url(../images/sns/line-fill.svg) no-repeat center center / contain;
  mask: url(../images/sns/line-fill.svg) no-repeat center center / contain;
}


/* gallery template */
.single-gallery .template {
  margin: 0 auto var(--box-margin) auto;
}
.single-gallery .template-text {
  overflow: hidden;
}
.single-gallery .template-img-right {
  float: right;
  margin: 0 0 0 30px;
}
.single-gallery .template-img-right :first-child {
  margin-top: 0 !important;
}
.single-gallery .template-img-right :last-child {
  margin-bottom: 0 !important;
}

.single-gallery .image-text-type01 .image {
  width: 250px;
}
.single-gallery .image-text-type01 .image :first-child {
  margin-top: 0 !important;
}
.single-gallery .image-text-type01 .image :last-child {
  margin-bottom: 0 !important;
}
.single-gallery .image-text-type01 .text {
  overflow: hidden;
}

.blog-content .table-dashed {
  width: calc(100% + 10px);
  margin: -5px -5px 25px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 5px;
}
.blog-content .table-dashed th,
.blog-content .table-dashed td {
  padding: 10px;
}
.table-dashed th {
  background: var(--main-color);
  color: #fff;
  width: 28%;
}
.table-dashed td {
  background: var(--sub-color);
}


h2.hidden-xs {
  position: relative;
  margin-bottom: 3vh;
  padding: 0 0 10px 0;
  border-bottom: var(--border-color) 2px solid;
  font-size: 4.2rem;
  font-size: 3.2rem;
}
h2.hidden-xs:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: var(--main-color);
}


/* gallery before after */
.table-ba {
  width: 100%;
  margin: 4vh 0;
}
.table-ba td {
  text-align: center;
  vertical-align: middle;
}



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

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {
  .single-gallery .template-img-right,
  .single-gallery .image-text-type01 .image {
    width: 100% !important;
    float: none;
    margin: 0 0 30px !important;
  }
  .single-gallery .template-img-right img,
  .single-gallery .image-text-type01 .image img {
    width: 100% !important;
  }
}



