html {
    font-size: 16px;
}

body {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", Serif;
    background-color: #fff;
    margin: 0 auto;
}

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

/* Header */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    margin: 6px 0;
}

.header-nav {
    display: block;
}

.pc-only {
    display: flex;
}

.sp-only {
    display: none;
}

.sp-buttons {
    display: none;
}

.header {
    background: #fff;
}

.header-top {
    width: 100%;
    height: 80px;
    border-bottom: 1px solid #d9d9d9;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
}

.header-left,
.header-right {
    display: flex;
    height: 100%;
}

.header-left {
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
}

.site-title {
    font-size: 16px;
    font-weight: normal;
}

.phone-contact {
    padding: 18px 24px;
    border: 1px solid #d9d9d9;
    border-bottom: none;
    border-top: none;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s ease-out;
    display: flex;
    align-items: center;
}

.phone-contact:hover {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

.contact {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 18px 28px;
    cursor: pointer;
    transition: 0.3s ease-out;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
}

.contact:hover {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #000;
    border-bottom: none;
    border-top: none;
    border-left: none;
}

.header-list {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 14px;
    padding: 0 16px;
    border-bottom: 1px solid #d9d9d9;

}

.menu-item a {
    padding: 16px 50px;
    display: inline-block;
    transition: 0.3s ease-out;
}

.menu-item a:hover {
    background: #000;
    color: #fff;
}

.common-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 16px 48px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 30px;
    border: 1px solid #000;
    transition: 0.3s ease-out;
}

.common-btn:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }

    .header-list {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .menu-item a {
        padding: 0;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }


    .header-top {
        height: auto;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        font-size: 24px;

        display: none;
    }

    .header-inner {
        padding: 16px;
    }

    .header-nav {
        position: fixed;
        inset: 0;
        background: #fff;
        display: none;
        z-index: 1000;
        padding-top: 80px;
        text-align: center;
        margin-top: 120px;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav.active {
        display: block;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    .header-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .sp-buttons {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .sp-buttons .phone-contact {
        border: 1px solid #d9d9d9;
        width: 80%;
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
        border: 1px solid #ddd;
        padding: 16px;
    }

    .phone-contact,
    .contact {
        width: 80%;
        max-width: 320px;
    }
}