@charset "utf-8";
/* ==========================================================================
   header.css
   ヘッダー（PCナビ／スクロール収縮／ハンバーガー／スライドメニュー）
   ========================================================================== */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height-pc);
  border-bottom: 1px solid transparent;
}

#site-header.is-compact {
  height: 76px;
  width: fit-content;
  right: 0;
  left: inherit;
}

#site-header.is-compact .header-compact a{
  display: none;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------------------------
   下層ページ限定：ヘッダー背景／装飾
   （トップページのヒーロー画像と競合しないよう index.php を除外）
--------------------------------- */

.subpage-top{
  display: block;
  background: url(../img/bk/beigu-bk.jpg);
  background-size: cover;
}

#site-header.is-subpage {
/*
  background: url(../img/bk/beigu-bk.jpg);
  background-size: cover;
*/
}

#site-header.is-subpage .header-inner {
  position: relative;
  z-index: 3;
}

/* ---------------------------------
   ロゴ
--------------------------------- */
.header-logo img {
  display: block;
  width: auto;
}

.header-full .header-logo img { 
  height: 70px; 
}

.header-compact .header-logo img { 
  height: 70px; 
}

/* ---------------------------------
   PCフルナビ（初期表示）
--------------------------------- */
.header-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

#g-nav-pc {
  display: flex;
  align-items: center;
  gap: 38px;
}

#g-nav-pc a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.2rem;
  padding: 6px 0;
}

#g-nav-pc a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--beige-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

#g-nav-pc a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  text-decoration: none;
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 16px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.header-sns a:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

.header-reserve-btn {
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header-reserve-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}


.header-reserve-btn .hp-main {
  font-size: 10px;
  font-weight: 700;
  display: block;
  color: #fff;
  background: #8b133e;
  width: 100%;
  text-align: center;
  letter-spacing: 0.05rem;
}




/* ---------------------------------
   コンパクトヘッダー（スクロール後のPC／SP共通）
--------------------------------- */
.header-compact {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

#site-header.is-compact .header-full {
  display: none;
}

#site-header.is-compact .header-compact {
  display: flex;
}

/* ---------------------------------
   ハンバーガーボタン
--------------------------------- */
.hamburger-btn {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: 0.3s ease-in-out;
}

.hamburger-btn::before{
  content: 'MENU';
  display: block;
  font-size: 12px;
  color: #766c63;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s ease-in-out;
}


.hamburger-btn:hover::before{
  letter-spacing: 2px;
}

.hamburger-btn .bar-group {
  position: relative;
  width: 24px;
  aspect-ratio: 1 / 1;
  gap: 2px;
  display: flex;
  flex-direction: column;
}

.hamburger-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background:  #766c63;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), top 0.4s var(--ease);
}


.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 7px; }
.hamburger-btn span:nth-child(3) { top: 14px; }

.hamburger-btn.is-active span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}


.hamburger-btn:hover span {
  transform: scale(1.1);
}

/* ---------------------------------
   ドロワーメニュー（右→左にスライド）
--------------------------------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 54, 51, 0.35);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

#nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 86vw);
  background: var(--bg);
  z-index: 1002;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  box-shadow: -12px 0 40px rgba(58, 54, 51, 0.12);
}

#nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #766c63;
  border-radius: 2px;
  transition: 0.3s ease-in-out;
}



.drawer-close span:first-child { 
  transform: rotate(45deg); 
  transition: 0.5s ease-in-out;
}

.drawer-close span:last-child { 
  transform: rotate(-45deg); 
  transition: 0.5s ease-in-out;
}

.drawer-close:hover span {
  opacity: 0.8;
}


.drawer-close:hover :first-child { 
  transform: rotate(30deg); 
}


.drawer-close:hover :last-child  { 
  transform: rotate(-30deg); 
}


.drawer-inner {
  padding: 80px 25px 48px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-nav li {
  border-bottom: 1px solid var(--line);
}

.drawer-nav a {
  display: flex;
  align-items: center;
  padding: 18px 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
  position: relative;
  gap: 10px;
}

.drawer-nav a p{
  width: 115px;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
}


.drawer-nav a p small{
  color: #5e5e5e;
}

.drawer-nav a:hover {
  color: var(--beige-500);
  padding-left: 8px;
}

.drawer-nav a::after {
  content: "";
  background: url("../img/icon/scissor-open-br.png") center;
  background-size: cover;
  width: 20px;
  height: 20px;
  display: block;
  right:0;
  position: absolute;
}

.drawer-nav a:hover::after {
  content: "";
  background: url("../img/icon/scissor-br.png") center;
  background-size: cover;
  right: -5px;
}


.drawer-divider {
  margin: 32px 0;
  border: none;
}

.drawer-bottom {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.drawer-logo img {
  width: 200px;
}

.drawer-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  display: flex;
  flex-direction: row;
  gap:10px;
}

.drawer-info p span{
  display: inline-block;
}

.drawer-info a {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.drawer-info a:hover {
  opacity: 0.75;
}

.drawer-info a i{
  color: #8b5b27db;
  font-size: 13px;
  position: relative;
  top: -1px;
}

.drawer-hotpepper .hot-pepper-beauty{
  width: 100%;
  max-width: 200px;
}

.drawer-hotpepper img {
  border:1px solid #9f1547;
  display: block;
  width: 100%;
  max-width: 200px;
  transition: transform 0.3s var(--ease);
}

.drawer-hotpepper:hover img {
  transform: scale(1.03);
}

.drawer-sns a {
  display: inline-flex;
  align-items: center;
}

.drawer-sns a span{
  background: url("../img/icon/ig.png") center;
  background-size: cover;
  width: 160px;
  aspect-ratio:750/200;
  display: block;
}

.drawer-sns a:hover{
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ---------------------------------
   スマホ（常時コンパクト表示）
--------------------------------- */
@media (max-width: 1560px) {
  #g-nav-pc a {
    font-size: 0.8rem;
  }
}

@media (max-width: 1200px) {
  #g-nav-pc {
    gap: 25px;
  }
  
  .header-full .header-logo img {
    height: 50px;
  }

}


@media (max-width: 1024px) {
  
  
  .header-inner {
    padding: 10px 10px 0 20px;
  }
  
  .hamburger-btn {
    top: -18px;
}
  
  .header-compact .header-logo img {
    height: 50px;
  }
/*
  
  #site-header {
    height: var(--header-height-sp);
  }
*/

  #site-header.is-compact {
    right: 0;
    height: var(--header-height-sp);
  }

  .header-full {
    display: none;
  }

  .header-compact {
    display: flex;
  }

  #site-header.is-compact .header-compact {
    display: flex;
  }

  .drawer-inner {
    padding: 78px 26px 40px;
  }
  
}

@media (max-width: 768px) {
  .header-reserve-btn {
    max-width: 150px;
  }
}

@media (max-width: 600px) {
  
  .drawer-inner {
    padding: 78px 20px 40px;
  }
  
  .drawer-nav a p {
    width: 90px;
    font-size: 9px;
  }

  .drawer-nav a small {
    font-size: 77%;
  }
  
  .drawer-nav a::after {
    width: 17px;
    height: 17px;
  }
}
