@charset "UTF-8";

/* ========================================
   BLOG FV（一覧・カテゴリアーカイブ）
======================================== */
.p-blog-fv-wrap {
    background: linear-gradient(to bottom, #edeef2 0%, #fcfeff 50%, #f2f2eb 100%);
}

.p-blog-fv {
    position: relative;
    padding: 100px 0 40px;
}

.p-blog-fv__title-area {
    padding-top: 20px;
}

.p-blog-fv__ja {
    font-family: 'Shippori Mincho', serif;
    font-size: 55px;
    font-weight: 600;
    color: #001769;
    letter-spacing: 0.15em;
    line-height: 1.4;
    margin: 0;
}

.p-blog-fv__en {
    display: block;
    font-family: 'Shippori Mincho', serif;
    font-size: 28px;
    font-weight: 400;
    color: #61351b;
    opacity: 0.6;
    letter-spacing: 0.3em;
    margin-top: 4px;
}

.p-blog-fv__lead {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.9;
    margin: 20px 0 0;
}

@media (max-width: 768px) {
    .p-blog-fv { padding: 80px 0 30px; }
    .p-blog-fv__ja { font-size: 32px; letter-spacing: 0.1em; }
    .p-blog-fv__en { font-size: 18px; letter-spacing: 0.2em; }
    .p-blog-fv__lead { font-size: 13px; }
}

/* ========================================
   BLOG ARCHIVE
======================================== */
.p-blog-archive {
    background: #fff;
    padding: 60px 0 100px;
}

/* --- カテゴリ絞り込み --- */
.p-blog-filter {
    margin-bottom: 50px;
}

.p-blog-filter__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-blog-filter__link {
    display: inline-block;
    padding: 8px 20px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #001769;
    background: #fff;
    border: 1px solid #001769;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.p-blog-filter__link:hover {
    background: #001769;
    color: #fff;
}

.p-blog-filter__link.is-active {
    background: #001769;
    color: #fff;
}

/* --- 現在カテゴリ表示 --- */
.p-blog-archive__current-cat {
    font-family: 'Shippori Mincho', serif;
    font-size: 24px;
    font-weight: 600;
    color: #001769;
    margin: 0 0 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.p-blog-archive__current-cat-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-right: 8px;
}

/* --- 記事リスト --- */
.p-blog-archive__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

/* --- 記事カード --- */
.p-blog-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-blog-card:hover {
    transform: translateY(-4px);
}

.p-blog-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.p-blog-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-top-left-radius: 12px;
    margin-bottom: 16px;
    background: #f5f5f5;
}

.p-blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.p-blog-card:hover .p-blog-card__thumb img {
    transform: scale(1.05);
}

.p-blog-card__body {
    padding: 0 4px;
}

.p-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.p-blog-card__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.05em;
}

.p-blog-card__cat {
    display: inline-block;
    padding: 3px 10px;
    background: #0038ff;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 11px;
    font-weight: 500;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.p-blog-card__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001769;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-blog-card__link:hover .p-blog-card__title {
    color: #0038ff;
}

/* --- ページネーション --- */
.p-blog-archive__pagination {
    margin-top: 60px;
}

.p-blog-archive__pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.p-blog-archive__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #001769;
    background: #fff;
    border: 1px solid #001769;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.p-blog-archive__pagination .page-numbers:hover,
.p-blog-archive__pagination .page-numbers.current {
    background: #001769;
    color: #fff;
}

.p-blog-archive__pagination .dots {
    border: none;
}

/* --- 記事なし --- */
.p-blog-archive__empty {
    text-align: center;
    padding: 60px 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    color: #666;
}

@media (max-width: 768px) {
    .p-blog-archive { padding: 40px 0 60px; }
    .p-blog-archive__list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .p-blog-filter { margin-bottom: 30px; }
    .p-blog-filter__link { font-size: 12px; padding: 6px 16px; }
    .p-blog-archive__current-cat { font-size: 20px; }
}

/* ========================================
   BLOG SINGLE FV
======================================== */
.p-blog-single-fv {
    padding: 100px 0 40px;
}

.p-blog-single-fv__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.p-blog-single-fv__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    letter-spacing: 0.05em;
}

.p-blog-single-fv__cat {
    display: inline-block;
    padding: 4px 14px;
    background: #0038ff;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.p-blog-single-fv__cat:hover {
    opacity: 0.8;
    color: #fff;
}

.p-blog-single-fv__title {
    font-family: 'Shippori Mincho', serif;
    font-size: 34px;
    font-weight: 600;
    color: #001769;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .p-blog-single-fv { padding: 80px 0 30px; }
    .p-blog-single-fv__title { font-size: 22px; }
    .p-blog-single-fv__date { font-size: 12px; }
}

/* ========================================
   BLOG SINGLE BODY
======================================== */
.p-blog-single {
    background: #fff;
    padding: 60px 0 100px;
}

.p-blog-single__eyecatch {
    margin-bottom: 40px;
    border-top-left-radius: 12px;
    overflow: hidden;
}

.p-blog-single__eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 本文 --- */
.p-blog-single__content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 2;
    color: #333;
}

.p-blog-single__content h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 26px;
    font-weight: 600;
    color: #001769;
    line-height: 1.5;
    margin: 60px 0 20px;
    padding: 16px 20px;
    background: linear-gradient(to right, #edeef2 0%, #f8f9fb 100%);
    border-left: 4px solid #001769;
}

.p-blog-single__content h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #001769;
    line-height: 1.6;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #001769;
}

.p-blog-single__content h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #001769;
    line-height: 1.6;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 3px solid #0038ff;
}

.p-blog-single__content p {
    margin: 0 0 24px;
}

.p-blog-single__content a {
    color: #0038ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.p-blog-single__content a:hover {
    opacity: 0.7;
}

.p-blog-single__content ul,
.p-blog-single__content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.p-blog-single__content ul li {
    list-style: disc;
    margin-bottom: 8px;
}

.p-blog-single__content ol li {
    list-style: decimal;
    margin-bottom: 8px;
}

.p-blog-single__content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    background: #f5f7fa;
    border-left: 4px solid #0038ff;
    font-size: 15px;
    color: #555;
}

.p-blog-single__content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    display: block;
}

.p-blog-single__content strong {
    font-weight: 700;
    color: #001769;
}

.p-blog-single__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.p-blog-single__content table th,
.p-blog-single__content table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-size: 14px;
    text-align: left;
}

.p-blog-single__content table th {
    background: #edeef2;
    font-weight: 600;
    color: #001769;
}

/* --- 一覧に戻るボタン --- */
.p-blog-single__back {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .p-blog-single { padding: 40px 0 60px; }
    .p-blog-single__content { font-size: 14px; }
    .p-blog-single__content h2 { font-size: 20px; padding: 12px 16px; }
    .p-blog-single__content h3 { font-size: 17px; }
    .p-blog-single__content h4 { font-size: 15px; }
    .p-blog-single__eyecatch { margin-bottom: 30px; }
}

/* ========================================
   RELATED POSTS
======================================== */
.p-blog-related {
    background: linear-gradient(to bottom, #f2f2eb 0%, #fcfeff 50%, #edeef2 100%);
    padding: 80px 0;
}

.p-blog-related__heading {
    text-align: center;
    margin-bottom: 50px;
}

.p-blog-related__ja {
    font-family: 'Shippori Mincho', serif;
    font-size: 32px;
    font-weight: 600;
    color: #001769;
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin: 0;
}

.p-blog-related__en {
    display: block;
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 400;
    color: #61351b;
    opacity: 0.6;
    letter-spacing: 0.3em;
    margin-top: 4px;
}

.p-blog-related__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .p-blog-related { padding: 50px 0; }
    .p-blog-related__ja { font-size: 22px; }
    .p-blog-related__en { font-size: 14px; }
    .p-blog-related__list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   FRONT PAGE — 最新記事エリア
======================================== */
.p-blog-latest {
    background: #fff;
    padding: 80px 0;
}

.p-blog-latest__heading {
    text-align: center;
    margin-bottom: 50px;
}

.p-blog-latest__ja {
    font-family: 'Shippori Mincho', serif;
    font-size: 32px;
    font-weight: 600;
    color: #001769;
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin: 0;
}

.p-blog-latest__en {
    display: block;
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 400;
    color: #61351b;
    opacity: 0.6;
    letter-spacing: 0.3em;
    margin-top: 4px;
}

.p-blog-latest__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.p-blog-latest__btn-wrap {
    text-align: center;
}

@media (max-width: 768px) {
    .p-blog-filter__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .p-blog-filter__item:first-child {
        grid-column: 1 / -1;  /* 「すべて」を1行全幅に */
    }
    .p-blog-filter__link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 10px 8px;
        font-size: 12px;
        text-align: center;
        line-height: 1.3;
        box-sizing: border-box;
    }
}
 


/* ========== パンくずリスト ========== */
.p-blog-breadcrumb {
    margin: 0 0 32px;
    font-size: 13px;
    color: #666;
}
.p-blog-breadcrumb__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}
.p-blog-breadcrumb__item {
    display: inline-flex;
    align-items: center;
}
.p-blog-breadcrumb__item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #999;
}
.p-blog-breadcrumb__item a {
    color: #001769;
    text-decoration: none;
    transition: opacity 0.2s;
}
.p-blog-breadcrumb__item a:hover {
    opacity: 0.7;
    text-decoration: underline;
}
.p-blog-breadcrumb__item--current {
    color: #666;
}
@media (max-width: 768px) {
    .p-blog-breadcrumb {
        font-size: 12px;
        margin-bottom: 24px;
    }
}

/* PCでは強制改行を非表示、スマホでのみ有効 */
.u-sp-only {
    display: none;
}
@media (max-width: 768px) {
    .u-sp-only {
        display: inline;
    }
    /* 「・」を改行と同時に非表示にする場合 */
    .p-blog-filter__link br.u-sp-only + * {
        /* 必要に応じて調整 */
    }
}
