@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 0;
    transition: padding-top 0.3s ease-in-out;
    background-color: #f8f8f8;
}
.text-gradient-brand {
    background: linear-gradient(90deg, #333333, #FFF13F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-key-color {
    color: #FFF13F;
}
.bg-key-color {
    background-color: #FFF13F;
}

.text-shadow-light {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.text-shadow-dark {
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background-color: #fefce8;
    color: #d97706;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}
.btn-hover-scale:hover {
    transform: scale(1.05);
}
.btn-hover-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.startup-intro-section {
    background-color: #ffffff;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
    color: #333333;
}
.startup-intro-overlay {
    display: none;
}
.startup-intro-content {
    position: relative;
    z-index: 2;
}
.program-details-text-box {
    background-color: #FFF13F;
    color: #333333;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.7875rem;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .program-details-text-box {
        max-width: 90%;
        padding: 1.5rem;
        font-size: 0.875rem;
    }
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    width: 4px;
    background-color: #e2e8f0;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
}

.timeline-line-active {
    position: absolute;
    left: 50%;
    width: 4px;
    background-color: #FFF13F;
    top: 0;
    height: 0;
    transition: height 0.5s ease-out;
}


.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.timeline-content {
    max-width: 45%;
    padding: 1rem 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}
.timeline-content p {
    text-align: left;
}
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 5%;
}
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 5%;
}


.timeline-point {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background-color: #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease-in-out;
}
.timeline-point.active {
     background-color: #FFF13F;
     color: #333;
}

.timeline-content h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333333;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}
.timeline-content h3 .duration-inline {
    font-size: 0.8075rem;
    font-weight: normal;
    margin-left: 0.75rem;
    color: #777777;
    white-space: nowrap;
}
.timeline-content p {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline-line, .timeline-line-active {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        margin-bottom: 40px;
    }
    .timeline-point {
        left: 20px;
        transform: translate(-50%, -50%);
    }
    .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding: 1rem;
        max-width: none;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
        margin-left: 60px;
    }
    .timeline-content h3 .duration-inline {
        display: block;
        margin-left: 0;
        text-align: left;
        margin-top: 0.25rem;
    }
}
.benefits-intro-bg-container {
    background-color: #ffffff;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    color: #333333;
}
.benefits-overlay {
    display: none;
}
.benefits-content-intro {
    position: relative;
    z-index: 2;
}

.benefit-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transform: scale(1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.benefit-card .card-top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease-in-out, margin-bottom 0.3s ease-in-out;
}

.benefit-card .card-image {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 1rem;
    transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin-bottom 0.3s ease-in-out;
}

.benefit-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333;
    transition: font-size 0.3s ease-in-out, margin-bottom 0.3s ease-in-out;
}

.benefit-card .card-text-area {
    position: relative;
    width: 100%;
    flex-grow: 1;
    min-height: 80px;
}

.benefit-card .short-description-text,
.benefit-card .full-description-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555555;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    text-align: center;
}

.benefit-card .full-description-text {
    opacity: 0;
    visibility: hidden;
    text-align: left;
}

@media (min-width: 769px) {
    .benefit-card:hover {
        transform: scale(1.05);
        box-shadow: 0 0 0 3px #FFF13F, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* ホバー時に黄色い枠線を追加 */
    }

    .benefit-card:hover .card-top-content {
        transform: translateY(-30px);
        margin-bottom: -30px;
    }

    .benefit-card:hover .card-image {
        width: 64px;
        height: 64px;
        margin-bottom: 0.5rem;
    }

    .benefit-card:hover .card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .benefit-card:hover .short-description-text {
        opacity: 0;
        visibility: hidden;
    }

    .benefit-card:hover .full-description-text {
        opacity: 1;
        visibility: visible;
    }
}

/* PCではis-activeは不要なので削除 */
/* .benefit-card.is-active {
    box-shadow: 0 0 0 3px #FFF13F, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.benefit-card.is-active .card-top-content {
    transform: translateY(-30px);
    margin-bottom: -30px;
}

.benefit-card.is-active .card-image {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
}

.benefit-card.is-active .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.benefit-card.is-active .short-description-text {
    opacity: 0;
    visibility: hidden;
}

.benefit-card.is-active .full-description-text {
    opacity: 1;
    visibility: visible;
} */

@media (max-width: 768px) {
    .benefit-card .short-description-text {
        opacity: 0;
        visibility: hidden;
    }
    .benefit-card .full-description-text {
        opacity: 1;
        visibility: visible;
        position: static;
        text-align: left;
    }
    .benefit-card .card-top-content {
        transform: none;
        margin-bottom: 1rem;
    }
    .benefit-card .card-image {
        width: 96px;
        height: 96px;
        margin-bottom: 1rem;
    }
    .benefit-card .card-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    .benefit-card {
        min-height: auto;
        height: auto;
        padding-bottom: 1.5rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    .benefit-card.is-active { /* スマホではis-activeを維持し、デフォルトのシャドウに戻す */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
}


.mentor-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mentor-image-container {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.mentor-image-container img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.mentor-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 5px solid transparent;
    border-top-color: #FFF13F;
    border-right-color: #FFF13F;
    border-radius: 50%;
    z-index: 1;
    animation: rotate-border 2s linear infinite;
    box-shadow: 0 0 10px rgba(255, 241, 63, 0.8);
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.mentor-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.5rem;
}
.mentor-card p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    text-align: left;
}

.wavy-divider {
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 25 0, 50 5 T 100 5' stroke='%23d1d5db' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 50px 10px;
    margin: 1.5rem auto;
    opacity: 0.7;
    width: 100%;
}

.faq-item details {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    outline: none;
    position: relative;
}

.faq-item summary::marker,
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary svg {
    transition: transform 0.2s ease-in-out;
}

.faq-item details[open] summary svg {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    padding: 1.5rem 1.5rem 1.25rem 1.5rem;
    color: #555555;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}

#back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #FFF13F;
    color: #333333;
    border-radius: 0.375rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease-in-out;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top-btn:hover {
    background-color: #333333;
    color: #FFF13F;
    transform: translateY(-2px);
}

.section-with-video-bg {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.section-with-video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}
.section-with-video-bg .video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}
.section-with-video-bg .content-wrapper {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
    }
}

#main-header nav ul li a {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

#main-header nav ul li a:hover {
    background-color: #FFF13F;
    color: #333333;
}

#main-header nav ul li:last-child a:hover {
    filter: brightness(0.9);
}
