@charset "utf-8";

h3 {
  font-size: 2.6rem;
	color: #666666;
  line-height: 1.2;
  text-align: center;
  padding: .7em;
	background: #FFFFCC;
  margin-bottom: 1em;
}

ol {
  margin-left: 1em;
}

/*--------------------------------------
テーブル
---------------------------------------*/
table.form { width: min(100%, var(--size-main) * 1px); margin-inline: auto; border-collapse: collapse; border-spacing: 0; accent-color: var(--color-main); }

.form th { font-weight: normal; white-space: nowrap; }
@media (min-width: 768px) { /* PC */
.form th,
.form td { display: table-cell; width: auto; padding: 1em; border-bottom: var(--color-gray-light) 2px solid; }
.form th { text-align: right; }
.form th.-top { vertical-align: top; }
.form td { width: 100%; }
}
@media (max-width: 767px) { /* SP */
.form th,
.form td { display: block; width: 100%; padding: .5em 2em; }
.form th { text-align: center; margin-bottom: .5em; background: var(--color-gray-light); }
.form td { margin-bottom: 2em; }
}
/*--------------------------------------
テキスト
---------------------------------------*/
.form__text {}
.form__text input[type=text] {
  background: #fff;
  border: 1px solid var(--color-gray-dark);
  box-sizing: border-box;
  padding: .5em .8em;
  width: 100%;
}
.form__text.-sizeS input[type=text] { width: 25%; }
@media (min-width: 768px) { /* PC */
.form__text.-sizeL input[type=text] { width: 100%; }
.form__text.-sizeM input[type=text] { width: 50%; }
}


/*--------------------------------------
チェックボックス
---------------------------------------*/
.form__chack { font-size: 1.5em; }
.form__chack input[type=checkbox] {
  display: none;
  margin: 0;
}
.form__chack input[type=checkbox] + label {
  cursor: pointer;
  display: inline-block;
  margin-right: 1em;
  padding-left: 2em;
  position: relative;
}
.form__chack input[type=checkbox] + label::before {
  border: 1px solid #666;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: -.5em;
  position: absolute;
  left: 0;
  top: 50%;
  height: 1em;
  width: 1em;
  background: #fff;
}
.form__chack input[type=checkbox]:checked + label::after {
  box-sizing: border-box;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
}
.form__chack input[type=checkbox]:checked + label::after {
  border-bottom: 2px solid var(--color-main);
  border-left: 2px solid var(--color-main);
  left: .25em;
  margin-top: -.5em;
  transform: rotate(-45deg);
  height: .5em;
  width: 1em;
}

/*--------------------------------------
送信ボタン
---------------------------------------*/
.form__button { margin-top: 2em; }
.form__button input[type=submit] {
  background: var(--color-main);
  color: #fff;
  font-size: 1.2em;
  border: 2px solid var(--color-main);
  border-radius: .3em;
  cursor: pointer;
  display: block;
  padding: .7em 1em;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  min-width: 300px;
}
.form__button input[type=submit]:hover {
  background: #fff;
  color: var(--color-main);
}
/*--------------------------------------
必須項目
---------------------------------------*/
.form__required {
  font-size: 90%;
  line-height: 1;
  color: #fff;
  background: red;
  padding: .2em .5em;
  margin-left: .5em;
  border-radius: .3em;
}