@charset "UTF-8";
/* CSS Document */
.main {
  background-color: #FFF;
  padding-bottom: 50px;
}
.section-top__main-image img {
  width: 100%;
  height: 50vw; /*画面に合わせて画像を大きくする方法。VWは画面横幅を100としたの値を入れる*/
  max-height: 800px; /*上記では縦が大きくなるため最大を入れる*/
  object-fit: cover; /*画像の埋め込み方*/
  object-position: 50% 50%; /*真ん中に埋める*/
}
/*画像送りスリックJAVA用*/
.section-top .slick-dots {
  bottom: 10px;
}
.section-top .slick-dots li button:before {
  color: #4C3C31;
  font-size: 10px;
}
.section-top h2 {
  font-size: 3.5em;
  color: floralwhite;
  position: absolute; /*absoluteで位置指定する*/
  width: 100%;
  top: 20%;
  left: 5%;
  line-height: 1em;
  text-shadow: 0 0 0.2em rgba(0, 0, 0, 1);
}
#formWrap {
  width: 700px;
  margin: 0 auto;
  color: #555;
  line-height: 200%;
  font-size: 100%;
}
table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
table.formTable td, table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
}
table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}
p {
  text-align: center;
  margin: 30px;
}
@media screen and (max-width:572px) { /*　スマホ向け　この画面幅以下なら*/
  .section-top h2 {
    font-size: 2em;
    color: floralwhite;
    position: absolute; /*absoluteで位置指定する*/
    width: 100%;
    top: 15%;
    left: 5%;
    line-height: 1em;
    text-shadow: 0 0 0.2em rgba(0, 0, 0, 1);
  }
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }
  table.formTable th, table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  form input[type="text"], form textarea {
    width: 80%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }
  form input[type="submit"], form input[type="reset"], form input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }
}