/* ================================
  mailform
================================ */
#warp {
  width: 100%;
  overflow: hidden
}
#topBox {
margin-top: 80px;
 background: #ededed url(../img/img_contact/top_bg.jpg) no-repeat top center;
 background-size: cover;
 position: relative;
}

#topBox h1{
	width: 100%;
	padding: 6rem 5% 6rem;
	display: flex;
  align-items: center;
	justify-content: center;
	flex-direction: column;
}
#topBox h1 .maintxt {
	font-family: "Noto Serif JP", sans-serif;
	display: block;
    font-size: clamp(24px, 5vw, 58px);
    padding-bottom: 10px;
    color: #254566;
}

#topBox h1 .deco {
	font-family: "Noto Serif JP", sans-serif;
    font-size: clamp(12px, 1.5vw, 16px);
    color: #9babba;
    font-weight: 200;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {

#topBox h1 {
    padding: 4rem 5% 4rem;
}
}
@media screen and (max-width: 480px) {
#topBox h1 {
    padding: 2.5rem 5% 2rem;
}
}


.formNote {
	text-align: center;
	padding: 4rem 0 4rem;
}
.formNote p{
	display: inline-block;
  text-align: left;
}
.formNote p.center{
	padding-top: 20px;
}
@media only screen and (max-width: 767px) {
.formNote {
	text-align: center;
	padding: 2rem 10px 2rem;
}
}

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: #f0f0f0;
}
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: #3D2C1F;
    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:14px;
	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;
}*/


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

-------------------------------- */
#conWrap{
		background: url(../img/img_contact/form_bg.jpg) no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: cover;
    background-attachment: fixed;
    background-position: top center;
    position: relative;
	padding: 4rem 0 4rem;
}
#contactform {
	padding: 0 80px 2rem;
	background: #fff;
  position: relative;
  max-width: 960px;
	border: 4px solid #254566;
	border-radius: 20px;
	margin: 0 auto 0;
}

#contactform #stepbox {
    position: relative;
}
#stepbox ul {
    width: 100%;
    letter-spacing: -0.4em;
    margin: 0;
    overflow: hidden;
	  padding: 0;
	  display: flex;
	justify-content: space-between;
}
#stepbox ul li {
    position: relative;
    display: inline-block;
    width: 33.33%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
	  font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    background-color: #ddd;
    color: #333;
    letter-spacing: normal;
    margin-right: 1%;
}
#stepbox ul li:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid #ddd;
    background-color: #fff;
}
#stepbox ul li:last-child {
    width: 30%;
    margin-right: 0;
}
#stepbox ul li:last-child:after {
    content: none;
}
#stepbox ul li.current {
    background-color: #222;
    color: #fff;
}
#stepbox ul li.current:after {
    border-left-color: #222;
}
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 {
	margin: 0 5% 0;
}
}
@media only screen and (max-width: 660px) {

	#contactform {
    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%;
	border-bottom: 1px solid #ced1d9;
	display: flex;
	padding: 10px;
}
#contactform table tr:last-child {
	margin-bottom: 20px;
}
#contactform table th, #contactform table td {
    display: table-cell;
    padding: 8px 10px 8px 10px;
    text-align: left;
    font-size: 14px;
    color: #333;
	  width:75%;
    vertical-align: center;
}
#contactform table th {
  width: 30%;
  display: flex;
	align-items: center;
  font-size: 16px;
  color: #444;
}
#contactform table td.ajst {
    padding-top: 8px;
}

#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;
}

.required {
	color: #fff;
	background: #ce3b2c;
	padding: 2px 5px;
	font-size: 12px;
	margin-left: 10px;
}
.note {
	color: #ce3b2c;
	margin-top: 10px;
	font-size: 12px!important;
}



.logoBox {
	text-align: center;
	margin: 20px 0;
}

.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) {
	#topBox {
    margin-top: 60px;
	}
}

@media only screen and (max-width: 660px) {
	#contactform table tr{
		display: block;
		padding: 15px;
	}
	#contactform{
		padding: 15px;
		border: 2px solid #254566;
	}

    #contactform table th {
        width: 100%;
        display: inline-block;
        font-weight: normal;
        line-height: 1.5;
        padding: 5px 2% 5px;
        margin: 0 auto;
    }
label {
    padding-right: 3px;
    font-size: 14px;
    padding-bottom: 10px;
}
	#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;
}
#stepbox ul {
  padding: 10px 10px 0;
}	
	
}

	#contactform table td.ajst {
      padding-top: 16px;
			display: flex;
			flex-wrap: wrap;
    }
	#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: 10px 10px 10px;
	  margin-bottom: 0;
  }
	#contactform table td.ajst {
		padding: 10px 0 10px;
	}
	#contactform table td.ajst .byItem{
		width: 100%;
	}
}

.thanksWarp{
	height: 70vh;
	width:100%;
	display:flex;
	align-items: center;
	justify-content: center;
}
.thanksWarp .contents{
	width: 100%;
	max-width: 900px;
}
.thanksWarp .contents {
	text-align: center;
}
.thanksWarp .contents h2 {
	font-size: clamp(18px, 3vw, 30px);
	margin:2rem 0;
	padding:0;
}
.thanksWarp .contents p {
	font-size: clamp(14px, 3vw, 16px);
}
.thanksWarp .contents a{
	font-size: clamp(14px, 3vw, 16px);
	text-align: center;
	text-decoration: none;
  color: #fff;
	background-color: #0c304d;
	padding: 10px;
	display: block;
	width: 280px;
	margin: 2rem auto 0;
}
.thanksWarp .contents a:hover{
	background-color:#004a82;
}
#confirm #stepbox ul li:after,
#thanks #stepbox ul li:after {
    background-color: #fff;
}

@media only screen and (max-width: 940px) {
.thanksWarp .contents{
	padding: 0 5%;
}
}

@media only screen and (max-width: 768px) {
.thanksWarp .contents {
	text-align: left;
}
	.thanksWarp{
	height: 50vh;
}
.thanksWarp .contents a{
	width: 240px;
}
}