@charset "utf-8";
/*==========================
common
==========================*/
html {
    font-size: 62.5%
    
}

body {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #4B443E;
  background-color: white;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  height: auto;
}


div{
    margin: 0;
    padding: 0;
}


.section {
  max-width: 1200px;
}


/* 下から */

.fadeUpTrigger {
  opacity: 0;
  visibility: hidden;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
  visibility: visible;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*==========================
header
==========================*/

.open_btn {
    width: 60px;
    height: 60px;
    background: #fff; 
    border-radius: 50%;
    position: fixed; 
    top: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    cursor: pointer;
  }
  
  .open_btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #2D3D62; 
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .open_btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
  }
  .open_btn.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu_icon {
    display: flex;
  }
  
  @media screen and (max-width: 768px) {
    .open_btn {
      width: 44px;
      height: 44px;
    }
  
    .open_btn span {
      width: 19px;
    }
  }
  
  /*==========================
  nav
  ==========================*/
  /* クローズボタン */
  .close_btn {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    cursor: pointer;
  }
  
  .close_btn span {
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #2D3D62;
    border-radius: 2px;
    transition: 0.3s ease;
    top: 50%;
    left: 50%;
    transform-origin: center;
  }
  
  .close_btn span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .close_btn span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  .nav_flex {
    display: flex;
    gap: 110px;
    align-items: center;
  }
  
  .nav_menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .nav {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    transition: top 0.5s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    
  
    padding-top: 5vh;
    padding-bottom: 5vh;
  }
  
  /* 開いたときに表示される */
  .nav.open {
    top: 0;
  }
  
  .nav_logo {
    width: 25.6vw;
    height: 17vw;
    object-fit: contain;
    min-width: 155px;
  }
  
  .nav_item {
    font-size: clamp(14px, 1.38vw, 20px);
    margin-top: 45px;
  }
  
  .icon {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 100px;
  }
  
  .icon img {
    width: 2.22vw;
    height: 2.22vw;
  }
  
  /*==========================
  nav
  ==========================*/
  .nav {
    background: white;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
  }
  
  .nav.active {
    transform: translateX(0)
  }
  
  
  .openbtn{
  
  position: relative;
  background:#DBB82E;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
  }
  
  /*ボタン内側*/
  .openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background: #fff;
  }
  
  
  .openbtn span:nth-of-type(1) {
  top:15px;	
    width: 45%;
  }
  
  .openbtn span:nth-of-type(2) {
  top:23px;
    width: 35%;
  }
  
  .openbtn span:nth-of-type(3) {
  top:31px;
    width: 20%;
  }
  
  /*activeクラスが付与されると線が回転して×になる*/
  
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
  }
  
  .openbtn.active span:nth-of-type(2) {
  opacity: 0;
  }
  
  .openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
  }
  
  @media screen and (max-width: 768px) {
  
    .nav {
      align-items: flex-start;
    }
  
    .nav_flex {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 40px;
    }
  
    .nav_list {
      padding: 0;
      text-align: center;
    }
  
    .icon {
      gap: 2rem;
      margin-top: 60px;
    }
  
    .icon img {
      width: 32px;
      height: 32px;
    }
  
    .nav_item {
      margin-top: 20px;
    }
  
    .nav_item:first-of-type {
      margin-top: 70px;
    }
  
    .close_btn {
      width: 44px;
      height: 44px;
    }
    
    .close_btn span {
      width: 19px;
    }
  }
  
  @media screen and (max-width: 375px) {
    .nav_item:first-of-type {
      margin-top: 100px;
    }
  
    .nav_item {
      margin-top: 35px;
    }
  
    .icon {
      gap: 4rem;
      margin-top: 60px;
    }
  }

/*==========================
footer
==========================*/
.footer_img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.footer_img img:first-child {
  width: 100%;
  height: auto;
  display: block;
}

.footer_logo {
  position: absolute;
  top: 30%;
  left: 50%;
  /* width: 120px;  */
  transform: translate(-50%, -50%);
  width: 33.6vw;
  height: 21.25vw;
  max-width: 643px;
  max-height: 408px;
  min-width: 250px;
  min-height: 163px;
  object-fit: contain;
}

/* .footer_logo {
  margin: 0 auto;
  display: block;
  object-fit: contain;
  width: 33.6vw;
  height: 21.25vw;
  max-width: 643px;
  max-height: 408px;
  min-width: 250px;
  min-height: 163px;
} */


.footer {
    background: #2D3D62;
    padding: 5.2vw 8.3% 5.2vw;
    margin-top: -10px;
  }
  
  .vector {
    width: 100%;
    /* margin-top: -416px; */
    z-index: 10;
    position: absolute;
    /* margin-top: -376px; */
    bottom: -10px;
  }
  

  
  .footer_nav_list {
    display: flex;
    color: #FFF;
    font-size: clamp(14px,0.83vw, 16px);
    gap: 52px;
    justify-content: center;
    /* margin-top: 50px; */
    white-space: nowrap;
  }
  
  .footer_tel {
    display: flex;
    gap: 28px;
    color: #FFF;
    justify-content: center;
    margin-top: 4.2vw;
  }
  
  .footer_tel p {
    text-align: center;
    font-size: clamp(18px, 0.93vw, 25px);
    font-weight: 700;
    color: #FFF;
  }
  
  .copy_wrap {
    padding: 7px 75px;
    background: #FFF;
  }
  
  .copy_wrap p {
    font-size: 12px;
    text-align: center;
  }
  
  
  .footer_icon {
    display: flex;
    justify-content: center;
    gap: 3rem;
    /* margin-top: 50px; */
    margin-top: 2.6vw;
  }
  
  .footer_icon img {
    width: 2.34vw;
    height: 2.34vw;
    max-width: 45px;
    max-height: 45px;
    min-width: 20px;
    min-height: 20px;
  }
  

  @media screen and (max-width: 500px) {
    .footer_nav_list {
      display: none;
    }
  }

  @media screen and (max-width: 375px) {
    .footer_tel {
      margin-top: 12.2vw;
    }
  }
  
  /* @media screen and (max-width: 768px) {
  
    .footer_nav_list {
      display: none;
    }
  
    .footer_logo {
      width: 50.5vw;
      height: 20.5vw;
    }
  
    .footer_tel {
      margin-top: 50px;
    }
  
  
  } */
