@charset "UTF-8";
.contact-mailForm {
  /*==================================================
  入力フィールド
  ================================================== */
  /*==================================================
  button
  ================================================== */
  /*==================================================
  check button  radio button 
  ================================================== */
}
.contact-mailForm select,
.contact-mailForm textarea,
.contact-mailForm input[type=tel],
.contact-mailForm input[type=text],
.contact-mailForm input[type=email],
.contact-mailForm input[type=url] {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  max-width: 100%;
  padding: 8px;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
}
.contact-mailForm textarea {
  width: 100%;
  min-height: 150px;
  padding: 8px !important;
}
.contact-mailForm input[type=button],
.contact-mailForm input[type=submit],
.contact-mailForm button[type=button] {
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.1em;
  padding: 20px 2em;
  font-size: 20px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
  border: none;
  -webkit-appearance: none;
  transition: opacity 0.4s ease;
  background-color: #3478c4;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .contact-mailForm input[type=button],
  .contact-mailForm input[type=submit],
  .contact-mailForm button[type=button] {
    font-size: 30px;
    font-size: 3.90625vw;
  }
}
@media screen and (max-width: 768px) and (min-width: 539px) {
  .contact-mailForm input[type=button],
  .contact-mailForm input[type=submit],
  .contact-mailForm button[type=button] {
    font-size: 17.6470588235px;
  }
}
.contact-mailForm input[type=button]:hover,
.contact-mailForm input[type=submit]:hover,
.contact-mailForm button[type=button]:hover {
  opacity: 0.8;
  cursor: pointer;
}
.contact-mailForm input[type=button][disabled],
.contact-mailForm input[type=submit][disabled],
.contact-mailForm button[type=button][disabled] {
  opacity: 0.7;
  pointer-events: none;
}
.contact-mailForm input[type=radio],
.contact-mailForm input[type=checkbox] {
  display: inline-block;
  margin-right: 6px;
}
.contact-mailForm input[type=radio] + label,
.contact-mailForm input[type=checkbox] + label {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  line-height: 30px;
  cursor: pointer;
}
.contact-mailForm input[type=radio],
.contact-mailForm input[type=checkbox] {
  display: none;
  margin: 0;
}
.contact-mailForm input[type=radio] + label,
.contact-mailForm input[type=checkbox] + label {
  margin-bottom: 5px;
  padding: 0 0 0 24px;
}
.contact-mailForm input[type=radio] + label::before,
.contact-mailForm input[type=checkbox] + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  box-sizing: border-box;
  display: block;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: #FFF;
}
.contact-mailForm input[type=radio] + label::before {
  border: 2px solid #ccc;
  border-radius: 30px;
}
.contact-mailForm input[type=checkbox] + label::before {
  border: 2px solid #ccc;
}
.contact-mailForm input[type=radio]:checked + label::after,
.contact-mailForm input[type=checkbox]:checked + label::after {
  content: "";
  position: absolute;
  top: 50%;
  box-sizing: border-box;
  display: block;
}
.contact-mailForm input[type=radio]:checked + label::after {
  left: 5px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #3478c4;
  border-radius: 8px;
}
.contact-mailForm input[type=checkbox]:checked + label::after {
  left: 3px;
  width: 16px;
  height: 8px;
  margin-top: -8px;
  border-left: 3px solid #3478c4;
  border-bottom: 3px solid #3478c4;
  transform: rotate(-45deg);
}
.contact-mailForm ::-moz-placeholder {
  color: #ccc;
}
.contact-mailForm ::placeholder {
  color: #ccc;
}

/*==================================================
table
================================================== */
.contact-form-table {
  width: 100%;
  table-layout: fixed;
  border: solid 1px #3478c4;
  background: #fff;
  /* ご住所だけ2段なのでマージンを開ける */
}
.contact-form-table th {
  width: 35%;
  background: #3478c4;
  color: #fff;
}
.contact-form-table th, .contact-form-table td {
  line-height: 24px;
  vertical-align: middle;
}
.contact-form-table th {
  padding: 15px 3%;
}
.contact-form-table td {
  padding: 15px;
}
.contact-form-table tr:not(:last-child) th {
  border-bottom: solid 1px #fff;
}
.contact-form-table tr:not(:last-child) td {
  border-bottom: solid 1px #3478c4;
}
.contact-form-table input[name="items[address]"] {
  margin-top: 8px;
}

/* 「不正な送信です」「時間を空けて再度送信ください」などのセキュリティエラー文 */
.sec-error-text {
  font-size: 20px;
  font-size: 2rem;
  line-height: 1.5;
  text-align: center;
  background: #e74c3c;
  color: #fff;
  padding: 4vw;
}
@media screen and (max-width: 768px) {
  .sec-error-text {
    font-size: 30px;
    font-size: 3.90625vw;
  }
}
@media screen and (max-width: 768px) and (min-width: 539px) {
  .sec-error-text {
    font-size: 17.6470588235px;
  }
}

/* 「任意」「必須」マーク */
.optional-mark,
.required-mark {
  font-size: 13px;
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  padding: 4px;
  float: right;
}
@media screen and (max-width: 768px) {
  .optional-mark,
  .required-mark {
    font-size: 23px;
    font-size: 2.9947916667vw;
  }
}
@media screen and (max-width: 768px) and (min-width: 539px) {
  .optional-mark,
  .required-mark {
    font-size: 13.5294117647px;
  }
}

.optional-mark {
  background: #3498db;
}

.required-mark {
  background: #e74c3c;
}

/* 「~が入力されていません」などの未記入エラー文 */
.error-text {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: #e74c3c;
}
@media screen and (max-width: 768px) {
  .error-text {
    font-size: 24px;
    font-size: 3.125vw;
  }
}
@media screen and (max-width: 768px) and (min-width: 539px) {
  .error-text {
    font-size: 14.1176470588px;
  }
}

/* 送信・確認ボタン */
.contact-submits-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.contact-submits-wrap input[type=button]:not(:first-child),
.contact-submits-wrap input[type=submit]:not(:first-child),
.contact-submits-wrap button[type=button]:not(:first-child) {
  margin-left: 15px;
}

/* プライバシーポリシー */
.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 {
  display: table;
}
.contact-recaptcha-wrap iframe {
  height: 78px;
}