@charset "UTF-8";
.form-comment {
  font-size: 12px;
  text-align: left;
}

.message {
  text-align: center;
}
.backtop {
  margin-block-start: 36px;
  display: block grid;
  place-items: center;
}

/* =========================================================
form
========================================================= */
.fo-wrapper {
  margin-block-start: 40px;
  padding-block-end: 60px;
  padding-inline: var(--padding-sp);
  inline-size: 100%;
}

#fo {
  background: #fff;
  border-radius: 30px;
  color: #000;
  font-weight: bold;
  margin: auto;
  padding: 32px;
  width: 100%;
  max-width: 784px;
}
@media screen and (max-width: 768px) {
  #fo {
    padding: 20px 24px;
  }
}
@media screen and (max-width: 480px) {
  #fo {
    padding: 20px 16px;
  }
}

form ul {
  list-style: none;
  padding-left: 0;
}
form ul li {
  margin-top: 32px;
}
form ul li em {
  display: inline-block;
  color: #d10000;
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  margin-left: 8px;
}
form ul li div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
form p em {
  display: inline-block;
  color: #d10000;
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  margin-left: 8px;
}
form .c-text:first-child {
  margin-top: 16px;
}

/* =========================================================
form整形
========================================================= */
/*RadioとText*/
label.radio-text {
  cursor: pointer;
  position: relative;
  padding-top: 3px;
  padding-left: 5px;
  margin-right: 5px;
  overflow: hidden;
  display: inline-block;
}

/*label.radio-text:before {
	position : absolute;
	width : 15px;
	height : 15px;
	border : 1px solid #666666;
	border-radius : 50%;
	left : 0;
	top : 6px;
	content : "";
	z-index : 3;
}
label.error:before {
	border : 1px solid #FF0033;
}
label.radio-text:after {
	content : "";
	position : absolute;
	width : 11px;
	height : 11px;
	border-radius : 100%;
	left : 3px;
	top : 9px;
	background-color : #444444;
	z-index : 1;
	@media screen and (max-width: 768px) {
		left : 3px;
		top : 7px;
	}
}*/
label.radio-text input[type=radio] {
  -moz-appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  left: -23px;
  top: 1px;
  margin: 0;
  box-shadow: 20px -1px #ffffff;
}

label.radio-text input[type=radio]:checked {
  box-shadow: none;
}

label.radio-text input[type=radio]:focus {
  opacity: 0;
  box-shadow: 20px -1px #ffffff;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=url],
textarea,
select {
  background-color: #f5f5f5;
  height: 61px;
  border-radius: 16px;
  border: 1px solid #f5f5f5;
  padding: 16px;
  font-size: 100%;
  outline: none;
  width: 100%;
}

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

input[type=text].error,
input[type=email].error,
input[type=tel].error,
input[type=number].error,
input[type=url].error,
textarea.error,
select.error {
  border: 1px solid #d10000;
  background: #ffe6e6;
}

input[type=text],
textarea {
  ime-mode: active;
}

input[type=email],
input[type=tel],
input[type=number],
input[type=url] {
  ime-mode: inactive;
}

input.zip,
input.tel {
  width: 70px;
}

input[name=age],
input[name=year] {
  width: 100px;
  margin-right: 8px;
}

input[name=number] {
  width: 100px;
  margin-right: 8px;
}

textarea {
  height: 150px;
}

input[type=image] {
  width: 250px;
  height: auto;
  margin: 10px 0;
}

input[type=submit] {
  background-color: #ff8b03;
  border: none;
  border-radius: 999em;
  color: #fff;
  cursor: pointer;
  display: block;
  padding: 12px 49px 12px 20px;
  position: relative;
  width: 100%;
}

div.submit {
  display: block flex;
  align-items: center;
  justify-content: center;
  margin-block-start: 36px;
  inline-size: 220px;
  margin-inline: auto;
  position: relative;
  z-index: 0;
  transition: all 0.2s ease-in-out;
  /* hover */
}
@media (any-hover: hover) {
  div.submit:hover {
    transform: scale(1.05);
  }
}
div.submit::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  scale: -1 1;
  display: block;
  inline-size: 22px;
  aspect-ratio: 22/16;
  background-color: #fff;
  mask: url(../img/icon-arrow.svg) no-repeat center/contain;
}

.select-wrapper {
  position: relative;
}
.select-wrapper select {
  position: relative;
  width: 100%;
  padding: 16px;
  outline: none;
  appearance: none;
  text-overflow: "";
  padding-right: 40px;
}
.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translate(0%, -50%) rotate(-45deg);
  pointer-events: none;
  width: 8px;
  height: 8px;
}

label.radio-text {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  margin-right: 24px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 480px) {
  label.radio-text {
    width: 50%;
    margin-right: 0;
  }
}
label.radio-text input[type=radio] {
  display: none;
}
label.radio-text input[type=radio] + span.marker {
  position: relative;
  display: flex;
  width: 32px;
  height: 32px;
  background-color: #f5f5f5;
  margin-right: 0.75em;
  border-radius: 50%;
}
label.radio-text input[type=radio] + span.marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #ff5383;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
label.radio-text input[type=radio]:checked + span.marker::after {
  transform: translate(-50%, -50%) scale(1);
}

label.error::before {
  border: 1px solid #d10000;
}
label.error input[type=radio] + span.marker {
  background-color: #ffe6e6;
  border: 1px solid #d10000;
}

.tresure-data-1 .checkboxLabel {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 16px;
  margin-right: 24px;
  position: relative;
  overflow: hidden;
}
.tresure-data-1 .checkboxLabel.c-text:first-child {
  margin-top: 0;
}
@media screen and (max-width: 480px) {
  .tresure-data-1 .checkboxLabel {
    width: 100%;
    margin-right: 0;
  }
}
.tresure-data-1 .checkboxLabel.error {
  background: #ffe6e6;
}
.tresure-data-1 input[name="what[]"] {
  display: none;
}
.tresure-data-1 input[name="what[]"] + span.marker {
  position: relative;
  display: flex;
  width: 32px;
  height: 32px;
  background-color: #f5f5f5;
  margin-right: 0.75em;
  border-radius: 4px;
}
.tresure-data-1 input[name="what[]"] + span.marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background-color: #ff5383;
  transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tresure-data-1 input[name="what[]"]:checked + span.marker::after {
  transform: translate(-50%, -50%) scale(1);
}

input[type=file] {
  display: none;
}
input[type=file].error {
  background: #ffe6e6;
}

.file-btn {
  border: 3px solid #000;
  font-weight: bold;
  border-radius: 24px;
  cursor: pointer;
  display: inline-block;
  margin-right: 16px;
  padding: 8px 24px;
  background: #000;
  color: #fff;
}
.file-btn:hover {
  background: #fff;
  color: #000;
}

.file-txt {
  display: inline-block;
  padding-top: 8px;
}

.caution {
  padding-top: 2rem;
  line-height: 1.4em;
  font-weight: normal;
  display: flex;
  flex-direction: column;
  gap: 1lh;
}
.caution dt {
  font-size: 14px;
  font-weight: bold;
}
.caution dd {
  font-size: 12px;
  padding-left: 12px;
  position: relative;
}
.caution dd a {
  color: #0088fc;
  text-decoration: underline;
}
.caution dd a:hover {
  text-decoration: none;
}
.caution dd::before {
  background: #53cde9;
  border-radius: 4px;
  content: "";
  display: inline-block;
  position: absolute;
  top: 9px;
  left: 0;
  width: 4px;
  height: 4px;
}
