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

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: 50px;
}

p {
    font-size: 18px;
    margin-left: 100px;
    line-height: 200%;
}

th {
    font-weight: 600;
}


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

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

form input {
    padding: 4px 10px;
}

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

/* 応募書類（ファイルの添付か URL のどちらか） */
.docs-lead {
    line-height: 1.7;
}

.docs-notes {
    margin-top: 2px;
    font-size: 0.85em;
    line-height: 1.7;
    color: #6c757d;
}

.docs-box {
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* form label の margin-left: 8px を打ち消して入力欄と左を揃える */
form .docs-label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.9em;
    font-weight: 600;
}

.docs-help {
    margin-top: 6px;
    font-size: 0.85em;
    line-height: 1.6;
    color: #6c757d;
}

/* 「または」の区切り線 */
.docs-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    font-size: 0.85em;
    color: #6c757d;
}

.docs-or::before,
.docs-or::after {
    content: "";
    flex: 1;
    border-top: 1px solid #dee2e6;
}

form .url-input {
    width: 100%;
}

/* 入力画面の項目名の列。添付・URL の説明文が長く、自動では列が細くなるので固定する（追加前と同じ幅） */
form #contactTable th {
    width: 254px;
}

form select {
    padding: 4px 10px;
}

form label {
    margin-left: 8px;
}

label.disabled {
    color: #999;
    pointer-events: none;
}

.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;
}

.notice {
    font-size: 0.8rem;
    font-weight: 500;
    color: #dc3545;
    margin-left: 10px;
}

.msg {
    font-size: 1.2rem;
}

.example {
    margin-left: 10px;
}

.confirm th {
    width: 200px;
}

/* 確認画面から戻ったときの添付済みファイル（ファイル選択の上に出す） */
.attached-files {
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    font-size: 0.85em;
}

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

form .attached-files label {
    margin: 0;
}
