/* kobewing.com child theme minimum styles */
.site-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.site-main {
    min-width: 0;
}

.entry-single .entry-title,
.front-intro h1,
.archive-header h1 {
    margin: 0 0 16px;
    line-height: 1.4;
}

.entry-content {
    line-height: 1.9;
}

.c-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.c-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-related,
.c-post-nav,
.site-sidebar .widget {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.c-related__title,
.widget-title {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.c-related__list,
.widget-list,
.front-latest__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-related__item + .c-related__item,
.widget-list li + li,
.front-latest__list li + li {
    margin-top: 10px;
}

.c-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.c-post-nav__next {
    text-align: right;
}

.c-post-nav--only-next .c-post-nav__next {
    grid-column: 2;
}

.site-sidebar--kobewing .widget--guide {
    margin-top: 0;
}

@media (max-width: 959px) {
    .site-layout {
        grid-template-columns: 1fr;
    }

    .c-post-nav {
        grid-template-columns: 1fr;
    }

    .c-post-nav__next {
        text-align: left;
    }

    .c-post-nav--only-next .c-post-nav__next {
        grid-column: auto;
    }
}

/* =========================================================
 * kobewing.com ��Ĵ�� v0.1.2 draft
 * �ɵ���: captim-kobewing/assets/css/site.css ������
 * ��Ū:
 * - �����ڡ��� / ���ƥ���ڡ�����;��Ĵ��
 * - ���Ф������� / ��ʸ�� / �����ɥС�����Ĵ��
 * - ���ޥۻ��εͤޤ�ڸ�
 * ========================================================= */

/* ------------------------------
   ���Υ쥤������
------------------------------ */
.site-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    max-width: 1120px;
    padding: 28px 16px 56px;
}

.site-main {
    min-width: 0;
}

/* ------------------------------
   �ᥤ�󥫥����γƥ֥��å�;��
------------------------------ */
.front-intro,
.front-latest,
.archive-header,
.entry-single,
.c-related,
.c-post-nav,
.site-sidebar .widget {
    border-radius: 10px;
}

.front-intro,
.front-latest,
.archive-header,
.entry-single {
    padding: 24px 28px;
}

.c-related,
.c-post-nav,
.site-sidebar .widget {
    padding: 20px 22px;
}

/* ������Ʊ�Τδֳ� */
.front-intro,
.front-latest,
.archive-header,
.entry-single,
.c-related,
.c-post-nav {
    margin-bottom: 24px;
}

/* �����ɥС��Ϥ��ͤ�� */
.site-sidebar .widget {
    margin-top: 24px;
}

.site-sidebar--kobewing .widget--guide {
    margin-top: 0;
}

/* ------------------------------
   �ѥ󤯤�
------------------------------ */
.c-breadcrumb {
    margin-bottom: 16px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.c-breadcrumb__list,
.c-breadcrumb ol {
    row-gap: 6px;
    column-gap: 8px;
}

/* ------------------------------
   ���������ȥ� / ���������ȥ�
------------------------------ */
.entry-single .entry-title,
.front-intro h1,
.archive-header h1 {
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.front-latest > h2,
.c-related__title,
.widget-title {
    margin: 0 0 14px;
    font-size: 1.12rem;
    line-height: 1.5;
}

/* archive ����ʸ�������� */
.archive-description {
    margin-top: 10px;
    line-height: 1.8;
    font-size: 0.98rem;
    color: #4b5563;
}

/* ------------------------------
   ��ʸ
------------------------------ */
.entry-content {
    font-size: 1rem;
    line-height: 2;
}

.entry-content > * + * {
    margin-top: 1.15em;
}

.entry-content h2 {
    margin-top: 2.2em;
    margin-bottom: 0.8em;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.5;
}

.entry-content h3 {
    margin-top: 1.8em;
    margin-bottom: 0.7em;
    font-size: clamp(1.15rem, 1.6vw, 1.3rem);
    line-height: 1.55;
}

.entry-content p,
.entry-content li {
    line-height: 2;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.4em;
}

.entry-content img,
.entry-content figure,
.entry-content .wp-block-image {
    margin-top: 1.4em;
    margin-bottom: 1.4em;
}

/* ------------------------------
   �ȥå� / ���ƥ������
------------------------------ */
.front-latest__list,
.archive-list,
.widget-list,
.c-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.front-latest__list li,
.archive-list li,
.widget-list li,
.c-related__item {
    margin: 0;
}

.front-latest__list li + li,
.archive-list li + li,
.widget-list li + li,
.c-related__item + .c-related__item {
    margin-top: 12px;
}

.front-latest__list a,
.archive-list a,
.widget-list a,
.c-related__item a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
}

.front-latest__list a:hover,
.archive-list a:hover,
.widget-list a:hover,
.c-related__item a:hover {
    text-decoration: underline;
}

/* ���ƥ���ڡ����ΰ����Ͼ����ɤߤ䤹�� */
.archive-list li {
    padding-bottom: 10px;
    border-bottom: 1px solid #edf0f2;
}

.archive-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* ------------------------------
   ����ʥ�
------------------------------ */
.c-post-nav {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

.c-post-nav > div {
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    min-height: 72px;
    display: flex;
    align-items: center;
}

.c-post-nav a {
    display: inline-block;
    width: 100%;
    line-height: 1.7;
    text-decoration: none;
}

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

.c-post-nav__next {
    text-align: right;
    justify-content: flex-end;
}

/* ------------------------------
   �����ɥС�
------------------------------ */
.site-sidebar .widget-title {
    margin-bottom: 12px;
}

.site-sidebar .widget-list li + li {
    margin-top: 10px;
}

.site-sidebar .widget-list a {
    display: inline-block;
    line-height: 1.75;
    text-decoration: none;
}

.site-sidebar .widget-list a:hover {
    text-decoration: underline;
}

/* �쥫�ƥ���������;���Ȥ��ơ����Ƴ���Ͼ����ڤ� */
.site-sidebar .widget--policy {
    opacity: 0.92;
}

/* ------------------------------
   ���ޥ� / ���֥�å�
------------------------------ */
@media (max-width: 959px) {
    .site-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 14px 40px;
    }

    .front-intro,
    .front-latest,
    .archive-header,
    .entry-single,
    .c-related,
    .site-sidebar .widget {
        padding: 18px 16px;
    }

    .entry-single .entry-title,
    .front-intro h1,
    .archive-header h1 {
        margin-bottom: 14px;
        font-size: 1.5rem;
        line-height: 1.45;
    }

    .front-latest > h2,
    .c-related__title,
    .widget-title {
        font-size: 1.03rem;
    }

    .entry-content {
        font-size: 0.98rem;
        line-height: 1.95;
    }

    .entry-content h2 {
        margin-top: 1.9em;
        font-size: 1.28rem;
    }

    .entry-content h3 {
        margin-top: 1.6em;
        font-size: 1.12rem;
    }

    .c-post-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .c-post-nav__next {
        text-align: left;
        justify-content: flex-start;
    }
}

/* ------------------------------
   �˾�����
------------------------------ */
@media (max-width: 480px) {
    .c-breadcrumb {
        font-size: 0.84rem;
    }

    .front-latest__list li + li,
    .archive-list li + li,
    .widget-list li + li,
    .c-related__item + .c-related__item {
        margin-top: 10px;
    }

    .archive-list li {
        padding-bottom: 8px;
    }
}


/* ------------------------------
   v0.1.3 sidebar navigation
------------------------------ */
.site-sidebar--kobewing .widget--start {
    margin-top: 0;
}

.site-sidebar--kobewing .widget-text {
    margin: -2px 0 12px;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #4b5563;
}

.site-sidebar--kobewing .widget-more {
    margin: 14px 0 0;
    font-size: 0.92rem;
}

.site-sidebar--kobewing .widget-more a {
    text-decoration: none;
}

.site-sidebar--kobewing .widget-more a:hover {
    text-decoration: underline;
}

/* ------------------------------
   v0.1.4 series flow block
------------------------------ */
.c-series-flow {
    margin-bottom: 24px;
    padding: 20px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.c-series-flow__title {
    margin: 0 0 12px;
    font-size: 1.12rem;
    line-height: 1.5;
}

.c-series-flow__lead {
    margin: -2px 0 14px;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #4b5563;
}

.c-series-flow__list {
    margin: 0;
    padding-left: 1.4em;
}

.c-series-flow__item + .c-series-flow__item {
    margin-top: 10px;
}

.c-series-flow__link,
.c-series-flow__current {
    line-height: 1.8;
}

.c-series-flow__link {
    text-decoration: none;
}

.c-series-flow__link:hover {
    text-decoration: underline;
}

.c-series-flow__item.is-current {
    font-weight: 600;
}

.c-series-flow__badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #eef2ff;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4338ca;
    vertical-align: middle;
}

.c-series-flow__more {
    margin: 14px 0 0;
    font-size: 0.92rem;
}

.c-series-flow__more a {
    text-decoration: none;
}

.c-series-flow__more a:hover {
    text-decoration: underline;
}

@media (max-width: 959px) {
    .c-series-flow {
        padding: 18px 16px;
    }

    .c-series-flow__title {
        font-size: 1.03rem;
    }

    .c-series-flow__lead {
        font-size: 0.92rem;
    }
}

/* ------------------------------
   v0.1.5 entry cards / list thumbnails
------------------------------ */
.c-entry-grid {
    display: grid;
    gap: 18px;
}

.c-entry-card {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.c-entry-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
    text-decoration: none;
}

.c-entry-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.c-entry-card__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 12px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #6b7280;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

.c-entry-card__body {
    min-width: 0;
}

.c-entry-card__meta {
    margin: 0 0 8px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #6b7280;
}

.c-entry-card__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    line-height: 1.6;
}

.c-entry-card__title a {
    text-decoration: none;
}

.c-entry-card__title a:hover {
    text-decoration: underline;
}

.c-entry-card__excerpt {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #374151;
}

@media (max-width: 767px) {
    .c-entry-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .c-entry-card__thumb {
        aspect-ratio: 16 / 9;
    }

    .c-entry-card__excerpt {
        font-size: 0.93rem;
        line-height: 1.8;
    }
}


/* ------------------------------
   v0.1.6 related cards / archive breadcrumb / front duplicate cleanup
------------------------------ */
.c-entry-grid--related {
    margin-top: 14px;
}

.c-entry-card--related {
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    align-items: center;
}

.c-entry-card--related .c-entry-card__title {
    font-size: clamp(0.98rem, 1.45vw, 1.08rem);
}

.site-header .site-title {
    margin: 0;
}

.site-header h1.site-title {
    font-size: inherit;
    line-height: inherit;
}

@media (max-width: 767px) {
    .c-entry-card--related {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
 * v0.1.6-fix
 * - category child navigation
 * - top duplicate safety alignment
 * ========================================================= */
.c-category-nav {
    margin-bottom: 24px;
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.c-category-nav__title {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.5;
}

.c-category-nav__lead {
    margin: 0 0 16px;
    color: #4b5563;
    line-height: 1.8;
}

.c-category-nav__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.c-category-nav__card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    background: #fafafa;
}

.c-category-nav__name {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.c-category-nav__desc,
.c-category-nav__meta,
.c-category-nav__more {
    margin: 0;
    line-height: 1.8;
}

.c-category-nav__desc + .c-category-nav__meta,
.c-category-nav__meta + .c-category-nav__more {
    margin-top: 8px;
}

.c-category-nav__meta {
    color: #6b7280;
    font-size: 0.92rem;
}

/* =========================================================
 * v0.1.6-fix2
 * - top page main heading restore without duplicate site title block
 * ========================================================= */
.front-intro--kobewing {
    padding-bottom: 20px;
}

.front-intro--kobewing .front-intro__lead {
    margin: 0;
    max-width: 56rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.9;
}

.front-intro--kobewing h1 {
    margin-bottom: 12px;
}

@media (max-width: 959px) {
    .front-intro--kobewing .front-intro__lead {
        font-size: 0.98rem;
        line-height: 1.85;
    }
}


/* =========================================================
 * v0.1.7
 * - single featured image
 * - category nav lead per parent category
 * ========================================================= */
.c-entry-featured {
    margin: 0 0 20px;
}

.c-entry-featured__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .c-entry-featured {
        margin-bottom: 16px;
    }

    .c-entry-featured__image {
        border-radius: 8px;
    }
}


/* ------------------------------
   記事共有
------------------------------ */
.c-share-box {
    margin-top: 32px;
    padding: 20px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.c-share-box__title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.c-share-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.c-share-box__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font: inherit;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.c-share-box__button:hover {
    text-decoration: none;
    background: #f9fafb;
}

.c-share-box__status {
    min-height: 1.5em;
    margin: 10px 0 0;
    font-size: 0.92rem;
    color: #4b5563;
}

@media (max-width: 640px) {
    .c-share-box__actions {
        flex-direction: column;
    }

    .c-share-box__button {
        width: 100%;
    }
}

.front-series--kobewing {
    margin-top: 1.5rem;
}


/* ------------------------------
   記事下CTA
------------------------------ */
.c-article-cta {
    margin-top: 32px;
}
