@charset "utf-8";
html{
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body{
  width: 100%;
  overflow-x: hidden;
  background: #EEEAE6;
  margin: 0 auto;
  color: #462E2E;
  font-size: 16px;
  font-family: "Helvetica Neue", Arial, "YuGothic","Yu Gothic","Hiragino Kaku Gothic ProN", "Hiragino Sans" , Meiryo, sans-serif;
  letter-spacing: 0.14em;
  line-height: 2.0;
  /* overflow-x: hidden; */
  /* font-size: clamp(1.4rem, 1.33rem + 0.35vw, 1.6rem); */
  font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);   
  font-size: clamp(1.3rem, 1.238rem + 0.31vw, 1.6rem);
  animation: fadeIn 0.6s ease-in-out forwards;
}
@keyframes fadeIn {
	0% { opacity: 0}
	100% { opacity: 1}
}

img{
  width: 100%;
}
em{
  font-style: normal;
}
.grecaptcha-badge { visibility: hidden; }

/* ========================
        HEADER 共通
======================== */
/* header  */
header{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 10vw;
  @media (max-width: 1680px) {
    gap: 0 5vw;
  }
  @media (max-width: 1240px) {
    padding-left: 9vw;
  }
  @media (max-width: 980px) {
    padding-left: 0;
    margin: 2em 0 0;
    gap: 4em 0;
  }
  @media (max-width: 768px) {
    margin: 1.5em 0 0;
    gap: 3em;
  }
  h1.logo{
    width: 300px;
    @media (max-width: 1680px) {
      width: min(10vw,300px);
    }
    @media (max-width: 980px) {
      width: clamp(16vw,28vw,150px);
    }
    @media (max-width: 640px) {
      width: min(50vw, 180px);
    }
    
    
  } /* //h1.logo */

  /* hNav */
  .hNav{
    width: auto;
    padding: 4em 4em 4em 0;
    @media (max-width: 1480px) {
      padding: 4em 1em 4em 0;
    } 
    @media (max-width: 1240px) {
      padding: 3em 1em 3em 0;
    }
    @media (max-width: 980px) {
      display: none;
    }
    ul{
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 2em;
      @media (max-width: 1480px) {
        gap: 1.5em;
      } 
      @media (max-width: 1100px) {
        gap: 1.0em;
      }
      li{       
        a{
          font-weight: 500;
          position: relative;
          padding-bottom: 1.2em;
          @media (max-width: 1100px) {
            letter-spacing: 0.01em;
          }
          &::after{
            content: "";
            width: 0%;
            height: 2px;
            border-radius: 3px;
            background: #C68337;
            position: absolute;
            bottom: 0;
            left: 50%;
            right: 50%;
            transform: translateX(-50%);
            transition: width 0.8s;
          }
          &:hover{
            &::after{
              width: 100%;
              transition: width 0.8s;
            }
          }
          &.on{
            &::after{
              width: 100%;
            }
          }
          @media (max-width: 1480px) {
            font-size: 1.5rem;
          }
          @media (max-width: 980px) { 
            opacity: 0;
            transition: 0.5s;
          }
        }
        &.btnLink{
          a{
            padding: 0.4em 1.2em;
            &::after{
              display: none;
            }
          }
          @media (max-width: 1240px) {
            a{
              font-size: 80%;
            }
          }
          @media (max-width: 1180px) {
            a{
              /* border-radius: 0px 0 0px 3px; */
              padding: 0.2em 1.0em 0.2em 1.2em;
            }
          }
          @media (max-width: 768px) {
            a{
              /* border-radius: 0px 0 0px 3px; */
              padding: 0.2em 1.0em 0.2em 1.2em;
            }
          }
        }
      }      
    }
  }

}/* //header */

/* globalNav */
.globalNav{
  width: 100%;
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 8080;
  margin: 0;  
  .wrap_nav{
    @media (max-width: 1480px) { 
      font-size: 1.5rem;
    }
    .menu-btn{
      display: none;
    }
    nav{
      /* 格納メニュー */
      position: fixed;
      top: 0;
      right: -100vw;
      z-index: -1;
      width: 100vw;
      height: 100vh;
      background: rgba(255, 255, 255, 0.0);
      transition: opacity 0.3s ease-in-out 0.1s;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 3em 0;
      @media (max-width: 480px) { 
        justify-content: flex-start;
      }   
      .menu_logo{
        /* display: none; */
        width: 8em;
        margin: 0 auto 40px;
        @media (max-width: 980px) {
          display: block;
        }
        @media (max-width: 768px) {
          width: 6em;
        }
        @media (max-width: 480px) {
          width: 8em;
          margin: 0 auto 40px;
        }
      }
      ul{
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 1.5em;
        li{       
          a{
            font-weight: 500;
            position: relative;
            padding-bottom: 1em;
            @media (max-width: 980px) { 
              opacity: 0;
              transition: 0.5s;
            }
            &::after{
              content: "";
              width: 0%;
              height: 2px;
              border-radius: 3px;
              background: #C68337;
              position: absolute;
              bottom: 0;
              left: 50%;
              right: 50%;
              transform: translateX(-50%);
              transition: width 0.8s;
            }
            &:hover{
              &::after{
                width: 100%;
                transition: width 0.8s;
              }
            }
            &.on{
              &::after{
                width: 100%;
              }
            }
          }
        }      
      }
    }
     
  }/* /wrap_nav */
}/* // globalNav */ 

/* ハンバーガーメニュー　ボタン設定 */
.menu-btn {
  display: none;
}  
.menu-icon {
  display: inline-block;
  position: fixed;

  top: 4.5em;
  left: 4.5em;

  height: auto;
  width: auto;
  z-index: 9000;
  cursor: pointer;
  opacity: 1;
  @media (max-width: 1680px) {
    top: 2.5em;
    left: 2.5em;
  }
  @media (max-width: 1240px) {
    top: 2em;
    left: 2em;
  }
  @media (max-width: 640px) {
    left: 5vw;
  }
  @media (max-width: 580px) {
    top: 1.5em;
    left: 1.5em;
  }
  em{
    display: none;
    position: absolute;
    font-size: 0.9rem;
    bottom: -2.5em;
    @media (max-width: 1480px) {
      display: none;
    }
  }
}
.wrap_navicon{
  height: 1.5em;
  width: 2em;
  display: block;
  @media (max-width: 580px) {
    height: 1.5em;
    width: 2em;
  }
  .navicon {
    background: #462E2E;
    display: block;
    height: calc(1px * 1.5);
    height: 1px;
    width: 2em;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    bottom: 50%;
    right: 50%;
    left: 50%;
    @media (max-width: 580px) {
      width: 2em;
    }
    transform: translate(-50%,-50%);
    transition: background-color 0.1s;
    &:before,
    &:after {
      content: "";
      display: block;
      height: 100%;
      height: calc(1px * 1.5);
      height: 1px;
      width: 100%;
      position: absolute;
      background:  #462E2E;
      border-radius: 3px;
      transition: 0.2s;
    }
    &:before {
      top: calc(1.5em / 2);
    }
    &:after {
      bottom: calc(1.5em / 2);
    }
    @media (max-width: 580px) {
      &:before {
        top: calc(1.5em / 2);
      }
      &:after {
        bottom: calc(1.5em / 2);
      }
    }
  } 
}
/* .menu-btn Animation */
.menu-btn{
  &:checked{
    ~ .menu-icon .navicon:before {
      transform: rotate(-45deg);
      background: #462E2E;
      transition: 0.3s ease-in-out 0.1s;
    }
    ~ .menu-icon .navicon:after {
      transform: rotate(45deg);
      background: #462E2E;
      transition: 0.3s ease-in-out 0.1s;
    }
    ~ .menu-icon:not(.steps) .navicon:before {
      top: 0;
    }
    ~ .menu-icon:not(.steps) .navicon:after {
      bottom: 0;
    }
    ~ .menu-icon .navicon {
      background: transparent;
      transition: 0.1s;
    }
  }
}
  
/* .menu-btn:checked */
.menu-btn:checked ~ .gNav {
  background: rgba(255, 255, 255, 0.95);
  /* transition: background 0.3s ease-in-out 0.1s; */
  overflow-y: auto;
  right: 0;
  height: 100vh;

}
.menu-btn:checked ~ .gNav a,
.menu-btn:checked ~ .gNav li {
  opacity: 1;
  transition: opacity 0.4s ease-in-out 0.2s;
}
/* // ハンバーガーメニュー　ボタン */ 




/* ========================
          MAIN  
======================== */

/* ------------------------------------------
      mainContents [home pages　共通]
------------------------------------------ */

/* btnLink */
.btnLink{
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  a{
    padding: 0.6em 2em;
    border-radius: 30px;
    border: 1px solid #462E2E;
    transition: 0.5s;
    font-size: clamp(1.35rem, 1.274rem + 0.38vw, 1.56rem);
    @media (max-width: 580px) { 
      padding: 0.5em 1.5em;
    }
    &:hover{
      background: #462E2E;
      color: #FFF;
      transition: 0.5s;
    }
  }
  &.bgWh{
    a{
      background: #FFF;
      color: #462E2E;
      &:hover{
        background: #462E2E;
        color: #FFF;
      }
    }
  }
  &.bgBr{
    a{
      background: #462E2E;
      color: #FFF;
      &:hover{
        background: #FFF;
        color: #462E2E;
      }
    }
  }
}

/* btnMore_arrow */
.btnMore_arrow{
  text-align: center;
  padding-bottom: 1em;
  a{
    position: relative;
    padding-right: 1.5em;
    display: inline-block;
    font-size: clamp(1.25rem, 1.137rem + 0.56vw, 1.56rem);
    &::after{
      content: "";
      background: url(/assets/img/arrow_s01.svg) no-repeat 0 0;
      background-size: 100%;
      width: calc(13px * 1.1);
      height: calc(11px * 1.1);
      position: absolute;
      right: 0;
      top: 50%;
      bottom: 50%;
      transform: translate(0, -50%);
      transition: 0.5s;
    }
    &:hover:after{
      transition: 0.5s;
      transform: translate(0.3em, -50%);
    }
    @media (max-width: 768px) { 
      padding: 0.5em 2.6em 0.5em 1.5em;
      /* background: rgba(255, 255, 255, 0.55); */
      border-radius: 3px;
      &::after{
        transform: translate(-0.8em, -50%);
      }
    }
  }
  &.bgWh{
    a{
      background: rgba(255, 255, 255, 1);
      padding: 0.6em 2.6em 0.6em 1.5em;
      border-radius: 3px;
      &::after{
        transform: translate(-0.8em, -50%);
      }
    }
  }
}


/* ========================
        FOOTER  
======================== */
footer{
  width: 100%;
  padding: 0 4em;
  margin-top: 5em;
  .inner{
    width: min(100%,1800px);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px 10px 0 0;
    padding: 4em 2em 3em 4em;
    margin: 0 auto;
    display: flex;
    gap: 5em 4em;
    .wrapContent{
      width: min(35%,500px);
      display: flex;
      align-items: center;
      gap: 3em;
      .wrapLogo{
        width: min(35%, 150px);
        display: flex;
        flex-direction: column;
        gap: 2em 0;
        .copyright{
          width: 100%;
          text-align: center;
          font-size: 0.9rem;
          letter-spacing: 0.08em;
        }
        @media (max-width: 1480px) {
          display: contents;
          h2{
            order: 1;
            width: min(35%, 150px);
          }
          .copyright{
            order: 3;
            width: 100%;
          }
        }
        @media (max-width: 980px) {
          h2{
            width: min(65%, 120px);
          }
        }
      }
      address{
        flex: 1;
        .address{
          display: flex;
          flex-direction: column;
          font-size: 1.4rem;
          margin-bottom: 0.5em;
          span{
            font-size: 1.3rem;
          }
          a{
            position: relative;
            padding-left: 1.4em;
            &::before{
              content: "";
              width: 1em;
              height: 1.1em;
              background: url(/assets/img/map.svg) 0 0 no-repeat;
              position: absolute;
              left: 0;
              top: 0.35em;
            }
          }
        }
        .tel{
          position: relative;
          padding-left: 1.3em;
          font-size: 1.4rem;
          &::before{
            content: "";
            width: 0.8em;
            height: 0.8em;
            background: url(/assets/img/tel.svg) 0 0 no-repeat;
            position: absolute;
            left: 0;
            top: 50%;
            bottom: 50%;
            transform: translateY(-50%);
          }
        }
        @media (max-width: 1480px) {
          flex: initial;
          order: 2;
        }
        @media (max-width: 980px) {
          .address{
            font-size: 1.3rem;
            span{
              font-size: 1.2rem;
            }
          } 
        }
      }
    }
     
    .wrapNav{
      display: flex;
      gap: 1em;
      @media (max-width: 1480px) {
        justify-content: center;
      }
      ul{
        li{
          position: relative;
          padding: 0.2em 0.8em 0.3em 1.5em;
          font-size: 1.4rem;
          border-left: 1px solid rgba(70, 46, 46, 0.4);
        }
      &.footer_menu{
      column-count: 3;    
        @media (max-width: 1480px) and (min-width: 1241px){
          column-count: 4;  
        } 
      }
      &.ex_link{
        padding: 0 2em 0 2em;
        column-count: 1;
        a{
          font-size: 1.4rem;
        }           
      }  
      }
    }      
  }
  @media (max-width: 1680px) {
    .inner{
      gap: 5em 2em;
    }
  }
  @media (max-width: 1480px) {
    .inner{
      padding:2em 2em 2em ;
      flex-direction: column-reverse;
      gap: 3em 0;
      .wrapContent{
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2em 3em;
      }
    }    
  }
  @media (max-width: 1240px) {
    padding: 0 3em;
  }
  @media (max-width: 980px) {
    padding: 0 5vw;
    margin-top: 4em;
    .inner{
      padding: 1.5em 2em 1em;
      .wrapContent{
        width: 100%;
        gap: 20px;
        .wrapLogo{
          order: 2;
        }
        address{
          order: 1;
        }
      }
      .wrapNav,ul{
        display: none;
      }
    }
  }
  @media (max-width: 580px) {
    padding: 0 3vw;
    margin-top: 3em;
  }
  @media (max-width: 480px) {
    .inner{
      padding: 1.2em 1em 1em;
      border-radius: 20px 20px 0 0;
      .wrapContent{
        flex-direction: column;
        gap: 15px 0;
        .wrapLogo{
          order: 2;
          text-align: center;
          img{
            width: 80%;
          }
        }
      }
    }
  }

}


/* スライドイン */
.slidein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1s;
  &.slidein-left{
      transform: translate(-8%,0);
  }
  &.slidein-bottom{
      transform: translate(0,5%);
  }
  &.scrollin{
    transform: translate(0, 0)!important;
    opacity: 1!important;
  }
}
/* フェードイン */
.fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
  &.fadein-left{
      transform: translate(-10px,0);
  }
  &.fadein-right{
      transform: translate(10px,0);
  }
  &.fadein-up{
      transform: translate(0,-10px);
  }
  &.fadein-bottom{
      transform: translate(0,10px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}
