/* Pattern Text Archive & Single Styles */
.l-archive-pattern-text,
.l-single-pattern-text {
    background: #f5f4f3;
    padding: 100px 0;
}

.pt-archive__title {
    font-family: "游明朝体", "Yu Mincho", serif;
    font-size: 3rem;
    color: #e72322;
    margin: 0 0 8px;
}

.pt-archive__desc {
    margin: 0 0 32px;
    color: #555;
}
/* About Section */
.pt-archive__about {
    margin: 24px 0;
}

.pt-about__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
}

.pt-about__badge {
    background: #d85a61;
    color: #fff;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1;
    padding: .4rem 1.2rem .5rem;
    display: inline-block;
    letter-spacing: .03em;
    border-radius: 4px;
}

.pt-about__word {
    font-weight: 700;
}

.pt-about__body p {
    margin: 0 0 1.25rem;
    line-height: 1.9;
}

.pt-about__body p:last-child {
    margin-bottom: 0;
}

@media (max-width:768px) {
    .pt-about__heading {
        flex-wrap: wrap;
        font-size: 1.2rem;
    }

    .pt-about__badge {
        font-size: 1.4rem;
    }
}

.pt-examples {
    margin: 32px 0;
    background-color: #0000000A;
    padding: 12px 6px;
    border-radius: 12px;
}

.pt-examples__heading {
    color: #e72322;
    font-size: 1.5rem;
    padding: 0 12px;
    width: fit-content;
    text-align: center;
    margin: 0 auto 12px;
}

.pt-examples__body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 0;
}

.pt-examples__item {
    width: 380px;
    min-width: 48%;
    text-align: center;
}

.pt-examples__item h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    color: #222;
}

.pt-examples__item h3 span {
    display: inline-block;
}

.pt-examples__image {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin: auto;
}

/* Grid */
.pt-archive__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    padding-top: 24px;
    border-top: #00000022 1px dashed;
}

.pt-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.pt-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #222;
    text-decoration: none;
}

.pt-card__thumbs {
    display: flex;
    gap: 4px;
}

.pt-card__thumb {
    width: 50%;
    aspect-ratio: 9/13;
    object-fit: cover;
    background: #ddd;
}

.pt-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    padding: .75rem .75rem .25rem;
    line-height: 1.4;
    flex-grow: 1;
}

.pt-card__date {
    font-size: .75rem;
    color: #777;
    display: block;
    padding: 0 .75rem .75rem;
}

.pt-card__link:hover .pt-card__title {
    text-decoration: underline;
}

/* Pagination */
.pt-archive__pagination {
    margin: 40px 0 0;
    text-align: center;
}

.pt-archive__pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    color: #222;
    font-size: .875rem;
}

.pt-archive__pagination .current {
    background: #e72322;
    color: #fff;
}

/* Single */
.pt-single__title {
    font-family: "游明朝体", "Yu Mincho", serif;
    font-size: 2.2rem;
    margin: 0 0 4px;
    color: #e72322;
}

.pt-single__date {
    font-size: .85rem;
    color: #777;
}

.pt-single__content {
    margin: 32px 0;
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.pt-single__content img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    object-fit: contain;
}

.pt-single__back {
    margin: 48px 0 0;
}

.pt-single__back a {
    display: inline-block;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #222;
}

.pt-single__back a::after {
    content: "";
    display: inline-block;
    width: .5em;
    height: .5em;
    margin-left: .3em;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

@media (max-width:768px) {
    .pt-archive__title {
        font-size: 2rem;
        text-align: center;
    }

    .pt-single__title {
        font-size: 1.6rem;
    }
}