@charset "UTF-8";

/*-------------------------
__form_style
-------------------------*/
.form_base .field {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0
}
.confirm .form_base .field {
  margin: 0 0 36px;
}
.form_base .field > label,
.form_base .field > legend,
.form_base .field .ttl {
  font-size: 1.6em;
  line-height: 1.7;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
}
.form_base .field .required,
.form_base .field .optional {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  background: var(--required);
  padding: 1px 8px;
  border-radius: 1px;
  white-space: nowrap;
}
.form_base .field .optional {
  background: var(--silver);
}
.form_base .field .txt {
  font-size: 1.6em;
  line-height: 2;
  text-align: left;
}

.form_base input:not([type="radio"]):not([type="checkbox"]),
.form_base select,
.form_base textarea {
  font-size: 16px;
  line-height: 1.8;
  display: block;
  background: var(--soft);
  width: 100%;
  padding: 12px 16px;
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  cursor: pointer;
}
.form_base input::placeholder,
.form_base textarea::placeholder {
  color: var(--silver);
}

.form_base select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238C8F94' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  color: var(--silver);
}
.form_base select:valid {
  color: var(--ink);
}
.form_base textarea {
  height: 10em;
  resize:none ;
}
.form_base input:not([type=radio]):not([type=checkbox]):hover,
.form_base select:hover,
.form_base textarea:hover {
  border-color: var(--silver);
}
.form_base input:not([type=radio]):not([type=checkbox]):focus,
.form_base select:focus,
.form_base textarea:focus {
  background-color: var(--white);
  border-color: var(--accent-ink);
}

.form_base .radio_wrap,
.form_base .checkbox_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.form_base .radio {
  text-align: left;
  display: block;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0 none;
  position: relative;
  cursor: pointer;
}
.form_base .radio input {
  height: 1px;
  width: 1px;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  transition: .3s;
}
.form_base .radio > span {
  font-size: 16px;
  line-height: 24px;
  display: block;
  padding: 0 16px 0 32px;
  box-sizing: border-box;
}
.form_base .radio > span::before {
  content: "";
  display: block;
  background: var(--white);
  height: 24px;
  width: 24px;
  margin: auto;
  box-sizing: border-box;
  border: 1px solid var(--silver);
  border-radius: 50vw;
  position: absolute;
  top: 0;
  left: 0;
  transition: border-color .2s;
}
.form_base .radio > span::after {
  content: "";
  display: block;
  box-sizing: border-box;
  height: 12px;
  width: 12px;
  margin: auto;
  border-radius: 50vw;
  background: var(--accent-ink);
  position: absolute;
  top: 6px;
  left: 6px;
  transition: opacity .2s;
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .form_base .radio:hover > span::before {
    border-color: var(--ink);
  }
}
.form_base .radio input:checked + span::before {
  border-color: var(--accent-ink);
}
.form_base .radio input:checked + span::after {
  opacity: 1;
}

.form_base .checkbox {
  text-align: left;
  display: block;
  border: 0 none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}
.form_base .checkbox input {
  height: 1px;
  width: 1px;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  transition: .3s;
}
.form_base .checkbox > span {
  font-size: 16px;
  line-height: 24px;
  display: block;
  color: var(--ink);
  width: 100%;
  margin: 0;
  padding: 0 16px 0 32px;
  box-sizing: border-box;
  position: relative;
}
.form_base .checkbox > span::before {
  content: "";
  display: block;
  background: var(--white);
  height: 24px;
  width: 24px;
  margin: auto;
  box-sizing: border-box;
  border: 1px solid var(--silver);
  border-radius: 1px;
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color .3s, border-color .3s;
}
.form_base .checkbox > span::after {
  content: "";
  display: block;
  height: 14px;
  width: 7px;
  transform: rotate(40deg);
  border-bottom: 2px solid var(--white);
  border-right: 2px solid var(--white);
  position: absolute;
  top: 2px;
  left: 7px;
  transition: opacity .3s;
  opacity: 0;
}
@media screen and (min-width:768px) {
  .form_base .checkbox > span:hover::before {
    border-color: var(--ink);
  }
}
.form_base .checkbox input:checked + span::before {
  background-color: var(--accent-ink);
  border-color: var(--accent-ink);
}
.form_base .checkbox input:checked + span::after {
  opacity: 1;
}

.form_base .privacy_check {
  margin: 32px 0
}
.form_base .privacy_check .err {
  text-align: center;
}
.form_base .privacy_check .checkbox {
  display: inline-block;
}
.form_base .privacy_check .checkbox > span {
  font-size: 14px;
}
.form_base .privacy_check .checkbox > span a {
  text-underline-offset: 4px;
  color: var(--ink);
}
@media screen and (min-width:768px) {
  .form_base .privacy_check .checkbox > span a:hover {
    text-decoration: none;
  }
}

.form_base .btn {
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.form_base .btn > span:first-child {
  text-align: center;
}
.form_base .btn > span:last-child {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.form_base input[type="button"].return_btn {
  font-size: 1.4em;
  padding: 4px 16px;
  max-width: 120px;
  margin: 0 auto;
  margin-top: 24px;
}

/* form_meta */
.form_base .form_meta {
	position: absolute!important;
	left: -9999px!important;
	top: -9999px!important;
}

/* エラー表示 */
.form_base .err {
	font-size: 14px;
  line-height: 1.5;
	color: var(--required);
  text-align: left;
	display: block;
  width: 100%;
  margin-bottom: 8px;
}

/* ページ上部への表示の場合（ファイル容量） */
.form_base form > .err {
	font-size: 14px;
	line-height: 1.5;
	padding: 15px;
	border: 1px solid var(--required);
	margin: 0 0 32px;
	background: var(--soft);
	border-radius: 2px;
}

/*reCAPTCHAの無料枠超過時の代替用チェックcss*/
.not_robot.fallback {
	text-align:center;
}
.not_robot.fallback .recap {
	font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
	display: inline-block;
	background: var(--soft);
  padding: 15px;
	box-shadow: 0 0 4px 1px rgba(0, 0, 0, .08);
	border-radius: 2px;	
	border: 1px solid var(--ink);
}

@media (max-width:767px) {
  .confirm .form_base .field {
    margin-bottom: 28px;
  }
  .form_base .field > label,
  .form_base .field > legend,
  .form_base .field .ttl {
    font-size: 1.5em;
    gap: 8px;
  }
  .form_base .field .required,
  .form_base .field .optional {
    font-size: 11px;
    padding: 1px 7px
  }
  .form_base .field .txt {
    font-size: 1.5em;
  }

  .form_base .radio_wrap,
  .form_base .checkbox_wrap {
    display: flex;
    flex-direction: column;
  }

  .form_base .privacy_check {
    margin: 28px 0
  }
  .form_base .privacy_check .err {
    text-align: left;
  }
  .form_base .privacy_check .checkbox > span {
    font-size: 12px;
  }
}
