#overlay-button::before,
.header-instagram::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;  /* サイズ調整 */
    height: 35px;
    background: rgba(255, 255, 255, 0.2); /* 半透明オーバーレイ */
    backdrop-filter: blur(5px); /* ぼかし効果 */
    border-radius: 6px; /* 角を丸めた四角 */
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* `position: relative;` を追加して、オーバーレイを正しく配置 */
#overlay-button,
.header-instagram {
    position: relative;
}

/* ---------- 削除禁止設定 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400&family=Noto+Sans+JP:wght@400&display=swap');
html { scroll-behavior: smooth;} /* スムーススクロール */
body{
    overflow-x: hidden; /* 横スクロール禁止 */

    /* 共通フォント */
    font-family: 'Noto Sans', 'Noto Sans JP', sans-serif;
    font-weight: 400;
}

/* 画像設定初期化 */
img{
    width: 100%;
    height: 100%;
    object-fit: contain; /* contain … 比率を維持しながら拡大縮小される */
    white-space:pre; /* altの改行コード（&#13;&#10;）を有効に */
}

/* Safariの一部のバージョンバグ対策 */
* { 
    min-height: 0vw;
    min-height: 0; 
}

/* SP・PC切り替え用 */
@media (min-width: 751px) {
    /* 750px以上 */
    .pc{
        display: block;
    }
    .sp{
        display: none;
    }
}

@media (max-width: 750px) {
    /* 750px以下 */
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
}

/* ---------- 各コンテンツ ---------- */
.content-title{
    display: flex;
    justify-content: center;
}

.content-title img{
    width: max(80%, 350px);
    max-width: 800px;
}

/* スタイリスト_タイトル */
.stylist_title{
    padding: 1vw 0 1vw 0;
}

/* メニュー_タイトル */
.menu_title{
    padding: 13vw 0 6vw 0;
}

/* マップ_タイトル */
.map_title{
    padding: 11vw 0 6vw 0;
}

@media screen and (max-width: 750px) {
    .content-title img{
        width: max(100%, 340px);
        max-width: 600px;
    }

    /* スタイリスト_タイトル（750px以下） */
    .stylist_title{
        padding: 3vw 0 1vw 0;
    }

    /* メニュー_タイトル（750px以下） */
    .menu_title{
        padding: 15vw 0 6vw 0;
    }

    /* マップ_タイトル（750px以下） */
    .map_title{
        padding: 15vw 0 6vw 0;
    }
}

/* ++++++++++++++++++++++++++++++ */
/* ヘッダー                        */
/* ++++++++++++++++++++++++++++++ */
.box {
    position: relative;
    display: flex;
    justify-content: space-between;;
    align-items: center;
    width: 100%;
    height: 90px;
    background: #F4F4F400;
    position: fixed;
    z-index: 111;
} 

.logo{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40%;  
    height: auto;
}

/* ハンバーガーメニュー */
#overlay-button-background {
    /* position: absolute; */
    z-index: 120;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
}

#overlay-button {
   position: absolute;
    cursor: pointer;
    z-index: 130;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#overlay-button span {
    content: '';
    display: inline-block;
    margin: auto;
    height: 3px;
    border-radius: 2px;
    width: 90%;
    background-color: #000;
    position: absolute;
    transition: all 0.25s;
}

#overlay-button span:nth-of-type(1) {
    top: 40%;
}

#overlay-button span:nth-of-type(2) {
    top: 50%;
}

#overlay-button span:nth-of-type(3) {
    top: 60%;
}

#overlay {
    width: 390px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 100%;
    left:100%;
    z-index: 110;
    background:#3e413e;
    transition: all 0.5s;
}

#overlay_sp {
  height: 100%;
  position: fixed;
  top: 0;
  right: 100%;
  left:100%;
  z-index: 110;
  background: #3E413D;
  transition: all 0.5s;
}

#overlay ul {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
    list-style-type: none;
    padding-top: 10vh;
    /*gap: 4vh;*/
    padding-left: 40px;
}


/* #overlay ul li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
} */

#overlay ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    bottom: -6px;
    background-color: #fff;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
    padding: 0 0 0 0;
}

#overlay ul li a:hover::after {
    transform: scale(1, 1);
    transform-origin: right top;
}

/* 751px以上 */
@media (min-width: 751px) {
    .hamburgerMenuMargin{
        margin: 0 0 4vh 0;
    }
}

/* 750px以下 */
/*@media (max-width: 750px) {
    .hamburgerMenuMargin{
        margin: 0 0 1.5vh 0;
    }
}*/

/* ++++++++++++++++++++++++++++++ */
/* FV（ファーストビュー）           */
/* ++++++++++++++++++++++++++++++ */
/* 751px以上 */
@media (min-width: 751px) {
    .fv-img{
        height: 100vh;
        object-fit: cover;
    }
}

/* 750px以下 */
@media (max-width: 750px) {
    .fv-img{
        height: 100%;
    }

    #overlay, #overlay_sp {
        width: 100%;
    }
}

#overlay.action{
    left: calc(100% - 390px);
}

#overlay_sp.action{
  left: 0;
}

.swiper_pc_fv {
    display: block;
}

.swiper_sp_fv {
    display: none;
}

@media (max-width: 450px) {
    #overlay.action{
        left: 0;
    }

    .swiper_pc_fv {
        display: none;
    }
    
    .swiper_sp_fv {
        display: block;
    }
}

/* 閉じるボタン設定 */
.menu input[type=checkbox]:checked~#overlay-button span:nth-of-type(1) {
    top: 50%;
    transform: rotate(-45deg);
    width: 60%;
}

.menu input[type=checkbox]:checked~#overlay-button span:nth-of-type(2) {
    opacity: 0;
    /*真ん中の線は透過*/
}

.menu input[type=checkbox]:checked~#overlay-button span:nth-of-type(3) {
    top: 50%;
    transform: rotate(45deg);
    width: 60%;
}

.web-reservation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    font-size: 14px;
    height: 35px;
    background: #fff;
    color: #000;
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid #00000070;
    /* margin-right: clamp(5px, 5vw, 15px); */
}

@media screen and (max-width: 750px) {
    .web-reservation-button {
        width: 0;
        overflow: hidden;
        padding: 0;
        border: none;
    }
}

.header-instagram{
    cursor: pointer;
    display: flex;
}

@media screen and (max-width: 750px) {
    .header-instagram,
    .web-reservation-button {
      display: none;
    }
}

/* コンセプト */
@media (min-width: 751px) {
    .concept_pc{
        position: relative;
        display: flex;
        justify-content: center;
    }
}


/* +++++++++++++++++++++++++++++++++++++++++++++ */
/* stylist & style（スタイリスト & スタイル）      */
/* +++++++++++++++++++++++++++++++++++++++++++++ */
.stylist-pc{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.swiper-button-prev-pc,
.swiper-button-next-pc{
    width: 25%;
    transform: translateY(4%);
    top: 50%;
    margin-top: auto;
    z-index: 10;
    margin: auto;
    opacity: 0.7;
}

.swiper-button-prev-pc{
    left: 0vw;
}

.swiper-button-next-pc{
    right: 0vw;
}

.swiper-button-prev-pc::after,
.swiper-button-next-pc::after {
    opacity: 0;
    content:'';
}

.stylist-slide {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.stylist-slide.swiper-slide-active {
    opacity: 1; /* 中央のスライドだけ表示 */
}

.stylist-slide img,
.stylist-slide img {
    cursor:default;
}

.stylist-slide.swiper-slide-active img,
.stylist-slide.swiper-slide-active img {
    pointer-events: auto;
    cursor:pointer;
}

.swiper-button-prev-sp,
.swiper-button-next-sp {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 45%;
    cursor: pointer;
    z-index: 10;
}

/* 「前へ」（左）ボタン */
.swiper-button-prev-sp {
    left: 0px;
    background-image: url('https://jester-salon.com/img/TE-5451/left.png');
}

/* 「次へ」（右）ボタン */
.swiper-button-next-sp {
    right: 0px;
    background-image: url('https://jester-salon.com/img/TE-5451/right.png');
}

/* デフォルトの矢印を非表示にする */
.swiper-button-prev-sp::after,
.swiper-button-next-sp::after {
    display: none;
}

/* ++++++++++++++++++++++++++++++ */
/* menu（メニュー）                */
/* ++++++++++++++++++++++++++++++ */
.another-menu-button {
    display: block;
    width: clamp(7px, 40vw, 9rem);
    font-size: clamp(0.8rem, 1vw, 2vw);
    height: auto;
    padding: clamp(0.5rem, 1vw, 2vw);
    background: #000;
    color: #FFF;
    text-align: center;
    letter-spacing: .1rem;
    text-decoration: none;
    border: 1px solid #000;
    margin-right: clamp(5px, 5vw, 15px);

}

@media (min-width: 751px) {
    .another-menu-button {
        margin: 4vw 10vw 0 0;
    }
}

@media (max-width: 750px) {
    .another-menu-button {
        margin: 7vw 10vw 0 0;
    }
}

/* ++++++++++++++++++++++++++++++ */
/* access（住所・マップ）          */
/* ++++++++++++++++++++++++++++++ */
.map {
    width: 50%;
    padding: 2vw;
}

.access{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
}

.address{
    margin: 1.5vw 0 1.5vw 2vw;
    width: auto;
}

@media (min-width: 1300px) {

    .map1300max {
        display: block;
    }
    .map1300min {
        display: none;
    }
    .map750 {
        display: none;
    }
    .map450 {
        display: none;
    }
}

@media (max-width: 1300px) {

    .map1300max {
        display: none;
    }
    .map1300min {
        display: block;
    }
    .map750 {
        display: none;
    }
    .map450 {
        display: none;
    }
}

@media (max-width: 750px) {

    .map1300max {
        display: none;
    }
    .map1300min {
        display: none;
    }
    .map750 {
        display: block;
    }
    .map450 {
        display: none;
    }

    .map {
        width: 80%;
    }
    .access{
        flex-direction: column;
        align-items: center;
    }

    /*.address{
        margin: 5.5vw 0 0 0;
    }*/
}

@media (max-width: 450px) {

    .map1300max {
        display: none;
    }
    .map1300min {
        display: none;
    }
    .map750 {
        display: none;
    }
    .map450 {
        display: block;
    }
}

/* ++++++++++++++++++++++++++++++ */
/* フッター                        */
/* ++++++++++++++++++++++++++++++ */
footer {
    text-align: center;
    padding: 16vw 0 4vw 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 4vw;
    font-size: clamp(14px, 1.5vw, 25px);
}

@media (max-width: 500px) {
    .footer-nav {
        flex-direction: column; /* 縦並びにする */
        align-items: center;   /* 中央揃え */
    }
}

@media (max-width: 750px) {
    /* 750px以下の場合 */
    .footer-nav{
        display: none;
    }
}

.footer-nav a {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: gray;
}