/*
Theme Name: Mochizuki Edit Theme
Theme URI: https://example.com/mochizuki-edit
Author: Mochizuki Edit
Author URI: https://example.com
Description: Custom theme for Mochizuki Edit.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mochizuki-edit
*/

:root {
    --color-bg: #f8f7f4;
    /* Warm paper-like white */
    --color-text: #2b2b2b;
    /* Soft black */
    --color-accent: #6d8c8e;
    /* Muted teal/blue */
    --color-gray: #888;
    --font-serif: "Shippori Mincho", serif;
    --font-sans: "Zen Kaku Gothic New", sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: #fff;
    /* Inverted for visibility against difference mode, simplistic approach */
}

/* Fix mix-blend-mode visibility issues by just using standard color manipulation for now */
.header {
    mix-blend-mode: normal;
    color: var(--color-text);
    background: rgba(248, 247, 244, 0.9);
    backdrop-filter: blur(5px);
}


.logo {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.nav ul {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-gray);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.8s;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-text);
}

/* Base Section Styles */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

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

/* About */
.about .content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .about .content-wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
}

.lead-text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.6;
}

.body-text {
    font-size: 0.95rem;
    color: #555;
    align-self: end;
}

/* Services */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.card {
    padding: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.service-desc {
    font-size: 0.9rem;
    color: #666;
}

/* Works */
.works-grid {
    display: flex;
    /* Changed from grid to flex for horizontal layout */
    gap: var(--spacing-lg);
    overflow-x: auto;
    /* Enable horizontal scrolling */
    padding-bottom: var(--spacing-md);
    /* Space for scrollbar if needed, though hidden usually */
    /* Fade out effect on the right side using mask-image */
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.works-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.work-item {
    flex: 0 0 300px;
    /* Fixed width for items, doesn't shrink */
    min-width: 300px;
}

@media (max-width: 768px) {
    .works-grid {
        gap: var(--spacing-sm);
        scroll-snap-type: x mandatory;
        -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
        mask-image: linear-gradient(to right, black 90%, transparent 100%);
    }

    .work-item {
        flex: 0 0 80vw;
        /* Shows 80% of current item, letting next item peek */
        min-width: 80vw;
        scroll-snap-align: start;
    }
}

.work-image {
    width: 100%;
    /* aspect-ratio: 16/9; Removed to let image define height */
    height: auto;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    background-color: transparent;
}

.work-image img {
    width: 100%;
    height: auto;
    /* Allow natural height */
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.work-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.work-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.work-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.work-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Work Detail Page */
.work-detail {
    padding-top: var(--spacing-xl);
}

.work-header {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.work-title-large {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
}

.work-meta dl {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.work-meta dt {
    font-weight: bold;
    color: var(--color-text);
    margin-right: var(--spacing-xs);
}

.work-meta dd {
    margin-right: var(--spacing-md);
}

.work-hero-image {
    width: 100%;
    text-align: center;
    /* Center the image */
    margin-bottom: var(--spacing-xl);
}

.work-hero-image img {
    width: auto;
    /* Allow width to shrink */
    max-width: 100%;
    /* Ensure it doesn't overflow container */
    max-height: 60vh;
    /* Limit height to 60% of screen height */
    height: auto;
    /* Maintain aspect ratio */
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for better definition */
}

.work-body {
    max-width: 800px;
    /* Narrower for readability */
}

.text-block {
    margin: var(--spacing-lg) 0;
}

.text-block h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.text-block p {
    margin-bottom: var(--spacing-sm);
    text-align: justify;
}

.content-image {
    margin: var(--spacing-lg) 0;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-image figcaption {
    font-size: 0.8rem;
    color: #888;
    margin-top: var(--spacing-xs);
    text-align: center;
}

.work-navigation {
    text-align: center;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid #eee;
    margin-top: var(--spacing-xl);
}

.btn-back {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* Specific style for View All Works to be distinctive */
.work-navigation .btn-link {
    font-family: 'La Belle Aurore', cursive;
    font-size: 2rem;
    /* Significantly larger */
    font-weight: 400;
    letter-spacing: normal;
    /* Handwritten fonts often look better without extra spacing */
    color: var(--color-text);
    border-bottom: none;
    position: relative;
    padding: 10px 20px;
    margin-top: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.work-navigation .btn-link::after {
    content: '→';
    font-family: var(--font-sans);
    /* Keep arrow simple/clean or use same font if it has one */
    font-size: 1.5rem;
    margin-left: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    display: inline-block;
    transform: translateX(-10px);
}

.work-navigation .btn-link:hover {
    transform: translateX(5px);
    color: var(--color-accent);
    opacity: 1;
}

.work-navigation .btn-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}


/* Media */
.media-content {
    background-color: #fff;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--color-accent);
}

.media-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.media-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.btn-link {
    display: inline-block;
    margin-top: var(--spacing-md);
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: 1px solid currentColor;
}

/* Contact */
.contact {
    text-align: center;
    background-color: #e8e6e1;
}

.contact p {
    margin-bottom: var(--spacing-md);
}

.btn-primary {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--color-text);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-accent);
}

/* Footer */
.footer {
    padding: var(--spacing-md);
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Intersection Observer utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Event Detail Specifics */
.work-category-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--color-accent);
    padding: 2px 10px;
    border-radius: 20px;
}

.event-lead {
    font-size: 1.1rem;
    color: #555;
    margin-top: var(--spacing-sm);
}

.event-info-box {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    border-radius: 4px;
}

.event-info-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.event-info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 600px) {
    .event-info-list {
        grid-template-columns: auto 1fr;
        gap: var(--spacing-sm) var(--spacing-md);
    }

    .event-info-list dt {
        text-align: right;
        min-width: 80px;
    }
}

.event-info-list dt {
    font-weight: bold;
    color: var(--color-text);
    text-align: left;
}

/* fixed text-align left override if needed */

.styled-list {
    list-style: none;
    margin-bottom: var(--spacing-sm);
}

.styled-list li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.5em;
}

.styled-list li::before {
    content: "•";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-section {
    margin-top: var(--spacing-xl);
    text-align: center;
    background-color: #f4f4f4;
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.btn-cta {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--color-accent);
    /* Use accent color for CTA */
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    margin: var(--spacing-md) 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #5b7577;
    /* Slightly darker shade */
}

.cta-note {
    font-size: 0.8rem;
    color: #888;
}

/* Column Pages */
.column-main {
    padding-top: 15vh;
    padding-bottom: var(--spacing-xl);
    min-height: 80vh;
}

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.page-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    letter-spacing: 0.1em;
}

/* Timeline Style Column List */
/* Timeline Style Column List */
.column-list {
    list-style: none;
    border-top: none;
    /* Remove previous border */
    position: relative;
    padding-left: 30px;
    /* Space for the line */
    margin-top: var(--spacing-lg);
}

/* The Vertical Line */
.column-list::before {
    content: '';
    position: absolute;
    left: 6px;
    /* Center of the dot padding */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #eee;
}

.column-list li {
    border-bottom: none;
    /* Remove divider */
    margin-bottom: var(--spacing-md);
    position: relative;
}

/* The Timeline Dot */
.column-list li::after {
    content: '';
    position: absolute;
    left: -24px;
    /* Adjust based on padding-left of parent */
    top: 24px;
    /* Align with top padding of the card roughly */
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid var(--color-accent);
    z-index: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.column-list li:hover::after {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

.column-list a {
    display: flex;
    flex-direction: column;
    /* Stack header and tags */
    padding: var(--spacing-md);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid transparent;
    position: relative;
    gap: 10px;
    /* Space between header and tags */
}

/* Header Row: Date and Title */
.column-header-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media (min-width: 600px) {
    .column-header-row {
        flex-direction: row;
        align-items: baseline;
        gap: var(--spacing-md);
    }
}

/* Tags Row: Hashtags */
.column-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* Space between tags */
}

.column-list a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
    background-color: #fff;
    opacity: 1;
}

/* Arrow inside card */
.column-list a::after {
    content: '→';
    font-family: var(--font-sans);
    font-size: 1.2rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    transition: all 0.3s ease;
    color: var(--color-accent);
}

.column-list a:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

@media (min-width: 600px) {
    .column-list a {
        padding-right: 60px;
        /* Space for arrow */
        /* Only internal header row is horizontal, main card is vertical stack */
    }
}

.column-list .column-date {
    font-family: 'La Belle Aurore', cursive;
    font-size: 1.2rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.column-list .column-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.5;
}

/* Hashtag Styles */
.column-list .column-category-label {
    /* Container for tags */
    font-size: 0.8rem;
    color: #999;
}

.column-list .column-category-label .hash-tag {
    /* Individual Tag Style */
    display: inline-block;
    padding: 0;
    margin: 0;
    margin-right: 10px;
    font-size: 0.9rem;
    color: #999;
    font-weight: normal;
}

/* Remove CSS generated '#' as it is now in HTML */
.column-list .column-category-label .hash-tag::before {
    content: none;
}

/* Ensure no hover effects on these spans since they are inside the main link */
.column-list .column-category-label .hash-tag:hover {
    color: #999;
}

/* Responsive Navigation Fixes */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 768px) {
    .header {
        padding: var(--spacing-sm) 5%;
        /* Adjust padding for mobile */
    }

    .logo {
        z-index: 1002;
        /* Ensure logo is above menu overlay if needed */
        position: relative;
    }

    .menu-toggle {
        display: flex;
        /* Visible on mobile */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
        /* Ensure button is above menu overlay */
        padding: 0;
    }

    .menu-toggle:focus {
        outline: none;
    }

    .menu-toggle .bar {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-text);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 100%;
        height: 100vh;
        background-color: rgba(248, 247, 244, 0.98);
        /* Site background color */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        /* Smooth easing */
        z-index: 1001;
        opacity: 0;
        /* Fade effect */
    }

    .nav.active {
        right: 0;
        opacity: 1;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        /* Adjusted gap */
    }

    .nav ul li {
        width: 100%;
        text-align: center;
    }

    .nav a {
        display: inline-block;
        /* Wrap text only */
        width: 240px;
        /* Fixed width for uniformity */
        text-align: center;
        /* Center text within the pill */
        font-size: 1.2rem;
        color: #fff;
        /* White text */
        background-color: #000;
        /* Black background for text */
        padding: 8px 0;
        /* Adjust padding, remove horizontal padding since width is fixed */
        border-radius: 50px;
        /* Rounded corners (pill shape) or use 8px for rounded rect */
        font-family: var(--font-serif);
        line-height: 1.5;
        transition: opacity 0.3s ease;
    }

    .nav a:hover {
        opacity: 0.8;
    }

    /* Hamburger Animation to 'X' */
    /* Update bar color to white when active if needed, or keep dynamic reversal */
    /* Hamburger Animation: Bars should be black on light background */
    .menu-toggle .bar {
        background-color: var(--color-text);
        /* Black bars */
    }

    .menu-toggle.active .bar {
        background-color: var(--color-text);
        /* Keep black bars when active on light bg */
    }

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

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

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

    body.no-scroll {
        overflow: hidden;
    }
}

/* Link Card Styles */
.link-card {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 2em 0;
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 140px;
    /* Fixed height for consistency */
    text-decoration: none !important;
    /* Force no underline */
    color: inherit !important;
}

.link-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    opacity: 1;
    /* Override default hover opacity */
}

.link-card-image {
    width: 200px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

.link-card-image.no-image {
    background-image: url('images/writing.png');
    /* Fallback or pattern */
    opacity: 0.5;
}

.link-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.link-card-title {
    font-family: var(--font-sans);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    max-height: 2.8em;
    /* 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.link-card-desc {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.link-card-url {
    font-size: 0.7rem;
    color: var(--color-accent);
    margin-top: auto;
}

@media (max-width: 600px) {
    .link-card {
        flex-direction: column;
        height: auto;
    }

    .link-card-image {
        width: 100%;
        height: 160px;
        /* Taller image on mobile */
    }

    .link-card-content {
        padding: 1rem;
    }
}

/* Column Detail */
.column-post {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.column-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.column-post .column-date {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: var(--spacing-sm);
}

.column-post-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.4;
}

.column-body p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: var(--spacing-lg);
    color: #333;
}

.column-footer {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.btn-text {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.1em;
}

/* Simple Page Styles */
.simple-page {
    background-color: #fff;
    color: #333;
}

.simple-header {
    padding: 2rem;
    text-align: center;
}

.simple-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: #ccc;
    text-decoration: none;
}

.simple-main {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.simple-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 3rem;
    line-height: 1.3;
    font-weight: normal;
}

.simple-content p {
    line-height: 2;
    margin-bottom: 2rem;
    text-align: justify;
}

.simple-content h2 {
    font-size: 1.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.simple-footer {
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid #f8f8f8;
    color: #ccc;
    font-size: 0.8rem;
}

/* Column Carousel (Front Page) */
.column-carousel {
    display: flex;
    gap: var(--spacing-md);
    /* Reduced from lg */
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    /* Reduced bottom padding */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Fade out on right side */
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.column-carousel::-webkit-scrollbar {
    display: none;
}

.column-carousel-item {
    flex: 0 0 280px;
    /* Reduced width slightly for tighter look */
    min-width: 280px;
    height: auto;
    display: flex;
}

.column-carousel-item a {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    /* Slightly reduced padding */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid transparent;
    width: 100%;
    position: relative;
    gap: 10px;
    /* Reduced gap */
}

.column-carousel-item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
    opacity: 1;
}

/* Arrow inside card */
.column-carousel-item a::after {
    content: '→';
    font-family: var(--font-sans);
    font-size: 1.2rem;
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    opacity: 0.3;
    transition: all 0.3s ease;
    color: var(--color-accent);
}

.column-carousel-item a:hover::after {
    opacity: 1;
    transform: translateX(5px);
}

/* Reuse header row styles, maybe adjust if needed */
.column-carousel .column-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.column-carousel .column-date {
    font-size: 1rem;
}

.column-carousel .column-title {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Mobile Styles for Column Carousel */
@media (max-width: 768px) {
    .column-carousel {
        gap: var(--spacing-sm);
        scroll-snap-type: x mandatory;
        -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
        mask-image: linear-gradient(to right, black 90%, transparent 100%);
    }

    .column-carousel-item {
        flex: 0 0 85vw;
        /* Slightly wider than works (80vw) for text readability */
        min-width: 85vw;
        scroll-snap-align: start;
    }
}

.profile-card {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.profile-image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    align-self: center;
    /* Center on mobile */
    background-color: #eee;
}

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

.profile-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

.profile-text {
    flex: 1;
    text-align: center;
    /* Center on mobile */
    width: 100%;
}

.profile-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 0.2rem;
}

.profile-desc {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    text-align: left;
}

@media (min-width: 600px) {
    .profile-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .profile-image-container {
        align-self: flex-start;
        margin-right: var(--spacing-sm);
    }

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

/* SNS Icons in Profile Card */
.profile-sns {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-sm);
}

.sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-gray);
    transition: color 0.3s ease, transform 0.2s ease;
}

.sns-icon:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Pagination Styles */
.pagination {
    margin-top: var(--spacing-xl);
    text-align: center;
    padding: var(--spacing-md) 0;
}

.pagination .nav-links {
    display: inline-flex;
    justify-content: center;
    gap: var(--spacing-md);
    align-items: center;
}

.pagination .page-numbers {
    font-family: 'La Belle Aurore', cursive;
    font-size: 1.8rem;
    color: var(--color-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 5px 10px;
}

.pagination .page-numbers.current {
    color: var(--color-accent);
    font-size: 2.2rem;
    border-bottom: 2px solid var(--color-accent);
}

.pagination .page-numbers:not(.current):hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

.pagination .prev,
.pagination .next {
    font-family: var(--font-sans);
    /* Arrows usually look better in standard font */
}

/* Work Label Styling */
.work-label {
    display: inline-block;
    background-color: #f0f0f0;
    color: var(--color-text);
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    font-weight: 500;
    border: 1px solid #ddd;
    letter-spacing: 0.05em;
    transform: translateY(-2px);
}

/* Specific Label Colors */
.work-label-writing {
    background-color: #e0ecee;
    /* Light Teal/Blue */
    color: #3b5c5e;
    border-color: #cbd8da;
}

.work-label-planning {
    background-color: #f4e8d8;
    /* Light Warm Beige/Orange */
    color: #7d6046;
    border-color: #e6dac8;
}

.work-label-editing {
    background-color: #e8ede0;
    /* Light Sage Green */
    color: #5d6650;
    border-color: #dbe0d2;
}

.work-title-text {
    vertical-align: middle;
}

font-size: 1.2rem;
color: var(--color-text);
}