@charset "UTF-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main , menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  line-height: normal;
  letter-spacing: normal;
  vertical-align: baseline;
  font-weight: normal;
  font-style: normal;
  font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,"ＭＳ Ｐゴシック",sans-serif;
  -webkit-text-size-adjust: 100%;
  word-break: break-all;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, main, nav, section {
  display: block;
}

body {
  line-height: 1;
  background: #fff;
  color: #000;
}

ul,
ol {
  list-style: none;
}

br {
  letter-spacing: normal;
}

a,
select {
  cursor: pointer;
}

img {
  vertical-align: bottom;
}

th {
  text-align: left;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix {
  min-height: 1%;
  /* display: inline-block; */
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  line-height: 0;
  font-size: 0;
}


.wpcf7-form .wpcf7-response-output.wpcf7-validation-errors {
    color: #D8000C;
    background-color: #FFBABA;
    border: 0;
    padding: 10px;
}
.wpcf7-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    color: #4F8A10;
    background-color: #DFF2BF;
    border: 0;
    padding: 10px;
}
div.wpcf7-mail-sent-ok:before,div.wpcf7-validation-errors:before {
    font: 26px/30px dashicons;
    margin-right: 16px;
    vertical-align: middle;
}
div.wpcf7-mail-sent-ok:before {
    content: "\f147";
}
div.wpcf7-validation-errors:before {
    content: "\f158";
}

#form-wrap .body th {
  vertical-align: middle;
}
#form-wrap .body th p {
  font-size:11px;
  color:grey;
}
#form-wrap .p-postal-code {
	width:100px!important;
}
#form-wrap input[type="text"], #form-wrap input[type="email"], #form-wrap input[type="tel"], #form-wrap textarea, #form-wrap select {
    border: 1px solid #ccc;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 5px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    width: 80%;
}
#form-wrap select {
    line-height: 1;
    padding: .3em .3em .4em;
    font-size: 80%;
}
#form-wrap .inquiry-btn:disabled {
    background: #ccc;
}
input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:focus {
    background-color: #ffedf3;
}
input:focus:invalid, textarea:focus:invalid, select:focus:invalid {
    background-color: #ffedf3;
}
input:invalid, textarea:invalid, select:invalid {
    background-color: #ffedf3;
}
#form-wrap sub {
	font-size: 0.9em;
	color: #666;
	line-height: 1.4em;
}
#form-wrap .inquiry-btn {
    color: #FFF;
    font-weight: 800;
    font-size: 16px;
    border: 0;
    padding: .5em 1em;
    width: 18em;
    position: relative;
    cursor: pointer;
}
#form-wrap .back-btn {
    color: #FFF;
    font-weight: 800;
    font-size: 16px;
    border: 0;
    padding: .5em 1em;
    width: 10em;
        margin-right: 1em;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999;
}
.vald_msg {
	display: block;
	color: red;
	margin: 1em 0em;
}
input.error  {
	color: #b94a48;
	border-color: #ee5f5b;
}
.bt-area {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.sent #inquiry_div {
        display:none;
}
.wpcf7-back {
    margin-right: 1em;
}
.wpcf7-submit {
    margin-left: 1em;
}
.inquiry-select {
        display:none;
            margin: .5em;
}
.small {
    font-size: 80%;
    margin-left: .5em;
}