@charset "utf-8";
/*
.header.UpMove{
animation: UpAnime 0.5s forwards;
}

.header.DownMove{
animation: DownAnime 0.5s forwards;
}
@keyframes UpAnime{
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(-100px);
}
}
@keyframes DownAnime{
from {
opacity: 0;
transform: translateY(-100px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
*/


.header{
  position: absolute;
  z-index:9999;
  top: 0;
  left: 0%;
  width: 100%;
  padding:1rem 5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.header-left{
  width: 25%;
}

.header-left a{
  display: flex;
  gap:20px;
  align-items:center;
}

.header-left a img{
  width: 28%;
}

.header-left .white{
  display:none;
}

.header-left a div{
  max-width: calc(100% - 20px - 28%);
  text-align:center;
  font-size:clamp(0.75rem, 0.5rem + 0.83vw, 1.5rem);
}

.header-left a div p:first-child{
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size:clamp(0.438rem, 0.292rem + 0.49vw, 0.875rem);
  margin-bottom: 8px;
}

.header_menu{
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: center;
}

.header-right{
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 7rem;
}

.header_menu-item a{
  text-align: center;
}

.header_menu-item > a{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header_menu-item > a::before{
  content:"";
  width:8px;
  height:8px;
  background:#B2863A;
  border-radius:999vh;
  display:block;
}

.hamBtn {
  cursor: pointer;
  z-index: 9999;
  transition: all .5s;
  display: flex;
  align-items: center;
  width: 64px;
  height: 64px;
  justify-content: center;
  border:2px solid #626262;
  position: fixed;
  right: 5%;
  z-index:99999;
  top: 2.5rem;
}

.hamBar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70%;
  aspect-ratio: 42 / 32;
}

.hamBar>div {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: #626262;
  transition: .5s;
}

.hamBar>div:nth-child(1) {
  top: 0; 
}

.hamBar>div:nth-child(2) {
  top: 50%;
}

.hamBar>div:nth-child(3) {
  top: 100%;
}

.hamBar.active>div:nth-child(1) {
  top: 50%;
  transform: rotate(-30deg);
}

.hamBar.active>div:nth-child(2) {
  opacity: 0;
}

.hamBar.active>div:nth-child(3) {
  top: 50%;
  transform: rotate(30deg);
}


.sp__menu {
  background:#F7F6F2;
  position: fixed;
  top: 0;
  right: -450px;
  opacity: 0;
  width: 100%;
  height: 100vh;
  display:flex;
  flex-direction: column;
  padding: 7.5rem 0 3rem;
  overflow: scroll;
  align-items:center;
  transition: 1s;
  max-width: 385px;
  gap: 2rem;
}

.sp__menu .header_menu{
  flex-direction: column;
  gap:0;
  width: 100%;
}

.sp__menu .header_menu img{
  width:5rem;
}

.sp__menu .header_menu-item > a{
  text-align: left;
}

.sp__menu .header_menu-item > a::before{
  display:none;
}

.sp__menu-btn{
  padding: 1rem 5%;
  border-bottom: 1px solid #626262;
  width: 100%;
  font-size:clamp(1.25rem, 1.167rem + 0.28vw, 1.5rem);
}

.sp__menu-btn a:hover,
.hamBtn + .sp__menu .header_menu-item > a:hover{
  opacity:1;
}

.sp__menu-btn a:hover .arrow-btn__icon::before,
.hamBtn + .sp__menu .header_menu-item > a:hover .arrow-btn__icon::before{
  clip-path: polygon(0 0, 130% 0, 70% 100%, 0 100%);
}

.sp__menu-btn a:hover  .arrow-btn__arrow,
.hamBtn + .sp__menu .header_menu-item > a:hover .arrow-btn__arrow {
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.sp__menu-btn a:hover .arrow-btn__arrow::after,
.hamBtn + .sp__menu .header_menu-item > a:hover .arrow-btn__arrow::after {
  border-color: #ffffff;
}

.sp__menu-btn:nth-child(4){
  font-size:1.25rem;
  margin-bottom:2rem;
}

.sp__menu-btn strong{
  display:block;
  font-size:clamp(0.75rem, 0.708rem + 0.14vw, 0.875rem);
  margin-bottom: 4px;
}

.sp__menu .header_menu-item a .arrow-btn__icon{
  margin: 0 0 0 auto;
}

.sp__menu .header_menu-item:not(.sp__menu-btn){
  width: 90%;
  padding: 1rem 0;
  font-size:18px;
}

.sp__menu .header_menu-item:not(.sp__menu-btn) a .arrow-btn__icon{
  width: 26px;
  height: 26px;
}

.sp__menu .header_menu-item:not(.sp__menu-btn) a .arrow-btn__arrow{
  width: 13px;
}

.sp__menu.active {
  opacity: 1;
  visibility: visible;
  z-index:10000;
  right: 0;
}

.parent {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.parent::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  margin-top: -3px;
}

.sub-menu{
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: -moz-max-content;
  width: max-content;
  text-align: center;
}

.sub-menu a{
  display: block;
  background: #F8F7ED;
  padding: .5rem;
  color: #0B0B0B;
  font-size: 14px !important;
  margin-bottom: 4px;
}

.parent::before {
  content: "";
  display: none;
  width: 120%;
  height: 50px;
  top: 100%;
  left: -10%;
  position: absolute;
}

.parent:hover::before {
  display: block;
}

@media (min-width: 1025px) {
  .header-right .parent:hover .sub-menu {
    display: block;
  }
}

@media (max-width: 1600px) {
  .header_menu{
    gap:2rem;
  }
}

@media (max-width: 1400px) {
  .parent,
  .header_menu-item a{
    font-size: 14px;
  }
  .header_menu-item > a{
    gap:0.5rem;
  }
  .header_menu-item strong{
    font-size: 10px;
  }
  .sub-menu a{
    font-size: 12px !important;
  }
}

@media (max-width: 1300px) {
  .hamBtn{
    width: 50px;
    height: 50px;
    top: 2rem;
  }
  .header-right{
    padding-right: 5rem;
  }
  .header-left {
    width: 30%;
  }
  .sp__menu-btn strong{
    font-size:12px;
  }
  .sp__menu-btn.header_menu-item a{
    font-size:20px;
  }
}

@media (max-width: 1200px) {
  .header-right {
    display:none;
  }
}

@media (max-width: 1024px) {
  .header{
    padding: 1rem 3%;
  }
  .hamBtn{
    right: 3%;
  }
  .header-left{
    min-width:250px;
  }
  .header-left a{
    gap:13px;
  }
}


@media (max-width: 767px) {
  .header-left {
    width: 200px;
    min-width: auto;
  }
  .header-left a div p:first-child{
    font-size:7px;
  }
  .header-left a div{
    font-size:12px;
  }
  .sp__menu {
    width:100%;
    max-width: none;
    padding: 4rem 0 3rem;
  }
  .sp__menu .header_menu img {
    width: 70px;
  }
  .header {
    padding: 8px 2.5% 8px;
  }
  .hamBtn {
    width: 40px;
    height: 40px;
    top: 1rem;
  }
  .sp__menu-btn:nth-child(4){
    margin-bottom: 1rem;
  }
  .header_menu-item a {
    font-size: 16px;
  }
  .header_menu-item > a {
    gap: 1rem;
  }
  .sp__menu .header_menu-item a .arrow-btn__icon{
    width: 30px;
    height: 30px;
  }
  .sp__menu .header_menu-item a .arrow-btn__arrow{
    width: 16px;
  }
  .sp__menu .header_menu-item:not(.sp__menu-btn) a .arrow-btn__icon {
    width: 22px;
    height: 22px;
  }
  .sp__menu .header_menu-item:not(.sp__menu-btn) a .arrow-btn__arrow {
    width: 11px;
  }
  .sp__menu .header_menu-item:not(.sp__menu-btn) a .arrow-btn__arrow::after{
    width: 5px;
    height: 5px;
  }
}


#header.UpMove{
  animation: UpAnime 0.5s forwards;
}

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

/*　下に下がる動き　*/

#header.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}