@charset "utf-8";

.form {
  position: relative;
	background-attachment: fixed;
  z-index: 1;
  clip-path: polygon(0 0,0 100%,100% 100%,100% 0);
  background-color: transparent;
}
.form::before {
  content: '';
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: url(../img/bg_feature.webp) no-repeat center center / cover;
  background-color: #f5f3ec;
}
.form.thanks {
  padding-top: clamp(50px, 10vw, 100px);
  padding-bottom: clamp(50px, 10vw, 100px);
}


.required {
	font-size: .8em;
	background: #fff;
  border: 1px solid var(--base-color01);
	padding: .2rem .5rem .25rem;
	line-height: 1.0;
	border-radius: 4px;
	color: var(--base-color01);
	display: inline-block;
  flex-shrink: 0;
}

.list-note {
	width: 100%;
	background: #fff;
	border-radius: 6px;
	margin: clamp(15px, 3vw, 30px) auto;
	padding: clamp(10px, 2vw, 20px) clamp(15px, 3vw, 30px);
	li {
		display: flex;
		align-items: flex-start;
    .required { margin: .25em .25em 0 0; }
	}
	li:not(:last-of-type) {
		padding-bottom: .5rem;
		border-bottom: 1px dashed #ddd;
		margin-bottom: .5rem;
	}
	li::before {
		content: "・";
		margin-right: .5rem;
	}
}

#mailformpro {
	width: 100%;
	margin-top: clamp(25px, 5vw, 50px);
}

dl.mailform {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	dt {
    width: min(35%, 300px);
    flex-shrink: 0;
    font-weight: bold;
    color: #fff;
    background: var(--base-color01);
    padding: 1.5rem 1rem 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    line-height: 1.0;
    span.required {
      margin: 0;
    }
  }
  dd {
    flex-grow: 1;
    padding: 1rem;
    line-height: 1.0;
    background: #fff;
    input[type=text],
    input[type=email],
    textarea  {
      width: 100%;
      padding: .5rem;
      line-height: 1.25;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
    textarea  {
      min-height: 12rem;
    }
    input[type=checkbox] {
      all: revert;
    }
    p {
      margin-bottom: .5rem;
    }
  }
  dd.checkbox {
	  display: flex;
	  flex-direction: column;
	  label {
      cursor: pointer;
	    display: block;
	    width: fit-content;
	    padding: .3rem .3rem .3rem 0;
	    margin-bottom: .5rem;
	    span { margin-left: .25rem; }
	  }
	}
}

dl.mailform:not(:last-of-type) dt {
  border-bottom: 1px dashed #fff;
}
dl.mailform:not(:last-of-type) dd {
  border-bottom: 1px dashed #ddd;
}
.mfp_buttons {
  margin-top: clamp(25px, 5vw, 50px);
}
button[type=submit] {
  width: min(94%, 400px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--base-color01);
  border: 1px solid var(--base-color01);
  color: #fff;
  padding: 0 clamp(10px, 2vw, 20px);
  border-radius: 4px;
  transition: .3s;
}
button[type=submit]::after {
  content: "";
  display: block;
  width: auto;
  height: .5rem;
  aspect-ratio: 15/4;
  background: url(../img/svg/arrow_wh.svg) no-repeat bottom center / contain;
  transition: .3s;
}
button[type=submit]:hover {
  background: #fff;
  color: var(--base-color01);
  cursor: pointer;
}
button[type=submit]:hover::after {
  background: url(../img/svg/arrow_rd.svg) no-repeat bottom center / contain;
}

dl.mailform:nth-of-type(1) {
  dt { border-radius: 6px 0 0 0; }
  dd { border-radius: 0 6px 0 0; }
}
dl.mailform:last-of-type {
  dt { border-radius: 0 0 0 6px; }
  dd { border-radius: 0 0 6px 0; }
}


@media (max-width:599px) {
  dl.mailform {
    flex-wrap: wrap;
    dt,dd { width:100%; }
    dd { border-left: 1px solid #C3C3C3; }
  }
  dl.mailform:last-of-type dt {
    border-bottom: none;
  }
}















