/* wp-content/themes/generatepress-child/responsive.css */
/* Responsive Styles */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    .site-title {
        font-size: 1.2rem;
    }
    .main-navigation {
        margin: 10px 0;
    }
    .link-button {
        max-height: 30px;
    }
    .custom-header-content {
        font-size: 0.9rem;
    }
    .site-logo img, .site-logo .site-title {
        padding-top: 1em;
        max-height: 140px;
        width: 7em;
    }
    .site-header {
        padding: 10px;
    }
    .site-header .social {
        display: none;
    }

    /* Key Visual and Category Image */
    .tagline img {
        width: 39vw;
    }
    .key-visual {
        height: 50vh;
        background-size: cover;
        position: relative;
    }
    .key-visual .container {
        position: absolute;
        left: auto;
        right: auto;
    }
    .category-image {
        height: 150px;
    }
    .key-visual::before, .category-image::before {
        height: 120%;
        transform: scale(1.1) translateY(0);
    }
    .key-visual[data-parallax]::before, .category-image[data-parallax]::before {
        transform: scale(1.1) translateY(calc(var(--scroll-parallax, 0) * 0.3));
    }
    .key-visual h1 {
        font-size: 1.8rem;
    }
    .key-visual p {
        font-size: 0.9rem;
    }
    .category-image {
        height: 150px;
        background-attachment: scroll !important;
    }
    .bunner {
        padding: 2em 0;
        background-size: 156%;
        background-image: none;
    }
    .bunner p {
        margin-top: 2em;
        font-size: 4vw;
        text-align: left;
        padding: 0 1em;
    }
    .post-meta .fusen {
        top: -3.5em;
        left: -2.5em;
    }

    /* Category Section */
    .category-section .inner {
        padding: 0.5rem 0.5rem 0;
    }
    .category-section .wrap {
        flex-direction: column;
    }
    .category-section .category-title {
        width: 100%;
        justify-content: center;
    }
    .category-section .category-images {
        width: 100%;
        min-height: 150px;
    }
    .site-main .category-section .category-title h2 {
        order: 0!important;
        writing-mode: horizontal-tb;
        font-size: 1.5rem;
        margin: inherit;
    }
    .category-section .category-title .discription {
        order: 1;
        margin: 0;
        margin-top: 1em;
        padding: 0;
    }
    .category-section .category-title .discription p {
        writing-mode: horizontal-tb;
        height: auto;
        font-size: 0.9rem;
    }
    .category-section .category-title .discription p + p {
        margin-right: 0;
    }
    .site-main .category-section:nth-child(even) .category-title,
    .site-main .category-section:nth-child(odd) .category-title {
        order: 0;
        padding: 0 .75rem;
    }
    .category-section .category-title {
        flex-direction: column;
    }
    .site-main .category-section:nth-child(even) .category-images,
    .site-main .category-section:nth-child(odd) .category-images {
        order: 1;
        margin: 0;
    }
    .site-main .category-section:nth-child(even) .category-image,
    .site-main .category-section:nth-child(odd) .category-image {
        border-radius: 0;
    }
    .category-contents {
        margin-top: 2em;
    }
    .category-contents .post-list {
        padding: 1rem 1rem 2em;
    }
    .category-contents .post-list article {
        margin: 3.5em 0 0em;
        padding-bottom: 1em;
    }
    /* Post List */
    .post-list {
        grid-template-columns: 1fr;
    }
    footer .post-list {
        padding: 1rem 1rem 1.5rem;
    }
    .article-title {
    }
    .article-title h1 {
        font-size: 7vw;
        font-weight: 700;
    }
    .post-list article {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin-left: 0;
        width: 100%;
    }
    .post-list h3 {
        font-size: 1.2rem;
    }
    .post-list h3 a {
        padding: 0;
        line-height: 1.8em;
    }
    .category-link a {
        position: relative;
        right: -20px;
    }
    .category-contents .inner {
        width: 95%;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-nav .footer-menu {
        flex-direction: column;
        text-align: center;
    }
    .main-navigation {
        margin-top: 2em;
    }
    .mobile-menu img {
        width: 2em;
    }
    .main-navigation .mobile-menu.open {
        display: none;
    }
    .main-navigation .mobile-menu.close {
        display: inherit;
    }
    .main-navigation.toggled .mobile-menu.open{
        display: inherit;
    }
    .main-navigation.toggled .mobile-menu.close{
        display: none;
    }
}
@media (min-width: 769px) {
    .post-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .single-post-section .container {
        width: 96%;
    }
    .single-post-section .article-image {
        height: 200px;
    }
    .single-post-section .post-content {
        margin: 1rem 0;
        font-size: 1.2rem;
    }
    .article-title {
        padding: .5rem;
    }
    .single-post-section .article-header {

    }
    .site-footer {
        padding: 1em 0 2em
    }
}
/* 
@media (max-width: 768px) {
    .single-post-section .category-image {
        height: 200px;
    }
    .single-post-section .article-title h1 {
        writing-mode: horizontal-tb;
        font-size: 1.8rem;
    }
    .single-post-section .article-images img {
        width: 100%;
    }
    .single-post-section .post-content {
        font-size: 1rem;
        padding: 0.5rem;
    }
    .single-post-section .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
} */