/*header共通CSS*/
header {
    position: fixed;
    height: 80px;
    width: 100%;
    /* 背景色 */
    z-index: 1000;
    padding: 20px 0;
}

.header-inner {
    margin: 0 auto;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    /* 左右に配置 */
    align-items: center;
    /* 縦位置を揃える */
}

/*ロゴの大きさ*/
.logo img {
    height: 60px;
    position: absolute;
    top: 5px;
    left: 10px;
}

/*PC用*/
@media (min-width: 1025px) {
    .header-nav {
        position: relative;
        top: 20px;
    }

    .header-nav ul {
        display: flex;
        gap: 25px;
        /* メニュー間の余白 */
        list-style: none;
    }

    .header-nav a {
        text-decoration: none;
        color: #ffffff;
        font-weight: 500;
    }

    .hamburger {
        display: none;
    }
}

/*タブレット/スマホ対応*/
@media (max-width: 1024px) {

    /*PC用ヘッダーを隠す*/
    .header-nav {
        display: none;
    }

    /*ハンバーガーメニューを表示*/
    .hamburger {
        position: relative;
        margin-top: 5px;
        margin-right: 20px;
    }

    /* チェックボックス非表示 */
    .hamburgerlb {
        display: none;
    }

    /* ハンバーガーボタン */
    .hamburger-btn {
        width: 40px;
        height: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    /*ハンバーガー白線*/
    .hamburger-btn span {
        height: 5px;
        background: #fff;
        border-radius: 2px;
        transition: 0.4s;
    }

    /* ハンバーガー変形 */
    .hamburgerlb:checked+.hamburger-btn span:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
    }

    .hamburgerlb:checked+.hamburger-btn span:nth-child(2) {
        opacity: 0;
    }

    .hamburgerlb:checked+.hamburger-btn span:nth-child(3) {
        transform: translateY(-13px) rotate(-45deg);
    }

    /* メニュー本体 */
    .hamburger-menu {
        position: fixed;
        top: 0;
        right: -90%;
        width: 90%;
        height: 100vh;
        overflow-y: auto;
        /* ← はみ出たら縦スクロール */
        padding: 140px 10px;
        backdrop-filter: blur(12px);
        background: rgba(17, 39, 63, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding-top: 80px;
        transition: 0.4s;
        z-index: 1000;
    }

    .hamburgerlb:checked~.hamburger-menu {
        right: 0;
    }

    .hamburger-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .hamburger-item {
        position: relative;
        margin-bottom: 20px;
    }

    /* メニュー項目 */
    .hamburger-title {
        color: #fff;
        font-size: 30px;
        padding: 0 20px;
        margin: 0;
        position: relative;
        transition-delay: 0.1s;
    }

    .hamburger-title::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background: #ff930c;
        /* アクセントカラー */
        border-radius: 2px;
    }

    .hamburger-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .hamburger-menu ul li {
        opacity: 0;
        transform: translateX(20px);
        transition: 0.4s;
        margin: 20px;
    }

    .hamburger-menu ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
    }

    /* 順番にフェードイン */
    .hamburgerlb:checked~.hamburger-menu ul li {
        opacity: 1;
        transform: translateX(0);
    }

    .hamburger-menu ul li {
        transition-delay: 0.2s;
    }
}

@media (max-width: 500px) {
    .hamburger-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

}

/*ページ遷移履歴*/
.breadcrumb {
    position: relative;
    padding-top: 90px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    background-color: #fff;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li+li::before {
    content: ">";
    margin-right: 8px;
    color: #888;
}

.breadcrumb a {
    color: #0078d4;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}