@charset "utf-8";
/* CSS Document */

#title_wrap h2::before{
  background: url("../img/titile_bg.jpg") no-repeat center / cover;
}

.read{
  max-width: 1000px;
  margin: 0 auto 80px;
  font-size: 16px;
  line-height: 2;
}
.read a{
  margin: 0 0.3em;
  text-decoration: underline;
}
.read a:hover{color: #003a89;}

@media only screen and (max-width: 600px) {.read{margin: 0 auto 40px;}}

/* -------------------------------------------------
#form
------------------------------------------------- */

/* フォーム */

#form{margin-bottom: 120px;}

.box_con {
  max-width: 900px;
  margin: 0  auto;
  font-size: 16px;
  text-align:left;
}
@media only screen and (max-width: 768px) {.box_con {width: 95%;}}

.box_con form {width: 100%;}
.box_con form table {width: 100%; margin-bottom: 80px;}
.box_con form table tr {position: relative;}
.box_con form table tr:after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 1px;
}
.box_con form table tr th {
  width: 30%;
  font-weight: normal;
  padding: 1em .5em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
}

.box_con form table tr th span {
  background: #003a89;
  padding: .3em;
  color: #fff;
  margin-left: .5em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1;
}
.box_con form table tr td {
  padding: 1em .5em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.box_con form table tr .box_br {display: block;}
.box_con form table tr select {border: 1px solid #D9F0FA;}
.box_con form table tr label input {
  cursor: pointer;
  display: none;
  vertical-align: middle;
}
.box_con form table tr select, .box_con form table tr input, .box_con form table tr textarea {
  width: 100%;
  height: 3em;
  padding: .5em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ababab;
}
.box_con form table tr textarea {height: 10em;}

@media only screen and (max-width: 768px) {
  .box_con form table tr th {
    text-align: center;
    width: 100%;
    display: block;
    background: #ebebeb;
    padding: .8em .2em;
  }
  .box_con form table tr td {
    padding: 1.5em 0;
    display: block;
    width: 100%;
  }
}

/* プライバシーポリシー */

.con_pri {
  max-width: 700px;
  margin: 0  auto;
  font-size: 14px;
}
.con_pri .box_pri {
  height: 300px;
  overflow-y: scroll;
  border: 1px solid #ababab;
  background: #f8f8f8;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 20px;
  padding: 20px 55px;
}
.con_pri .box_pri .box_tori {
  text-align: left;
  margin-top: 40px;
}
.con_pri .box_pri .box_tori h3 {
  font-weight: normal;
  margin-bottom: 30px;
  font-size: 20px;
}
.con_pri .box_pri .box_tori h3::before{display: none;}

.con_pri .box_pri .box_tori .txt {padding: 0 20px;}

.con_pri .box_pri .box_num {margin-top: 30px;}

.con_pri .box_pri .box_num h4 {
  font-weight: normal;
  font-size: 16px;
}
.con_pri .box_pri .box_num .txt {
  padding: 10px 0 0 20px;
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .con_pri .box_pri {padding: 4%;}
}
@media only screen and (max-width: 768px) {
  .con_pri {width: 95%;}
  .con_pri .box_pri {
    margin-top: 4%;
    padding: 3%;
  }
  .con_pri .box_pri .box_tori {margin-top: 4%;}
  .con_pri .box_pri .box_tori h3 {margin-bottom: 4%;}
  .con_pri .box_pri .box_tori .txt {padding: 0;}
  .con_pri .box_pri .box_num {margin-top: 5%;}
  .con_pri .box_pri .box_num .txt {padding: 3% 0 0 3%;}
}

.box_check {text-align: center; margin: 3em auto;}
.box_check label {display: inline-block;}
.box_check label span {margin-left: .3em;}

.btn {text-align: center;}
.btn input {
  display: inline-block;
  background: #fff;
  padding: .5em 4em;
  color: #003a89;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #003a89;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.btn input:hover {
  background: #003a89;
  color: #fff;
}

/* バリデーションほか */

.notice{
	display: none;
	color: #C40018;
	font-size: 14px;
}
#notice-input-1, #notice-input-2, 
#notice-input-3, #notice-input-4 {margin-bottom:20px;}

.btn_wrap{margin: 3em 0 80px;}
.btn_wrap .flex{  
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
  -webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
  text-align: center;
}
.btn_wrap .flex > div {margin: 0 1em;}
.con_read{
  font-size: 16px;
  line-height: 2;
  margin: 80px 0;
}
.message_txt{
  font-size: 16px;
  line-height: 2;
  margin: 80px 0 120px;
}
@media only screen and (max-width:768px){
  .btn_wrap .flex{display: block;}
  .btn_wrap .flex > div {margin: 1em auto;}
  .con_read{
    font-size: 14px;
    margin: 60px 0;
  }
  .message_txt{
    font-size: 14px;
    margin: 60px 0 100px;
  }
}