@charset "UTF-8";
@font-face {
  src: "";
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "BIZ UDPゴシック", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-display: auto;
}
html,
body,
form,
table {
  font-size: 15px;
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "BIZ UDPゴシック", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.6;
}

input[type=text] {
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "BIZ UDゴシック", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

body#bg_body {
  position: relative;
  background: #edf2ff;
  min-height: 100vh;
}
body#bg_body #wrapper {
  margin: auto;
  background: #fff;
  min-height: 90vh;
  position: relative;
  padding-top: 3em;
  padding-bottom: 120px;
  box-sizing: border-box;
}
body#bg_body main.main-block {
  /*お問合せ先のスペース分空ける*/
  display: block;
  padding-bottom: 100px;
}

table td {
  line-height: 1.6;
  text-align: left;
}

.top_d {
  margin: auto;
  font-size: 22px;
  font-weight: bold;
  padding: 1rem;
  background: #2f44ad;
  color: #fff;
}

.top_d2 {
  margin: auto;
  font-size: 13pt;
  color: #f0f8ff;
  font-weight: bold;
  padding: 5px;
  background-color: #2f44ad;
}

.info_box h5, .info_box_b h5 {
  background: #2f44ad;
  color: #fff;
  padding: 0.5rem 1rem;
}

.info_box_b {
  border: #2f44ad 1px solid;
}

.lbl1 {
  display: block;
  width: 100%;
  height: 100%;
}

/****フォント****/
.sp01 {
  font-size: 9pt;
}

.sp02 {
  font-weight: bold;
}

.sp03 {
  background-color: #191970;
  color: #ffffff;
  padding: 2px;
}

.sp04 {
  font-size: 12pt;
}

.sp05 {
  /* アンカータグ風 */
  cursor: pointer;
  text-decoration: underline;
  color: #0000cd;
}

.sp06 {
  /*半角スペース*/
  margin-left: 0.5em;
}

.sp07 {
  /*全角スペース*/
  margin-left: 1em;
}

.sp08 {
  text-align: left;
}

.sp09 {
  color: #ff0000;
  font-size: 22px;
}

.sp10 {
  text-align: center;
}

.p_button01 {
  /* ボタン風リンク */
  background: #ffb6c1;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  color: #111;
  width: 100px;
  padding: 3px 0;
}

.p_button02 {
  /* ボタン風リンク */
  background: #eee;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  color: #111;
  width: 100px;
  padding: 3px 0;
}

.chousabi {
  border: 1px solid black;
  width: 200px;
  text-align: left;
  display: inline-block;
  margin: 10px 0px;
  padding: 5px;
}

.datepicker {
  width: 100px;
}

/***** ボタンの設定 *****/
input[type=checkbox],
input[type=radio] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-top: -2px;
}

#a_dl,
#a_dl2, input[type=submit].button,
input[type=button].button,
button.button {
  font-size: 16px;
  background: #2f44ad;
  color: #fff;
  border: none;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=submit] :hover,
input[type=button] :hover,
button:hover {
  filter: alpha(opacity=80);
  opacity: 0.8;
}

input[type=submit],
button {
  padding: 15px;
}

input[type=button] {
  padding: 10px;
}

.back {
  margin-right: 20px;
}

/******mainの装飾******/
.dl {
  background: #246eb8;
  font-weight: bold;
}

.up {
  background: #ce3c62;
  font-weight: bold;
  line-height: 150%;
}

.info, .index {
  font-size: 1.05rem;
  border: 2px solid #2f44ad;
  border-radius: 5px;
  background: #edf2ff;
  padding: 10px;
  line-height: 150%;
}

.index {
  text-align: left;
}

.limt_day {
  font-size: 1.1rem;
  font-weight: bold;
  border: 2px solid #2f44ad;
  border-radius: 5px;
  background: #edf2ff;
  padding: 10px;
  line-height: 150%;
}

.limit-date {
  font-size: 20px;
}

.a_dl {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  /**↑リセットcss**/
  display: block;
  text-decoration: none;
}

#a_dl,
#a_dl2 {
  margin: auto;
  padding: 15px;
  line-height: 150%;
  font-weight: bold;
  background: #246eb8;
}

#a_dl:hover,
#a_dl2:hover {
  filter: alpha(opacity=80);
  opacity: 0.8;
  cursor: default;
}

.err {
  background: #ff6666;
}

.err_box {
  width: 700px;
  border: 2px solid #333;
  color: #333;
  padding: 5px;
  font-size: 17px;
  font-weight: bold;
  background-color: #f7f7f7;
  margin: auto;
  line-height: 2;
  text-align: center;
}

footer {
  margin: auto;
  position: absolute;
  bottom: 50px;
  left: 45px;
  right: 45px;
}

span.link {
  color: #2f44ad;
  text-decoration: underline;
}

span.link:hover {
  cursor: pointer;
}

.btn_fixarea {
  position: fixed;
  bottom: 15px;
  right: 15px;
  padding: 5px;
}

div#dropzone {
  border: #2f44ad 2px dashed;
  height: 150px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #757a85;
}

ul.explain-list li {
  list-style: none;
  text-indent: -1.5em;
  margin-bottom: 0.5rem;
}

.font-s {
  font-size: 0.9em;
}

.text-indent {
  text-indent: 1rem;
}

.text-list {
  padding-left: 1rem;
  text-indent: -1rem;
  display: inline-block;
}

.dl-area {
  width: 100%;
  border: 1px solid gray;
  display: flex;
  flex-wrap: wrap;
  /* スマホ幅（例：576px以下）の場合 */
}
.dl-area .dl-title {
  background: gray;
  color: #fff;
  flex-basis: 100%;
  padding: 0.25rem 0.5rem;
}
.dl-area .dl-link {
  flex-basis: 50%;
  padding: 1rem;
  border-right: 1px solid gray;
  display: flex;
  align-items: center;
}
.dl-area .dl-link button[type=button] {
  padding: 0;
  border: 0;
  background: inherit;
  color: #2f44ad;
  text-decoration: underline;
}
.dl-area .dl-list {
  flex-basis: 50%;
  padding: 1rem;
}
@media (max-width: 576px) {
  .dl-area .dl-link,
  .dl-area .dl-list {
    flex-basis: 100%; /* 縦並び */
  }
  .dl-area .dl-link {
    border-right: none; /* 右線は不要 */
    margin-bottom: 0; /* 余白調整 */
  }
}

#dummy_upload_btn {
  background: gainsboro;
  border-radius: 0;
  font-size: 14px;
  color: #111;
  padding: 0.25rem 0.5rem;
  border: 1px solid grey;
}

#dummy_upload_btn:hover {
  cursor: pointer;
}

/* 提出ボタン スマホ幅で横幅60% */
@media (max-width: 576px) {
  #uploadbtn {
    width: 60% !important;
  }
}/*# sourceMappingURL=style.css.map */

/* 1. 各項目の間隔を広げる */
.upload-item-box {
    margin-bottom: 25px; /* ここでA, B, 画像間の余白を調整 */
    padding-bottom: 10px;
}

/* 2. 画像ファイル選択時のメリハリ強化 */
#row3 {
    margin-top: 15px;
    padding: 15px 15px 0 15px;
    border-radius: 5px;
}

/* 3. hidden時の挙動 */
.hidden {
    display: none !important;
}

/* 4. ラベル位置の微調整 (Bootstrapのrowを使っているため) */
.upload-item-box .row {
    margin-bottom: 10px;
}

/* 提出ボタンの調整 */
.btn-lg {
    max-width: 300px; /* ここでボタンの最大幅を制限 */
    width: 100%;      /* スマホでは画面幅いっぱいに、PCでは300pxで止まる */
    margin: 0 auto;
}

/* チェックボックスとラベルの間に隙間を作る */
.form-check-input {
    margin-right: 15px !important; /* 右側に15pxの隙間を作る */
}

/* ボタンとドロップゾーンを横並びにする */
#row3 .row {
    display: flex;
    flex-wrap: wrap;
}

/* プレビュー用テーブルの装飾 */
.table-preview {
    width: auto;         /* 幅を広げすぎない */
    min-width: 300px;    /* 必要最小限の幅を確保 */
    max-width: 500px;    /* 最大幅を制限して広がりを防ぐ */
    border-collapse: collapse;
    margin-top: 10px;
}
.table-preview td {
    padding: 4px 10px;   /* 余白を詰める */
    border-bottom: 1px solid #eee;
}

/* 番号列の幅を固定 */
.table-preview .num-col {
    width: 50px;
    color: #666;
    font-weight: bold;
}

/* ファイル名列 */
.table-preview .name-col {
    text-align: left;
}

/* 削除ボタンのスタイル */
.del-btn {
    padding: 2px 8px;    /* 小さくする */
    font-size: 15px;     /* フォントも小さめに */
    background-color: #dc3545; /* Bootstrapの赤 */
    color: #fff;
    border: none;
    border-radius: 4px;  /* 角を丸く */
    cursor: pointer;
}

.del-btn:hover {
    background-color: #a71d2a; /* ホバー時は濃い赤 */
}

/* ドロップゾーン内のエリア全体の見た目調整 */
#dropzone {
    word-break: break-all;
    height: 80px; /* 小さくする */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

#submitConfirmModal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* JSで制御 */
    justify-content: center; /* 横方向中央 */
    align-items: center;     /* 縦方向中央 */
}

/* 1. 背景（オーバーレイ）を親と同じサイズに広げる */
.confirm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0; /* ボックスより下にする */
}

/* 2. モーダル本体をボックスとして中央に配置 */
.confirm-box {
    position: relative; /* z-indexを有効にするため */
    background: #fff;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    padding: 20px;
    z-index: 1; /* 背景より手前に表示 */
}

/* 非表示制御 */
.hidden {
  display: none;
}

/* テーブル */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
}

.confirm-table th {
  width: 180px;
  text-align: left;
  padding: 10px 12px;
  white-space: nowrap;
}

.confirm-table td {
  padding: 10px 12px;
}

/* 行間 */
.confirm-table tr {
  border-bottom: 1px solid #eee;
}

/* ボタン */
.confirm-btn-area {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}
