/* ========================================
   Custom CSS - 日本EMDR学会
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Noto+Sans+JP:wght@100..900&display=swap');


/* ========================================
   1. 基本スタイル
   ======================================== */

/* ベーススタイル */
body {
    background-color: #F1EFEE;
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    color: #333;
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #166aca;
}

a:hover {
    color: #b43e58;
}

article {
    clear: both;
    display: block;
}

/* レスポンシブ - 基本 */
@media (max-width: 1023px) {
    body {
        font-size: 14px;
        line-height: 1.6em;
    }
}

@media (min-width: 1024px) {
    .sp_only {
        display: none;
    }
}

@media (max-width: 1023px) {
    .pc_only {
        display: none;
    }
}


/* ========================================
   2. ヘッダー・ナビゲーション
   ======================================== */

/* ヘッダー */
header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    min-width: 1280px;
    max-width: 100%;
    background-color: #fff;
}

.site-header-inner__left {
    display: flex;
    align-items: center;
}

.site-header-inner__left-logo {
    width: 220px;
    padding-top: 6px;
}

.site-header-inner__left-ttl h1 {
    font-size: 14px;
    margin-left: 40px;
    line-height: 1.2em;
}

.site-header-inner__left-ttl h1 span {
    font-size: 18px;
    display: block;
    line-height: 1.2em;
}

.site-header-inner__right {
    display: flex;
    padding-right: 100px;
}

a.site-header-inner__right-member {
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 60px;
    text-align: center;
    border: 4px solid #A99D97;
    color: #CA151D;
}

a.site-header-inner__right-member:hover {
    background-color: #eee8e4;
    color: #b3151d;
}

a.site-header-inner__right-member i {
    margin-right: 10px;
    font-size: 22px;
}

@media (max-width: 1023px) {
    header.site-header {
        min-width: auto;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .site-header-inner__left {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-inner__left-logo {
        width: 180px;
    }

    .site-header-inner__left-ttl h1 {
        font-size: 12px;
        margin: 4px 0px 0px 6px;
        line-height: 1.2em;
    }

    .site-header-inner__left-ttl h1 span {
        font-size: 12px;
        display: inline-block;
        line-height: 1.2em;
        margin-left: 6px;
    }

    a.site-header-inner__right-member {
        display: none;
    }
}

/* メインナビゲーション */
body>.main-navigation {
    background-color: #93847C;
    padding: 0;
}

body>.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

body>.main-navigation ul li {
    position: relative;
    margin: 0;
}

body>.main-navigation ul li a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

body>.main-navigation ul li a:hover {
    background-color: #7a6e68;
}

/* サブメニュー（プルダウン） */
body>.main-navigation ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

body>.main-navigation ul li:hover>ul {
    display: flex;
}

body>.main-navigation ul li ul li {
    width: 100%;
}

body>.main-navigation ul li ul li a {
    color: #333;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    line-height: 1.4em;
}

body>.main-navigation ul li ul li a:hover {
    background-color: #f5f5f5;
    color: #CA151D;
}

body>.main-navigation ul li ul li:last-child a {
    border-bottom: none;
}

/* サブメニューの矢印インジケーター */
body>.main-navigation ul li.menu-item-has-children>a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

@media (max-width: 1023px) {
    body>.main-navigation {
        display: none;
    }
}


/* ========================================
   3. オフキャンバスメニュー（モバイル）
   ======================================== */

/* ハンバーガーメニュー */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #CA151D;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
}

.hamburger-menu:hover {
    background-color: #b3151d;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hamburger-menu.active span:nth-child(1) {
    position: absolute;
    transform: rotate(45deg) translateZ(0);
    transform-origin: center center;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -1.5px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.hamburger-menu.active span:nth-child(3) {
    position: absolute;
    transform: rotate(-45deg) translateZ(0);
    transform-origin: center center;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -1.5px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* メニューパネル */
.menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 420px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
}

.menu-panel.active {
    right: 0;
}

/* オーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* サイドナビゲーション（メニューパネル内） */
.side-navigation {
    background-color: transparent;
    padding: 20px;
}

.side-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.side-navigation ul li {
    margin: 0;
    position: relative;
}

.side-navigation ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    transition: all 0.3s ease;
}

.side-navigation ul li a:hover {
    background-color: #f5f5f5;
    color: #CA151D;
    padding-left: 25px;
}

/* サブメニューがある項目 */
.side-navigation ul li.menu-item-has-children {
    position: relative;
}

.side-navigation ul li.menu-item-has-children>a {
    position: relative;
    padding-right: 50px;
}

/* サブメニュー開閉ボタン */
.side-navigation ul li.menu-item-has-children>a::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    color: #CA151D;
    transition: transform 0.3s ease;
}

.side-navigation ul li.menu-item-has-children.active>a::after {
    content: '▲';
}

/* サブメニュー */
.side-navigation ul li ul {
    display: none;
    background-color: #f9f9f9;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.side-navigation ul li.active>ul {
    display: block;
    max-height: 1000px;
}

.side-navigation ul li ul li {
    border-bottom: none;
}

.side-navigation ul li ul li a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: transparent;
}

.side-navigation ul li ul li a:hover {
    background-color: #fff;
    padding-left: 45px;
}

.side-navigation ul li ul li:last-child a {
    border-bottom: none;
}

/* 会員ボタン（モバイル） */
a.site-navigation__bottom-member {
    display: none;
}

.site-navigation__bottom {
    display: none;
}

@media (max-width: 1023px) {
    /* メニューパネル */
    .menu-panel {
        right: -100%;
        width: 360px;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
    }

    /* 会員ボタンエリア */
    .site-navigation__bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px) + 40px) 20px;
        margin-top: auto;
    }

    /* 会員ボタン */
    a.site-navigation__bottom-member {
        font-size: 16px;
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 280px;
        height: 60px;
        text-align: center;
        border: 4px solid #A99D97;
        color: #CA151D;
    }

    a.site-navigation__bottom-member:hover {
        background-color: #eee8e4;
        color: #b3151d;
    }

    a.site-navigation__bottom-member i {
        margin-right: 10px;
        font-size: 22px;
    }
}


/* ========================================
   4. フッター
   ======================================== */

.site-footer {
    background-color: #93847C;
    color: #fff;
    margin: 60px 0 0 0;
}

.site-footer-inner {
    display: flex;
    width: 1280px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    box-sizing: border-box;
}

.site-footer-inner__left {
    width: 780px;
    border-right: 1px solid #CCC;
}

.site-footer-inner__right {
    width: 360px;
    padding-left: 40px;
}

h3.site-footer-inner__left-title {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4em;
}
h3.site-footer-inner__left-title span {
    font-size: 16px;
}

p.site-footer-inner__left-address {
    font-size: 16px;
    line-height: 1.5em;
}

p.site-footer-inner__left-address a {
    color: #fff;
}

p.site-footer-inner__left-address a:hover {
    color: #dbd7d5;
}

p.site-footer-inner__left-description {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5em;
}

p.site-footer-inner__left-copyright {
    font-size: 14px;
    margin-top: 20px;
    font-size: 14px;
}

ul#footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

ul#footer-menu a {
    color: #fff;
}

ul#footer-menu a:hover {
    color: #dbd7d5;
}

ul#footer-menu li {
    margin-bottom: 2px;
}

ul#footer-menu li .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 12px;
}

ul#footer-menu li .sub-menu li {
    padding: 0;
    margin: 0 0 0 8px;
}

@media (max-width: 1023px) {
    .site-footer-inner {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        padding: 30px 24px;
    }

    .site-footer-inner__left {
        width: 100%;
        padding: 30px 0 0 0;
        border-right: none;
    }

    .site-footer-inner__right {
        width: 100%;
        padding: 0 0 30px 0;
        border-bottom: 1px solid #CCC;
    }

    ul#footer-menu li {
        margin: 0 !important;
    }

    ul#footer-menu li a {
        display: inline-block;
        margin-bottom: 6px !important;
    }
}

/* ========================================
   5. メインビジュアル（スライドショー）
   ======================================== */

.mv {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
}

.mv__slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mv__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.mv__slide.active {
    opacity: 1;
}

.mv__inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.mv__inner-box {
    width: 94%;
    margin: 0 auto;
    padding: 0 0 220px 0px;
}

.mv__inner-ttl {
    font-size: 42px;
    font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    color: #fff;
    font-weight: 400;
    margin: 0;
}

.mv__inner-subttl {
    margin-top: 32px;
    line-height: 1.8em;
    font-size: 22px;
    color: #333;
    border-radius: 6px;
    padding: 20px 30px;
    background-color: rgba(236, 236, 236, 0.897);
    display: inline-block;
}

@media (max-width: 1023px) {
    .mv {
        height: 420px;
    }

    .mv__inner-box {
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .mv__inner-ttl {
        font-size: 24px;
    }

    .mv__inner-subttl {
        margin-top: 32px;
        line-height: 1.8em;
        font-size: 14px;
        color: #333;
        border-radius: 6px;
        padding: 10px 10px;
        background-color: rgba(236, 236, 236, 0.897);
        display: inline-block;
    }
}

/* ========================================
   6. メインコンテンツエリア
   ======================================== */

.main-content__outer {
    width: 1200px;
    max-width: 100%;
    padding: 40px;
    background-color: #fff;
    margin: 40px auto 0 auto;
    display: flex;
    box-sizing: border-box;
}

.main-content__left {
    width: 780px;
    padding-right: 30px;
}

.main-content__right {
    width: 360px;
    padding-left: 30px;
}

@media (max-width: 1023px) {
    .main-content__outer {
        width: 100%;
        padding: 10px;
        margin: 40px auto 0 auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .main-content__left {
        width: 100%;
        padding: 16px;
    }

    .main-content__right {
        width: 100%;
        padding: 16px;
    }
}


/* ========================================
   7. ページトップへ戻るボタン
   ======================================== */

.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #CA151D;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: #b3151d;
    transform: translateY(-5px);
}

/* ========================================
   8. フロントページ
   ======================================== */

h2.index_cat_ttl {
    font-size: 20px;
    line-height: 1.6em;
    border-bottom: 4px solid #CA151D;
    margin-bottom: 20px;
    padding-bottom: 6px;
    font-weight: 500;
}

h2.index_cat_ttl i {
    color: #CA151D;
    margin-right: 12px;
}


/* ========================================
   11. 投稿一覧リスト
   ======================================== */

ul.index_post_list {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
}

ul.index_post_list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 1em;
}

ul.index_post_list .post_date {
    color: #616161;
    font-size: 12px;
    margin-top: 3px;
}

ul.index_post_list li a[class^="cat-"] {
    display: inline-block;
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 5px 0;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    line-height: 12px;
    white-space: nowrap;
    font-weight: 500;
    text-align: center;
    margin-top: 3px;
}

ul.index_post_list li a[class^="cat-"]:hover {
    opacity: 0.8;
}

ul.index_post_list li>a[href*="permalink"] {
    flex: 1;
    text-decoration: none;
    color: #333;
}

ul.index_post_list li>a[href*="permalink"]:hover {
    color: #166aca;
    text-decoration: underline;
}

ul.index_post_list a.post_ttl {
    color: #333;
    text-decoration: none;
}

ul.index_post_list a.post_ttl:hover {
    text-decoration: underline;
}

@media (max-width: 1023px) {
    ul.index_post_list li {
        flex-wrap: wrap;
        gap: 6px 8px;
        align-items: flex-start;
    }

    ul.index_post_list .post_date {
        order: 1;
        margin-top: 0;
    }

    ul.index_post_list li a[class^="cat-"] {
        order: 2;
        width: auto;
        min-width: 130px;
        max-width: 130px;
        padding: 4px 10px;
        line-height: 1.2;
        margin-top: 0;
    }

    ul.index_post_list a.post_ttl {
        order: 3;
        width: 100%;
        line-height: 1.5;
        margin: 3px 0;
    }
}

/* ========================================
   12. 投稿一覧リスト下のボタン
   ======================================== */

.index_post_btn {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 48px 0;
}

.index_post_btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 200px;
    padding: 6px 24px;
    border: 1px solid #CA151D;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.index_post_btn a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: #CA151D;
    position: absolute;
    right: 20px;
    transition: color 0.3s;
}

.index_post_btn a:hover {
    background-color: #CA151D;
    color: #fff;
}

.index_post_btn a:hover::after {
    color: #fff;
}



/* ========================================
   13. サイドバー
   ======================================== */

h2.side_cat_ttl {
    font-size: 16px;
    line-height: 1.6em;
    background-color: #A99D97;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    padding: 12px 0;
    font-weight: 500;
}

ul.sidebar-menu {
    margin: 0 0 12px 0;
    padding: 0;
}

ul.sidebar-menu li {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
}

ul.sidebar-menu li a {
    text-decoration: none;
    color: #333;
}

ul.sidebar-menu li a:hover {
    text-decoration: underline;
}

span.cat-count {
    font-size: 12px;
}

.sidebar_link {
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.sidebar_link a {
    text-decoration: none;
    color: #333;
}

.sidebar_link a:hover {
    text-decoration: underline;
}

/* ========================================
   14. 検索ボックス
   ======================================== */

/* サイドバー検索ボックス */
.search-box--sidebar {
    margin-top: 40px;
    padding: 20px 0;
    background-color: #fff;
    border-radius: 8px;
}

.search-box--sidebar .search-form {
    display: flex;
    gap: 8px;
}

.search-box--sidebar .search-field {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    width: 240px;
}

.search-box--sidebar .search-field:focus {
    border-color: #A99D97;
}

.search-box--sidebar .search-submit {
    padding: 10px 20px;
    background-color: #A99D97;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box--sidebar .search-submit:hover {
    background-color: #8e837e;
}

/* メインコンテンツエリアの検索フォーム */
.page-content .search-form {
    margin-top: 30px;
    display: flex;
    gap: 8px;
    max-width: 600px;
}

.page-content .search-form label {
    flex: 1;
    display: block;
}

.page-content .search-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.page-content .search-field:focus {
    border-color: #A99D97;
}

.page-content .search-submit {
    padding: 12px 24px;
    background-color: #A99D97;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.page-content .search-submit:hover {
    background-color: #8e837e;
}

/* ========================================
   10. パンくずナビゲーション（トピックパス）
   ======================================== */

.breadcrumb {
    max-width: 1200px;
    font-size: 12px;
    margin: 20px auto 0 auto;
    color: #666;
}

.breadcrumb span {
    margin: 0 2px;
}

.breadcrumb a {
    color: #666;
}

@media (max-width: 1023px) {
    .breadcrumb {
        max-width: 100%;
        padding: 0 16px;
    }
}


/* ========================================
   9. コンテンツ（記事）
   ======================================== */

.entry-content {
    clear: both;
    display: block;
}

.entry-header,
.page-header {
    margin-bottom: 42px;
}

.entry-header .entry-title,
.page-header .page-title {
    font-size: 20px;
    border-bottom: 4px solid #CA151D;
    padding-bottom: 8px;
    font-weight: 500;
}

.entry-header .entry-meta {
    color: #616161;
    font-size: 14px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.entry-header .entry-meta .posted-on {
    margin-right: 10px;
}

.entry-header .entry-meta .posted-on i {
    margin-right: 6px;
    font-size: 14px;
}

.entry-header .entry-meta .cat-links a[class^="cat-"] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    font-weight: 500;
    text-align: center;
}


/* ========================================
   15. アーカイブページ
   ======================================== */

/* アーカイブの説明文 */
.archive-description {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.6em;
}

/* アーカイブページのタイトルスタイル調整 */
.archive .page-header {
    margin-bottom: 42px;
}

.archive .page-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 1023px) {
    .archive .page-title {
        font-size: 20px;
    }
}

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

/* ページネーション（投稿詳細・アーカイブ共通） */
.post-navigation,
.posts-navigation {
    clear: both;
    display: block;
    margin: 60px 0 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.post-navigation .nav-links,
.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next,
.posts-navigation .nav-previous,
.posts-navigation .nav-next {
    flex: 0 0 20%;
    max-width: 20%;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.posts-navigation .nav-previous a,
.posts-navigation .nav-next a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 20px;
    background-color: #A99D97;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
}

.post-navigation .nav-previous a::before,
.posts-navigation .nav-previous a::before {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}

.post-navigation .nav-next a::after,
.posts-navigation .nav-next a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover,
.posts-navigation .nav-previous a:hover,
.posts-navigation .nav-next a:hover {
    background-color: #8e837e;
}

.post-navigation .nav-previous,
.posts-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next,
.posts-navigation .nav-next {
    text-align: right;
}

@media (max-width: 1023px) {
    .post-navigation .nav-links,
    .posts-navigation .nav-links {
        gap: 15px;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next,
    .posts-navigation .nav-previous,
    .posts-navigation .nav-next {
        width: 40%;
        max-width: 40%;
        text-align: center;
    }

    .post-navigation .nav-previous a,
    .post-navigation .nav-next a,
    .posts-navigation .nav-previous a,
    .posts-navigation .nav-next a {
        justify-content: center;
        width: 100px;
        font-size: 12px;
        padding: 4px 20px;
    }


/* ========================================
   17. 検索結果
   ======================================== */

.search-result {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
}

.search-result-title a {
    text-decoration: none;
}