@charset "utf-8";
/* CSS Document */



/*==============================
共通
==============================*/
header{
  position: relative;
  height: 380px;
  background-image: url("../img/headBack.png");
  background-size: cover;
  background-position: center center;
  text-align: center;
  padding: 0 20px;
}

header > h1{
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  bottom: -50px;
  margin: auto;
  width: calc(100% - 40px);
  max-width: 498px;
}

header > h1 img{
  width: 100%;
  vertical-align: bottom;
}

.headTitle{
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  bottom: -50px;
  margin: auto;
  width: calc(100% - 60px);
  max-width: 500px;
  padding: 30px 0;
}

.headTitle::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skew(-15deg);
  -o-transform: skew(-15deg);
  -moz-transform: skew(-15deg);
  -webkit-transform: skew(-15deg);
  background-color: #152e4e;
  z-index: 0;
}

.headTitle > *{
  position: relative;
  z-index: 2;
}

.headTitle > h1{
  font-size: 26px;
  line-height: 26px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 10px;
}

.headTitle > p{
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 1px;
  color: #cbd4da;
}

@media screen and (max-width: 600px){
  header{
    height: 220px;
  }
}

/*==============================
メイン
==============================*/
#contactformWrap{
  padding: 100px 20px 50px;
  text-align: center;
}

#contactformWrap table{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px;
  border-collapse: collapse;
  border-spacing: 0;
}

#contactformWrap table th{
  background-color: #152e4e;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  color: #fff;
  padding: 20px;
  text-align: center;
  width: 25%;
}

#contactformWrap table td{
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc; 
  padding: 20px;
  width: 75%;
  text-align: left;
}

#contactformWrap table td label{
  margin-right: 10px;
}

#contactformWrap table td label input[type=radio]{
  margin-right: 5px;
}

#contactformWrap table td input[type="text"],
#contactformWrap table td textarea{
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #f8f9fa;
}

#contactformWrap table td select{
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #f8f9fa;  
}

.submitbtn{
  position: relative;
  display: inline-block;
  border-radius: 7px;
  background-color: #870000;
  color: #fff;
  font-size: 20px;
  padding: 10px;
  width: 250px;
  cursor: pointer;
  border: none;
}

.submitbtn::before{
  content: ">";
  display: block;
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
  color: #fff;
}

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 800px) {
}

@media screen and (max-width: 600px){
  #contactformWrap table tr{
    display: flex;
    flex-wrap: wrap;
  }
  #contactformWrap table tr th,
  #contactformWrap table tr td{
    width: 100%;
    border: none;
  }
  #contactformWrap table tr th{
    padding: 10px;
  }
}

@media screen and (max-width: 414px){
}