.internship {
    background-color: #fff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 750px;
    text-align: left; /* デフォルトの左揃えを維持 */
}

.internship h2 {
    font-size: 24px;
    color: #0e0e67;
    margin-bottom: 10px;
    text-align: center; /* 中央揃え */
}

.internship h3 {
    font-size: 20px;
    margin-top: 20px;
    color: #555;
}

.internship ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
    max-width: 700px; /* 幅を制限 */
    margin-left: auto; /* 左右を中央寄せ */
    margin-right: auto;
}

.internship ul li {
    margin-bottom: 8px;
}

.internship p {
    margin-top: 10px;
    max-width: 700px; /* 幅を制限 */
    margin-left: auto; /* 左右を中央寄せ */
    margin-right: auto;
}

.apply-button {
    display: block; /* 必要に応じて inline-block に変更 */
    margin: 20px auto 0;
    background-color: #0e0e67;
    color: #fff;
    padding: 10px 15px; /* パディングを減少 */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    width: 150px; 
}

.apply-button:hover {
    background-color: #3535a6;
}

/* 背景画像セクション */
.home-image-container {
    position: relative;
    width: 100%;
    height: 400px; /* 高さを調整 */
    overflow: hidden;
}

.home-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9; /* 若干の透明感を追加 */
}

/* 暗いオーバーレイ */
.home-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 暗いオーバーレイ */
    z-index: 1;
}

/* テキストのスタイル */
.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2; /* オーバーレイより前に配置 */
    text-align: center;
    width: 80%;
}


