:root {
  --transition: ease .5s;
  --main-rgb:235,97,0; /*オレンジ・ロゴ*/
  --corp-rgb:42,52,97; /*濃紺*/
  --sub-rgb:85,83,82; /*濃いグレー*/
  --back-rgb:245,245,245; /*うすい*/
  --text-rgb:51,51,51; /*#333*/
  --link-rgb:0,56,148; /*あお*/
  --red: 215,20,20; /*赤*/
}
/*フォーム
-------------------------------------------------------------*/
.dl_form {
  margin: 0 auto 1em;
}
.dl_form div {
  margin: 0px 0 2em;
  position: relative;
}
.dl_form dt {
  font-weight: bold;
  margin: 0.5em 0 0.5em 0px;
}
.dl_form dd {
  margin: 0 0 0px;
}

@media screen and (min-width: 992px) {
	.dl_form div{
		display:flex;
		justify-content:space-around;
	}
	.dl_form dt{
		width:35%;
		flex-shrink:0;
	}
	.dl_form dd{
		width:60%;
	}
}


.dl_form.check dd {
  background-color: rgba(var(--back-rgb), 1);
  border-radius: 5px;
  padding: 0.5em;
}
.dl_form .any:before,
.dl_form .req:before {
  content: "";
  color: rgb(var(--back-rgb));
  font-weight: normal;
  font-size: 70%;
  border-radius: 20px;
  padding: 3px 2px 2px;
  display: inline-block;
  text-align: center;
  margin-right: 0.5em;
  width: auto;
  min-width: 3em;
}
.dl_form .any:before {
  background-color: rgb(var(--sub-rgb));
  content: "任意";
}
.dl_form .req:before {
  background-color: rgb(var(--red));
  content: "必須";
}
.dl_form .hiragana {
  width: 100%;
}
.dl_form .numeric {
  width: 12em;
}

[class$=_error] {
  color: rgb(var(--red));
  display: block;
  font-size: small;
}
.dl_form{
	& input[type=text],
	& input[type=email],
	& input[type=tel],
	& input[type=number],
	& input[type=password],
	& input[type=search],
	& input[type=url],
	& button,
	& textarea {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background: transparent;
		border: none;
		border-radius: 0;
		outline: none;
		font-size: 16px;
		border: solid 1px rgb(150, 150, 150);
		border-radius: 5px;
		padding: 0.5em;
		background-color: #FFF;
		box-sizing: border-box;
		margin-bottom: 0.5em;
	}
	& textarea {
		width: 100%;
		height: 10em;
	}
	
	& input::placeholder {
		font-size: 0.8rem;
	}
	
	& input[type=checkbox],
	& input[type=radio] {
		transform: scale(1.5);
		margin: 0 0.75em 0.75em 0.5em;
		accent-color: red;
	}
	
	& button {
		border: 0;
	}
	
	& select {
		font-size: 16px;
		padding: 0.5em;
		background-color: rgb(225, 225, 225);
		border-radius: 5px;
	}
}
dl.dl_form input[type=date] {
  width: 50% !important;
  max-width: 240px;
  box-sizing: border-box;
  padding: 8px;
  margin: 0 0 5px;
  border: 1px solid #999;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
}
@media screen and (max-width: 767px) {
  dl.dl_form input[type=date] {
    width: 100% !important;
    max-width: 360px;
  }
}
dl.dl_form input[type=date]::before {
  content: "日付を選択する";
  font-size: 12px;
  white-space: nowrap;
}

.submitbtn {
  font-size: clamp(1rem, 0.0051880674rem + 2.3346303502vw, 1.15rem);
  background-color: rgba(var(--main-rgb), 1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  outline: none;
  border-radius: 5px;
  padding: 0.5em 1em;
  color:#FFF;
}
.submitbtn.shusei {
  background-color: rgb(150, 150, 150);
}
.submitbtn.yubin {
  font-size: 0.8rem;
}
@media (hover: hover) {
  .submitbtn:hover {
    background-color: rgb(var(--link-rgb));
    cursor: pointer;
  }
}

#step {
  list-style: none;
  margin: 20px auto;
  padding: 0;
  display: flex;
  position: relative;
  text-align: center;
  counter-reset: counter;
}
#step li {
  font-size: 12px;
  position: relative;
  width: 33.333%;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 0px;
  padding: 0 0;
}
#step span {
  display: inline-block;
  text-align: center;
}
#step li:before {
  content: counter(counter);
  counter-increment: counter;
  background: rgb(181, 181, 181);
  border-radius: 50%;
  box-sizing: border-box;
  display: block;
  color: #ffffff;
  position: relative;
  font-size: 18px;
  font-weight: bold;
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
  line-height: 36px;
  z-index: 2;
}
#step li:not(:last-child):after {
  background: rgb(181, 181, 181);
  content: "";
  width: calc(100% - 0px);
  height: 2px;
  position: absolute;
  right: calc(-50% + 0px);
  top: 18px;
  z-index: 1;
  display: block;
}
#step li.current {
  color: rgba(var(--sched), 1);
}
#step li.current:before,
#step li.current:after {
  background-color: rgba(var(--red), 1);
}

