/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Outfit:wght@400;700&display=swap');

:root {
    /* Color Palette */
    --primary-red: #cd2026;
    --primary-red-dark: #981b1e;
    --strawberry-pink: #ff7784;
    --strawberry-light-pink: #FFB6B9;
    --fresh-green: #78d644;
    --dark-green: #329a73;
    --info-blue: #61C0BF;
    --facebook-blue: #3B5998;
    --twitter-blue: #1DA1F2;
    --accent-yellow: #ffd100;

    --text-primary: #333333;
    --text-secondary: #666666;
    --text-white: #ffffff;

    --bg-light: #f9f9f9;
    --bg-white: #ffffff;

    /* Spacing */
    --section-padding: 80px 20px;
    --card-padding: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 9999px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    margin: 0;
    line-height: 1.3;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title i {
    margin-right: 12px;
    color: var(--primary-red);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.main-image-block {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.main-image-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    padding: 0;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    font-weight: 800;
}

.hero-subtitle p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-btn {
    font-size: 1.25rem;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    box-shadow: 0 4px 15px rgba(205, 32, 38, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(205, 32, 38, 0.6);
    text-decoration: none;
    color: white;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.92);
    color: #9d1f24;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-btn-secondary:hover {
    color: #8b1b1f;
    background: #fff;
}

/* Information Block */
.information-block {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.info-notice {
    background-color: #fff4f4;
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 500;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--card-padding);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

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

.info-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.genre-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: auto;
    line-height: 1.5;
}

.info-link {
    display: block;
    margin-top: 12px;
    color: var(--text-primary);
}

.info-link:hover {
    color: var(--primary-red);
}

/* Genre Colors */
.tag-info {
    background-color: var(--info-blue);
}

.tag-farm {
    background-color: var(--fresh-green);
}

.tag-strawberry {
    background-color: var(--strawberry-pink);
}

.tag-facebook {
    background-color: var(--facebook-blue);
}

.tag-twitter {
    background-color: var(--twitter-blue);
}

.tag-other {
    background-color: var(--accent-yellow);
    color: #444;
}

/* Message Block */
.message-block {
    padding: var(--section-padding);
    background-color: var(--bg-light);
    text-align: center;
}

.message-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.message-item {
    align-self: start;
}

/* Keep Auto Ads stable when injected into the message grid */
.message-grid > .google-auto-placed,
.message-grid > ins,
.message-grid > .adsbygoogle {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 !important;
    align-self: start;
    justify-self: stretch;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    position: static !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.message-grid .google-auto-placed {
    min-height: 0 !important;
}

.message-grid > .google-auto-placed > *,
.message-grid > ins > *,
.message-grid > .adsbygoogle > * {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Prevent empty ad slots from leaving large blank gaps */
ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

.message-image {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.message-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.5s ease;
}

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

.message-content {
    text-align: left;
}

.message-content h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.message-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* --- Added Missing Component Styles --- */

/* Flying Strawberry Block (Message Block Second) */
.message-block-second {
    padding: var(--section-padding);
    background-color: var(--strawberry-light-pink);
    text-align: center;
    color: white;
}

.message-block-second.white {
    background-color: var(--bg-white);
    color: var(--text-primary);
}

.message-block-second .message-title img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.message-inner {
    max-width: 800px;
    margin: 0 auto;
}

.message-inner img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.image-message.black {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.link,
.cafe-link,
.shop-link {
    display: inline-block;
    padding: 12px 36px;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: var(--radius-full);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.link:hover,
.cafe-link:hover,
.shop-link:hover {
    background: currentColor;
    color: white;
    text-decoration: none;
}

/* Cafe and Shop Link Spacing */
.cafe-link,
.shop-link {
    margin-top: 24px;
}

/* Fix Flying Strawberry Link in White Block */
.message-block-second.white .link,
.message-block .link {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.message-block-second.white .link:hover,
.message-block .link:hover {
    background-color: var(--primary-red);
    color: white;
}

/* Cafe Block */
.cafe-block {
    padding: var(--section-padding);
    background-color: var(--bg-light);
    text-align: center;
}

.cafe-block .message-title img {
    max-width: 300px;
    width: 100%;
    margin-bottom: 24px;
}

.cafe-tile-block,
.shop-tile-block {
    max-width: 800px;
    margin: 0 auto;
}

.cafe-message,
.shop-message {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cafe-message img,
.shop-message img {
    max-width: 600px;
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.cafe-link {
    color: var(--facebook-blue);
    border-color: var(--facebook-blue);
}

.cafe-link:hover {
    background-color: var(--facebook-blue);
    color: white;
}

/* Shop Block */
.shop-block {
    padding: var(--section-padding);
    background-color: var(--strawberry-light-pink);
    text-align: center;
    color: white;
}

.shop-block .message-title {
    color: white;
    margin-bottom: 30px;
}

.shop-block .message-title h2 {
    font-size: 2.5rem;
}

.shop-link {
    color: var(--info-blue);
    border-color: var(--info-blue);
    background: white;
}

.shop-link:hover {
    background-color: var(--info-blue);
    color: white;
}

/* Social Blocks */
.social-area {
    display: flex;
    flex-wrap: wrap;
}

.social-block {
    flex: 1;
    min-width: 300px;
    padding: var(--section-padding);
    color: white;
}

.facebook-block {
    background-color: var(--facebook-blue);
}




/* Shared Social Styles */
.social-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
}

.social-block-inner {
    text-align: center;
}

/* Instagram Block Styles */
.instagram-block {
    background-color: var(--bg-white);
    color: var(--text-primary);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    height: 100%;
}

.instagram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-image-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.instagram-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-card:hover .instagram-image {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-card:hover .instagram-overlay {
    opacity: 1;
}

.instagram-stats {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    gap: 20px;
}

.instagram-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.instagram-caption {
    padding: 16px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* Booking CTA Block */
.message-block-forth {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("img/index/DSC00423.00c5ee10160e.webp") center/cover;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.booking-container-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.booking-message p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title h2 {
        font-size: 2rem;
    }

    .hero-subtitle p {
        font-size: 1.25rem;
    }

    .message-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .message-content {
        text-align: center;
    }

    .social-area {
        flex-direction: column;
    }

    .social-block {
        min-width: 0;
        padding: 60px 10px;
        /* Reduced side padding */
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns strictly */
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 420px) {
    .message-grid > .google-auto-placed,
    .message-grid > ins,
    .message-grid > .adsbygoogle {
        margin: 8px 0 !important;
    }

    .message-grid > .google-auto-placed > ins,
    .message-grid > ins.adsbygoogle {
        width: 100% !important;
        max-width: 100% !important;
    }
}

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

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

/* Scroll Animation */
.scroll-view {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.scroll-view.show {
    opacity: 1;
    transform: translateY(0);
}

/* Enforce Instagram Title Color on Mobile */
.instagram-block .social-title,
#instagram-title {
    color: #333333 !important;
}

#instagram-title h2 {
    color: #333333 !important;
}

#instagram-title i {
    color: #cd2026 !important;
    /* Primary Red */
    margin-right: 10px;
}

/* Mobile Stats */
.instagram-stats-mobile {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: var(--text-secondary);
    justify-content: space-between;
}

.instagram-stats-mobile span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.instagram-stats-mobile i {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .instagram-stats-mobile {
        display: flex;
    }
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gallery-item figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

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

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

/* Caption Overlay */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Let clicks pass through to the link */
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-container {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Recruit Block */
.recruit-block {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
    justify-content: center;
}

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

.recruit-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.recruit-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

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

.recruit-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recruit-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recruit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.recruit-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.recruit-footer {
    margin-top: auto;
    text-align: right;
}

.recruit-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background-color: var(--text-secondary);
    margin-left: 8px;
}

.recruit-badge.published {
    background-color: var(--primary-red);
}

/* Recruit Detail */
.recruit-detail-block {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.recruit-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.recruit-detail-dl {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    margin-bottom: 60px;
}

.recruit-detail-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}

.recruit-detail-dt {
    width: 30%;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.recruit-detail-dt i {
    color: var(--primary-red);
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.recruit-detail-dd {
    width: 70%;
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-wrap; /* Preserve line breaks */
}

.recruit-detail-dd ul,
.recruit-detail-dd ol,
.recruit-detail-dd li {
    white-space: normal;
}

.recruit-detail-dd ul,
.recruit-detail-dd ol {
    margin: 0 0 0.75rem 1.25rem;
    padding: 0;
}

/* Form Styles */
.form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-md);
    margin-top: 40px;
}

.material-textfield {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column-reverse;
}

.material-textfield label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.material-textfield input,
.material-textfield textarea,
.material-textfield select {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    color: var(--text-primary);
    border: 1px solid #e0e0e0;
    background: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.material-textfield input:focus,
.material-textfield textarea:focus,
.material-textfield select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(205, 32, 38, 0.1);
}

.material-textfield .icon-area {
    display: none;
}

/* Submit Button Override for this page */
.submit-btn-wrapper {
    text-align: center;
    margin-top: 32px;
}

#submit-btn {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

#submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Recruit Detail */
@media (max-width: 768px) {
    .recruit-detail-row {
        flex-direction: column;
    }

    .recruit-detail-dt {
        width: 100%;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

    .recruit-detail-dd {
        width: 100%;
        padding-left: 32px; /* Indent content to align with text not icon */
    }

    .form-container {
        padding: 24px;
    }
}

/* Legal Page Styles */
.legal-block {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.legal-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-red);
    padding-left: 12px;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-content ol {
    margin-bottom: 20px;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
}

.legal-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    align-items: baseline;
}

.legal-dt {
    width: 30%;
    font-weight: 700;
    color: var(--text-primary);
    padding-right: 20px;
}

.legal-dd {
    width: 70%;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-dd ul {
    margin: 0;
    padding-left: 1.2rem;
}

.legal-footer {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .legal-block {
        padding: 30px 0;
    }

    .legal-block .container {
        padding: 0 10px;
    }

    .legal-card {
        padding: 16px;
    }

    .legal-row {
        flex-direction: column;
    }

    .legal-dt {
        width: 100%;
        margin-bottom: 8px;
        color: var(--primary-red);
    }

    .legal-dd {
        width: 100%;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        margin-top: 30px;
    }
}

.legal-notice {
    background-color: #fff9e6; /* Light yellow background */
    border: 1px solid #ffeeba;
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 30px;
}

.legal-notice h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #856404;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-notice p {
    font-size: 0.95rem;
    color: #856404;
    margin-bottom: 5px;
}

.legal-notice .meta {
    font-size: 0.85rem;
    color: #856404;
    opacity: 0.8;
    margin-top: 10px;
    border-top: 1px solid rgba(133, 100, 4, 0.2);
    padding-top: 10px;
}
