/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.container{
  font-weight: bold;
}

.header{
  background: #fff;
}
.header-inner{
  padding: 0;
  justify-content: center;
}
.header-logo{
  width: auto;
}
.drawer-open{
  background: #fff;
  .bar01,
  .bar02{
    background: #000;
  }
}

.pagetop,
.side-sns{display: none;}

.mainvisual{
  margin-bottom: 10vmin;
  padding-bottom: 4vmin;
  .mainvisual-catch{
    left: 50%;
    bottom: 8vmin;
    transform: translate(-50%, 0);
    text-align: center;
    .copy{
      font-size: 4.2rem;
      line-height: 1.4;
    }
  }
  .swiper-pagination {
    position: relative;
    margin: 3vmin
  }
}

.footer{
  position: relative;
  overflow: hidden;
  background: #f1f1f1;
  .logo{
    width: auto;
  }
}

.pc .footer-main:after{
  width: 100vw;
  left: calc(600px - 52vw);
}

.home{

/* スクロールのアニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


.page-content{

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

.btn a,
.btn01 a{
  background: none;
  border: 1px solid #221816;
  border-radius: 0;
  color: #221816;
  &::after{
    color: #00b7ee;
  }
}

.title-type02,
.title-type04{
  .en{
    font-size: 4.8rem;
  }
  &::before{
    display: none;
    width: 50px;
    height: 1px;
    background: #e35424;
  }
}

.main-wel{
  max-width: 1120px;
  padding: 0 0 85px;
  text-align: center;
  &::before{
    background: linear-gradient(to right, #f1f1f1, #f1f1f1) no-repeat center 20vmin / 100% 100%;
  }
  &::after{
    content:"";
    display: none;
    height: 240px;
    position: absolute;
    top: 0;
    left: 50%;
    background: #fff;
    width: calc(var(--vw)* 100);
    transform: translateX(-50%);
    z-index: -2;
  }
  .image{
    background: url(../images/wel-bg.jpg) no-repeat center 8vmin;
    padding-bottom: 6vmin;
    margin-bottom: 6vmin;
    & img{
      width: auto;
      min-width: 660px;
    }
  }
  .text{
    position: relative;
    padding-top: 4vmin;
    background: none;
    &::before{
      content:"";
      display: block;
      width: calc(50vw + 88px);
      height: 100%;
      position: absolute;
      top: 50px;
      right: calc(50% - 88px);
      z-index: -1;
      /* background: url(../images/wel-bg.jpg) repeat center 0; */
    }
    .box-h3{
      position: absolute;
      top: -16vmin;
      left: 50%;
      width: 100%;
      transform: translateX(-50%);
      font-size: 6rem;
      font-family: "Permanent Marker", cursive;
      color: #fff01d;
    }
  }
}

.main-gal .title-type04{
  padding-bottom: 0;
  margin-bottom: 4vmin;
}
.gal-sns {
  margin-bottom: 4vmin;
}
.gal-sns ul{
  display: flex;
  justify-content: center;
  gap: 20px;
  & li{
    margin: 0;
    list-style: none;
  }
}

.main-service{
  padding-top: 80px;
  background: url(../images/service-bg.jpg) no-repeat center 0;
  .image-bg-type01 {
    max-width: 1260px;
    .text{
      margin-top: 0;
      text-align: center;
    }
  }
}

.main-blog{
  margin: 0;
  &::before{background: none;}
  &.main-blog1::before{
    background: #f1f1f1;
  }
  .blog-type01 ul{
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  .blog-type01 ul li .date{
    font-size: 1.2rem;
    color: #00b7ee;
    font-weight: normal;
  }
}

.main-message{
  .image-bg-type02 .text{
    max-width: 840px;
    color: #222;
    & h3{
      margin-bottom: 50px;
      font-size: 4.8rem;
      color: #222;
    }
  }
}

.main-area{
  max-width: 900px;
  padding: 0;
  text-align: center;
}

.main-con{
  .contact-type02{
    .title{
      text-align: center;
      color: #222;
      .en{font-size: 6rem;}
      .ja{font-size: 1.8rem;}
    }
    .text{
      color: #222;
      .tel{
        color: inherit;
      }
      .datetime{
        text-align: center;
        margin: 10px 0 4vmin;
      }
      .btn {
        display: flex;
        justify-content: center;
        align-items: flex-start;;
        gap: 20px;
        margin: 0;
        & > div{
          margin: 0;
        }
        & a{
          display: flex;
          flex-flow: column;
          align-items: center;
          gap: 0;
          background: none;
          padding: 0;
          border: none;
          line-height: 1.3;
          color: #222;
          &::after{
            display: block;
            position: static;
            order: -1;
            background: #fff01d;
            padding: 13px;
            border-radius: 50%;
            color: inherit;
            text-align: center;
            font-size: 3rem;
            margin-bottom: -2vmin;
          }
        }
        .con-btn2 a::after{
          position: static;
          content: "";
          background: #fff01d url(../images/sns/line-fill.svg) no-repeat center center / 30px 30px;
          width: 56px;
          height: 56px;
        }
        .con-btn3 a{
          &::after{
            content:"\eb8b";
            color: #fff01d;
            background: #00b7ee;
          }
        }
      }
    }
  }
}

.main-com{
  margin-bottom: 180px;
  .image-text-type01{
    position: relative;
    display: flex;
    &::before{
      content:"";
      position: absolute;
      top: 50px;
      right: calc(50% - 88px);
      display: block;
      width: 100%;
      height: 100%;
      background: #f1f1f1;
      z-index: -2;
    }
    & > div{
      float: none;
    }
    .text{
      padding-top: 30px;
      order: -1;
      & strong{
        font-size: 3.6rem;
      }
    }
  }
}

.main-gmap,
.main-gmap iframe{
  height: 450px;
}

}
/* home */
}

/* h1の英字タイトルをカスタム投稿では非表示 */
.page-title .en{
  display: none !important;
}
.page .page-title .en{
  display: block !important;
}

/* 20250519 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: 3vh;
    background: var(--sub-color);
}
.box-color :first-child {
    margin-top: 0 !important;
}
.box-color :last-child {
    margin-bottom: 0 !important;
}
.box-color h4 {
    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;
}

.table-fixed {
  width: calc(100% + 10px);
  margin: 0 -5px 25px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 5px;
}
.table-fixed th,
.table-fixed td {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}
.table-fixed th {
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
}
.table-fixed td {
  background: var(--sub-color);
}

.table_qa {
  width: 100%;
  margin-bottom: 30px;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}
.table_qa th {
  width: 5%;
  padding: 20px 10px;
}
.table_qa td {
  padding: 20px 10px;
  vertical-align: middle;
}
.table_qa tr:nth-child(2n-1) td {
  font-size: 18px;
  font-weight: bold;
}
.table_qa tr:nth-child(2n) {
  background: var(--sub-color);
}
.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-family: "Oswald", serif;
  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: var(--text-color);
  font-family: "Oswald", serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

body:not(.home) .page-content .box.row .btn a {
   width: 100%;
   padding: 18px 50px 17px 30px;
   text-align: center;
}

body:not(.home) .page-content .box .btn a {
   color: var(--text-color);
}

body:not(.home) .page-content .list-flow-type01 .image-text-type01 .image {
   width: 400px;
}

.page-id-8 .image-bg-type02 .text,
.page-id-8 .image-bg-type02 h3 {
   color: var(--text-color);
}

.form-btn input{
  color: #000;
}

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

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

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {

.header-logo,
.footer .logo{
  max-width: 40vw;
}

.mainvisual{
  overflow: visible;
  padding-bottom: 0;
  .mainvisual-catch{
    bottom: 4vmin;
    .copy{
      font-size: 2.4rem;
      line-height: 1.4;
    }
  }
}
.mainvisual, .mainvisual .swiper-slide{
  height: 80vh;
}

.home .page-content {
padding: 0;

.main-wel {
  .image-text-type01{
    display: flex;
    flex-flow: column;
  }
  .image{
    padding: 0 8vmin 12vmin;
    & img{
      min-width: auto;
      height: auto;
      object-fit: contain;
    }
  }
  .text {
    order: -1;
    &::before{display: none;}
    .box-h3 {
      top: -26vmin;
      font-size: 3.4rem;
      line-height: 1.4;
      white-space: nowrap;
    }
  }
}

.main-gal{padding: 0;}

.main-service{
  padding-bottom: 8vmin;
  background-size: cover;
  .text{
    padding-bottom: 8vmin;
  }
}

.main-blog {
  padding: 8vmin 4vmin;
  .blog-type01 ul {
      grid-template-columns: repeat(2, 1fr);
  }
}

.main-area{
  padding: 0 4vmin;
}

.main-con .contact-type02 .text  .tel {
  justify-content: center;
  color: inherit;
  & a{color: inherit;}
}
.main-com{
  margin-bottom: 8vmin;
  padding: 8vmin 4vmin;
  background: url(../images/bg.jpg) repeat center 0;
  .image-text-type01{
    text-align: center;
    flex-flow: column;
    gap: 6vmin;
    &::before{display: none;}
  }
  .box-h2{
    font-size: 4.2rem;
  }
}

.main-con .contact-type02 .text .datetime {margin-bottom: 10vw;}

.main-insta {
  padding: 8vmin 4vmin;
}

/* home */
}

  body:not(.home) .page-content .list-flow-type01 .image-text-type01 .image {
     width: 100%;
  }
}

/* 2025/07/10/Nishimoto */
@media screen and (max-width:600px) {
  /* 600pxまでの幅の場合に適応される */
  .footer {
    padding-top: 0px;
  }
}