/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FDFBF7;
}

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

/* Header */
.header {
    background-color: #FDFBF7;
    padding: 20px 0;
    border-bottom: 2px solid #8B2635;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    display: block;
}

.brand-name {
    font-size: 2rem;
    font-weight: 300;
    color: #2C2C2C;
    letter-spacing: 2px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #8B2635;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

.breadcrumb span:before {
    content: ">";
    margin-right: 10px;
    color: #999;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #8B2635 0%, #A53049 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Content Blocks */
.content-block {
    padding: 60px 0;
}

.content-block.alt {
    background-color: #F8F6F0;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #8B2635;
    font-weight: 300;
    text-align: center;
}

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

.block-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

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

/* Content with images and SVGs */
.block-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.block-content-with-svg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

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

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

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

.content-image-placeholder {
    background-color: #E8E6E0;
    border: 2px dashed #C0BDB5;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #8B8680;
    font-size: 1rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-svg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-svg svg {
    max-width: 100%;
    height: auto;
}

/* Lists in content */
.block-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.block-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 300;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

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

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

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

    .content-block h2 {
        font-size: 1.7rem;
    }

    .block-content-with-image,
    .block-content-with-svg {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .content-text {
        text-align: justify;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .breadcrumb {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: 1.7rem;
    }

    .content-block {
        padding: 40px 0;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .block-content p {
        font-size: 1rem;
    }

    .content-image-placeholder {
        padding: 40px 15px;
        min-height: 150px;
    }
}

/* Layout for auxiliary pages */
html, body {
    height: 100%;
}
    border-radius: 8px;
    height: 250px;
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}