@charset "UTF-8";

/*
    Hestia's Definitive Blueprint for the "Partnership" Gate
    --------------------------------------------------------
    File: partnership.css
    Role: To open the gates for new allies, defining the shape of "Connection" and "Order".
    Inheritance: Strictly follows the Oath of 1100px and the Souls of Project/Partner styles.
*/

/* --- [O] The Unbreakable Vows: Global Variables & Layout --- */
:root {
    --color-primary: #005a9e;     /* 知性の青 */
    --color-accent: #00c6fb;      /* 接続のシアン */
    --color-warning: #d32f2f;     /* 規律の赤 */
    --color-text: #333333;
    --color-bg-light: #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; }
}

/* --- [I] The Gateway to Connection: Hero Section --- */
.hero-partnership {
    min-height: 400px;
    background-image: linear-gradient(135deg, rgba(0, 91, 234, 0.9) 0%, rgba(0, 198, 251, 0.8) 100%), url('../images/common/partnership-hero.jpg'); /* 背景画像があれば指定 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    color: white;
}
/* project.css の .hero-project-content 等はそのまま継承して動作します */


/* --- [II] The Voices of Welcome: Intro Dialogue Section --- */
.intro-section {
    padding: 5rem 0;
    background-color: #fff;
}
.section-lead {
    text-align: center;
    font-family: var(--font-family-title);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--color-text);
}

.dialogue-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dialogue-turn {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

/* キャラクターアイコン：partner.cssの規律を継承しつつ、少し大きく */
.dialogue-turn img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 吹き出し：partner.cssよりも会話的な表現 */
.speech-bubble {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    position: relative;
    line-height: 1.8;
    flex-grow: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 吹き出しのしっぽ */
.speech-bubble::before {
    content: "";
    position: absolute;
    top: 25px;
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #f8f9fa;
}

/* 各キャラクターの魂の色づけ */
.connect-turn .speech-bubble { border-left: 5px solid #ffa726; } /* コネクトのオレンジ */
.connect-turn strong { color: #fb8c00; }

.correct-turn .speech-bubble { border-left: 5px solid #78909c; } /* コレクトのブルーグレー */
.correct-turn strong { color: #455a64; }

.chisamaru-turn .speech-bubble { border-left: 5px solid #ffca28; } /* ちさまるのイエロー */
.chisamaru-turn strong { color: #ff8f00; }

@media (max-width: 768px) {
    .dialogue-turn img { width: 60px; height: 60px; }
    .speech-bubble { padding: 1rem; font-size: 0.95rem; }
}


/* --- [III] The Four Forms of Alliance: Types Section --- */
.types-section {
    padding: 5rem 0;
    background-color: var(--color-bg-light);
}
.section-desc {
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* カードグリッド：project.cssの美学を継承 */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.type-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.type-header {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--color-bg-light);
}
.type-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--color-text);
    font-family: var(--font-family-title);
}
.type-header h3 span {
    display: block;
    font-size: 0.9rem;
    color: #888;
    font-weight: normal;
    margin-top: 0.3rem;
    font-family: var(--font-family-base);
}

.type-body {
    padding: 2rem;
    flex-grow: 1;
}
.type-quote {
    font-weight: bold;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.type-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.type-body li {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
    padding-left: 1rem;
    border-left: 3px solid #eee;
}
.type-body li strong {
    color: #555;
    margin-right: 0.5rem;
}


/* --- [IV] The Vows of Order: Requirements Section --- */
.requirements-section {
    padding: 5rem 0;
    background-color: white;
}
.requirements-content {
    max-width: 800px;
    margin: 0 auto;
}
.requirements-content > p {
    text-align: center;
    font-weight: bold;
    margin-bottom: 3rem;
}

.req-item {
    background-color: var(--color-bg-light);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-warning); /* 警告の赤 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.req-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
    font-family: var(--font-family-title);
    font-size: 1.2rem;
}
.req-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}


/* --- [V] The Cradle of Organization: Incubation Section --- */
.incubation-section {
    padding: 5rem 0;
    background-color: #e3f2fd; /* partner.css の partnership-section と共鳴する青 */
}
.incubation-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.incubation-img {
    flex: 1;
    text-align: center;
}
.incubation-img img {
    max-width: 100%;
    max-height: 300px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}
.incubation-text {
    flex: 2;
}
.incubation-text h3 {
    font-family: var(--font-family-title);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
}
.check-list {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #444;
}
.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}
.incubation-message {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: inline-block;
    color: #555;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .incubation-wrapper { flex-direction: column; }
    .incubation-img { margin-bottom: 2rem; }
}


/* --- [VI] The Boarding Gate: CTA Section Override (if needed) --- */
/* project.css の .project-cta をそのまま使用しますが、背景色を変えたい場合は以下 */
/* 
.project-cta.recruit-cta {
    background-color: var(--color-primary);
}
*/