@charset "UTF-8";

/*全体
---------------------------------------------------------------------------*/
html {
font-size: 100%;
scroll-behavior: smooth;
}
body {
color: #3A3A3A;
background-color: #FEF9E9;
font-family: "Noto Sans JP", sans-serif;

}
a {
text-decoration: none;
font-weight: 500;
font-size: 12px;
color: #3A3A3A;
}
img {
max-width: 100%;
}
img:hover{
	opacity:0.8;
    transition: .3s;
}
a:hover{
	opacity:0.8;
    transition: .5s;
}
li {
list-style: none;
}

/*スクロールふわっと
---------------------------------------------------------------------------*/
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.fade-in.active {
    opacity: 1;
     transform: translateY(0);
 }



/*フローティングメニュー
---------------------------------------------------------------------------*/
/* ハンバーガーメニューのスタイル */

#menuToggle {
    position: fixed;
    top: 40px;
    right: 70px; /* 右側に配置 */
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 3本線のデザイン */
#menuToggle span {
    display: block;
    width: 50px;
    height: 20px;
    background: #333;
    margin: 5px 0px;
    border-radius: 2px;
    transition: all 0.4s ease-in-out;
}

/* 「MENU」の文字 */
#menuToggle .menu-text {
    font-size: 10px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 4px;
}

/* 開いた時のアニメーション（×の形） */
#menuToggle.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menuToggle.open span:nth-child(2) {
    opacity: 0;
}

#menuToggle.open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* フローティングメニュー（右側に表示） */
#floatingMenu {
    position: fixed;
    top: 0;
    right: -30vw; /* 初期状態は右側外に配置 */
    width: 30vw; /* PCの右側 30% */
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
}

/* 開いたときの位置（PC） */
#floatingMenu.open {
    right: 0; /* メニューが右側にスライドイン */
}

/* スマホの場合のスタイル */
@media (max-width: 768px) {
    #menuToggle {
        right: 10px; /* ハンバーガーメニューを右寄せ */
        left: auto; /* 左側を解除 */
    }

    #floatingMenu {
        right: -80vw; /* 初期状態は画面外 */
        width: 80vw; /* スマホの右側 80% */
    }

    /* 開いたときの位置（スマホ） */
    #floatingMenu.open {
        right: 0;
    }
}

/* メニューリスト */
#floatingMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    width: 100%;
}

#floatingMenu li {
    margin: 20px 0;
}

#floatingMenu a {
    font-size: 1rem;
    font-weight: 500;
    color: #187bb4;
    text-decoration: none;
    display: block;
    padding: 5px;
}

#floatingMenu a:hover {
    background: #f5dba3;
    color: #187bb4;
}

/* リスト内「MENU」の文字 */
.floatingMenumoji {
    font-size: 1.5rem;
    font-weight:600;
    color: #3A3A3A;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 1px;
}




/*全体ボックス
---------------------------------------------------------------------------*/
* {
    box-sizing: border-box;
  }