/* Layout container and utilities */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad);
  box-sizing: border-box;
}

/* Grid / cards (base) */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

/* Card */
.card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.card:hover { transform: translateY(-2px); }

/* Thumbnail */
.thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #eee;
  display: block;
  object-fit: cover;
}

/* Card body */
.card-body { padding: 14px; }
.card-title { margin: 0; font-size: 14px; letter-spacing: .06em; }
.card-sub { margin: 8px 0 0; font-size: 12px; opacity: .7; }

/* Small helpers */
.staff-kana { margin-left: .4rem; font-size: .85em; opacity: .7; font-weight: 400; }
.sub-img:hover { opacity: 0.8; }

/* ===== index / staff grid helpers (補完) ===== */
.lucey-index-staff-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
}

.lucey-index-staff-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 12px;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease;
}
.lucey-index-staff-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }

.lucey-index-staff-card img,
.lucey-index-staff-card .thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* テキスト */
.lucey-index-staff-card .name { font-weight: 600; margin-top: 8px; font-size: 14px; }
.lucey-index-staff-card .kana { font-size: 12px; opacity: .7; margin-top: 4px; }
.lucey-index-staff-card .title { font-size: 12px; opacity: .75; margin-top: 6px; }

/* ヘッダー左（SNS） */
.lucey-left { display:flex; align-items:center; gap:12px; }
.lucey-social { display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; }

/* フッター内の Admin リンク */
.footer-admin { font-size: 12px; opacity: .85; color: rgba(255,255,255,0.9); text-decoration:none; }

/* hero-inner の微調整（もし抜けていたら） */
.hero-inner { z-index: 6; position: relative; padding: 48px var(--pad); color: #fff; }

/* top-banner 画像の絶対配置が抜けている場合の補完 */
.top-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display:block; }

/* 戻るボタン（staff ページ） */
p[style*="opacity"] a { display:inline-flex; align-items:center; gap:10px; padding:8px 14px; background:linear-gradient(90deg,#f7fbff,#eef7ff); color:#0b0b0b; text-decoration:none; border-radius:10px; border:1px solid rgba(11,11,11,0.06); }

/* staff card テキストの上書き防止（具体度を上げる） */
.lucey-index-staff-card .name { font-weight: 600; font-size: 14px; color: inherit; text-transform: none; }
.lucey-index-staff-card .kana { font-size: 12px; opacity: .75; margin-top: 4px; }
.lucey-index-staff-card .title { font-size: 12px; opacity: .7; margin-top: 6px; }

/* ============================
   HIT HAIR セクション
   ============================ */

.hit-hair-section {
  width: 100%;
  padding: 60px 0 80px;
  background: #fff;
}

.hit-hair-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hit-hair-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 40px;
}

.hit-hair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .hit-hair-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hit-hair-grid {
    grid-template-columns: 1fr;
  }
}

.hit-hair-card {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid rgba(0,0,0,0.06);
}

.hit-hair-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.hit-hair-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hit-hair-info {
  padding: 14px;
}

.hit-hair-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.hit-hair-shop {
  font-size: 12px;
  opacity: .7;
  margin-top: 6px;
}

.hit-hair-desc {
  text-align: center;
  font-size: 14px;
  opacity: .8;
  margin: 40px 0 30px;
  line-height: 1.8;
}

.hit-hair-more-wrap {
  text-align: center;
}

.hit-hair-more {
  display: inline-block;
  padding: 10px 26px;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  color: #000;
  transition: background .15s ease, color .15s ease;
}

.hit-hair-more:hover {
  background: #000;
  color: #fff;
}
/* HIT HAIR - framed carousel (5 visible, auto-rotate) */
.hit-hair-section { width:100%; padding:60px 0 80px; background:#fff; }
.hit-hair-inner { max-width:1100px; margin:0 auto; padding:0 20px; }

.hit-hair-title { font-size:28px; font-weight:600; text-align:center; margin-bottom:20px; }

/* グレー枠 */
.hit-hair-frame {
  border: 1px solid #e0e0e0;
  background: #fafafa;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2,6,10,0.03);
  overflow: hidden;
}

/* カルーセルラッパー */
.hit-hair-carousel { width:100%; overflow:hidden; }

/* トラックは横並び（flex） */
.hit-hair-track {
  display:flex;
  gap:18px;
  align-items:stretch;
  transition: none;
}

/* 表示枚数を変えたい場合は --visible-count を変更 */
.hit-hair-frame { --visible-count: 5; --gap: 18px; }
.hit-hair-track > .hit-hair-card {
  flex: 0 0 calc((100% - (var(--visible-count) - 1) * var(--gap)) / var(--visible-count));
  max-width: calc((100% - (var(--visible-count) - 1) * var(--gap)) / var(--visible-count));
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.04);
  transition: transform .18s ease, box-shadow .18s ease, opacity .25s ease;
}

/* カード内 */
.hit-hair-card img { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.hit-hair-info { padding:12px; }
.hit-hair-name { font-size:14px; font-weight:600; margin:0; }
.hit-hair-shop { font-size:12px; opacity:.7; margin-top:6px; }

/* フェードアニメ用クラス */
.hit-hair-card.is-fading { opacity:0; transform: translateY(6px); }

/* 説明とボタン */
.hit-hair-desc { text-align:center; margin:28px 0 24px; color:#666; line-height:1.8; }
.hit-hair-more-wrap { text-align:center; }
.hit-hair-more {
  display:inline-block; padding:10px 26px; border-radius:30px; border:1px solid #111; color:#111; text-decoration:none;
  transition: background .15s ease, color .15s ease;
}
.hit-hair-more:hover { background:#111; color:#fff; }

/* レスポンシブ */
@media (max-width: 1100px) {
  .hit-hair-frame { --visible-count: 4; }
}
@media (max-width: 900px) {
  .hit-hair-frame { --visible-count: 3; }
}
@media (max-width: 700px) {
  .hit-hair-frame { --visible-count: 2; }
}
@media (max-width: 420px) {
  .hit-hair-frame { --visible-count: 1; }
}
/* framed carousel - responsive, 5 visible on desktop */
.hit-hair-frame {
  border: 1px solid #e0e0e0;
  background: #fafafa;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2,6,10,0.03);
  overflow: hidden;
  --visible-count: 5; /* ← デスクトップでの表示枚数（変更可） */
  --gap: 18px;
}

/* carousel wrapper */
.hit-hair-carousel { display:flex; align-items:center; gap:12px; position:relative; }

/* viewport masks overflow */
.hit-hair-viewport { overflow:hidden; flex:1 1 auto; }

/* track is flex row; we'll translate it */
.hit-hair-track {
  display:flex;
  gap:var(--gap);
  transition: transform 420ms cubic-bezier(.22,.9,.32,1);
  will-change: transform;
}

/* card width calc so N cards fit exactly */
.hit-hair-card {
  flex: 0 0 calc((100% - (var(--visible-count) - 1) * var(--gap)) / var(--visible-count));
  max-width: calc((100% - (var(--visible-count) - 1) * var(--gap)) / var(--visible-count));
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.04);
  transition: transform .18s ease, box-shadow .18s ease, opacity .25s ease;
}

/* image and info */
.hit-hair-card img { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.hit-hair-info { padding:12px; }
.hit-hair-name { font-size:14px; font-weight:600; margin:0; }
.hit-hair-shop { font-size:12px; opacity:.7; margin-top:6px; }

/* prev/next buttons */
.hit-hair-btn {
  background:#111; color:#fff; border:none; padding:10px 12px; border-radius:8px; cursor:pointer;
  font-weight:700; flex:0 0 auto;
}
.hit-hair-btn:disabled { opacity:.45; cursor:default; }

/* dots */
.hit-hair-dots { text-align:center; margin-top:12px; }
.hit-hair-dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:#ddd; margin:0 6px; cursor:pointer; }
.hit-hair-dot.is-active { background:#111; }

/* responsive visible count */
@media (max-width: 1100px) { .hit-hair-frame { --visible-count: 4; } }
@media (max-width: 900px)  { .hit-hair-frame { --visible-count: 3; } }
@media (max-width: 700px)  { .hit-hair-frame { --visible-count: 2; } }
@media (max-width: 420px)  { .hit-hair-frame { --visible-count: 1; } }

/* small hover effect */
.hit-hair-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
/* ===== hit-hair dots: 丸を潰さない完全版 ===== */
.hit-hair-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
  z-index: 5;
  pointer-events: auto;
}

/* 各ドット（必ず幅と高さを同じにする） */
.hit-hair-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  box-sizing: border-box;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  /* 文字や行高の影響を受けないようにする */
  line-height: 0;
  font-size: 0;
}

/* アクティブ（選択中） */
.hit-hair-dot.is-active {
  background: #111;
  transform: scale(1.08);
}

/* フォーカスの見た目（キーボード操作対応） */
.hit-hair-dot:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(17,17,17,0.12);
}

/* もし親で transform や scale が入っている場合の保険 */
.hit-hair-dots, .hit-hair-dot {
  transform: none !important;
}

/* モバイルで少し小さく */
@media (max-width: 420px) {
  .hit-hair-dot { width: 10px; height: 10px; min-width:10px; min-height:10px; gap:8px; }
}

/* ===== ACCESS MAP SECTION ===== */
.lucey-map-section {
  width: 100%;
  padding: 80px 0;
  background: #fff;
}

.lucey-map-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.lucey-map-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.lucey-map-address {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 26px;
}

.lucey-map-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}

.lucey-map-link-wrap {
  margin-top: 10px;
}

.lucey-map-link {
  font-size: 14px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  transition: opacity .2s ease;
}

.lucey-map-link:hover {
  opacity: .6;
}
/* ===== AWARD SECTION ===== */
.lucey-award-section {
  width: 100%;
  padding: 90px 0 100px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* 背景の光エフェクト */
.lucey-award-section::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), rgba(255,255,255,0) 70%);
  transform: translateX(-50%);
  opacity: 0;
  animation: awardGlow 1.8s ease-out forwards;
}

@keyframes awardGlow {
  0% { opacity: 0; transform: translateX(-50%) scale(0.8); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

.lucey-award-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* 筆記体 */
.award-script {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* メインタイトル */
.award-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 24px 0 18px;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: .3s;
}

/* 下線アニメ */
.award-underline {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #111;
  animation: underlineGrow 1s ease-out forwards;
  animation-delay: .8s;
}

@keyframes underlineGrow {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* 説明文 */
.award-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: .6s;
}


/*20260524*/
/* ===== SALON INTRO RESPONSIVE COMPLETE 20260524 ===== */
/* ===== SALON INTRO RESPONSIVE COMPLETE (scale-preserve) ===== */
/* 基本（既存スタイルと整合） *//* 基本（既存スタイルと整合） */
.salon-intro { 
  background: #eef4f8; 
  padding: 80px 0; 
  overflow: hidden; /* スマホで写真がはみ出て画面が横に揺れるのを防ぐ */
}
.salon-intro-scale {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.salon-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 40px;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

/* 写真ラッパー（デスクトップ） */
.salon-photos {
  position: relative;
  height: 420px;
  min-height: 260px;
  overflow: visible;
}

/* 個々の写真（デスクトップ） */
.salon-photos .ph {
  position: absolute;
  width: 240px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  opacity: 1;
  transform-origin: center center;
  transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .35s ease;
}

/* 位置指定（デスクトップ） — 既存の left/top を維持 */
.salon-photos .ph-1 { left: 0; top: 40px; z-index: 3; }
.salon-photos .ph-2 { left: 120px; top: 0; z-index: 2; transform: rotate(-2deg); }
.salon-photos .ph-3 { left: 240px; top: 80px; z-index: 1; transform: rotate(2deg); }

/* テキスト側 */
.salon-copy { position: relative; padding-left: 20px; }
.vertical-label {
  position: absolute;
  left: -40px;
  top: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: .2em;
  color: #999;
}

/* テキスト行 */
.salon-copy .line {
  font-size: 15px;
  color: #333;
  margin: 0 0 14px;
  opacity: 1;
  transform: none;
  transition: transform .36s ease, opacity .36s ease;
}

/* ボタン */
.salon-buttons { margin-top: 20px; display: flex; gap: 12px; }


/* ========================================================
   ここから後半：スマホ・タブレット用のレスポンス設定（ズレ修正版）
   ======================================================== */
@media (max-width: 768px) {
  .salon-intro { 
    padding: 50px 0; 
  }

  /* 左右の2カラム並びから、上下の縦並び（1カラム）へ変更 */
  .salon-intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  /* 🛠️ 修正: 写真3枚を合算した実質幅（150px + 145px = 295px）に固定して完璧に中央寄せ */
  .salon-photos {
    height: 290px;
    width: 295px;
    max-width: 100%;
    margin: 0 auto;
  }

  /* 写真のサイズをスマホ用にコンパクト化 */
  .salon-photos .ph {
    width: 145px;
    height: 195px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

  /* スマホの画面幅に綺麗に収まる重なり位置に再計算 */
  .salon-photos .ph-1 { left: 0; top: 40px; }
  .salon-photos .ph-2 { left: 75px; top: 10px; }
  .salon-photos .ph-3 { left: 150px; top: 70px; }

  /* テキストブロックを中央寄せにする */
  .salon-copy {
    padding-left: 0;
    text-align: center;
    transform: none !important;
  }

  /* 縦書きのラベルを、スマホ用に見やすい横書きのセンター配置に変換 */
  .vertical-label {
    position: static;
    writing-mode: horizontal-tb;
    display: block;
    text-align: center;
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: .1em;
  }

  /* 文字のサイズと行間をスマホ向けに最適化 */
  .salon-copy .line {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 12px;
    word-break: keep-all; /* 単語の途中で不自然に改行されるのを防ぐ */
    transform: none !important;
  }

  /* ボタン群も中央に寄せる */
  .salon-buttons {
    justify-content: center;
  }
}

/* ⚠️ 修正: 画面幅が極端に狭いスマホ（360px以下）での幅の再計算と中央寄せ */
@media (max-width: 360px) {
  .salon-photos {
    height: 250px;
    width: 250px; /* 写真の合算実質幅（130px + 125px = 250px）に調整 */
    max-width: 100%;
  }
  .salon-photos .ph {
    width: 125px;
    height: 170px;
  }
  .salon-photos .ph-1 { left: 0; }
  .salon-photos .ph-2 { left: 65px; top: 10px; }
  .salon-photos .ph-3 { left: 130px; top: 70px; }
  .salon-copy .line { font-size: 13px; }
}

/* アニメーション軽減対応 */
@media (prefers-reduced-motion: reduce) {
  .salon-photos .ph, .salon-copy .line { transition: none !important; }
}