* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Source_Serif_4;
    src: url(../font/Source_Serif_4/static/SourceSerif4-Medium.ttf);
}

@font-face {
    font-family: Noto_Serif_JP;
    src: url(../font/Noto_Serif_JP/static/NotoSerifJP-Regular.ttf);
}

@font-face {
    font-family: EB_Garamond;
    src: url(../font/EB_Garamond/static/EBGaramond-Regular.ttf);
}

body {
    color: #544a47;
}

ul li {
    list-style-type: none;
}



@keyframes hedderTop {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

header {
    display:  block;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    animation: hedderTop  2s;
    transition: 0.5s;
}

header .header-box {
    position: fixed;
    display: flex;
    top: 0;
    width: 100%;
    height: 5vw;
    background-color: #fff;
    z-index: 1000;
    animation: hedderTop  2s;
    transition: 1S;
}

header .header-box h1 {
    width: 5%;
    height: fit-content;
    margin-top: 0.5%;
    margin-left: 3%;
    animation: hedderTop  2s;
}

header .header-box h1 img {
    width: 100%;
}


header .header-box .header .hamburger-overlay {
    display: none;
}


header .header-box .header {
    width: 50%;
    margin-top: 1.5vw;
    margin-left: auto;
}

header .header-box .header nav {
    width: 100%;
    animation: hedderTop  2s;
}

header .header-box .header nav .nav-overlay__content {
    width: 100%;
}

header .header-box .header nav .nav-overlay__content ul {
    display: flex;
}

header .header-box .header nav .nav-overlay__content ul li {
    width: calc( 100% / 7 );
    padding-right: 8%;
    transform: scale(1,1);
    transition: 1s;
}

header .header-box .header nav .nav-overlay__content ul li:hover {
    transform: scale(1.1,1.1);
    transition: 0.8s;
}


header .header-box .header nav .nav-overlay__content ul li a {
    display: block;
    text-decoration: none;
    font-size: 1.1vw;
    font-family: Source_Serif_4;
    color: #544a47;
    transition: 1s;
}

header .header-box .header nav .nav-overlay__content ul li a:hover {
    color: #a99e93;
    transition: 0.8s;
}

  

/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
header.scroll-nav .header-box {
    background-color: rgba(0,0,0,0);
    box-shadow: 0 0.5rem 1rem rgba(84,74,71,0.1);
    transition: 1s;
}


/* ヘッダー文字 */
.top-ttl{
    position: absolute;
    width: 25%;
    top: 45%;
    left: 69%;
    z-index: 100;
}

.textanimation {
    font-size: 2.8vw;
    color: #544a47;
    font-family: EB_Garamond;
}

@keyframes showText {
0%{
    transform: translateY(100%);
    opacity: 0;
}
100%{
    transform: translateY(0px);
    opacity: 1;
}
}

.textanimation span {
animation: showText 3s backwards;
display: inline-block;
}
.textanimation > span {
overflow: hidden;
}
.textanimation > span > span {
animation: showText 0.5s backwards;
}

/* ヘッダー画像 */

.service-topimg {
    width: 100%;
    height: 60vw;
    position: absolute;
    background-image: url(../images/service-top.jpg);
    opacity: 0.8;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 10;
    animation: hedderTop  5s;
}



/* スライドイン */
.box {
    aspect-ratio: 16 / 9;
    background-color: #fffffc;
    /* opacity: 0; visibility: hidden;で要素を非表示にする。
    display: noneでも非表示にできるが、transitionが効かなくなる */
    opacity: 0;
    visibility: hidden;
    transition: all 3s;
    transform: translateY(150px);
}
.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* main sec1  */

main .sec1-top {
    display: flex;
    margin-top: 12%;
}

main .sec1-top .img-frame {
    position: relative;
    width: 46%;
    height: 38vw;
    margin-left: 2%;
    margin-right: 2%;
    overflow: hidden;
}

main .sec1-top .img-frame .sec1 {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

main .sec1-top .img-frame .img1{
    background-image: url(../images/service-sec1-01.jpg);
    animation: slide-animation-01 21s infinite;
}

main .sec1-top .img-frame .img2 {
    background-image: url(../images/service-sec1-02.jpg);
    animation: slide-animation-02 21s infinite;
}

main .sec1-top .img-frame .img3{
    background-image: url(../images/service-sec1-03.jpg);
    animation: slide-animation-03 21s infinite;
}


 @keyframes slide-animation-01 {
     0% {opacity: 1; transform: scale(1.0);}
   30% {opacity: 1;}
   40% {opacity: 0; transform: scale(1.15);}
   90% {opacity: 0}
 100% {opacity: 1; transform: scale(1.0);}
}

 @keyframes slide-animation-02 {
     0% {opacity: 0;}
   30% {opacity: 0; transform: scale(1.1);}
   40% {opacity: 1;}
   60% {opacity: 1;}
   70% {opacity: 0; transform: scale(1.0);}
 100% {opacity: 0;}
}

 @keyframes slide-animation-03 {
     0% {opacity: 0;}
   60% {opacity: 0;  transform: scale(1.0);}
   70% {opacity: 1;}
   90% {opacity: 1;}
 100% {opacity: 0; transform: scale(1.1);}
}


main .sec1-top .img-frame .sec1 .msg {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fffffc;
    font-size: 2vw;
    font-family: Noto_Serif_JP;
    transform: translate(-50% , -50%);
}

main .sec1-top .img-frame .sec1 .msg2, .msg3 {
    background-color: rgba(84, 74, 71, 0.2);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
}

main .sec1-top .img-frame .img1.cover::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(84, 74, 71, 0.3);
}

main .sec1-top .img-frame .sec1 .msg1 {
    z-index:1;
}

/* sec1テキスト、ボタン */
main .sec1-top .sec1-text {
    width: 48%;
    margin-right: 2%;

}

main .sec1-top .sec1-text p {
    width: 92%;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    white-space: pre-wrap;
    letter-spacing: 0.1em;
    line-height: 1.6;
    font-family: Noto_Serif_JP;
    font-size: 1.1vw;
}

main .sec1-top .sec1-text .sec1-btn {
    width: 10vw;
    margin-top: 8%;
    margin-left: auto;
    margin-right: auto;
}


main .sec1-top .sec1-text .sec1-btn a {
    width: 8vw;
    height: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 4vw;
    white-space: pre-wrap;
    background-color: #a99e93;
    color: #fffffc;
    font-family: Noto_Serif_JP;
    font-size: 1vw;
    transition: 1s;
}

main .sec1-top .sec1-text .sec1-btn a:hover {
    animation: ripple 1.5s infinite;
    color: #dddcd6;
    transition: 1s;
}


/* ボタンアニメ */
@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 #a99e93;
    }
    70% {
        box-shadow: 0 0 0 10px rgb(169 158 147 / 0%);
    }
    100% {
        box-shadow: 0 0 0 0 rgb(169 158 147 / 0%);
    }
  }


/* sec2レストラン */
main .sec2-restaurant {
    display: flex;
    margin-top: 12%;
}

main .sec2-restaurant .img-frame2 {
    position: relative;
    width: 46%;
    height: 38vw;
    margin-left: 2%;
    margin-right: 2%;
    overflow: hidden;
}

main .sec2-restaurant .img-frame2 .sec2 {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

main .sec2-restaurant .img-frame2 .img1 {
    background-image: url(../images/service-sec2-01.jpg);
    animation: slide-animation-01 21s infinite;
}

main .sec2-restaurant .img-frame2 .img2 {
    background-image: url(../images/service-sec2-02.jpg);
    animation: slide-animation-02 21s infinite;
}

main .sec2-restaurant .img-frame2 .img3{
    background-image: url(../images/service-sec2-03.jpg);
    animation: slide-animation-03 21s infinite;
}


main .sec2-restaurant .img-frame2 .sec2 .msg {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fffffc;
    font-size: 2vw;
    font-family: Noto_Serif_JP;
    transform: translate(-50% , -50%);
}

main .sec2-restaurant .img-frame2 .sec2 .msg2, .msg3 {
    background-color: rgba(84, 74, 71, 0.05);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
}

main .sec2-restaurant .img-frame2 .img1.cover::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(84, 74, 71, 0.3);
}

main .sec2-restaurant .img-frame2 .sec2 .msg1 {
    z-index:1;
}

/* sec2テキスト、ボタン */
main .sec2-restaurant .sec2-text {
    width: 48%;
    margin-right: 2%;

}

main .sec2-restaurant .sec2-text p {
    width: 92%;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: pre-wrap;
    letter-spacing: 0.1em;
    line-height: 2;
    font-family: Noto_Serif_JP;
    font-size: 1.1vw;
}

main .sec2-restaurant .sec2-text .sec2-btn {
    width: 10vw;
    margin-top: 8%;
    margin-left: auto;
    margin-right: auto;
}


main .sec2-restaurant .sec2-text .sec2-btn a {
    width: 8vw;
    height: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 4vw;
    white-space: pre-wrap;
    background-color: #a99e93;
    color: #fffffc;
    font-family: Noto_Serif_JP;
    font-size: 1vw;
    transition: 1s;
}

main .sec2-restaurant .sec2-text .sec2-btn a:hover {
    animation: ripple 1.5s infinite;
    color: #dddcd6;
    transition: 1s;
}

/* sec3 エステ＆ジム */
main .sec3-salon {
    display: flex;
    margin-top: 12%;
}

main .sec3-salon .img-frame3 {
    position: relative;
    width: 46%;
    height: 38vw;
    margin-left: 2%;
    margin-right: 2%;
    overflow: hidden;
}

main .sec3-salon .img-frame3 .sec3 {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

main .sec3-salon .img-frame3 .img1 {
    background-image: url(../images/service-sec3-01.jpg);
    animation: slide-animation-01 21s infinite;
}

main .sec3-salon .img-frame3 .img2 {
    background-image: url(../images/service-sec3-02.jpg);
    animation: slide-animation-02 21s infinite;
}

main .sec3-salon .img-frame3 .img3{
    background-image: url(../images/service-sec3-03.jpg);
    animation: slide-animation-03 21s infinite;
}


main .sec3-salon .img-frame3 .sec3 .msg {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fffffc;
    font-size: 2vw;
    font-family: Noto_Serif_JP;
    transform: translate(-50% , -50%);
}

main .sec3-salon .img-frame3 .sec3 .msg2, .msg3 {
    background-color: rgba(84, 74, 71, 0.05);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
}

main .sec3-salon .img-frame3 .img1.cover::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(84, 74, 71, 0.3);
}

main .sec3-salon .img-frame3 .sec3 .msg1 {
    z-index:1;
}

/* sec3テキスト、ボタン */
main .sec3-salon .sec3-text {
    width: 48%;
    margin-right: 2%;

}

main .sec3-salon .sec3-text p {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    white-space: pre-wrap;
    letter-spacing: 0.1em;
    line-height: 2;
    font-family: Noto_Serif_JP;
    font-size: 1.1vw;
}

main .sec3-salon .sec3-text .sec3-btn {
    width: 10vw;
    margin-top: 8%;
    margin-left: auto;
    margin-right: auto;
}


main .sec3-salon .sec3-text .sec3-btn a {
    width: 8vw;
    height: 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 4vw;
    white-space: pre-wrap;
    background-color: #a99e93;
    color: #fffffc;
    font-family: Noto_Serif_JP;
    font-size: 1vw;
    transition: 1s;
}

main .sec3-salon .sec3-text .sec3-btn a:hover {
    animation: ripple 1.5s infinite;
    color: #dddcd6;
    transition: 1s;
}










/* sec5 予約 */

main .area-reserve {
    width: 100%;
    height: 36vw;
    margin-top: 8%;
    background: rgb(255,255,252);
    background: linear-gradient(0deg, rgba(255,255,252,1) 0%, rgba(209,203,196,1) 22%, rgba(187,179,169,1) 38%, rgba(179,169,159,1) 50%, rgba(169,158,147,1) 61%);
}

main .area-reserve h2 {
    width: 100%;
    padding-top: 4%;
    text-align: center;
    color: #fffffc;
    font-size: 7vw;
    font-family: EB_Garamond;
    background-color: #a99e93;
}

main .area-reserve p {
    width: 100%;
    margin-top: 3%;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.1em;
    white-space: pre-wrap;
    color: #fffffc;
    font-size: 1vw;
    font-family: Noto_Serif_JP;
}

main .area-reserve .reserve-ap {
    width: 8vw;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
}

main .area-reserve .reserve-ap a {
    width: 8vw;
    height: 8vw;
    border-radius: 4vw;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fffffc;
    font-size: 0.8vw;
    transition: 1s;
    background-color: #a99e93;
}

main .area-reserve .reserve-ap a:hover {
    color: #dddcd6;
    animation: ripple 1.5s infinite;
    transition: 1s;
}

main .ist {
    width: 100%;
}

main .ist img {
    width: 100%;
}




footer {
    width: 100%;
    height: 10vw;
    margin-top: -5vw;
    background-color: #fffffc;
}

footer ul {
    width: 46%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

footer ul li {
    width: calc( 100% / 7 );
    margin-right: 2%;
    text-align: center;
    background-color: #dddcd6;
    border-radius: 0.8vw;
    overflow: hidden;
}

footer ul li a {
    display: block;
    text-decoration: none;
    line-height: 3;
    transform: scale(1,1);
    font-size: 0.9vw;
    color: #544a47;
    transition: 1s;
}

footer ul li a:hover {
    transform: scale(2,2);
    color: #a99e93;
    transition: 1s;
}
  

footer ul + p {
    padding-top: 3%;
    padding-bottom: 5%;
    text-align: center;
    font-size: 0.7vw;
}