/* 3カラムレイアウト */
.sub-to-srt-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* 各カラムのスタイル（枠付き & 角丸） */
.sub-to-srt-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #d3d3d3; /* 柔らかい灰色の縁取り */
    border-radius: 10px; /* 角を少し丸くする */
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.05); /* ほんのり影をつける */
}

/* STEP1, STEP2, STEP3 のヘッダー */
.step-header {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: #d63384; /* かわいいピンクの文字 */
    background-color: #ffe4e1; /* かわいい薄ピンクの背景 */
    padding: 10px;
    border-radius: 10px 10px 0 0; /* 上だけ丸く */
}

/* 可愛いファイル選択ボタン */
.custom-file-upload {
    display: inline-block;
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top:10px;
}

/* ホバー効果 */
.custom-file-upload:hover {
    background-color: #ff1493;
    transform: translateY(-2px);
}

/* 元のファイル選択ボタンを非表示に */
input[type="file"] {
    display: none;
}

/* 選択されたファイル名の表示 */
#file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/* Speaker Name の入力欄 */
.sub-to-srt-column input[type="text"] {
    width: 80%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 8px; /* 角を少し丸く */
    text-align: center; /* 中央揃え */
}

/* 変換ボタン */
.button-primary {
    display: inline-block;
    background-color: #ff69b4;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top:10px;
}

/* ホバー効果 */
.button-primary:hover {
    background-color: #ff1493;
    transform: translateY(-2px);
}

label {
    margin-top:10px;
}

.sub-to-srt-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* カラム間の間隔 */
}

.sub-to-srt-column {
    flex: 1;
    min-width: 250px; /* 最小幅を設定 */
}

/* スマホ対応（画面幅が768px以下の場合に縦並びにする） */
@media (max-width: 768px) {
    .sub-to-srt-grid {
        flex-direction: column;
        align-items: center;
    }
    .sub-to-srt-column {
        width: 100%;
    }
}

/* SUB用ファイルアップロードボタン（青系） */
.custom-file-upload-sub {
    display: inline-block;
    background-color: #0073aa; /* 青系 */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top:10px;
}
.custom-file-upload-sub:hover {
    background-color: #006799;
    transform: translateY(-2px);
}