@charset "utf-8";

/* フォント指定 */
@font-face {
    font-family: 'BirchStd';
    src: url('./fonts/BirchStd.otf') format('opentype');
}

/* 共通項目設定 */
* {
    font-family: 'BirchStd', sans-serif;
    margin: 0;
    transition: all .8s;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    list-style: none;
    text-decoration: none;
}

a {
    color: #c0ab92;
}

/* header */
header {
    background-color: black;
    display: flex;
    justify-content: space-between;
    height: 90px;
    padding: 8px;

    .company-logo {
        display: block;
        width: 30%;
        height: 100%;
        display: flex;
        padding: 8px;

        img {
            object-fit: cover;
            display: block;
            margin: 0 8px;
            height: 100%;
        }
    }

    nav {
        width: 50%;
        display: block;

        ul {
            display: flex;
            width: 100%;
            height: 100%;

            li {
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;

                a {
                    font-size: 2rem;
                    width: 100%;
                    height: 100%;
                    text-align: center;
                    line-height: 2.6;
                }

                a:hover {
                    background-color: #7f7f7f;
                }

            }

            img {
                width: 20%;
            }

            img:hover {
                cursor: pointer;
            }
        }
    }

    .lang-options {
        transform: translateY();
    }
}


/* 言語選択 */
.lang-options {
    position: absolute;
    top: 90px;
    right: 0;
    background-color: black;
    width: 20%;
    display: none;
    transform: translateY(-10px);
    opacity: 0;
    z-index: 1000;
}

.lang-options.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.lang-options a {
    display: block;
    padding: 15px 20px;
    color: #c0ab92;
    text-align: center;
}

.lang-options a:hover {
    background-color: #333;
}



/* main */
main {
    padding: 18px;
    font-family: Verdana, Geneva, Tahoma, sans-serif sans-serif !important;
    color: #333;
    line-height: 1.8;
    letter-spacing: 0.05em;

    h1 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 20px;
        letter-spacing: 0.1em;
    }
    h2 {
        font-size: 22px;
        margin-top: 40px;
        margin-bottom: 15px;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
        letter-spacing: 0.05em;
    }

    p {
        margin-bottom: 20px;
        line-height: 1.8;
    }

    ul {
        margin-bottom: 20px;
        padding-left: 20px;
    }
    li {
        margin-bottom: 12px;
        line-height: 1.8;
    }
    .last{
        text-align: center;
        margin-top: 40px;
    }
    .back-btn {
        display: inline-block;
        margin-top: 30px;
        padding: 12px 24px;
        background-color: #333;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }
    .back-btn:hover {
        background-color: #555;
    }
    .updated-date {
        margin-top: 5px;
        font-size: 14px;
        color: #666;
        margin-bottom: 30px;
    }
}




/* footer */
footer {
    background-color: black;
    padding: 18px 0;

    .image-items {
        width: 10%;
        margin: 0 auto;
        display: flex;

        img {
            padding: 0 8px;
            height: 30px;
        }
    }
}

@media (max-width: 768px) {

    th,
    td {
        display: block;
        width: 100%;
    }

    th {
        border-bottom: none;
    }
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #c0ab92;
    margin: 5px 0;
    transition: all 0.3s;
}

/* モバイルナビゲーション */
@media (max-width: 900px) {

    /* ハンバーガー */
    .hamburger-menu {
        display: block;
    }

    header nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: black;
        transition: all 0.3s;
        z-index: 999;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        padding-top: 90px;
    }

    header nav ul li {
        width: 100%;
        height: auto;
        padding: 20px 0;
    }

    header nav ul li a {
        font-size: 1.5rem;
    }
    header nav ul li img {
        max-width: 40px;
    }

    /* ハンバーガーメニューのアニメーション */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* header */
    header {
        .company-logo {
            width: 80%;
        }
    }

    .lang-options {
        max-width: 50%;
    }
    /* main */




    
    .back-btn{
        margin-bottom: 30px;
    }
    /* footer */
    footer {
        .image-items {
            width: 50%;
            margin: 0 auto;
            display: flex;
            justify-content: center;
        }
    }
}

@media (max-width: 450px) {
    header {
        height: 70px;
        padding: 5px;

        .company-logo {
            width: 60%;

            img {
                padding: 3px 0;
                height: 100%;
            }
        }
        .lang-options {
            width: 40%;
        }
    }
}