/* ↓-----　全体　----------------------------------------↓ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  transition: all 2s;
  scroll-behavior: smooth;
  background-color: #fff;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.fv-inner,
.about-inner,
.shop-inner,
.hairstyle-inner,
.menu-inner,
.product-inner,
.recruit-inner,
.creative-inner {
  width: 100%;
  max-width: none;
}

video {
  width: 100%;
  height: auto;
  display: block;
}

/* SP（768px以下）では非表示 */
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

/* PC（769px以上）では表示（通常表示） */
@media (min-width: 769px) {
  .pc-only {
    display: block;
  }
}

.text-image {
  transition: filter 0.3s ease;
  filter: none;
}

.text-image:hover {
  filter: brightness(0.5) sepia(0.9) hue-rotate(88deg) saturate(2);
}

/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
.fv-inner,
.about-inner,
.shop-inner,
.hairstyle-inner,
.menu-inner,
.product-inner,
.recruit-inner,
.creative-inner,
.text-image,
video {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ↑-----　全体　----------------------------------------↑ */



/* ↓-----　header　----------------------------------------↓ */

/* ヘッダー全体 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 3000;
  background: transparent;
  border: none;
  mix-blend-mode: difference;
  transition: mix-blend-mode 0.3s ease;
}

/* メニュー開時の反転解除 */
.site-header.menu-open {
  mix-blend-mode: unset !important;
}

/* 内部コンテナ（左右配置） */
.header-inner {
  display: flex;
  justify-content: space-between; /* 左右端に配置 */
  align-items: center;
  width: 100%;
}

/* ロゴ */
.header-logo img {
  height: auto;
  filter: brightness(1.1);
  display: block;
}

@media (max-width: 768px) {
  .header-logo img {
    width: 17%;
    margin-left: 8px;
    margin-top: 4px;
  }
}

@media (min-width: 769px) {
  .header-logo img {
    width: 26%;
    margin-left: 10px;
    margin-top: 20px;
  }
}

/* 右側（予約ボタン＋メニュー）を横並びにする */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px; /* reserveボタンとメニューボタンの間隔 */
}

/* 予約ボタン */
.header-reserve img {
  display: block;
  height: 28px; /* 必要に応じて調整 */
  width: auto;
}

/* メニュー（右端） */
.header-menu-toggle {
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  mix-blend-mode: inherit;
}

.header-menu-toggle .bar {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.header-menu-toggle.active {
  mix-blend-mode: normal !important;
}

.header-menu-toggle.active .bar {
  background: #fff !important;
}

.header-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.header-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}
.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.header-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80vw;
  max-width: 420px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 30;
  overflow: hidden;
  background-color: #085040;
}

.header-menu-panel.active {
  transform: translateX(0);
}

.header-menu-panel a {
  position: absolute;
  display: block;
}

.header-menu-panel .text-image {
  position: absolute;
  display: block;
}

.header-menu-panel a img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}

@media (min-width: 769px) {
  .header-menu-panel a:hover img {
    filter: brightness(1.0) sepia(0.6) hue-rotate(65deg) saturate(2.8);
    cursor: pointer;
  }
}

.hamburger-about         {width: 18%; top: 12%; left: 20%; }
.hamburger-shop          {width: 13%; top: 25%; left: 20%; }
.hamburger-shop-teramati {width: 20%; top: 32%; left: 20%; }
.hamburger-shop-karasuma {width: 25.5%; top: 32%; left: 46%; }
.hamburger-menu          {width: 14%; top: 45%; left: 20%; }
.hamburger-hairstyle     {width: 27%; top: 45%; left: 50%; }
.hamburger-access        {width: 18.5%; top: 55%; left: 20%; }
.hamburger-products      {width: 25%; top: 55%; left: 50%; }
.hamburger-recruit       {width: 18%; top: 65%; left: 20%; }
.hamburger-qa            {width: 9%; top: 65%; left: 50%; }
.hamburger-insta         {width: 20%; top: 75%; left: 20%; }
.hamburger-insta-teramati{width: 20%; top: 78%; left: 20%; }
.hamburger-insta-karasuma{width: 25%; top: 80.5%; left: 20%; }
.hamburger-hpb           {width: 34%; top: 75%; left: 50%; }
.hamburger-hpb-teramati  {width: 20%; top: 78%; left: 52%; }
.hamburger-hpb-karasuma  {width: 25%; top: 80.5%; left: 52%; }

/* 非リンク項目はカーソル変更＆色変換を無効化 */
.hamburger-insta,
.hamburger-hpb {
  cursor: default;
  filter: none !important;
}

body {
  overflow-x: hidden;
}

/* ↑-----　header　----------------------------------------↑ */



/* ↓-----　fv　----------------------------------------↓ */

#fv {
  position: relative;
  overflow: visible;
}

@media (min-width: 781px) {
  #fv {
    aspect-ratio: 1497 / 908.325;
  }
}

@media (max-width: 780px) {
  #fv {
  }
}

.fv-inner {
  position: relative;
  overflow: visible;
}

.fv-inner picture,
.fv-inner img {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.fv-scroll-text {
  position: absolute;
  width: 3.5%;
  right: 10%;
  top: 78%;
  z-index: 5;
  pointer-events: none;
}

.fv-scroll {
  position: absolute;
  right: 20%;
  top: 63%;
  z-index: 10;
}

.fv-scroll::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 300px;
  background-color: #085040;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: scaleY(0);
    transform-origin: 0 0;
    opacity: 0;
  }
  49% {
    transform: scaleY(1);
    transform-origin: 0 0;
    opacity: 1;
  }
  50% {
    transform: scaleY(1);
    transform-origin: 0 100%;
    opacity: 1;
  }
  100% {
    transform: scaleY(0);
    transform-origin: 0 100%;
    opacity: 0;
  }
}

@media (min-width: 781px) {
  .fv-scroll-text {
    left: 10%;
    top: 85%;
    width: 0.8%;
    z-index: 5;
  }

  .fv-scroll {
    left: 8%;
    top: 72%;
    z-index: 10;
  }

  .fv-scroll::before {
    width: 2px;
    height: 300px;
    background-color: #ffffff;
    animation: scroll 2s infinite;
  }
}

@media (max-width: 780px) {
  .fv-scroll-text {
    right: 8%;
    top: 93.5%;
    width: 3.5vw;
  }

  .fv-scroll {
    right: 18%;
    top: 83%;
  }

  .fv-scroll::before {
    height: 160px;
  }
}

/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
#fv,
.fv-inner,
.fv-inner picture,
.fv-inner img,
.fv-scroll-text,
.fv-scroll,
.fv-scroll::before {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ↑-----　fv　-----------------------------------↑ */

/* ↓-----　about　----------------------------------------↓ */
@media (min-width: 781px) {
  #about {
    aspect-ratio: 1905 / 6823;
  }
}
@media (max-width: 780px) {
  #about {
  }
}

#about_base {
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

#about_back {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  background: #f9f9f9;
  overflow: hidden;
  z-index: 0;
}

@media (max-width: 768px) {
  .sp-space {
    height: 30vw;
  }
}

@media (min-width: 769px) {
  .sp-space {
    display: none;
  }
}

@media (max-width: 768px) {
  #about_back picture img {
    transform: translateX(-14%) !important;
    width: 120% !important;
    display: block;
  }
}

@media (min-width: 769px) {
  #about_back picture img {
    transform: none;
    width: 100%;
    display: block;
  }
}

.about-text {
  position: absolute;
  top: 3.7%;
  left: 50%;
  width: 20%;
  transform: translateX(-50%);
  z-index: 2;
}

@media (min-width: 769px) {
  .about-text {
    width: 7%;
  }
}

#about_img_base {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 1;
}

#about_img_base>div {
  position: absolute;
  will-change: transform;
  backface-visibility: hidden;
  pointer-events: none;
}

#about_img_base .about-image-photo img {
  mask: url(https://jester-salon.com/img/TE-7109/sp/about/mask.png) no-repeat;
  mask-position: 100% 0;
  mask-size: 100% 400%;
  transition: mask 3.5s cubic-bezier(.3, 1, .7, 1);
  transform: scale(1);
}

#about_img_base .about-image-photo.is-active img {
  mask-position: 100% 100%;
  animation: about_img_move 0.5s cubic-bezier(0.4, 0, 1, 1) both;
  opacity: 1;
}

#about_img_base .about-image-text {
  width: 100%;
  mix-blend-mode: difference;
  filter: invert(1);
}

@media (max-width: 768px) {
  #about_img_base .about-image-text.pc-only {
    display: none;
  }
}

#about_img_base .about-image-text img {
  mix-blend-mode: difference;
  filter: invert(1);
}

#about_img_base>div:nth-of-type(10),
#about_img_base>div:nth-of-type(10) img {
  mix-blend-mode: normal !important;
  filter: none !important;
}

@keyframes about_img_move {
  from {
    opacity: 0;
    transform: scale(1.05);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#about_img_base>div:nth-of-type(1) {width: 70%; top: 7.75%; right: 0;}
#about_img_base>div:nth-of-type(2) {width: 24%; top: 22.75%; left: 12%;}
#about_img_base>div:nth-of-type(3) {width: 64%; top: 28%; right: 4%;}
#about_img_base>div:nth-of-type(4) {width: 74%; top: 44%; right: 0;}
#about_img_base>div:nth-of-type(5) {width: 54%; top: 55%; left: 11%;}
#about_img_base>div:nth-of-type(6) {width: 68%; top: 58.5%; right: 4%;}
#about_img_base>div:nth-of-type(7) {width: 50%; top: 75%; left: 0;}
#about_img_base>div:nth-of-type(8) {width: 80%; top: 80%; right: 0;}
#about_img_base>div:nth-of-type(9) {width: 60%; top: 90%; left: 14%;}

#about_img_base>div:nth-of-type(10) {top: 6.5%; left: 2%;}
#about_img_base>div:nth-of-type(11) {top: 18.75%; right: 2%;}
#about_img_base>div:nth-of-type(12) {top: 35%; left: 2%;}
#about_img_base>div:nth-of-type(13) {top: 48%; right: 1.2%;}
#about_img_base>div:nth-of-type(14) {top: 66.4%;}

@media (min-width: 769px) {
  #about_img_base>div:nth-of-type(1) {width: 45%; right: 4.5%; top: 8.3%;}
  #about_img_base>div:nth-of-type(2) {width: 12%; top: 18%; left: 5.5%;}
  #about_img_base>div:nth-of-type(3) {width: 25.8%; top: 21.4%; left: 25%;}
  #about_img_base>div:nth-of-type(4) {width: 38%; left: 10%; top: 36.2%;}
  #about_img_base>div:nth-of-type(5) {width: 18%; top: 46%; left: 30%;}
  #about_img_base>div:nth-of-type(6) {width: 54%; top: 48.3%; right: 0%;}
  #about_img_base>div:nth-of-type(7) {width: 35%; top: 70%; left: 8%;}
  #about_img_base>div:nth-of-type(8) {width: 100%; top: 79%;}
  #about_img_base>div:nth-of-type(9) {width: 20%; top: 85%; left: 45%;}
  #about_img_base>div:nth-of-type(10) {left: 0%;}
  #about_img_base>div:nth-of-type(11) {top: 18%;}
  #about_img_base>div:nth-of-type(12) {top: 27.5%;}
  #about_img_base>div:nth-of-type(13) {top: 44.5%; left: 0%;}
  #about_img_base>div:nth-of-type(14) {top: 54.5%; right: 4%;}
  #about_img_base>div:nth-of-type(15) {top: 86.8%; right: 1%;}
}

/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
#about,
#about_base,
#about_back,
#about_back picture img,
#about_img_base,
#about_img_base>div,
#about_img_base .about-image-photo img {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ↑-----　about　----------------------------------------↑ */


/* ↓-----　shop　----------------------------------------↓ */
#shop {
  width: 100%;
}

.shop-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* テキストタイトル共通 */
.shop-text {
  position: relative;
  width: 16%;
  padding-top: 50vw;
}

/* 店舗共通背景・前景 */
.shop-bg-teramachi,
.shop-bg-karasumaoike {
  position: relative;
}

.shop-fg-teramachi,
.shop-fg-karasumaoike {
  position: absolute;
  width: 100%;
}

.shop-animation {
  transition: transform 0.1s ease-in-out;
}

/* 店舗テキスト画像（個別調整） */
.teramachi-c,
.karasuma-re {
  display: block;
  width: 100%;
}

/* ================================================
   SP（スマホ）版設定 〜780px
================================================ */
@media (max-width: 780px) {
  .shop-text {
    width: 16%;
    padding-top: 50vw;
  }

  .shop-bg-teramachi {
    padding: 20vw 5vw 10vw 5vw;
  }

  .shop-bg-karasumaoike {
    padding: 0 5vw 20vw 5vw;
  }

  .shop-fg-teramachi {
    top: 50px;
    right: 5%;
    padding: 20vw 10vw 10vw 10vw;
  }

  .shop-fg-karasumaoike {
    top: 30px;
    left: -18%;
  }

  /* テキスト画像微調整 */
  .teramachi-c {
    width: 95%;
    position: absolute;
    left: 10%;
  }

  .karasuma-re {
    width: 97%;
    position: absolute;
    left: 10%;
  }
  .shop-animation { transition: none !important; }
}

/* ================================================
   PC版設定（デスクトップ）781px〜
================================================ */
@media (min-width: 781px) {
  #shop {
    aspect-ratio: 1497 / 1752.44; /* PC比率 */
  }

  .shop-text {
    width: 6.5%;
    padding-top: 20vw;
  }

  .shop-bg-teramachi {
    padding-top: 140px;
    padding-bottom: 90px;
  }

  .shop-bg-karasumaoike {
    padding-top: 0;
  }

  .shop-fg-teramachi {
    padding: 0;
    top: 28%;
    left: 20.5%;
  }

  .shop-fg-karasumaoike {
    padding: 0;
    top: 8%;
    left: 20%;
  }

  .shop-animation {
    transition: transform 0.7s ease-out;
  }

  /* テキスト画像微調整 */
  .teramachi-c {
    transform: translate(2%, -1%);
    position: absolute;
    right: 20%;
  }

  .karasuma-re {
    transform: translate(-2%, 0%);
    position: absolute;
    right: 20%;
  }
}


/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
#shop,
.shop-container,
.shop-text,
.shop-bg-teramachi,
.shop-bg-karasumaoike,
.shop-fg-teramachi,
.shop-fg-karasumaoike,
.shop-animation {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ↑-----　shop　----------------------------------------↑ */



/* ↓-----　hairstyle　----------------------------------------↓ */
#hairstyle {
  position: relative;
}

#hairstyle .image {
  height: 100vh;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 780px) {
  #hairstyle #new-arrival .sp-horizontal-content {
    display: flex;
    gap: 2.05128vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #hairstyle #new-arrival .sp-horizontal-content > * {
    scroll-snap-align: start;
  }

  #hairstyle #new-arrival {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}

@media (min-width: 781px) {
  #hairstyle #new-arrival {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }

  #hairstyle #new-arrival .sp-horizontal-content {
    display: flex;
    gap: 0;
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  #hairstyle .ha-spacer {
    width: 100%;
    height: 0;
  }
}

/* ===== ヘアスタイルスライド画像（SPのみ表示） ===== */
@media (max-width: 780px) {
  #hairstyle #new-arrival .hairstyle-slide {
    position: absolute; /* 親の #new-arrival を基準に重ねる */
    top: 90%;
    left: 10%;
    pointer-events: none; /* 下の横スクロールを邪魔しない */
    z-index: 2; /* horizontal-content の上に重ねる */
    display: block; /* SP版では表示 */
    width: 10%;
  }

  #hairstyle #new-arrival .hairstyle-slide img {
    /* width: 100%; */
    object-fit: cover;
    display: block;
    opacity: 0.8; /* 必要に応じて調整 */
    transform: translateZ(0);
  }
}

/* PC版では非表示 */
@media (min-width: 781px) {
  #hairstyle #new-arrival .hairstyle-slide {
    display: none;
  }
}

/* ===== ヘアスタイル横スクロールバー（SPのみ表示） ===== */
@media (max-width: 780px) {
  .ha-scroll {
    position: absolute;
    /* hairstyle-slide の下に合わせる */
    top: calc(90% + 20px); /* スライドの top:90% の下に20pxの余白をとって配置 */
    left: 10%;             /* スライドと同じ水平位置に合わせる */
    width: 60%;            /* スライド幅よりやや短く（バランス用） */
    height: 1px;           /* 線の太さ */
    background-color: transparent;
    overflow: hidden;
    z-index: 3;            /* スライドより上に */
    pointer-events: none;  /* 操作を邪魔しない */
  }

  .ha-scroll::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* 黒 */
    transform: scaleX(0);
    transform-origin: 0 0;
    opacity: 0;
    animation: scroll-horizontal 2s infinite;
  }

  @keyframes scroll-horizontal {
    0% {
      transform: scaleX(0);
      transform-origin: 0 0;
      opacity: 0;
    }
    49% {
      transform: scaleX(1);
      transform-origin: 0 0;
      opacity: 1;
    }
    50% {
      transform: scaleX(1);
      transform-origin: 100% 0;
      opacity: 1;
    }
    100% {
      transform: scaleX(0);
      transform-origin: 100% 0;
      opacity: 0;
    }
  }
}


/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
#hairstyle,
#hairstyle #new-arrival,
#hairstyle #new-arrival .sp-horizontal-content,
#hairstyle .image {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ↑-----　hairstyle　----------------------------------------↑ */


/* ↓-----　menu　----------------------------------------↓ */

#menu_base {
  margin: 10% 0;
}

#menu_back {}

#menu_fit_contents_base {
  position: sticky;
  top: 0;
  overflow: hidden;
}

#menu_movie {
  display: flex;
  text-align: center;
  height: 50%;
  justify-content: center;
  flex-direction: column;
  margin-top: 40px;
  position: relative;
}

#menu_movie video {
  width: 100%;
  height: 100%;
}

#menu_text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
}

#menu_bar_base {
  margin: auto;
  position: absolute;
  top: 6%;
  width: min(0.1vw, 1px);
  height: 26%;
  left: 6%;
  background: #105040;
}

#menu_bar {
  position: absolute;
  width: min(0.45vw, 6px);
  height: 10%;
  top: 0;
  background: #105040;
}

@media (max-width: 769px) {
  #menu_bar_base,
  #menu_bar {
    display: none;
  }
}

#menu_icon_base {
  position: absolute;
  bottom: 2%;
  height: 2%;
  right: 0;
  width: 100%;
  padding: 0 70px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu_icon {
  width: min(0.6vw, 8px);
  background: #666465;
  border-radius: 50%;
  margin: 0.55vw;
  aspect-ratio: 1 / 1;
}

.menu_icon.active {
  background: #115040;
}

@media (max-width: 769px) {
  #menu_icon_base,
  .menu_icon {
    display: none;
  }
}

#menu_text img {
  grid-area: 1 / 1;
  width: 60%;
  margin: 0 auto;
  transition: opacity 0.7s;
  opacity: 1;
}

#menu_text img:nth-of-type(1),
#menu_text img:nth-of-type(2) {
  opacity: 1;
}

#menu_text > picture {
  grid-area: 1 / 1;
  width: 400%;
  margin: 0 auto;
  transition: opacity 0.7s;
}

#menu_text > picture > img {
  display: block;
  width: 100%;
  height: auto;
}

#menu_text > picture:nth-of-type(1) {
  opacity: 0;
}
#menu_text > picture:nth-of-type(2) {
  opacity: 1;
}

@media (max-width: 768px) {
  #menu_img_base {
    transform: translateX(0);
    will-change: transform;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 50px;
  }

  #menu_img_base > img {
    display: block;
    width: 250%;
    flex: 0 0 auto;
    height: auto;
  }

  #menu_img_base > picture {
    display: block;
    width: 250%;
    flex: 0 0 auto;
  }

  #menu_img_base > picture > img {
    display: block;
    width: 100%;
    height: auto;
  }
}

#menu_text {
  width: 10%;
  top: 103%;
  left: 5%;
}

@media (min-width: 769px) {
  #menu {
    aspect-ratio: 950 / 3600;
  }

  #menu_fit_contents_base {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: stretch;
    gap: var(--gutter, 0);
    height: auto;
    overflow: visible;
  }

  #menu_movie {
    position: sticky;
    top: 5vh;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 50%;
    left: 15%;
    padding: 70px;
  }

  #menu_movie video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #menu_right {
    position: relative;
    width: 100%;
    height: 100%;
    right: 17%;
    top: auto;
    overflow: hidden;
  }

  #menu_right #menu_img_base {
    position: absolute;
    inset: 0;
    display: block;
    will-change: transform;
    transform: translateY(0);
    width: auto;
  }

  #menu_right #menu_img_base > picture,
  #menu_right #menu_img_base > img {
    display: block;
    width: 100%;
    height: auto;
  }

  #menu_img_base {
    transform: none;
    display: block;
    flex: none;
    width: auto;
  }

  #menu_text {
    position: absolute;
    top: 57%;
    left: -26%;
    width: 70%;
  }

  #menu_text picture,
  #menu_img_base picture {
    display: block;
  }

  #menu_text picture > img,
  #menu_img_base picture > img {
    display: block;
    width: 100%;
    height: auto;
  }
}

#menu {
  top: 50%;
  width: 100%;
}

/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
#menu,
#menu_base,
#menu_fit_contents_base,
#menu_movie,
#menu_movie video,
#menu_text,
#menu_text picture,
#menu_img_base,
#menu_img_base picture,
.menu_icon {
  transform: translateZ(0);
  will-change: transform, opacity;
}

/* ↑-----　menu　----------------------------------------↑ */



/* ↓-----　products　----------------------------------------↓ */

.products-container {
  position: relative;
  width: 100%;
  display: block;
  margin-top: 200px;
}

.reveal-target {
  width: 100%;
  display: block;
  --side: 45%;
  clip-path: inset(0 var(--side) 0 var(--side));
  transition: clip-path 0.06s linear;
}

.products-text {
  position: absolute;
  top: 76%;
  right: 13%;
  width: 36%;
}

.products-link {
  position: absolute;
  top: 90%;
  right: 14%;
  width: 27%;
}

@media screen and (min-width: 781px) {
  .products-container {
    margin-top: 800px;
    margin-bottom: 400px;
  }

  .products-text {
    top: 56%;
    left: 10%;
    width: 12%;
  }

  .products-link {
    top: 60%;
    right: 12%;
    width: 6%;
  }
}

@media (min-width: 781px) {
  .products-scroll {
    position: absolute;
    top: 55%;
    right: 6%;
    width: 250px;
    height: 1px;
    background-color: transparent;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
  }

  .products-scroll::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* 黒 */
    transform: scaleX(0);
    transform-origin: 0 0;
    opacity: 0;
    animation: scroll-horizontal 2s infinite;
  }

  @keyframes scroll-horizontal {
    0% {
      transform: scaleX(0);
      transform-origin: 0 0;
      opacity: 0;
    }
    49% {
      transform: scaleX(1);
      transform-origin: 0 0;
      opacity: 1;
    }
    50% {
      transform: scaleX(1);
      transform-origin: 100% 0;
      opacity: 1;
    }
    100% {
      transform: scaleX(0);
      transform-origin: 100% 0;
      opacity: 0;
    }
  }
}

/* ===== ブラウザ間アニメーション差を抑える安定化設定 ===== */
.products-container,
.reveal-target,
.products-text,
.products-link {
  transform: translateZ(0);
  will-change: transform, opacity, clip-path;
}

/* ↑-----　products　----------------------------------------↑ */



/* ↓-----　recruit　----------------------------------------↓ */
.recruit-inner {
  margin-top: 100px;
  margin-bottom: 100px;
}

@media screen and (min-width: 781px) {
  .recruit-inner {
    padding: 160px;
    margin-bottom: 400px;
  }
}

/* ↑-----　recruit　----------------------------------------↑ */

/* ↓-----　access　----------------------------------------↓ */
#access {
  display: block;
  /* 初期状態：SP版では表示 */
}

@media screen and (min-width: 781px) {

  /* PC版では非表示にする */
  #access {
    display: none;
  }
}

/* ↑-----　access　----------------------------------------↑ */

/* ↓-----　footer　----------------------------------------↓ */
/* 見える領域 */
.pre-footer-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 66vw;
  overflow: hidden;
}

@media (min-width: 769px) {
  .pre-footer-frame {
    height: 50vw;
  }
}

/* 背景要素 */
.pre-footer-bg {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

/* ロゴ */
.pre-footer-logo {
  position: absolute;
  width: 10vw;
  height: 10vw;
}

@media screen and (min-width: 781px) {
  .footer-sp {
    display: none;
  }

  .footer-pc {
    display: flex;                 /* 横並び（フレックスレイアウト）を有効化 */
    align-items: stretch;          /* 縦方向は同じ高さに伸ばす（stretch動作） */
    justify-content: flex-start;   /* 子要素を左詰め（space-betweenは余白を作るため不採用） */
    gap: 0;                        /* フレックスアイテム間のギャップ（余白）を無しにする */
  }

  /* footer-list を自由配置の基準にする */
  .footer-list {
    position: relative;            /* 子要素をabsolute配置するための基準 */
    flex: 1 1 auto;                /* 残り幅をすべて使用（width:100% は外す） */
    min-width: 0;                  /* 収まりきらない場合に縮められるようにする（Flexの縮小許可） */
    background-color: #085040;   /* レイアウト確認用の背景（任意） */
  }

  /* 右側：画像サイズに合わせる（固定幅） */
  .footer-access {
    flex: 0 0 auto;                /* 中身（画像）の実サイズで幅を決める */
    margin-left: auto;             /* 右端に寄せる（左側の余白を吸収して寄せる） */
    display: flex;
    align-items: center;           /* 高さ内での縦位置を中央寄せ */
  }

  /* accessの画像サイズはそのまま */
  .footer-access img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .footer-text-about   { position:absolute; top: 20%;  left:  8%; width:8%;}
  .footer-text-shop    { position:absolute; top: 45%;  left: 8%;  width:5%;}
  .footer-text-shop-teramati { position:absolute; top: 55%;  left: 8.2%; width: 10%;}
  .footer-text-shop-karasuma { position:absolute; top: 55%;  left: 23%; width: 12%;}
  .footer-text-menu    { position:absolute; top: 20%;  left: 40%; width: 6.2%;}
  .footer-text-hairstyle { position:absolute; top: 20%;  left: 55%; width: 11.7%;}
  .footer-text-qa { position:absolute; top: 19.8%;  left: 74%; width: 4.5%;}
  .footer-text-recruit { position:absolute; top: 35%;  left: 40%; width: 8%;}
  .footer-text-products{ position:absolute; top: 35%;  left: 55%; width: 10.3%;}
  .footer-text-insta   { position:absolute; top: 80%;  left: 8%; width:8%; }
  .footer-text-insta-teramati { position:absolute; top: 80.2%; left:20%; width: 9%;}
  .footer-text-insta-karasuma { position:absolute; top: 85%; left: 20%; width: 12%;}
  .footer-text-hpb     { position:absolute; top: 80%; left: 38%; width: 14.5%;}
  .footer-text-hpb-teramati { position:absolute; top: 80.2%; left: 55%; width: 9%;}
  .footer-text-hpb-karasuma { position:absolute; top: 85%; left: 55%; width: 12%;}
}

@media screen and (min-width: 781px) and (max-width: 1024px) {
  .footer-text-about          {width: 15%;}
  .footer-text-shop           {width: 9.5%; }
  .footer-text-shop-teramati  {top: 60%; width: 18%; }
  .footer-text-shop-karasuma  {top: 60%; width: 24%; left: 35%;}
  .footer-text-menu           {left: 32%; width: 10.5%; }
  .footer-text-hairstyle      {left: 51%; width: 22%; }
  .footer-text-qa             {left: 80%; width: 9%; }
  .footer-text-recruit        {left: 32%;; width: 14%; }
  .footer-text-products       {left: 51%; width: 20%; }
  .footer-text-insta          {width: 19%; }
  .footer-text-insta-teramati {left: 10%; width: 17%; top: 86%}
  .footer-text-insta-karasuma {left: 10%; width: 23.5%; top: 90%}
  .footer-text-hpb            {left: 45%; width: 32%; }
  .footer-text-hpb-teramati   {left: 47%; width: 17%; top: 86%}
  .footer-text-hpb-karasuma   {left: 47%; width: 23.5%; top: 90%;}
}

@media screen and (max-width: 780px) {

  .footer-pc {
    display: none !important;
    visibility: hidden;
  }
}

/* ↑-----　footer　----------------------------------------↑ */


/* ↓-----　hamburger　----------------------------------------↓ */
/* ↑-----　hamburger　----------------------------------------↑ */