

#ModalContents {
    position: relative;
    max-width: 100%;
	width: 94%;
	margin: 0 auto;
	padding: 60px 0 30px;
	font-size: 0;
}

#ModalContents header {
    margin-bottom: 10px;
}

#ModalContents header h2 {
    text-align: center;
}

#ModalContents header h2 b {
    font-family: rift-soft, sans-serif;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.2em;
}

#ModalContents header h2 span {
    font-family: 'M PLUS 1p', sans-serif;
	font-size: 15px;
	margin-left: 20px;
}

#ModalContents header h2 b,
#ModalContents header h2 span {
    display: inline-block;
	vertical-align: middle;
}

#ModalContents header h2 span img {
	width: 13px;
	vertical-align: middle;
	margin-right: 6px;
}

#ModalContents header .stepimage {
    width: 90%;
	margin: 20px auto;
}

#ModalContents header .stepimage div {
    width: 76%;
}

@media screen and (min-width: 1024px) {

    #ModalContents header .stepimage {
        width: 90%;
        margin: 20px auto;
    }

    #ModalContents header .stepimage div {
        width: 58.5%;
    }

}

#ModalContents label {
    position: relative;
	display: inline-block;
	vertical-align: top;
	width: 100%;
	margin-right: 0;
	cursor: pointer;
	border-bottom: solid 1px #000;
	-webkit-tap-highlight-color:transparent;
}

#ModalContents label:hover {

}

#ModalContents label:nth-child(4n){
	margin-right: 0;
}

#ModalContents dl.pdf {
    width: 100%;
	font-size: 0;
	line-height: 0;
	padding: 20px 0 20px;
}

#ModalContents dl.pdf dt,
#ModalContents dl.pdf dd {
    display: inline-block;
	vertical-align: top;
    margin: 0;
	padding: 0;
}

#ModalContents dl.pdf dt {
    width: 42%;
	padding: 0 0 0 6%;
}

#ModalContents dl.pdf dd {
    width: 58%;
	padding: 0 2% 0 3%;
}

#ModalContents dl.pdf dd h3 {
    text-align: left;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;
	margin-bottom: 10px;
}

#ModalContents dl.pdf dd p {
    font-size: 14px;
	line-height: 1.4;
	text-align: justify;
	margin-bottom: 10px;
}

#ModalContents dl.pdf dd div {
    text-align: center;
}
#ModalContents label::selection,
#ModalContents dl.pdf dt::selection,
#ModalContents dl.pdf dd::selection,
#ModalContents dl.pdf dt img::selection,
#ModalContents dl.pdf dd h3::selection,
#ModalContents dl.pdf dd p::selection {
    outline:none;
}

#ModalContents img {
    max-width: 100%;
	width: 100%;
    height: auto;
    vertical-align: bottom;
}

input[type=checkbox] {
  display: none;
}

.checkbox {
	box-sizing: border-box;
	position: relative;
	display: inline-block;
	margin: 0;
	vertical-align: middle;
	cursor: pointer;
}

.checkbox:hover {
}

.checkbox:hover:after {
    border-color: #666;
}

.checkbox:before {
	position: absolute;
	top: 50%;
	left: 4%;
	margin-top: -9px;
	margin-left: -5px;
	display: block;
	width: 10px;
	height: 18px;
	border-right: 3px solid #fff;
	border-bottom: 3px solid #fff;
	content: '';
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	z-index: 3;
}

.checkbox:after {
	position: absolute;
	top: 50%;
	left: 4%;
	margin-top: -15px;
	margin-left: -15px;
	display: block;
	width: 30px;
	height: 30px;
	/* background-color: #D9D9D9; */
	background-color: inherit;
	border: 2px solid #000;
	content: '';
	z-index: 1;
}

input[type=checkbox]:checked + .checkbox:after {
    background-color: #009DE4;
}

input[type=checkbox]:checked + .checkbox:before {
   opacity: 1;
}

.submitterbox {
    padding: 30px 0 0;
}

.submitterbox.center {
    padding: 30px 0 30px;
	text-align: center;
}

.submitterbox.back {
    padding: 10% 0 0;
}

#TopBlock02 .submitterbox.center {
    padding: 60px 0 30px;
}

#TopBlock03 .submitterbox.center {
	padding-top: calc(5% + 30px) ;
}

p.tojiru {
	margin: 0 auto;
	width: 60px;
    text-align: center;
	padding: 0 0 0;
	color: #000;
}

p.tojiru span {
    display: inline-block;
	width: 100%;
	cursor: pointer;
}

@media screen and (min-width: 1024px) {

    /* ハンバーガー ─────────*/
    .mclose_contact .modal__toggle,
    .mclose_download .modal__toggle {
        top:10px;
        right:30px;
		width: 44px;
		height: 44px;
    }

	.mclose_contact.active .modal__toggle__bar,
    .mclose_download.active .modal__toggle__bar {
        top: 20px;
        left: 12px;
        height: 4px;
        width: 18px;
    }

	#TopBlock02 .submitterbox.center {
        padding: 100px 0 30px;
    }

    #TopBlock03 .submitterbox.center {
        padding-top: calc(10% + 30px) ;
    }

    #ModalContents {
        width: 86%;
        padding: 5% 0;
    }

	#ModalContents.contact {
	    max-width: 1040px;
	}
	
	.contents_contact {
	    width: 100%;
	    max-width: 1040px;
		margin: 50px auto 0;
	}

	#ModalContents.contact header {
	    padding-bottom:30px;
		width: 100%;
	}

	#ModalContents header h2 b {
        font-size: 33px;
        letter-spacing: 0.3em;
    }

    #ModalContents header h2 span {
        font-size: 15px;
        margin-left: 3%;
		letter-spacing: 0.1em;
    }

	#ModalContents header h2 span img {
        width: 16px;
        margin-right: 8px;
    }

    #ModalContents label {
        width: 25%;
    }

	#ModalContents label {
        border-radius: 20px;
        border-bottom: none;
    }

	#ModalContents label:hover {
        background-color: #D9D9D9;
    }

	#ModalContents dl.pdf {
        padding: 60px 0 50px;
    }

	#ModalContents dl.pdf dt {
        width: 100%;
		padding: 0 5%;;
    }

    #ModalContents dl.pdf dd {
        width: 100%;
		padding: 10px 10% 20px;
    }

	#ModalContents dl.pdf dd h3 {
        text-align: center;
        font-size: 17px;
        margin-bottom: 20px;
    }

	.checkbox:before {
        top: auto;
		bottom: 38px;
        left: 50%;
        margin-left: -5px;
    }

    .checkbox:after {
        top: auto;
		bottom: 30px;
        left: 50%;
        margin-left: -15px;
    }



}

#ContactFoot {
    position: relative;
	top:-30px;
    font-family: 'rift-soft', 'M PLUS 1p', sans-serif;
	display: table;
	width: 90%;
	max-width: 760px;
	box-shadow:1px 3px 4px 1px rgba(0, 0, 0, 0.1);
	border-radius: 100px;
	margin: 50px auto 0;
	background-color: #fff;
}

#ContactFoot .inner {
    display: table-cell;
	vertical-align: middle;
	padding: 10px;
	text-align: center;
	line-height: 1.2;
}

#ContactFoot h4,
#ContactFoot var,
#ContactFoot time {
    display: inline-block;
	vertical-align: middle;
}

#ContactFoot h4 span {
    display:none;
}

#ContactFoot time i {
    display: inline-block;
	vertical-align: middle;
}

#ContactFoot h4 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.05em;
}

#ContactFoot var a {
    font-size: 26px;
	font-weight: 700;
	vertical-align: middle;
	letter-spacing: 0.1em;
}

#ContactFoot var {
	margin: 0 0 0 3%;
}

#ContactFoot var i {
    font-size: 13px;
	display: inline-block;
	vertical-align: -13%;
}

#ContactFoot time {
    font-family:'M PLUS 1p', sans-serif;
	font-size: 12px;
	text-align: left;
    line-height: 1.4;
}

#footerblocks {
	width: 100%;
	text-align: center;
	padding: 0 0 4%;
	background-color: #FFFFFF;
}



/*
===== お問い合わせ ==========================================
*/

.inquiryleft {
    position: relative;
    padding: 10px 0 10px;
	width: 100%;
	margin: 0 auto;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
}

.inquiryleft p {
    padding: 0 0 20px;
	line-height: 1.6;
}

.inquiryleft span{
    display: block;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
	text-align: justify;
}

.inquiryleft span.pc {
    display: none;
}

.spinquiryleft.sp {
    display: block;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
	text-align: justify;
	margin: 10px 0 0;
}

.inquiryleft_wrapper {
}

.mailblock h4 {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
	margin-bottom: 10px;
}

.inquiryleft .mailblock p {
    padding: 0 0 0;
}

.mailblock {
    padding: 0 0 20px;
}

#Inquiry {
    padding: 0 0;
	width: 100%;
	margin: 0 auto;
}

#Inquiry.plane {
    padding: 100px 0 0;
	margin: -100px auto 0;
}

.inquirycontainer {
    padding: 10px 2% 40px;
}

#Inquiry header {
    text-align:center;
}

#Inquiry header h2 {
    font-size: 20px;
    color: #000;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 5px;
}

#Inquiry header p {
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
	color: #4188F0;
}

p.caution {
    text-align: center;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 400;
	color: #FF0000;
}

.inquiry-inner {
    padding: 0 0 0;
}

.inquiry-inner dl {
    display: block;
	position: relative;
	margin: 0;
	padding: 13px 0;
	margin: 15px 0;
	border: 1px solid #000;
	border-radius: 5px;
}

.inquiry-inner dl:focus-within {
    border: solid 1px #4591FF;
}

.inquiry-inner dl:required,
.inquiry-inner dl:required {
       border: solid 3px #FF0000!important;
}

.inquiry-inner dl.first { }
.inquiry-inner dl.last { }

.inquiry-inner dl:before {
	content:none;
}

.inquiry-inner dt,
.inquiry-inner dd {
    display: inline-block;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

.inquiry-inner dl.textarea {
	padding: 10px 0 0;
}

.inquiry-inner dl.textarea dt,
.inquiry-inner dl.textarea dd {
    display: block;
	width: 100%;
}

.inquiry-inner dt {
	margin: 0;
	padding: 0 0 0 10px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 400;
	color: #000;
}

.inquiry-inner dt {
    width: 18%;
}

.inquiry-inner dd {
    width: 82%;
	padding: 0 5px 0 0;
}

.inquiry-inner dl:nth-child(2) dt {width: 30%;}
.inquiry-inner dl:nth-child(2) dd {width: 70%;}

.inquiry-inner dl:nth-child(4) dt {width: 29%;}
.inquiry-inner dl:nth-child(4) dd {width: 71%;}

.inquiry-inner dd select {
    display: inline-block;
}

.inquiry-inner dt span {
	color: #FF0004;
}

span.error_blank,
span.error_format{
    position: absolute;
	top: 0;
	left: 10px;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 500;
	width: 60%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0 0 0;
}

.inquiry-inner dl:nth-child(4) span.error_blank {

}


#error {
    padding: 30px 0;
}

#error h3 {
    text-align: center;
	font-size: 18px;
	line-height: 1.4;
	color: #FF6666;
	margin-bottom: 20px;
}

#error p {
    text-align: center;
	font-size: 15px;
	line-height: 1.8;
	color: #FF6666;
}

input[type=text],
input[type=tel] ,
input[type=email],
textarea{
    width: 100%;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #333;
	border: none;
	height : 30px;
	padding :0 0;
	border-radius: 0;
	background-color: transparent;
}

select#contactSelect{
    width: 96%;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #333;
	border: none;
	height : 30px;
	padding :0 10px;
	border-radius: 0;
	background-color: transparent;

	-webkit-appearance: button;
    appearance: button;
}

/* safariで自動入力欄の色（黄色）を変更する */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

input::placeholder,
textarea::placeholder{
    color: #898989;
    font-size: 17px;
    font-weight: 700;
    opacity: 0.5;
}

/* Webkit */
::-webkit-input-placeholder {
    opacity: 0.7;
}

::-moz-placeholder {
    /* Firefox 19 以降のデフォルトでは */
    /* color ではなく opacity で色合いを調整しているため */
    /* 文字色を指定する場合、opacity を 1 にする必要がある */
    opacity: 0.7;
}

::-ms-input-placeholder {
    opacity: 0.7;
}

textarea{
	width : 100%;
	max-width : 100%;
	height : 100px;
	padding : 10px 15px 10px;
	resize : vertical;
	-webkit-appearance : none;
	border-radius: 0px;
}

/* -- for JavaScript -------------------------------------------------------------------------------- */

form#mail_form dl dt span {
	font-size: 14px;
	line-height: 1.4;
}

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional{
	display : none;
	float : left;
	font-weight : bold;
	color : #ffffff;
	padding : 3px 5px;
	border-radius : 3px;
}

form#mail_form dl dt span.required{
	background : rgba( 255, 50, 50, 0 );
}

form#mail_form dl dt span.optional{
	background : rgba( 255, 255, 255, 0 );
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match{
	display : block;
	color : #ff0000;
}

form#mail_form select{
	background-color: #FFFFFF;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

span.loading{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -25px;
	margin-left: -25px;
}

@-webkit-keyframes load-circle{
	0%{
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100%{
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle{
	0%{
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100%{
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

div#confirm_field{
	width : 100%;
	margin : 0px auto;
	padding : 10px 0;
	background : #fff;
}

div#confirm_field{
	display : none;
}

div#confirm_field h2 {
    width: 100%;
    position: static;
	text-align: center;
	margin-bottom: 30px;
}

div#confirm_field h2{
	font-size : 15px;
	line-height: 1.4em;
	font-weight: 400;
	color: #000;
}

div#confirm_field h2 span {
	display: block;
	font-size : 13px;
	line-height: 1.4em;
	font-weight: 100;
	padding: 10px 0 10px 0;
}

div#confirm_field dl{
	width : 100%;
	margin : 0 auto;
	overflow : hidden;
}

div#confirm_field dl dt:first-of-type,
div#confirm_field dl dd:first-of-type {border-top :none!important;}

div#confirm_field dl dt{
	clear : both;
	width : 100%;
	padding : 0 0 5px;
	text-align : left;
	color: #000;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 400;
	color: #FF0004;
}

div#confirm_field dl dd{
	width : 100%;
	padding : 0 0 20px 10px;
	color: #000;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 700;
}

input#company:focus { }

.thanks {
    padding: 30% 5% 20%;
	max-width: 1140px;
	margin: 0 auto;
	text-align: center;
}

.thanks h2 {
    font-size: 18px;
	line-height: 1.8;
	margin: 0 0 7%;
}

.thanks h2 span {
    display: block;
}

.thanks h2 span.second {
    display: block;
}

.thanks p {
    font-size: 14px;
	line-height: 2;
    color: #000000;
	text-align: justify;
}

.thanks p br {
	display: none;
}

.thanks h3 {
    font-size: 16px;
	line-height: 1.8;
	margin: 7% 0 0;
	letter-spacing: 0.1em;
}

.thanks h3 a {color: #000;}
/*======================================
	PC > 1024px
=======================================*/
@media screen and (min-width: 1024px) {

    .inquiryleft {
	    position: absolute;
		top: 0;
		left: auto;
		right: -110%;
		padding: 0;
		width: 90%;
    }
	
	#Inquiry.plane .inquiryleft {
		top: 100px;
    }
	
	div#confirm_field .inquiryleft {
		top: 0;
		left: -115%;
		right: auto;
	}

	.modal_download_confirm .inquiryleft,
	.modal_contact_confirm .inquiryleft {
		top: 28%;
    }

	.inquiryleft p {
        padding: 0 0 30px;
    }
	
	.inquiryleft span.pc {
	    display: block;
	}
	
	.inquiryleft span.sp {
        display: none;
    }
	
	.spinquiryleft.sp {
	    display: none;
	}

	div#confirm_field h2 {
	    width: 100%;
        position: absolute;
		top: 30%;
        left: -115%;
		text-align: left;
		margin-bottom: 0;
    }

	.mailblock {
        padding: 0 0 60px;
    }

	.inquiryleft .mailblock p {
        padding: 0 0 3px;
    }

    #Inquiry {
	    position: relative;
        float: left;
		width: 46%;
    }
	
	div#confirm_field #Inquiry {
        float: right;
		width: 46%;
    }

	.inquiry-inner dl {
        padding: 5px 0px;
        margin: 0px 0 15px;
        border: 1px solid #000;
        border-radius: 5px;
    }

	.inquiry-inner dt {
        width: 18%;
    }

    .inquiry-inner dd {
        width: 82%;
        padding: 0 5px 0 0;
    }

    .thanks {
        padding: 10% 10% 10%;
    }

	.thanks h2 {
        font-size: 22px;
    }

	.thanks h2 span.second {
        display: inline;
    }

	.thanks p {
	    text-align: center;
        font-size: 16px;
    }

	.thanks p br {
        display: inline;
    }

	.thanks h3 {
        font-size: 24px;
    }

	input[type=text],
    input[type=tel] ,
    input[type=email]{
        height : 40px;
    }

    select#contactSelect{
        height : 40px;
    }

}

/*======================================
	DLE Custom
=======================================*/
#ModalContents .btn_black {
	border: 2px solid #000;
}
#ModalContents .btn_black:hover {
	outline: none;
	border: 2px solid #E3007F;
	box-shadow: none;
	color: #fff;
    background: #E3007F;
	transition: all .3;
}
#ModalContents label:hover {
	background-color: #D9D9D9;
    transition: all .3s;
}

div#confirm_field h2 {
    position: inherit;
    margin-bottom: inherit;
	text-align: center;
}
#confirm_field.contact header {
    padding-bottom: 30px;
    width: 100%;
}
#confirm_field header h2 b {
    font-size: 33px;
    letter-spacing: 0.3em;
}
#confirm_field header h2 span {
    display: inline-block;
    vertical-align: middle;
}
div#confirm_field dl {
	border: none;
}
div#confirm_field dl dt {
	margin-bottom: 10px;
}

div#confirm_field h4.confirm_message {
	text-align: center;
}

#ModalContents dl.hidden_field {
	border: none;
}
#ModalContents dl.hidden_field dt {
	font-size:0;
}

#ModalContents .submitter .submit_info {
	text-align:center;
}
#ModalContents .submitter .submit_info span {
	color: #000;
}

input::placeholder,
textarea::placeholder {
	color: #ff0000;
	font-weight: 700;
    font-size: 80%;
}

/* IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #ff0000;
  font-weight: 700;
  font-size: 80%;
}

/* Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: #ff0000;
  font-weight: 700;
  font-size: 80%;
}

.mclose_contact,
.mclose_download {
    padding: 0 0 90px;
}

.inquiry-inner dt {
    width: 20%;
}
.inquiry-inner dd {
    width: 80%;
}

/* .modal_download */
.modal_download_contact .inquiry-inner dl:nth-child(2) dt {width: 20%;}	/* 部署名 */
.modal_download_contact .inquiry-inner dl:nth-child(2) dd {width: 80%;}

.modal_download_contact .inquiry-inner dl:nth-child(4) dt {width: 20%;}	/* 氏名 */
.modal_download_contact .inquiry-inner dl:nth-child(4) dd {width: 80%;}

.modal_download_contact .inquiry-inner dl:nth-child(5) dt {width: 30%;}	/* メールアドレス */
.modal_download_contact .inquiry-inner dl:nth-child(5) dd {width: 70%;}

.modal_download_confirm #ModalContents {
    padding-bottom: 10px;
}

.modal_download header p.download_message {
	font-size: 15px;
	text-align: center;
	margin-top: 1rem;
	font-weight: 700;
	color: #e96565;
}

.modal_download .select-document-required-error {
	margin-top:16px;
	margin-bottom: 16px;
	text-align: center;
	color: #ff0000;
}

/* .modal_contact */
.modal_contact #ModalContents {
    padding-bottom: 0;
}

.modal_contact .inquiry-inner dl:nth-child(2) dt {width: 20%;}	/* 部署名 */
.modal_contact .inquiry-inner dl:nth-child(2) dd {width: 80%;}

.modal_contact .inquiry-inner dl:nth-child(4) dt {width: 20%;}	/* 氏名カナ */
.modal_contact .inquiry-inner dl:nth-child(4) dd {width: 80%;}

.modal_contact .inquiry-inner dl:nth-child(5) dt {width: 30%;}	/* メールアドレス */
.modal_contact .inquiry-inner dl:nth-child(5) dd {width: 70%;}
