@charset "UTF-8";
/* ヘッダー全体 */
header {
    border-bottom: 3px solid var(--main);
    background-color: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    height: 90px;
    z-index: 999;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 20px 10px;
    position: relative;
}

.menu-toggle,
.close-btn {
    display: none;
}

.hamburger {
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: var(--main);
    border-radius: 2px;
}

/* --------------------------
   共通ナビゲーション
   -------------------------- */
.header-nav {
    display: flex;
    align-items: center;
}
.header-nav-pc {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list,
.nav-list-pc {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 40px;
    margin-right: 20px;
}

.nav-list li,
.nav-list-pc li{
    text-align: center;
}

.head-string-4 {
    width: 64px;
}

.head-string-5 {
    width: 80px;
}

.head-string-6 {
    width: 96px;
}

.head-string-8 {
    width: 128px;
}

.nav-list li a,
.nav-list-pc li a {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
}

.nav-list li a:hover,
.nav-list-pc li a:hover {
    color: var(--main);
}

@media screen and (max-width: 1200px) {
    .nav-list,
    .nav-list-pc {
        gap: 20px;
        margin-right: 0;
    }
}

@media screen and (max-width: 1100px) {
    .nav-list li a,
    .nav-list-pc li a {
        font-size: 1.4rem;
    }
}

.header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 40%;
    height: 100vh;
    background-color: #fff8e0;
    box-shadow: -2px 0 5px rgba(0,0,0,0.15);
    flex-direction: column;
    padding: 60px 20px 20px;
    transition: right 0.3s ease;
    z-index: 999;
}

.menu-toggle:checked ~ .header-nav {
    right: 0;
}

.hamburger {
    display: flex;
}

.nav-list {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.4rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--main);
}

/* --------------------------
   スマホ表示（max-width:790px）
   -------------------------- */
@media screen and (max-width: 1000px) {
    header {
        border-bottom: none;
        height: 0;
    }

    .site-header {
        padding: 15px 10px;
    }

    .header-nav-pc {
        display: none;
    }

    .header-nav {
        width: 80%;
        max-width: 300px;
    }
    .nav-list li a {
        font-size: 1.3rem;
    }
}