/*--------------*/
/*   common   */
/*-------------*/
body > .wrapper > .contents.inquiry > section.contact-counsel .wrapper > div.contact4 > header > h1 span {
    background: transparent url(https://f-code.co.jp/images/efo/icon_index_contact.png) no-repeat top 1px left;
	font-size: 22px;
    line-height: 150%;
    padding: 16px 15px 16px 70px;
}
body > .wrapper {
    min-width:0;
}
body#form-page > .wrapper > .contents > section > .wrapper {
    max-width: 400px;
}
.ftra-logo{
    margin-left:20px;
    width:164px;
    height:113px;
}
footer{
	font-size: 14px;
	line-height: 150%;
	font-family: 'Lucida Grande', Tahoma, Verdana, Arial, 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, "MS Gothic", sans-serif;
	font-weight: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: subpixel-antialiased;
	background-color: #80807d;
	color: #b3b3b3;
}
footer .img.logo{
    width: 150px;
    margin: 0px auto;
    padding:20px
}
footer .img.logo img{
    width: 150px;
    margin: 0px auto;
    padding: 0px;
}

footer .copyright{
    width: 80%;
    margin: 0px auto;
    padding: 10px 0 20px 0;
    text-align: center;
    color: #fff;
}


body > .wrapper > .contents.inquiry > section.inquiry-form {
    padding-top: 0px;
}

/*--------*/
/*  form   */
/*--------*/

body#form-page > #form-content > .contents.inquiry > section.contact-counsel > h1 {
    font-weight: bold;
    color: #ee7711;
    text-align: center;
    margin: 20px 0 30px 0;
}
body#form-page > .wrapper > div.contents.inquiry > section#contact-counsel {
    display: block !important;
}
#form-page header{
    height:auto;
}
#form-page .contact4 {
    margin: auto;
}
#form-page .contact4 h1{
    font-size: 22px;
    line-height: 150%;
    padding: 16px 15px 16px 70px;
    background: transparent url(https://f-code.co.jp/images/efo/icon_index_contact.png) no-repeat top 1px left;
}
#form-page .contact4 div{
    margin-left:70px;
}
#form{
	max-width:400px;
	width:100%;
	margin:10px auto;
	padding: 10px;
	font-family: 'Kosugi', sans-serif;
	height:auto;
}

#form .label{
    margin: 25px 0 5px 0;
    font-size: 1.2em;
}
#form .field{
    height: auto;
    margin-bottom:10px;
}
#form input#companyName,
#form input#name, #form input#firstName,
#form input#tel, #form input#tel2, #form input#email {
    height: 25px;
    padding: 3px;
	width:95%;
}

#form textarea#note {
    padding: 10px 5px;
   width: 95%;
}
#form input[type=checkbox] {
    transform: scale(1.5);
    margin-right: 5px;
	margin-bottom: 15px;
}
#form li{
	list-style-type: none;
}
#form .field.syubetsu ul{
	margin: 15px 0 0 10px;
}
#form .checktxt{
	font-size: 1.1em;
}
#form span.option-m,#wpdl span.option-m{
    color: #fff;
    background-color: #ED741A;
    font-size: 11px;
    line-height: 150%;
    padding: 2px 7px;
    margin-left: 0.75em;
    -webkit-border-radius: 3px 3px;
    -moz-border-radius: 3px / 3px;
    border-radius: 3px / 3px;
}
#form span.option,#wpdl span.option {
	border-collapse: collapse;
    border-spacing: 0;
    font-style: normal;
    font-weight: normal;
    text-align: right;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
    color: #fff;
    background-color: #9ab1ce;
    font-size: 11px;
    line-height: 150%;
    padding: 2px 7px;
    margin-left: 0.75em;
    border-radius: 3px / 3px;
}
#form .btn.form {
    margin: 0px auto;
    width: 270px;
}
#form .privacymark{
	width: 100px;
    height:100px;
    float:left;
    text-align:center;
    padding: 10px;
    margin: 0px;
    overflow: auto;
}
#form .privacymark img{
    object-fit:cover;
    text-align:center;
    height: 80px;
    width: 80px;
    object-position: 0;
}


#form .kojin-area{
    margin: 10px 0 20px 0;
    overflow: hidden;
    padding-left: 10px;
}
#form .field.kojin{
    font-size:1.1em;
    width:60%;
    max-width:300px;
    height:120px;
    position:relative;
    float:left;
}
#form .field.kojin p{
	width:200px;
    height: 50px;
    top:50%;
    transform: translateY(-50%);
    position:absolute;
}


#form .kojin label {
    margin: 10px 0px;
    display: block;
}
#form .kojin a{
    font-size:1.0em;
}
footer .copyright a{
    color: #ffb6c3;
}

/*----------------*/
/*form-complete*/
/*----------------*/


#form-complete .introduction{
    font-size: 30px;
    text-align:center;
    line-height: 150%;
    width: 80%;
    margin: 20px auto 30px auto;
    max-width: 800px;
    padding: 0 15px;
}
#form-complete .introduction p{
    font-size:18px;
}
#form-complete .description{
    width:80%;
    max-width: 800px;
    margin:0 auto 50px auto;
    text-align:center;
    padding:20px;
    border:1px solid #ccc;
}
#form-complete .description h2{
    color: #EE7711;
    font-size: 25px;
    font-weight: bold;
    line-height: 150%;
    vertical-align: middle;
}
#form-complete .description p{
    font-size:18px;
    margin:20px;
}
#form-complete a.blog-link{
	background-color: rgb(179, 179, 179);
	color: rgb(255, 255, 255);
	display: block;
	margin:0 auto;
	font-size: 20px;
	font-weight: normal;
	width: 80%;
	max-width: 500px;
	height: 30px;
	line-height: 30px;
	padding:8px;
}

/*--------------*/
/*form-confirm*/
/*--------------*/

#form-confirm .btns input{
    margin:0 auto;
}

/*--------*/
/*WP DL*/
/*--------*/
#wp header a{
    display:block;
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
	}
#wp{
    width:100%;
    margin:0;
    padding:0;
}

#wp .wpimg img {
    width: 99%;
}
#wpdl .wpimg img{
    border:solid 1px #ccc;
    
}
#wpdl{
    width:90%;
    max-width:1000px;
	margin:0px auto;
	padding: 0px;
	font-family: 'Kosugi', sans-serif;
	height:auto;
    overflow: auto;
}
#wpdl section{
    overflow: auto;
}
#wpdl h1{
    width:95%;
    margin:40px auto;
    text-align:center;
    font-size:1.5em
}
#wpdl .form_area{
    width:35%;
    float:right;
    margin:0 auto;
    padding:0 20px;
    /* border:solid 1px #ccc; */
}
#wpdl .form_area .wrapper{
    width:100%;
}
#wpdl .info{
    width:57%;
    float:left;
    
}
#wpdl .ttl{
    font-size:1.5em;
    padding:10px;
    margin:15px 0;
    background-color:#ccc;
}
#wpdl .txt ul{
    width:95%;
    margin:10px 0 10px 15px;
    list-style: square;
    
}
#wpdl .txt li{
    font-size:1.1em;
    margin-bottom:9px;
}

#wpdl a{
    color:#ee751a;
}
#wpdl .label {
    font-size: 1.2em;
    margin-bottom:5px;
    margin-top:15px;
}
#wpdl input[type=text] {
    height:35px;
    width:90%;
    font-size:1.2em;
    padding:5px
}
#wpdl h3.privacy {
    text-align: center;
    margin-top: 10px;
    font-size: 13pt;
}
#wpdl h3.privacy a{
    font-size: 13pt;
}

#wpdl label.agreement{
    width: 80%;
    margin: 10px auto;
    display: block;
    text-align: center;
        font-size: 1.2em;
}
#wpdl input[type=checkbox] {
    transform: scale(1.5);
    margin-right: 5px;
    margin-bottom: 15px;
}
#wpdl .box {
	margin: 20px auto;
}
#wpdl .box .box-title {
    padding: 0 9px 9px;
    font-weight: bold;
    font-size: 1.5em;
    margin: 30px auto 15px;
    border-bottom: 2px solid #ccc;
}
#wpdl .box div {
    margin: 0;
    padding: 0;
}
#wpdl .mainform h2{
    text-align:center;
    font-size:1.4em;
    padding-bottom:10px;
}
#wp .ef{
    width:90%;
    max-width:1000px;
	margin:0px auto 20px  auto;
	padding: 0px;
    overflow: hidden;
    float:none;
    border:1px solid #ccc;
}
#wp .company_info{
    width:60%;
    margin:10px;
    padding:19px 0;
    float:left;
}

#wp .privacymark{
    padding: 5px;
    background: #ffffff;
    margin: 20px auto;
    border: 1px solid #ccc;
    overflow: hidden;
}
#wp .privacymark .des {
    float: left;
    width: 75%;
    font-size: 0.85em;
}
#wp .privacymark .mark {
	float: right;
    width: 75px;
}
#wpdl .btns{
    margin:15px 0 10px 0;
}
#wp footer .copyright a{
    color: #ff829b;
}
@media screen and (max-width: 900px) {
	html, body {
	    height: auto;
	}
	#wpdl .box .box-title{
	font-size:1.3em;
	}
    body > .wrapper > header{
    min-height: 0;
    }
    body > .wrapper > .contents.inquiry > section.first {
    padding: 7px 0 20px;
	}
	body > .wrapper > .contents.inquiry > section.contact-counsel .wrapper > div{
    margin-bottom: 15px;
	}
    #form-page .contact4 div {
    margin-left: 25px;
	}
    #form{
        width:100%;
    }
    body > .wrapper > .contents.inquiry > section.contact-counsel .wrapper > div {
    width: 100%;
    }
    h1 {
    margin-bottom: 20px;
    }
    body > .wrapper > .contents.inquiry > section.contact-counsel .wrapper > div > ul {
    padding: 0;
    width:100%;
    }
    #form input#companyName, #form input#tel, #form input#email {
    width: 90%;
	}
	#form .field.syubetsu{
	width: 95%;
	}
	footer .img.logo{
    width: 30%;
	}
	.img.logo img {
    width: 100%;
	}
    #form textarea#note {
    width: 90%;
    }
    #form-complete .introduction{
	width:90%;
    }
    #form-complete .introduction div{
	margin-bottom:15px;
	}
    #form-complete .introduction p{
	line-height:100%;
	}
    .ppolicy iframe {
    width: 93%;
    }
    footer .copyright{
    width: 95%;
    }
    #wpdl .form_area{
    width: 90%;
    padding: 20px 0;
    margin: 10px auto;
    border-top: 1px solid #ccc;
    float: none;
    }
    #wpdl .info{
        width:100%;
        float:none;
    }
    #wp .company_info {
        width: 100%;
        padding:0;
        margin:0 auto;
        float: none;
    }
    #wp .ef {
        width: 85%;
        float: none;
        padding:20px;
        border:0px;
        border-top: 1px solid #ccc;
    }

}


/***********************************
    2022.4 追加
***********************************/
html, body { height: 100%;}
 
body > footer {
  position: sticky;
  top: 100vh;
}


/* common.css */
body, a {
    font-size: 16px;
}


/* layout.css */
body > .wrapper > .contents.inquiry > section.inquiry-form {
    border-top: none;
    border-bottom: none;
    background: #f7f7f7;
}

/* 確認画面 */
body > .wrapper > .contents.trial > section.first > .wrapper > .introduction2 {
    font-weight: 600;
}
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table {
    width: 60%;
    border-collapse: collapse;
}
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table > tbody {
    display: contents;
    margin: 0;
}
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table th,
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table td {
    border: 1px solid #e3e3e3;
    border-collapse: collapse;
    padding: 14px ;
}
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table th {
    font-weight: 600;
    background: #f7f7f7;
    text-align: center;
}
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table td {
    text-align: left;
}
body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table td .input {
    font-size: 1.1em;
}



/* style_form.css */
body, #form {
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
}
body#form-page > .wrapper > .contents > section > .wrapper {
    max-width: 500px;
    padding: 50px 20px;
}
body > .wrapper > .contents.inquiry > section.contact-counsel {
    padding-bottom: 0;
}

.contents { overflow: hidden; }

#form { 
    padding: 0;
    margin-bottom: 0;
}
#form input#companyName, #form input#name, #form input#firstName, #form input#tel, #form input#tel2, #form input#email, #form textarea#note {
    padding: 0.75em 0.85em;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
}
::placeholder {
    color: #ccc;
}
#form input[type=checkbox] {
    border: none;
    margin-right: .8em;
    margin-bottom: .8em;
}

#form-page .contact4 h1 {
    position: relative;
    text-align: center;
    padding: 20px;
    font-weight: 600;
    background: none;
    margin-top: 66px;
}
#form-page .contact4 h1::before {
    position: absolute;
    content: '';
    background: url(../../images/efo/icon_index_contact.png);
    background-size: cover;
    width: 50px;
    height: 50px;
    top: -40px;
    left: 46%;
}

#form .label {
    font-size: .9em;
    font-weight: 600;
}
#form .label:first-child {
    margin-top: 0;
}
#form span.option-m, #wpdl span.option-m {
    background: transparent;
    color: #fc3d3d;
    font-size: 1em;
    padding: 0;
    margin-left: 0.2em;
}

#form-page .contact4 div {
    margin-left: 0;
    text-align: center;
}

#form .field.name {
    display: flex;
    justify-content: space-between;
}
#form .field.name input.name-items {
    width: calc(100% / 2 - 34px) !important;
}
#form .field.syubetsu ul {
    margin-top: 0;
}
#form .checktxt,
#form .field.kojin {
    font-size: 1em;
}
.kojin a {
    color: #6699cc;
    padding: 0;
}


/* 送信ボタン */
  .btn {
    width: 100%;
    max-width: unset;
    margin: 0 auto;
  }
  body > .wrapper > .contents.trial > section.trial-form > .wrapper > form .btns > * {
      display: block;
      padding: 0;
      margin: 45px auto 90px;
  }
  body > .wrapper > .contents.trial > section.trial-form > .wrapper > form .btns {
      max-width: 300px;
      padding-bottom: 0;
  }
  a.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    position: relative;
    background: #e71;
    border: 1px solid #e71;
    box-sizing: border-box;
    padding: 0 25px 0 40px;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
  }
  a.button:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 25px;
    margin-top: -6px;
  }
  a.button:hover {
    background: #fff;
    color: #e71;
  }
  a.button:hover:before {
    border-top: 2px solid #e71;
    border-right: 2px solid #e71;
  }



  /* 完了画面 */
#form-complete .introduction {
    font-size: 22px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 0 35px 0;
}
#form-complete .introduction div > div {
    font-weight: 600;
    margin-bottom: 0.5em;
}

#form-complete .description {
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,.15);
    margin: 0 auto;
    padding: 40px 20px;
}

/* blogリンクボタン */
#form-complete a.blog-link {
    position: relative;
    background: #e71;
    border: 1px solid #e71;
    margin-top: 50px;
    padding: 14px 10px;
    width: 50%;
    font-size: 1.1em;
}
#form-complete a.blog-link:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 25px;
    margin-top: -6px;
}
#form-complete a.blog-link:hover {
    background: #fff;
    color: #e71;
}
#form-complete a.blog-link:hover:before {
    border-top: 2px solid #e71;
    border-right: 2px solid #e71;
}



@media screen and (max-width: 900px) {
    body#form-page > .wrapper > .contents > section > .wrapper {
        padding: 30px 0 50px;
    }
    #form { 
        width: 92%;
        margin: 0 auto;
        padding-bottom: 50px;
    }
    #form-page .contact4 h1 {
        margin-top: 54px;
        margin-bottom: 0;
    }
    #form-page .contact4 div {
        line-height: 1.6;
        /*font-size: 16px;*/
    }
    #form .label { font-size: 1em;}
    #form .field { width: 92%;}
    #form .field.name input.name-items { width: calc(100% / 2 - 30px) !important;}
    #form .field.name,
    #form .field.naiyou { width: 100%;}
    #form input#companyName, #form input#tel, #form input#email { width: 100%;}
    #form .field.name input.name-items {
        width: calc(100% / 2 - 10%) !important;
    }


    body > footer { top: 78vh;}
    body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table {
        width: 100%;
    }
    body > .wrapper > .contents.trial > section.trial-form > .wrapper > form > table th {
        background: #f7f7f7;
    } 

    body > .wrapper > .contents.trial > section.trial-form > .wrapper > form .btns {
        margin: 0 auto;
    }
    
      /* 完了画面 */
    #form-complete .description { margin-bottom: 50px;}
    #form-complete .description p { margin: 20px 10px;}
    #form-complete a.blog-link { width: 86%;}

}