:root {
    --primary-color: #1B3022;
    /* Deep Forest Green */
    --secondary-color: #8C7051;
    /* Earthy Brown */
    --text-color: #2C332D;
    /* Deep muted green-black */
    --bg-light: #f4f5f7;
    --white: #ffffff;
    --font-base: 'Noto Sans JP', sans-serif;

    /* Shadow System */
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-deep: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.8;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}

.logo a:hover img {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-btn:hover {
    background: var(--secondary-color);
    box-shadow: var(--shadow-light);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.btn-outline {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
}

.hero-item {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: brightness(0.7);
    transition: opacity 1.5s ease-in-out;
}

/* Global Section Padding Fix for Mobile */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 20px 60px !important;
    }

    .custom-story-grid.responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .detail-img-card img,
    .about-image img,
    .custom-hero-img img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .story-details {
        margin-top: 40px;
    }
}

/* Timeline Responsive Fix */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px !important;
    }

    .timeline-item {
        padding-left: 50px !important;
    }

    .timeline-item::after {
        left: 20px !important;
    }
}

/* Mobile: Slideshow Mode */
@media (max-width: 768px) {
    .hero-gallery {
        display: block;
    }

    .hero-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        z-index: 0;
    }

    .hero-item.active {
        opacity: 1;
        z-index: 1;
    }
}

.hero-content {
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Outfit', 'Zen Old Mincho', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.bg-light {
    background-color: var(--bg-light);
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    margin: 15px auto 8px;
}

h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

/* Responsive Grid System */
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    .container {
        padding: 0 20px;
    }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.concept-text {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 50px;
    font-weight: 400;
}

.owner-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    text-align: left;
}

.profile-img {
    width: 150px;
    height: 150px;
    background-color: #ddd;
    /* Temp */
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-text h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-medium);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    text-align: left;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 4px;
}

.service-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Custom Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-deep);
}

.gallery-img-placeholder {
    width: 100%;
    height: 250px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.gallery-caption {
    padding: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.gallery-social {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow-medium);
}

/* Portfolio Grid Improvements */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.portfolio-thumb {
    width: 100%;
    height: 180px;
    /* More compact height */
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info .category {
    font-size: 0.7rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 5px;
}

.portfolio-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.portfolio-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-50 {
    margin-top: 50px;
}


/* Sub-Page Styles */
.page-hero {
    background: var(--primary-color);
    color: white;
    padding: 100px 20px 60px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Outfit', 'Zen Old Mincho', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-content {
    min-height: 60vh;
}

/* Service Detail */
.service-detail-grid {
    display: grid;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.service-block {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.service-block h2 {
    text-align: left;
    transform: none;
    left: auto;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: block;
}

.service-block h2::after {
    display: none;
}

.service-block-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #555;
    margin-top: 20px;
}

.highlight-block {
    background: #fdfaf6;
    border: 2px solid var(--secondary-color);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Rental Grid */
.rental-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rental-item {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.rental-img {
    height: 200px;
    background: #ddd;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.tour-card {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--secondary-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-block {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s;
}

.service-block:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-block h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.highlight-block {
    background: var(--primary-color);
    color: white;
}

.highlight-block h3,
.highlight-block .service-icon {
    color: white;
}

.highlight-block p {
    color: rgba(255, 255, 255, 0.9);
}

.mt-100 {
    margin-top: 100px;
}

.mb-60 {
    margin-bottom: 60px;
}

.tag {
    background: #666;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .tour-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .tour-card h3 {
        flex: auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }

    .main-nav {
        display: none;
    }

    /* Mobile menu needed */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 2px;
        background: var(--primary-color);
        transition: 0.3s;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        box-shadow: var(--shadow-medium);
        backdrop-filter: blur(10px);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav a {
        font-size: 1.1rem;
        display: block;
        padding: 5px 0;
    }


    .main-nav.active ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .owner-profile {
        flex-direction: column;
        text-align: center;
    }
}

/* Tour LP Styles */
.tour-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #222;
    color: white;
}

.tour-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.jpg');
    /* Reuse hero for now, replace later */
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.tour-hero-content {
    position: relative;
    z-index: 1;
}

.tour-subtitle {
    font-family: 'Outfit', 'Zen Old Mincho', serif;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.tour-hero h1 {
    font-family: 'Outfit', 'Zen Old Mincho', serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 30px;
}

.tour-text {
    font-size: 1rem;
    letter-spacing: 0.2em;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    display: inline-block;
    padding: 10px 30px;
}

.tour-layout-s,
.tour-layout-r {
    display: flex;
    align-items: center;
    gap: 50px;
}

.tour-layout-r {
    flex-direction: row-reverse;
}

.text-col {
    flex: 1;
}

.img-col {
    flex: 1;
}

.text-col h2 {
    font-family: 'Outfit', 'Zen Old Mincho', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: left;
    transform: none;
    left: auto;
}

.text-col h2::after {
    display: none;
}

.tour-img-placeholder {
    width: 100%;
    height: 350px;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.sub-h {
    display: block;
    color: var(--secondary-color);
    font-family: 'Outfit', 'Zen Old Mincho', serif;
    margin-bottom: 10px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid #ddd;
    padding-left: 40px;
}

.timeline-day h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.timeline-day h3::before {
    content: '';
    position: absolute;
    left: -49px;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
}

.timeline-item .time {
    font-weight: bold;
    color: #666;
    width: 60px;
    flex-shrink: 0;
}

.timeline-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.tour-price-box {
    background: #fdfaf6;
    border: 2px solid var(--secondary-color);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 50px auto 0;
}

.tour-price-box .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Outfit', 'Zen Old Mincho', serif;
}

.tour-price-box .annotation {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
}

.btn-lg {
    padding: 15px 50px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .tour-hero h1 {
        font-size: 2rem;
    }

    .tour-layout-s,
    .tour-layout-r {
        flex-direction: column;
    }

    .timeline {
        padding-left: 20px;
        border-left: none;
    }

    .timeline-day h3::before {
        display: none;
    }
}

/* --- About Page Enhancements --- */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Reduced from 60px */
    align-items: center;
    margin-bottom: 60px;
    /* Reduced from 80px */
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse .about-text {
    direction: ltr;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.about-text h2 {
    text-align: left;
    left: 0;
    transform: none;
    margin-bottom: 30px;
}

.about-text h2::after {
    margin: 15px 0 0;
}

.layout-section {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    margin-top: 40px;
}

.layout-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.layout-diagram img {
    width: 100%;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.layout-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.layout-list {
    list-style: none;
}

.layout-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
}

.layout-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.community-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

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

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid.reverse {
        direction: ltr;
    }

    .about-text h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    .about-text h2::after {
        margin: 15px auto 0;
    }
}

/* Members Section Refinements */
.member-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #f0f0f0;
    box-shadow: var(--shadow-small);
}

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

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.member-role {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.member-bio {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.member-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.member-link:hover {
    color: var(--secondary-color);
}

.member-link i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .layout-container {
        grid-template-columns: 1fr;
    }

    .layout-section {
        padding: 30px 20px;
    }
}

/* --- Shop Page Styles --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #eee;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 20px;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
}

/* Cart Styles */
.cart-header-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Shop Category Filter */
.shop-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.order-summary {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.summary-total {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.checkout-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Service Card Buttons */
.service-card .btn-text {
    display: inline-block;
    width: 200px;
    padding: 12px 0;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.service-card .btn-text:hover {
    background-color: var(--primary-color);
    color: white;
}

/* About Grid Buttons */
.about-text .btn-text {
    display: inline-block;
    width: 200px;
    padding: 12px 0;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.about-text .btn-text:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Service Block Buttons */
.service-block .btn {
    display: inline-block;
    width: 200px;
    padding: 12px 0;
    text-align: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.service-block .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Brand Page Enhancements --- */
.brand-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.brand-filter .filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.brand-filter .filter-btn.active,
.brand-filter .filter-btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

.brand-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    opacity: 1;
    /* For script animation */
}

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

.brand-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f0f0;
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 0.5px;
}

.brand-info {
    padding: 25px;
    flex-grow: 1;
}

.brand-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

.brand-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.product-lineup {
    border-top: 1px dashed #ddd;
    padding-top: 15px;
}

.product-lineup h4 {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.product-list li {
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #444;
}

/* Final Global Responsive Resets */
@media (max-width: 768px) {

    .member-grid,
    .layout-container,
    .rental-grid,
    .access-grid,
    .product-grid {
        grid-template-columns: 1fr !important;
    }

    .layout-section {
        padding: 40px 20px !important;
    }
}

/* Sticky Contact Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.65);
    backdrop-filter: blur(5px);
    padding: 15px 0 25px;
    /* Added extra padding at bottom for iPhone home bar */
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    display: block;
    transform: translateY(0);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-footer-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
}

.footer-btn-wrapper {
    flex: 1;
    text-align: center;
    max-width: 300px;
}

.footer-btn-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    line-height: 1.2;
}

.footer-btn:active {
    transform: scale(0.96);
}

.footer-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-contact {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
}

.btn-contact:hover {
    background: linear-gradient(135deg, #e53935, #c62828);
}

.btn-line {
    background: linear-gradient(135deg, #06c755, #00b900);
}

.btn-line:hover {
    background: linear-gradient(135deg, #00d200, #00c300);
}

/* Add padding to body so footer doesn't cover content */
body {
    padding-bottom: 110px;
}

@media (min-width: 768px) {

    /* Optional: Hide on desktop if preferred, or adjust style */
    .sticky-footer {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* Footer Toggle Handle */
.footer-handle {
    text-align: center;
    background: rgba(20, 20, 20, 0.9);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Arrow indicator */
}

.footer-handle i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

/* Initially collapsed logic */
.sticky-footer {
    transform: translateY(100%);
    /* Start hidden */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    bottom: 40px;
    /* Offset so the handle peeks up? No, simpler: */
    /* Let's redo positioning: */
    bottom: 0;
    transform: translateY(calc(100% - 35px));
    /* Show only 35px (height of handle) */
}

.sticky-footer.open {
    transform: translateY(0);
    /* Fully visible */
}

/* Rotate arrow when open */
.sticky-footer.open .footer-handle i {
    transform: rotate(180deg);
}

/* Add padding to handle area so it's touchable */
.footer-handle {
    height: 35px;
    align-items: center;
    justify-content: center;
}

/* --- MicroCMS Blog Content Styles --- */
.post-content {
    line-height: 2.0;
    /* 行間を広げる */
    color: #333;
    font-size: 1.05rem;
    font-feature-settings: "palt";
}

/* 段落ごとの余白 */
.post-content p {
    margin-bottom: 2.5em;
    letter-spacing: 0.05em;
}

/* 見出しの余白とデザイン */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 3em;
    margin-bottom: 1.5em;
    line-height: 1.4;
    color: var(--primary-color);
}

.post-content h2 {
    font-size: 1.6rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.post-content h3 {
    font-size: 1.4rem;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

/* リストの見やすさ改善 */
.post-content ul,
.post-content ol {
    margin-bottom: 2.5em;
    padding-left: 1.5em;
    background: #f9f9f9;
    padding: 1.5em 1.5em 1.5em 2.5em;
    border-radius: 8px;
}

.post-content li {
    margin-bottom: 0.8em;
}

/* 画像の余白 */
.post-content img {
    max-width: 100%;
    height: auto;
    margin: 2em 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 太字の強調 */
.post-content strong {
    background: linear-gradient(transparent 70%, rgba(140, 112, 81, 0.2) 70%);
    padding: 0 2px;
}

/* --- Blog Page Redesign (Notion Style) --- */

/* Filter Controls */
.blog-filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-filter-btn {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-filter-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.blog-filter-btn.active {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    font-weight: 500;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Notion-style Card */
.blog-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f9f9f9;
}

.blog-card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #333;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #888;
    margin-top: auto;
    /* Push to bottom */
}

.blog-card-tag {
    background: rgba(140, 112, 81, 0.1);
    /* Secondary color faint */
    color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* Modal / Inline Expansion Styles overrides */
.blog-expanded-view {
    grid-column: 1 / -1;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-deep);
    margin-bottom: 40px;
    animation: fadeIn 0.3s ease;
    border: 1px solid #eee;
}

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

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

.close-expanded-btn {
    display: inline-block;
    margin-bottom: 20px;
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.close-expanded-btn:hover {
    color: var(--primary-color);
}