@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */
#pageBody {
	padding-top: 140px;
	background-color: #FFFFFF;
	border-radius: 120px 120px 0 0;
}

#bcWrap {
	background-color: #FFFFFF;
}

.errForm {
	background-color:#f5e7e6 !important;
}

.errorMessage {
	padding-top: 10px;
	font-size: 1.4rem;
	letter-spacing: 0.025em;
	color: #d33d02;
}

.caution {
	font-weight: 700;
	color: #d33d02;
}

/* ------------------------------------ */
/* contact lead */
/* ------------------------------------ */
#contactlead {
	margin-bottom: 20px;
}

#contactleadTxt1 {
	margin-bottom: 40px;
	font-size: 1.8rem;
	letter-spacing: 0.05em;
	line-height: 1.8;
	text-align: center;
}

#contactFlowList {
	display: flex;
	justify-content: center;
}

.contactFlowListItem {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.075em;
	color: #ABAAAA;
}

.contactFlowListItem:not(:last-child) {
	margin-right: 100px;
}

.contactFlowListItem:not(:last-child)::after {
	content: "";
	width: 43px;
	height: 25px;
	position: absolute;
	top: 15px;
	left: calc(100% + 28px);
	background: url(../../img/contact/icon_flow_arrow.svg) no-repeat center center / contain;
}

.contactFlowListItem span {
	width: 60px;
	height: 60px;
	display: block;
	position: relative;
	font-size: 2.8rem;
	font-weight: 600;
	font-family: "Josefin Sans", sans-serif;
	line-height: 62px;
	letter-spacing: 0;
	text-align: center;
	color: #858585;
	background-color: #FFFFFF;
	border-radius: 50%;
	border: 2px solid #858585;
}

.currentFlowItem {
	color: #ffc800;
}

.currentFlowItem span {
	color: #FFFFFF;
	background-color: #ffc800;
	border-color: #ffc800;
}

/* ------------------------------------ */
/* フォーム */
/* ------------------------------------ */
#formWrap {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
}

#formWrap dt {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 1.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

#formWrap dt > span {
	margin-left: 10px;
	padding: 2px 8px;
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.075em;
	color: #ffffff;
	background: #d33d02;
	border-radius: 11px;
}

#formWrap dd {
	padding-bottom: 30px;
	font-size: 16px;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.contactformInput input[type="text"],
.contactformInput textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	padding: 18px 20px;
	font-size: 17px;
	font-weight: 400;
	font-family: inherit;
	letter-spacing: 0.075em;
	color: inherit;
	background: #EEEEEE;
	border-radius: 5px;
	border: none;
}

.contactformInput textarea {
	height: 210px;
	resize: vertical;
}

::-webkit-input-placeholder {
	color: #5b5a5a;
}

::-moz-placeholder {
	color: #5b5a5a;
}

:-ms-input-placeholder {
	color: #5b5a5a;
}

::-ms-input-placeholder {
	color: #5b5a5a;
}

/* プライバシーポリシー */
#ppWrap {
	width: 900px;
	max-width: 100%;
	margin: 10px auto 50px;
	padding: 20px 20px 20px 10px;
	background: #eeeeee;
	border-radius: 5px;
}

#pp {
	width: 100%;
	height: 190px;
	padding-right: 30px;
	padding-left: 10px;
	position: relative;
	overflow-y: scroll;
	font-size: 1.6rem;
	letter-spacing: 0.075em;
	line-height: calc(34 / 16);
	color: #5b5a5a;
}

.ppSubhead {
	letter-spacing: 0.075em;
	font-weight: 700;
}

.ppBlock {
	margin-bottom: 30px;
}

.ppBlock > *:not(:last-child, .ppSubhead) {
	margin-bottom: 1em;
}

.ppBlock a {
	font-weight: 700;
	text-decoration: underline;
}

.ppBlock ul li {
    padding-left: 1em;
    text-indent: -1em;
}

.ppBlock .indent1 {
	padding-left: 1em;
}

/* スクロールバー */
.ps__rail-y {
	opacity: 1!important;
	width: 4px;
}

.ps--active-x > .ps__rail-x, .ps--active-y > .ps__rail-y {
	background-color: #bfbfbf;
}

.ps__rail-y:hover > .ps__thumb-y, .ps__rail-y:focus > .ps__thumb-y, .ps__rail-y.ps--clicking .ps__thumb-y {
	width: 4px;
	right: 0;
	background-color: #333333;
	border-radius: 0;
}

.ps__thumb-y {
	width: 4px;
	right: 0;
	background-color: #333333;
	border-radius: 0;
}

/* 同意チェック */
#ppCheck {
	padding-top: 15px;
	padding-bottom: 50px;
	text-align: center;
}

#ppCheck input[type="checkbox"] {
	width: 1px;
	height: 1px;
	position: absolute;
	clip: rect(0, 0, 0, 0);
	overflow: hidden;
}

#ppCheck input[type="checkbox"] + span {
	position: relative;
	padding-left: 40px;
	font-size: 1.6rem;
	letter-spacing: 0.075em;
	cursor: pointer
}

#ppCheck input[type="checkbox"] + span::before,
#ppCheck input[type="checkbox"] + span::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

#ppCheck input[type="checkbox"] + span::before {
	width: 25px;
	height: 25px;
	left: 0;
	border: 1px solid #B5B5B5;
}

#ppCheck input[type="checkbox"] + span::after {
	width: 15px;
	height: 10px;
	left: 5px;
	background: url(../../img/contact/icon_check.svg) no-repeat center center/contain;
	opacity: 0;
}

#ppCheck input[type="checkbox"]:checked + span::after {
	opacity: 1;
}

#ppCheck a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 8px;
}

/* 確認ページに進むボタン */
#confirmBtn {
	text-align: center;
}

#confirmBtn .btn {
	width: 330px;
	font-size: 2rem;
	color: #000000;
	background-color: #FFFFFF;
}

#confirmBtn .btn::before {
	background-color: #ffc800;
}

#confirmBtn .btn::after {
	width: 32px;
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	background-image: url(../../img/common/icon_btn_arrow_black.svg);
}

/* ------------------------------------ */
/* 確認ページ */
/* ------------------------------------ */
#confirmWrap {
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 60px;
}

#confirmWrap dl {
	display: flex;
	flex-wrap: wrap;
}

#confirmWrap dt {
	width: 180px;
	padding: 40px 30px 18px 0;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 2;
	text-align: right;
	border-bottom: 1px solid #222222;
}

#confirmWrap dd {
	width: calc(100% - 180px);
	padding: 40px 0 18px 60px;
	font-size: 1.7rem;
	line-height: 2;
	border-bottom: 1px solid #222222;
}

#backBtn {
	width: 310px;
	margin: 30px auto 0;
}

#backBtn a {
	font-size: 1.8rem;
	font-weight: 700;
}

#backBtn a::before {
	content: "";
    width: 28px;
    height: 12px;
	margin-right: 10px;
	display: inline-block;
	background: url(../../img/common/icon_btn_arrow_black.svg) no-repeat center center / contain;
	transform: scale(-1, 1);
}

/* ------------------------------------ */
/* 完了ページ */
/* ------------------------------------ */
#contactEndMessage {
	margin-bottom: 40px;
	padding-top: 30px;
	text-align: center;
    font-size: 1.8rem;
	line-height: calc(32 / 18);
}

#contactEndLink {
	text-align: center;
}

#contactEndLink .btn {
	width: 330px;
	font-size: 2rem;
	color: #000000;
	background-color: #FFFFFF;
}

#contactEndLink .btn::before {
	background-color: #ffc800;
}

#contactEndLink .btn::after {
	width: 32px;
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	background-image: url(../../img/common/icon_btn_arrow_black.svg);
}

/* ------------------------------------ */
/* ホバーエフェクト */
/* ------------------------------------ */
@media screen and (min-width: 1025px) {
	#ppCheck a {
		transition: all 0.3s ease 0s;
	}

	#ppCheck a:hover {
		opacity: 0.7;
	}
}

/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {
	#pageBody {
		border-radius: 60px 60px 0 0;
	}

	#confirmBtn .btn,
	#contactEndLink .btn {
		background-color: #ffc800;
	}
}


/* -------------------------------------------------- */
/* TAB(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {

}
/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {
	#pageBody {
		padding-top: 60px;
		border-radius: 40px 40px 0 0;
	}
	
	#contactleadTxt1 {
		font-size: 1.5rem;
	}

	.contactFlowListItem:not(:last-child) {
		margin-right: 50px;
	}

	.contactFlowListItem span {
		width: 48px;
		height: 48px;
		font-size: 2.4rem;
		line-height: 50px;
	}

	.contactFlowListItem:not(:last-child)::after {
		width: 30px;
		left: calc(100% + 10px);
	}

	#formWrap dt {
		font-size: 1.4rem;
	}

	#formWrap dt > span {
		font-size: 1.1rem;
	}

	.contactformInput input[type="text"],
	.contactformInput textarea {
		font-size: 14px;
	}

	#ppCheck input[type="checkbox"] + span {
		padding-left: 32px;
		font-size: 1.4rem;
	}

	#ppCheck input[type="checkbox"] + span::before {
		width: 22px;
		height: 22px;
	}

	#ppCheck input[type="checkbox"] + span::after {
		width: 12px;
	}

	#confirmWrap dl {
		display: block;
	}

	#confirmWrap dt {
		width: 100%;
		padding: 15px 0px 0px 0;
		font-size: 1.4rem;
		text-align: left;
		border-bottom: none;
	}

	#confirmWrap dd {
		width: 100%;
		padding: 0px 0 15px 0px;
		font-size: 1.4rem;
	}

	#contactEndMessage {
		font-size: 1.5rem;
	}

	#pp {
		font-size: 1.3rem;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
}