@charset "utf-8";
/* CSS Document */

/*============================
	enqform
============================*/

body {
/*	background-image: url(../images/bg2.png);*/
}

.pro_content {
	position: relative;
	z-index: 1;
	width: 90vw;
	margin: 50px auto 50px;
	padding: 1px;
	font-size: 1rem;
/*	line-height: 1.3rem;*/
	border-radius: 15px;
	background-color: #fff;
	box-shadow: 0 0 5px 2px rgba(0,0,0,0.3);
	
	> div {
		display: block;
	}
}

.sp_box {
	width: 90%;
	margin: 1rem auto 2rem;
	padding-bottom: 50px;
}

#magicalswordEnqForm .sp_box > p {
	margin-top: 3rem;
	margin-bottom: 1.5rem;
}
#magicalswordEnqForm .sp_box > p:before {
	content: "ATTENTION";
	position: absolute;
	top: -1.5em;
	left: 0;
	font-size: 150%;
	font-weight: bold;
	color: #e15699;
}

#magicalswordEnqThanks .sp_box {
	margin-top: 5rem;
}
#magicalswordEnqThanks .sp_box figure {
	margin-bottom: 2rem;
}

#magicalswordEnqThanks .sp_box > p:before {
	content: "送信が完了しました！";
	position: absolute;
	top: -1.5em;
	left: 0;
	font-size: 150%;
	font-weight: bold;
	color: #e15699;
}
.sp_box > p {
	position: relative;
	margin-bottom: 3rem;
	padding: 0.5rem;
/*	font-size: 0.9rem;
	line-height: 1.2rem;*/
	font-size: clamp(0.8rem, 0.719rem + 0.41vw, 1.2rem);
	white-space: pre;
	white-space: pre-line;
	text-align: left;
	border-style: double;
	border-color: #e15699;
	border-width: 8px 0;
}
.sp_box small {
	margin: 0.5rem 0 0.2rem;
	font-weight: normal;
}
.sp_box > p a {
	text-decoration: underline;
}
.sp_box > p a:hover {
	color: #ccc;
}

/*	フォーム
----------------------------*/
.enqBox {
	margin-top: 1rem;
	text-align: left;
}
.enqBox > section { margin-bottom: 2rem; }
/*.enqBox h1 {
	margin-bottom: 0.5rem;
	padding: 0.3rem 0.5rem 0.3rem;
	font-size: 1.2rem;
	color: #fff;
	line-height: 1.5rem;
	text-align: left;
}
.enqBox h1::before {
	top: -2px;
}*/
.enqBox > section > h1 {
	margin-bottom: min(5vw, 30px);
	padding-left: 0;
	font-size: clamp(1.2rem, 0.997rem + 1.01vw, 2.2rem);
	font-weight: 800;
/*	color: #fff;
    font-size: clamp(1rem, 0.757rem + 1.22vw, 2.2rem);
    font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    text-shadow: 0px 0px 5px #9a848e, 0px 0px 10px #9a848e, 0px 0px 15px #9a848e;*/
    
    &::before {
    	display: none;
    }
    &::after {
    	margin-top: 0;
    }
}
/*.enqBox h1::before {
	content: "■";
}*/
.enqBox > section > h2 {
	width: auto;
	height: auto;
	margin: 1.8rem 0 0.5rem;
	padding: 5px;
/*	font-size: 1.1rem;*/
	font-size: clamp(1rem, 0.858rem + 0.71vw, 1.7rem);
	line-height: 1;
	text-align: left;
	border-width: 0 0 5px 10px;
	color: #c2bf94;
	background: none;
}

/*.enqBox p {
	width: 100%;
	margin: 0.5rem 0 1rem;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	line-height: 1.5rem;
	box-shadow: 4px 4px 0px 0px rgba(200,200,200,0.5);
	background-image: url(images/bg_1.gif);
	background-color: #f5f5f5;
}*/

.qpoint {
	padding-bottom: 1.5rem;
}

/*▼▼▼セレクトボックス▼▼▼*/
select::-ms-expand {
	display: none;
}
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	margin-bottom: 0.5rem;
	padding: 5px;
	font-size: 1rem;
	border-radius: 5px;
	border: 1px solid #333;
	background: url(./selectArrow.svg) no-repeat center right #fff;
	box-shadow: none;
}


/*▼▼▼ラジオボタン▼▼▼*/
.selBtn {
	display: flex;
	gap: 0.5rem;
	
}
input[type="radio"] {
	display: none;
}
form#mailformpro input[type="radio"] + label {
	flex: 1;
	display: block;
	cursor: pointer;
	margin: 0;
	padding: 10px;
	background-color: #f3f3f3;
	color: #869198;
	font-size: 16px;
	text-align: center;
	line-height: 1;
	transition: .2s;
}
/*form#mailformpro input[type="radio"] + label ~ label {
	margin-left: 0.5rem;
}*/
form#mailformpro input[type="radio"] + label:hover {
	background-color: #fbf6f6;
	transition: .2s ease-in-out;
	box-shadow: 0 2px 10px 0px rgba(0,0,0,0.8);
}

form#mailformpro input[type="radio"]:checked + label {
	color: #fff;
	font-weight: bold;
	background-color: #35f1d4;
}


/*▼▼▼チェックボックス▼▼▼*/
input[type="checkbox"] {
	display: none;
}
form#mailformpro .checkbox {
	-webkit-transition: background-color .2s linear;
	transition: background-color .2s linear;
	position: relative;
	display: block;
	width: auto;
	margin-bottom: 8px;
	padding: 0.5rem 0.5rem 0.5rem 2.8rem;
	font-size: 1rem;
	color: #000;
	border-radius: 8px;
	background: #f3f3f3;
	vertical-align: middle;
	cursor: pointer;
}
.checkbox:hover {
	background: rgba(255,255,255,0.9);
	transition: .2s ease-in-out;
	box-shadow: 0 2px 10px 0px rgba(0,0,0,1);
}
.checkbox:hover:after {
	border-color: #ff48b8;
}
.checkbox:after {
	-webkit-transition: border-color .2s linear;
	transition: border-color .2s linear;
	position: absolute;
	top: 1rem;
	left: 0.8rem;
	display: block;
	margin-top: -10px;
	width: 1.5rem;
	height: 1.5rem;
	border: 2px solid #bbb;
	border-radius: 6px;
	content: "";
}
.checkbox:before {
	content: "";
	-webkit-transition: opacity .2s linear;
	transition: opacity .2s linear;
	position: absolute;
	top: 0.6rem;
	left: 1.3rem;
	display: block;
	width: 0.5rem;
	height: 0.8rem;
	border-right: 3px solid #d30777;
	border-bottom: 3px solid #d30777;
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
input[type="checkbox"]:checked + .checkbox:before {
	opacity: 1;
}

input.ctxt + label + div {
	height: 0;
	opacity: 0;
	overflow: hidden;
	transition: .8s;
}
input.ctxt:checked + label + div {
	height: auto;
	opacity: 1;
	transition: .8s;
}

/*▼▼▼テキスト入力欄▼▼▼*/
input[type="text"], textarea {
	display: block;
	width: 100%;
	margin-top: 0.2rem;
	margin-bottom: 1rem;
	padding: 5px 8px;
	font-size: 1em;
	border: none;
	border-radius: 5px;
	border: 1px solid #ccc;
	font-family: 
Verdana, "Noto Sans JP","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	resize: vertical;
}
textarea[maxlength="25"] {
	max-width: 30rem;
	height: 2.5rem;
}
textarea[maxlength="50"] {
	height: 4.3rem;
}
textarea[maxlength="250"] ,
textarea[maxlength="500"] { min-height: 8rem; }
textarea[maxlength="2500"] { min-height: 10rem; }

input[type="text"]:focus, textarea:focus {
	background-color: #fffff0;
}

/*▼▼▼ボタン▼▼▼*/
input[type="submit"] {
	display: none;
}
.button {
	width: 380px;
	margin: 0 auto;
	text-align: center;
}
.mfp_buttons > button,
.pro_content > .sp_box > a.btnTop {
	display: inline-block;
	margin: 0 auto 10px;
	padding: 10px 25px;
	cursor: pointer;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 5px;
	transition: .2s ease-in-out;
	background: -ms-linear-gradient(top, #ffffff 0%, #eee 100%);
	background: -moz-linear-gradient(top, #ffffff 0%, #eee 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#eee 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#eee 100%);
}
.mfp_buttons > button:hover,
.pro_content > .sp_box > a.btnTop:hover {
	transition: .2s ease-in-out;
	box-shadow: 0 2px 10px 0px rgba(0,0,0,1);
	background: -ms-linear-gradient(top, #ffffff 0%, #eee 100%);
	background: -moz-linear-gradient(top, #ffffff 0%, #eee 100%);
	background: -webkit-linear-gradient(top, #ffffff 0%,#ccc 100%);
	background: linear-gradient(to bottom, #ffffff 0%,#ccc 100%);	
}

/***************************************/

#mfp_phase_confirm { font-size: 90%; }
#mfp_phase_confirm_inner h4 { margin-bottom: 1rem; }
#mfp_confirm_table { margin-bottom: 1.5rem; }
#mfp_confirm_table th {
	width: 30vw;
	color: #666666;
	text-align: left;
	background-color: #eeeeee;
}
#mfp_confirm_table th,
#mfp_confirm_table td { padding: 0.5rem; }
#mfp_confirm_table tr + tr {
	margin: 0.8rem 0;
}

#mfp_warning { color: #ff0000; }

footer {
	text-align: center;
}

@media screen and (min-width:960px){
/*	PC || 960px ~	*/

	.pro_content {
		max-width: 800px;
		font-size: 1rem;
/*		line-height: 1.8rem;*/
		border-radius: 30px;
	}
	#magicalswordEnqForm .sp_box > figure {
		margin-top: 3rem;
	}
	.sp_box > p {
/*		margin-top: 5rem;
		line-height: 1.5rem;
		font-size: 1.1rem;	*/
		margin-top: 3rem;
	}
	.sp_box > p > span {
		display: inline-block;
	}
	.pro_content .sp_box small {
	    font-size: 80%;
	    font-weight: 500;
	}
	
	.enqBox { font-size: 1.1rem; }
/*	.enqBox h1, .enqBox h2 {
		font-size: 1.5rem;
	}*/
/*	section:not(.concept_point_box) > h1 {
		font-size: 2rem;
		line-height: 2rem;
	}
	section:not(.concept_point_box) > h1::before {
		width: 150px;
		height: 3px;
	}
	.enqBox p { width: 90%; }*/
		
	select { max-width: 13rem; }
/*	.selBtn { max-width: 70%; }*/
	form#mailformpro input[type="radio"] + label {
		padding: 15px;
		font-size: 1.3rem;
	}
	form#mailformpro .checkbox {
		max-width: 25rem;
	}
	input[type="text"] { max-width: 27rem; }
	textarea { max-width: 90%; }
	textarea[maxlength="500"] { height: 4rem; }
	textarea[maxlength="2500"] { height: 6rem; }

	#mfp_confirm_table th {
		width: 10rem;
	}
}
