@import 'variables.css';

body.sidemenu-open {
    overflow: hidden;
}

.sidemenu {
    width: 0;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.25s;
    padding-top: 60px;
    z-index: 1001;
    white-space: nowrap;
}

.sidemenu a {
    padding: 8px 24px;
    text-decoration: none;
    font-size: 16px;
    color: #000;
    display: block;
    transition: 0.25s;
    border-bottom: 1px solid #eee;
}

.sidemenu a:hover {
    color: #FFB800;
}

.close-menu-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 半透明の黒 */
    display: none; /* 初期状態は非表示 */
    z-index: 1000; /* サイドメニューの下に配置 */
    transition: opacity 0.25s ease-out;
}

.backdrop.show {
    display: block; /* 表示 */
    animation: backdropIn 0.25s ease-out forwards;
}

.backdrop.hide {
    animation: backdropOut 0.25s ease-out forwards; /* フェードアウト */
    animation-fill-mode: forwards;
}

.language-select {
    padding: 8px 24px;
    margin-top: 8px;
}

.form-select {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;;
}

.form-select:focus {
    border-color: #eee;
    box-shadow: none;
}




