/* 背景グラデーション（パステル） */

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(to bottom right, #fff59e, #ffc079);
    /* パステルイエロー → パステルオレンジ */
    padding: 20px;
    text-align: center;
    margin: 0;
    min-height: 100vh;
}


/* タイトル */

h1 {
    color: #333;
    font-size: 32px;
    margin-bottom: 10px;
}


/* 説明文 */

p {
    color: #444;
    font-size: 16px;
}


/* 入力・選択・ボタン */

input,
select,
button {
    margin: 10px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* ボタン共通 */

button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #45a049;
}


/* コピー用ボタンだけ色変える */

#copyBtn {
    background-color: #2196F3;
}

#copyBtn:hover {
    background-color: #0b7dda;
}


/* 結果の表示 */

#result {
    font-weight: bold;
    margin-top: 20px;
    color: #007bff;
    font-size: 18px;
}


/* 履歴コンテナ */

#historyContainer {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 30px;
    background-color: white;
    text-align: left;
    width: 90%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}


/* リストの黒丸消す */

ul {
    padding-left: 0;
    list-style-type: none;
    margin: 0;
}


/* リスト1件ずつ */

li {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}


/* 左寄せ用スタイル（about / privacyページ用） */

body.left-align {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}


/* レスポンシブ対応（スマホで見やすく） */

@media (max-width: 600px) {
    input,
    select,
    button {
        width: 90%;
        font-size: 18px;
    }
    #result {
        font-size: 16px;
    }
    #historyContainer {
        font-size: 14px;
    }
}