/*
    Hestia's Ultimate and Unabridged Blueprint for the Education & BCP Page
    -----------------------------------------------------------------------
    File: education.css
    Role: To create a definitive page that speaks to both hearts and minds, with no omissions.
*/

/* --- [I] The World of Hope: School Lecture Section --- */
.hero-school {
    background-image: linear-gradient(to top, rgba(0, 100, 180, 0.8), rgba(80, 180, 240, 0.4)), url('../images/projects/school-hero.jpg');
}

.education-intro {
    padding: 5rem 0;
    background-color: #f8f9fa;
}
.intro-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}
.intro-container.reverse {
    flex-direction: row-reverse;
}
.intro-guide {
    flex-shrink: 0;
}
.intro-guide img {
    height: 150px;
}
.intro-text {
    max-width: 650px;
}
.intro-text h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    margin: 0 0 1rem 0;
    color: var(--color-primary);
}
.intro-text p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Program List Design */
.project-details {
    padding: 5rem 0;
}
.program-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto 3rem auto;
}
.program-item summary {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: background-color 0.3s;
    font-size: 1.1rem;
}
.program-item summary:hover {
    background-color: #f8f9fa;
}
.program-item summary::after {
    content: '▼';
    margin-left: auto;
    transition: transform 0.3s;
    font-size: 0.9rem;
}
.program-item[open] summary {
    background-color: #e3f2fd;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.program-item[open] summary::after {
    transform: rotate(180deg);
}
.program-detail {
    padding: 1.5rem;
    margin: 0;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
    border: 1px solid #e3f2fd;
    border-top: none;
}
.program-detail p {
    margin: 0;
    line-height: 1.7;
}
.pricing-info {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: #e9ecef;
    border-radius: 8px;
}

/* --- [II] The Bridge Between Worlds --- */
.section-divider {
    padding: 3rem 0;
    background-color: #fff3e0;
}
.section-divider .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}
.section-divider img {
    height: 80px;
}
.section-divider p {
    margin: 0;
    font-weight: bold;
    color: #fb8c00;
}

/* --- [III] The World of Reason: BCP Support Section --- */
.hero-bcp {
    background-image: linear-gradient(to top, rgba(10, 30, 50, 0.8), rgba(40, 60, 80, 0.4)), url('../images/projects/bcp-hero.jpg');
}
.bcp-intro .intro-text h2 {
    color: #d32f2f;
}
.bcp-details {
    background-color: #f8f9fa;
    padding: 5rem 0;
}

/* BCP Packages Design */
.bcp-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.package-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.package-card:hover {
    transform: translateY(-10px);
}
.package-card.featured {
    border-color: var(--color-secondary);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.2);
    z-index: 1;
}
@media (max-width: 992px) {
    .package-card.featured {
        transform: scale(1); /* スマホでは、拡大しない */
    }
}
.featured-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-secondary);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}
.package-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}
.package-subtitle {
    font-weight: bold;
    color: #555;
    margin-bottom: 1.5rem;
    min-height: 2.4em; /* サブタイトルの高さを揃える */
}
.package-price {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.package-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    flex-grow: 1;
}
.package-bundle {
    margin-top: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #424242, #212121);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
}
.package-bundle h3 {
    font-family: var(--font-family-title);
    font-size: 1.8rem;
}
.bundle-price {
    font-family: var(--font-family-title);
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-top: 1rem;
}

/* --- [IV] Final Call to Action --- */
.project-cta {
    /* (共通スタイルを、そのまま、適用いたします) */
}