body {
    font-family: "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

th {
    font-weight: 600;
}

.msg {
    font-size: 1.2rem;
}

/**********************
  フォーム
 *********************/

form th,
form td {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

form input {
    padding: 4px 10px;
}

form textarea {
    width: 90%;
    padding: 4px 10px;
}

form select {
    padding: 4px 10px;
}

.center {
    justify-content: center;
}

.tag-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag-block input[type="checkbox"] {
    vertical-align: middle;
    margin: 3px 0 0 0;
}

.tag-block .label {
    line-height: 1.2;
    margin: 3px 0 0 0 !important;
}

.tag-block .required-tag {
    display: inline-flex;
    align-items: center;
    background-color: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 2px;
    padding: 2px 10px;
}

.example {
    margin-left: 10px;
}

/* アプリ名の行は「アプリに関するお問い合わせ」を選んだときだけ出す（:has() が使えないブラウザでは常に表示） */
#contactTable:has(select[name="category"] option[value="3"]:not(:checked)) .app-name-row {
    display: none;
}

.confirm th {
    width: 200px;
}

/* 添付画像 */
.attachment-help {
    margin-top: 6px;
    font-size: 0.9em;
    color: #6c757d;
}

.attached-files {
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    font-size: 0.9em;
}

.attached-files ul {
    margin: 4px 0 6px;
    padding-left: 1.2em;
}

.attached-files label {
    margin: 4px 0 0;
}
