/* 共通ヘッダー */
.site-header {
    height: 80px;
    padding-top: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header-inner {
    background-color: rgba(254, 253, 236, 0.6);
    height: 60px;
    margin: 0 10px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo img {
    height: 25px;
}

/* PC メインメニュー */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-menu>li {
    position: relative;
    cursor: pointer;
}

/* PCサブメニュー パネルの修正 */
.submenu-panel {
    display: none;
    width: 100%;
    height: 80px;
    background-color: rgb(255 255 255 / 88%);
    /* 背景色 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 998;

    /* 中身の制御 */
    align-items: center;
    justify-content: flex-end;
    /* 右寄せ */
    padding-right: 50px;
    /* 右端の余白 */
    /* gap: 30px; */
    /* メニュー間の間隔 */
}

.submenu-panel li {
    margin-right: 24px;
    padding-left: 24px;
    border-left: solid 1px gray;
}

.submenu-panel a {
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    font-weight: 400;
}

.submenu-panel a:hover {
    color: #11cc27;
    /* ホバー色 */
}

/* WP標準のサブメニュー（元々あるリスト）はPCでは隠しておく */
.main-nav .sub-menu {
    display: none;
}


nav a {
    position: relative;
    display: inline-block;
    transition: .3s;
}

nav a::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    content: '';
    width: 0;
    height: 1.5px;
    background-color: #5ad891;
    transition: .3s;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}





/* SP時はPCナビを消す */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}