

#scheduleRegist {
    width: 100%;
}

/*=========================
  全体
=========================*/
.schedule-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.schedule-container h2 {
    text-align: center;
    color: #e67d97;
    margin-bottom: 35px;
    font-size: 28px;
    line-height: 1.4;
}

.schedule-container .schedule-columns {
    width: 100%;
    background: #fff;
}

/*=========================
  左右レイアウト
=========================*/
.schedule-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.schedule-form-area {
    flex: 1 1 380px;
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.schedule-list-area {
    flex: 1.2 1 520px;
    min-width: 0;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    color: #333;
}

.schedule-list-area h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #e67d97;
    line-height: 1.4;
}

.target-date {
    font-weight: bold;
    margin-bottom: 15px;
    color: #555;
}

/*=========================
  フォーム
=========================*/
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
    line-height: 1.5;
}

.scheduleRegist-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}
input[type="date"],
input[type="time"],
select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    box-sizing: border-box;
    transition: .3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: #ef9cb2;
    box-shadow: 0 0 6px rgba(239,156,178,.35);
}

/*=========================
  ラジオボタン
=========================*/
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 8px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

/*=========================
  ボタン
=========================*/
.button-area {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.schedule-container .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    max-width: none;
    min-height: 48px;
    padding: 10px 24px;
    line-height: 1.4;
    font-size: 16px;
    white-space: normal;
}

/*=========================
  一覧テーブル
=========================*/
.schedule-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
}

.schedule-table th {
    background: #f8dbe4;
    color: #555;
    padding: 10px;
    border: 1px solid #e5e5e5;
    white-space: nowrap;
}

.schedule-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #e5e5e5;
    vertical-align: middle;
}

.schedule-table tr:nth-child(even) {
    background: #fcfcfc;
}
/*
.schedule-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap:20px;
}
  */
.schedule-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.schedule-actions form {
    margin: 0;
}
.schedule-table a {
    display: inline-block;
    background-color: #e26f90;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 4px;
    line-height: 1.3;
    transition: background-color 0.2s;
}

.schedule-table a:hover {
    text-decoration: underline;
    background-color: #d45b7d;
    text-decoration: none;
}

.editSchedule {
    display: inline-block;
    background-color: #f77ecd;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s;
}
.editSchedule:hover {
    background-color: #df5252;
}

.scheduleDelButton {
   display: inline-block;
    background-color: #f36b6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s;
}
.scheduleDelButton:hover {
  background-color: #df5252;
}

/*=========================
  ステータス
=========================*/
.status-ok {
    color: #2e8b57;
    font-weight: bold;
}

.status-ng {
    color: #d9534f;
    font-weight: bold;
}

/*=========================
  エラー表示
=========================*/
.is-error {
    border-color: #dc3545 !important;
}

/*=========================
  レスポンシブ
=========================*/
@media screen and (max-width: 900px) {
    .schedule-container {
        margin: 24px 16px;
        padding: 24px;
    }

    .schedule-layout {
        flex-direction: column;
        gap: 24px;
    }

    .schedule-form-area,
    .schedule-list-area {
        width: 100%;
        flex-basis: auto;
    }

}

@media screen and (max-width: 600px) {
    .schedule-container {
        margin: 16px 10px;
        padding: 18px 14px;
        border-radius: 8px;
    }

    .schedule-container h2 {
        margin-bottom: 24px;
        font-size: 22px;
    }

    .schedule-form-area,
    .schedule-list-area {
        padding: 16px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .button-area {
        margin-top: 28px;
        flex-direction: column;
        gap: 12px;
    }

    .schedule-container .submit-button {
        width: 100%;
        min-width: 0;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 9px 8px;
        font-size: 14px;
    }
}
