@charset "utf-8";
/**
* CSS Document for form-mailer only
* Date:2020/10/13 by Rakus
*/
/*form-mailer Reset*/
.fm-form-sec *{
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline;
}

/*-------------------------------------------
form-mailer PC Set(window minwidth 768px) 
基本のカスタマイズ
-------------------------------------------*/
p.header-logo img {
  width: 160px;
  height: auto;
}
.fm-form-sec{
width: 100%;
}
.fm-form-sec .annotation{ /*フォーム上部の注釈文*/
line-height: 1.5;
text-align: justify;
margin:20px auto;
background: #fff;
padding: 15px 10px;
}
.fm-form-sec .annotation-inner{ /*フォーム上部の注釈文のinner*/
font-style: 14px;
width: 95%;
max-width: 980px;
margin: 0 auto;
}
.fm-form-sec .annotation-inner p{ /*フォーム上部の注釈文p*/
font-style: 14px;
}
.fm-form-sec .annotation .required {/*注釈内の必須マーク*/
color: #fff;
background: #ff9900;
font-size: 11px;
letter-spacing: 3px;
border-radius: 2px;
padding: 1px 4px;
line-height: 100%;
vertical-align: 2px;
margin: 0 5px 6px 5px;
}
.fm-form-sec form{
width: 95%;
max-width: 980px;
margin: 0 auto;
padding: 20px 0;
}

.fm-form-sec .form-fieldset{ /*各項目をカテゴライズしてラップする*/
display:flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: space-between;
align-content: center;
font-size: 16px;
margin: 0 0 10px 0;
width: 100%;
}
.fm-form-sec .form-fieldset legend{
width: 100%;
color: #214882;
font-size: 16px;
/* margin-top: 10px; */
position: relative;
}
.fm-form-sec .form-fieldset legend::before {/*任意マーク*/
  content: "任意";
  color: #fff;
  background: #074d82;
  font-size: 11px;
  letter-spacing: 3px;
  border-radius: 2px;
  padding: 1px 4px;
  line-height: 100%;
  vertical-align: 2px;
  margin: 0 5px 6px 5px;
}
.fm-form-sec .required legend::before {/*必須マーク*/
  content: "必須";
  color: #fff;
  background: #ff9900;
  font-size: 11px;
  letter-spacing: 3px;
  border-radius: 2px;
  padding: 1px 4px;
  line-height: 100%;
  vertical-align: 2px;
  margin: 0 5px 6px 5px;
}
.fm-form-sec .form-fieldset .form-group{
width: 100%;
}
.fm-form-sec .form-group .form-control {/*ハブスポット時の設定打ち消し　main.css L2310*/
padding: 10px;
border: 1px solid #ccc;
box-shadow: none;
background: #fff;
border-radius: 3px;
width: 100%;
display: block;
}
::placeholder{
color: #888;
}
.fm-form-sec input[type="text"], .fm-form-sec input[type="email"], .fm-form-sec input[type="tel"] ,
.fm-form-sec textarea,.fm-form-sec select{/*input系のタグの成型*/
padding: 10px !important;
}
.fm-form-sec .form-fieldset input[type="text"]:focus,
.fm-form-sec .form-fieldset input[type="email"]:focus,
.fm-form-sec .form-fieldset input[type="tel"]:focus,
.fm-form-sec .form-fieldset textarea:focus,
.fm-form-sec .form-fieldset select:focus{/*input系のタグの成型*/
background: rgb(255,255,255,0.80) !important;
border: 1px solid #0697e5;
outline:none; 
}
.fm-form-sec .col-md-6{
display:inline-block;
padding: 5px;
font-size: 18px;
}
.fm-form-sec input[type="checkbox"].form-control{/*input(checkbox)のタグの成型*/
margin-right:5px;
display: inline-block;
border: 1px solid #ccc;
width: 22px;
height: 22px;
vertical-align: -4px;
}
.fm-form-sec input[type="checkbox"].form-control:focus{/*input(checkbox)のタグの成型*/
border: 1px solid #0697e5;
outline:none; 
}
.fm-form-sec .invalid-feedback{
color: #d13c66;
font-size: 14px;
margin-top: 5px;
}
.fm-form-sec input[type="submit"] {
font-size: 20px;
display: block;
font-weight: normal;
width: 80%;
margin: 30px auto 20px auto;
padding: 20px 10px;
background: #1757b9;
color: #fff;
border-radius: 5px;
border: none;
line-height: 1;
outline: none;
}
.fm-form-sec input[type="submit"]:hover {
opacity: 0.75;
}
.fm-pointers{
width: 80%;
margin: 20px auto;
font-size: 13px;
text-align: center;
}
.fm-form-sec .fm-pointers a{
text-decoration: underline;
color: #214882;
}
.fm-form-sec .fm-pointers a:hover{
color: #f28828;
text-decoration: none;
outline: none;
}

/*-------------------------------------------
form-mailer PC Set(window minwidth 768px) 
個別カスタマイズ： /inquiry/b/設定
-------------------------------------------*/
.form-formmailer {
  background: #dae3e5;
  width: 50%;
}
.form-formmailer-inner {
  width: 90%;
  max-width: 410px !important;
  margin: 0 40px;
  padding: 0;
}
.subpage .form-fieldset p {
font-size: 13px;
}
/*-------------------------------------------
form-mailer PC Set(window max-width 768px)
基本のカスタマイズ
-------------------------------------------*/
@media (max-width: 768px) {
.header-sp-logo img {
  width: 90px;
  height: auto;
  margin: 0 15px;
}
.fm-form-sec .annotation {
margin: 10px auto;
}
.fm-form-sec form{
padding: 10px 5px;
}
.fm-form-sec .form-fieldset{ /*各項目をカテゴライズしてラップする*/
display:block;
font-size: 14px;
}
.fm-form-sec .form-fieldset legend{
width: 100%;
font-size: 14px;
}
.fm-form-sec .form-fieldset .form-group{
width: 100%;
}
.fm-form-sec .invalid-feedback{
font-size: 12px;
position: relative;
}
.fm-form-sec .invalid-feedback::before{
content: "▲";
position: relative;
display: inline-block;
padding-right: 5px;
font-size: 75%;
letter-spacing: 1px;
}
.fm-form-sec input[type="submit"] {
font-size: 20px;
width: 85%;
margin: 20px auto;
padding: 20px 5px;
}
.fm-form-sec .fm-pointers{
width: 95%;
font-size: 12px;
text-align: justify;
}
.fm-form-sec .col-md-6{
display:inline-block;
padding: 5px;
font-size: 14px;
}
.fm-form-sec input[type="checkbox"].form-control{/*input(checkbox)のタグの成型*/
margin-right:3px;
display: inline-block;
border: 1px solid #ccc;
width: 18px;
height: 18px;
vertical-align: -4px;
}

/*-------------------------------------------
form-mailer PC Set(window minwidth 768px) 
個別カスタマイズ： /inquiry/b/設定
-------------------------------------------*/
.form-formmailer {
  width: 100%;
}
.form-formmailer-inner {
  margin: 0 auto;
}
}