@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);
  }
}


[id] {
  scroll-margin-top: 100px;
}

.header {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10000;
  width: 100%;
  border-top:12px solid #FF8F2D;
}

.header-contents{
  padding:0.5rem 2.5% 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo{
  display: block;
  width: 25%;
  max-width:420px;
}

.header-logo:hover{
  opacity:0.7;
}

.header a:hover,
.sp__menu a:hover{
  opacity:0.7;
}

.header-right{
  display: flex;
  align-items: center;
}

.header_menu{
  display: flex;
  align-items: center;
}

.header .header_menu-item{
  padding: 0 3rem ;
  position:relative;
}

.header .header_menu-item:first-child{
  padding-left:0;
}

.header .header_menu-item::after{
  content:"";
  position:absolute;
  width:1px;
  height:42px;
  background-image: repeating-linear-gradient(180deg, #2e0000, #2e0000 5px, transparent 5px, transparent 10px);
  background-position: right top;
  background-repeat: repeat-y;
  background-size: 1px 100%;
  right:0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.header .header_menu-item.shop::after{
  display:none;
}

.header .header_menu-item.shop p{
  display:flex;
  align-items:center;
  gap:14px;
}

.header .header_menu-item.shop p::before{
  content:"";
  display:block;
  width:24px;
  height:24px;
  background:url( https://asunosmile.com/system_panel/uploads/images/20260911110311349160.png) no-repeat center/contain;
}

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

.parent{
  position: relative;
  cursor:pointer;
}

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

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

.header .header_menu > .parent > p,
.sp__menu .header_menu > .parent > p{
  font-size:clamp(0.875rem, 0.792rem + 0.28vw, 1.125rem);
  display:flex;
  align-items:center;
  gap:8px;
  justify-content: center;
}

.sp__menu .header_menu > .parent > p{
  justify-content: space-between;
}

.header .header_menu > .parent > p::after{
  content:"";
  display:block;
  width: 8px;
  height: 4px;
  background:url( https://asunosmile.com/system_panel/uploads/images/20260911110231508343.png) no-repeat center/contain;
}

.sp__menu .header_menu > .parent > p::after{
  display:none;
}


@media (min-width: 1025px) {
  .header-right .header_menu > .parent:hover .sub-menu {
    display: grid;
    gap: 4px;
  }
}



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

.header a{
  color:#2E0000;
  font-size: clamp(0.875rem, 0.792rem + 0.28vw, 1.125rem);
}

.header a:hover{
  color:#2E0000;
}

.sub-menu a{
  display: block;
  text-align: left;
  font-size: 14px !important;
  padding: 8px 1rem;
  background:#fff;
}

.hamBtn {
  cursor: pointer;
  position: relative;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 96px;
  aspect-ratio:1/1;

  padding: 0;

  background: #2E0000;
  border-radius: 50%;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}


/* ========================================
中身
======================================== */

.hamBar {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
  height: 100%;

  color: #FFE87A;
}


/* ========================================
MENU：9つのドット
======================================== */

.hamBar__dots {
  position: absolute;
  top: 22px;
  left: 50%;

  display: grid;
  grid-template-columns: repeat(3, 6px);
  gap: 8px 11px;

  transform: translateX(-50%);

  transition:
    opacity 0.3s,
    transform 0.3s;
}

.hamBar__dots div {
  display: block;

  width: 7px;
  height: 7px;

  background: #FFE87A;
  border-radius: 50%;
}


/* ========================================
CLOSE：×マーク
======================================== */

.hamBar__close {
  position: absolute;
  top: 17px;
  left: 50%;

  width: 38px;
  height: 38px;

  opacity: 0;

  transform:
    translateX(-50%)
    scale(0.8);

  transition:
    opacity 0.3s,
    transform 0.3s;
}

.hamBar__close::before,
.hamBar__close::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 44px;
  height: 2px;

  background: #ffe65c;
  border-radius: 999px;
}

.hamBar__close::before {
  transform:
    translate(-50%, -50%)
    rotate(45deg);
}

.hamBar__close::after {
  transform:
    translate(-50%, -50%)
    rotate(-45deg);
}


/* ========================================
MENU / CLOSE テキスト
======================================== */

.hamBar__text {
  position: absolute;
  bottom: 12px;
  left: 50%;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
}

.hamBar__text-menu,
.hamBar__text-close {
  white-space: nowrap;
}

.hamBar__text-close {
  display: none;
}


/* ========================================
OPEN時
======================================== */

.hamBar.active .hamBar__dots {
  opacity: 0;

  transform:
    translateX(-50%)
    scale(0.8);
}

.hamBar.active .hamBar__close {
  opacity: 1;

  transform:
    translateX(-50%)
    scale(1);
}

.hamBar.active .hamBar__text-menu {
  display: none;
}

.hamBar.active .hamBar__text-close {
  display: block;
}


.sp__menu {
  background: #FFFBE8;
  position: fixed;
  top: 0;
  right:0px;
  opacity: 0;
  width: 100%;
  height: 100vh;
  display:flex;
  flex-direction: column;
  overflow: scroll;
  padding: 7.5rem 0 5rem;
  align-items:center;
  transition: 0.5s;
  z-index:-100;
  visibility:hidden;
  max-width: 400px;
}

.sp__menu .hamBtn{
  position: fixed;
  top: 20px;
  right: 2.5%;
}


.sp__menu .header_menu{
  flex-direction: column;
  gap: 2rem;
  width: 250px;
  align-items: flex-start;
}

.sp__menu .sub-menu{
  margin-top:1.5rem;
  display: grid;
  gap: 1.5rem;
}

.sp__menu .sub-menu a{
  background:transparent;
  padding:0;
}

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

.sp__menu .header_menu-item > a,
.sp__menu .header_menu-item > p{
  font-size:18px;
}

.shop-tab{
  display:none;
}

@media (max-width: 1600px) {
  .header .header_menu-item {
    padding: 0 1.8rem;
  }
  .header-logo{
    width:20%;
  }
}

@media (max-width: 1400px) {
  .hamBar__text {
    bottom: 8px;
    font-size: 12px;
  }
  .hamBar__dots{
    top: 13px;
    grid-template-columns: repeat(3, 6px);
    gap: 6px;
  }
  .hamBar__dots div{
    width: 5px;
    height: 5px;
  }
  .hamBtn{
    width:70px;
  }
  .hamBar__close{
    top: 12px;
    width: 30px;
    height: 30px;
  }
  .hamBar__close::before, .hamBar__close::after{
    width: 32px;
    height: 2px;
  }
  .header .header_menu-item {
    padding: 0 1.4rem;
  }
}

@media (max-width: 1279px) {
  .header a{
    font-size:1rem;
  }
  .header-right .arrow-btn{
    padding: 8px 16px 8px 1.5rem;
  }
  .header-right .header_menu{
    display:none;
  }
}

@media (max-width: 1024px) {
  .header-logo {
    width: 200px;
  }
  .shop-tab{
    display:flex;
  }
}



@media (max-width: 767px) {
  .header{
    border-top: 6px solid #FF8F2D;
  }
  .header .header_menu-item.shop p::before{
    width:14px;
    height:14px;
  }
  .header .header_menu-item.shop p{
    gap:8px;
  }
  .header_menu {
    gap: 12px;
  }
  .hamBtn {
    width: 60px;
    height: 60px;
  }
  .sp__menu {
    padding: 3rem 0;
    overflow: scroll;
  }
  .header-logo{
    width: 10rem;
  }
  .header-contents {
    padding: 4px 2.5% 0;
  }
  .header .header_menu-item.shop.shop-tab a{
    font-size: 12px;
  }
  .header .header_menu-item {
    padding: 0 14px 0 0;
  }
  .hamBar__dots div {
    width: 4px;
    height: 4px;
  }
  .hamBar__dots {
    top: 12px;
    grid-template-columns: repeat(3, 5px);
    gap: 5px;
  }
  .hamBar__text {
    bottom: 9px;
    font-size: 10px;
  }
  .hamBar__close{
    top: 10px;
    width: 27px;
    height: 27px;
  }
  .hamBar__close::before, .hamBar__close::after {
    width: 27px;
  }
  .sp__menu .hamBtn{
    top:10px;
  }
  .sp__menu .header_menu{
    align-items: center;
  }
  .sub-menu a{
    text-align: center;
  }
}


#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);
  }
}

