@charset "UTF-8";
/* 基本スタイル設定 */
/* ボタン作成用
-------------------------*/
input,
button,
textarea,
select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 100%;
}

input,
textarea,
select {
  padding: 1em;
  vertical-align: middle;
  font-size: 14px;
  box-sizing: border-box;
}

input[type=text],
input[type=tel],
input[type=email],
input#fax {
  width: 100%;
}

input[type=number] {
  width: 25%;
}

select {
  width: 100%;
}

textarea {
  width: 100%;
  resize: none;
}

input[type=checkbox] {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
}

input[type=radio] {
  padding: 0 !important;
}

.inline-privacy-policy-inner > iframe {
  display: block;
  margin: 0 auto;
  margin-top: 30px;
}

input[type=submit] {
  display: block;
  margin: 0 auto;
  /* margin-top: 20px; */
}

input#address {
  margin-top: 10px;
}

.date-list > li {
  margin-bottom: 10px;
}

.data-list > li:last-child {
  margin-bottom: none;
}

.inline-block {
  display: inline-block;
}

/*---------- 以下contact-fotm ----------*/
.contact-form-table {
  width: 100%;
  margin: 0 auto 20px;
  max-width: 560px;
}
.contact-form-table th {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.age {
  display: flex;
  align-items: flex-end;
  width: 30%;
}
.age select {
  display: block;
  margin-left: 5px;
  margin-right: 5px;
}
.age:not(:last-child) {
  margin-right: 1em;
}

.optional-mark,
.required-mark {
  color: #fff;
  font-size: 0.9em;
  border-radius: 3px;
  /* width: 2.5em; */
  text-align: center;
  display: inline-block;
  min-width: 2.8em;
}

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

.required-mark {
  background-color: #ff5555;
}

/* radioボタンのスタイル */
input[type=radio] {
  padding: 0;
  width: 0;
  height: 0;
}

.radio-btn {
  position: relative;
  cursor: pointer;
  padding-left: calc(16px + 0.5em);
  margin-right: 20px;
  transition: all 0.3s;
}

.radio-btn::before,
.radio-btn::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

.radio-btn::before {
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  left: 0;
}

.radio-btn::after {
  background-color: #544438;
  border-radius: 50%;
  opacity: 0;
  width: 10px;
  height: 10px;
  left: 4px;
  transition: opacity 0.3s;
}

input[type=radio]:checked + .radio-btn::after {
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}

/* checkboxのスタイル */
input[type=checkbox] {
  display: none;
}

.checkbox-btn {
  position: relative;
  display: inline-block;
  padding: 3px 3px 3px calc(16px + 0.5em);
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 30px;
  display: block;
  width: 100%;
}

.checkbox-btn::before,
.checkbox-btn::after {
  position: absolute;
  content: "";
  transition: all 0.3s;
}

.checkbox-btn::before {
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: #fff;
  border: 1px solid #ccc;
}

.checkbox-btn::after {
  opacity: 0;
  top: 50%;
  left: 4px;
  width: 8px;
  height: 4px;
  margin-top: -4px;
  border-left: 2px solid #544438;
  border-bottom: 2px solid #544438;
  transform: rotate(-45deg) scale(0.5);
}

input[type=checkbox]:checked + .checkbox-btn::before {
  background: #fff;
  border: 1px solid #544438;
}

input[type=checkbox]:checked + .checkbox-btn::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

input[type=text],
input[type=email],
input[type=number],
input[type=tel],
select,
textarea {
  outline: none;
  background-color: #fff;
  transition: all 0.3s;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=tel]:focus,
select:focus,
textarea:focus {
  border: 1px solid #544438;
}

input[type=submit] {
  /* display: inline-block; */
  opacity: 1;
  transition: opacity 0.3s;
}

input[type=submit]:hover {
  opacity: 0.7;
}

.contact-submits-wrap {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contact-submits-wrap .btn {
  max-width: 300px;
  width: 100%;
  background-color: #544438;
  border-radius: 0;
  color: #fff;
  padding: 1.2em 1em;
  transition: all 0.3s;
}

.contact-submits-wrap .btn:hover {
  opacity: 0.7;
}

.contact-submits-wrap .btn:not(:last-child) {
  margin-bottom: 10px;
}

.contact-recaptcha-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inline-privacy-policy {
  width: 100%;
  border: 1px solid #eeeeee;
}
.inline-privacy-policy iframe {
  width: 100%;
  height: 300px;
}

input[type=submit]:disabled {
  background-color: #ddd;
  pointer-events: none;
}

.contact-recaptcha-wrap .g-recaptcha {
  display: block;
  margin: 20px auto 0;
}

.error-text {
  color: #ff0000;
  font-weight: 600;
}

/*==================================================
 画像アップロードフォーム
================================================== */
.upload-item-wrap {
  font-size: 13px;
  overflow: hidden;
}

.upload-item-wrap input[type=file] {
  display: none;
}

/* アップされた画像のサムネイル */
.upload-item-wrap .thumb {
  width: 220px;
  height: 220px;
  margin: 0 8px 8px 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 {
  margin-top: 10px;
  font-size: 0.8em;
}/*# sourceMappingURL=contact-style_sp.css.map */