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

/* TOOLS */
.flexBox { display: flex; justify-content: space-between; flex-wrap: wrap; }
.flexBox.center { justify-content: center;}
.flexBox > * { flex-shrink: 1; flex-grow: 0;}

.relative { position: relative;}
.absolute { position: absolute; left: 0; top:50%; transform: translateY(-50%);}

.pl2 { padding-left: 2em;}

.content { width: 100% ; max-width: 1000px; box-sizing: border-box; padding-left: 20px; padding-right: 20px; margin-right: auto; margin-left: auto;}


#header { background: #000; padding: 10px 0; }
#header h1 { flex-basis: 247px; }
#header .telBox { flex-basis: 283px; align-self: center;}

#content { background: url("../../images/bg_main.png"); padding: 100px 20px; min-height: 100vh}
#formContent .btnBox { width: 100%; max-width: 480px; margin: 0 auto 40px auto;;}
#formContent .btnBox li { flex-basis: calc( ( 100% - 10px) / 2);}

.basicTitle3 { font-size: 30px; line-height: 1.2; text-align: center; position: relative; margin: 0 0 2.5em; padding: 0 0 calc(1em + 2px); }
.basicTitle3::after { position: absolute; content: ''; left: 0; right: 0; bottom: 0; background: #333333; width: 1.5em; height: 2px; margin: auto; }
.basicTitle4 { font-size: 24px; line-height: 1.2; text-align: center; margin: 0 0 2.5em 0; font-weight: bold; color: #333;}
.basicText { font-size: 16px; line-height: 1.8em; margin: 0 0 1em 0;}

.formTable { width: 100%; margin: 0 auto 40px auto;}
.formTable tr { }
.formTable tr th { width: 240px; box-sizing: border-box; border-bottom: #fff solid 1px; padding: 2em 1em; background: #000; color: #fff; }
.need { margin: 0 0 0 1em; color: #f00;}
.formTable tr td { padding: 2em 1em; box-sizing: border-box;  background: rgba(255,255,255,0.9); border-bottom: #eee solid 1px;}
.formTable tr:last-of-type td { border-bottom: none;}
.formTable tr td ul li { margin: 0 0 0.5em 0;}
.formTable tr td .note { display: block; margin: 1em 0 0 0; font-size: 12px; line-height: 1.5;}
.formTable tr td a { display: block; margin: 0 0 1em 0; color: #000; text-decoration: underline; font-size: 18px;}
.formTable tr td a:hover { color: #999; text-decoration: underline;}
.formTable tr td.center { text-align: center;}

#formContent .btnBox button,
#formContent .btnBox input[type=submit],
#formContent .btnBox input[type=button] { display: block; outline: none; padding: 1.5em 0; text-align: center; color: #fff; background: rgba(0,0,0,1); text-decoration: none; border: rgba(0,0,0,1) solid 1px; width: 100%; font-size: 20px; cursor: pointer;}
#formContent .btnBox button:hover,
#formContent .btnBox input[type=submit]:hover,
#formContent .btnBox input[type=button]:hover { background: rgba(0,0,0,0.8);}
.formTable input[type="text"],
.formTable input[type="tel"],
.formTable input[type="email"] { display: block; padding: 0.5em 1em; font-size: 16px; line-height: 1.8; width: 100%; border: #ccc solid 1px;}
.formTable select { padding: 0.5em 1em; font-size: 16px; border: #ccc solid 1px;}
.formTable select option { }
.formTable textarea { display: block; padding: 1em; font-size: 16px; line-height: 1.8; width: 100%; border: #ccc solid 1px; min-height: 240px; resize: vertical;}
.customLabel { display: none; }
.customLabel + label i.check { display: none;}
.customLabel + label i.noCheck { display: block; position: absolute; left: 0.5em; top:50%; transform: translateY(-50%); font-size: 150%; color: #fff;}
.customLabel:checked + label i.noCheck { display: none; }
.customLabel:checked + label i.check { display: block; position: absolute; left: 0.5em; top:50%; transform: translateY(-50%); font-size: 150%; color: #fff;}
.customLabel + label { display: inline-block; position: relative; background: #ccc; color: #fff; padding: 0.5em 1em 0.5em 2.5em; border-radius: 10px; cursor: pointer;}
.customLabel:checked + label { background: #f90; padding: 0.5em 1em 0.5em 2.5em;}
#privacyCheck  + label { font-size: 20px;}

.thanksBox { text-align: center;}
.thanksBox a { display: inline-block; margin: 40px auto 0 auto; background: rgba(0,0,0,1); color: #fff; text-decoration: none; width: 100%; max-width: 180px; padding: 0.5em  1em 0.5em 2.5em; text-align: center;position: relative;}
.thanksBox a i { display: inline-block; font-size: 150%; color: #fff; left: 0.5em; top:50%; transform: translateY(-50%); position: absolute;}
.thanksBox a:hover { background: rgba(0,0,0,0.8); color: #fff; text-decoration: none;}

#footer { background: #000; padding: 10px 20px; text-align: center;}
#footer .copyright { color: #fff; font-size: 10px; line-height: 1.5;}

@media screen and ( max-width:800px) {
  .formTable { display: block; width: 100%; float: none;}
  .formTable tbody { display: block; width: 100%; float: none;}
  .formTable tr { display: block; width: 100%; float: none; margin: 0 0 20px 0;}
  .formTable tr th { display: block; width: 100%; float: none; border-bottom: none; padding: 0.5em 1em;}
  .formTable tr td { display: block; width: 100%; float: none; border-bottom: none;}
}