@media (min-width: 900px) {
    html {
        background-image: url('../img/background01.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;
        background-attachment: fixed;
    }
}

@media (max-width: 900px) {
    html {
        background-image: url('../img/background02.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

.headerLogo {
    /* ホバー時の透明度変化を滑らかにする */
    transition: opacity 0.3s ease;

    cursor: pointer;
}

.headerLogo:hover {
    opacity: 0.5;
}

.commonHover {
    transition: opacity 0.3s ease;

    cursor: pointer;
}

.commonHover:hover {
    opacity: 0.5;
}


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

@media (min-width: 901px) {
    .header {
        position: relative;
        z-index: 100;
        box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.2);
    }

    .headerSP {
        display: none;
    }

    .side-menu {
        display: none;
    }

    .headerPC {
        display: flex;
        justify-content: space-between;
        width: 100%;
        height: 85px;
        padding: 0 20px 0 27px;
        background-color: #ffffffd1;
        box-sizing: border-box;
        align-items: center;
    }

    .headerPC_nav {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .headerPC_navFlexbox {
        margin: 10px;
        min-width: 80px;
        text-align: center;
    }

    .headerPC_navFlexbox a {
        text-decoration: none;
        color: #000000;
    }
}


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

@media (min-width: 600px) and (max-width: 900px) {

    .headerPC {
        display: none;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 85px;
        z-index: 1000;
    }

    .headerSP {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        height: 85px;
        padding: 0 20px;
        box-sizing: border-box;
        background: #fffffff5;
        box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.2);
    }

    /* ロゴをヘッダー中央に固定 */
    .headerSP_Img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }



    /* ====================================
       ハンバーガーボタン
    ==================================== */

    .hamburger-button {
        margin-left: auto;
        position: relative;

        width: 50px;
        height: 50px;

        padding: 0;
        border: none;
        background: transparent;

        cursor: pointer;

        z-index: 1002;
    }


    /* 3本線 */

    .hamburger-button span {
        position: absolute;

        left: 10px;

        width: 30px;
        height: 2px;

        background: #333;

        transition:
            top 0.4s ease,
            transform 0.4s ease,
            opacity 0.2s ease;
    }

    .hamburger-button span:nth-child(1) {
        top: 16px;
    }

    .hamburger-button span:nth-child(2) {
        top: 24px;
    }

    .hamburger-button span:nth-child(3) {
        top: 32px;
    }


    /* ====================================
       ×ボタンへの変形
    ==================================== */

    .hamburger-button.is-open span:nth-child(1) {
        top: 24px;
        transform: rotate(45deg);
    }

    .hamburger-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-button.is-open span:nth-child(3) {
        top: 24px;
        transform: rotate(-45deg);
    }


    /* ====================================
       暗い背景
    ==================================== */

    .menu-overlay {
        position: fixed;
        inset: 0;

        z-index: 1000;

        background: rgba(0, 0, 0, 0.5);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }


    /* ====================================
       サイドメニュー
    ==================================== */

    .side-menu {
        position: fixed;
        overflow-y: auto;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        z-index: 1001;
        background: #fff;
        transform: translateX(100%);
        transition:
            transform 0.5s ease;
        box-shadow:
            -5px 0 20px rgba(0, 0, 0, 0.15);
    }

    .side-menu.is-open {
        transform: translateX(0);
    }


    .sidemenuTitle {
        padding: 60px 30px 12px;
        font-size: 20px;
        text-align: center;
    }

    .sidemenuCategory {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 0;
        padding: 0 20px;
        list-style: none;
        row-gap: 20px;
        column-gap: 20px;
        justify-items: center;
    }

    /* ====================================
       メニュー項目
    ==================================== */

    /* .side-menu ul {
        margin: 120px 40px 0;
        padding: 0;

        list-style: none;
    } */

    .side-menu li {
        margin-bottom: 25px;
    }

    .side-menu a {
        color: #333;

        font-size: 20px;

        text-decoration: none;
    }
}

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

@media (max-width: 600px) {

    .headerPC {
        display: none;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 85px;
        z-index: 1000;
    }

    .headerSP {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        height: 85px;
        padding: 0 20px;
        box-sizing: border-box;
        background: #fffffff5;
        box-shadow: 0 8px 12px -4px rgba(0, 0, 0, 0.2);
    }

    /* ロゴをヘッダー中央に固定 */
    .headerSP_Img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* ====================================
       ハンバーガーボタン
    ==================================== */

    .hamburger-button {
        margin-left: auto;
        position: relative;
        width: 50px;
        height: 50px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1002;
    }


    /* 3本線 */

    .hamburger-button span {
        position: absolute;

        left: 10px;

        width: 30px;
        height: 2px;

        background: #333;

        transition:
            top 0.4s ease,
            transform 0.4s ease,
            opacity 0.2s ease;
    }

    .hamburger-button span:nth-child(1) {
        top: 16px;
    }

    .hamburger-button span:nth-child(2) {
        top: 24px;
    }

    .hamburger-button span:nth-child(3) {
        top: 32px;
    }


    /* ====================================
       ×ボタンへの変形
    ==================================== */

    .hamburger-button.is-open span:nth-child(1) {
        top: 24px;
        transform: rotate(45deg);
    }

    .hamburger-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-button.is-open span:nth-child(3) {
        top: 24px;
        transform: rotate(-45deg);
    }


    /* ====================================
       暗い背景
    ==================================== */

    .menu-overlay {
        position: fixed;
        inset: 0;

        z-index: 1000;

        background: rgba(0, 0, 0, 0.5);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }


    /* ====================================
       サイドメニュー
    ==================================== */

    .side-menu {
        position: fixed;
        overflow-y: auto;
        top: 0;
        right: 0;

        width: 80%;
        max-width: 400px;
        height: 100vh;

        z-index: 1001;

        background: #fff;

        transform: translateX(100%);

        transition:
            transform 0.5s ease;

        box-shadow:
            -5px 0 20px rgba(0, 0, 0, 0.15);
    }

    .side-menu.is-open {
        transform: translateX(0);
    }


    /* ====================================
       メニュー項目
    ==================================== */
    .sidemenuTitle {
        padding: 60px 30px 12px;
        font-size: 20px;
        text-align: center;
    }

    .sidemenuCategory {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 0;
        padding: 0 20px;
        list-style: none;
        row-gap: 20px;
        column-gap: 20px;
        justify-items: center;
    }
}

.sidemenuCategory li {
    margin: 0;
    padding: 0;
}

.sidemenuOutlineTitle {
    padding: 30px 30px 12px 25px;
    font-size: 20px;
    text-align: center;
}

.sidemenuOutline {
    margin: 0;
    padding: 0 40px;
    list-style: none;
}

.sidemenuOutline li {
    margin: 8px 0;
    padding: 0;
}

.sidemenuOutline li a {
    display: flex;
    align-items: flex-start;

    white-space: normal;
    overflow-wrap: anywhere;

    color: #333;
    text-decoration: none;
    line-height: 1.5;
}


/* 箇条書きの円 */
.sidemenuOutline li a::before {
    content: "";

    flex-shrink: 0;

    width: 8px;
    height: 8px;

    margin-top: 0.55em;
    margin-right: 8px;

    border-radius: 50%;
    background-color: #333;
}


/* h2 */
.sidemenuOutline .outline-h2 {
    margin-left: 0;
}

.sidemenuOutline .outline-h2 a::before {
    width: 8px;
    height: 8px;
}


/* h3 */
.sidemenuOutline .outline-h3 {
    margin-left: 20px;
}

.sidemenuOutline .outline-h3 a::before {
    width: 6px;
    height: 6px;
}


/* h4 */
.sidemenuOutline .outline-h4 {
    margin-left: 40px;
}

.sidemenuOutline .outline-h4 a::before {
    width: 4px;
    height: 4px;
}


.side-menu a {
    color: #333;
    font-size: 17px;
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}


/* ========================================
   mainエリア
======================================== */
main {
    padding: 0;
}

/* ========================================
   各エリア
======================================== */
@media (min-width: 901px) {

    .area01,
    .area02 {
        padding: 0 100px 40px;
    }
}

@media (max-width: 900px) {

    .area01,
    .area02 {
        padding: 0 20px 40px;
    }
}

.area00 {
    background-color: #ffffff;
}

.area01 {
    background-color: #bcbcbc4d;
}

.area02 {
    background-color: #bcbcbc4d;
}

.sectionGap {
    background-color: #ffffffa8;
    height: 40px;
}

/* ========================================
   TOP 挨拶
======================================== */

@media (min-width: 900px) {
    .greet {
        padding: 30px 0;
        text-align: center;
        background-color: #ffffffa8;
    }
}

@media (max-width: 900px) {

    .greet {
        padding: 115px 0 30px;
        text-align: center;
        background-color: #ffffffa8;
    }
}

.greetTitle {
    font-size: 20px;
    padding: 0 0 20px 0;
}


/* ========================================
   TOP カテゴリ
======================================== */

.categoryLink {
    margin-top: auto;

    text-align: center;
}

.categoryLinkButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 140px;
    height: 50px;

    border: 2px solid #000080;
    border-radius: 30px;

    background-color: #000080;
    color: #ffffff;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.categoryLinkButton:hover {
    background-color: #ffffff;
    color: #000080;
}

.categoryCaptionInner {
    margin: 0 0 10px 0;
}

.categoryTitle>a {
    text-decoration: none;
    color: #000000;
}

/* タブレット以上：2列 */
@media (min-width: 601px) {

    .categoryList {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .category {
        display: flex;
        align-items: stretch;

        width: 100%;
        box-sizing: border-box;

        border-radius: 20px;
        background-color: #fff;

        padding: 20px 20px 20px 10px;
    }


    .categoryCaption {
        display: flex;
        flex-direction: column;

        flex: 1;

        padding-left: 15px;
        border-left: 1px solid #ccc;
    }

    .categoryTitle {
        min-width: 75px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}


/* SP：1列 */
@media (max-width: 600px) {

    .categoryList {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category {
        display: flex;
        align-items: stretch;

        width: 100%;
        box-sizing: border-box;

        border-radius: 20px;
        background-color: #fff;

        padding: 20px 20px 20px 10px;
    }


    .categoryCaption {
        display: flex;
        flex-direction: column;

        flex: 1;

        padding-left: 15px;
        border-left: 1px solid #ccc;
    }

    .categoryTitle {
        min-width: 75px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

}

/* ========================================
   TOP 自己紹介
======================================== */

@media (min-width: 900px) {
    .introduce {
        background-color: #ffffffd1;
        text-align: center;
        padding: 35px;
    }

    .introduceTitle {
        margin: 10px;
    }
}

@media (min-width: 600px) and (max-width: 900px) {
    .introduce {
        background-color: #ffffffd1;
        text-align: center;
        padding: 35px;
    }

    .introduceTitle {
        margin: 10px;
    }
}

@media (max-width: 600px) {
    .introduce {
        background-color: #ffffffd1;
        text-align: center;
        padding: 35px;
    }

    .introduceTitle {
        margin: 10px;
    }
}

/* ========================================
   TOP 新着記事
======================================== */

/* 共通 */
.newsCard {
    display: block;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    min-width: 0;
    color: #000000;
    text-decoration: none;
}

.newsCardThumb {
    background-image: url("../../asset/img/default.png");
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.newsCardStatus {
    display: flex;
    justify-content: space-between;
    margin: 8px 2px;
}

.newsCardTitle {
    font-size: 18px;
    margin: 0 2px;
}

.newsCardTag {
    color: #000000;
}

/* PC */
@media (min-width: 901px) {
    .newsCardContainer {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}


/* タブレット */
@media (min-width: 601px) and (max-width: 900px) {
    .newsCard03 {
        display: none;
    }

    .newsCardContainer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}


/* SP */
@media (max-width: 600px) {
    .newsCardContainer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.newsCardLink {
    display: flex;
    justify-content: center;
}

.newsCardlink a {
    text-decoration: none;
}

.newsCardLinkButton {
    display: block;

    background-color: #000a69;
    color: #ffffff;

    width: 40%;
    max-width: 250px;

    padding: 15px 20px;
    margin: 30px auto 0;

    border: 2px solid #000a69;
    border-radius: 30px;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.newsCardLinkButton:hover {
    background-color: #ffffff;
    color: #000a69;
}



/* ========================================
   TOP フッター
======================================== */

@media (min-width: 600px) {
    footer {
        margin-top: 30px;
        background-color: #000000;
        color: #ffffff;
        padding: 10px 0;
    }

    .footerContainer {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 10px 0;
    }


    .footerItem>a {
        text-decoration: none;
        color: #ffffff;
    }

    .footerLicense {
        font-size: 12px;
        text-align: center;
        margin: 20px 0 0 0;
    }
}

@media (max-width: 600px) {
    footer {
        margin-top: 30px;
        background-color: #000000;
        color: #ffffff;
        padding: 10px 0;
    }

    .footerContainer {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 10px 0;
    }


    .footerItem>a {
        text-decoration: none;
        color: #ffffff;
    }

    .footerLicense {
        font-size: 12px;
        text-align: center;
        margin: 20px 0 0 0;
    }
}

.footerHover {
    /* ホバー時の透明度変化を滑らかにする */
    transition: opacity 0.3s ease;

    cursor: pointer;
}

.footerHover:hover {
    opacity: 0.5;
}

/* ========================================
   TOP 見出し
======================================== */

@media (min-width: 600px) {
    .TopHeadlineTitle {
        text-align: center;
        font-size: 20px;
        padding: 30px 0;
    }
}

@media (max-width: 600px) {
    .TopHeadlineTitle {
        text-align: center;
        font-size: 20px;
        padding: 30px 0;
    }
}

/* ================================
   新着記事カルーセル
================================= */
@media (min-width: 600px) {
    .newsCarouselControl {
        display: none;
    }
}


@media (max-width: 600px) {

    .newsCarousel {
        width: 100%;
    }


    .newsCardContainer {
        position: relative;

        width: 100%;
        height: auto;

        display: block;
    }


    .newsCard {
        width: 100%;
        box-sizing: border-box;

        /* 最初以外は非表示 */
        display: none;
    }


    .newsCard.is-active {
        display: block;
    }


    /* フェードアニメーション */

    .newsCard.fade-out {
        animation: newsFadeOut 0.35s ease forwards;
    }

    .newsCard.fade-in {
        animation: newsFadeIn 0.35s ease forwards;
    }


    @keyframes newsFadeOut {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }


    @keyframes newsFadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }


    /* ○と左右ボタン */

    .newsCarouselControl {
        display: flex;

        align-items: center;
        justify-content: center;

        gap: 25px;

        margin-top: 20px;
    }


    .newsCarouselDots {
        display: flex;

        align-items: center;

        gap: 10px;
    }


    .newsCarouselDot {
        width: 12px;
        height: 12px;

        padding: 0;

        border: 1px solid #000080;
        border-radius: 50%;

        background: transparent;

        cursor: pointer;
    }


    .newsCarouselDot.is-active {
        background: #000080;
    }


    /* 左右ボタン */

    .newsCarouselButtons {
        display: flex;

        gap: 10px;
    }


    .newsCarouselButtons button {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 45px;
        height: 45px;

        padding: 0;

        border: 1px solid #000080;
        border-radius: 50%;

        background: #fff;

        color: #000080;

        cursor: pointer;
    }


    .newsCarouselButtons button span {
        font-size: 16px;
    }


    .newsCarouselButtons button:active {
        transform: scale(0.95);
    }
}

/* ========================================
   SP時改行
======================================== */

@media (min-width: 600px) {
    .brSP {
        display: none;
    }
}


/* ====================================
   記事エリア
==================================== */

.articleHighlightPoint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.articleHighlightBullet {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: 0.6em;
    border-radius: 50%;
    background-color: currentColor;
}

@media (min-width: 900px) {
    .articleHighlight {
        padding: 20px;
        background-color: #f5f5f5;
        margin: 30px 0;
        border-radius: 20px;
    }
}

@media (max-width: 900px) {
    .articleHighlight {
        padding: 20px;
        background-color: #ffffff;
        margin: 30px 0;
        border-radius: 20px;
    }
}

.articleHighlightTitle {
    text-align: center;
    font-size: 20px;
    border: 1.5px solid;
    margin: 0 auto 20px;
    border-radius: 40px;
    max-width: 220px;
    padding: 10px 0;
}

.articleThumbnail {
    width: 100%;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 20px;
}

.articleThumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (min-width: 900px) {
    .article {
        display: flex;

        width: calc(100% - 40px);
        margin: 40px 20px 30px;

        min-width: 0;
        box-sizing: border-box;
    }

    .articleMain {
        flex: 2.2 1 0;

        min-width: 0;
        box-sizing: border-box;

        margin: 0 30px;
        padding: 40px;

        background-color: #ffffff;
        border-radius: 20px;
    }

    .articleSub {
        flex: 1 1 0;

        min-width: 0;
        box-sizing: border-box;
    }

    h1 {
        margin: 0;
        padding: 0;
        font-weight: normal;
    }

    .articleStatus {
        display: flex;
        justify-content: space-between;
        padding: 15px 5px 7px 0;
    }

}

@media (max-width: 900px) {
    .article {
        padding: 120px 20px;
        background-color: #ffffffc9;
    }

    .articleMain {
        padding: 0 15px;
    }

    h1 {
        margin: 0;
        padding: 0;
        font-weight: normal;
    }

    .articleStatus {
        display: flex;
        justify-content: space-between;
        padding: 15px 5px 7px 0;
    }

    .articleSub {
        display: none;
    }
}

.articleBottom {
    display: flex;
    justify-content: center;
}

.articleBottomButton {
    display: block;
    background-color: #000a69;
    color: #ffffff;
    max-width: 250px;
    padding: 15px 20px;
    margin: 30px auto 0;
    border: 2px solid #000a69;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.articleBottomButton:hover {
    background-color: #ffffff;
    color: #000a69;
}

.articleBottomButton>a {
    text-decoration: none;
    color: #ffffff;
}

/* ====================================
   シェアボタン
==================================== */
.articleShare {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
}

.articleShare a {
    margin-left: 20px;
    width: 70px;
    text-align: center;
    font-size: 24px;
}


.articleShareButton {
    background-color: #fff;

    /* ホバー時の透明度変化を滑らかにする */
    transition: opacity 0.3s ease;

    cursor: pointer;
}

.articleShareButton:hover {
    opacity: 0.5;
}

.ShareFacebook {
    background-color: #fff;
    border: 3px solid rgb(24, 119, 242);
}

.ShareLine {
    background-color: #fff;
    border: 3px solid rgb(0, 185, 0);
}

.ShareX {
    background-color: #fff;
    border: 3px solid rgb(0, 0, 0)
}


/* ====================================
   記事エリア内目次
==================================== */

@media (min-width: 900px) {
    .articleOutline {
        background: #f5f5f5;
        margin: 30px;
    }
}

@media (max-width: 900px) {
    .articleOutline {
        background: #ffffff;
        margin: auto;
    }
}

.articleOutline {

    padding: 20px;
    border-radius: 10px;
}

.articleOutlineTitle {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.articleOutlineList {
    margin: 0;
    padding: 0;
    list-style: none;
}

#articleOutlineList {
    margin: 0;
    padding: 0;
    list-style: none;
    padding: 0 20px;
}

#articleOutlineList li {
    margin: 8px 0;
}

#articleOutlineList li a {
    display: flex;
    align-items: flex-start;

    color: #333;
    text-decoration: none;

    line-height: 1.5;

    white-space: normal;
    overflow-wrap: anywhere;
}


/* 円 */
#articleOutlineList li a::before {
    content: "";

    flex-shrink: 0;

    width: 8px;
    height: 8px;

    margin-top: 0.55em;
    margin-right: 8px;

    border-radius: 50%;
    background-color: #333;
}


/* h2 */
#articleOutlineList .outline-h2 {
    margin-left: 0;
}

#articleOutlineList .outline-h2 a::before {
    width: 8px;
    height: 8px;
}


/* h3 */
#articleOutlineList .outline-h3 {
    margin-left: 20px;
}

#articleOutlineList .outline-h3 a::before {
    width: 6px;
    height: 6px;
}


/* h4 */
#articleOutlineList .outline-h4 {
    margin-left: 40px;
}

#articleOutlineList .outline-h4 a::before {
    width: 4px;
    height: 4px;
}

.articleBody h2,
.articleBody h3,
.articleBody h4 {
    scroll-margin-top: 100px;
}


/* ====================================
   記事サブエリア内目次
==================================== */

@media (min-width: 900px) {
    .articleOutlineSub {
        padding: 20px;
        background: #ffffff;
        border-radius: 10px;
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }

    .articleOutlineSub ul {
        margin: 0;
        padding: 5px 20px;
        list-style: none;
    }

    .articleOutlineSub li {
        margin: 8px 0;
    }

    .articleOutlineSub li a {
        display: flex;
        align-items: flex-start;

        color: #333;
        text-decoration: none;

        line-height: 1.5;

        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* 円 */
    .articleOutlineSub li a::before {
        content: "";

        flex-shrink: 0;

        width: 8px;
        height: 8px;

        margin-top: 0.55em;
        margin-right: 8px;

        border-radius: 50%;
        background-color: #333;
    }

    /* h2 */
    .articleOutlineSub .outline-h2 {
        margin-left: 0;
    }

    .articleOutlineSub .outline-h2 a::before {
        width: 8px;
        height: 8px;
    }

    /* h3 */
    .articleOutlineSub .outline-h3 {
        margin-left: 20px;
    }

    .articleOutlineSub .outline-h3 a::before {
        width: 6px;
        height: 6px;
    }

    /* h4 */
    .articleOutlineSub .outline-h4 {
        margin-left: 40px;
    }

    .articleOutlineSub .outline-h4 a::before {
        width: 4px;
        height: 4px;
    }
}

/* ====================================
   記事一覧/ボタン
==================================== */

@media (min-width: 900px) {
    .searchCategories {
        padding: 0px 60px 30px;
    }
}

@media (max-width: 900px) {
    .searchCategories {
        padding: 90px 20px 30px;
    }
}

.searchCategoriesTitle {
    background: #ffffff;
    padding: 30px;
    font-size: 30px;
    margin: 30px 0;
    border-radius: 12px;
}

.searchCategoriesButtonArea {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
    margin: 30px auto 0;
}

.searchCategoriesButton {
    min-height: 50px;
    border: 2px solid #000a69;
    background-color: #ffffff;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    border: 1px solid #d3d3d3;
}

.searchCategoriesButton:hover {
    background-color: #615858;
    color: #ffffff;
}

.searchCategoriesButton.is-active {
    background-color: #c0c6fa70;
    color: #000a69;
}

/* 共通 */
.searchCardContainer>a {
    text-decoration: none;
    color: #000000;
}

.searchCard {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    min-width: 0;

    /* ホバー時の透明度変化を滑らかにする */
    transition: opacity 0.3s ease;
    cursor: pointer;
}


.searchCard:hover {
    opacity: 0.5;
}


.searchCardThumb {
    background-image: url("../../asset/img/default.png");
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.searchCardStatus {
    display: flex;
    justify-content: space-between;
    margin: 8px 2px;
}

.searchCardTitle {
    font-size: 18px;
    margin: 0 2px;
}

.searchCardTag>a {
    text-decoration: none;
    color: #000000;
}

/* PC */
@media (min-width: 901px) {
    .searchCardContainer {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
}


/* タブレット */
@media (min-width: 601px) and (max-width: 900px) {
    .searchCard03 {
        display: none;
    }

    .searchCardContainer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
}


/* SP */
@media (max-width: 600px) {
    .searchCardContainer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
}

.searchCardLink {
    display: flex;
    justify-content: center;
}

.searchCardlink a {
    text-decoration: none;
}

.searchCardLinkButton {
    display: block;

    background-color: #000a69;
    color: #ffffff;

    width: 40%;
    max-width: 250px;

    padding: 15px 20px;
    margin: 30px auto 0;

    border: 2px solid #000a69;
    border-radius: 30px;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.searchCardLinkButton:hover {
    background-color: #ffffff;
    color: #000a69;
}


/* ========================================
   ページネーション
======================================== */

.searchPagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    margin-top: 40px;
}


.searchPaginationButton {

    width: 40px;
    height: 40px;

    border: 1px solid #333;
    background-color: #fff;

    cursor: pointer;

    font-size: 16px;

    transition:
        background-color 0.3s,
        color 0.3s,
        opacity 0.3s;

}


.searchPaginationButton:hover {

    opacity: 0.6;

}


.searchPaginationButton.active {

    background-color: #333;
    color: #fff;

}


/* ========================================
   h2,h3,h4装飾
======================================== */

@media (min-width: 900px) {
    h2 {
        padding: 1rem;
        border-left: 10px solid #5e8a9a;
        background: #f5f5f5;
        font-weight: normal;
    }

    h3 {
        position: relative;
        padding: 1rem;
        border-bottom: 4px solid #418295;
        font-weight: normal;
    }

    h3:before {
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 20%;
        height: 4px;
        content: '';
        background: #8ab7c0;
    }

    h4 {
        border-bottom: 2px dotted #000000;
        padding: 10px 0 10px 10px;
        font-weight: normal;
    }
}

@media (max-width: 900px) {
    h2 {
        padding: 1rem;
        border-left: 10px solid #0080ad;
        background: #ffffff;
        font-weight: normal;
    }

    h3 {
        position: relative;
        padding: 1rem;
        border-bottom: 4px solid #418295;
        font-weight: normal;
    }

    h3:before {
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 20%;
        height: 4px;
        content: '';
        background: #8ab7c0;
    }

    h4 {
        font-weight: normal;
        border-bottom: 2px dotted #000000;
        padding: 10px 0 10px 10px;
    }
}


/* ====================================
   目次ホバー
==================================== */

/* 共通 */
.sidemenuOutline li a,
#articleOutlineList li a,
.articleOutlineSub li a {
    transition:
        color 0.3s ease;
}

.sidemenuOutline li a::before,
#articleOutlineList li a::before,
.articleOutlineSub li a::before {
    transition:
        background-color 0.3s ease;
}

/* h2 */

.sidemenuOutline .outline-h2 a:hover,
#articleOutlineList .outline-h2 a:hover,
.articleOutlineSub .outline-h2 a:hover {
    color: #000a69;
}

.sidemenuOutline .outline-h2 a:hover::before,
#articleOutlineList .outline-h2 a:hover::before,
.articleOutlineSub .outline-h2 a:hover::before {
    background-color: #000a69;
}


/* h3 */


.sidemenuOutline .outline-h3 a:hover,
#articleOutlineList .outline-h3 a:hover,
.articleOutlineSub .outline-h3 a:hover {
    color: #0066cc;
}

.sidemenuOutline .outline-h3 a:hover::before,
#articleOutlineList .outline-h3 a:hover::before,
.articleOutlineSub .outline-h3 a:hover::before {
    background-color: #0066cc;
}

/* h4 */

.sidemenuOutline .outline-h4 a:hover,
#articleOutlineList .outline-h4 a:hover,
.articleOutlineSub .outline-h4 a:hover {
    color: #339999;
}

.sidemenuOutline .outline-h4 a:hover::before,
#articleOutlineList .outline-h4 a:hover::before,
.articleOutlineSub .outline-h4 a:hover::before {
    background-color: #339999;
}



.relatedItem {
    padding: 20px 20px 25px;
}

.relatedItem a {
    color: #000000;
    text-decoration: none;
}

.relatedItemInfo {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
}

.relatedItemCard {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
}

.relatedItemCardTextArea {
    padding: 0 20px;
}

.relatedItemCardStatus {
    display: flex;
    gap: 20px;
    padding: 0 0 10px;
}

.relatedItemCardTitle {
    font-size: 20px;
    font-weight: 600;
}


/* ====================================
   サイト内検索
==================================== */
.searchArticleTitle {
    text-align: center;
    margin: 20px 0;
}

.siteSearch {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px;
}

.siteSearchForm {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.siteSearchInput {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;

    border: 1px solid #ccc;
    border-right: none;
    border-radius: 8px 0 0 8px;

    background-color: #fff;

    font-size: 14px;
    box-sizing: border-box;
}

.siteSearchInput:focus {
    outline: none;
    border-color: #000080;
}

.siteSearchButton {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    padding: 0;

    border: 1px solid #000080;
    border-radius: 0 8px 8px 0;

    background-color: #000080;
    color: #fff;

    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 900px) {

    .side-menu .siteSearch {
        padding: 0 40px;
        margin: 40px 0 0;
    }

    .side-menu .siteSearchInput {
        height: 40px;
    }

    .side-menu .siteSearchButton {
        height: 40px;
        flex-basis: 40px;
        width: 40px;
    }

}


/* ====================================
   サイトマップホバー
==================================== */

.siteMapList a {
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: #658cb4;
}

.siteMapList a:hover {
    opacity: 0.6;
}


/* ====================================
   パンくずリスト
==================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.6;
}

.breadcrumbSeparator {
    color: #777;
}

.breadcrumbCurrent {
    color: #555;
}


/* ========================================
   関連記事
======================================== */

.relatedItemInfo {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.relatedItemContainer {
    display: grid;
    gap: 20px;
}

.relatedItemContainer>a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.relatedItemCard {
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.relatedItemContainer>a:hover {
    opacity: 0.6;
}

.relatedItemCardThumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.relatedItemCardTextArea {
    padding: 12px;
}

.relatedItemCardStatus {
    margin-bottom: 6px;
    font-size: 14px;
}

.relatedItemCardTitle {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
}


/* PC：3列 */
@media (min-width: 901px) {

    .relatedItemContainer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .relatedItem {
        padding: 5px 40px 70px;
    }

}


/* タブレット：2列 */
@media (min-width: 601px) and (max-width: 900px) {

    .relatedItemContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .relatedItem {
        padding: 5px 40px 40px;
    }

}


/* SP：1列 */
@media (max-width: 600px) {

    .relatedItemContainer {
        grid-template-columns: 1fr;
    }

    .relatedItem {
        padding: 5px 40px 40px;
    }

}