/*
Theme Name: NATURAL
Theme URI: 
Author: Your Name
Author URI: 
Description: A clean and natural WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: natural
*/

/* Reset CSS */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* WordPress Admin Bar Fix */
html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 46px !important;
    }
}

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    #wpadminbar {
        position: fixed !important;
    }

    .container,
    .site-main,
    .featured-sections-wrapper,
    .single-container,
    .archive-header,
    .post-card,
    .entry-content,
    #page,
    #content {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

:root {
    --color-primary: #6393A6;
    --color-text-light: #F2EFDF;
    --color-text: #2C3A47;
    --color-text-soft: #596275;
    --color-accent: #A8B8B9;
    --color-bg-light: #F8F9FA;
    --color-border: #E8ECEF;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-light);
}

/* Container */
.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1400px;
    box-sizing: border-box;
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    background: #fff;
}

.site-branding {
    text-align: center;
}

.site-title {
    font-size: 2.8em;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-title a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--color-text);
}

.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Navigation */
.main-navigation {
    background: var(--color-primary);
    padding: 15px 0;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 1.1em;
    padding: 8px 0;
    display: block;
}

/* Main Content */
.site-main {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
}

/* Featured Posts */
.featured-posts {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 460px;
    width: 100%;
    margin-bottom: 1px;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.post-card:nth-child(2) {
    animation-delay: 0.2s;
}

.post-card:nth-child(3) {
    animation-delay: 0.4s;
}

.post-card:nth-child(n+4) {
    animation-delay: 0.6s;
}

.post-card:last-child {
    margin-bottom: 0;
}

.post-card-thumbnail {
    flex: 0 0 695px;
    position: relative;
    overflow: hidden;
}

.post-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-category-label {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.post-category-label a {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    text-decoration: none;
}

.post-card-content {
    flex: 1;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    position: relative;
}

.post-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--color-primary), var(--color-primary) 4px, transparent 4px, transparent 8px);
    opacity: 0.3;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: var(--color-text-soft);
    font-family: "游明朝", "Yu Mincho", serif;
    letter-spacing: 0.5px;
}

.post-date svg {
    width: 14px;
    height: 14px;
    color: var(--color-primary);
    opacity: 0.7;
}

.post-card h2 {
    font-size: 1.8em;
    line-height: 1.5;
    margin: 0 0 25px 0;
    font-family: "游明朝", "Yu Mincho", serif;
    position: relative;
    padding-left: 20px;
}

.post-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.7;
}

.post-card h2::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 50%;
    width: 2px;
    height: 20px;
    background: var(--color-primary);
    transform: translateY(-50%);
    opacity: 0.4;
}

.post-card h2 a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
    background: linear-gradient(transparent 70%, rgba(99, 147, 166, 0.1) 70%);
}

.post-card h2 a:hover {
    color: var(--color-primary);
}

.post-excerpt {
    color: var(--color-text-soft);
    line-height: 1.9;
    font-size: 0.95em;
    margin-bottom: 25px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    position: relative;
    padding-left: 20px;
    border-left: 2px dashed rgba(99, 147, 166, 0.3);
}

.post-card-footer {
    margin-top: auto;
    padding-top: 20px;
    text-align: right;
    position: relative;
}

.post-card-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-image: radial-gradient(circle at 2px 2px, var(--color-primary) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.2;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(99, 147, 166, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    background: rgba(99, 147, 166, 0.15);
}

.read-more:hover::after {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .post-card-content {
        padding: 25px 20px;
    }

    .post-meta {
        margin-bottom: 15px;
    }

    .post-card h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
        padding-left: 16px;
    }

    .post-card h2::before {
        width: 6px;
        height: 6px;
    }

    .post-card h2::after {
        height: 16px;
        left: 2px;
    }

    .post-excerpt {
        font-size: 0.9em;
        margin-bottom: 20px;
        padding-left: 15px;
    }

    .post-card-footer {
        padding-top: 15px;
    }

    .read-more {
        font-size: 0.9em;
        padding: 6px 16px;
    }
}

/* Footer Styles - Visibility Refinement */
.site-footer {
    padding: 70px 0 40px;
    margin-top: 70px;
    color: #ffffff;
    background: #1a1a1a !important;
    /* Simplified background for reliability */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area {
    flex: 1;
    min-width: 250px;
}

/* Footer Headings - Target both classic and block widgets */
.site-footer h2,
.site-footer h3,
.site-footer .footer-widget-title,
.site-footer .widget-title,
.site-footer .widgettitle {
    font-size: 1.25em !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    color: #ffffff !important;
    position: relative !important;
    padding-bottom: 12px !important;
    font-family: "游明朝", "Yu Mincho", serif !important;
    letter-spacing: 0.1em !important;
    border: none !important;
    text-align: left !important;
}

.site-footer h2::after,
.site-footer h3::after,
.site-footer .footer-widget-title::after,
.site-footer .widget-title::after,
.site-footer .widgettitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary, #6393A6);
}

/* Tag Cloud Widget Polish - Extra Specificity */
.site-footer .tagcloud,
.site-footer .wp-block-tag-cloud {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    line-height: 1 !important;
}

.site-footer .tagcloud a,
.site-footer .wp-block-tag-cloud a {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    white-space: nowrap !important;
    margin: 0 !important;
    display: inline-block !important;
}

.site-footer .tagcloud a:hover,
.site-footer .wp-block-tag-cloud a:hover {
    background: var(--color-primary, #6393A6) !important;
    color: #ffffff !important;
    border-color: var(--color-primary, #6393A6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.footer-widget {
    margin-bottom: 25px;
    font-size: 0.95em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget p {
    margin-bottom: 15px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-widget ul li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-logo img {
    height: auto;
    max-height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding-top: 30px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.copyright {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-widgets {
        flex-direction: column;
        gap: 30px;
    }

    .footer-widget-area {
        width: 100%;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-links {
        gap: 5px 10px;
    }

    .footer-links a {
        font-size: 12px;
        padding: 2px 6px;
    }

    .footer-section-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 15px;
        margin-top: 5px;
    }
}

/* Archive */
.archive-header {
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    background: #fff;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
}

.archive-header-content {
    position: relative;
    z-index: 2;
}

.archive-title {
    font-size: 28px;
    color: var(--color-text);
    margin: 0 0 15px;
    padding: 0 40px;
    font-family: "游明朝", "Yu Mincho", serif;
    position: relative;
    display: inline-block;
}

.archive-title::before,
.archive-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

.archive-title::before {
    left: 0;
}

.archive-title::after {
    right: 0;
}

.archive-title::before {
    background: linear-gradient(90deg,
            var(--color-primary) 0%,
            var(--color-primary) 50%,
            transparent 50%,
            transparent 100%);
    background-size: 4px 2px;
}

.archive-title::after {
    background: linear-gradient(-90deg,
            var(--color-primary) 0%,
            var(--color-primary) 50%,
            transparent 50%,
            transparent 100%);
    background-size: 4px 2px;
}

.archive-description {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
    padding: 0 20px;
}

.archive-description p {
    margin: 0;
}

/* カテゴリーアーカイブの場合の追加スタイル */
.category .archive-header {
    padding: 100px 20px;
}

/* タグアーカイブの場合の追加スタイル */
.tag .archive-header {
    padding: 60px 20px;
}

.tag .archive-title {
    font-size: 24px;
}

@media (max-width: 768px) {
    .archive-header {
        padding: 60px 15px;
        margin: 0 0 30px;
        border-radius: 0;
    }

    .category .archive-header {
        padding: 80px 15px;
    }

    .archive-title {
        font-size: 22px;
        padding: 0 30px;
    }

    .archive-title::before,
    .archive-title::after {
        width: 20px;
    }

    .archive-description {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Archive Posts */
.archive-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
    padding: 20px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
    opacity: 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 6px;
    background: #fff;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .current,
.pagination .page-numbers:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.menu-toggle-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1200px) {
    .post-card {
        min-height: auto;
    }

    .post-card-thumbnail {
        flex: 0 0 500px;
    }

    .post-card-content {
        padding: 25px 30px;
    }

    .post-excerpt {
        -webkit-line-clamp: 4;
        line-clamp: 4;
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container,
    .site-main,
    .featured-sections-wrapper,
    .single-container,
    .archive-header,
    .post-card,
    .entry-content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .archive-header {
        border-radius: 0;
    }

    .entry-header-content,
    .entry-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .featured-section-grid {
        margin: 0;
    }

    .featured-sections-wrapper {
        padding: 0;
        margin: 20px 0;
    }

    .single-container {
        padding: 0;
    }

    .post-card {
        margin-bottom: 0;
        border-radius: 0;
    }

    /* Mobile Navigation */
    .main-navigation {
        position: relative;
        padding: 10px 0;
        margin-bottom: 20px;
    }

    .main-navigation .container {
        position: relative;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        padding: 10px 0;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .nav-menu.nav-menu-open {
        display: flex;
        animation: slideDown 0.3s ease-out;
        margin-bottom: 20px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 15px;
        font-size: 1em;
        color: var(--color-text-light);
    }

    /* Site Main Content */
    .site-main {
        position: relative;
        z-index: 1;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile Card Design */
    .post-card {
        flex-direction: column;
        margin-bottom: 15px;
        min-height: auto;
    }

    .post-card-thumbnail {
        flex: none;
        height: 200px;
    }

    .post-card-content {
        padding: 20px;
    }

    .post-meta {
        font-size: 0.85em;
        margin-bottom: 12px;
    }

    .post-card h2 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }

    .post-excerpt {
        font-size: 0.9em;
        line-height: 1.6;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 15px;
    }

    .post-card-footer {
        padding-top: 15px;
        margin-top: 15px;
    }

    .read-more {
        font-size: 0.9em;
    }

    .post-category-label {
        top: 15px;
        left: 15px;
    }

    .post-category-label a {
        font-size: 0.8em;
        padding: 4px 10px;
    }
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
    margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .featured-grid {
        display: none;
        /* モバイルでは非表示 */
    }
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.featured-item:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
}

.featured-item-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.featured-item-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    z-index: 2;
}

.featured-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.featured-item-content h2 {
    font-size: 1.4em;
    margin: 0 0 10px;
    font-family: "游明朝", "Yu Mincho", serif;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.featured-item:first-child .featured-item-content h2 {
    font-size: 1.8em;
}

.featured-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    opacity: 0.9;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.featured-date,
.featured-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-date::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: relative;
}

.featured-date::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
}

.featured-author::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    margin-right: 5px;
}

.featured-author::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 5px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 0 0 10px 10px;
    border-top: 0;
    left: 3px;
    top: 70%;
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }

    .featured-item:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    .featured-item-content {
        padding: 20px;
    }

    .featured-item-content h2,
    .featured-item:first-child .featured-item-content h2 {
        font-size: 1.2em;
    }

    .featured-category {
        top: 15px;
        left: 15px;
        padding: 4px 10px;
        font-size: 0.8em;
    }

    .featured-meta {
        font-size: 0.8em;
        gap: 10px;
    }
}

/* Featured Sections */
.featured-sections-wrapper {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.featured-section {
    margin-bottom: 40px;
}

.featured-section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-text);
    text-align: center;
}

.featured-section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-section-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-section-item:hover {
    transform: translateY(-5px);
}

.featured-section-item a {
    text-decoration: none;
    color: inherit;
}

.featured-section-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.featured-section-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-section-item h3 {
    font-size: 16px;
    margin: 10px;
    line-height: 1.4;
    color: #333;
}

.featured-section-meta {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    font-size: 12px;
    color: #666;
}

@media screen and (max-width: 768px) {
    .featured-sections-wrapper {
        padding: 0 15px;
    }

    .featured-section-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .featured-section-item h3 {
        font-size: 14px;
    }
}

/* Single Post Layout */
.single-container {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1400px;
    width: 100%;
}

.single-container .site-main {
    flex: 1;
    min-width: 0;
}

.site-sidebar {
    width: 360px;
    flex-shrink: 0;
}

/* Single Post Content */
.single-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.entry-header {
    position: relative;
    margin-bottom: 30px;
}

.entry-thumbnail {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-header-content {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, #ffffff 100%);
}

.entry-categories {
    margin-bottom: 12px;
}

.entry-categories a {
    display: inline-block;
    padding: 4px 12px;
    margin-right: 8px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9em;
    text-decoration: none;
    transition: background-color 0.3s;
}

.entry-categories a:hover {
    background-color: var(--primary-color-dark);
}

.entry-title {
    font-size: 1.8em;
    line-height: 1.4;
    margin: 0 0 16px;
    color: #333;
}

.entry-meta {
    display: flex;
    gap: 16px;
    color: #666;
    font-size: 0.9em;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.entry-content {
    padding: 0 24px 24px;
    line-height: 2;
    font-size: 16px;
    color: var(--color-text);
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.entry-content p {
    margin-bottom: 2em;
}

.entry-content h2 {
    font-size: 1.8em;
    margin: 2em 0 1em;
    padding: 0.5em 0;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-primary);
    font-family: "游明朝", "Yu Mincho", serif;
    line-height: 1.4;
}

.entry-content h3 {
    font-size: 1.5em;
    margin: 1.8em 0 1em;
    padding-left: 1em;
    border-left: 4px solid var(--color-primary);
    font-family: "游明朝", "Yu Mincho", serif;
    line-height: 1.4;
}

.entry-content h4 {
    font-size: 1.3em;
    margin: 1.5em 0 1em;
    color: var(--color-text);
    font-family: "游明朝", "Yu Mincho", serif;
    line-height: 1.4;
    position: relative;
    padding-left: 1.2em;
}

.entry-content h4::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.8em;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.8em;
    line-height: 1.8;
}

.entry-content blockquote {
    margin: 2em 0;
    padding: 1.5em;
    background: rgba(99, 147, 166, 0.05);
    border-left: 4px solid var(--color-primary);
    color: var(--color-text-soft);
    font-style: italic;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary);
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: var(--color-primary-dark);
    border-bottom-style: solid;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.entry-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.entry-content th {
    background: rgba(99, 147, 166, 0.1);
    font-weight: bold;
}

.entry-content pre {
    background: #f5f5f5;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
}

.entry-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
}

/* Entry Meta Enhancements */
.entry-meta {
    display: flex;
    gap: 20px;
    color: var(--color-text-soft);
    font-size: 0.95em;
    margin-top: 12px;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.date-icon::before {
    content: '📅';
}

.author-icon::before {
    content: '👤';
}

/* Categories Enhancement */
.entry-categories {
    margin-bottom: 16px;
}

.entry-categories a {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 8px 8px 0;
    background: var(--color-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-categories a:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Entry Title Enhancement */
.entry-title {
    font-size: 2em;
    line-height: 1.4;
    margin: 0 0 16px;
    color: var(--color-text);
    font-family: "游明朝", "Yu Mincho", serif;
    letter-spacing: 0.02em;
}

/* Responsive Typography */
@media screen and (max-width: 768px) {
    .entry-content {
        font-size: 15px;
        padding: 0 16px 16px;
    }

    .entry-content h2 {
        font-size: 1.6em;
    }

    .entry-content h3 {
        font-size: 1.4em;
    }

    .entry-content h4 {
        font-size: 1.2em;
    }

    .entry-title {
        font-size: 1.6em;
    }

    .entry-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Post Navigation */
.post-navigation {
    margin: 60px 0;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 0;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.nav-next a {
    justify-content: flex-end;
    text-align: right;
}

.nav-previous a:hover,
.nav-next a:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: var(--color-bg-light, #F8F9FA);
}

.nav-thumbnail {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nav-previous a:hover .nav-thumbnail img,
.nav-next a:hover .nav-thumbnail img {
    transform: scale(1.1);
}

.nav-content {
    flex: 1;
    min-width: 0;
}

.nav-label {
    display: block;
    font-size: 0.8em;
    font-weight: 700;
    color: var(--color-primary, #6393A6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    opacity: 0.8;
}

.nav-title {
    display: block;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--color-text, #2C3A47);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .nav-previous a,
    .nav-next a {
        padding: 15px;
    }

    .nav-thumbnail {
        width: 80px;
        height: 60px;
    }
}

.nav-next a {
    flex-direction: row-reverse;
    text-align: right;
}

/* Enhanced Sidebar Widgets */
.site-sidebar {
    width: 360px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(99, 147, 166, 0.1);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget .widget-title {
    font-size: 1.2em;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-text);
    position: relative;
    font-family: "游明朝", "Yu Mincho", serif;
}

.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

/* Base List Styles for All Widgets */
.sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--color-border);
}

.sidebar-widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.sidebar-widget ul li a:hover {
    color: var(--color-primary);
}

.sidebar-widget ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Categories Widget */
.sidebar-widget.widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-widget.widget_categories ul li a {
    flex: 1;
}

.sidebar-widget.widget_categories ul li .count {
    background: rgba(99, 147, 166, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    color: var(--color-text-soft);
}

/* Recent Posts Widget */
.sidebar-widget.widget_recent_entries li {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.sidebar-widget.widget_recent_entries a {
    padding-left: 0;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.sidebar-widget.widget_recent_entries a::before {
    display: none;
}

.sidebar-widget.widget_recent_entries .post-date {
    display: block;
    font-size: 0.85em;
    color: var(--color-text-soft);
    padding-left: 20px;
    position: relative;
}

.sidebar-widget.widget_recent_entries .post-date::before {
    content: '📅';
    position: absolute;
    left: 0;
    font-size: 0.9em;
    opacity: 0.7;
}

/* Archives Widget */
.sidebar-widget.widget_archive li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-widget.widget_archive li a {
    flex: 1;
}

.sidebar-widget.widget_archive li .count {
    background: rgba(99, 147, 166, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    color: var(--color-text-soft);
}

/* Calendar Widget Enhancement */
.sidebar-widget.widget_calendar {
    padding: 20px;
}

.sidebar-widget.widget_calendar caption {
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--color-text);
    font-size: 1.1em;
}

.sidebar-widget.widget_calendar th,
.sidebar-widget.widget_calendar td {
    padding: 8px 0;
    text-align: center;
    font-size: 0.9em;
}

.sidebar-widget.widget_calendar tbody td {
    border-radius: 4px;
}

.sidebar-widget.widget_calendar tbody td:hover {
    background: rgba(99, 147, 166, 0.05);
}

.sidebar-widget.widget_calendar tbody td a {
    display: block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.sidebar-widget.widget_calendar tfoot a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9em;
}

.sidebar-widget.widget_calendar tfoot a:hover {
    color: var(--color-primary);
}

/* Search Widget Enhancement */
.sidebar-widget.widget_search {
    padding: 20px;
}

.sidebar-widget .search-form {
    position: relative;
}

.sidebar-widget .search-field {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.95em;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.sidebar-widget .search-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(99, 147, 166, 0.1);
}

.sidebar-widget .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-widget .search-submit:hover {
    background: var(--color-primary-dark);
}

/* Tag Cloud Widget Enhancement */
.sidebar-widget .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px;
}

.sidebar-widget .wp-block-tag-cloud a {
    display: inline-block;
    padding: 4px 12px;
    margin: 4px;
    background: rgba(99, 147, 166, 0.1);
    color: var(--color-text);
    border-radius: 20px;
    font-size: 13px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.sidebar-widget .wp-block-tag-cloud a:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

.sidebar-widget .wp-block-tag-cloud .tag-link-count {
    display: inline-block;
    margin-left: 3px;
    font-size: 0.85em;
    opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 960px) {
    .single-container {
        flex-direction: column;
        padding: 15px;
    }

    .site-sidebar {
        width: 100%;
        margin-top: 30px;
    }

    .container {
        padding: 0 15px;
    }

    .entry-thumbnail {
        height: 300px;
    }

    .nav-links {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .entry-thumbnail {
        height: 200px;
    }

    .entry-title {
        font-size: 1.5em;
    }

    .entry-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Popular Posts Widget */
.popular-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--color-border);
}

.popular-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-post-thumbnail a:hover img {
    transform: scale(1.05);
}

.popular-post-content {
    flex: 1;
    min-width: 0;
}

.popular-post-title {
    font-size: 0.95em;
    margin: 0 0 8px;
    line-height: 1.4;
}

.popular-post-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-title a:hover {
    color: var(--color-primary);
}

.popular-post-date {
    display: block;
    font-size: 0.85em;
    color: var(--color-text-soft);
}

@media screen and (max-width: 960px) {
    .popular-post-item {
        gap: 12px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .popular-post-thumbnail {
        width: 70px;
        height: 70px;
    }
}

/* Related Posts */
.related-posts {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-posts-title {
    font-size: 1.4em;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-text);
    text-align: center;
    font-family: "游明朝", "Yu Mincho", serif;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.related-post-item:hover {
    transform: translateY(-3px);
}

.related-post-item a {
    text-decoration: none;
    color: inherit;
}

.related-post-thumbnail {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.related-post-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8em;
    border-radius: 4px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.related-post-item:hover .related-post-category {
    background: var(--color-primary-dark, #4a7a8c);
}

.related-post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-content {
    padding: 15px;
}

.related-post-title {
    font-size: 1em;
    margin: 0 0 10px;
    line-height: 1.4;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-meta {
    font-size: 0.85em;
    color: var(--color-text-soft);
}

@media screen and (max-width: 960px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .related-posts {
        padding: 20px 15px;
        margin: 30px 0;
        border-radius: 0;
    }

    .related-posts-title {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-post-content {
        padding: 12px;
    }

    .related-post-title {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .related-post-category {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 0.75em;
    }
}

/* Timeline Shortcode */
.timeline-wrapper {
    margin: 40px 0;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-title {
    font-size: 1.4em;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-text);
    text-align: center;
    font-family: "游明朝", "Yu Mincho", serif;
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--color-primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item-marker {
    position: absolute;
    left: 12px;
    top: 0;
    width: 16px;
    height: 16px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}

.timeline-item-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.9em;
    border-radius: 4px;
    margin-bottom: 12px;
}

.timeline-item-title {
    font-size: 1.2em;
    margin: 0 0 15px;
    color: var(--color-text);
    font-family: "游明朝", "Yu Mincho", serif;
}

.timeline-item-text {
    color: var(--color-text);
    line-height: 1.8;
}

.timeline-item-text p {
    margin: 0 0 1em;
}

.timeline-item-text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .timeline-wrapper {
        padding: 20px 15px;
        margin: 30px 0;
        border-radius: 0;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 45px;
        margin-bottom: 25px;
    }

    .timeline-item-marker {
        left: 8px;
        width: 14px;
        height: 14px;
    }

    .timeline-item-label {
        font-size: 0.85em;
        padding: 3px 10px;
    }

    .timeline-item-title {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
}

/* ======================================
   レシピページ専用スタイル
   ====================================== */

/* レシピコンテナ */
.recipe-container {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    padding: 0;
    max-width: 1400px;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.recipe-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 20px;
    overflow: hidden;
}

.recipe-sidebar {
    width: 360px;
    flex-shrink: 0;
    margin: 20px 20px 20px 0;
}

/* レシピ記事 */
.recipe-article {
    background: #fff;
    position: relative;
}

/* レシピヒーロー画像 */
.recipe-hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
}

.recipe-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 60px 40px 40px;
}

.recipe-hero-content {
    max-width: 800px;
}

.recipe-categories {
    margin-bottom: 16px;
}

.recipe-category-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    margin-right: 10px;
    backdrop-filter: blur(10px);
}

.recipe-title {
    font-size: 2.8em;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: "游明朝", "Yu Mincho", serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* レシピメタ情報 */
.recipe-meta-section {
    padding: 40px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--color-border);
}

.recipe-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.recipe-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.recipe-meta-item:hover {
    transform: translateY(-2px);
}

.meta-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    flex-shrink: 0;
}

.cooking-time-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
}

.cooking-time-icon::before {
    content: '⏰';
}

.serving-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
}

.serving-icon::before {
    content: '👥';
}

.difficulty-icon {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
    color: #fff;
}

.difficulty-icon::before {
    content: '📊';
}

.author-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
}

.author-icon::before {
    content: '👨‍🍳';
}

.meta-content {
    flex: 1;
}

.meta-label {
    display: block;
    font-size: 0.85em;
    color: var(--color-text-soft);
    margin-bottom: 4px;
    font-weight: 500;
}

.meta-value {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-text);
}

/* レシピ概要 */
.recipe-description {
    padding: 40px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.recipe-excerpt {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--color-text-soft);
}

/* レシピセクション共通 */
.recipe-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8em;
    margin: 0 0 30px;
    padding: 20px 0;
    border-bottom: 3px solid var(--color-primary);
    color: var(--color-text);
    font-family: "游明朝", "Yu Mincho", serif;
    position: relative;
}

.recipe-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    flex-shrink: 0;
}

.ingredients-icon {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
}

.ingredients-icon::before {
    content: '🥬';
}

.instructions-icon {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: #fff;
}

.instructions-icon::before {
    content: '📝';
}

.tips-icon {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: #fff;
}

.tips-icon::before {
    content: '💡';
}

.nutrition-icon {
    background: linear-gradient(135deg, #55a3ff, #1e3c72);
    color: #fff;
}

.nutrition-icon::before {
    content: '📊';
}

/* 材料セクション */
.recipe-ingredients {
    padding: 50px 40px;
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
    border-bottom: 1px solid var(--color-border);
}

.ingredients-content {
    max-width: 600px;
    margin: 0 auto;
}

.ingredients-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ingredient-item {
    padding: 18px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--color-text);
    position: relative;
    transition: background-color 0.3s ease;
}

.ingredient-item:hover {
    background: rgba(99, 147, 166, 0.05);
}

.ingredient-item:last-child {
    border-bottom: none;
}

.ingredient-item::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.5em;
    margin-right: 15px;
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.ingredient-item {
    padding-left: 60px;
}

.no-ingredients {
    text-align: center;
    color: var(--color-text-soft);
    font-style: italic;
    padding: 40px;
    background: rgba(99, 147, 166, 0.05);
    border-radius: 8px;
}

/* 作り方セクション */
.recipe-instructions {
    padding: 50px 40px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.instructions-content {
    max-width: 900px;
    margin: 0 auto;
}

.cooking-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step-counter;
}

.cooking-step {
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid var(--color-primary);
    transition: transform 0.3s ease;
}

.cooking-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cooking-step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.step-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-text {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0;
}

.step-image {
    flex: 0 0 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-image:hover img {
    transform: scale(1.05);
}

.recipe-content-fallback {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--color-text);
}

/* コツとポイント */
.recipe-tips {
    padding: 50px 40px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-bottom: 1px solid var(--color-border);
}

.tips-content {
    max-width: 800px;
    margin: 0 auto;
}

.tips-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2196f3;
    position: relative;
}

.tips-box::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 1.5em;
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tips-box p {
    margin: 0 0 1em;
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--color-text);
}

.tips-box p:last-child {
    margin-bottom: 0;
}

/* 栄養情報 */
.recipe-nutrition {
    padding: 50px 40px;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-bottom: 1px solid var(--color-border);
}

.nutrition-content {
    max-width: 700px;
    margin: 0 auto;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nutrition-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 8px;
    border-left: 3px solid #9c27b0;
}

.nutrition-label {
    font-weight: 600;
    color: var(--color-text);
}

.nutrition-value {
    font-weight: 700;
    color: #9c27b0;
}

/* レシピフッター */
.recipe-footer {
    padding: 40px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--color-border);
}

.recipe-tags {
    margin-bottom: 20px;
}

.tags-label {
    color: var(--color-text-soft);
    margin-right: 10px;
    font-weight: 500;
}

.recipe-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.recipe-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.recipe-meta-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed var(--color-border);
}

.posted-date {
    color: var(--color-text-soft);
    font-size: 0.95em;
}

/* 関連レシピ */
.related-recipes {
    margin: 0;
    padding: 50px 40px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid var(--color-border);
}

.related-recipes-title {
    font-size: 1.8em;
    margin: 0 0 40px;
    text-align: center;
    color: var(--color-text);
    font-family: "游明朝", "Yu Mincho", serif;
    position: relative;
    padding-bottom: 20px;
}

.related-recipes-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.related-recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-recipe-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.related-recipe-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-recipe-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-recipe-thumbnail {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
}

.related-recipe-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8em;
    border-radius: 12px;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.related-recipe-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-recipe-item:hover .related-recipe-thumbnail img {
    transform: scale(1.1);
}

.related-recipe-content {
    padding: 20px;
}

.related-recipe-title {
    font-size: 1.1em;
    margin: 0 0 12px;
    line-height: 1.4;
    color: var(--color-text);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-recipe-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: var(--color-text-soft);
}

.related-recipe-time::before {
    content: '⏰ ';
    margin-right: 4px;
}

.related-recipe-difficulty::before {
    content: '📊 ';
    margin-right: 4px;
}

/* レシピナビゲーション */
.recipe-navigation {
    margin: 0;
    padding: 40px;
    background: #fff;
}

.recipe-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.recipe-nav-previous,
.recipe-nav-next {
    flex: 1;
    max-width: 45%;
}

.recipe-nav-previous a,
.recipe-nav-next a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.recipe-nav-previous a:hover,
.recipe-nav-next a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.recipe-nav-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recipe-nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-nav-content {
    flex: 1;
    min-width: 0;
}

.recipe-nav-label {
    display: block;
    font-size: 0.85em;
    color: var(--color-text-soft);
    margin-bottom: 8px;
    font-weight: 500;
}

.recipe-nav-title {
    display: block;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recipe-nav-next a {
    flex-direction: row-reverse;
    text-align: right;
}

/* レスポンシブデザイン */
@media screen and (max-width: 1200px) {
    .recipe-container {
        flex-direction: column;
        padding: 0;
    }

    .recipe-main {
        margin: 15px;
        border-radius: 12px;
    }

    .recipe-sidebar {
        width: 100%;
        margin: 0 15px 15px;
    }

    .recipe-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .related-recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .recipe-container {
        background: #fff;
    }

    .recipe-main {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .recipe-sidebar {
        margin: 0;
    }

    .recipe-hero-image {
        height: 300px;
    }

    .recipe-hero-overlay {
        padding: 40px 20px 25px;
    }

    .recipe-title {
        font-size: 2em;
    }

    .recipe-meta-section,
    .recipe-description,
    .recipe-ingredients,
    .recipe-instructions,
    .recipe-tips,
    .recipe-nutrition,
    .recipe-footer,
    .related-recipes,
    .recipe-navigation {
        padding: 30px 20px;
    }

    .recipe-meta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .recipe-meta-item {
        padding: 15px;
    }

    .meta-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3em;
    }

    .recipe-section-title {
        font-size: 1.5em;
        margin-bottom: 25px;
    }

    .section-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }

    .cooking-step {
        padding: 20px;
        margin-bottom: 25px;
    }

    .step-content {
        flex-direction: column;
        gap: 15px;
    }

    .step-image {
        flex: none;
        width: 100%;
    }

    .nutrition-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .related-recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-recipe-content {
        padding: 15px;
    }

    .related-recipe-title {
        font-size: 1em;
    }

    .recipe-nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .recipe-nav-previous,
    .recipe-nav-next {
        max-width: 100%;
    }

    .recipe-nav-previous a,
    .recipe-nav-next a {
        padding: 20px;
        gap: 15px;
    }

    .recipe-nav-thumbnail {
        width: 70px;
        height: 70px;
    }

    .recipe-nav-next a {
        flex-direction: row;
        text-align: left;
    }
}

/* --------------------------------------
   Tag list component (index.php)
   - BEM: .post-tags, .post-tags__item, .post-tags__link, .post-tags__icon, .post-tags__text
   - Responsive, accessible, keyboard-focus friendly
--------------------------------------- */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-tags__item {
    margin: 0;
    padding: 0;
}

.post-tags__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f5f7fa 0%, #e9eef5 100%);
    color: #2b4a6a;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    border: 1px solid rgba(43, 74, 106, 0.15);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .05s ease;
}

.post-tags__link:hover {
    background: linear-gradient(180deg, #eaf2ff 0%, #dae7ff 100%);
    color: #1e3a5f;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.post-tags__link:active {
    transform: translateY(1px);
}

.post-tags__link:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.post-tags__icon {
    color: currentColor;
}

.post-tags__text {
    white-space: nowrap;
}

/* Smaller layout within compact meta area */
.featured-meta .post-tags,
.post-meta .post-tags {
    gap: 6px;
}

.featured-meta .post-tags__link,
.post-meta .post-tags__link {
    padding: 5px 9px;
    font-size: 11px;
}

/* Dark theme friendly fallback */
@media (prefers-color-scheme: dark) {
    .post-tags__link {
        background: linear-gradient(180deg, #1f2730 0%, #171d24 100%);
        color: #cfe1ff;
        border-color: rgba(207, 225, 255, 0.15);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .post-tags__link:hover {
        background: linear-gradient(180deg, #283242 0%, #1e2632 100%);
        color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
}

/* --------------------------------------
   Featured (top) tag layout fixes
   - Keep tags horizontal in new posts area
   - Match site link color and remove underlines
--------------------------------------- */
.featured-item .featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.featured-item .featured-meta .post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.featured-item .featured-meta .post-tags__item {
    flex: 0 0 auto;
}

/* Use site link color; fall back if CSS var not defined */
.post-tags__link {
    color: var(--link-color, var(--primary-color, #0073aa));
    text-decoration: none;
}

.post-tags__link:hover,
.post-tags__link:focus {
    color: var(--link-hover-color, #005f8d);
    text-decoration: none;
}

/* ==========================================================================
   Owned Media Features
   ========================================================================== */

/* Layout Fix for Single Post */
.single-container {
    display: flex !important;
    gap: 40px;
    margin: 0 auto;
    padding: 20px;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}

.single-container .site-main {
    flex: 1;
    min-width: 0;
}

.single-container .site-sidebar {
    width: 360px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .single-container {
        flex-direction: column;
        gap: 30px;
    }

    .single-container .site-sidebar {
        width: 100%;
    }
}

/* Breadcrumbs */
.breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border, #E8ECEF);
    margin-bottom: 20px;
}

.breadcrumb-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 20px !important;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85em;
    color: var(--color-text-soft, #596275);
    max-width: 1400px;
    margin: 0 auto !important;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--color-text-soft, #596275);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--color-primary, #6393A6);
}

.breadcrumb-item.separator {
    margin: 0 10px;
    color: var(--color-border, #E8ECEF);
}

/* SNS Share */
.sns-share {
    margin: 30px 0;
}

.sns-list {
    display: flex;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px;
}

.sns-item {
    flex: 1;
}

.sns-item a {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.85em;
    font-weight: 700;
    transition: opacity 0.3s;
}

.sns-item a:hover {
    opacity: 0.8;
}

.sns-item.twitter a {
    background: #000;
}

.sns-item.facebook a {
    background: #1877F2;
}

.sns-item.line a {
    background: #06C755;
}

.sns-share-top {
    margin-bottom: 40px;
}

/* Author Profile Box */
.author-profile-box {
    margin: 50px 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--color-primary, #6393A6);
}

.author-box-title {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--color-text, #2C3A47);
    font-family: "游明朝", "Yu Mincho", serif;
    font-weight: 700;
}

.author-name {
    margin-bottom: 15px;
    font-size: 1.25em;
}

.author-name a {
    color: var(--color-primary, #6393A6);
    text-decoration: none;
}

.author-description {
    font-size: 0.95em;
    color: var(--color-text-soft, #596275);
    line-height: 1.8;
}

/* Navigation & Search Polish */
.main-navigation {
    background: var(--color-primary, #6393A6);
    padding: 12px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tag-navigation {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 20px;
    justify-content: center;
}

.tag-navigation li {
    margin: 0;
}

.tag-navigation a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
}

.tag-navigation a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-search {
    margin-left: 20px;
    flex-shrink: 0;
}

.header-search .search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-search .search-form:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-search .search-field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 6px 15px;
    width: 180px;
    font-size: 0.9em;
    outline: none;
}

.header-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search .search-submit {
    background: #fff;
    color: var(--color-primary, #6393A6);
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 700;
    transition: all 0.2s ease;
}

.header-search .search-submit:hover {
    background: var(--color-bg-light, #F8F9FA);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .header-search .search-field {
        width: 130px;
    }

    .tag-navigation {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column !important;
        gap: 15px;
        padding: 15px 20px !important;
    }

    .nav-content {
        width: 100%;
    }

    .tag-navigation {
        justify-content: center;
    }

    .header-search {
        margin-left: 0;
        width: 100%;
    }

    .header-search .search-form {
        width: 100%;
    }

    .header-search .search-field {
        width: 100%;
    }
}

/* Search Results Specific */
.search-header {
    background: var(--color-primary, #6393A6);
    color: #fff;
    padding: 60px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.search-header .archive-title {
    color: #fff;
    margin-bottom: 10px;
}

.search-header .archive-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-results-search {
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Fix line-clamp warnings */
.post-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}