/*
    Hestia's Definitive Blueprint for the "Guideline" Sanctuary
    -------------------------------------------------------------
    File: guideline.css
    Role: To create a sacred space of promises with absolute clarity and sincerity.
*/

/* --- [O] The Unbreakable Vows: Global Elements & The Oath of 1100px --- */
:root { /* (style.cssから、基本変数を、継承) */ }
.container { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }
@media (max-width: 768px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

/* --- [I] The Sanctuary Gate: Hero Section --- */
.hero-guideline {
    min-height: 300px;
    background-image: linear-gradient(to top, rgba(76, 175, 80, 0.8), rgba(129, 199, 132, 0.4)), url('../images/common/guideline-hero.jpg');
}
/* (project.cssから、基本ヒーローのスタイルを、美しく、継承) */
.hero-project { display: flex; align-items: center; padding: 4rem 0; }
.hero-project-content { text-align: left; color: white; }
.project-title { font-family: 'Noto Serif JP', serif; font-size: clamp(2.5rem, 5vw, 3.5rem); margin: 0; border-left: 4px solid var(--color-secondary); padding-left: 1.5rem; }
.project-catchcopy { font-size: 1.2rem; opacity: 0.9; margin-top: 1rem; padding-left: calc(1.5rem + 4px); }

/* --- [II] The Body of the Covenant --- */
.guideline-body {
    padding: 5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
}
.guideline-intro {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 4rem;
    text-align: center;
}
.guideline-section {
    margin-bottom: 4rem;
}
.section-title {
    font-family: var(--font-family-title);
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.definition-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 768px) { .definition-cards { grid-template-columns: 1fr; } }
.definition-cards .card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid;
}
.definition-cards .card:first-child { border-color: #43a047; } /* 非商用 */
.definition-cards .card:last-child { border-color: #d32f2f; } /* 商用 */
.definition-cards .card h3 { margin: 0 0 1rem 0; }
.definition-cards .card p { margin: 0; font-size: 0.9rem; }
.definition-cards .card small { display: block; margin-top: 1rem; color: #555; }

.forbidden-list {
    background-color: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 2rem;
    border-radius: 8px;
}
.forbidden-list ul {
    margin: 0;
    padding-left: 1.5rem;
}

.rules-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.rule-block {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.rule-block h3 {
    margin: 0;
    padding: 1rem 2rem;
    background-color: #e9ecef;
}
.rule-block:first-child h3 { background-color: #e8f5e9; } /* 非商用 */
.rule-block:last-child h3 { background-color: #ffebee; } /* 商用 */
.rule-content {
    padding: 2rem;
}
.rule-content h4 {
    margin: 1.5rem 0 0.5rem 0;
}
.rule-content h4:first-child { margin-top: 0; }
.rule-content .important {
    color: #d32f2f;
    font-weight: bold;
}
.rule-content ol {
    padding-left: 1.5rem;
}
.rule-content li {
    margin-bottom: 1rem;
}

.download-info {
    text-align: center;
    background-color: #e3f2fd;
    padding: 2rem;
    border-radius: 8px;
}
.download-info p {
    margin: 0;
}