@charset "UTF-8";

/* -------------------------- */
/* --------mail_form -------- */
/* -------------------------- */


/*-------------------------*/
/* フォーム共通（フォントは個別に指定） */
/*-------------------------*/

/* 入力エリア 共通 */
.mail_form textarea {
  font-family: var(--font-basic);
  font-size: var(--s16);
  outline: 0;
  box-sizing: border-box;
}

/* 幅100%にしたくない項目 */
.mail_form input[autocomplete='postal-code'],
.mail_form input[autocomplete='address-level1'],
.mail_form input[type='date'],
.mail_form input[type='number'],
.mail_form input[type='checkbox'],
.mail_form input[type='radio'] {
  width: auto;
}

/* 共通 */
.mail_form textarea,
.mail_form input {
  background-color: var(--color-white);
  border: none;
  padding: 15px 15px;
  width: 100%;
border-radius: 5px;
font-size: var(--s16);
}

/* ラジオボタン */
.contact-type-01 {
  margin-right: 30px;
}
.radio-txt {
  margin-left: 5px;
}
html:lang(en) .radio-txt {
  line-height: 58px;
}

@media screen and (max-width: 899px) {
  .contact-type-01 {
    margin-bottom: 15px;
  }
}

label {
  position: relative;
  cursor: pointer;
  padding-left: 30px;
}

label::before,
label::after {
  content: '';
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}

label::before {
  background-color: #f3f3f3;
  border: 1px solid #8a8a8a;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  left: 5px;
  margin-right: 4px;
}

label::after {
  background-color: #d1d1d1;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  left: 10px;
}

input:checked + label::after {
  background-color: var(--color-blue);
}

.bt-hidden {
  position: absolute;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
}

/* メッセージ内容 */
.mail_form textarea {
  height: 200px;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE, Edge 対応 */
  scrollbar-width: none; /* Firefox 対応 */
  resize: vertical;
}
/* Chrome, Safari 対応 */
.mail_form textarea::-webkit-scrollbar {
  display: none;
}

/* セレクトデザイン */
.selectbox {
    display: inline-flex;
    align-items: center;
    position: relative;
}
.selectbox::after {/*矢印 */
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
margin-right: 5px;
}
.selectbox select {
font-size: var(--s16);
    appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #333333;
    font-size:var(--s16);
    cursor: pointer;
margin-right: 10px;
}
@media screen and (max-width: 768px) {
.selectbox {
    display:block;
}
.selectbox::after {/*矢印 */
margin-top: 20px;
}
.selectbox select {
    min-width: 100%;
width: 100%;
margin-right: 0;
}
}




/*-------------------------*/
/* 必須 */
/*-------------------------*/
.mail_form .required:first-child:after {
  content: '*';
  color: var(--color-red);
  font-size: var(--s18);
}

/*-------------------------*/
/* 同意ボタン */
/*-------------------------*/

.mail_form .box {
  text-align: center;
  margin-top: 50px;
}
.doui {
  width: 260px;
  margin-right: auto;
  margin-left: auto;
  cursor: pointer;
  line-height: var(--s24);
}


/*-------------------------*/
/* エラーメッセージ */
/*-------------------------*/
.error_messe {
  color: var(--color-red);
  margin-top: 10px;
}

/*-------------------------*/
/* 確認ページ */
/*-------------------------*/
.formTable {
  margin: 50px auto 50px auto;
  border-collapse: collapse;
}
.formTable tr {
  border-bottom: 1px solid;
  display: block;
}
.formTable th {
  width: 150px;
  white-space: nowrap;
  text-align: left;
  padding: 5px 30px 5px 0;
}
.formTable td {
  padding: 10px 0;
text-align: left;
}
@media screen and (max-width: 768px) {
.formTable tr {
  border-bottom: 0;
}
.formTable th {
display: block;
background-color: var(--color-gray-light);
  padding: 5px 10px;
text-align: center;
}
.formTable td {
display: block;
padding: 5px 0 30px 0;
}
}


/*-------------------------*/
/* 送信完了ページ */
/*-------------------------*/
.form_complete {
  height: 100vh;
  display: grid;
  place-content: center; /*gridの中央配置*/
  place-items: center; /*要素二つ以上ある場合に*/
}

/*-------------------------*/
/* 共通ボタン */
/*-------------------------*/
input[type='submit'],
input[type='reset'],
input[type='button'] {
  /* ユーザーエージェントスタイルシートをリセット */
  background-color: transparent;
  padding: 0;
  border: 0;
  border-radius: 100px;
  color: inherit;
  appearance: none;
  /* ここからボタンデザイン */
  text-align: center;
  cursor: pointer;
  display: inline-block;
  color: #fff;
  padding: 15px 30px;
  margin: 40px auto 0px auto;
  font-size: 0.9rem;
}
input[type='button'] {
  background-color: var(--color-gray);
}
input[type='submit'] {
  background-color: var(--color-black);
}

/*-------------------------*/
/* 自動生成ページの調整 */
/*-------------------------*/
#formWrap {
  width: min(90%, 1000px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-top: 50px;
  font-family: var(--font-basic);
}
#formWrap .table01 {
  margin: 40px auto;
}
#formWrap h3 {
  margin-bottom: 10px;
}




/* -------------------------- */
/* --------送信完了画面 -------- */
/* -------------------------- */

.mail_form_complete{
margin-top: 200px;
display: -moz-box;
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
height: 100%;
align-items:center;
justify-content: center;
flex-direction:column; /* 無理矢理1列に行がえ */
}