/* =========================
   全体
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #111;
    background-color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   ヘッダー
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 30px;

    z-index: 100;
    pointer-events: none;
}

.logo {
    display: block;
    pointer-events: auto;
}

.logo img {
    display: block;
    width: 90px;
    height: auto;
}


/* =========================
   ハンバーガーボタン
========================= */

.menu-button {
    width: 35px;
    height: 35px;

    border: none;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    cursor: pointer;
    pointer-events: auto;
}

.menu-button span {
    display: block;

    width: 28px;
    height: 1.5px;

    background-color: #111;
}


/* =========================
   メニュー
========================= */

.menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 420px;
    height: 100vh;

    background-color: #fff;

    z-index: 200;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.menu.active {
    transform: translateX(0);
}

.menu ul {
    list-style: none;
    text-align: center;
}

.menu li {
    margin: 28px 0;
}

.menu li a {
    display: block;

    font-size: 20px;
    letter-spacing: 0.08em;

    padding: 12px 35px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* カーソルを合わせた項目だけ色が変わる */

.menu li a:hover {
    background-color: #111;
    color: #fff;
}


/* 閉じるボタン */

.close-button {
    position: absolute;
    top: 25px;
    right: 30px;

    border: none;
    background: none;

    font-size: 35px;
    font-weight: 200;

    cursor: pointer;
}

/* =========================
   NEWSページ
========================= */

.news-page {
    width: 100%;
    min-height: 100vh;

    padding: 150px 30px 100px;
}

/* NEWSタイトル */

.news-page h1 {
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.1em;

    text-align: center;

    margin-bottom: 50px;
}

/* 新着情報がない場合 */

.news-message {
    width: 100%;
    min-height: 180px;

    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;

    display: flex;
    justify-content: center;
    align-items: center;
}

.news-message p {
    font-size: 14px;
    color: #555;
    line-height: 2;
    text-align: center;
}


/* =========================
   スマートフォン
========================= */

@media screen and (max-width: 767px) {

    .news-page {
        padding: 110px 20px 70px;
    }

    .news-page h1 {
        font-size: 20px;
        margin-bottom: 35px;
    }

    .news-message {
        min-height: 150px;
    }

    .news-message p {
        font-size: 13px;
    }

}