@charset "UTF-8";	

.contact_cont{
	width:90%;
	max-width: 1016px;
	margin:0 auto;
}

ul.headlink{
	width:100%;
	display: flex;
	justify-content: space-between;
	gap:10px;
	border-bottom: 1px solid #009691;
	margin-bottom: 10px;
}

ul.headlink li{
	height: 110px;
}

ul.headlink li a{
	height: 110px;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border:1px solid #b5b5b5;
	border-bottom:none;
	display: flex;
	justify-content: center;
	align-items: center;
	color:#b5b5b5;
	font-size: min(2vw,2rem);
	line-height: 1.6em;
	text-align: center;
	padding:0 min(10vw,2em);
	white-space: nowrap;
	position: relative;
	transition: all 0.3s;
}

ul.headlink li a::after{
	content: "";
	width:calc(100% + 2px);
	height: 10px;
	background:#fff;
	position: absolute;
	bottom:0;
	left:-1px;
	transition: all 0.3s;
}

ul.headlink li a:hover,
ul.headlink li a.active{
	background: #009691;
	color:#fff;
	border:1px solid #009691;
}

ul.headlink li a:hover::after,
ul.headlink li a.active::after{
	background:#009691;
}	
	.input_caption{
		font-size: 1.2rem;
		line-height:1.7em;
		letter-spacing: 0.05em;
		text-indent: -1em;
		padding-left: 1em;
		margin-top:0.2em;
	}

	.address{
		margin-right: 1em;
	}
	
	.form_contbox{
		padding: 0;
		margin-top:50px;
	}
	
	.form_contbox table{
		width:100%;
		margin:0 0 0 0;
		border-collapse: collapse;
	}
	
	.form_contbox table tr td{
		padding:30px 0 30px 0;
		border:none;
		border-left:none;
		border-right:none;
		line-height:1.6em;
		font-size:1.6rem;
		position:relative;
		box-sizing: border-box;
		letter-spacing: 0.05em;
		border-top:1px solid #009691;
		border-bottom:1px solid #009691;
		vertical-align: middle;
	}
	
	.form_contbox table tr td:first-child{
		font-size: 1.6rem;
		width:290px;
	}	
	
	.form_contbox table tr td.pbox{
		padding:calc(20px + 1.2em) 20px 50px 0;
		width:290px;
		border-top:1px solid #009691;
		border-bottom:1px solid #009691;
		vertical-align:middle;
		line-height:1.8em;
		box-sizing: border-box;
	}
	
	.form_contbox table tr td .caption{
		font-size: 1.6rem;
		display: block;
	}
	
	.mw_wp_form_input .confirmtx{
		display: none;
	}

	.mw_wp_form_preview .inputtx{
		display: none;
	}

	.mw_wp_form_preview table tr td{
		line-height:2em;
	}
	
	.mw_wp_form_preview table tr td:first-child{
		padding:30px 0;
		width:290px;
		border-top:1px solid #009691;
		border-bottom:1px solid #009691;
		vertical-align:middle;
		line-height:1.8em;
		box-sizing: border-box;
	}

	.mw_wp_form_preview .year:has(input[value=""]) + p{
		display: none;
	}

	.mw_wp_form_preview .addressbox:has(input[value=""]){
		display: none;
	}
	
	.form_contbox table tr td span.check{
		color:#fff;
		display:inline-block;
		font-size:1em;
		line-height:1em;
		border-radius: 9999px;
		padding:0.5em 1em;
		margin-left: 0.75em;
		background:#009691;
	}
	
	.mw_wp_form_preview table tr td span.check{
		display: none;
	}

	span.error{
		margin:10px 0 0 0;
		display:block;
		width:100%;
	}
	
	input[type="text"],input[type="email"],input[type="button"] {
  		margin: 0;
 		padding: 0;
  		background: #eaeaea;
  		border: none;
  		border-radius: 0;
  		outline: none;
  		-webkit-appearance: none;
  		-moz-appearance: none;
  		appearance: none;
		box-shadow: none;
	}
	
	input[type="radio"]{
		position:relative;
		margin:-0.25em 5px 0 0;
	}
	
	input[type="text"],input[type="email"]{
		padding:10px 15px;
		width:100%;
		box-sizing: border-box;
		font-size:1.6rem;
		letter-spacing: 0.05em;
		background:#fff;
		border:none;
		border:1px solid #cccccc;
	}
	
	.year_inputbox{
		margin:0 0 0 0;
		display:flex;
		align-items: center;
	}

	.year_inputbox .year{
		margin-right: 1em;
	}

	.year_inputbox .tx{
		margin-right: 1em;
	}

	.addressbox{
		margin:0 0 20px 0;
		display:flex;
		align-items: flex-start;
	}
	
	.mw_wp_form_preview .addressbox{
		display: inline;
	}

	.mw_wp_form_preview .input_caption{
		display: none;
	}
	
	.addressbox .tx{
		font-size: 1.6rem;
		width:100px;
		line-height: 1.5em;
		padding:0.75em 0 0 0;
	}
	
	.addressbox:first-child .tx{
		padding:0.75em 0 0 0;
	}
	
	.mw_wp_form_preview .addressbox .tx{
		display: none;
	}
	
	.addressbox .tx p.caption{
		font-size: 1rem;
	}
	
	.addressbox .address_inputbox{
		width:calc(100% - 135px);
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}
	
	.mw_wp_form_preview .addressbox .address_inputbox{
		width:auto;
		display: inline;
	}
	
	.mw_wp_form_preview .addressbox:first-child{
		margin:0 0 0 0;
	}
	
	.mw_wp_form_preview .addressbox:first-child::before{
		content: "〒";
		display: inline;
	}
	
	.addressbox:last-child{
		margin:0 0 0 0;
	}
	
	::-webkit-input-placeholder {
  	color: #aaaaaa;
	}
	::-moz-placeholder {
  	color: #aaaaaa; opacity: 1;
	}
	:-ms-input-placeholder {
  	color: #aaaaaa;
	}

	.box_w180{
		max-width: 180px;
	}
	
	.box_w90{
		max-width: 90px;
	}
	
	.mw_wp_form_preview .box_w180,
	.mw_wp_form_preview .box_w90{
		display: inline;
		max-width:auto;
	}
	
	select{
		margin:0 0 0 0;
		width: 100%;
		padding: 15px 35px 15px 15px;
		outline: none;
		letter-spacing: 0em;
		font-size:1.6rem;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		line-height: 1;
		display: inline-block;
		background: url(/images/common/down_arrow_black.svg) no-repeat ,#ececec;
		background-size:10px;
		background-position: right 15px top 50%;
		box-sizing: border-box;
		color:#000;
		border:1px solid #cccccc;
	}
	
	.mwform-checkbox-field{width:auto; display:inline-block; margin:0 0 0 0;}
	
	.mw_wp_form .horizontal-item{margin:0 1em 10px 0 !important; display:inline-block; line-height:1; min-width:10%;}
	.mw_wp_form .w100 .horizontal-item{margin:0 1em 10px 0 !important; display:inline-block; line-height:1; min-width:100%;}
	
	.mwform-radio-field input[type="radio"]{
		display: none;
	}
	.mwform-radio-field input[type="radio"] + span{
  		position: relative;
  		font-weight: normal;
  		margin:0 0 0 0 !important;
  		display: inline-block;
  		padding-left: 1.5em;
  		line-height: 1.6em;
	}
	.mwform-radio-field input[type="radio"] + span::before{
  		margin:-2px 10px 0 0;
  		content: " ";
  		display: inline-block;
  		width: 15px;
  		height: 15px;
  		border:1px solid #000;
  		background:none;
  		vertical-align: middle;
  		border-radius:50%;
  		position: absolute;
  		left: 0;
  		top: 0.5em;
	}
	.mwform-radio-field input[type="radio"]:checked + span::before{
  		margin:-2px 10px 0 0;
    	content:" ";
    	display:inline-block;
    	width:15px;
    	height:15px;
    	border:1px solid #000;
    	background:#009691;
    	vertical-align:middle;
	}
	
	.check_flex{
		display: flex;
		width:100%;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.mwform-checkbox-field input[type="checkbox"]{
		display: none;
	}
	.mwform-checkbox-field input[type="checkbox"] + span{
  		position:relative;
		font-weight: normal;
		display: inline-block;
		margin:0 0;
	}
	
	.mwform-checkbox-field input[type="checkbox"] + span::before{
  		margin:-2px 10px 0 0;
    	content:" ";
    	display:inline-block;
    	width:15px;
    	height:15px;
    	border:1px solid #000;
    	background:none;
    	vertical-align:middle;
	}
	
	.mwform-checkbox-field input[type="checkbox"]:checked + span::before{
  		margin:-2px 10px 0 0;
    	content:" ";
    	display:inline-block;
    	width:15px;
    	height:15px;
    	border:1px solid #000;
    	background:#ff6630;
    	vertical-align:middle;
	}

	textarea{
		padding:1em;
		font-size: 1.6rem;
		width:100%;
		line-height: 1.6em;
		background:#fff;
		box-sizing: border-box;
		min-height:200px;
		border:1px solid #ccc;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		outline: none;
		color:#000;
	}
	
	.mw_wp_form .cbtnbox{
		padding:80px 0 0 0;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		flex-direction: column;
	}
	
	.mw_wp_form .cbtnbox .btnbox{
		width:350px;
		height:100px;
		overflow: hidden;
		position: relative;
	}
	
	input[type="submit"].btn01{
		width:350px;
		height: 100px;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 9999px;
		border:1px solid #009691;
		background:#fff;
		color:#009691;
		position: relative;
		transition: all 0.3s;
		font-size: 2.4rem;
		letter-spacing: 0.05em;
		cursor: pointer;
	}

	input[type="submit"].btn01:hover{
		background:#009691;
		color:#fff;
	}
	
	input[type="submit"].btn02{
		background:none;
		width:auto;
		height:auto;
		padding:0 0;
		border:none;
		margin:40px 0 0 0;
		color:#000;
		font-size:1.6rem;
		letter-spacing: 0em;
		text-align: center;
		text-decoration: none;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		position:relative;
		z-index:2;
		-webkit-appearance: none;
		transition: all 0.3s;
		order:1;
		border-radius: 0;
	}
	
	input[type="submit"].btn02:hover{
		opacity:0.7;
	}

@media screen and (max-width:750px) {
.contact_cont{
	width:90%;
	max-width: 1016px;
	margin:0 auto;
}

ul.headlink{
	width:100%;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	gap:10px;
	border-bottom: none;
	margin-bottom: 50px;
}

ul.headlink li{
	height:50px;
}
	
ul.headlink li:nth-child(2){
	height: auto;
}
	
ul.headlink li:nth-child(2) a{
	height: auto;
	border:none;
	display: inline-block;
	text-align: left;
	color:#000;
	font-size: 1.2rem;
	margin:0 2em;
	padding-left: 1.25em;
}
	
ul.headlink li:nth-child(2) a:hover{
	background:none;
	border:none;
	color:#000;
}

ul.headlink li a{
	height: 50px;
	border-radius: 9999px;
	border:1px solid #b5b5b5;
	border-bottom:1px solid #b5b5b5;
	display: flex;
	justify-content:flex-start;
	align-items: center;
	color:#b5b5b5;
	font-size: 1.6rem;
	line-height: 1.6em;
	text-align: left;
	padding:0 min(10vw,2em);
	white-space: nowrap;
	position: relative;
	transition: all 0.3s;
}

ul.headlink li a::before{
	content: "";
	position: absolute;
	border:1px solid #b5b5b5;
	background:#fff;
	border-radius: 50%;
	width:17px;
	height:17px;
	top:calc(50% - 8px);
	right: 15px;
	left: auto;
}
	
ul.headlink li a::after{
	content: "";
	position: absolute;
	border:none;
	background:#fff;
	border-radius: 50%;
	width:8px;
	height:8px;
	top:calc(50% - 3.5px);
	right: 19.5px;
	left: auto;
}
	
ul.headlink li a.active::after{
	content: "";
	position: absolute;
	border:none;
	background:#fff;
	border-radius: 50%;
	width:8px;
	height:8px;
	top:calc(50% - 3.5px);
	right: 19.5px;
	left: auto;
}
	
ul.headlink li:nth-child(2) a::before,
ul.headlink li:nth-child(2) a::after{
	display: none;
}

ul.headlink li a:hover,
ul.headlink li a.active{
	background: #009691;
	color:#fff;
	border:1px solid #009691;
}

ul.headlink li a:hover::after,
ul.headlink li a.active::after{
	background:#009691;
}	
	.input_caption{
		font-size: 1.2rem;
		line-height:1.7em;
		letter-spacing: 0.05em;
	}

	.address{
		margin-right: 1em;
	}
	
	.form_contbox{
		padding: 0;
		margin-top:50px;
	}
	
	.form_contbox table{
		width:100%;
		margin:0 0 0 0;
		border-collapse: collapse;
		border-top:1px solid #009691;
	}
	
	.form_contbox table tr td{
		padding:0 0 20px 0;
		border:none;
		border-left:none;
		border-right:none;
		line-height:1.6em;
		font-size:1.6rem;
		position:relative;
		box-sizing: border-box;
		letter-spacing: 0.05em;
		border-top:none;
		border-bottom:1px solid #009691;
		vertical-align: middle;
		display: block;
	}
	
	.form_contbox table tr td:first-child{
		font-size: 1.6rem;
		width:100%;
		padding:20px 0 10px 0;
		border-bottom:none;
	}	
	
	.form_contbox table tr td.pbox{
		padding:20px 0 10px 0;
		width:100%;
		border-top:none;
		border-bottom:none;
		vertical-align:middle;
		line-height:1.8em;
		box-sizing: border-box;
		display: block;
	}
	
	.form_contbox table tr td .caption{
		font-size: 1.6rem;
		display: block;
	}
	
	.mw_wp_form_input .confirmtx{
		display: none;
	}

	.mw_wp_form_preview .inputtx{
		display: none;
	}

	.mw_wp_form_preview table tr td{
		line-height:2em;
	}
	
	.mw_wp_form_preview table tr td:first-child{
		padding:20px 0 10px 0;
		width:100%;
		border-top:none;
		border-bottom:none;
		vertical-align:middle;
		line-height:1.8em;
		box-sizing: border-box;
	}

	.mw_wp_form_preview .year:has(input[value=""]) + p{
		display: none;
	}

	.mw_wp_form_preview .addressbox:has(input[value=""]){
		display: none;
	}
	
	.form_contbox table tr td span.check{
		color:#fff;
		display:inline-block;
		font-size:1em;
		line-height:1em;
		border-radius: 9999px;
		padding:0.5em 1em;
		margin-left: 0.75em;
		background:#009691;
	}
	
	.mw_wp_form_preview table tr td span.check{
		display: none;
	}

	span.error{
		margin:10px 0 0 0;
		display:block;
		width:100%;
	}
	
	input[type="text"],input[type="email"],input[type="button"] {
  		margin: 0;
 		padding: 0;
  		background: #eaeaea;
  		border: none;
  		border-radius: 0;
  		outline: none;
  		-webkit-appearance: none;
  		-moz-appearance: none;
  		appearance: none;
		box-shadow: none;
	}
	
	input[type="radio"]{
		position:relative;
		margin:-0.25em 5px 0 0;
	}
	
	input[type="text"],input[type="email"]{
		padding:10px 15px;
		width:100%;
		box-sizing: border-box;
		font-size:1.6rem;
		letter-spacing: 0.05em;
		background:#fff;
		border:none;
		border:1px solid #cccccc;
	}
	
	.year_inputbox{
		margin:0 0 0 0;
		display:flex;
		align-items: center;
	}

	.year_inputbox .year{
		margin-right: 1em;
	}

	.year_inputbox .tx{
		margin-right: 1em;
	}

	.addressbox{
		margin:0 0 20px 0;
		display:flex;
		align-items: flex-start;
	}
	
	.mw_wp_form_preview .addressbox{
		display: inline;
	}

	.mw_wp_form_preview .input_caption{
		display: none;
	}
	
	.addressbox .tx{
		font-size: 1.6rem;
		width:100px;
		line-height: 1.5em;
		padding:0.75em 0 0 0;
	}
	
	.addressbox:first-child .tx{
		padding:0.75em 0 0 0;
	}
	
	.mw_wp_form_preview .addressbox .tx{
		display: none;
	}
	
	.addressbox .tx p.caption{
		font-size: 1rem;
	}
	
	.addressbox .address_inputbox{
		width:calc(100% - 135px);
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}
	
	.mw_wp_form_preview .addressbox .address_inputbox{
		width:auto;
		display: inline;
	}
	
	.mw_wp_form_preview .addressbox:first-child{
		margin:0 0 0 0;
	}
	
	.mw_wp_form_preview .addressbox:first-child::before{
		content: "〒";
		display: inline;
	}
	
	.addressbox:last-child{
		margin:0 0 0 0;
	}
	
	::-webkit-input-placeholder {
  	color: #aaaaaa;
	}
	::-moz-placeholder {
  	color: #aaaaaa; opacity: 1;
	}
	:-ms-input-placeholder {
  	color: #aaaaaa;
	}

	.box_w180{
		max-width: 180px;
	}
	
	.box_w90{
		max-width: 90px;
	}
	
	.mw_wp_form_preview .box_w180,
	.mw_wp_form_preview .box_w90{
		display: inline;
		max-width:auto;
	}
	
	select{
		margin:0 0 0 0;
		width: 100%;
		padding: 15px 35px 15px 15px;
		outline: none;
		letter-spacing: 0em;
		font-size:1.6rem;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		line-height: 1;
		display: inline-block;
		background: url(/images/common/down_arrow_black.svg) no-repeat ,#ececec;
		background-size:10px;
		background-position: right 15px top 50%;
		box-sizing: border-box;
		color:#000;
		border:1px solid #cccccc;
	}
	
	.mwform-checkbox-field{width:auto; display:inline-block; margin:0 0 0 0;}
	
	.mw_wp_form .horizontal-item{margin:0 1em 10px 0 !important; display:inline-block; line-height:1; min-width:10%;}
	.mw_wp_form .w100 .horizontal-item{margin:0 1em 10px 0 !important; display:inline-block; line-height:1; min-width:100%;}
	
	.mwform-radio-field input[type="radio"]{
		display: none;
	}
	.mwform-radio-field input[type="radio"] + span{
  		position: relative;
  		font-weight: normal;
  		margin:0 0 0 0 !important;
  		display: inline-block;
  		padding-left: 1.5em;
  		line-height: 1.6em;
	}
	.mwform-radio-field input[type="radio"] + span::before{
  		margin:-2px 10px 0 0;
  		content: " ";
  		display: inline-block;
  		width: 15px;
  		height: 15px;
  		border:1px solid #000;
  		background:none;
  		vertical-align: middle;
  		border-radius:50%;
  		position: absolute;
  		left: 0;
  		top: 0.5em;
	}
	.mwform-radio-field input[type="radio"]:checked + span::before{
  		margin:-2px 10px 0 0;
    	content:" ";
    	display:inline-block;
    	width:15px;
    	height:15px;
    	border:1px solid #000;
    	background:#009691;
    	vertical-align:middle;
	}
	
	.check_flex{
		display: flex;
		width:100%;
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.mwform-checkbox-field input[type="checkbox"]{
		display: none;
	}
	.mwform-checkbox-field input[type="checkbox"] + span{
  		position:relative;
		font-weight: normal;
		display: inline-block;
		margin:0 0;
	}
	
	.mwform-checkbox-field input[type="checkbox"] + span::before{
  		margin:-2px 10px 0 0;
    	content:" ";
    	display:inline-block;
    	width:15px;
    	height:15px;
    	border:1px solid #000;
    	background:none;
    	vertical-align:middle;
	}
	
	.mwform-checkbox-field input[type="checkbox"]:checked + span::before{
  		margin:-2px 10px 0 0;
    	content:" ";
    	display:inline-block;
    	width:15px;
    	height:15px;
    	border:1px solid #000;
    	background:#ff6630;
    	vertical-align:middle;
	}

	textarea{
		padding:1em;
		font-size: 1.6rem;
		width:100%;
		line-height: 1.6em;
		background:#fff;
		box-sizing: border-box;
		min-height:200px;
		border:1px solid #ccc;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		outline: none;
		color:#000;
	}
	
	.mw_wp_form .cbtnbox{
		padding:80px 0 0 0;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		flex-direction: column;
	}
	
	.mw_wp_form .cbtnbox .btnbox{
		width:320px;
		height:100px;
		overflow: hidden;
		position: relative;
	}
	
	input[type="submit"].btn01{
		width:320px;
		height: 100px;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 9999px;
		border:1px solid #009691;
		background:#fff;
		color:#009691;
		position: relative;
		transition: all 0.3s;
		font-size: 2.4rem;
		letter-spacing: 0.05em;
		cursor: pointer;
	}

	input[type="submit"].btn01:hover{
		background:#009691;
		color:#fff;
	}
	
	input[type="submit"].btn02{
		background:none;
		width:auto;
		height:auto;
		padding:0 0;
		border:none;
		margin:40px 0 0 0;
		color:#000;
		font-size:1.6rem;
		letter-spacing: 0em;
		text-align: center;
		text-decoration: none;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		position:relative;
		z-index:2;
		-webkit-appearance: none;
		transition: all 0.3s;
		order:1;
		border-radius: 0;
	}
	
	input[type="submit"].btn02:hover{
		opacity:0.7;
	}
}