@charset "UTF-8";
.custom-checkbox {
	display: none;
}
.custom-checkbox{
	visibility:hidden;
	display:none;
}
.custom-checkbox + label {
  position: relative;
  display: inline-block;
  margin-top: 0.4em;
  margin-right: 5px;
  padding-left: 25px;
  min-height: 20px;
  line-height: 20px;
  cursor: pointer;
}
.custom-checkbox + label::before {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: url("../../images/contact/checkbox_off.png");
}
.custom-checkbox:checked + label::before {
  content: url("../../images/contact/checkbox_on.png");
}
.custom-checkbox:disabled + label {
  opacity: .3;
  cursor: not-allowed;
}
.tc{
    text-align: center;
}
#agency{
    display:none;
}
.text-long{
    width: 100%!important;
}
/*------------------ファイルアップ関連----------------------*/

.drop-zone {
    width: 100%;
    max-width: 500px;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f9f9f9;
    transition: background-color 0.3s, border-color 0.3s;
}

.drop-zone.dragover {
    background-color: #e1f5fe;
    border-color: #0288d1;
}

#file-select-btn {
    padding: 8px 16px;
    cursor: pointer;
}

/* プレビューエリアのスタイル */
.preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    max-width: 500px;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* サムネイル画像 */
.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ZIPファイル用の代替表示 */
.preview-item .zip-icon {
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

/* ファイル名 */
.preview-item .file-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    padding: 4px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* 削除ボタン */
.remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.remove-btn:hover {
    background: #cc0000;
}
.indication{
    display: none;
}
.is-required-style_kome{
    /*font-size: 0.5rem;*/
}


/* -- 260316 kamo add -- */
	div.main table th span { color: red; padding-left: 0.3em; }
	div.main form input.text { width: 200px; }
	div.main form textarea.textarea { width: 420px; margin-bottom: 1em; }

table.divider .fs-s {
  padding-left: 0;
  color: #333;
  font-size: 90%;
}
table.divider td.submit-box {
  padding: 20px 0;
  background-color: #e6e6e6 !important;
  text-align: center;
}
input.submit,
input.reset {
	line-height: 1.6;
	vertical-align: middle;
	height: 2.8em;
	padding: 0 2em 3px !important;
	margin: 0;
}
  input.submit {
    font-size: 100%;
  }
  input.reset {
    font-size: 96%;
    color: #333;
  }

