body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000000; /* 背景色を黒に */
    color: #ffffff; /* 文字色を白に */
}

@font-face {
    font-family: 'IPAexGothic';
    src: url('font/./ipaexg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    font-display: swap; /* オプション: フォントのロード方法を指定します */
}

/* すべての要素に対してIPAexゴシックフォントを適用 */
* {
    font-family: 'IPAexGothic', Arial, sans-serif;
}

.container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #444; /* 枠線の色を変更 */
    border-radius: 8px;
    background-color: #222; /* 背景色をダークグレーに */
}

h2 {
    color: #38b48b; /* ヘッダーの色を維持 */
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff; /* ラベルの色を白に */
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #444; /* 入力フィールドの背景色を暗く */
    color: #ffffff; /* 入力フィールドの文字色を白に */
}

button {
    padding: 10px 20px;
    background-color: #38b48b; /* ボタンの背景色を維持 */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #086776; /* ホバー時の色を変更 */
}

.url-link {
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: #38b48b; /* URLリンクの色を維持 */
}

.copy-message {
    color: #00ff00; /* コピー成功メッセージの色を変更 */
    display: none;
    margin-top: 10px;
    text-align: center;
}

@media (min-width: 600px) {
    .container {
        padding: 40px;
    }

    button {
        width: auto;
    }
}
