/* 記事詳細ページのスタイリング */
/* 背景のグラデーション */
#overallTop .top_wrapper {
    background: linear-gradient(-45deg, rgba(1, 163, 159, 0.9) 0%, rgba(1, 122, 188, 0.9) 100%);
    min-height: 100vh;
    padding-bottom: 48px;
    overflow: visible;
}

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
メインコンテンツエリア
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 120px 52px 0;
    max-width: 1464px;
    margin: 0 auto;
}
/* セクションタイトル
===============================*/
#overallTop .section-title {
    width: 100%;
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    margin: 0 0 52px;
    color: #FFF;
    border-bottom: none;
}

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
Single：記事全体のコンテナ
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.post-single {
    width: calc(100% - 64px - 302px);
    padding: 0;
}
/*記事ヘッダー
===============================*/
.post-single .post_header{
    background: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    margin-bottom: 52px;
    padding: 24px 32px 16px;
}

/*パンくず
===============================*/
.bread_area {
    width: 100%;
    overflow: hidden;
    margin-bottom:16px;
}
.bread_area .bread_wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding:0 8px 8px 0;
    white-space: nowrap;
}
.bread_area .breadcrumb_element {
    font-size: 1.4rem;
    font-weight: 300;
    color: #fafafa;
}
.bread_area .breadcrumb_element a {
    color: #fafafa;
}
.bread_area .breadcrumb_element a:hover {
    opacity: 0.8;
}
/*パンくず：Single*/
.post-single .bread_area {
    margin:0 0 8px;
}
.post-single .bread_area .breadcrumb_element {
    font-size: 1.4rem;
    font-weight: normal;
    color: #666;
}
.post-single .bread_area .breadcrumb_element a {
    text-decoration: none;
    color: #666;
}

/*スクロールバー*/
.set_scroll_bar::-webkit-scrollbar {
	height: 4px;
}
.set_scroll_bar::-webkit-scrollbar-track {
	background-color: rgba(0, 0, 0, 0);
}
.set_scroll_bar::-webkit-scrollbar-thumb{
    background-color:rgb(200,200,200);
}
/*記事タイトル*/
.post-single .post_header h1 {
    font-size: 2.8rem;
    font-weight: 500;
    color: #083461;
    margin: 0;
    line-height: 1.4;
}

/* タグ */
.tags_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.tags_wrapper a {
    font-size: 12px;
    color: #666 !important;
    margin: 0 12px 12px 0;
}

.tags_wrapper a:hover {
    opacity: 0.8;
}

/* 記事本体 
===============================*/
.post-single .post_entry {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
    padding:32px;
}
/* メタ情報 */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 1.4;
    color: #666;
}
.post-date,
.post-author,
.post-categories {
    display: flex;
    align-items: center;
}
/* アイコン */
.post-date::before,
.post-author::before,
.post-categories::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background-size: contain;
    background-repeat: no-repeat;
}
.post-date::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}
.post-author::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}
.post-categories::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
}
/* カテゴリーとタグのリンク */
.post-categories a,
.post-tags a {
    color: #017ABC;
    text-decoration: none;
}
.post-categories a:hover,
.post-tags a:hover {
    text-decoration: underline;
}

/*記事のスタイル
===============================*/
#entry_style{
    color: #333;
    font-size: 1.6rem;
    line-height: 1.8;
}
#entry_style a{
    color: #428AC9;
}
#entry_style h2,
#entry_style h3,
#entry_style h4,
#entry_style h5,
#entry_style h6{
    position: relative;
    color: #333; 
    font-weight: 500;
    margin:0 0 16px;
}
#entry_style p{
    color: #333;   
}
#entry_style h2{
    width: fit-content;
    font-size: 2.4rem;
    padding:0 4px 2px 16px;
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #01A39F 0%, #017ABC 100%);
    border-image-slice: 1;
}
#entry_style h2:before,
#entry_style h2:after,
#entry_style h3:before,
#entry_style h3:after{
    content: '';
    position: absolute;
    top:0;
    display: block;
    height: 100%;
    background: linear-gradient(to bottom, #017ABC 0%, #01A39F 100%);
}
#entry_style h2:before,
#entry_style h3:before{
    left:0;
    width: 4px;
}
#entry_style h2:after,
#entry_style h3:after{
    left:6px;
    width: 1px;
}
#entry_style h3{
    font-size: 2rem;
    padding:0 0 2px 16px;
}
#entry_style h4{
    font-size: 1.8rem;
    padding:0 0 2px 12px;
    border-left:4px solid #01A39F;
    border-image: linear-gradient(to bottom, #017ABC 0%, #01A39F 100%);
    border-image-slice: 1;
}
#entry_style h5{
    font-size: 1.6rem;
}
#entry_style h6{
    font-size: 1.6rem;
}
#entry_style p{
    font-size: 1.6rem;
    margin-bottom: 20px;   
}
/* アイキャッチ画像 */
.featured-image {
    margin-bottom:16px;
}
.featured-image img {
    object-fit: cover;
}

/* 記事内のリスト */
.post-content ul,
.post-content ol {
    margin: 0 0 20px 20px;
    padding-left: 20px;
}
.post-content li {
    margin-bottom: 10px;
}

/* 記事内の引用 */
.post-content blockquote {
    background-color: #f9f9f9;
    border-left: 4px solid #017ABC;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

/* 記事内の画像 */
.post-content img {
    max-width: 100%;
    height: auto;
    margin: 0 0 16px;
}

/* 記事内のテーブル */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.post-content th,
.post-content td {
    font-size: 1.6rem;
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.post-content th {
    background-color: #f5f5f7;
}

/* タグ */
.post-tags {
    padding: 20px 30px 30px;
    border-top: 1px solid #f0f0f0;
    font-size: 1.4rem;
    color: #666;
}
.post-tags div {
    display: flex;
    align-items: center;
}
.post-tags div::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
関連記事
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.related-posts {
    width: 100%;
    padding: 28px 28px 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}
.related-posts h3 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-post-item {
    background-color: #fff;
    overflow: hidden;
    padding: 16px 20px;
    box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}
.related-post-item:hover {
    transform: translateY(-3px);
}
.related-post-thumbnail {
    overflow: hidden;
}
/*画像有*/
.related-post-thumbnail .thumbnail_wrap{
    position: relative;
    display: block;
    width: 100%;
}
.related-post-thumbnail .thumbnail_wrap:before{
    content: "";
    display: block;
    padding-top: 62.5%;
}

.related-post-thumbnail img {
    position: absolute;
    top:0;
    width: 100%;
    height: 100%;
}
.related-post-thumbnail .placeholder-image{
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}
.related-post-content {
    padding-top: 8px;
}
.related-post-content .term_label {
    display: inline-block;
    font-size: 1.2rem;
    color:#fff;
    background-color: #017ABC;
    border-radius: 8px;
    padding: 3.5px 6.5px;
    margin-bottom: 8px;
}
.related-post-content h4 {
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow:hidden;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.4;
}
.related-post-content h4 a {
    color: #083461;
    text-decoration: none;
}
.related-post-content h4 a:hover {
    opacity: 0.8;
}
.related-post-content .post-date {
    font-size: 1.2rem;
    color: #666;
}

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
投稿一覧ページのスタイリング
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
/* 投稿リストコンテナ
===============================*/
.posts-container {
    width: calc(100% - 64px - 302px );
    max-width:992px ;
    background-color: transparent;
}
/* 投稿リスト
===============================*/
.posts-list {
    display: flex;
    flex-direction: column;
}
/* 投稿アイテム
===============================*/
.post-item {
    display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}
.post-item:hover {
    transform: translateY(-2px);
}
.post-item:last-child {
    margin-bottom: 0;
}

/* サムネイル部分
===============================*/
.post-thumbnail {
    position: relative;
    width: 256px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 40px;
    background-color: #f5f5f7;
}
/*画像有*/
.post-thumbnail .thumbnail_wrap{
    position: relative;
    display: block;
    width: 100%;
}
.post-thumbnail .thumbnail_wrap:before{
    content: "";
    display: block;
    padding-top: 62.5%;
}
.post-thumbnail img {
    position: absolute;
    top:0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumbnail .thumbnail_wrap:hover {
    opacity: 0.8;
}
/*画像無し*/
.post-thumbnail .placeholder-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

/* 投稿内容
===============================*/
.posts-container .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 32px;
    gap: 32px;
}
/* 投稿タイトル */
.posts-list .post-item .title {
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow:hidden;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    border: none;
}
.posts-list .post-item .title a {
    color: #083461;
    display: block;
    text-decoration: none;
}
.posts-list .post-item .title a:hover {
    color: #0079BD;
}
/* 投稿抜粋 */
.posts-list .post-item .post-excerpt {
    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow:hidden;
    font-size: 1.4rem;
    color: #666 !important;
    line-height: 1.4;
    margin:0;
}

/* メタ情報
===============================*/
.post-meta {
    font-size: 1.2rem;
    color: #888;
    margin-top: auto;
    line-height: 1.2;
}

.post-date,
.post-author,
.post-categories {
    display: inline-block;
    margin-right: 10px;
}

.post-categories a {
    color: #0079BD;
    text-decoration: none;
}

.post-categories a:hover {
    text-decoration: underline;
}

/* 続きを読むボタン - 表示しないがスペースは確保 */
.read-more {
    display: none;
}


/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
ページネーション
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 52px 0 0;
    gap: 15px;
}
.pagination a,
.pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 1;
    text-align: center;
    position: relative;
}
.pagination .next,
.pagination .prev {
    width: auto;
    height: auto;
    font-size: 2.1rem;
}
/* 前へ矢印の作成 */
.pagination .prev::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
}
/* 次へ矢印の作成 */
.pagination .next::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.pagination a:hover {
    opacity: 0.8;
}
.pagination .current {
    text-decoration: underline;
    font-weight: 500;
}
/* 省略記号のスタイル */
.pagination .ellipsis {
    width: auto;
    padding: 0 5px;
}

/* 無効なページへのリンク */
/* .pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
} */

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
 サイドバー
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
.sidebar-container {
    position: sticky;
    top: 94px;
    width: 302px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 24px;
    height: fit-content;
    margin-bottom: 69px;
}
.sidebar-container.single_sidebar{
    margin-bottom: 0;
}
.side_banner {
    width: 100%;
    max-height: 256px;
}
.side_banner a {
    display: block;
    width: 100%;
    height: 100%;
}
.side_banner img {
    object-fit: fill;
}
.invite_partner_btn:hover,
.side_banner a:hover {
    opacity: 0.8;
}
.sidebar-container h3 {
    font-size: 2rem;
    font-weight: 500;
    color: #083461;
    margin-bottom: 24px;
    text-align: center;
}

/*おすすめの記事
===============================*/
.recommend_list {
    padding: 47px 16px ;
    margin: 0;
}
.recommend_list li {
    list-style: none;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px;
    line-height: 1.2;
}
.recommend_list li:last-child {
    margin-bottom: 0;
}
.recommend_list li p {
    font-size: 1.6rem;
    color: #333 !important;
    margin-bottom: 8px;
}
.recommend_list li a:hover {
    opacity: 0.8;
}
/*代理店契約をご希望の方はこちら
===============================*/
.sidebar-container .invite_partner_btn {
    display: block;
    width: 100%;
    color: #017ABC;
    margin: 0 auto;
    border: 1px solid #666666;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 12px;
    text-align: center
}

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
レスポンシブデザイン
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
@media screen and (max-width: 1080px) {
    /*Single*/
    .post-single {
        width: 64%;
    }
    .sidebar-container{
        width:32%;
        padding:16px;
    }
    /*Archive*/
    .posts-container {
        width: 64%;
    }

    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    投稿一覧ページのスタイリング
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    /* 投稿アイテム
    ===============================*/
    .post-item {
        padding: 16px 16px;
    }
    /* サムネイル部分
    ===============================*/
    .post-thumbnail {
        position: relative;
        width: 40%;
        margin-right: 16px;
    }
    /* 投稿内容
    ===============================*/
    .posts-container .post-content {
        padding-top:2%;
        gap: 16px;
    }
    /* 投稿抜粋 */
    .posts-list .post-item .post-excerpt {
        -webkit-line-clamp: 4;
    }
}

/*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
スマホ
◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
@media screen and (max-width: 768px) {
    #overallTop .top_wrapper {
        padding-bottom: 0px;
    }

    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    メインコンテンツエリア
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    .main-content {
        flex-direction: column;
        padding: calc(64px + 5vw) 5vw 6.25vw;
        margin:0;
    }
    /* セクションタイトル
    ===============================*/
    #overallTop .section-title {
        margin: 0 0 5vw;
        font-size: 24px;
    }

    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    Single：記事全体のコンテナ
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    .post-single {
        width: 100%;
    }
    /*記事ヘッダー
    ===============================*/
    .post-single .post_header{
        margin-bottom: 8.25vw;
        padding: 2.5vw 2.5vw 2.2vw;
    }
    /*パンくず
    ===============================*/
    .bread_area {
        margin-bottom:5vw;
    }
    .bread_area .bread_wrap {
        padding:0 1.25vw 4px 0;
    }
    .bread_area .breadcrumb_element {
        font-size:max(1rem, 12px);
    }
    /*パンくず：Single*/
    .post-single .bread_area {
        margin:0 0 0.5vw;
    }
    .post-single .bread_area .breadcrumb_element {
        font-size: 0.9rem;
    }

    /*スクロールバー*/
    .set_scroll_bar::-webkit-scrollbar {
        height: 2px;
    }
    /*記事タイトル*/
    .post-single .post_header h1 {
        font-size: 2rem;
    }
    /* 記事本体 
    ===============================*/
    .post-single .post_entry {
        background-color: #fff;
        margin-bottom: 6.25vw;
        padding:3.75vw;
    }

    .tags_wrapper a {
        font-size: 0.9rem;
        margin: 0 0.9rem 0.9rem 0;
    }
    /* メタ情報 */
    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    /*記事のスタイル
    ===============================*/
    #entry_style{
        font-size: 1.2rem;
    }
    #entry_style h2,
    #entry_style h3,
    #entry_style h4,
    #entry_style h5,
    #entry_style h6{
        margin:0 0 3vw;
    }
    #entry_style h2{
        font-size: 1.6rem;
        padding:0 0.625vw 0.3125vw 2.5vw;
    }
    #entry_style h2:before,
    #entry_style h3:before{
        left:0;
        width: 3px;
    }
    #entry_style h2:after,
    #entry_style h3:after{
        left:5px;
        width: 1px;
    }
    #entry_style h3{
        font-size: 1.4rem;
        padding:0 0 0.3125vw 2.5vw;
    }
    #entry_style h4{
        font-size: 1.3rem;
        padding:0 0 0.3125vw 2.5vw;
    }
    #entry_style h5{
        font-size: 1.2rem;
    }
    #entry_style h6{
        font-size: 1.2rem;
    }
    #entry_style p{
        font-size: 1.2rem;    
        margin-bottom: 3vw;   
    }

    /* アイキャッチ画像 */
    .featured-image {
        margin-bottom: 3vw;
    }
    .featured-image img {
        width: 100%;
        height: auto;
    }
    
    /* 記事内のリスト */
    .post-content ul,
    .post-content ol {
        margin: 0 0 15px 15px;
        padding-left: 15px;
    }
    
    .post-content li {
        margin-bottom: 8px;
    }
    
    /* タグ */
    .post-tags {
        padding: 15px;
    }
    
    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    関連記事
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    .related-posts {
        max-width: 100%;
        padding: 5vw 0 6.25vw;
        margin: 0 auto 40px;
        position: relative;
        background: #fff;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    .related-posts h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
        text-align: center;
        color: #083461;
        font-weight: bold;
    }



    /*カルーセル
    ===============================*/
    .related-posts-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding:4px 14.3vw;
        margin: 0 auto;
    }

    .related-posts-grid::after {
        content: "";
        flex: 0 0 15vw; /* 必要な右側のスペースを確保。カード幅に合わせて調整してください */
      }

    .related-posts-grid::-webkit-scrollbar {
        display: none;
    }

    .related-post-item {
        flex: 0 0 80%;
        scroll-snap-align: center;
        padding: 16px;
        margin: 0 5vw;
        background: #fff;
        border: 1px solid #333;
        box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.25);
        position: relative;
        overflow: hidden;
    }
    .related-post-thumbnail {
        position: relative;
    }

    .related-post-content .term_label {
        display: inline-block;
        font-size: 12px;
        color: #fff;
        background-color: #017ABC;
        border-radius: 4px;
        padding: 3px 10px;
        margin-bottom: 8px;
    }

    .related-post-content h4 {
        font-size: 1rem;
        margin: 1.25vw 0;
        line-height: 1.4;
    }

    /*矢印*/
    /* .related-posts::before,
    .related-posts::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 16px;
        height: 16px;
        z-index: 10;
        display: block;
    }
    .related-posts::before {
        left: 13vw;
        transform: translateY(-50%) rotate(405deg);
        border-bottom: 2px solid #666;
        border-left: 2px solid #666;
    }
    .related-posts::after {
        right: 13vw;
        transform: translateY(-50%) rotate(-495deg);
        border-bottom: 2px solid #666;
        border-left: 2px solid #666;
    } */

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 9999; /* カードより上に表示する */
        width: 16px;
        height: 16px;
        border: none;
        background: none;
        cursor: pointer;
          }
    
      /* 左矢印（prev）: L字の左下角をborderで作り、rotate(45deg) */
      .prev-btn {
        left: 12vw;
        /* 
          L字: 上下左右のいずれか2辺をborderにする
          例: 左と下だけに線を入れてL字に
        */  
        border-left: 2px solid #666;
        border-bottom: 2px solid #666;
        /* ボタン全体を 45度 回転させて斜めに */
        transform: translateY(-50%) rotate(45deg);
      }
    
      /* 右矢印（next）: L字の右上角をborderで作り、rotate(45deg) */
      .next-btn {
        right: 12vw;
        border-right: 2px solid #666;
        border-top: 2px solid #666;
        transform: translateY(-50%) rotate(45deg);
      }

    
    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    投稿一覧ページのスタイリング
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    /* 投稿リストコンテナ
    ===============================*/
    .posts-container {
        width: 100%;
        margin: 0 auto;
    }
    /* 投稿アイテム
    ===============================*/
    .post-item {
        flex-direction: column;
        padding: 3.75vw 6.25vw;
        margin-bottom: 6.25vw;
    }
    /* サムネイル部分
    ===============================*/
    .post-thumbnail {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2.5vw;
    }
    /* 投稿内容
    ===============================*/
    .posts-container .post-content {
        padding-top: 0;
        gap: 2.5vw;
    }
    /* 投稿タイトル */
    .posts-list .post-item .title {
        font-size: 1.6rem;
    }
    /* 投稿抜粋 */
    .posts-list .post-item .post-excerpt {
        -webkit-line-clamp:3;
        overflow:hidden;
        font-size: 1rem;
    }

    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    ページネーション
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    .pagination {
        gap: 16px;
        padding: 10vw 0;
    }
    .pagination a,
    .pagination span {
        font-size: 1rem;
    }
    .pagination .next,
    .pagination .prev {
        width: auto;
        height: auto;
        font-size: 1.8rem;
    }

    /*◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
    サイドバー
    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆*/
    .sidebar-container {
        position: static;
        width: 100%;
        padding: 3.75vw;
        margin-bottom: 0;
    }
    .side_banner {
        max-height: 100%;
    }
    .side_banner img {
        width: 100%;
        height: auto;
    }
    .sidebar-container h3 {
        font-size: 1.4rem;
    }

    /*おすすめの記事
    ===============================*/
    .recommend_list {
        padding: 7.5vw 0;
    }

    .recommend_list li p {
        font-size: 1rem;
    }

    /*代理店契約をご希望の方はこちら
    ===============================*/
    .sidebar-container .invite_partner_btn {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
        padding: 2.5vw;
        text-align: center
    }




    /* フッター */
    /* .footer .f_inner {
        flex-direction: column;
        padding: 20px 10px;
    }

    .f_logo {
        margin-bottom: 15px;
    }

    .f_link {
        margin-bottom: 10px;
    } */

    /* 固定バー */
    /* #fixed_bar .fb_inner {
        flex-direction: column;
        padding: 8px;
    }

    #fixed_bar .tel_box {
        margin-bottom: 8px;
    }

    #fixed_bar .tel_box .txt {
        font-size: 12px;
    }

    #fixed_bar .tel_box .tel_number {
        font-size: 18px;
    }

    #fixed_bar .btn_box .btn {
        padding: 8px 15px;
        font-size: 14px;
    } */

}

/* @media screen and (max-width: 480px) {
        .section-title {
            font-size: 16px;
        }
        .post-item h2 {
            font-size: 14px;
        }

        .post-excerpt {
            font-size: 12px;
            -webkit-line-clamp: 1;
        }

        .post-meta {
            font-size: 10px;
        }

        .post-date,
        .post-author,
        .post-categories {
            display: block;
            margin-bottom: 3px;
        }
} */


/* レスポンシブ対応 */
/* @media (max-width: 768px) {
        .post-single article {
            margin-top: 40px;
        }

        .post-single header {
            padding: 20px 20px 15px;
        }

        .post-single h1 {
            font-size: 22px;
        }

        .post-content {
            padding: 0;
        }

        .post-tags {
            padding: 15px 20px 20px;
        }

        .related-posts-grid {
            grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 576px) {
        .post-meta {
            flex-direction: column;
            gap: 8px;
        }

        .related-posts-grid {
            grid-template-columns: 1fr;
        }
} */
