/* 共通ヘッダー */

.header {
    position: fixed;
    top: 0;
    left: 0;
    
    display: flex;
    align-items: center;

    width: 100%;
    height: 60px;
    padding: 0 15px;

    background-color: var(--beige);
    z-index: 1000;
}

/* ロゴ */

.header-logo {
    display: block;
}

.header-logo img {
    display: block;
    width: 40px;
}

/* サイト名 */
.site-name {
    margin: 0 0 0 10px;
    color: var(--pink);
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

/* お問い合わせボタン */
.header-contact {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    padding: 8px 12px;

    border-radius: 10px;

    background-color: var(--pink);
    color: #fff;

    font-size: 11.5px;
    font-weight: bold;

    text-decoration: none;
    white-space: nowrap;
}

/* ハンバーガーメニュー */
.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 30px;
    height: 24px;

    margin-left: 15px;
    padding: 0;

    background-color: transparent;

    cursor: pointer;
}

.menu-btn span {
    display: block;

    width: 100%;
    height: 3px;

    border-radius: 3px;

    background-color: var(--pink);
}

/* メニュー表示 */
.menu-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: 85%;
    height: 100vh;

    padding: 50px 40px 30px;

    background-color: var(--pink);
    color: #fff;

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

    z-index: 1000;
}

.menu-overlay {
    position: fixed;
    inset: 0;

    background-color: rgba(255, 249, 245, 0.78);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    z-index: 999;
}

.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.menu-panel.is-open {
    transform: translateX(0);
}

.menu-close {
    position: absolute;

    top: 7px;
    right: 14px;

    width: 35px;
    height: 35px;

    padding: 0;

    border: 0;

    background-color: transparent;

    color: #fff;
    
    font-size: 43px;
    line-height: 1;

    cursor: pointer;
}

.menu-panel a {
    display: block;
    padding: 15px 0;

    font-family: var(--font-heading);
    font-weight: var(--weight-heading);
    color: #fff;
    font-size: 6vw;
    font-weight: bold;
}

.pc-menu {
    display: none;
}

/* =================
      PC画面用
================== */

@media screen and (min-width: 768px) {
    .header {
        height: 80px;
    }

    .header-logo img {
        width: 50px;
    }

    .site-name {
        font-size: 20px;
        margin-right: 50px;
    }

    /* ハンバーガーメニューの内容を横並びに表示 */

    .menu-btn {
        display: none;
    }

    .pc-menu {
        display: flex;
        align-items: center;
        gap: 16px;
        color: var(--pink);
    }

    .menu-btn,
    .menu-overlay,
    .menu-panel {
        display: none;
    }

    .header-contact {
        font-size: 14px;
        margin-right: 30px;
    }
}