@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Kaisei+HarunoUmi&display=swap');

/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
全ページ共通
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

/*-* 初期設定 *-*-*-*-*-*-*-*-*-*-*-*/
body,header,main,h1,p,div,table,tr,th,td,form,textarea{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 画像 */
img{
  border: 0;
  vertical-align: top;
}

/* フォント */
html{
  font-size: 62.5%;
  font-family: 'Kaisei HarunoUmi', serif;
  scroll-behavior:smooth;
}

/* IE対策 */
main{
  display: block;
}

h1{
  margin-top: 30px;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: 1px 0 0 rgb(0, 0, 0),0 1px 0 rgb(0, 0, 0),-1px 0 0 rgb(0, 0, 0),0 -1px 0 rgb(0, 0, 0);
}

header>p{
  margin: 0 0 20px;
  text-align: center;
  font-size: 2.3rem;
  text-shadow: 1px 0 1px rgb(128, 142, 153),0 1px 1px rgb(128, 142, 153),-1px 0 1px rgb(128, 142, 153),0 -1px 1px rgb(128, 142, 153);
}

/* テーブル */
table{
  border-collapse: collapse;
}

/* リンク */
a{
  color: rgb(0, 51, 102);
}

/* ボディ */
body{
  font-size: 1.6rem;
}

body::before{
  background: url(bg.jpg) no-repeat center;
  background-size: cover;
  content: "";
  display: block;
  position: fixed;/* 擬似要素ごと固定 */
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
}

/*-* 中央揃え *-*-*-*-*-*-*-*-*-*-*-*/
#wrapper{
  width: 450px;
  margin: 0 auto;
}

form,#done{
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgb(0, 0, 0);
  display: flex;
  justify-content: center;
  text-align: left;
  padding: 20px;
}

#done>p{
  text-align: center;
}

input{
  width: 50%;
}
textarea{
  width: 80%;
}
tr{
  display: flex;
  justify-content: center;
  text-align: left;
}

th{
  margin-top: 20px;
  text-align: center;
}

#firstchild{
  margin-top: 0;
}

td{
  margin-top: 5px;
  text-align: center;
}

.span_th{
  color: rgb(255, 255, 255);
  padding: 0 2px;
  border-radius: 5px;
  background-color: rgb(204, 51, 51);
}
.span_td{
  color: rgb(204, 51, 51);
}

.form_p{
  font-size: 1.3rem;
  font-family:"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ proN W3","Yu Gothic","游ゴシック","YuGothic","游ゴシック体","Meiryo","メイリオ",sans-serif;
}

#button{
  margin-top: 20px;
  width: 100%;
}

.btntd{
  margin-top: 30px;
  width: 130px;
  display: flex;
  justify-content:space-between;
}
.btntd>input{
  width: 50px;
}