@charset "UTF-8";

/*==================================================
 入力フィールド
================================================== */

select,
textarea,
input[type="tel"],
input[type="text"],
input[type="email"],
input[type="url"] {
  max-width: 100%;
  padding: 8px;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(150, 150, 150, 0.1) inset;
  box-sizing: border-box;
}

textarea {
  width: 100%;
}

/* ボタン
-------------------------------------------------- */
button,
input[type="button"],
input[type="submit"] {
  /* margin: 4px;
	padding: 1em 2em; */
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  color: #fff;
  background: #0e0e17;
  border: none;
  border-radius: 2px;
  -webkit-appearance: none;
  transition: all 0.4s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  opacity: 0.64;
  cursor: pointer;
}

button[disabled],
input[type="button"][disabled],
input[type="submit"][disabled] {
  opacity: 1;
  background: #9f9fb1;
  pointer-events: none;
}

/* チェックボックス・ラジオボタン
-------------------------------------------------- */

input[type="radio"],
input[type="checkbox"] {
  display: inline-block;
  margin-right: 6px;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  line-height: 30px;
  cursor: pointer;
}

input[type="radio"] + label:last-child,
input[type="checkbox"] + label:last-child {
  margin-right: 0;
}

input[type="radio"],
input[type="checkbox"] {
  display: none;
  margin: 0;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  margin-bottom: 5px;
  padding: 0 0 0 24px;
}

input[type="radio"] + label::before,
input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: #fff;
}

input[type="radio"] + label::before {
  border: 2px solid #ccc;
  border-radius: 30px;
}

input[type="checkbox"] + label::before {
  border: 2px solid #ccc;
}

input[type="radio"]:checked + label::after,
input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  top: 50%;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
}

input[type="radio"]:checked + label::after {
  left: 5px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #5a69a0;
  border-radius: 8px;
}

input[type="checkbox"]:checked + label::after {
  left: 3px;
  width: 16px;
  height: 8px;
  margin-top: -8px;
  border-left: 3px solid #5a69a0;
  border-bottom: 3px solid #5a69a0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*==================================================
 テーブル
================================================== */

.contact-form-table {
  /* margin: 0 0 16px; */
}

/* スマホ表示時にはテーブルを縦向きにする */
@media screen and (max-width: 768px) {
  .contact-form-table,
  .contact-form-table tbody,
  .contact-form-table tr,
  .contact-form-table th,
  .contact-form-table td {
    width: auto;
    display: block;
  }
}

/* ご住所だけ2段なのでマージンを開ける */
input[name="items[address]"] {
  margin-top: 8px;
}

/* 「不正な送信です」「時間を空けて再度送信ください」などのセキュリティエラー文 */
.sec-error-text {
  line-height: 1.5em;
  padding: 40px 10px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  background: #e74c3c;
}
.sec-error-link {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .sec-error-text {
    padding: 30px 10px;
    font-size: 4vw;
  }
  .sec-error-link {
    font-size: 5vw;
  }
}

/* 「任意」「必須」マーク */
.optional-mark,
.required-mark {
  display: inline-block;
  color: #fff;
  font-size: 13px;
}
.optional-mark::before,
.required-mark::before {
  content: "*";
}

/* .optional-mark {
  background: #3498db;
}

.required-mark {
  background: #e74c3c;
} */

/* 「~が入力されていません」などの未記入エラー文 */
.error-text {
  margin: 0 0 4px;
  color: #e74c3c;
}

/* 送信・確認ボタン */
.contact-submits-wrap {
  text-align: center;
}

/* プライバシーポリシー */
.inline-privacy-policy {
  height: 350px;
  margin: 16px 0;
  border: 1px solid #dfdfdf;
  background: #fff;
}

.inline-privacy-policy-inner {
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  display: inline-block;
}

.inline-privacy-policy iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* リキャプチャ */
.contact-recaptcha-wrap {
  margin: 16px auto;
  display: table;
}

/*==================================================
 日付選択フォーム
================================================== */
.date-list {
  padding-left: inherit;
}
.date-list li {
  list-style: none;
  margin-bottom: 15px;
}
.date-list li p {
  margin-bottom: 5px;
}

/*==================================================
 画像アップロードフォーム
================================================== */

.upload-item-wrap {
  font-size: 13px;
  overflow: hidden;
}

.upload-item-wrap input[type="file"] {
  display: none;
}

/* アップされた画像のサムネイル */
.upload-item-wrap .thumb {
  width: min(220px, calc(100% - 118px));
  padding-top: min(220px, calc(100% - 118px));
  /* height: 220px; */
  margin: 0 8px 0 0;
  position: relative;
  overflow: hidden;
  float: left;
}

.upload-item-wrap .thumb img {
  max-width: none;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/*選択・削除ボタン  */
.upload-item-wrap .ancion-btn-wrap {
  float: left;
}

.upload-item-wrap .ancion-btn {
  margin: 0 0 8px;
  width: 110px;
  line-height: 35px;
  text-align: center;
  color: #fff;
  border-radius: 4px;
  background: #e6e6e6;
  display: block;
}

.upload-item-wrap .select-file {
  background: #2ecc71;
}

.upload-item-wrap .deselect-file {
  background: #e74c3c;
}

.upload-item-wrap .ancion-btn:hover {
  cursor: pointer;
}

/*添付ファイルの注意文  */
.upload-notice {
  display: block;
  margin-top: 10px;
  font-size: 0.8em;
}
