/* =========================
   URL一括オープン用UI追加
   ========================= */

/* 説明文（注意書き） */
p[style*="color: red"] {
    color: #c0392b !important;
    background-color: #fdecea;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 10px;
    margin: 1rem auto;
    max-width: 700px;
    font-size: 0.9rem;
    text-align: left;
}

/* テキストエリア */
#inputUrl {
    width: 100%;
    max-width: 700px;
    height: 220px;
    padding: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: vertical;
    box-sizing: border-box;
    margin: 1rem auto;
    display: block;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#inputUrl:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* ボタン共通 */
button {
    font-size: 0.95rem;
    padding: 10px 18px;
    margin: 0.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.1s;
}

/* 実行ボタン */
#btnSubmit {
    background-color: #3498db;
    color: #fff;
}

#btnSubmit:hover {
    background-color: #1e70bf;
}

#btnSubmit:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* クリアボタン */
#btnClear {
    background-color: #95a5a6;
    color: #fff;
}

#btnClear:hover {
    background-color: #7f8c8d;
}

/* ボタンをまとめて見やすく */
#btnSubmit,
#btnClear {
    min-width: 160px;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
    #inputUrl {
        height: 180px;
        font-size: 0.9rem;
    }

    button {
        width: 100%;
        max-width: 300px;
        margin: 0.4rem auto;
        display: block;
    }
}