/* --- Development Plan Page Styles (Investor Version) --- */

/* Plan Cover Slide */
#plan-cover {
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.9), rgba(23, 58, 94, 0.85)), url('img/blackbg.jpg') center/cover no-repeat;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 5%;
}

#plan-cover h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-top: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: -1px;
}

#plan-cover p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-weight: 500;
    line-height: 1.6;
}

.plan-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* auto-fitから3に変更 */
    gap: 40px;
    margin-top: 60px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.18);
}

.principle-card i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.principle-card h3 {
    font-size: 1.9rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.principle-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    flex-grow: 1;
    line-height: 1.7;
}

/* General Horizon Styles */
.horizon-goal {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--success-color);
    background: linear-gradient(135deg, #f1f8e9, #e8f5e8);
    border: 2px solid #c8e6c9;
    padding: 25px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 950px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.15);
}

.horizon-wont-do {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* PoC Section Styles */
#plan-poc {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#plan-poc .slide-content {
    max-width: 1200px;
    width: 100%;
}

#plan-poc .section-header {
    margin-bottom: 60px;
}

#plan-poc .section-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 3.2rem;
    font-weight: 800;
}

#plan-poc .section-header p {
    color: var(--gray-color);
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

.poc-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.poc-item:first-of-type {
    grid-column: 1 / 2;
}

.poc-item:last-of-type {
    grid-column: 3 / 4;
}

.poc-item {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 90%;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.poc-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.poc-item h3 {
    color: var(--dark-color);
    font-size: 1.9rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.poc-item p {
    flex-grow: 1;
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.poc-gate {
    grid-column: 2 / 3;
    align-self: center;
    text-align: center;
    padding: 30px 0;
}

.poc-gate i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.poc-gate:hover i {
    transform: scale(1.1);
}

.poc-gate h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.poc-gate p {
    font-size: 1rem;
    color: var(--gray-color);
    margin: 0;
    max-width: 220px;
    line-height: 1.6;
}

/* NOW Horizon Styles */
#plan-now {
    background: linear-gradient(135deg, #f9fbe7, #f0f9ff);
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#plan-now .slide-content {
    max-width: 1200px;
    width: 100%;
}

#plan-now .section-header {
    margin-bottom: 60px;
}

#plan-now .section-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 3.2rem;
    font-weight: 800;
}

#plan-now .section-header p {
    color: var(--gray-color);
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

.horizon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: stretch;
    margin-top: 40px;
    max-width: 100%;
}

.horizon-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: left;
    position: relative;
    border-top: 5px solid var(--success-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.horizon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3.5rem;
    font-weight: 900;
    color: #e0f2f7;
    z-index: 1;
}

.horizon-card h4 {
    color: var(--success-color);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.horizon-card p {
    color: var(--dark-color);
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 1.05rem;
    line-height: 1.8;
}

.success-criteria {
    margin-top: 60px;
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    border-left: 6px solid var(--primary-color);
    text-align: left;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 950px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.success-criteria h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.success-criteria p {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-color);
    line-height: 1.8;
}

/* NEXT & LATER Horizon Styles */
#plan-next-later {
    background: linear-gradient(135deg, #f8fafc, #e6fffa);
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#plan-next-later .slide-content {
    max-width: 1200px;
    width: 100%;
}

#plan-next-later .section-header {
    margin-bottom: 60px;
}

#plan-next-later .section-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 3.2rem;
    font-weight: 800;
}

#plan-next-later .section-header p {
    color: var(--gray-color);
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
}

.next-later-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    text-align: left;
    margin-top: 40px;
    max-width: 100%;
}

.horizon-column {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.horizon-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.horizon-column h3 {
    font-size: 2rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    margin-top: 0;
    font-weight: 700;
}

.horizon-column .horizon-description {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.8;
    flex-shrink: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.feature-list li {
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 18px;
    width: 35px;
    text-align: center;
    margin-top: 8px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}

.feature-description {
    font-size: 1.05rem;
    color: var(--gray-color);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    #plan-cover h1 { 
        font-size: 3.2rem; 
    }
    
    #plan-cover p { 
        font-size: 1.3rem; 
    }
    
    .plan-principles {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .poc-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .poc-gate {
        grid-column: 1 / 2;
        margin: 30px auto;
    }
    
    .poc-gate i {
        transform: rotate(90deg);
    }
    
    .poc-item, .poc-gate {
        flex: 1 1 auto;
        width: auto;
    }
    
    .horizon-goal, .horizon-wont-do, .success-criteria {
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .next-later-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    #plan-poc .section-header h2, 
    #plan-now .section-header h2, 
    #plan-next-later .section-header h2 {
        font-size: 2.8rem;
    }
    
    #plan-poc .section-header p, 
    #plan-now .section-header p, 
    #plan-next-later .section-header p {
        font-size: 1.1rem;
    }
    
    .horizon-grid {
        grid-template-columns: 1fr;
    }
}