@charset "utf-8";
/*--------------------------------------
テーブル
---------------------------------------*/
table.form { font-size:16px; line-height:1.5; width: 100%; margin-inline: auto; border-collapse: collapse; border-spacing: 0; accent-color: #1caaec; }

.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: #ccc 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: #f1f1f1; }
.form td { margin-bottom: 2em; }
}
/*--------------------------------------
テキスト
---------------------------------------*/
.form__text {}
.form__text input[type=text] {
  background: #fff;
  border: 1px solid #999;
  box-sizing: border-box;
  padding: .5em .8em;
  width: 100%;
}
@media (min-width: 768px) { /* PC */
.form__text.-sizeL input[type=text] { width: 100%; }
.form__text.-sizeM input[type=text] { width: 50%; }
.form__text.-sizeS input[type=text] { width: 25%; }
}

/*--------------------------------------
ラジオボタン
---------------------------------------*/
.form__radio {}
.form__radio input[type=radio] {
  inline-size: 1.8rem;
  block-size: 1.8rem;
  vertical-align: middle;
}
.form__radio label {
  margin-right: 1em;
}
/*--------------------------------------
チェックボックス
---------------------------------------*/
.form__chack {}
.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 #1caaec;
  border-left: 2px solid #1caaec;
  left: .25em;
  margin-top: -.5em;
  transform: rotate(-45deg);
  height: .5em;
  width: 1em;
}
/*--------------------------------------
プルダウン
---------------------------------------*/
.form__pulldown select {
  appearance: none;
  background: #fff;
  border: 1px solid #999;
  line-height: 1;
  cursor: pointer;
  padding: 1em 1.5em;
  position: relative;
  width: 100%;
}
@media (min-width: 768px) { /* PC */
.form__pulldown select { width: 50%; }
}
.form__pulldown label {
  position: relative;
}
.form__pulldown label::after {
  content: "";
  border-bottom: 2px solid #999;
  border-left: 2px solid #999;
  margin-top: -.4em;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 1.4em;
  width: .6em;
  height: .6em;
}
/*--------------------------------------
ファイル選択
---------------------------------------*/
.form__file {}
.form__file label {
  background: #fff;
  border: 1px solid #999;
  line-height: 1;
  cursor: pointer;
  display: block;
  padding: 1em 1.5em;
  position: relative;
  width: 100%;
}
@media (min-width: 768px) { /* PC */
.form__file label { width: 50%; }
}
.form__file label::before {
  content: "＋";
  color: #999;
  font-size: 2.0rem;
  line-height: 1;
  margin-top: -.5em;
  right: 1em;
  position: absolute;
  top: 50%;
}
.form__file input[type=file] {
  display: none;
}
/*--------------------------------------
テキストエリア
---------------------------------------*/
.form__textarea {}
.form__textarea textarea {
  border: 1px solid #999;
  padding: .5em .8em;
  height: 210px;
  width: 100%;
  bacmakground: #fff;
}
/*--------------------------------------
送信ボタン
---------------------------------------*/
.form__button { margin-top: 2em; }
.form__button input[type=submit] {
  background: #1caaec;
  color: #fff;
  font-size:16px;
  border: 2px solid #1caaec;
  border-radius: .3em;
  cursor: pointer;
  display: block;
  padding: 1em;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  min-width: 280px;
}
.form__button input[type=submit]:hover {
  background: #fff;
  color: #1caaec;
}
/*--------------------------------------
必須項目
---------------------------------------*/
.form__required {
  font-size: 90%;
  line-height: 1;
  color: #fff;
  background: red;
  padding: .2em .5em;
  margin-left: .5em;
  border-radius: .3em;
}