:root {
    --text-color: #333;
    --bg-white: #fff;
}
/* ヘッダー全体 */
body.fixed {
    overflow: hidden;
    height: 100%;
}
.site-header {
    background-color: var(--bg-white);
    z-index: 1000;
    position: relative;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 1rem 2.5rem;
}
/* ロゴ */
header .site-logo {
    width: 140px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* ハンバーガー初期状態（非表示） */
.header-hamburger {
    display: none;
}
/* ナビゲーション（PC） */
.header-nav-wrap {
    display: block;
}
.header-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.header-nav li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}
.header-nav li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}
.header-nav li a:hover::after {
    width: 100%;
}
/* お問い合わせ（ボタン） */
.header-nav ul li.contact-link {
    text-align: center;
}
.header-nav ul li.contact-link a {
    min-width: 220px;
    position: relative;
    display: inline-block;
    background-color: #F5CDCD;
    color: #191919;
    border: 1px solid #191919;
    border-radius: 999px;
    padding: 0.7em 3em 0.7em 2.5em;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}
.header-nav ul li.contact-link a:hover::after {
    width: 0;
}
/* SP表示調整 */
@media (max-width: 991.98px) {
    header .site-logo {
        width: 100px;
    }
    /* ハンバーガー */
    .header-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        position: relative;
    }
    .header-hamburger span {
        display: block;
        width: 38px;
        height: 2px;
        background: #000;
        border-radius: 2px;
        transition: 0.4s;
        transform-origin: center;
        margin: 4px 0; /* ← 線と線の間隔 */
    }
    .header-hamburger.open span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    .header-hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .header-hamburger.open span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    .header-nav-wrap {
        display: none;
    }
    .header-nav-wrap.open {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.95);
        z-index: 999;
        animation: fadeIn 0.3s ease forwards;
    }
    .header-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    .header-nav li a {
        font-size: 1.4rem;
    }
    .header-nav ul li.contact-link {
        margin-top: 2rem;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}