@charset "UTF-8";

/*非表示パーツ*/
.widget_form .privacypolicy{
	display: none;
}

/*必須項目*/
.widget_form form dt span{
	font-size: 1.4rem;
	margin-left: 10px;
	border-radius: 3px;
	border: #D43B3B 1px solid;
	padding: 4px 10px;
	white-space: nowrap;
}

/*任意項目*/
.widget_form form dt span.any{
	color: #666!important;
	border-color: #666;
}

/*確認ページ必須項目*/
#form_5930364+div.widget_form form dt span.any.red{
	color: #D43B3B!important;
	border-color: #D43B3B!important;
}

/*余白調整*/
@media screen and (min-width: 701px){
	.widget_form form dd {
		padding-left: 5px;
	}
}

/*個人情報モーダルリンク*/
#main form dl:last-of-type{
	padding-top: 30px;
	padding-bottom: 30px;
}
#main form dl:last-of-type dt,
#main form dl:last-of-type dt span{
	display: none;
}
#main form dl:last-of-type dd{
	display: block;
	margin-bottom: 10px;
	width: 100%;
	text-align: center;
}
#main form dl:last-of-type dd a{
	font-weight: 600;
	color: var(--i_main_color);
	border-bottom: 2px solid var(--i_main_color);
	cursor: pointer;
}

/* 個人情報モーダル */
#modal_sec+section{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
	box-sizing: border-box;
}

/*モーダル表示時*/
#modal_sec+section.is-active{
	opacity: 1;
	visibility: visible;
	z-index: 52;
}
main:has(#modal_sec+section.is-active){
	z-index: 52;
}

/* モーダルコンテンツ部分 */
#modal_sec+section>.content_wrapper{
	background: #fff;
	padding: 60px 20px;
}
.modal-container{
  width: 100%;
}
.modal-content{
	max-width: 900px;
	margin: 0 auto !important;
}
.modal-content .col-md{
	margin-top: 70px;
}
.modal-content h3{
	font-size: 2.6rem;
	color: var(--i_main_color);
}
.modal-content p{
	margin: 1em 0;
}
@media screen and (max-width: 800px){
	.modal-content h3 {
		font-size: 2.1rem;
	}
}

/* モーダル閉じるボタン */
.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	font-size: 2.5rem;
	color: #7c7c7c;
	border: none;
}
.modal-close.modal-top{
	padding-right: 65px;
}
.modal-close.modal-top::before,
.modal-close.modal-top::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	position: absolute;
	top: 50%;
	right: 0;
	background: var(--i_main_color);
	transform: rotate(45deg);
}
.modal-close.modal-top::after{
	transform: rotate(-45deg);
}
.modal-footer{
	position: relative;
	border-top: 1px solid #dee2e6;
	margin-top: 60px;
}
.modal-footer .modal-close{
	top: 17px;
	font-size: 1.6rem;
}
@media screen and (max-width: 800px){
	.modal-close {
		top: 8px;
		right: 8px;
		font-size: 1.7rem;
	}
	.modal-close.modal-top {
		padding-right: 30px;
	}
	.modal-close.modal-top::before,
	.modal-close.modal-top::after {
		width: 25px;
	}
}