@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
   Fonts
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ========================================
   Color Variables
   ======================================== */
:root {
    /* Primary Colors */
    --color-primary-dark: #1A5F8A;
    --color-primary-main: #2E7BB4;
    --color-primary-light: #5BA3D0;
    --color-primary-pale: #E3F2FD;

    /* Secondary Colors */
    --color-secondary-teal: #2E9B9B;
    --color-secondary-navy: #2C3E50;
    --color-secondary-indigo: #5E72E4;
    --color-secondary-cyan: #26A69A;

    /* Accent Colors */
    --color-accent-green-main: #4CAF50;
    --color-accent-green-light: #8BC34A;
    --color-accent-orange-main: #FF9800;
    --color-accent-orange-light: #FFA726;

    /* Neutral Colors */
    --color-neutral-white: #F8FAFB;
    --color-neutral-light: #ECEFF1;
    --color-neutral-medium: #CFD8DC;
    --color-neutral-gray: #90A4AE;
    --color-neutral-dark: #546E7A;
    --color-neutral-text: #1A1A1A;

    /* Semantic Colors */
    --color-success: #4CAF50;
    --color-warning: #FFA726;
    --color-error: #EF5350;
    --color-info: #2E7BB4;
}

/* ========================================
   Base Styles Override
   ======================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove top padding on homepage */
.top #content {
    padding-top: 0;
}

/* ========================================
   Tab Styles
   ======================================== */

/* Tab Container */
.swell-block-tab {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Tab List */
.swell-block-tab .c-tabList {
    display: flex;
    gap: 12px;
    border-bottom: none;
}

/* Tab Body - カードリストとタブの間隔を確保 */
.swell-block-tab .c-tabBody {
    margin-top: 30px;
}

/* Tab Button */
.swell-block-tab.is-style-default > .c-tabList .c-tabList__button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-neutral-gray);
    background: transparent;
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swell-block-tab.is-style-default > .c-tabList .c-tabList__button:hover {
    color: var(--color-primary-main);
    background-color: var(--color-primary-pale);
}

/* Active Tab */
.swell-block-tab.is-style-default > .c-tabList .c-tabList__button[aria-selected="true"] {
    color: white;
    background-color: var(--color-primary-main);
    font-weight: 600;
}

/* Tab Body */
.swell-block-tab.is-style-default .c-tabBody {
    min-height: 200px;
    border: none;
    padding: 0;
}

.c-tabBody__item {
    padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .swell-block-tab.is-style-default > .c-tabList .c-tabList__button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========================================
   Header Text Color Override
   ======================================== */

/* Site Title - Gradient Text */
.l-header .c-headLogo__link,
.l-fixHeader .c-headLogo__link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--color-primary-main) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.l-header .c-headLogo__link:hover,
.l-fixHeader .c-headLogo__link:hover {
    transform: translateY(-1px);
}

/* Navigation Menu Links */
.l-header .c-gnav a,
.l-fixHeader .c-gnav a {
    color: var(--color-neutral-dark);
    font-weight: 600;
}

.l-header .c-gnav a:hover,
.l-fixHeader .c-gnav a:hover {
    color: var(--color-primary-dark);
    background-color: var(--color-primary-pale);
}

/* Header Icons */
.l-header .l-header__icon,
.l-header .p-header__icon,
.l-header .c-header__icon,
.l-fixHeader .l-fixHeader__icon,
.l-fixHeader .p-header__icon,
.l-fixHeader .c-header__icon {
    color: var(--color-primary-main);
}

.l-header .l-header__icon:hover,
.l-header .p-header__icon:hover,
.l-header .c-header__icon:hover,
.l-fixHeader .l-fixHeader__icon:hover,
.l-fixHeader .p-header__icon:hover,
.l-fixHeader .c-header__icon:hover {
    color: var(--color-primary-dark);
}

/* Search Button */
.l-header .p-headerSearch__btn,
.l-header .c-headerSearch__btn,
.l-fixHeader .p-headerSearch__btn,
.l-fixHeader .c-headerSearch__btn {
    color: var(--color-primary-main);
}

.l-header .p-headerSearch__btn:hover,
.l-header .c-headerSearch__btn:hover,
.l-fixHeader .p-headerSearch__btn:hover,
.l-fixHeader .c-headerSearch__btn:hover {
    background-color: var(--color-primary-main);
    color: white;
}

/* Hamburger Menu Button */
.l-header .c-hamburger__line,
.l-fixHeader .c-hamburger__line {
    background-color: var(--color-primary-main);
}

/* ========================================
   Header Structure & Navigation Styles (PC)
   ======================================== */
@media (min-width: 960px) {
    /* Header Inner - Main Container */
    .l-header .l-header__inner,
    .l-fixHeader .l-fixHeader__inner {
        display: flex;
        flex-direction: column;
    }

    /* Header Top - Logo and Search Button Container */
    .l-header .header-top,
    .l-fixHeader .header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
    }

    /* Header Actions - Search Button Container */
    .l-header .header-actions,
    .l-fixHeader .header-actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    /* Navigation Wrapper */
    .l-header .c-gnavWrap,
    .l-fixHeader .c-gnavWrap {
        border-top: 1px solid var(--color-neutral-light);
        width: 100%;
    }

    /* Menu List */
    .l-header .c-gnav,
    .l-fixHeader .c-gnav {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
        flex-wrap: wrap;
    }

    /* Menu Items */
    .l-header .c-gnavWrap .c-gnav > li > a,
    .l-fixHeader .c-gnavWrap .c-gnav > li > a {
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 15px;
        color: var(--color-neutral-dark);
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        box-shadow: none;
    }

    .l-header .c-gnavWrap .c-gnav > li > a:hover,
    .l-fixHeader .c-gnavWrap .c-gnav > li > a:hover {
        background-color: var(--color-primary-pale);
        color: var(--color-primary-dark);
        border: none;
        box-shadow: none;
    }

    /* Remove underline effect on hover */
    .l-header .c-gnavWrap .c-gnav > li > a::after,
    .l-fixHeader .c-gnavWrap .c-gnav > li > a::after,
    .l-header .c-gnavWrap .c-gnav > li:hover > a::after,
    .l-fixHeader .c-gnavWrap .c-gnav > li:hover > a::after,
    .l-header .c-gnavWrap .c-gnav > li.-current > a::after,
    .l-fixHeader .c-gnavWrap .c-gnav > li.-current > a::after {
        display: none;
    }

    /* Search Button */
    .l-header .c-gnav__sBtn,
    .l-fixHeader .c-gnav__sBtn {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        color: var(--color-primary-main);
        background-color: transparent;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .l-header .c-gnav__sBtn:hover,
    .l-fixHeader .c-gnav__sBtn:hover {
        background-color: var(--color-primary-pale);
        color: var(--color-primary-dark);
    }

    .l-header .c-gnav__sBtn i,
    .l-fixHeader .c-gnav__sBtn i {
        font-size: 20px;
    }
}

/* ========================================
   Popular Posts / Article List Styles
   ======================================== */

/* Post List Container - Grid Layout: Complex layout with featured + 3-column grid */
.p-postList.-type-card {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

/* First item spans 4 columns and 2 rows */
.p-postList.-type-card .p-postList__item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
}

/* Second item spans 2 columns */
.p-postList.-type-card .p-postList__item:nth-child(2) {
    grid-column: span 2;
}

/* Third item spans 2 columns */
.p-postList.-type-card .p-postList__item:nth-child(3) {
    grid-column: span 2;
}

/* 4th item onwards: each spans 2 columns (3 items per row) */
.p-postList.-type-card .p-postList__item:nth-child(n+4) {
    grid-column: span 2;
}

/* Individual Post Item */
.p-postList__item {
    margin-bottom: 0 !important;
}

/* Post Link - Card Container（リスト表示は除外） */
body main#main_content .p-postList:not(.-type-list) .p-postList__item > a,
body main#main_content .p-postList:not(.-type-list) .p-postList__link,
html body .l-mainContent .p-postList:not(.-type-list) .p-postList__item > a,
html body .l-mainContent .p-postList:not(.-type-list) .p-postList__link {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

body main#main_content .p-postList:not(.-type-list) .p-postList__item > a:hover,
body main#main_content .p-postList:not(.-type-list) .p-postList__link:hover,
html body .l-mainContent .p-postList:not(.-type-list) .p-postList__item > a:hover,
html body .l-mainContent .p-postList:not(.-type-list) .p-postList__link:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px) scale(1.02);
    border-color: transparent;
    z-index: 10;
}

/* Post Image */
.p-postList__item .p-postList__thumb,
.p-postList__item figure {
    margin: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.p-postList__item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.p-postList__item > a:hover figure img {
    transform: scale(1.1);
}

/* Post Content Area */
.p-postList__item .c-postCard__body,
.p-postList__item .p-postList__body,
.p-postList__item > a > div:not(figure) {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* Post Title - Featured (1st item) - トップページ用（サイドバー・アーカイブ・関連記事除外） */
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(1) .c-postCard__title,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(1) .p-postList__title,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(1) h2,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(1) h3,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(1) .c-postCard__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(1) .p-postList__title {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: var(--color-primary-main) !important;
    margin: 0 0 12px 0 !important;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Title - Small Cards (2nd & 3rd items) - トップページ用（サイドバー・アーカイブ・関連記事除外） */
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(2) .c-postCard__title,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(3) .c-postCard__title,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(2) .p-postList__title,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(3) .p-postList__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(2) .c-postCard__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(3) .c-postCard__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(2) .p-postList__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(3) .p-postList__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--color-primary-main) !important;
    margin: 0 0 8px 0 !important;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Title - Regular Cards (4th item onwards) - トップページ用（サイドバー・アーカイブ除外） */
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card .p-postList__item:nth-child(n+4) .c-postCard__title,
:not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card .p-postList__item:nth-child(n+4) .p-postList__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(n+4) .c-postCard__title,
.p-mainVisual .p-postList.-type-card .p-postList__item:nth-child(n+4) .p-postList__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: var(--color-primary-main) !important;
    margin: 0 0 12px 0 !important;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-postList__item > a:hover .c-postCard__title,
.p-postList__item > a:hover .p-postList__title,
.p-postList__item > a:hover h2,
.p-postList__item > a:hover h3 {
    color: var(--color-primary-dark) !important;
}

/* Post Excerpt - Featured (1st item) */
.p-postList.-type-card .p-postList__item:nth-child(1) .c-postCard__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(1) .p-postList__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(1) .p-entryCard__excerpt {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--color-neutral-gray) !important;
    margin: 0 0 12px 0 !important;
    flex: 1;
    overflow: hidden;
}

/* Post Excerpt - Small Cards (2nd & 3rd items) */
.p-postList.-type-card .p-postList__item:nth-child(2) .c-postCard__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(3) .c-postCard__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(2) .p-postList__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(3) .p-postList__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(2) .p-entryCard__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(3) .p-entryCard__excerpt {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--color-neutral-gray) !important;
    margin: 0 0 8px 0 !important;
    flex: 1;
    overflow: hidden;
}

/* Post Excerpt - Regular Cards (4th item onwards) */
.p-postList.-type-card .p-postList__item:nth-child(n+4) .c-postCard__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(n+4) .p-postList__excerpt,
.p-postList.-type-card .p-postList__item:nth-child(n+4) .p-entryCard__excerpt {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--color-neutral-gray) !important;
    margin: 0 0 12px 0 !important;
    flex: 1;
    overflow: hidden;
}

/* Post Meta */
.p-postList__item .c-postCard__meta,
.p-postList__item .p-postList__meta,
.p-postList__item .p-entryCard__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    margin-top: auto;
    flex-shrink: 0;
}

/* Category Badge */
.p-postList__body .p-postList__meta .p-postList__cat,
.p-postList__item .p-postList__body .p-postList__meta .p-postList__cat,
.p-postList.-type-card .p-postList__item .p-postList__body .p-postList__meta .p-postList__cat,
.p-postList__item .c-postCard__term,
.p-postList__item .p-postList__cat,
.p-postList__item .p-entryCard__term,
.p-postList__item [class*="term"],
.p-postList__cat {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgb(227, 242, 253);
    color: rgb(26, 95, 138);
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid rgb(91, 163, 208);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Category Badge - Remove icon */
.p-postList__body .p-postList__meta .p-postList__cat::before,
.p-postList__item .p-postList__body .p-postList__meta .p-postList__cat::before,
.p-postList.-type-card .p-postList__item .p-postList__body .p-postList__meta .p-postList__cat::before,
.p-postList__cat::before {
    display: none;
    content: none;
}

/* Date */
.p-postList__item .c-postCard__date,
.p-postList__item .p-entryCard__date,
.p-postList__item time {
    color: var(--color-neutral-gray);
    font-size: 11px;
}

/* Responsive - Mobile: Single Column */
@media (max-width: 768px) {
    .p-postList.-type-card {
        grid-template-columns: 1fr;
    }

    /* Reset grid spanning for mobile */
    .p-postList.-type-card .p-postList__item:nth-child(1) {
        grid-row: auto;
    }

    .p-postList.-type-card .p-postList__item:nth-child(n+4) {
        grid-column: auto;
    }

    /* All titles same size on mobile */
    .p-postList.-type-card .p-postList__item .c-postCard__title,
    .p-postList.-type-card .p-postList__item h2,
    .p-postList.-type-card .p-postList__item h3 {
        font-size: 20px !important;
    }

    .p-postList__item .c-postCard__body,
    .p-postList__item > a > div:not(figure) {
        padding: 16px;
    }
}

/* ========================================
   Footer Styles
   ======================================== */

/* Footer Main Container */
.l-footer {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-main) 100%) !important;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
    margin-top: 60px !important;
}

/* Wave decoration - wave curving down into blue footer */
.l-footer::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #F8FAFB;
    border-radius: 0 0 50% 50%;
}

/* Remove default SWELL footer styles */
.l-footer__inner {
    background: transparent !important;
}

/* Footer Widget Area */
.l-footer__widgetArea {
    margin-bottom: 40px;
}

/* Footer Info Section (Custom Widget) */
.l-footer .footer-info,
.w-footer .footer-info {
    text-align: left;
    position: relative;
    z-index: 2;
}

.l-footer .footer-info .footer-title,
.l-footer .footer-info h3,
.l-footer .widget_custom_html h3,
.w-footer .footer-info .footer-title,
.w-footer .footer-info h3,
.w-footer .widget_custom_html h3 {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: white !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    line-height: 1.2 !important;
}

.l-footer .footer-info .footer-description,
.l-footer .footer-info p,
.l-footer .widget_custom_html p,
.w-footer .footer-info .footer-description,
.w-footer .footer-info p,
.w-footer .widget_custom_html p {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
    line-height: 1.8 !important;
}

/* Footer Bottom - Copyright Area */
.l-footer__foot {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 30px !important;
    margin-top: 40px !important;
}

.l-footer__foot .copyright,
.l-footer .copyright,
.l-footer__foot p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    text-align: center !important;
}

/* Footer Links */
.l-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
}

.l-footer a:hover {
    color: white !important;
}

/* Hide empty before footer widget */
.w-beforeFooter:empty,
.w-beforeFooter:has(.textwidget:empty) {
    display: none !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .l-footer {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
        margin-top: 40px !important;
    }

    .l-footer::before {
        top: -39px;
        height: 40px;
    }

    .l-footer .footer-info .footer-title,
    .l-footer .widget_custom_html h3,
    .w-footer .footer-info .footer-title,
    .w-footer .widget_custom_html h3 {
        font-size: 24px !important;
    }

    .l-footer .footer-info .footer-description,
    .l-footer .widget_custom_html p,
    .w-footer .footer-info .footer-description,
    .w-footer .widget_custom_html p {
        font-size: 14px !important;
    }
}

/* ========================================
   Sidebar Width Override
   ======================================== */

@media (min-width: 960px) {
    .-sidebar-on #sidebar {
        max-width: 280px;
        width: 100%
    }
}

/* ========================================
   Sidebar Search Widget
   ======================================== */

.l-sidebar .sidebar-search-widget {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.l-sidebar .sidebar-search-widget__title {
    color: #2E7BB4;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0 0 12px 0;
    border: none;
    text-align: left;
    position: relative;
}

.l-sidebar .sidebar-search-widget__title::before {
    display: none;
}

.l-sidebar .sidebar-search-widget__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
    display: block;
    transform: none;
}

.l-sidebar .sidebar-search-widget__form {
    display: flex;
    gap: 8px;
    margin: 0;
}

.l-sidebar .sidebar-search-widget__input {
    flex: 1;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #333;
    width: 100%;
}

.l-sidebar .sidebar-search-widget__input::placeholder {
    color: #90A4AE;
}

.l-sidebar .sidebar-search-widget__input:focus {
    outline: none;
    border-color: #2E7BB4;
}

.l-sidebar .sidebar-search-widget__button {
    padding: 12px 16px;
    background: #2E7BB4;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.l-sidebar .sidebar-search-widget__button:hover {
    background: #1a5a8a;
}

/* ========================================
   Sidebar Category Widget
   ======================================== */

/* カテゴリウィジェット全体 - SWELLデフォルトウィジェット */
.l-sidebar .widget_categories {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* タイトル - SWELLの.c-widget__titleクラス */
.l-sidebar .widget_categories .c-widget__title {
    color: #2E7BB4;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0 0 12px 0;
    border: none;
    text-align: left;
    position: relative;
    display: block;
}

.l-sidebar .widget_categories .c-widget__title::before {
    display: none;
}

.l-sidebar .widget_categories .c-widget__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
    display: block;
}

/* カテゴリリスト */
.l-sidebar .widget_categories > ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* リストアイテム */
.l-sidebar .widget_categories > ul > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* カテゴリリンク */
.l-sidebar .widget_categories > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    border: 1px solid #E0E0E0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.l-sidebar .widget_categories > ul > li > a:hover {
    background-color: #E3F2FD;
    border-color: #90CAF9;
    transform: translateX(4px);
}

/* フォルダアイコンを非表示 */
.l-sidebar .widget_categories > ul > li > a::before {
    display: none;
}

/* カウント数のスタイル */
.l-sidebar .widget_categories .cat-post-count {
    font-size: 13px;
    color: #757575;
    font-weight: 500;
}

/* ========================================
   Sidebar Popular Posts Widget (SWELL)
   ======================================== */

/* 人気記事ウィジェット全体 - SWELLデフォルトウィジェット */
.l-sidebar .widget_swell_popular_posts {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* タイトル - SWELLの.c-widget__titleクラス */
.l-sidebar .widget_swell_popular_posts .c-widget__title {
    color: #2E7BB4;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0 0 12px 0;
    border: none;
    text-align: left;
    position: relative;
    display: block;
}

.l-sidebar .widget_swell_popular_posts .c-widget__title::before {
    display: none;
}

.l-sidebar .widget_swell_popular_posts .c-widget__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
    display: block;
}

/* 人気記事リスト */
.l-sidebar .widget_swell_popular_posts .p-postList {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* リストアイテム */
.l-sidebar .widget_swell_popular_posts .p-postList__item {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* リンク */
.l-sidebar .widget_swell_popular_posts .p-postList__link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    flex-direction: row;
    align-items: flex-start;
}

.l-sidebar .widget_swell_popular_posts .p-postList__link:hover {
    opacity: 0.8;
}

.l-sidebar .widget_swell_popular_posts .p-postList__link:hover .p-postList__title {
    color: #2E7BB4;
}

/* サムネイル画像 */
.l-sidebar .widget_swell_popular_posts .p-postList__thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
}

.l-sidebar .widget_swell_popular_posts .p-postList__thumb .c-postThumb__figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.l-sidebar .widget_swell_popular_posts .p-postList__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コンテンツ部分 */
.l-sidebar .widget_swell_popular_posts .p-postList__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* 記事タイトル */
.l-sidebar .widget_swell_popular_posts .p-postList__title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    margin: 0;
}

/* 日付 */
.l-sidebar .widget_swell_popular_posts .p-postList__times {
    font-size: 12px;
    color: #757575;
}

.l-sidebar .widget_swell_popular_posts .c-postTimes__posted {
    font-size: 12px;
    color: #757575;
}

/* ランキング番号を非表示（デザインに含まれていない場合） */
.l-sidebar .widget_swell_popular_posts .p-postList.-w-ranking .p-postList__item::before {
    display: none;
}

/* カード形式のレイアウトをリセット（横並びに変更） */
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: nowrap;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__item {
    width: 100%;
    margin: 0;
    padding: 0;
    flex: none;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__link,
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__item > a {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__thumb {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    flex-shrink: 0;
    flex-grow: 0;
    margin: 0;
    padding: 0;
    aspect-ratio: 1 / 1;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__thumb .c-postThumb__figure {
    width: 70px;
    height: 70px;
    margin: 0;
    padding: 0;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__thumb img {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    object-fit: cover;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__body {
    flex: 1;
    padding: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

/* 記事タイトル - カード形式用（SWELL nth-child セレクタを上書き） */
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__item:nth-child(1) .p-postList__title,
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__item:nth-child(2) .p-postList__title,
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__item:nth-child(3) .p-postList__title,
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__item:nth-child(n+4) .p-postList__title,
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #333 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
}

/* 日付コンテナ - カード形式用 */
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__meta {
    margin: 0;
    padding: 0;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .p-postList__times {
    font-size: 12px;
    color: #757575;
    line-height: 1.4;
}

.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .c-postTimes__posted {
    font-size: 12px;
    color: #757575;
}

/* 日付アイコンを非表示 */
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .c-postTimes__posted::before,
.l-sidebar .widget_swell_popular_posts .p-postList.-type-card .icon-posted::before {
    display: none;
    content: none;
}

/* =====================================
   記事一覧ページヘッダー（カスタムテンプレート用）
   ===================================== */

/* カテゴリー・アーカイブページのコンテンツエリアの上部パディングを調整 */
.category .l-content,
.archive .l-content {
    padding-top: 0;
}

/* ページヘッダーセクション */
.c-archiveHeader {
    background: #fff;
    padding: 32px 0 28px;
    border-bottom: 1px solid #E5E7EB;
    margin-top: 0;
    margin-bottom: 32px;
    /* 親要素の制約を超えて画面幅いっぱいに広げる */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.c-archiveHeader__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ページタイトル */
.c-archiveHeader__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    line-height: 1.4;
}

/* 説明文 */
.c-archiveHeader__description {
    font-size: 14px;
    margin-bottom: 12px;
    color: #90A4AE;
    font-weight: 400;
    line-height: 1.6;
}

/* 記事件数 */
.c-archiveHeader__count {
    font-size: 14px;
    font-weight: 500;
    color: #90A4AE;
}

.c-archiveHeader__countNumber {
    font-size: 18px;
    font-weight: 700;
    color: #0891B2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .c-archiveHeader {
        padding: 32px 0 24px;
    }

    .c-archiveHeader__title {
        font-size: 26px;
    }

    .c-archiveHeader__description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .c-archiveHeader {
        padding: 24px 0 20px;
    }

    .c-archiveHeader__title {
        font-size: 22px;
    }

    .c-archiveHeader__description {
        font-size: 13px;
    }

    .c-archiveHeader__count {
        font-size: 13px;
    }

    .c-archiveHeader__countNumber {
        font-size: 16px;
    }
}

/* =====================================
   パンくずリスト（カテゴリー・アーカイブ・記事詳細ページ用）
   ===================================== */

/* 背景色を白に、ボーダーを追加 */
.category .p-breadcrumb,
.archive .p-breadcrumb,
.single .p-breadcrumb {
    background-color: #F8FAFB !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #ECEFF1 !important;
    box-shadow: none !important;
}

/* 背景色クラスのオーバーライド */
.category .p-breadcrumb.-bg-on,
.archive .p-breadcrumb.-bg-on,
.single .p-breadcrumb.-bg-on {
    background-color: #F8FAFB !important;
    box-shadow: none !important;
}

/* パンくずリストの内部コンテナ */
.category .p-breadcrumb__list,
.archive .p-breadcrumb__list,
.single .p-breadcrumb__list {
    font-size: 14px !important;
    gap: 8px !important;
}

/* リンク色・太さ */
.category .p-breadcrumb__list a,
.archive .p-breadcrumb__list a,
.single .p-breadcrumb__list a {
    color: #2E7BB4;
    font-weight: 400;
    transition: color 0.2s ease;
}

/* ホームテキストの太さ */
.category .p-breadcrumb__text .__home,
.archive .p-breadcrumb__text .__home,
.single .p-breadcrumb__text .__home {
    font-weight: 400;
}

.category .p-breadcrumb__list a:hover,
.archive .p-breadcrumb__list a:hover,
.single .p-breadcrumb__list a:hover {
    color: #1A5F8A;
    text-decoration: underline;
}

/* 区切り文字を ">" から "/" に変更 */
.category .p-breadcrumb__item::after,
.archive .p-breadcrumb__item::after,
.single .p-breadcrumb__item::after {
    content: "/" !important;
    background: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    width: auto !important;
    height: auto !important;
    color: #90A4AE !important;
    opacity: 1 !important;
    font-size: 14px;
}

/* 最後のアイテムの区切り文字を非表示 */
.category .p-breadcrumb__item:last-child::after,
.archive .p-breadcrumb__item:last-child::after,
.single .p-breadcrumb__item:last-child::after {
    content: none !important;
}

/* ホームアイコンを非表示にしてテキストのみ表示 */
.category .p-breadcrumb__text .__home::before,
.archive .p-breadcrumb__text .__home::before,
.single .p-breadcrumb__text .__home::before {
    display: none !important;
    content: none !important;
}

/* 現在のページ（最後の項目）を表示 */
.category .p-breadcrumb__item:last-child > span.p-breadcrumb__text,
.archive .p-breadcrumb__item:last-child > span.p-breadcrumb__text,
.single .p-breadcrumb__item:last-child > span.p-breadcrumb__text {
    display: inline-flex !important;
    color: #546E7A;
    font-weight: 600;
}

/* =====================================
   記事詳細ページ背景スタイル
   ===================================== */

/* メインコンテンツエリアの背景 */
.single .l-content {
    background-color: #F8FAFB !important;
}

/* 記事本文の背景を白に */
.single .post_content,
.single .l-mainContent__inner {
    background-color: #fff !important;
    padding: 48px !important;
    border-radius: 12px !important;
}

/* サイドバーウィジェットの背景 */
.single .l-sidebar .c-widget {
    background-color: #fff !important;
    padding: 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #ECEFF1 !important;
    margin-bottom: 24px !important;
}

/* =====================================
   記事タイトルエリア内の順序入れ替え
   （カテゴリ・日付を上、タイトルを下に）
   ===================================== */

/* 記事（article）をflexboxに */
.single article {
    display: flex !important;
    flex-direction: column !important;
}

/* カテゴリ・日付部分を最初に表示 */
.single article > .p-articleMetas.-top {
    order: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

/* タイトル部分を2番目に表示 */
.single article > .p-articleHead.c-postTitle {
    order: 2 !important;
}

/* アイキャッチ画像を3番目に */
.single article > .p-articleThumb {
    order: 3 !important;
}

/* 記事本文を4番目に */
.single article > .post_content {
    order: 4 !important;
}

/* 記事フッター（カテゴリタグ）を5番目に */
.single article > .p-articleFoot {
    order: 5 !important;
}

/* 記事下部（前後記事リンク、著者、関連記事）を最後に */
.single article > .l-articleBottom {
    order: 6 !important;
}

/* =====================================
   記事詳細ページ - カテゴリ・日付エリアのスタイル
   ===================================== */

/* カテゴリ・日付エリア全体のレイアウト */
.single .p-articleMetas.-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* カテゴリリンクのスタイル（デザイン仕様準拠） */
.single .p-articleMetas.-top .c-categoryList .c-categoryList__link {
    display: inline-block;
    background-color: #E3F2FD;
    color: #1A5F8A;
    border: 1px solid #5BA3D0;
    border-radius: 12px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.single .p-articleMetas.-top .c-categoryList .c-categoryList__link:hover {
    background-color: #5BA3D0;
    color: #fff;
}

/* border-radius上書き用（詳細度対策） */
.single .p-articleMetas.-top .c-categoryList a.c-categoryList__link {
    border-radius: 12px;
}

/* カテゴリの前のフォルダアイコンを非表示 */
.single .p-articleMetas.-top .c-categoryList::before {
    display: none;
}

/* 日付のスタイル */
.single .p-articleMetas.-top .c-postTimes {
    color: #78909C;
    font-size: 13px;
}

.single .p-articleMetas.-top .c-postTimes .c-postTimes__posted {
    color: #78909C;
}

/* 日付アイコンの色調整 */
.single .p-articleMetas.-top .c-postTimes .c-postTimes__posted::before {
    color: #78909C;
}

/* アイキャッチ画像の角丸 */
.single .p-articleThumb {
    border-radius: 12px;
    overflow: hidden;
}

/* 記事タイトルのスタイル */
.single .c-postTitle__ttl {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #1A1A1A;
}

/* =====================================
   目次のスタイル
   ===================================== */
/* 目次を含むpost_contentのpadding調整 */
.single .post_content:has(.p-toc) {
    padding: 0 !important;
}

.single .p-toc {
    background-color: #F8F9FA;
    border: 1px solid #ECEFF1;
    border-radius: 12px !important;
    padding: 24px 28px;
    margin-bottom: 40px;
    width: 100% !important;
}

/* 目次タイトル */
.single .p-toc__ttl {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 目次タイトルのアイコン */
.single .p-toc__ttl::before {
    color: #2E7BB4;
}

/* 目次リスト */
.single .p-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 目次リンク */
.single .p-toc__link {
    display: block;
    padding: 8px 12px;
    color: #1A1A1A;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.single .p-toc__link:hover {
    background-color: rgba(46, 123, 180, 0.08);
    color: #2E7BB4;
}

/* 目次の番号 */
.single .p-toc__list.is-style-index > li::before {
    font-weight: 600;
    color: #2E7BB4;
    font-size: 14px;
    min-width: 24px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    text-align: center;
    margin-right: 10px;
}

/* 子リストの番号 */
.single .p-toc__childList > li::before {
    font-weight: 600;
    color: #2E7BB4;
    font-size: 13px;
}

/* 子リスト */
.single .p-toc__childList {
    margin: 4px 0 8px 0;
    padding: 0;
}

.single .p-toc__childList .p-toc__link {
    font-size: 14px;
    color: #546E7A;
    padding-left: 24px;
}

/* =====================================
   記事本文のh2スタイル
   ===================================== */
.single .post_content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #2E7BB4;
    border-top: none;
    color: #1A1A1A;
    background: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

.single .post_content h2::before {
    display: none;
}

/* 記事本文のh3スタイル */
.single .post_content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 20px;
    padding-left: 12px;
    border-left: 4px solid #4CAF50;
    color: #1A1A1A;
    background: none;
}

.single .post_content h3::before {
    display: none;
}

/* strongタグのスタイル */
.single .post_content strong {
    font-weight: 700;
    color: #1A5F8A;
}

/* =====================================
   ポイントボックスのスタイル (is-style-intext)
   ===================================== */
.single .post_content .swell-block-capbox.is-style-intext {
    background-color: #E3F2FD;
    border: 2px solid #5BA3D0;
    border-left: 4px solid #2E7BB4;
    border-radius: 12px;
    padding: 24px;
    margin: 28px 0;
}

/* ポイントボックスのアイコン非表示 */
.single .post_content .swell-block-capbox.is-style-intext::before,
.single .post_content .swell-block-capbox.is-style-intext .cap_box_ttl::before {
    display: none;
}

/* ポイントボックスのタイトル */
.single .post_content .swell-block-capbox.is-style-intext .cap_box_ttl {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A5F8A;
    background: none;
    padding: 0;
}

/* ポイントボックス内のリスト */
.single .post_content .swell-block-capbox.is-style-intext ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single .post_content .swell-block-capbox.is-style-intext ul li {
    padding-left: 24px;
    margin-bottom: 12px;
    position: relative;
}

.single .post_content .swell-block-capbox.is-style-intext ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2E7BB4;
    font-weight: 700;
}

/* =====================================
   テーブルのスタイル
   ===================================== */
.single .post_content .wp-block-table {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 12px;
}

.single .post_content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.single .post_content .wp-block-table thead {
    background-color: #2E7BB4;
    color: white;
}

.single .post_content .wp-block-table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #1A5F8A;
    color: white;
}

.single .post_content .wp-block-table tbody tr {
    border-bottom: 1px solid #ECEFF1;
}

.single .post_content .wp-block-table tbody tr:hover {
    background-color: #F8FAFB;
}

.single .post_content .wp-block-table td {
    padding: 16px;
    color: #1A1A1A;
}

.single .post_content .wp-block-table tbody tr:last-child {
    border-bottom: none;
}

/* =====================================
   記事下コンテンツの並び順
   ===================================== */
/* カテゴリエリアを非表示 */
.single .p-articleFoot {
    display: none;
}

.single .l-articleBottom {
    display: flex;
    flex-direction: column;
}

/* 著者情報を最初に */
.single .l-articleBottom__section.-author {
    order: 1;
}

/* 関連記事を2番目に */
.single .l-articleBottom__section.-related {
    order: 2;
}

/* 前後記事リンクを最後に */
.single .p-pnLinks {
    order: 3;
}

/* =====================================
   著者情報のスタイル
   ===================================== */
/* 「この記事を書いた人」タイトルを非表示 */
.single .l-articleBottom__section.-author .l-articleBottom__title {
    display: none !important;
}

/* 記事と著者情報の間の水平線 */
.single .l-articleBottom__section.-author {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
    border-top: 1px solid #ECEFF1 !important;
    border-bottom: 1px solid #ECEFF1 !important;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
}

/* 関連記事エリアの余白調整 */
.single .l-articleBottom__section.-related {
    margin-top: 24px !important;
    padding-top: 32px !important;
}

/* 関連記事タイトル */
.single .l-articleBottom__section.-related .l-articleBottom__title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: #1A1A1A !important;
}

/* 関連記事グリッド */
.single .l-articleBottom__section.-related .p-postList {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 5件目以降の関連記事を非表示 */
.single .l-articleBottom__section.-related .p-postList__item:nth-child(n+5) {
    display: none !important;
}

/* 関連記事カード */
.single .l-articleBottom__section.-related .p-postList__item,
.single .l-articleBottom__section.-related .p-postList__item:first-child,
.single .l-articleBottom__section.-related .p-postList__item:nth-child(1) {
    background-color: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #ECEFF1 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    width: 100% !important;
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.single .l-articleBottom__section.-related .p-postList__item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
    border-color: transparent !important;
}

/* 関連記事リンク */
.single .l-articleBottom__section.-related .p-postList__link {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    text-decoration: none !important;
}

/* 関連記事サムネイル（figure要素） */
.single .l-articleBottom__section.-related .p-postList__item figure,
.single .l-articleBottom__section.-related .p-postList__item:first-child figure,
.single .l-articleBottom__section.-related .p-postList__thumb {
    width: 100% !important;
    height: 160px !important;
    overflow: hidden !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    aspect-ratio: unset !important;
}

.single .l-articleBottom__section.-related .p-postList__thumb img,
.single .l-articleBottom__section.-related .p-postList__item figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.single .l-articleBottom__section.-related .p-postList__item:hover .p-postList__thumb img,
.single .l-articleBottom__section.-related .p-postList__item:hover figure img {
    transform: scale(1.1) !important;
}

/* 関連記事コンテンツ */
.single .l-articleBottom__section.-related .p-postList__body {
    padding: 20px !important;
}

.single .l-articleBottom__section.-related .p-postList__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #1A1A1A !important;
    margin: 0 !important;
}

.single .l-articleBottom__section.-related .p-postList__meta {
    margin-top: 8px !important;
}

/* 関連記事レスポンシブ対応 */
@media screen and (max-width: 599px) {
    .single .l-articleBottom__section.-related .p-postList {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   前の記事・次の記事ナビゲーション
======================================== */
.single .p-pnLinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 0 0;
    margin: 48px 0 0;
    border-top: 2px solid #ECEFF1;
    list-style: none;
}

.single .p-pnLinks__item {
    margin: 0;
    padding: 0;
    width: auto;
    font-size: inherit;
}

/* SWELLデフォルトの矢印アイコンを非表示 */
.single .p-pnLinks__item::before {
    display: none;
}

.single .p-pnLinks__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ECEFF1;
    border-radius: 12px;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    min-height: auto;
    box-sizing: border-box;
}

/* SWELLデフォルトのカラーボーダーをリセット */
.single .p-pnLinks .-prev .p-pnLinks__link,
.single .p-pnLinks .-next .p-pnLinks__link {
    border-left: 1px solid #ECEFF1;
    border-right: 1px solid #ECEFF1;
}

.single .p-pnLinks__link:hover,
.single .p-pnLinks .-prev .p-pnLinks__link:hover,
.single .p-pnLinks .-next .p-pnLinks__link:hover {
    background-color: #E3F2FD;
    border: 1px solid #5BA3D0;
}

/* 前の記事・次の記事ラベル */
.single .p-pnLinks__item.-prev .p-pnLinks__link::before {
    content: "\2190\00a0\00a0前の記事";
    font-size: 13px;
    font-weight: 600;
    color: #90A4AE;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
}

.single .p-pnLinks__item.-next .p-pnLinks__link::before {
    content: "次の記事\00a0\00a0\2192";
    font-size: 13px;
    font-weight: 600;
    color: #90A4AE;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    letter-spacing: 0.02em;
}

/* 次の記事は右寄せ */
.single .p-pnLinks__item.-next {
    text-align: right;
}

.single .p-pnLinks__item.-next .p-pnLinks__link {
    align-items: flex-end;
}

/* 記事タイトル */
.single .p-pnLinks__title {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 前の記事・次の記事レスポンシブ */
@media screen and (max-width: 767px) {
    .single .p-pnLinks {
        grid-template-columns: 1fr;
    }

    .single .p-pnLinks__item.-next {
        text-align: left;
    }

    .single .p-pnLinks__item.-next .p-pnLinks__link {
        align-items: flex-start;
    }

    .single .p-pnLinks__item.-next .p-pnLinks__link::before {
        justify-content: flex-start;
    }
}

/* ========================================
   SP Header Styles
   ======================================== */
@media screen and (max-width: 959px) {
    /* SP Header Layout: [Hamburger] [Logo] [Search] */
    .l-header .l-header__inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
    }

    /* Hide PC-only elements */
    .l-header .c-gnavWrap,
    .l-fixHeader .c-gnavWrap,
    .l-header__bar,
    .l-fixHeader__bar,
    .l-header .header-actions,
    .l-fixHeader .header-actions,
    .l-header .w-header,
    .l-fixHeader .w-header {
        display: none;
    }

    /* Logo container - show only logo, center it */
    .l-header .header-top {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
        flex: 1;
        padding: 0;
    }

    .l-header .l-header__logo {
        text-align: center;
    }

    .l-header .c-headLogo__link {
        font-size: 20px;
    }

    /* Menu Button (Hamburger) - Left */
    .l-header .l-header__menuBtn {
        order: 1;
        flex-shrink: 0;
    }

    /* Search Button - Right */
    .l-header .l-header__customBtn {
        order: 3;
        flex-shrink: 0;
    }

    /* FV (Hero Slider) - Add side margins */
    .hero-slider,
    .wp-block-swell-child-top-slider {
        margin: 0 8px 60px 8px !important;
        width: auto !important;
        max-width: none !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        border-radius: 12px;
        overflow: hidden;
    }

    /* FV Title - Adjust font size for SP */
    .hero-slider .slide-title {
        font-size: 24px;
    }

    /* Article List - 1 column on SP */
    .p-postList.-type-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: center !important;
    }

    .p-postList.-type-card .p-postList__item,
    .p-postList.-type-card .p-postList__item:nth-child(1),
    .p-postList.-type-card .p-postList__item:nth-child(2),
    .p-postList.-type-card .p-postList__item:nth-child(3),
    .p-postList.-type-card .p-postList__item:nth-child(n+4) {
        width: 100% !important;
        max-width: 500px !important;
    }

    /* Card Font Sizes - SP */
    :not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(1) .p-postList__title,
    :not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(2) .p-postList__title,
    :not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(3) .p-postList__title,
    :not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card:not(.p-relatedPosts) .p-postList__item:nth-child(n+4) .p-postList__title,
    .p-postList.-type-card:not(.p-relatedPosts) .p-postList__title {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    :not(.l-sidebar):not(.p-archiveContent) > .p-postList.-type-card .p-postList__item:nth-child(1) .p-postList__excerpt,
    .p-postList.-type-card .p-postList__excerpt {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    /* Card Thumbnail - Uniform aspect ratio for SP */
    .p-postList.-type-card .p-postList__thumb,
    .p-postList.-type-card .c-postThumb,
    .p-postList.-type-card .c-postThumb__figure {
        aspect-ratio: 16 / 9 !important;
    }

    .p-postList.-type-card .p-postList__thumb img,
    .p-postList.-type-card .c-postThumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Hide view toggle buttons on SP */
    .c-filterBar__view {
        display: none !important;
    }

    /* Sidebar - SP */
    .l-sidebar {
        width: 100% !important;
        flex-basis: 100% !important;
    }

    /* パンくずリスト - 横スクロール対応 */
    .p-breadcrumb {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .p-breadcrumb__list {
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }

    /* 記事詳細 - メインコンテンツ幅調整 */
    .l-mainContent {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single .l-mainContent__inner {
        padding: 0 !important;
        background-color: transparent !important;
        border-radius: 0 !important;
    }

    .single .post_content {
        background-color: transparent !important;
    }

    /* 記事タイトル - フォントサイズ調整 */
    .single h1 {
        font-size: 22px !important;
        line-height: 1.4 !important;
    }

    .single .post_content h2 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .single .post_content h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    /* テーブル - 横スクロール対応（ScrollHint用） */
    .single .post_content .wp-block-table {
        position: relative !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .single .post_content .wp-block-table table {
        min-width: 500px !important;
    }

    /* 著者情報エリア - 上下スペース調整 */
    .single .l-articleBottom__section.-author {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .single .l-articleBottom__section.-author .l-articleBottom__title {
        margin-bottom: 12px !important;
    }

    .single .p-authorBox {
        padding: 16px !important;
    }

    /* 関連記事 - フォントサイズ調整 */
    .single .l-articleBottom__section.-related .l-articleBottom__title {
        font-size: 18px !important;
    }

    .single .l-articleBottom__section.-related .p-postList__title,
    .single .l-articleBottom__section.-related .p-postList__item:nth-child(1) .p-postList__title,
    .single .l-articleBottom__section.-related .p-postList__item:nth-child(2) .p-postList__title,
    .single .l-articleBottom__section.-related .p-postList__item:nth-child(3) .p-postList__title {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    /* 関連記事 - カードレイアウト（flexbox） */
    .single .l-articleBottom__section.-related .p-postList {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .single .l-articleBottom__section.-related .p-postList__item {
        width: 100% !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .single .l-articleBottom__section.-related .p-postList__link {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 12px !important;
        background-color: #fff !important;
        border-radius: 8px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    }

    /* 関連記事 - サムネイル16:9調整 */
    .single .l-articleBottom__section.-related .p-postList__thumb,
    .single .l-articleBottom__section.-related .c-postThumb {
        flex-shrink: 0 !important;
        width: 120px !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
    }

    .single .l-articleBottom__section.-related .c-postThumb__figure {
        aspect-ratio: 16 / 9 !important;
        height: 100% !important;
    }

    .single .l-articleBottom__section.-related .p-postList__thumb img,
    .single .l-articleBottom__section.-related .c-postThumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }

    /* 関連記事 - テキストエリア */
    .single .l-articleBottom__section.-related .p-postList__body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

.single .p-authorBox {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 8px 20px !important;
    padding: 24px !important;
    background-color: #F8FAFB !important;
    border-radius: 12px !important;
    border: 1px solid #ECEFF1 !important;
    align-items: start !important;
}

.single .p-authorBox__l {
    display: contents !important;
}

.single .p-authorBox__l .avatar {
    grid-row: 1 / 3 !important;
    grid-column: 1 !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.single .p-authorBox__name {
    grid-row: 1 !important;
    grid-column: 2 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
    align-self: end !important;
    text-align: left !important;
    justify-self: start !important;
}

.single .p-authorBox__r {
    display: block !important;
    grid-row: 2 !important;
    grid-column: 2 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #546E7A !important;
    border-left: none !important;
    padding-left: 0 !important;
}

/* ========================================
   フィルターバー（並び替え）
======================================== */
.c-filterBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ECEFF1;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.c-filterBar__sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c-filterBar__label {
    color: #546E7A;
    font-size: 14px;
    font-weight: 600;
}

.c-filterBar__select {
    padding: 10px 16px;
    border: 1px solid #CFD8DC;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background-color: #fff;
    cursor: pointer;
    appearance: auto;
    min-width: 120px;
}

.c-filterBar__select:hover {
    border-color: #90A4AE;
}

.c-filterBar__select:focus {
    outline: none;
    border-color: #2E7BB4;
    box-shadow: 0 0 0 2px rgba(46, 123, 180, 0.1);
}

/* ビュー切り替えボタン */
.c-filterBar__view {
    display: flex;
    gap: 8px;
}

.c-filterBar__viewBtn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: #90A4AE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.c-filterBar__viewBtn:hover {
    background-color: #F5F5F5;
    color: #546E7A;
}

.c-filterBar__viewBtn.is-active {
    background-color: #2E7BB4;
    color: #fff;
}

.c-filterBar__viewIcon {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -1px;
}

/* ========================================
   アーカイブページ カードデザイン調整
======================================== */

/* 記事一覧ページのカードコンテナ - シンプルな2カラムグリッド */
.p-archiveContent .p-postList.-type-card {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 全てのカードを同じサイズに（デフォルトのレイアウト指定をリセット） */
.p-archiveContent .p-postList.-type-card .p-postList__item,
.p-archiveContent .p-postList.-type-card .p-postList__item:nth-child(1),
.p-archiveContent .p-postList.-type-card .p-postList__item:nth-child(2),
.p-archiveContent .p-postList.-type-card .p-postList__item:nth-child(3),
.p-archiveContent .p-postList.-type-card .p-postList__item:nth-child(n+4) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

/* カード全体のスタイル（カード表示・リスト表示共通） */
body main#main_content .p-archiveContent .p-postList .p-postList__item,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #ECEFF1;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    list-style: none;
}

body main#main_content .p-archiveContent .p-postList .p-postList__item:hover,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: transparent;
}

/* カードリンク（カード表示用：縦方向） */
body main#main_content .p-archiveContent .p-postList.-type-card .p-postList__link,
html body .l-mainContent .p-archiveContent .p-postList.-type-card .p-postList__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

body main#main_content .p-archiveContent .p-postList .p-postList__link:hover,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__link:hover {
    box-shadow: none;
    transform: none;
}

/* サムネイル画像（カード表示用） */
body main#main_content .p-archiveContent .p-postList.-type-card .p-postList__thumb,
html body .l-mainContent .p-archiveContent .p-postList.-type-card .p-postList__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

body main#main_content .p-archiveContent .p-postList .p-postList__thumb .c-postThumb__figure,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__thumb .c-postThumb__figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

body main#main_content .p-archiveContent .p-postList.-type-card .p-postList__thumb img,
html body .l-mainContent .p-archiveContent .p-postList.-type-card .p-postList__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

body main#main_content .p-archiveContent .p-postList .p-postList__item:hover .p-postList__thumb img,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__item:hover .p-postList__thumb img {
    transform: scale(1.1);
}

/* サムネイル上のカテゴリバッジ */
body main#main_content .p-archiveContent .p-postList .p-postList__thumb .c-postThumb__cat,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__thumb .c-postThumb__cat {
    display: inline-block;
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background-color: #E3F2FD;
    color: #1A5F8A;
    border: 1px solid #5BA3D0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
}

body main#main_content .p-archiveContent .p-postList .p-postList__thumb .c-postThumb__cat::before,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__thumb .c-postThumb__cat::before {
    display: none;
    content: none;
}

/* コンテンツエリア */
body main#main_content .p-archiveContent .p-postList .p-postList__body,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* メタ情報（カテゴリー・日付） */
body main#main_content .p-archiveContent .p-postList .p-postList__meta,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    margin-top: 0;
    order: -1;
}

/* カテゴリーバッジ（メタ情報内） */
body main#main_content .p-archiveContent .p-postList .p-postList__cat,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__cat {
    order: 1;
    display: inline-block;
    padding: 6px 14px;
    background-color: #E3F2FD;
    color: #1A5F8A;
    border: 1px solid #5BA3D0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

body main#main_content .p-archiveContent .p-postList .p-postList__cat::before,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__cat::before {
    display: none;
    content: none;
}

/* 日付 */
body main#main_content .p-archiveContent .p-postList .p-postList__times,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__times {
    order: 2;
}

body main#main_content .p-archiveContent .p-postList .p-postList__times,
body main#main_content .p-archiveContent .p-postList .c-postTimes__posted,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__times,
html body .l-mainContent .p-archiveContent .p-postList .c-postTimes__posted {
    font-size: 13px;
    color: #90A4AE;
    font-weight: 500;
}

body main#main_content .p-archiveContent .p-postList .c-postTimes__posted::before,
body main#main_content .p-archiveContent .p-postList .icon-posted::before,
html body .l-mainContent .p-archiveContent .p-postList .c-postTimes__posted::before,
html body .l-mainContent .p-archiveContent .p-postList .icon-posted::before {
    display: none;
    content: none;
}

/* タイトル */
body main#main_content .p-archiveContent .p-postList .p-postList__title,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

body main#main_content .p-archiveContent .p-postList .p-postList__item:hover .p-postList__title,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__item:hover .p-postList__title {
    color: #2E7BB4;
}

/* 説明文（抜粋） */
body main#main_content .p-archiveContent .p-postList .p-postList__excerpt,
html body .l-mainContent .p-archiveContent .p-postList .p-postList__excerpt {
    font-size: 14px;
    color: #90A4AE;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
    margin: 0;
}

/* ========================================
   リスト表示スタイル
   ======================================== */
/* リスト表示 - グリッド解除 */
body main .p-archiveContent .p-postList.-type-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* リスト表示 - アイテム */
body main .p-archiveContent .p-postList.-type-list .p-postList__item {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #ECEFF1;
    transition: all 0.3s ease;
}

body main .p-archiveContent .p-postList.-type-list .p-postList__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

/* リスト表示 - リンク */
body main#main_content .p-archiveContent .p-postList.-type-list li.p-postList__item a.p-postList__link,
body #main_content .p-archiveContent .p-postList.-type-list .p-postList__item .p-postList__link,
html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__link {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
}

/* リスト表示 - サムネイル */
body main#main_content .p-archiveContent .p-postList.-type-list li.p-postList__item .p-postList__thumb,
body #main_content .p-archiveContent .p-postList.-type-list .p-postList__item .p-postList__thumb,
html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__thumb {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 180px;
    min-height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

body main#main_content .p-archiveContent .p-postList.-type-list .p-postList__thumb img,
body main#main_content .p-archiveContent .p-postList.-type-list .p-postList__thumb .c-postThumb__img,
html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__thumb img,
html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__thumb .c-postThumb__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

body main .p-archiveContent .p-postList.-type-list .p-postList__item:hover .p-postList__thumb img {
    transform: scale(1.1);
}

/* リスト表示 - コンテンツエリア */
body main#main_content .p-archiveContent .p-postList.-type-list .p-postList__body,
html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* リスト表示 - タイトル */
body main .p-archiveContent .p-postList.-type-list .p-postList__title {
    font-size: 20px;
    margin-bottom: 16px;
}

/* リスト表示 - 説明文 */
body main .p-archiveContent .p-postList.-type-list .p-postList__excerpt {
    font-size: 15px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* ========================================
   リスト表示 - レスポンシブ
   ======================================== */
@media (max-width: 768px) {
    /* モバイルではカード型に切り替え */
    body main#main_content .p-archiveContent .p-postList.-type-list .p-postList__item,
    html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__item {
        flex-direction: column;
    }

    body main#main_content .p-archiveContent .p-postList.-type-list li.p-postList__item a.p-postList__link,
    html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__link {
        flex-direction: column;
    }

    body main#main_content .p-archiveContent .p-postList.-type-list li.p-postList__item .p-postList__thumb,
    html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__thumb {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 200px;
        min-height: 200px;
    }

    body main#main_content .p-archiveContent .p-postList.-type-list .p-postList__title,
    html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__title {
        font-size: 16px;
    }

    body main#main_content .p-archiveContent .p-postList.-type-list .p-postList__excerpt,
    html body .l-mainContent .p-archiveContent .p-postList.-type-list .p-postList__excerpt {
        font-size: 13px;
    }
}

/* ========================================
   ページネーション
   ======================================== */
body .p-archiveContent .c-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

/* ページネーションリンク - 共通スタイル */
body .p-archiveContent .c-pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #546E7A;
    background-color: white;
    border: 1px solid #CFD8DC;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ホバー状態 */
body .p-archiveContent .c-pagination .page-numbers:hover:not(.current):not(.dots) {
    background-color: #E3F2FD;
    color: #2E7BB4;
    border-color: #5BA3D0;
}

/* 現在のページ */
body .p-archiveContent .c-pagination .page-numbers.current {
    background-color: #2E7BB4;
    color: white;
    border-color: #2E7BB4;
    box-shadow: 0 4px 12px rgba(46, 123, 180, 0.3);
}

/* 省略記号 */
body .p-archiveContent .c-pagination .page-numbers.dots,
body .p-archiveContent .c-pagination .c-pagination__dot {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #90A4AE;
    letter-spacing: 2px;
    user-select: none;
    background: transparent;
    border: none;
}

/* Prev/Nextボタン */
body .p-archiveContent .c-pagination .page-numbers.prev,
body .p-archiveContent .c-pagination .page-numbers.next {
    font-size: 18px;
    font-weight: 700;
}

/* 無効状態（ボタンなし） */
body .p-archiveContent .c-pagination .page-numbers[disabled],
body .p-archiveContent .c-pagination .page-numbers.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* レスポンシブ - モバイル */
@media (max-width: 768px) {
    .p-archiveContent .p-postList.-type-card {
        grid-template-columns: 1fr !important;
    }

    .p-archiveContent .p-postList__body {
        padding: 16px !important;
    }

    .p-archiveContent .p-postList__title {
        font-size: 16px !important;
    }

    .p-archiveContent .p-postList__excerpt {
        font-size: 13px !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    /* ページネーション - モバイル */
    body .p-archiveContent .c-pagination {
        gap: 4px !important;
    }

    body .p-archiveContent .c-pagination .page-numbers {
        min-width: 36px !important;
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        margin: 4px !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
    }

    body .p-archiveContent .c-pagination .page-numbers.dots {
        min-width: 28px !important;
        width: 28px !important;
        font-size: 13px !important;
    }

    body .p-archiveContent .c-pagination .page-numbers.prev,
    body .p-archiveContent .c-pagination .page-numbers.next {
        font-size: 14px !important;
    }
}

/* ========================================
   検索結果なし
   ======================================== */
.c-searchNoResult {
    text-align: center;
    padding: 60px 20px;
    background-color: #F8FAFC;
    border-radius: 12px;
    margin-top: 20px;
}

.c-searchNoResult__text {
    font-size: 18px;
    font-weight: 600;
    color: #546E7A;
    margin-bottom: 12px;
}

.c-searchNoResult__suggestion {
    font-size: 14px;
    color: #90A4AE;
}

