@charset "UTF-8";
/*contact

----------------------------------------------*/
/*==================================================
入力フィールド
================================================== */
select,
textarea,
input[type='tel'],
input[type='number'],
input[type='text'],
input[type='email'] {
  max-width: 100%;
  padding: 4px;
  border: none;
  height: 30px;
  background-color: #f2f2f2;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 4px;
}

/* ボタン
-------------------------------------------------- */
.contact_btns {
  margin-top: 10px;
  text-align: center;
}

.contact_btns .form_btn--back input {
  background: #aaa;
}

.contact_btns div {
  display: inline-block;
  margin: 10px;
  position: relative;
}

input.form_btn, button.form_btn {
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border: none;
  font-weight: bold;
  padding: 20px 0 18px;
  width: 280px;
  background-color: #66621c;
  -webkit-appearance: none;
  opacity: 1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

input.form_btn[disabled], button.form_btn[disabled] {
  opacity: 0.5;
  color: #ccc;
}

input.form_btn:focus, button.form_btn:focus {
  outline: none;
  -webkit-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

/* チェックボックス・ラジオボタン
-------------------------------------------------- */
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],
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;
  -webkit-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%;
  -webkit-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: #a1c81f;
  border-radius: 8px;
}

input[type=checkbox]:checked + label::after {
  left: 3px;
  width: 16px;
  height: 8px;
  margin-top: -8px;
  border-left: 3px solid #a1c81f;
  border-bottom: 3px solid #a1c81f;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/*==================================================
テーブル
================================================== */
.cont-table {
  margin: 0 0 16px;
}

/* スマホ表示時にはテーブルを縦向きにする */
@media screen and (max-width: 768px) {
  .cont-table table,
  .cont-table tbody,
  .cont-table tr,
  .cont-table tr th,
  .cont-table tr td {
    width: auto;
    display: block;
  }
}

/* ご住所だけ2段なのでマージンを開ける */
input[name="items[address]"] {
  margin-top: 8px;
}

/* 「不正な送信です」「時間を空けて再度送信ください」などのセキュリティエラー文 */
.sec-error-text {
  line-height: 80px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  background: #a1c81f;
}

/* 「任意」「必須」マーク */
.optional-mark,
.required-mark {
  padding: 2px 4px;
  color: #fff;
  font-size: 13px;
  border-radius: 4px;
  margin-left: 10px;
  float: right;
}

@media screen and (max-width: 768px) {
  .optional-mark,
  .required-mark {
    float: none;
  }
}

.optional-mark {
  background: #a1c81f;
}

.required-mark {
  background: #a1c81f;
}

/* 「~が入力されていません」などの未記入エラー文 */
.error-text {
  margin: 0 0 4px;
  color: #a1c81f;
}

/* 送信・確認ボタン */
.contact-submits-wrap {
  text-align: center;
}

/* プライバシーポリシー */
.inline-privacy-policy {
  height: 350px;
  margin: 10px 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_agree {
  margin-top: 10px;
  text-align: center;
}

.contact-recaptcha-wrap {
  width: 300px;
  margin: 10px auto 0;
}

.contact_privacy {
  font-size: 12px;
}

.contact_privacy .required-mark {
  float: none;
}

.contact_agree .contact_privacy a {
  text-decoration: underline;
}
