
.mw_wp_form{max-width: 1000px;margin: 0 auto;}



 
/* ************************************************ 
*	注意事項
* ************************************************ */

body#contact ul#contact_flow li:nth-child(1),
body#confirm ul#contact_flow li:nth-child(2),
body#complete ul#contact_flow li:nth-child(3){
  font-weight: bold;
  background: #3d5544;
  color: #fff
}

/* ************************************************ 
*	フォーム本体
* ************************************************ */

.form_wrap{}

.form_wrap_box{
	
}

.form_wrap_box dl{
	margin-bottom: 1em
}
.form_wrap_box dl dt{
	font-weight: var(--font-bold);
	font-variation-settings: "wght" var(--font-bold);
	display: flex;
	align-items: center;
	margin:1em 0 .8em;
}

.form_wrap_box .tag{
	background: #ff7000;
	color: #fff;
	border-radius: 4px;
	position: relative;
	font-size: .7em;
	line-height: 1em;
	padding: 2px 6px;
	font-weight: 400;
	margin: 0 0 0 3px
}

.mw_wp_form .vertical-item{
	line-height: 1em;
	position: relative;
	
}

.mwform-checkbox-field{
}


/* 1. 全体のレイアウト調整（必要に応じて） */
.mwform-checkbox-field.vertical-item {
  display: block;
  margin-top: 0px !important;
}

.mw_wp_form .vertical-item + .vertical-item{
	 margin-top: 0px !important;
}


/* 2. ラベル（ボタン全体）の基本設定 */
.mwform-checkbox-field.vertical-item label {
  display: inline-block;
  padding: .7em 1em .7em 1.5em;
  background-color: #f9f9f9; 
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%; /* 横幅いっぱいに広げる場合 */
  box-sizing: border-box;
}

.mwform-checkbox-field.vertical-item label::before{
	font-family: icomoon;
	content: "\ea53";
	padding: 0 5px 0 0
}


/* 3. 元のチェックボックス（四角）を隠す */
.mwform-checkbox-field.vertical-item input[type="checkbox"] {
  display: none;
}

/* 4. ホバー時の処理 */
.mwform-checkbox-field.vertical-item label:hover {
  background-color: #fff0f5; /* 薄いピンク（LavenderBlush） */
}

/* 5. チェック済み時の処理 */
/* inputがチェックされたら、その親であるlabelの背景を変える */
/* ※モダンブラウザ対応の :has() を使用 */
.mwform-checkbox-field.vertical-item label:has(input:checked) {
  background-color: #ffe4e1; /* チェック後の背景：少し濃いめの薄いピンク */
  border: 1px solid #ffb6c1; /* 任意：境界線をつけると分かりやすいです */
}

.mwform-checkbox-field.vertical-item label:has(input:checked)::before{
	font-family: icomoon;
	content: "\ea52";
	padding: 0 5px 0 0
}


/* 古いブラウザも考慮して、テキストの色なども変える場合 */
.mwform-checkbox-field.vertical-item input:checked + .mwform-checkbox-field-text {
  font-weight: bold;
  color: #d81b60; /* 文字色もピンク系に */
}






dd.sbox{
	display: grid;
	grid-template-columns: repeat(1,1fr);
	gap: 5px;
}


dd.sbox.subject .mwform-checkbox-field.vertical-item:last-child {
  grid-column: 1 / -1; /* 1列目から最後まで繋ぐ */
}


@media screen and (max-width: 767px) {}	

@media print, screen and (min-width: 768px) {
	dd.sbox{
	grid-template-columns: repeat(2,1fr);
	}
}	

@media print, screen and (min-width: 1240px) {
	.form_wrap{
		display: flex;
		justify-content: space-between;
		
	}
	
	.form_wrap_box {
		width: 48%;
	}
}	




.mwform-tel-field{
}

.mwform-tel-field input{
	width: 30% !important;
}

#privacycheck{margin: 1.5em 0 3em}
#privacycheck p{margin-bottom: 1em}
#checkbox{
	background: #f2f2f2;
	padding: .5em 1em;
	border-radius: 5px;
	position: relative;
	text-align: center;
}



@media screen and (max-width: 767px) {
	#contact_form h3 span{
		display: block
	}
}	

@media print, screen and (min-width: 768px) {
	ul#formbutton{
	display: flex;
	justify-content: center;
	flex-wrap:wrap;
	}
	
	ul#formbutton li{margin: 0 1em;}
	
}	

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



ul.bd{display: flex;}


#privacycheck{
	margin: 1.5em auto 1em;
	
	text-align: center;
}
#privacycheck p{
	margin-bottom: 1em
}
#checkbox{
	background: #f2f2f2;
	padding: .5em
}


@media screen and (max-width: 767px) {
	#privacycheck p{text-align: left;
		font-size: .9em
	}
	#privacycheck p br{
		display: none
	}
}	

@media print, screen and (min-width: 768px) {
	#privacycheck{width: 80%;}
}	

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





input,
textarea {
	font-size: 1.1em;
	outline: none;
	border: solid 1px #ccc;
	border-radius: 4px;
	background: #fff;
}



textarea {
	overflow: auto;
}

input::-webkit-input-placeholder{color: #ccc;}
input::-ms-input-placeholder{color: #ccc;}
input::-moz-placeholder{color: #ccc;}
textarea::-webkit-input-placeholder{color: #ccc;}
textarea::-ms-input-placeholder{color: #ccc;}
textarea::-moz-placeholder {color: #ccc;}


input[type=radio]{display: inline-block}


input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
	border: 1px solid #999;
	background-color: #FEFFE8;
	-webkit-box-shadow: 0 0 3px rgba(207,207,207,1.00);
	box-shadow: 0 0 3px rgba(207,207,207,1.00);
	color: #444;
}


#contact_form button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: block;
	border: none;
	padding: .7em 3em;
	border-radius: 50px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1em;
	letter-spacing:.1em;
	line-height: normal;
	cursor: pointer;
	background-color: var(--color-main);
	-webkit-appearance: none;
	min-width: 320px;
	margin: 0 auto;
	-webkit-transition: all .3s;
	transition: all .3s;
}



input[type="submit"]:hover{
	background-color: var(--color-main-shade);
}

.privacycheck a{
	text-decoration: underline
}

@media only screen and (max-width: 670px) {
	input,textarea{padding: .3em .5em;}
	input.rwdi,textarea.rwdi{width:100% !important;padding: .5em;}
	input.rwdi2,textarea.rwdi2{width:48% !important;padding: .5em;}
}
@media screen and (min-width: 671px) {
	input,textarea{padding: .5em .8em;}
	input.rwdi,textarea.rwdi{width:100% !important;padding: .5em .8em;}
	input.rwdi2,textarea.rwdi2{width:48% !important;padding: .5em .8em;}
}





@media screen and (max-width: 767px) {}	

@media print, screen and (min-width: 768px) {
	.mright{margin-right: 1em}
}	

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

.half{
	display: flex;
	flex-wrap:wrap;
	justify-content: space-between
}

.sv_select{
	overflow: hidden;
	position: relative;
	border-radius: 2px;
	border: 2px solid #ccc;
	border-radius: 50px;
	background: #ffffff;
	color: #510000
}



.sv_select::before {
  position: absolute;
  top: 1em;
  right: 1em;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #b6ad94;
  pointer-events: none;
}



.sv_select select {
  width: 100%;
  padding-right: 1em;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: .6em 42px .6em 1em;
  color: #510000
}


.sv_select select::-ms-expand {display: none;}


.zip_ex{font-size: 11px}


/* ------------------------------
 thanks page
------------------------------ */


#contact_thanks{}
#thanks_title{
	padding: 10% 5%;
	margin-bottom: 1.5em;
	background: #f5f5f5;
	text-align: center;
	border-radius: 5px;
	position: relative;
}

#thanks_title h2{
	margin-bottom: 1em
}

#contact_thanks h3{
	margin-bottom: .6em;
}

#contact_thanks p.tel_unm{
	padding-top: 1em;
}

