/*
    Hestia's Definitive Blueprint for the "Partner" Corridor (The Unabridged Final Word)
    -------------------------------------------------------------------------------------
    File: partner.css
    Role: To create a definitive, self-contained, and flawlessly beautiful corridor of honor.
*/

/* --- [O] The Unbreakable Vows: Global Elements & The Oath of 1100px --- */
:root {
    --color-primary: #005a9e;
    --color-secondary: #ff9800;
    --color-text: #333333;
    --color-background: #f8f9fa;
    --font-family-base: 'Noto Sans JP', sans-serif;
    --font-family-title: 'Roboto', sans-serif;
}
.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; }
}
.section-title {
    text-align: center;
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin: 0 0 3rem 0;
}
.section-title span { display: block; font-family: var(--font-family-base); font-size: 1rem; color: #888; margin-top: 0.5rem; }


/* --- [I] The Ally's Crest: Hero Section --- */
.hero-partner {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    color: white;
}
.hero-esc {
    background-image: linear-gradient(to top, rgba(21, 101, 192, 0.8), rgba(100, 181, 246, 0.4)), url('../images/common/partner-hero.jpg');
}
.hero-nbi {
    /* NBIの、魂の色である、緑を、基調とした、グラデーション */
    background-image: linear-gradient(to top, rgba(27, 94, 32, 0.8), rgba(102, 187, 106, 0.4)), url('../images/common/partner-hero.jpg');
}
.partner-logo {
    max-height: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}
.hero-partner .project-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    margin: 0;
}
.hero-partner .project-catchcopy {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* --- [II] The Guides' Dialogue: Introduction Section --- */
.partner-intro {
    padding: 5rem 0;
    background-color: #f8f9fa;
}
.intro-dialogue {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.dialogue-turn { display: flex; align-items: flex-start; gap: 1rem; }
.dialogue-turn img { height: 60px; flex-shrink: 0; }
.dialogue-turn p { margin: 0; padding: 1rem; border-radius: 10px; line-height: 1.6; }
.correct-turn p { background-color: #e3f2fd; }
.connect-turn p { background-color: #fff3e0; }


/* --- [III] The Ally's Soul: Details Section --- */
.partner-details { padding: 5rem 0; }
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.activity-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary);
}
.activity-item h3 { margin: 0 0 0.5rem 0; color: var(--color-primary); }
.activity-item p { margin: 0; line-height: 1.7; font-size: 0.9rem; }

/* (ESC専用の、グリッドレイアウト) */
.details-grid { display: grid; grid-template-columns: 1fr; gap: 5rem; }
@media (min-width: 992px) {
    .details-grid { grid-template-columns: 2fr 1fr; align-items: center; }
    .detail-section:last-child { grid-column: 2 / 3; grid-row: 1 / 2; }
}
.vision-content { background-color: #333; color: white; padding: 2.5rem; border-radius: 12px; text-align: center; }
.vision-content img { max-height: 80px; margin-bottom: 1rem; }
.vision-content p { margin: 0; line-height: 1.7; font-size: 0.9rem; color: #e0e0e0; }

/* --- [IV] The Bond: Partnership Section --- */
.partnership-section {
    padding: 5rem 0;
    background-color: #e3f2fd;
}
.partnership-points {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.point-item {
    background-color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.partnership-section > .container > p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* --- [V] The Gates to Our Ally: CTA Section --- */
.partner-cta {
    padding: 5rem 0;
    background-color: #f8f9fa;
}
.partner-cta h2 { font-family: 'Noto Serif JP', serif; font-size: 2.5rem; text-align: center; margin: 0 0 2rem 0; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* (CTAボタンの、基本スタイルは、style.cssから、継承します) */
.cta-button { display: inline-block; background-color: var(--color-primary); color: white; padding: 1rem 3rem; border-radius: 50px; text-decoration: none; font-weight: bold; font-size: 1.1rem; transition: transform 0.3s, background-color 0.3s; }
.cta-button:hover { transform: scale(1.05); }
.cta-button.secondary { background-color: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.cta-button.secondary:hover { background-color: var(--color-primary); color: white; }