.schedule {
    position: relative;
    font-size: 14px;
}
.schedule::before {
    position: absolute;
    top: 0px;
    left: 6.5em;
    width: 6px;
    height: 100%;
    background-color: #deeef7;
    content: "";
}
.schedule ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}
.schedule li {
    position: relative;
    display: flex;
    /* align-items: center; */
    width: 100%;
    margin-bottom: 24px;
}
.schedule_time {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 5em;
    height: 2em;
    border-radius: 6px;
    background-color: var(--top);
    color: #fff;
    text-align: center;
    margin-top: 5px;
}
.schedule_time::before {
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateX(50%) translateY(-50%) rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    z-index: -1;
    background-color: var(--top);
    content: "";
}
.schedule_time::after {
    position: absolute;
    top: 50%;
    left: 6em;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: var(--top);
    content: "";
}
.schedule_content {
    margin: 0px 0px 0px 3em;
    width: calc(100% - 8em);
}
.schedule_content_title {
    font-weight: bold;
    font-size: 1rem;
}
.schedule_content_detail p{
    margin-bottom: 0;
    font-size: 1rem;
}

.schedule-icon{
    display: flex;
    gap: 10px;
}

.program-2col{
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.schedule li .schedule_time.st_top {
    align-self: flex-start;
    margin-bottom: 0.5rem;
}
.program-2col-text{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}
/* 外枠（グラデーションボーダー） */
.banner-container {
    padding: 8px; /* 線の太さ */
    /* background: linear-gradient(135deg, #70c158, #0099cc, #004b97); */
    background: var(--top);
    border-radius: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 内側の白い背景部分 */
.inner-content {
    background-color: #fdfaf5; /* 少し温かみのある白 */
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    color: #333;
}

/* タイトル */
.title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--top);
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--top);
    display: inline-block;
    padding-bottom: 5px;
    position: relative;

    /* 文字グラデーションの設定 */
    /* background: linear-gradient(to right, #1a73b1 0%, #1a73b1 50%, #70c158 80%); */
     /* 背景を文字の形に切り抜く */
    /* -webkit-background-clip: text; */
    /* 文字自体の色を透明にする */
    /* -webkit-text-fill-color: transparent;  */
}

/* 説明文 */
.description {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.instruction {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* 期限 */
.deadline {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}
.program .schedule a{
    transition: all 0.5s;
}

.program .schedule a:hover{
    opacity: 0.6;
}

/* ボタン */
.program .schedule .form-button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-w);
    padding: 15px 60px;
    border-radius: 50px;
    /* ボタンのグラデーション */
    /* background: linear-gradient(to right, #e8f5d6, #c5daeb); */
    background: var(--top);
    /* border: 2px solid #8fc31f;  */
    /* box-shadow: 0 4px 0 #b0c4d8; 立体感 */
    transition: transform 0.2s;
}

/* ボタンホバー時 */
.program .schedule .form-button:hover {
    transform: scale(1.1);
    text-decoration: none;
    /* box-shadow: 0 2px 0 #b0c4d8; */
    opacity: 0.8;
}

.program .schedule .form-button:visited {
    color: var(--text-w);
}

@media (max-width: 992px) {
    .schedule_time {
        margin-top: 0;
    }
    .banner-container {
        padding: 8px; /* 線の太さ */
        border-radius: 30px;
        width: 100%;
        margin-bottom: 1rem;
    }

    /* 内側の白い背景部分 */
    .inner-content {
        border-radius: 30px;
        padding: 16px;
    }

    /* タイトル */
    .title {
        font-size: 1.5rem;
    }

    /* 説明文 */
    .description {
        font-size: 1rem;
        text-align: left;
    }

    .instruction {
        font-size: 0.8rem;
    }

    /* 期限 */
    .deadline {
      font-size: 1rem;
    }

    /* ボタン */
    .form-button {
        font-size: 1rem;
        padding: 15px 0;
        width: 100%;
        transition: none;
    }
    .program-2col{
        gap: 16px;
    }
    .schedule_content_detail p{
        margin-bottom: 0;
    }

}
