/* ヘッダー */
/* ============================================ */

.header__boxWrap {
    background: #fff;
}

.header__boxTop {
    background: #333333;
    color: #fff;
    font-size: 11px;
}

.header__boxTop__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 97%;
    height: 30px;
    margin: auto;
}


.header__boxTop__box__right__link:first-child {
    margin-right: 14px;
    padding-right: 14px;
    border-right: 1px solid #888;
}

.header__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    margin: auto;
}

.header__box__left {
    display: flex;
    align-items: center;
}

.header__box__left__btn {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: #2a627e;
    margin-right: 20px;
    position: relative;
    cursor: pointer;
}

.header__box__left__btn__border {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #fff;
}

.header__box__left__btn__border:nth-child(1) {
    position: absolute;
    top: 25px;
    right: 0;
    left: 0;
    margin: auto;
}

.header__box__left__btn__border:nth-child(2) {
    position: absolute;
    top: 38px;
    right: 0;
    left: 0;
    margin: auto;
}

.header__box__left__btn__border:nth-child(3) {
    position: absolute;
    top: 50px;
    right: 0;
    left: 0;
    margin: auto;
}


.header__box__left__subTitle {
    font-size: 12px;
    margin-left: 20px;
}

@media screen and (max-width: 1124px) {
    .header__box__left__subTitle {
        display: none;
    }
}

.header__box__left__link img {
    width: 200px;
}

.header__box__right {
    padding-right: 40px;
}

.header__box__right__list {
    display: flex;
    justify-content: space-between;
}

.header__box__right__list__items__link {
    display: inline-block;
    padding: 0 14px;
    height: 80px;
    line-height: 80px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.header__box__right__list__items__link:hover {
    transition: 0.3s;
}

.header__box__right__list__items__link::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    background: #2a627e;
    bottom: -3px;
    /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.header__box__right__list__items__link:hover::after {
    visibility: visible;
    bottom: 0px;
    opacity: 1;
}


.header__box__right__list__items.no-border .header__box__right__list__items__link::after {
    display: none;
}

.search-button-icon::after {
    display: none;
}

.search-button-icon:focus,
.search-button-icon:active {
    outline: none;
}

.hamburger2:focus,
.hamburger2:active {
    outline: none;
}

@media screen and (max-width: 768px) {
    .header__box__right__list__items__link {
        padding: 0 13px;
        height: 50px;
        line-height: 50px;
        font-size: 17px;
    }
}

.header__box__right__list__items:last-child .header__box__right__list__items__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 32px;
    background: #2a627e;
    color: #fff;
    border-radius: 50px;
    margin-top: 23px;
    margin-left: 0;
    box-shadow: 0 0 10px #ccc;
}

.header__box__right__list__items:nth-child(1) .header__box__right__list__items__link {
    color: #2a627e;
    /* border-bottom:1px solid #2a627e; */
}

.header__box__right__list__items__favoriteNum {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    /* background: #f08080; */
    background: orange;
    color: #fff;
    font-size: 11px;
    position: absolute;
    top: 15px;
    right: -2px;
    border-radius: 50%;
}


.side__menu__boxWrapBg {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: 9;
}

.side__menu__boxWrapWrap.active .side__menu__boxWrapBg {
    display: block;
}

.side__menu__boxWrap {
    position: fixed;
    top: 0;
    left: -460px;
    z-index: 99;
    width: 460px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: left 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 6px 0 40px rgba(0, 0, 0, 0.22);
}

.side__menu__boxWrapWrap.active .side__menu__boxWrap {
    left: 0;
}

.side__menu__box {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8f9fa;
}

/* ---- ヘッダー ---- */
.side__menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0e2330 0%, #2a627e 100%);
    position: relative;
    overflow: hidden;
}

.side__menu__header::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.side__menu__header__brand {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.side__menu__header__brand__name {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

.side__menu__header__brand__sub {
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.16em;
}

.side__menu__box__close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.side__menu__box__close:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: rotate(90deg);
}

/* ---- スクロールエリア ---- */
.side__menu__box__postWrap {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 28px;
    scrollbar-width: thin;
    scrollbar-color: #c5d8e0 transparent;
}

.side__menu__box__postWrap::-webkit-scrollbar {
    width: 4px;
}

.side__menu__box__postWrap::-webkit-scrollbar-track {
    background: transparent;
}

.side__menu__box__postWrap::-webkit-scrollbar-thumb {
    background: #c5d8e0;
    border-radius: 2px;
}

/* ---- セクション ---- */
.side__menu__section {
    margin-top: 10px;
}

.side__menu__section__label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 20px 8px;
    font-size: 10px;
    font-weight: 800;
    color: #2a627e;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.side__menu__section__label i {
    font-size: 11px;
    opacity: 0.75;
}

/* ---- 記事カード ---- */
.side__menu__box__post__list__items__link {
    display: block;
    padding: 13px 20px 13px 23px;
    background: #fff;
    border-bottom: 1px solid #eef2f4;
    border-left: 3px solid transparent;
}

.side__menu__box__post__list__items__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
    color: #222;
}

.side__menu__box__post__list__items__timeAndCat {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 6px;
    gap: 6px;
}

.side__menu__box__post__list__items__cat {
    font-size: 10px;
    color: #fff;
    background: #2a627e;
    padding: 2px 9px;
    border-radius: 20px;
    line-height: 1.5;
}

.side__menu__box__post__list__items__time {
    font-size: 10px;
    color: #aaa;
    line-height: 1.5;
}

/* ---- カテゴリーチップ ---- */
.side__menu__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 4px 20px 16px;
}

.side__menu__chip {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 13px;
    background: #fff;
    border: 1.5px solid #c5d8e0;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #2a627e;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.side__menu__chip:hover {
    background: #2a627e;
    color: #fff;
    border-color: #2a627e;
}

/* ---- ナビリスト ---- */
.side__menu__nav {
    background: #fff;
    border-top: 1px solid #eef2f4;
}

.side__menu__nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 50px;
    padding: 0 44px 0 20px;
    border-bottom: 1px solid #eef2f4;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    position: relative;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.side__menu__nav__link i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: #2a627e;
    opacity: 0.65;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.side__menu__nav__link::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #bbb;
    border-right: 1.5px solid #bbb;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.15s, border-color 0.15s;
}

.side__menu__nav__link:hover {
    background: #f4f9fb;
    color: #2a627e;
    padding-left: 24px;
}

.side__menu__nav__link:hover i {
    opacity: 1;
}

.side__menu__nav__link:hover::after {
    right: 16px;
    border-color: #2a627e;
}

/* ---- SNSボタン ---- */
.side__menu__social {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
    margin-top: 6px;
}

.side__menu__social__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 68px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    transition: opacity 0.15s, transform 0.15s;
}

.side__menu__social__btn:hover {
    opacity: 0.82;
    transform: translateY(-2px);
}

.side__menu__social__btn i {
    font-size: 20px;
}

.side__menu__social__btn--x {
    background: #111;
}

.side__menu__social__btn--yt {
    background: #FF0000;
}

.side__menu__social__btn--gh {
    background: #24292e;
}

.side__menu__boxWrapWrap.active .side__menu__boxWrapBg {
    display: block;
}

.side__menu__boxWrap {
    position: fixed;
    top: 0;
    left: -420px;
    z-index: 99;
    background: #fff;
    width: 420px;
    height: 100%;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.18);
}

.side__menu__boxWrapWrap.active .side__menu__boxWrap {
    left: 0;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.side__menu__box {
    position: relative;
}

.side__menu__box__close {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2a627e 0%, #1e4d64 100%);
    color: #fff;
    height: 56px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
    margin: auto;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: background 0.2s;
}

.side__menu__box__close:hover {
    background: linear-gradient(135deg, #1e4d64 0%, #163d50 100%);
}

.side__menu__box__postWrap {
    overflow-y: scroll;
    height: 100vh;
}

.side__menu__box__postWrap::-webkit-scrollbar {
    width: 4px;
}

.side__menu__box__postWrap::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.side__menu__box__postWrap::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 2px;
}


.side__menu__box__post__title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 20px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #2a627e;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.side__menu__box__post__title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: #2a627e;
    border-radius: 2px;
    flex-shrink: 0;
}


.side__menu__box__post__list__items__link {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.side__menu__box__post__list__items__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
    color: #333;
}

.side__menu__box__post__list__items__timeAndCat {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.side__menu__box__post__list__items__cat {
    margin-top: 7px;
    font-size: 10px;
    color: #fff;
    background: #2a627e;
    padding: 2px 7px;
    border-radius: 3px;
    line-height: 1.4;
}

.side__menu__box__post__list__items__time {
    margin-top: 7px;
    font-size: 10px;
    color: #999;
    padding-left: 8px;
    margin-left: 8px;
    border-left: 1px solid #ddd;
    line-height: 1.4;
}


.side__menu__box__list__items__link {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 44px 0 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.side__menu__box__list__items__link:hover {
    background: #f7fbfd;
    color: #2a627e;
    padding-left: 24px;
}

.side__menu__box__list__items__link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: solid 1.5px #2a627e;
    border-right: solid 1.5px #2a627e;
    position: absolute;
    right: 22px;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
    transition: right 0.15s;
}

.side__menu__box__list__items__link:hover::before {
    right: 18px;
}