/* ================================
  contact_form
================================ */
/*共通パーツ*/
#wrap {
  width: 100%;
  overflow: hidden
}
#topBox {
  overflow: hidden;
	padding:240px 0 160px;
	position:relative;
}
#topBox img{
	display: block;
	width: 40%;
	height: auto;
	max-width: 800px;
	right: -2%;
	top: 4rem;
	z-index: -1;
	position:absolute;
}
#topBox .inBox {
	width: 100%;
	max-width: 1200px;
	margin:auto;
}
#topBox .inBox h1{
font-size: clamp(30px, 5vw, 70px);
margin-bottom: 1rem;
white-space: nowrap;
line-height: 1.1;
}
#topBox .inBox h1 br{ display: none;}
#topBox .inBox p{
font-size: clamp(16px, 2vw, 28px);
font-weight: bold;
line-height: 1.2;
}

#leadBox {
	background: linear-gradient(-225deg, #0d223e, #2e547f);
	padding: 6rem 0;
}
#leadBox p {
	max-width: 1200px;
	color: #fff;
	margin: auto;
	padding:0 5%;
	font-size: clamp(14px, 2vw, 20px);
}
@media screen and (max-width: 1280px),{
	#topBox .inBox {
	margin: 0;
	padding: 0 5%;
}
#topBox {
	padding:160px 0 120px;
}
}
@media screen and (max-width: 768px),{
	#topBox {
	padding:100px 0 60px;
}
#topBox .inBox p br{
	display: none;
}
#topBox .inBox h1{
white-space: normal;
}
#topBox .inBox h1 br{ 
	display: inline;
}
#leadBox {
  background: linear-gradient(-225deg, #0d223e, #2e547f);
  padding: 3rem 0;
}
}
@media screen and (max-width: 470px),{
  #topBox {
  padding: 100px 0 200px;
  }
#topBox .inBox p {
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 400;
    line-height: 1.2;
}
	#topBox img{
	width: 250px;
	height: auto;
	right: -0%;
	top:auto;
	bottom: 0;
}
}





input[type="reset"],
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="reset"]::-webkit-search-decoration,
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="reset"]::focus,
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}


/*---------------------------------------------
INPUT BUTTON
----------------------------------------------*/





textarea, select, input, button, .btn {
    font-family: "Noto Sans JP", sans-serif;
}
textarea, input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    padding: 6px 3px;
    border: none;
    background: #e9eef5;
}
textarea.dim, input.dim {
    color: #76AB5D;
    border: 1px dotted #cfd5dd;
}
textarea:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
    outline: none;
}
textarea {
    min-height: 150px;
    resize: vertical;
    overflow: auto;
}

input[type="submit"], input[type="reset"], input[type="button"], button, .btn {
	
    font-size: 15px;
    /* font-weight:bold; */
    border-radius: 0;
    text-align: center;
    padding: 8px 30px;
    color: #022740;
    background-color: #fff;
    border: 2px solid #022740;
    margin: 0 10px;
    cursor: pointer;
    box-shadow: none;
    -webkit-box-shadow: none;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
}

#contactform
#contactform input:hover[type="submit"],#contactform input:hover[type="reset"],#contactform input:hover[type="button"], #contactform button:hover,#contactform .btn:hover {
    color: #51575e;
    background-color: #edeff2;
    text-decoration: none!important;
    box-shadow: none;
    -webkit-box-shadow: none;
	
}

input[type="submit"].chk {
    color: #fff;
    background-color: #0c304d;
	border: 2px solid #0c304d;
	font-family: "Noto Sans JP", sans-serif!important;
}
input[type="submit"].chk:hover {
    color: #fff;
    background-color: #004a82;
	  border: 2px solid #004a82;
}
input[type="checkbox"], input[type="radio"] {
    border: none;
    top: -2px;
    top: 0\9;
    margin-right: 6px;
    margin-right: 0\9;
}
label {
  padding-right: 3px;
	font-size: clamp(14px, 2vw, 16px);
	display: flex;
	align-items: center;
}
label.title{
	display: flex;
	align-items: center;
}
.verticalRow label{
	display: block;
}

label.ckbox {
    padding-right: 20px!important;
}
a[href^="tel:"] {
    pointer-events: none;
}


/* --------------------------------

-------------------------------- */

#contactform {
	background: #0f2748 url("../img/img_product/form_bg.jpg")no-repeat;
	background-position: top center;
	background-size:contain;
	padding: 0 0 6rem;
}
#contactform .inBox{
	padding: 2rem 40px 2rem;
	background: #fff;
  position: relative;
  max-width: 960px;
	border-radius: 10px;
	margin: 0 auto 0;
}

input::-webkit-input-placeholder, input::placeholder, textarea::placeholder {
  font-size: 14px;
  opacity: 0.3;
}

select {
	border: none;
	padding: 10px 10px;
	background: #f0f0f0;
	border-radius :0;
	font-size: 14px;
	width: 40%;
}
@media only screen and (max-width: 1000px) {
#conWrap{
	padding: 2rem 0 2rem;
}
		#contactform .inBox{
	margin: 0 5% 0;
}
}
@media only screen and (max-width: 767px) {
#contactform {
	background: #0f2748 url("../img/img_product/form_bg_mb.jpg")no-repeat;
	background-position: top center;
	background-size:contain;
	padding: 2rem 0;
}
	#contactform .inBox{
    margin: 0 3% 0;
}
select {
	width: 70%;
	color: #000;
	font-size: 16px;
}
}


/* --------------------------------
-------------------------------- */

#contactform table {
    position: relative;
    width: 100%;
    margin: 10px 0;
    font-size: 14px;
    border: none;
}
.ie8 #contactform table {
    width: 96%;
    margin: 0 2%;
}
#contactform table tr {
  width: 100%;
	display: flex;
	padding: 10px;
}
#contactform table tr:last-child {
	margin-bottom: 20px;
}
#contactform table th, #contactform table td {
    display: table-cell;
    text-align: left;
    font-size: 14px;
    color: #333;
	  width:65%;
    vertical-align: center;
}
#contactform table th {
  width: 35%;
  display: flex;
	align-items: center;
  font-size: 16px;
  color: #444;
}

#contactform table th label .parentheses {
    font-size: 12px;
	  color: #a90018;
}
/* req btn*/

#contactform table th .req {
    background-color: #E97669;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    /**/

    vertical-align: middle;
    margin-right: 6px;
    padding: 1px 3px;
}
#contactform table th .opt {
    background-color: #9bc415;
    color: #fff;
    font-size: 10px;
    margin-right: 6px;
    padding: 1px 3px;
}
/* ex btn*/

#contactform table td .ex {
    font-size: 11px;
    color: #555;
    margin-top: 4px;
    margin-left: 4px;
}
#contactform table td .ex .lbl {
    display: inline-block;
    background-color: #eee;
    color: #333;
    font-size: 10px;
    margin-right: 6px;
    margin-top: 4px;
    padding: 0 2px;
}
#submit, #reset {
    margin: 10px 10px 10px;
}


#btnbox {
    margin: 20px 0;
    text-align: center;
}
#msgbox {
    position: relative;
    margin: 10px 0;
    padding: 10px 3%;
    border: 1px solid #872D36;
    color: #872D36;
}
#msgbox p.error_messe {
    line-height: 1.3;
}
#contactform h2 {
    font-size: 18px;
	font-weight:bold;
}
#contactform p {
    font-size: 14px;
    border-bottom: none;
}


.startTime input{
	width: 60%;
	margin: 10px;
}

#confirm .btnbox input[type='reset']{
width: 140px;
padding: 8px 0;
}

.rule {
	max-width: 700px;
	margin: 40px auto;
}

.byItem {
	margin-bottom: 10px;
}
.byItem:last-child {
	margin-bottom: 0;
}


@media only screen and (max-width: 767px) {
	#contactform table tr{
		display: block;
		padding: 0;
	}
	#contactform .inBox{
		padding: 20px;
		border: 2px solid #254566;
	}

    #contactform table th {
        width: 100%;
        display: inline-block;
        font-weight: normal;
        line-height: 1.5;
        margin: 0 auto;
    }
label {
    padding-right: 3px;
    font-size: 14px;
}
	#contactform table th label{
		font-size: 16px;
	}
	   #contactform table th label br{
 display: none;
}
    #contactform table td {
        width: 100%;
        display: inline-block;
        padding: 6px 0 12px;
    }
  
    input[type="submit"], input[type="reset"], input[type="button"], button, .btn {
        font-size: 15px;
        padding: 12px 20px;
        margin: 0 6px;
    }
.mbverticalRow label{
	display: block;
}

	
}

	#contactform table td.ajst {
		display: flex;
		flex-wrap: wrap;
    }

	#contactform table td.ajst label{
       margin-right: 15px;
	}
	#contactform table td.ajst .byItem{
		width: 100px;
	}




@media only screen and (max-width: 480px) {
	
	 #topContent2 {
    margin: 0 5% 1rem;
  }
	

	
	.byItem {
		width: 100%;
	}
	  #contactform table td {
    width: 100%;
    display: inline-block;
    padding:0px;
  }
#contactform table tr {
    display: block;
    padding: 0 0 10px;
	  margin-bottom: 0;
  }
	#contactform table td.ajst {
		padding: 10px 0 10px;
	}
	#contactform table td.ajst .byItem{
		width: 100%;
	}
}

#contactform h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 0; 
}
#contactform h2 .itemName{
	font-size: clamp(20px, 3vw, 32px);
	color: #fff;
	text-align: center;
	display: inline-block;
	border: 2px solid #fff;
	padding: 20px;
}

#contactform h2 .formTitele{
	font-size: clamp(26px, 4vw, 48px);
	color: #fff;
	text-align: center;
	padding: 20px;
}

#contactform .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
  border-top: 30px solid #fff;
  border-bottom: 0;
}

@media only screen and (max-width: 480px) {
	#contactform h2 {
		margin: 0 5%;
		padding: 1rem 0
	}
	#contactform h2 .itemName{
	padding: 10px;
}
#contactform h2 .formTitele{
	padding: 10px;
}
#contactform .triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-top: 20px solid #fff;
  border-bottom: 0;
}
}

.required {
    color: #ce3b2c;
    padding: 2px 5px;
    font-size: 18px;
    margin-left: 5px;
}

.formTable .mini{
	font-size: 14px;
}