/* Google Fonts: Marcellus */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Noto+Sans+JP&family=Noto+Serif+JP&display=swap');

/* ===== 定義 ===== */
:root{
  --color-brown: #632600;
  --color-pink:  #CC6969;
  --color-black: #2D2D2D;
  --color-white: #FFFFFF;
  --color-gray:  #717171;
}

/* ===== ベース===== */
html { font-size: 18px; }
@media (max-width: 768px) { html { font-size: 16px; } }

/* デフォルトでは非表示 */
.sp-br {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.no-link {
  text-decoration: none !important;
}



/* スマホ時のみ表示して改行 */
@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
  .sp-hide {
    display: none;
  }
}

/* ===== ブラウザ横バウンス等の抑制 ===== */
html, body {
  overscroll-behavior-x: none;
  touch-action: pan-y;
  overflow-x: hidden;
}

/* body 基本 */
body {
  font-family: "Yu Gothic", "游ゴシック", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--color-white);
  color: var(--color-gray);
  font-size: 1rem; /* 1rem = html の値 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* body 固定（メニューオープン時に JSで付与） */
.body-fixed {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
}

/* ===== ヘッダー ===== */
header {
  padding: 10px 20px;
  background-color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  z-index: 100;
  transition: transform 1.5s ease, box-shadow 0.6s ease;
  will-change: transform;
}

/* 固定表示の下準備：一旦隠しておく（JSで is-visible を付与して表示） */
header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* 固定＋表示（スライドダウン） */
header.is-fixed.is-visible {
  transform: translateY(0);
}

/* ヘッダー内の最大幅・中央寄せ */
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.logo img {
  width: 123px;
  height: auto;
  display: block;
}

/* ===== ナビ（デスクトップ） ===== */
.main-nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.main-nav a {
  position: relative;
  font-family: "Yu Mincho", "游明朝", serif;
  font-size: 1.11rem; /* 20px相当（html=18） */
  color: var(--color-brown);
  text-decoration: none;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

/* リッチな下線（フェード＆スライド） */
.main-nav a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px; /* px指定の方が安定するので2px */
  background-color: rgba(99,38,0,0.5);
  transition: width 0.32s cubic-bezier(.22,.9,.3,1);
}

.main-nav a:hover::after{ width: 100%; }
.main-nav a:hover{ color: #8a3f3f; }

/* ===== ハンバーガー（デフォルト非表示） ===== */
.hamburger{
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px; 
  background: transparent !important;
  border: 0;
  cursor: pointer;
  padding: 0;
  z-index: 4000;
  appearance: none;
  margin: 0;
  box-sizing: content-box;
  position: relative;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.hamburger span{
  display: block !important;
  width: 24px;
  height: 3px !important;
  background-color: var(--color-brown) !important;
  border-radius: 2px;
  transition: transform 0.32s ease, opacity 0.32s ease, background-color 0.32s ease;
  transform-origin: center;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}



/* ===== メインビジュアル ===== */
.mv {
  width: 100%;
  background-color: #FFF1E5;
}
.mv-inner{
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2880 / 1100; /* PC比率 */
}

.mv-slider{ width:100%; height:100%; position:relative; }
.mv-slide{
  position:absolute; inset:0; opacity:0; transition:opacity 1s ease; pointer-events:none;
}
.mv-slide.is-active{ opacity:1; z-index:1; pointer-events:auto; }
.mv-slide img{ width:100%; height:100%; object-fit:cover; display:block; }

/* SP用比率切替 */
@media (max-width: 768px){
  .mv-inner{ aspect-ratio: 780 / 1400; min-height: 420px; }
}

/* ===== SP（<=768px）：オフキャンバスメニュー & ハンバーガー表示 ===== */
@media (max-width: 768px){

  /* ハンバーガーを表示 */
  .hamburger { display: flex; }

  /* オフキャンバス化：固定レイヤーで画面外へ */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: calc(100vh); /* JSで top を変えるので高さは画面いっぱい */
    width: 260px;
    max-width: 85%;
    background-color: var(--color-white);
    box-shadow: -6px 0 18px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.22,.9,.3,1);
    z-index: 2000;
    pointer-events: none;
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  .main-nav ul { display: block; margin: 0; padding: 12px 0; }
  .main-nav li { border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 16px 20px; font-size: 1rem; color: var(--color-brown); }

  /* 表示（open クラスで制御） */
  .main-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* ハンバーガーの × アニメーション（active クラスで制御） */
  .hamburger.active span:nth-child(1){ transform: rotate(45deg) translate(5px, 7px); }
  .hamburger.active span:nth-child(2){ opacity: 0; }
  .hamburger.active span:nth-child(3){ transform: rotate(-45deg) translate(5px, -7px); }

  .hamburger { margin-left: 12px; }
}


/* ===== 小さめの影バリエ（任意） ===== */
.header-shadow-soft {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}


/* 下部固定ナビ */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0px;
  transform: translate(-50%, 20px); 
  opacity: 0;
  pointer-events: none;
  z-index: 3000;

  /* 全体シャドウ */
  box-shadow: 0 -6px 18px rgba(0,0,0,0.1);
  backdrop-filter: blur(6px);

  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 表示状態 */
.bottom-nav.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.bottom-nav ul {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.bottom-nav li a {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  font-size: 1.1rem;
  padding: 0px 8px;
  transition: background 0.3s ease;
}

/* アイコンサイズと余白 */
.bottom-nav li a img {
  width: 47x;
  height: 47px;
  display: block;
}

.bottom-nav li a span {
  margin: 0 6px;
}

/* WEB予約だけ背景色 brown */
.bottom-nav li.bn-reserve a {
  background-color: var(--color-brown);
  color: var(--color-white);
}
.bottom-nav li.bn-phone a{
    color: var(--color-brown);
}


/* SP用（768px以下） */
@media (max-width: 768px) {
  .bottom-nav {
    width: 100%;
    border-radius: 0;
  }
  .bottom-nav ul {
    justify-content: center; /* 中央寄せ */
  }
  .bottom-nav li a {
  height: 50px;
  }

  /* 電話番号の文字は非表示 */
  .bottom-nav li.bn-phone span {
    display: none;
  }

  /* WEB予約は文字表示・幅100% */
  .bottom-nav li.bn-reserve a {
    display: flex;   
    justify-content: center; 
    width: 100%;
    max-width: none;
    padding: 10px; 
    box-sizing: border-box;
  }

  /* アイコンサイズを少し大きく */
  .bottom-nav li a img {
    width: 28px;
    height: 28px;
  }

  /* 文字とアイコンの間隔 */
  .bottom-nav li.bn-reserve a span {
    margin-left: 8px;
    display: inline; /* 表示 */
  }

  /* 他のボタン（電話・LINE・INSTA）はアイコンのみ */
  .bottom-nav li.bn-phone a span,
  .bottom-nav li.bn-line a span,
  .bottom-nav li.bn-insta a span {
    display: none;
  }

  /* 下部ナビ全体の左右余白 */
  .bottom-nav ul {
    gap: 8px;
    padding: 0;
  }
}


/* PC: アイコンと文字は横並びで中央寄せ */
@media (min-width: 769px) {
  .bottom-nav li a {
    padding: 0 4px;
  }
}

footer{
    text-align: center;
    font-size: 0.9rem;
}


/* タイトル背景：左右のライン画像 */
.default-title-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 左ライン */
.default-title-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 6px;
  background-image: url("../images/title-line-left.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

/* 右ライン */
.default-title-bg::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 6px;
  background-image: url("../images/title-line-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

/* タイトル */
.default-title {
  font-family: 'Marcellus', serif;
  font-size: 2.67rem; /* 48px相当 (48/18 ≒ 2.67) */
  color: var(--color-brown, #632600);
  text-align: center;
  position: relative;
  margin: 0;
  line-height: 1.2;
  padding: 10px 0;

  /* 背景に羽根画像を右寄せ */
  background-image: url("../images/title-feather.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto; /* 高さを80%程度に調整 */
  padding-right: 30px;
}

/* サブテキスト */
.default-title span {
  display: block;
  font-family: "Yu Mincho", "游明朝", serif;
  font-size: 0.89rem; /* 16px相当 (16/18 ≒ 0.89) */
  line-height: 1.2;
  margin-top: 4px;
}

/* ===== SP調整（768px以下） ===== */
@media (max-width: 768px) {
  .default-title-bg::before,
  .default-title-bg::after {
    width: 90px;
    height: 6px;
  }

  .default-title {
    font-size: 2rem;
    padding-right: 30px;
    background-size: auto 80%;
  }

  .default-title span {
    font-size: 0.89rem;
  }
}

/* アンカー先がヘッダーに隠れないようにする */
:root{
  --scroll-offset-desktop: 0px; /* PCでの余白（ヘッダー高さ＋余裕）*/
  --scroll-offset-mobile: 0px;   /* SPでの余白（ヘッダー高さ）*/
}

/* 対象のセクションに一括で適用 */
#menu,
#price,
#staff,
#shop {
  scroll-margin-top: var(--scroll-offset-desktop);
}

/* SPはヘッダーが高くなったり挙動違うことがあるのでメディアクエリで下げる */
@media (max-width: 768px) {
  #menu,
  #price,
  #staff,
  #shop {
    scroll-margin-top: var(--scroll-offset-mobile);
  }
}

/* 任意：滑らかスクロールが欲しいなら */
html {
  scroll-behavior: smooth;
}

/* 固定ページ・投稿ページ用の共通レイアウト */
.default-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* スマホ */
@media (max-width: 768px) {
  .default-content {
    max-width: 100%;
    padding: 30px 0px;
  }
}

.logo a {
  display: inline-block;
}

/* ==========================================
   Salon Booking System：不要UIの非表示
   ========================================== */

/* 施術時間（01:00 / 01:30 / 02:00 など）を非表示 */
.sln-steps-duration {
  display: none;
}

/* スタッフ検索（editableブロック）を非表示 */
.editable {
  display: none;
}

/* 利用規約（空表示）を非表示 */
.sln-summary__terms {
  display: none;
}

/* 予約画面のメニューレイアウト崩れ防止 */
.sln-summary__list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
}

.sln-summary__list__price {
  white-space: nowrap;
  text-align: right;
}

.sln-summary__list__info {
  min-width: 0;
}



/* 予約に関する注意書き */
.reserve-note {
  margin-top: 40px;
  padding: 24px;
  background: #f9f7f6;
  text-align: center;
}

.reserve-note__text {
  font-size: 14px;
  line-height: 1.7;
}

.reserve-note__tel {
  margin-top: 16px;
  font-size: 20px;
  font-weight: bold;
}

.reserve-note__tel a {
  color: inherit;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .reserve-note {
    margin-top: 60px;
    padding: 32px 20px;
    text-align: left;
  }

  .reserve-note__tel {
    margin-top: 24px;
    font-size: 22px;
    text-align: center;
  }
}


/* 予約ページのPC中央に*/

.salon-center {
  display: flex;
  justify-content: center;
}
