@font-face {
    font-family: 'Sawarabi Mincho';
    src: url('SawarabiMincho-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'TrmFontJB';
    src: url('TrmFontJB.ttf') format('truetype');
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
    box-sizing: border-box;
}

.plate {
    font-size: 24px;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #000;
    display: inline-block;
    text-align: center;
}

.white-green {
    background-color: white;
    color: green;
}

.green-white {
    background-color: green;
    color: white;
}

.yellow-black {
    background-color: yellow;
    color: black;
}

.black-yellow {
    background-color: black;
    color: yellow;
}

.laser1 {
    color: brown;
}

.laser2 {
    color: black;
}

input[type="text"], select {
    border: 2px solid #007bff;
    border-radius: 4px;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
    text-align: center;
    background-color: #e6f2ff;
    color: #004080;
    margin-bottom: 30px;
}

input[type="text"]:focus, select:focus {
    outline: none;
    border-color: #0056b3;
    background-color: #cce6ff;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

button:hover {
    background-color: #0056b3;
}

/* フォームラベルのスタイル */
.label-container {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* カテゴリおよびナンバーコンテナのスタイル */
.category-container, .number-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.category-input, .number-input {
    width: 30%;
    padding: 8px;
    margin: 0 1%;
    box-sizing: border-box;
    text-align: center;
    background-color: #e6f2ff;
    color: #004080;
    border: 2px solid #007bff;
    border-radius: 4px;
}

.category-input:focus, .number-input:focus {
    outline: none;
    border-color: #0056b3;
    background-color: #cce6ff;
}

#downloadButton {
    margin-top: 10px;
}

#imageContainer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#laserImageContainer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

#hiraganaContainer {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .category-input, .number-input {
        width: 23%;
        padding: 6px;
        font-size: 14px;
    }

    button {
        padding: 8px;
        font-size: 14px;
    }

    .plate {
        font-size: 20px;
        padding: 8px;
    }

    .container {
        padding-top: 40px;
        max-width: 90%;
    }

    h1 {
        margin-top: 20px;
        font-size: 18px;
        text-align: center;
    }

    .modal-dialog {
        max-width: 100%;
    }
}

/* ボタンの色を青色に統一 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* ナビゲーションバーとフッターの青系カラー */
.navbar {
    background-color: #007bff;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff;
}

.navbar .nav-link:hover {
    color: #d4d4d4;
}

footer {
    background-color: #007bff;
}

footer p, footer a {
    color: #fff;
}

footer a:hover {
    color: #d4d4d4;
}

.modal-dialog {
    max-width: 90%;
}

.modal-title {
    white-space: nowrap; /* 改行を防止 */
}

/* 新しいスタイルを追加 */
.text-primary {
    color: #007bff;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* キャッチコピーのスタイル */
.catch-copy {
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* 赤系のグラデーション */
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.5rem; /* 一段階小さく */
}
