/**********************************************************************/
/* ハック
/**********************************************************************/

footer{
  display: none;
}

/**********************************************************************/
/* 変数
/**********************************************************************/
:root{
  --c_text_red: #A21C1C;
}

/**********************************************************************/
/* レイアウト
/**********************************************************************/

section.document{
  padding-bottom: 15vh;
}
section.document .bodying .eyecatch{
  padding-bottom: 2em;
  margin-top: -1em;
  max-width: 60vw;
  margin-inline: auto;
}
section.document .bodying .eyecatch img{
  margin-left: -2%;
}
section.document .bodying .alart{
  padding: .5em 1em;
  background-color: #f9f2f2;
  border: 1px solid rgb(237 216 216);
  border-radius: 0 0 .5em .5em;
  color: var(--c_text_red);
} 
section.document .bodying .message{
  padding-block: 2em;
  margin-block: 1.5em;
  border-top: 1px solid var(--c_border);
  border-bottom: 1px solid var(--c_border);
} 
@media screen and (max-width: 520px){
  section.document .bodying .intro{
    margin-bottom: 2em;
  } 
  section.document .bodying .message{
    text-align: left; 
  }
}

/**********************************************************************/
/* ブロック
/**********************************************************************/

section.document .bodying .block{
  padding-block: 2em;
}
section.document .bodying .block .index{
  border-bottom: 1px solid var(--c_border);
  padding-bottom: .25em;
  margin-bottom: .5em;
}
section.document .bodying .block .item{
  padding-block: .5em;
}
section.document .bodying .block .item .control + .control{
  margin-top: 10px;
}
section.document .bodying .block .item .title{
  margin-bottom: .15em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #898989;
}
@media screen and (max-width: 520px){
  section.document .bodying .block{
    padding-block: 1em;
  }
  section.document .bodying .block .item .control + .control{
    margin-top: 5px;
  } 
}

/**********************************************************************/
/* フォームコントロール
/**********************************************************************/

section.document .bodying .block .item .control input[type="text"],
section.document .bodying .block .item .control input[type="email"],
section.document .bodying .block .item .control input[type="tel"],
section.document .bodying .block .item .control select,
section.document .bodying .block .item .control textarea{
  width: 100%;
}

/**********************************************************************/
/* 必須
/**********************************************************************/

section.document .bodying .block .item .title::after{
  content: "任意";
  color: var(--c_primary);
  font-size: 90%;
  display: inline-block;
}
section.document .bodying .block .item .title[data-required]::after{
  content: "必須";
  color: var(--c_text_red);
}

/**********************************************************************/
/* 送信ボタン戻るボタン
/**********************************************************************/

section.document .block.submit .inputs{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
@media screen and (max-width: 520px){
  section.document .block.submit .inputs{
    flex-direction: column-reverse;
  }
}

/**********************************************************************/
/* 完了ページ
/**********************************************************************/

section.document.complete{
  min-height: 90vh;
}
section.document.complete .button a{
  padding: .75em 2em;
  width: 12em;
  border-radius: .5em;
  background-color: var(--c_primary);
  color: var(--c_white);
  text-align: center;
}