/* painting-pages.css - About, Service, Mekuru, Blog, Privacy
   ブランド構造「Painting（絵画）」
   分割元: style.css @layer components + unlayered セクション */

@layer components {

    /* =========================================
       Privacy Policy Page Styles
       Moved from unlayered section per Task 4-2 #3
       ========================================= */
    .privacy-content section {
        margin-bottom: 4rem;
    }

    .privacy-content .privacy-section-title,
    .privacy-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #333;
    }

    .privacy-content ul {
        margin-left: 2rem;
        list-style: disc;
    }

    .privacy-content a {
        color: #C5A059;
        text-decoration: underline;
    }

    .privacy-content hr {
        border: none;
        border-top: 1px solid #ddd;
        margin: 4rem 0;
    }

    .privacy-footer-section {
        text-align: center;
        color: var(--color-text-secondary);
        font-size: var(--fs-md);
    }

    .privacy-footer-section p {
        margin-top: 1rem;
    }

    /* =========================================
       Service Page Styles
       Moved from unlayered section per Task 4-2 #6
       ========================================= */
    /* Service Page: Base */
    .service-page {
        padding-top: var(--header-safe-zone);
        padding-bottom: 12rem;
    }

    /* Service Page intro/label/lead - See consolidated block near end of file */

    /* 2. Service List (Editorial/Gallery Look) */
    .service-menu {
        border-top: 1px solid #E5E5E5;
        margin-top: 120px;
        /* Gallery-like whitespace */
    }

    .service-menu .section-title {
        padding-top: 60px;
    }

    /* Section Titles in Service Page - Unified Style Applied */
    /* (Base styles from Universal Section Heading section) */

    /* =========================================
       Universal FAQ Component
       (.common-faq)
       ========================================= */

    /* FAQ Container */
    .common-faq-container {
        max-width: 800px;
        margin: 4rem auto 8rem;
        text-align: left;
    }

    /* FAQ Item Wrapper (Spacing) */
    .common-faq-item {
        margin-bottom: 3rem;
    }

    /* Q. Question Style */
    .common-faq-item .question {
        font-family: var(--font-base);
        font-weight: 500;
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 1rem;

        /* Grid Layout for Q Alignment (Robust) */
        display: grid;
        grid-template-columns: max-content 1fr !important;
        /* Override global .question style */
        align-items: baseline;
        justify-content: start;
        gap: 1.5rem;
    }

    /* Q Marker */
    .common-faq-item .question::before {
        content: "Q.";
        font-family: var(--font-ui);
        /* Helvetica */
        color: var(--color-accent);
        /* Gold */
        font-weight: 700;
        font-size: 1.5rem;
        margin-right: 0;
        /* Gap handles spacing */
        line-height: 1.0;
    }

    /* A. Answer Style (Hanging Indent) */
    .common-faq-item .answer {
        font-family: var(--font-base);
        font-size: 1rem;
        line-height: 1.9;
        color: #666;
        position: relative;
        padding-left: 2.5rem;
        /* Indent space */
        margin: 0;
    }

    /* A Marker */
    .common-faq-item .answer::before {
        content: "A.";
        font-family: var(--font-ui);
        color: #ccc;
        font-weight: 700;
        font-size: 1.5rem;
        line-height: 1.0;
        position: absolute;
        left: 0;
        top: -4px;
    }

    /* =========================================
       Service Page Typography (Unlayered)
       Uses specificity, not !important
       ========================================= */

    /* 1. Section Headings (concept, menu, workflow, faq) */
    .service-page .service-label,
    .service-page h2.section-title,
    .service-page h2.section-title.en-font {
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
        letter-spacing: 0.04em;
        /* Unified */
        text-transform: lowercase;
    }

    /* 2. Service List Numbering (01, 02, 03, 04) */
    .service-page .service-item .num,
    .service-page .service-item .num.en-font {
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
        letter-spacing: 0.02em;
        color: #E0E0E0;
    }

    /* 3. Service Item Names */
    .service-page .service-item .name,
    .service-page .service-item .name.en-font {
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
        letter-spacing: 0.05em;
        text-transform: lowercase;
    }

    /* 4. Workflow Step Numbers (STEP 01, 02, etc.) */
    .service-page .flow-list li,
    .service-page .flow-list li::before {
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
    }

    .service-page .flow-list li::before {
        color: var(--color-accent);
    }

    .service-list {
        display: block;
        margin-bottom: 120px;
    }

    .service-item {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr) 300px;
        gap: 3rem;
        padding-block: 80px;
        /* Spacious padding */
        border-bottom: 1px solid #E5E5E5;
        align-items: start;
    }

    .service-visual {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        overflow: hidden;
        border-radius: var(--radius-sm);
    }

    .service-visual img {
        width: 100%;
        height: auto;
        object-fit: contain;
        mix-blend-mode: multiply;
        display: block;
    }

    /* Service Icons */
    .service-icon {
        width: 48px;
        height: 48px;
        display: block;
        margin-bottom: 1rem;
        color: var(--color-accent);
        stroke-width: 1.5;
    }

    /* Numbering Column
       dt uses display:contents so children (.num, .name) become grid items:
       .num -> grid-column: 1
       .name -> grid-column: 2
       dd -> grid-column: 2
    */
    .service-item dt {
        display: contents;
    }

    .service-item .num {
        grid-column: 1;
        grid-row: 1 / span 2;
        /* Stick to top */
        font-size: 3rem;
        color: #E0E0E0;
        /* Bold Bauhaus style */
        font-weight: var(--fw-bold);
        letter-spacing: 0.02em;
        line-height: 1;
        font-family: var(--font-ui);
        /* Force Helvetica */
    }

    /* Content Column Container (Implicitly created by grid placement) */
    .service-item .name {
        grid-column: 2;
        grid-row: 1;
        font-size: 1.5rem;
        text-transform: lowercase;
        font-family: var(--font-ui);
        /* Force Helvetica */
        font-weight: 700;
        letter-spacing: 0.05em;
        color: var(--text-color);
        margin-bottom: 1rem;
        display: block;
    }

    .service-item dd {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
    }

    .service-item ul {
        display: grid;
        gap: 1.5rem;
    }

    .service-item li {
        display: flex;
        /* Flex for hanging indent */
        align-items: baseline;
        font-size: 1rem;
        color: #444;
        font-family: var(--font-base);
        /* Description Mincho */
        line-height: 1.8;
    }

    .service-item .label {
        display: inline-block;
        font-family: var(--font-ui);
        /* Helvetica */
        font-weight: 700;
        font-size: var(--fs-sm);
        color: #333;
        border: none;
        background: none;
        padding: 0;
        margin-right: 1em;
        text-transform: uppercase;
        flex-shrink: 0;
        /* Prevent label from shrinking */
    }

    .service-item .label::after {
        content: " :";
    }

    /* 3. Workflow Section */
    .workflow {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 120px;
    }

    .workflow .section-title {
        margin-bottom: 5rem;
    }

    .flow-list {
        border-left: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        counter-reset: flow;
    }

    .flow-list li {
        position: relative;
        padding: 2rem 3rem;
        margin: 0;
        width: 100%;
        background: transparent;
        font-family: var(--font-ui);
        font-weight: 700;
        letter-spacing: 0.05em;
        counter-increment: flow;
    }

    /* Connector Arrow */
    .flow-list li:not(:last-child)::after {
        content: "↓";
        display: block;
        margin: 2rem auto 0;
        color: var(--color-accent);
        font-size: 1.5rem;
        position: absolute;
        bottom: -2.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .flow-list li::before {
        /* Step Number */
        position: static;
        display: block;
        margin: 0 auto 0.5rem;
        background: none;
        color: var(--color-accent);
        /* Gold */
        font-size: 1.2rem;
        content: "STEP " counter(flow, decimal-leading-zero);
        font-family: var(--font-ui);
        /* Force Helvetica */
        font-weight: 700;
    }

    .ja-sub {
        display: block;
        margin-top: 0.5rem;
        font-family: var(--font-base);
        /* Mincho */
        font-size: 1rem;
        color: var(--text-color);
        font-weight: 400;
        line-height: 1.8;
    }

    /* =========================================
       Service Page FAQ Fix (Design matched with Single Post)
       ========================================= */

    .faq-section {
        max-width: 800px;
        margin: 0 auto 120px;
        text-align: center;
    }

    /* Container Reset */
    /* FAQ Specific styles for service-page removed. Using .common-faq instead. */

    /* CTA Text fix */
    .cta-text {
        font-family: var(--font-base);
        font-size: var(--fs-lg);
        line-height: 2.2;
        color: var(--text-color);
        letter-spacing: 0.05em;
        margin-bottom: 3rem;
    }

    /* Mobile Adjustments for Service Page */
    @media (max-width: 768px) {
        .service-lead {
            font-size: 1.4rem;
            text-align: left;
        }

        .intro-text {
            text-align: left;
        }

        .service-item {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            padding-block: 4rem;
        }

        .service-item .num {
            grid-column: 1;
            grid-row: auto;
            font-size: 2rem;
        }

        .service-item .name {
            grid-column: 1;
            grid-row: auto;
        }

        .service-item dd {
            grid-column: 1;
            grid-row: auto;
        }

        .service-visual {
            grid-column: 1;
            grid-row: auto;
            max-width: 300px;
        }

        .service-icon {
            display: none;
        }
    }

    /* =========================================
       Service Page Z-Pattern Layout (Desktop Only)
       Zigzag layout for visual rhythm - 1024px+ only
       ========================================= */
    @media (min-width: 1024px) {
        .service-item:nth-of-type(even) {
            grid-template-columns: 300px minmax(0, 1fr) 100px;
        }

        .service-item:nth-of-type(even) .service-visual {
            grid-column: 1;
            grid-row: 1 / span 2;
        }

        .service-item:nth-of-type(even) .num {
            grid-column: 3;
            grid-row: 1 / span 2;
            text-align: right;
        }

        .service-item:nth-of-type(even) .name {
            grid-column: 2;
            grid-row: 1;
            text-align: right;
        }

        .service-item:nth-of-type(even) dd {
            grid-column: 2;
            grid-row: 2;
            text-align: right;
        }

        .service-item:nth-of-type(even) li {
            justify-content: flex-end;
        }
    }

    /* =========================================
       Single Post Styles (通常投稿記事詳細ページ)
       Moved from unlayered section per Task 4-2 #7
       ========================================= */

    .single-post {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Post Header */
    .post-header {
        margin-top: 2rem;
        /* Align with About page visual spacing */
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #eee;
    }

    /* H1 Title - Shippori Mincho Bold */
    .post-title {
        font-family: var(--font-base);
        font-weight: 700;
        font-size: 1.5rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        letter-spacing: 0.02em;
    }

    /* Date & Category - Helvetica Bold */
    .post-meta {
        display: flex;
        gap: 2rem;
        font-family: var(--font-ui);
        font-weight: 700;
        font-size: var(--fs-base);
        color: var(--color-text-secondary);
        letter-spacing: 0.04em;
        align-items: center;
    }

    .post-meta .post-categories a {
        color: #C5A059;
        margin: 0 0.3rem;
    }

    .post-meta .post-categories a:hover {
        opacity: 0.7;
    }

    /* Post Thumbnail */
    .post-thumbnail {
        margin-bottom: 3rem;
    }

    /* Blog Post: Reduced spacing after thumbnail for first-view optimization */
    .single-post .post-thumbnail {
        margin-bottom: 1.5rem;
    }

    /* Blog Post: First H2 has no top margin (appears immediately after thumbnail) */
    article.single-post .post-content>h2:first-child {
        margin-top: 0;
    }

    .post-thumbnail img {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        border-radius: var(--radius-card);
    }

    /* Post Content Container - Max Width 800px */
    .post-content {
        max-width: 800px;
        margin: 0 auto 4rem;
        line-height: 1.9;
        font-family: var(--font-base);
    }

    /* H2 Section Heading - Shippori Mincho Bold */
    .post-content h2 {
        font-family: var(--font-base);
        font-weight: 700;
        font-size: 1.3rem;
        margin-top: 80px;
        margin-bottom: 48px;
        padding-bottom: 24px;
        border-bottom: 1px solid #ccc;
        line-height: 1.6;
        width: 100%;
    }

    /* H3 Sub Heading - Standard Style (Reset) */
    .post-content h3 {
        font-family: var(--font-base);
        font-weight: 700;
        font-size: 1.4rem;
        margin-top: 60px;
        margin-bottom: 24px;
        padding-bottom: 0;
        line-height: 1.6;
        display: block;
    }

    /* Reset: No Q. label for standard H3 */
    .post-content h3::before {
        content: none;
        display: none;
    }

    /* Reset: Standard paragraph after H3 */
    .post-content h3+p {
        margin-bottom: 24px;
        padding-left: 0;
        position: static;
    }

    /* Reset: No A. label for standard paragraph */
    .post-content h3+p::before {
        content: none;
        display: none;
    }

    /* --- Scoped FAQ Section (Legacy - Keep for compatibility) --- */
    .post-content .faq-section {
        margin: 60px 0;
    }

    .post-content .faq-section h3 {
        display: flex;
        align-items: baseline;
        margin-top: 32px;
        margin-bottom: 16px;
        font-size: 1.2rem;
    }

    .post-content .faq-section h3::before {
        content: "Q.";
        display: inline;
        font-family: var(--font-ui);
        font-weight: 700;
        color: var(--color-accent);
        font-size: 1.4rem;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .post-content .faq-section p {
        padding-left: 2.5rem;
        position: relative;
        margin-bottom: 40px;
    }

    .post-content .faq-section p::before {
        content: "A.";
        display: block;
        font-family: var(--font-ui);
        font-weight: 700;
        color: #ccc;
        position: absolute;
        left: 0;
        top: 0;
    }

    /* --- Simplified FAQ (Class on H3 directly) --- */
    /* Usage: Add class "faq-question" to H3 block */
    .post-content h3.faq-question {
        display: flex;
        align-items: baseline;
        font-size: 1.2rem;
        margin-top: 40px;
        margin-bottom: 16px;
        /* Force Left Alignment */
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    .post-content h3.faq-question::before {
        content: "Q.";
        display: inline-block;
        font-family: var(--font-ui);
        font-weight: 700;
        color: var(--color-accent);
        font-size: 1.5rem;
        margin-right: 12px;
        flex-shrink: 0;
    }

    /* FAQ Answer (Paragraph immediately after .faq-question) */
    .post-content h3.faq-question+p {
        padding-left: 2.5rem;
        position: relative;
        margin-bottom: 40px;
        /* Force Left Alignment */
        text-align: left;
    }

    .post-content h3.faq-question+p::before {
        content: "A.";
        display: block;
        font-family: var(--font-ui);
        font-weight: 700;
        color: #ccc;
        position: absolute;
        left: 0;
        top: 0;
    }


    /* H4 */
    .post-content h4 {
        font-family: var(--font-base);
        font-weight: 600;
        font-size: var(--fs-lg);
        margin-top: 40px;
        margin-bottom: 16px;
        line-height: 1.6;
    }

    /* Paragraph - Shippori Mincho, Relaxed Reading */
    .post-content p {
        font-family: var(--font-base);
        line-height: 1.9;
        margin-bottom: 24px;
    }

    /* Lists - Clean Frame (White background, Thin border) */
    .post-content ul,
    .post-content ol {
        font-family: var(--font-base);
        margin: 40px 0;
        padding: 32px 40px;
        padding-left: 56px;
        line-height: 1.8;
        background-color: #fff;
        border: 1px solid #e0e0e0;
        border-radius: var(--radius-sm);
    }

    .post-content ul {
        list-style: disc;
    }

    .post-content ol {
        list-style: decimal;
    }

    .post-content li {
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px dashed #eee;
    }

    .post-content li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    /* Blockquote - Immersion Box (Gray background, Italic, Tighter Spacing) */
    .post-content blockquote {
        margin: 40px 0;
        padding: 24px 32px;
        background-color: #f9f9f9;
        border-radius: var(--radius-sm);
        border: none;
        font-style: italic;
        color: #555;
        font-family: var(--font-base);
        line-height: 1.8;
        position: relative;
    }

    .post-content blockquote p {
        margin-bottom: 0;
    }

    .post-content blockquote p:not(:last-child) {
        margin-bottom: 16px;
    }

    /* --- 1. Pullquote (プルクオート) - Redesign for "Voices" --- */
    /* Concept: Minimal & Airy. No heavy borders. Just text. */
    .post-content .wp-block-pullquote {
        border: none;
        background-color: transparent;
        padding: 0 24px;
        margin: 60px auto;
        text-align: center;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Opening Quote (Top) */
    .post-content .wp-block-pullquote::before {
        content: "\201C";
        /* Left double quotation mark */
        font-family: serif;
        font-size: 3rem;
        line-height: 1;
        color: #e0e0e0;
        margin-bottom: 8px;
    }

    /* Closing Quote (Bottom) */
    .post-content .wp-block-pullquote::after {
        content: "\201D";
        /* Right double quotation mark */
        font-family: serif;
        font-size: 3rem;
        line-height: 1;
        color: #e0e0e0;
        margin-top: 8px;
    }

    /* Reset inner blockquote within Pullquote */
    .post-content .wp-block-pullquote blockquote {
        margin: 0;
        padding: 0;
        background: none;
        border: none;
        font-style: normal;
    }

    .post-content .wp-block-pullquote p {
        font-family: var(--font-base);
        font-size: var(--fs-lg);
        font-weight: 500;
        line-height: 1.8;
        color: #555;
        font-style: italic;
        /* "Voice" feel */
        margin-bottom: 0;
    }

    /* Citation styling */
    .post-content .wp-block-pullquote cite {
        display: block;
        margin-top: 12px;
        font-size: var(--fs-base);
        color: var(--color-text-secondary);
        font-style: normal;
        text-transform: uppercase;
        font-family: var(--font-ui);
        letter-spacing: 0.04em;
    }

    /* --- 2. Summary Block (まとめ) - The "Conclusion" Style --- */
    /* Usage: Group Block with class "post-summary" */
    /* Concept: Strong closure. Black borders (Transferred from old Pullquote). */
    .post-summary {
        border-top: 1px solid var(--color-sub);
        border-bottom: 1px solid var(--color-sub);
        padding: 4rem 2rem;
        margin: 6rem 0 4rem 0;
        text-align: center;
        background-color: transparent;
        font-family: var(--font-base);
        line-height: 2.2;
        font-feature-settings: "palt";
    }

    .post-summary h2,
    .post-summary h3,
    .post-summary p {
        margin: 0;
        /* Reset any default heading styles inside */
        border: none;
        padding: 0;
    }

    /* Typography for summary text - matches intuitive-footer-message */
    .post-summary p {
        font-weight: 400;
        font-size: var(--fs-lg);
        line-height: 2.2;
        color: var(--text-color);
    }

    /* Neutralize strong tags inside post-summary to match intuitive style */
    .post-summary strong {
        font-weight: inherit;
    }

    /* If using a heading for "Conclusion" title */
    .post-summary h3 {
        font-size: 1rem;
        color: var(--color-text-secondary);
        margin-bottom: 16px;
        font-weight: normal;
        letter-spacing: 0.1em;
    }

    /* =========================================
       Watermark Character Selection for post-summary
       ========================================= */

    /* Base: Watermark Container Setup */
    .post-summary.watermark-dan,
    .post-summary.watermark-rin {
        position: relative;
        overflow: hidden;
    }

    /* Common Watermark Styles (DRY) */
    .post-summary.watermark-dan::before,
    .post-summary.watermark-rin::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18.75rem;
        height: 25rem;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0.08;
        z-index: 0;
        pointer-events: none;
    }

    /* Individual Character Images */
    .post-summary.watermark-dan::before {
        background-image: url('../images/characters/dan-sitting.png');
    }

    .post-summary.watermark-rin::before {
        background-image: url('../images/characters/rin-sitting.png');
    }

    /* Ensure text stays above watermark */
    .post-summary.watermark-dan>*,
    .post-summary.watermark-rin>* {
        position: relative;
        z-index: 1;
    }

    /* Quick Summary / Voice Block - Top/Bottom Border Style */
    /* Used for Quotes/Voices (e.g., "30代ママの声") */
    .post-content .quick-summary,
    .post-content .summary-block {
        background-color: transparent;
        border: none;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
        padding: 16px 24px;
        /* Reduced for tighter, voice-like feel */
        margin: 60px 0;
        text-align: center;
        font-family: var(--font-base);
        line-height: 1.8;
    }

    .post-content .quick-summary p,
    .post-content .summary-block p {
        margin: 0;
        /* Ensure no extra margin */
        font-weight: 500;
        /* Medium weight for personal voice feel */
        font-size: 1.0rem;
        /* Slightly smaller for quote aesthetics */
    }

    /* Images */
    .post-content img {
        margin: 2rem 0;
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
        border-radius: var(--radius-card);
    }

    /* Tables */
    .post-content table {
        width: 100%;
        margin: 2rem 0;
        border-collapse: collapse;
    }

    .post-content table th,
    .post-content table td {
        padding: 0.8rem;
        border: 1px solid #ddd;
        text-align: left;
    }

    .post-content table th {
        background-color: #f5f5f5;
        font-weight: bold;
    }

    /* FAQ Section Styles */
    .post-content .faq-item {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #eee;
    }

    .post-content .faq-item:last-child {
        border-bottom: none;
    }

    .post-content .faq-question {
        display: flex;
        gap: 0.8rem;
        margin-bottom: 1rem;
        align-items: flex-start;
    }

    .post-content .faq-label-q,
    .post-content .faq-label-a {
        font-family: var(--font-ui);
        font-weight: 700;
        letter-spacing: 0.04em;
        flex-shrink: 0;
        min-width: 1.5rem;
    }

    .post-content .faq-question-text {
        font-family: var(--font-base);
        font-weight: 700;
        line-height: 1.6;
    }

    .post-content .faq-answer {
        display: flex;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .post-content .faq-answer-text {
        font-family: var(--font-base);
        font-weight: 400;
        line-height: 1.9;
    }

    /* =========================================
       Blog Post Content Scroll Animations
       レシピ詳細ページと同様のスタガー効果
       ========================================= */

    /* 初回セクション表示を高速化 */
    .post-content.fade-section {
        transition: opacity 0.6s ease-out;
    }


    /* ── About Page (旧2nd @layer components, 統合) ── */
    /* =========================================
       ABOUT PAGE STYLES
       "Functional Structure" meets "Emotional Content"
       ========================================= */

    /* About Page: Base Layout */
    .about-page {
        padding-top: var(--header-safe-zone);
        padding-bottom: 12rem;
    }

    /* Hero Section */
    .about-hero {
        text-align: center;
        margin-bottom: 10rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* About Label: Unified with section-title */
    .about-label {
        display: block;
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
        font-size: 1.3rem;
        /* Same as section-title */
        color: #333333;
        letter-spacing: 0.04em;
        margin-bottom: 2rem;
        text-transform: lowercase;
        text-align: center;
    }

    .about-catchphrase {
        font-family: var(--font-base);
        font-size: 2rem;
        font-weight: 500;
        line-height: 1.8;
        letter-spacing: 0.08em;
        color: var(--text-color);
        margin-bottom: 3rem;
    }

    .about-philosophy {
        font-family: var(--font-base);
        font-size: 1.05rem;
        line-height: 2.4;
        color: #555;
        letter-spacing: 0.08em;
    }

    /* Profile Section (The Members) */
    .about-members {
        margin-bottom: 10rem;
    }

    .members-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .member-card {
        text-align: center;
    }

    .member-image {
        width: 100%;
        max-width: 360px;
        aspect-ratio: 3 / 2;
        margin: 0 auto 2rem;
        border-radius: var(--radius-btn);
        overflow: hidden;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        animation: none;
    }

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

    .member-info {
        text-align: center;
    }

    .member-name {
        font-family: var(--font-ui);
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        margin-bottom: 0.5rem;
        color: var(--text-color);
    }

    .member-name span {
        font-size: 1rem;
        font-weight: 400;
        color: #666;
    }

    .member-role {
        font-family: var(--font-ui);
        font-size: var(--fs-base);
        font-weight: 500;
        letter-spacing: 0.12em;
        color: var(--color-accent);
        margin-bottom: 1.5rem;
    }

    .member-description {
        font-family: var(--font-base);
        font-size: var(--fs-md);
        line-height: 2;
        color: #555;
        text-align: left;
        letter-spacing: 0.03em;
        /* Align text width with .member-image */
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Services Teaser Section (Hub Navigation) */
    .about-services {
        text-align: center;
        margin-bottom: 10rem;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-services .section-title {
        display: block;
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
        font-size: 1.3rem;
        color: var(--text-color);
        letter-spacing: 0.04em;
        margin-bottom: 2rem;
        text-transform: lowercase;
    }

    .about-services-catch {
        font-family: var(--font-base);
        font-size: 1.8rem;
        font-weight: 500;
        line-height: 1.8;
        letter-spacing: 0.08em;
        color: var(--text-color);
        margin-bottom: 4rem;
    }

    /* Services Teaser Grid */
    .services-teaser-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
        margin-bottom: 4rem;
    }

    .service-teaser-card {
        text-align: center;
    }

    /* Service Number - Organic Typography */
    .service-number {
        display: block;
        font-family: 'EB Garamond', serif;
        font-style: italic;
        font-weight: 400;
        font-size: 3.5rem;
        line-height: 1;
        color: var(--color-accent);
        margin-bottom: 1.5rem;
    }

    /* Teaser Title */
    .teaser-title {
        font-family: var(--font-ui);
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--text-color);
        margin-bottom: 0.75rem;
        text-transform: lowercase;
    }

    /* Teaser Description */
    .teaser-desc {
        font-family: var(--font-base);
        font-size: var(--fs-md);
        line-height: 1.8;
        color: #555;
        letter-spacing: 0.03em;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .about-services {
            margin-bottom: 6rem;
            padding: 0 1rem;
        }

        .about-services .section-title {
            font-size: var(--fs-lg);
        }

        .about-services-catch {
            font-size: 1.4rem;
            margin-bottom: 3rem;
        }

        .services-teaser-grid {
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        .service-number {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .teaser-title {
            font-size: var(--fs-md);
        }

        .teaser-desc {
            font-size: var(--fs-base);
        }
    }

    /* Closing Section */
    .about-closing {
        text-align: center;
        padding: 5rem 2rem;
        background: var(--color-sub);
        border-radius: 1.5rem;
        max-width: 900px;
        margin: 0 auto;
    }

    .closing-message {
        font-family: var(--font-base);
        font-size: var(--fs-lg);
        line-height: 2.2;
        color: var(--text-color);
        letter-spacing: 0.05em;
        margin-bottom: 3rem;
    }

    /* Glassmorphism CTA Button */
    .about-cta-button,
    main .about-cta-button,
    a.about-cta-button.en-font {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 3rem;
        border-radius: var(--radius-pill);
        border: 1px solid rgba(100, 100, 100, 0.3);
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        font-size: var(--fs-md);
        color: var(--text-color);
        letter-spacing: 0.15em;
        /* 意図的に共通の0.04emより広い */
    }

    .about-cta-button:hover {
        background: var(--color-accent);
        color: #fff;
        transform: var(--hover-lift);
        box-shadow: var(--shadow-fill-hover);
        opacity: 1;
    }

    .about-cta-button:active {
        transform: translateY(0);
    }

    /* About Page: Mobile Responsive */
    @media (max-width: 768px) {
        .about-page {
            padding-top: var(--header-safe-zone);
            padding-bottom: var(--header-safe-zone);
        }

        .about-hero {
            margin-bottom: 6rem;
            padding: 0 1rem;
        }

        .about-label {
            font-size: 1.3rem;
            /* Unified section heading size */
            margin-bottom: 1.5rem;
        }

        .about-catchphrase {
            font-size: 1.4rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .about-philosophy {
            font-size: var(--fs-base);
            line-height: 2.4;
        }

        .about-members {
            margin-bottom: 6rem;
        }

        .members-grid {

            grid-template-columns: 1fr;
            gap: 4rem;
            padding: 0 1rem;
        }

        .member-image {
            max-width: 200px;
            width: 100%;
            height: auto;
            aspect-ratio: 3 / 2;
            margin-bottom: 1.5rem;
        }

        .member-name {
            font-size: 1.2rem;
        }

        .member-description {
            font-size: var(--fs-md);
            text-align: center;
        }

        .about-closing {
            padding: 3rem 1.5rem;
            margin: 0 -12px;
        }

        .closing-message {
            font-size: 1rem;
            margin-bottom: 2rem;
        }

        .about-cta-button {
            padding: 1rem 0;
            font-size: var(--fs-base);
            width: 100%;
            max-width: 280px;
            box-sizing: border-box;
        }
    }

    /* ── Service Pages (旧3rd @layer components, 統合) ── */

    /* =========================================
   Service Page Styles (Global)
   ========================================= */
    .service-intro {
        position: relative;
        max-width: 800px;
        margin: 0 auto 10rem;
        text-align: center;
        /* Ensure stacking context */
        isolation: isolate;
    }

    .service-bg-visual {
        position: absolute;
        top: 5rem;
        /* Position at headline level */
        left: 0;
        right: 0;
        margin: 0 auto;
        /* True horizontal centering */
        width: 700px;
        max-width: 100%;
        z-index: -1;
        pointer-events: none;
        user-select: none;
    }

    .service-bg-visual img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        /* Ensure image centering */
        opacity: 0.1;
        /* Softer edge gradient - more gradual fade */
        -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 70%);
        mask-image: radial-gradient(ellipse 70% 60% at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 70%);
    }

    .service-intro-content {
        position: relative;
        z-index: 1;
        /* Text on top */
    }

    .service-label {
        display: block;
        font-family: var(--font-ui);
        font-weight: var(--fw-bold);
        font-size: 1.3rem;
        color: #333;
        letter-spacing: 0.04em;
        margin-bottom: 4rem;
        /* Match menu section spacing */
        text-transform: lowercase;
    }

    .service-lead {
        font-family: var(--font-base);
        font-size: 2rem;
        font-weight: 500;
        line-height: 1.6;
        letter-spacing: 0.05em;
        margin-bottom: 4rem;
    }

    .intro-text {
        font-family: var(--font-base);
        font-size: 1.05rem;
        line-height: 2.4;
        color: #555;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }

    /* Mobile adjustments for Service Page */
    @media screen and (max-width: 768px) {
        .intro-text {
            font-size: var(--fs-base);
        }

        .service-lead {
            font-size: 1.4rem;
            line-height: 1.8;
            text-align: center;
        }
    }

    /* ── 調理モードの使い方 ── */
    .cooking-howto-page {
        max-width: 720px;
        margin: 0 auto;
        padding: 3rem 1.5rem 5rem;
    }

    .cooking-howto-hero {
        text-align: center;
        padding: 3rem 0 4rem;
    }

    .cooking-howto-label {
        font-family: var(--font-ui);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-accent);
        display: block;
        margin-bottom: 1.5rem;
    }

    .cooking-howto-title {
        font-family: var(--font-base);
        font-size: clamp(1.5rem, 5vw, 2rem);
        font-weight: 500;
        letter-spacing: 0.06em;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .cooking-howto-lead {
        font-family: var(--font-base);
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        line-height: 2.2;
        color: var(--text-color);
        opacity: 0.7;
    }

    .cooking-howto-section-title {
        font-family: var(--font-ui);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-accent);
        margin-bottom: 2rem;
    }

    .cooking-howto-grid {
        display: grid;
        gap: 2.5rem;
    }

    .cooking-howto-card {
        position: relative;
        padding-left: 3.5rem;
    }

    .cooking-howto-num {
        position: absolute;
        left: 0;
        top: -0.2rem;
        font-family: var(--font-ui);
        font-size: 2rem;
        font-weight: 700;
        color: var(--color-accent);
        opacity: 0.15;
        line-height: 1;
    }

    .cooking-howto-heading {
        font-family: var(--font-base);
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        margin-bottom: 0.75rem;
    }

    .cooking-howto-desc {
        font-family: var(--font-base);
        font-size: 0.9rem;
        line-height: 2;
        color: var(--text-color);
        opacity: 0.7;
    }

    .cooking-howto-desc strong {
        color: var(--text-color);
        opacity: 1;
        font-weight: 500;
    }

    .cooking-howto-tips {
        padding: 3rem 0;
    }

    .cooking-howto-tips-box {
        background: var(--color-sub);
        border-radius: 8px;
        padding: 2rem;
    }

    .cooking-howto-tips-title {
        font-family: var(--font-ui);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-accent);
        margin-bottom: 1rem;
    }

    .cooking-howto-tips-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cooking-howto-tips-list li {
        font-family: var(--font-base);
        font-size: 0.9rem;
        line-height: 2;
        color: var(--text-color);
        opacity: 0.7;
        padding-left: 1.2rem;
        position: relative;
    }

    .cooking-howto-tips-list li::before {
        content: '·';
        position: absolute;
        left: 0;
        color: var(--color-accent);
        font-weight: 700;
    }

    .cooking-howto-cta {
        text-align: center;
        padding: 2rem 0 3rem;
    }

    .cooking-howto-cta-button {
        display: inline-block;
        font-family: var(--font-ui);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: var(--text-color);
        border: 1px solid var(--text-color);
        border-radius: 100px;
        padding: 0.75rem 2rem;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .cooking-howto-cta-button:hover {
        background: var(--text-color);
        color: var(--bg-color);
    }

    .cooking-howto-cta-sub {
        display: block;
        font-family: var(--font-base);
        font-size: 0.75rem;
        font-weight: 400;
        opacity: 0.5;
        margin-top: 0.3rem;
    }
}

/* =========================================
   Blog Post FAQ Styles
   Unified with Service Page Design (Plan A)
   ========================================= */
.post-content .faq-question {
    position: relative;
    padding: 0 0 0 3.5rem;
    /* Space for Q. (Unified 3.5rem) */
    margin-bottom: 0.5rem;
    /* Gap to Answer */
    font-family: var(--font-base);
    /* Mincho */
    font-weight: bold;
    border: none;
    /* Remove default H2/H3 border */
    font-size: var(--fs-lg);
    color: var(--text-color);
    line-height: 1.6;
}

.post-content .faq-question::before {
    content: "Q.";
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-ui);
    /* Helvetica */
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-accent);
    line-height: 1.2;
}

.post-content .faq-question+p {
    position: relative;
    padding: 0 0 0 3.5rem;
    /* Space for A. (Unified 3.5rem) */
    margin-top: 0;
    margin-bottom: 2rem;
    font-family: var(--font-base);
    line-height: 1.8;
    color: #666;
}

.post-content .faq-question+p::before {
    content: "A.";
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-ui);
    /* Helvetica */
    font-weight: 700;
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
    /* Match paragraph line-height */
}

/* Page Content Centered */
.page-content-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 8rem 2rem;
}

/* Privacy/About Content */
.privacy-content,
.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
}

/* Page Layout with Padding */
.page-layout {
    padding-top: var(--header-safe-zone);
    /* Unified with About Page */
    padding-bottom: 6rem;
}

/* Page Header */
.page-header {
    margin-bottom: 4rem;
}

/* NO IMAGE placeholder */
.no-image-placeholder {
    background: var(--color-sub);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

/* Pagination Wrapper */
.pagination-wrapper {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    font-family: var(--font-ui);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--color-sub);
    border-radius: var(--radius-pill);
    transition: all var(--transition-accent);
}

.pagination-wrapper .page-numbers:hover {
    background: var(--hover-accent-bg);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination-wrapper .page-numbers.current {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    border: none;
    color: var(--color-accent);
}

/* ========================================
   Blog Archive Page Styles
   ======================================== */
.blog-archive-main {
    padding-top: var(--header-safe-zone);
}
.blog-archive-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
}

/* ブログアーカイブヘッダー */
.blog-archive-header {
    text-align: center;
    padding: 4rem 0 2rem;
}
.blog-archive-label {
    font-family: var(--font-ui);
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: lowercase;
}
.blog-archive-title {
    font-family: var(--font-base);
    font-size: 1.6rem;
    font-weight: var(--fw-reg);
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin-top: 0.5rem;
}
/* オーナメントは .archive-recipe-ornament を再利用 */

/* フィーチャードカード（最新1件） */
.blog-card--featured {
    display: block;
    margin-bottom: 3rem;
}
.blog-card--featured .card-img img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
    transition: transform var(--transition-base), opacity var(--transition-base);
}
.blog-card--featured:hover .card-img img {
    transform: var(--hover-scale);
}
.blog-card--featured .blog-card-body {
    max-width: 100%;
}

/* ブログカードグリッド */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ブログカード共通 */
.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
.blog-card .card-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
}
.blog-card .card-img img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-card);
    transition: transform var(--transition-base), opacity var(--transition-base);
}
.blog-card:hover .card-img img {
    transform: var(--hover-scale);
}
.blog-card h3 {
    font-family: var(--font-base);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    line-height: 1.6;
    transition: color var(--transition-base);
}
.blog-card:hover h3 {
    color: var(--color-accent);
}

/* ブログカード抜粋 */
.blog-card-excerpt {
    font-family: var(--font-base);
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card--featured .blog-card-excerpt {
    -webkit-line-clamp: 3;
}

.blog-card--featured h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.blog-grid .blog-card {
    max-width: 500px;
}

/* 記事なし状態 */
.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    font-family: var(--font-base);
    color: var(--color-text-muted);
    line-height: 2;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .blog-archive-container {
        padding: 0 1rem 4rem;
    }
    .blog-archive-header {
        padding: 3rem 0 1.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
