body{
    font-size: 16px;
    color: #000;
    font-family: serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-bottom: 100px;
    background-color: #fff;
    scroll-behavior: smooth;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a{
    text-decoration: none;
    color: #fff;
}
li{
    list-style: none;
}
h2{
    font-size: 1.5rem;
}
.fadeUp{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}
.fadeUp.inView{
    transform: translateY(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeLeft{
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s;
}
.fadeLeft.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeRight{
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s;
}
.fadeRight.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeBlur{
    opacity: 0;
    filter: blur(10px);
    transition: all 0.8s;
}
.fadeBlur.inView{
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.3s;
}
/* header */
.header-fixed{
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    z-index: 300;
    transition: all 0.5s;
}
.header-flex{
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.logo{
    width: 40%;
}
.logo a{
    display: flex;  
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-size: 30px;
    color: #fff;
}
.logo-img{
    width: 200px;
    height: 100%;
}
.logo-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ハンバーガーメニュー */
.hamb {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    position: relative;
    z-index: 300;
  }
  .black-bg ul{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .black-bg ul li {
    text-align: center;
    padding: 20px 0;
  }
  
  .black-bg ul li a {
    color: #fff;
    font-size: 18px; 
    font-weight: bold;
    display: block;
    text-decoration: none;
}
  
  .line {
    position: absolute;
    width: 27px;
    height: 1px;
    background-color: #fff;
    z-index: 301;
}
.line:nth-child(1){
    top: 20%;
  } 

  .line:nth-child(2)  {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .line:nth-child(3)  {
    bottom: 20%;
  }
  
  .black-bg {
    position: fixed;
    background: #272727;
    top: 0;
    right: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    z-index: 200;
    transition: opacity 0.6s, visibility 0.35s ,width 0.35s;
  }
  
  .black-bg.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
  }
  
  #hamb.active .line {
    background-color: #fff;
  }
  
  /*アニメーション*/
  .black-bg {
    transition: opacity 0.6s, visibility 0.35s, width 0.35s;
  }
  #hamb.active .line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
  #hamb.active .line:nth-child(2) {
      opacity: 0;
  }
  #hamb.active .line:nth-child(3) {
    bottom: 45%;
    transform: rotate(45deg);
  }
  .animation {
    transition: all .9s;
  }
  
  /* top */
.menu-top{
    width: 100%;
    height: auto;
    position: relative;
}
.top-menu-img{
    width: 100%;
    height: 280px;
    position: relative;
    z-index: 5;
}
.top-menu-img::before{
    content: "";
    width: 100%;
    height: 40%;
    position:absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(transparent, #fff); /* 上から下に濃くなるグラデーション */
    z-index: 10; /* 画像の上に表示 */
}
.top-menu-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-menu-title{
    width: 100%;
    text-align: center;
    padding: 20px 0; /* タイトルの内側の余白を設定 */
    color: #000; /* テキスト色 */
}
.menu-title{
    margin: 20px 0;
}
.menu-title h2{
    font-size: 40px;
    position: relative;
}
.menu-title h2::before{
    content: "施術メニュー";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}
.menu-title p{
    margin-top: 20px;
}
.menu-list{
    width: 100%;
    height: auto;
}
.menu-list ul{
    width: 50%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
}
.menu-list li{
    width: 45%;
    height: 150px;
}
.menu-content h4{
    color: #3C3C3C;
}
.menu-content h4 span{
    font-size: 20px;
    color: #000;
    border-bottom: #000 1px solid;
}
.menu-list a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.menu-list a::after{
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    text-shadow: #fff 1px 1px 10px;
    transform: translate(-50%,-50%);
}
.mlist1 a::after{
    content: "初回施術";
}
.mlist2 a::after{
    content: "2回目以降";
}
.menu-list img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(20%);
    transition: all 0.3s;
}
.menu-list img:hover{
    filter: brightness(100%);
}
.menu-content{
    width: 95%;
    height: 100%;
    margin: 0 auto;
    background-color: #272727;
}
.m-content{
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
    scroll-margin-top: 30vh; /* 画面の50%の高さに */
}
.second-title{
    width: 100%;
    color: #fff;
    text-align: center;
    margin-bottom: 100px;
}
.second-title span{
    font-size: 30px;
}
.content-title{
    width: 100%;
    padding-bottom: 20px;
    border-bottom: rgba(255, 255, 255, 0.3) 1px solid;
    color: #fff;
}
.content-title p{
    padding-top: 5px;
    font-size: 14px;
}
.m-content ul{
    width: 100%;
    padding-top: 20px;
}
.m-content li{
    width: 100%;
    height: 100%;
    background-color: #fff;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    border-radius: 10px;
}
/* CTAコンテナのスタイル */
.cta-container {
    width: 100%;
    display: flex;
    justify-content: space-around; /* 3つのCTAを均等に配置 */
    padding: 5px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05); /* 上部に軽い影を追加 */
    transition: background-color 0.3s ease-in-out;
}

/* CTAボタンのベーススタイル */
.cta {
    width: 49%; /* 3つのCTAボタンの幅を均等に */
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 10px; /* ボタンを丸く */
    text-decoration: none;
    transition: all 0.3s ease; /* 全体的なトランジション */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* ボタンに影を追加 */
    position: relative;
    overflow: hidden;
}

/* 背景アニメーション用の擬似要素 */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
    transform: translate(-50%, -50%);
    transition: transform 0.6s ease;
    opacity: 0;
}

/* ホバー時のアクション */
.cta:hover {
    transform: translateY(-5px); /* 少し上に浮かぶ効果 */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* ホバー時に影を濃く */
    letter-spacing: 1px; /* テキストの間隔を広げて視認性を高める */
}

.cta:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* 各CTAボタンのグラデーション背景を設定 */
.cta.cta-1 {
    background-color: #000; /* 青紫のグラデーション */
}

.cta.cta-1:hover {
    background: linear-gradient(135deg, #5a0eb6 0%, #1f5dbf 100%); /* ホバー時に少し濃く */
}

.cta.cta-2 {
    background-color: #000; /* 赤オレンジのグラデーション */
}

.cta.cta-2:hover {
    color: #000;
    background-color: #fff; /* ホバー時に少し濃く */
    border: 1px solid #000;
}

.cta.cta-3 {
    background-color: #3C3C3C; /* 緑のグラデーション */
}

.cta.cta-3:hover {
    color: #000;
    background-color: #fff; /* ホバー時に少し濃く */
    border: 1px solid #000;
}

/* ボタンのテキストに軽い影を追加して立体感を出す */
.cta span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* ホバー時に文字が少し浮き上がる */
.cta:hover span {
    transform: translateY(-3px);
}

/* CTAボタンを押しやすくするアニメーション (脈打つ効果) */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* 少し大きくして注目させる */
    }
    100% {
        transform: scale(1);
    }
}

/* 初期状態でレスポンシブテキストを非表示 */
.responsive-text {
    display: none;
}

/* デスクトップサイズの時の表示 */
.desktop-text {
    display: inline;
}
footer{
    width: 100%;
    height: 100%;
    background-color: #fff;
}
footer p{
    width: 100%;
    text-align: center;
    color: #272727;
}
  /* 480px以下の画面での対応 */
@media (max-width: 480px) {
    .black-bg {
        width: 80vw;
    }
    .logo span{
        padding-left: 0;
    }
    .logo-img{
        width: 100px;
    }
    /* header */
    .header-fixed{
        height: 35px;
    }
    .hamb{
        height: 30px;
    }
    .logo a{
        font-size: 20px;
    }
    /* top */
    .menu-list ul{
        flex-wrap: wrap;
        width: 80%;
    }
    .menu-list li{
        width: 47%;
        height: 100px;
        margin-top: 20px;
    }
    .menu-content h4 span{
        font-size: 14px;
    }
    .mlist1 a::after{
        font-size: 14px;
    }
    .mlist2 a::after{
        font-size: 14px;
    }
    .menu-content{
        width: 100%;
    }
    .m-content{
        width: 95%;
        scroll-margin-top: 40vh; /* 画面の50%の高さに */
    }
    .second-title{
        margin-bottom: 50px;
    }
    .second-title span{
        font-size: 25px;
    }
    .m-content li{
        padding: 20px;
    }
    .m-content h4{
        font-size: 10px;
    }
    .m-content h4 br{
        display: block;
    }
    .price{
        display: flex;
        align-items: flex-end;
    }
    .b{
        font-size: 14px;
    }
    .s{
        font-size: 10px;
    }
    .li-box{
        font-size: 10px;
        vertical-align: bottom;
    }
    .cta-container {
        flex-direction: row; /* 小さい画面でも横並びを維持 */
        padding: 8px;
    }
    .cta {
        padding: 8px; /* ボタンの余白をさらに減らす */
        font-size: 14px; /* フォントサイズをさらに小さく */
        margin: 0 5px; /* ボタン間の余白を狭める */
    }
    .desktop-text {
        display: none;
    }
    .responsive-text {
        display: inline;
    }
}