@charset "utf-8";
/*------------------------------------------------------------
	contact
------------------------------------------------------------*/
#main h2 {
	margin: 0 0 6.8rem 4.2rem;
	font-weight: 100;
	line-height: 1;
	font-size: 9rem;
	letter-spacing: -0.01em;
}
#main .contactBox p {
	margin-bottom: 2.5rem;
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	line-height: 1.714;
}
#main .contactBox p:last-child {
	margin-bottom: 0;
}
#main .contactBox .linkUl {
	margin: 0 0 7.5rem;
}
#main .contactBox .linkUl li {
	min-width: 25.7rem;
	width: fit-content;
	margin-bottom: 3rem;
	position: relative;
}
.ipad #main .contactBox .linkUl li.pc {
	display: none;
}
.ipad #main .contactBox .linkUl li.pad {
	display: block !important;
}
#main .contactBox .linkUl li:before {
	width: 999px;  
	height: 1px;
	background-color: #1A1A1A;
	position: absolute;  
	bottom: -0.5rem;
	right: 0;
	content: ""; 
}
#main .contactBox .linkUl li:last-child {
	margin-bottom: 0;
}
#main .contactBox .linkUl a {
	font-size: 1.6rem;
	letter-spacing: 0.04em;
}
#main .contactBox .linkUl a img {
	width: 1.2rem;
	vertical-align: 0.1rem;
	margin-left: 0.5rem;
}
#main .contactBox .lBox {
	width: 35%;
	padding: 0 4.7rem;
}
#main .contactBox .lBox p {
	color: #272727;
}
#main .contactBox .rBox {
	width: 55.5%;
	padding: 0 1.6rem 0 2rem; 
}
#main .contactBox .rBox h3 {
	font-size: 2.4rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	margin-bottom: 6rem;
	line-height: 1.1;
}
.comBox {
	padding: 9.7rem 11rem 0 2rem;
}
#main .mailForm dl {
	margin-bottom: 3.6rem;
	padding-top: 2.2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
#main .mailForm dt,
#main .mailForm dd {
	padding: 1.4rem 0;
	font-weight: 500;
	line-height: 1.5;
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	word-break: break-all;
	text-align: left;
	vertical-align: top;
	box-sizing: border-box;
}
#main .mailForm dt {
	width: 14.7rem;
	padding-right: 1rem;
}
#main .mailForm dd {
	width: calc(100% - 14.7rem);
}
#main .mailForm dd .confirmText {
	display: none;
}
#main .mailForm dd select,
#main .mailForm dd textarea,
#main .mailForm dd input[type="text"],
#main .mailForm dd input[type="email"],
#main .mailForm dd input[type="tel"] {
	width: 100%;
	height: 4.8rem;
	color: #000;
	font-size: 1.4rem; 
	border-radius: 0;
	border: none;
	letter-spacing: 0.04em;
	padding: 0 1.5rem;
	box-sizing: border-box;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none; 
}
#main .mailForm dd select {
	padding-right: 4.5rem;
    color: #919191;
	background: #fff url(../img/common/select_icon.png) no-repeat right 2rem center / 1.2rem;
}
#main .mailForm dd select.on,
#main .mailForm dd select option {
	color: #000;
}
#main .mailForm dd select.white {
	color: #fff;
}
#main .mailForm dd textarea {
	padding-top: 1rem !important;
	height: 20.3rem;
	resize: vertical;
}
#main .mailForm dd .innBox {
	position: relative;
}
#main .mailForm dd .innBox .errorTxt {
	pointer-events: none;
	color: #FD2727;
	position: absolute;
	right: 0;
	top: -2.4rem;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	display: none;
}
#main .mailForm dd:has(.errorTxt) input::-webkit-input-placeholder,
#main .mailForm dd:has(.errorTxt) input:-moz-placeholder,
#main .mailForm dd:has(.errorTxt) input::-moz-placeholder,
#main .mailForm dd:has(.errorTxt) input:-ms-input-placeholder {
	display: none;
}
#main .mailForm .agree {
	font-weight: 400;
	margin-top: 4.0rem;
	position: relative;
}
#main .mailForm .agree.noLink::before {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
	content: "";
}
#main .mailForm .agree .wpcf7-list-item {
	margin-left: 0;
}
input::-webkit-input-placeholder { /* WebKit browsers */
    color: #919191;
    opacity:1;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #919191;
    opacity:1;
}
input::-moz-placeholder {
    color: #919191;
    opacity:1;
}
input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #919191;
    opacity:1;
}
#main .mailForm:not(.confirm) .dtStyle {
	align-self: flex-start;
}
#main .mailForm:not(.confirm) .dtStyle {
	padding-top: 2.7rem;
}
input[type="checkbox"] {
	display: none;
}
input[type="checkbox"] ~ span {
	display: inline-block;
	letter-spacing: 0.04em;
	padding: 0.5rem 0 0.5rem 2.5rem;
	background: url(../img/common/check05.png) no-repeat left center;
	cursor: pointer;
	border-radius: 0;
	background-size: 1.5rem auto;
}
input[type="checkbox"]:checked ~ span {
	background-image: url(../img/common/check06.png);
}
#main .mailForm .submit {
	margin-left: auto;
	width: calc(100% - 14.7rem);
	position: relative;
}
#main .mailForm .submit li:not(:first-child) {
	margin-top: 2rem;
}
#main .mailForm .submit li input {
	width: 100%;
	height: 5.6rem;
	cursor: pointer;
	color: #FFF;
	font-weight: bold;
	border-radius: 0;
	border: none;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	background-color: #000;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none; 
	pointer-events: auto;
	transition: all ease 0.3s;
	font-family: 'Roboto', sans-serif;
}
#main .mailForm .submit li.noLink input {
	background-color: rgba(0, 0, 0, 0.5);
	pointer-events: none;
}
#main .mailForm .policyText {
	margin: 2.7rem 0 0 auto;
	width: calc(100% - 14.7rem);
	font-size: 1.2rem;
}
#main .mailForm .policyText a {
	text-decoration: underline;
}
#main .wpcf7-spinner {
	margin: 2rem 0 0;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
}
#main .confirm .agree,
#main .confirm dd select,
#main .confirm dd input,
#main .confirm dd textarea {
	display: none;
}
#main .confirm dd .confirmText {
	display: block;
}
#main #thanks p {
	margin-bottom: 4rem;
	font-size: 1.6rem;
	letter-spacing: 0.04em;
	line-height: 1.875;
}
#main #thanks .thanksTxt {
	margin-bottom: 6.7rem;
	font-size: 1.2rem;
	color: #222222;
	letter-spacing: 0.05em;
	line-height: 1.92;
}
#thanks .comLink02 {
	margin: 0;
	width: 33.7rem;
}
#thanks .comLink02 a {
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	min-height: 4.3rem;
}
#main .confirm dl {
	padding-top: 0;
	align-items: stretch;
}
#main .confirm dt {
	padding-block: 2.9rem 2.7rem;
	border-bottom: 1px solid #1A1A1A;
}
#main .confirm dd {
	padding-block: 2.75rem;
	border-bottom: 1px solid #1A1A1A;
}
#main .confirm dd:last-of-type,
#main .confirm dt:last-of-type {
	border-bottom: none;
}
#main .confirm .submit {
	display: flex;
	gap: 0 2rem;
}
#main .confirm .submit li {
	width: calc((100% - 2rem) / 2);
}
#main ul.note {
	font-size: 1.2rem;
	letter-spacing: 0.03em;
	line-height: 1.67;
	margin-bottom: 2.5rem;
}
#main ul.note li {
	text-indent: -1em;
	padding-left: 1em;
	margin-bottom: 0.3rem;
}
#main ul.note li:last-child{
	margin-bottom: 0;
}
@media (min-width: 1000px) and (hover: hover) {
	#main .mailForm .policyText a:hover {
		opacity: 0.7;
	}
	#main .contactBox .linkUl a:hover {
		opacity: 0.7;
	}
	#main .mailForm .submit li:not(.noLink) input:hover {
		background-color: #fff;
		color: #000;
	}
}

@media all and (max-width: 999px) {
	#main h2 {
		margin: 0 -0.5rem 5rem;
		font-size: 4.5rem;
		letter-spacing: 0;
	}
	.comBox {
		padding: 9.1rem 1.7rem 0;
	}
	#main .contactBox {
		display: block;
	}
	#main .contactBox .lBox {
		width: auto;
		padding: 0 0 6rem;
	}
	#main .contactBox .rBox {
		width: auto;
		padding: 0;
	}
	#main .contactBox .linkUl a {
		font-size: 1.3rem;
		letter-spacing: 0.02em;
	}
	#main .contactBox .linkUl li {
		min-width: 21.7rem;
		margin-bottom: 1.9rem;
	}
	#main .contactBox .linkUl li::before {
		width: calc(100% + 2rem);
		bottom: -0.3rem;
	}
	#main .contactBox .linkUl {
		margin-bottom: 5.1rem;
	}
	#main .contactBox p {
		margin-bottom: 2.1rem;
		font-size: 1.2rem;
		letter-spacing: 0.02em;
		line-height: 1.75;
	}
	#main .contactBox .rBox h3 {
		font-size: 1.7rem;
		letter-spacing: 0.01em;
		margin-bottom: 2.4rem;
	}
	#main .contactBox .rBox p {
		letter-spacing: 0;
		line-height: 1.92;
	}
	#main .mailForm form {
		padding-top: 3rem;
		margin-top: -3rem;
	}
	#main .mailForm dl {
		margin-bottom: 4.9rem;
		padding: 1.8rem 0.2rem 0;
		display: block;
	}
	#main .mailForm dt, 
	#main .mailForm dd {
		width: auto !important;
		font-size: 1.2rem;
		font-weight: 500;
		letter-spacing: 0.02em;
	}
	#main .mailForm dd select, 
	#main .mailForm dd textarea, 
	#main .mailForm dd input[type="text"], 
	#main .mailForm dd input[type="email"], 
	#main .mailForm dd input[type="tel"] {
		height: 3.7rem;
		padding: 0 1rem;
		font-size: 1.2rem;
		letter-spacing: 0.02em;
	}
	#main .mailForm dt {
		padding: 0.75rem 0 0 !important;
	}
	#main .mailForm dd {
		padding: 0.8rem 0 1.2rem;
	}
	#main .mailForm dd textarea {
		height: 20.3rem;
	}
	#main .mailForm .agree {
		font-size: 1.1rem;
	}
	input[type="checkbox"] ~ span {
		background-size: 1.3rem auto;
		padding-left: 2rem;
	}
	#main .mailForm .submit {
		width: auto;
		max-width: 33.7rem;
		margin: 0 auto;
	}
	#main .mailForm .submit li {
		margin-bottom: 1rem;
	}
	#main .mailForm .submit li:last-child {
		margin-bottom: 0;
	}
	#main .mailForm .submit li input {
		height: 4.3rem;
		font-size: 1.4rem;
	}
	#main .mailForm dd .innBox .errorTxt {
		top: -2.5rem;
		font-size: 1rem;
	}
	#main .contactBox .rBox .policyText {
		text-align: left;
		width: auto;
		margin-top: 2rem;
		font-size: 1.1rem;
		letter-spacing: 0.04em;
		line-height: 1.64;
	}
	#thanks .comLink02 {
		margin: 0 auto;
		max-width: 33.7rem;
	}
	#thanks .comLink02 a {
		font-size: 1.4rem;
		letter-spacing: 0.04em;
	}
	#main .confirm dt {
		border-bottom: none;
	}
	#main .confirm dd {
		margin-bottom: 1rem;
		padding: 0.6rem 0 1.6rem;
	}
	#main .mailForm.confirm form {
		padding-top: 5rem;
		margin-top: -5rem;
	}
	#main #thanks p {
		padding-top: 0.7rem;
		font-size: 1.4rem;
		letter-spacing: 0.02em;
		margin-bottom: 1.8rem;
		line-height: 1.86;
	}
	#main #thanks .thanksTxt {
		font-size: 1.1rem;
		letter-spacing: 0;
		line-height: 1.91;
	}
	#main .contactBox .lBox.spNone {
		display: none;
	}
}


#fixBg {
	background-image: url(../img/contact/bg.jpg);
	background-position: center top;
}

@media all and (max-width: 999px) {
	#fixBg {
		background-image: url(../img/contact/bg_sp.jpg);
	}
}
