.experience {
    padding: 80px 0;
    background: #fff;
}

.experience-header {
    text-align: center;
    margin-bottom: 60px;
}

.experience-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #0099B0;
    line-height: 1.5;
}

.experience-title {
    font-size: 32px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.experience-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-text {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
    line-height: 2;
}

.text-container {
    position: relative;
    overflow: hidden;
    max-height: 80px;
    transition: max-height 0.5s ease;
}

.text-container.expanded {
    max-height: 2000px; /* 十分な高さを設定 */
}

.text-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.read-more-btn {
    display: block;
    margin: 10px auto 30px;
    padding: 8px 15px;
    background: #0099B0;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    width: 230px;
}

.read-more-btn:hover {
    background: #007a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.experience-text p {
    margin-bottom: 1.5em;
    white-space: pre-line;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-align: justify;
    text-justify: inter-character;
}

.experience-more {
    display: block;
    width: 230px;
    margin: 40px auto 0;
    padding: 15px 0;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    text-align: center;
}

.experience-more:hover {
    background: #222222;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .experience {
        padding: 40px 0;
    }

    .experience-title {
        font-size: 24px;
    }

    .experience-image {
        height: 200px;
        margin-bottom: 30px;
    }

    .experience-content {
        padding: 0;
    }

    .experience-text {
        padding: 0 20px;
        font-size: 14px;
    }

    .text-container {
        max-height: 100px;
    }

    .text-gradient {
        height: 60px;
    }

    .read-more-btn {
        width: 80%;
        max-width: 230px;
        margin: 10px auto 20px;
        padding: 10px;
        font-size: 13px;
    }

    .experience-text p {
        font-size: 14px;
        line-height: 1.7;
        letter-spacing: 0.01em;
        text-align: left;
    }

    .experience-more {
        width: 80%;
        max-width: 300px;
        margin-top: 30px;
        padding: 12px 0;
        font-size: 14px;
    }
} 