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

/*共通 メインビジュアル*/
/*PC*/
@media only screen and (min-width: 1025px) {
	#page_mv {
		position: relative;
		width: 90%;
		height: auto;
		margin: 0 auto 0 auto;
	}
	
	#page_mv h1 {
		z-index: 1;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		font-size: 36px;
		font-weight: 600;
		letter-spacing: 2px;
		line-height: 36px;
		text-align: center;
		color: #0054A6;
	}
	
	#page_mv h1 font {
		padding: 20px 30px 20px 30px;
		background: #fff;
	}
	
	#page_mv img {
		z-index: 0;
		display: block;
		position: relative;
		width: 100%;
		height: 400px;
		object-fit: cover;
		object-position: center;
	}
 
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	#page_mv {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 0 auto;
	}
	
	#page_mv h1 {
		z-index: 1;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		width: 100%;
		font-size: 20px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 20px;
		text-align: center;
		color: #0054A6;
	}
	
	#page_mv h1 font {
		padding: 8px 12px 8px 12px;
		background: #fff;
	}
	
	#page_mv img {
		z-index: 0;
		display: block;
		position: relative;
		width: 100%;
		height: 200px;
		object-fit: cover;
		object-position: center;
	}
 

}

/*寄付申込みフォーム*/
/*PC*/
@media only screen and (min-width: 1025px) {
	/*コンテンツ*/
	#df {
		position: relative;
		width: 100%;
		height: auto;
		margin: 80px auto 80px auto;
	}
	
	#df .attention {
		position: relative;
		width: 1100px;
		height: auto;
		margin: 0 auto 0 auto;
		padding: 35px 40px 35px 40px;
		border-radius: 10px;
		background: #ECECEC;
		box-sizing: border-box;
	}
	
	#df .attention h2 {
		position: relative;
		padding: 5px 0 5px 25px;
		font-size: 24px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 24px;
		text-align: left;
	}
	
	#df .attention h2::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%) translateX(0);
		width: 8px;
		height: 100%;
		background: #0054A6;
		border-radius: 2px;
	}
	
	#df .attention .text {
		position: relative;
		width: 100%;
		height: auto;
		margin: 25px auto 0 auto;
	}
	
	#df .attention .text p {
		position: relative;
		padding-left: 25px;
		margin: 3px auto 3px auto;
	}
	
	#df .attention .text p::before {
		content: "";
		position: absolute;
		top: 13px;
		left: 6px;
		width: 5px;
		height: 5px;
		border-radius: 200px;
		background: #202020;
	}
	
	#df .form {
		position: relative;
		width: 1000px;
		height: auto;
		margin: 80px auto 0 auto;
	}
	
	#df .form .title {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 40px auto;
	}
	
	#df .form .title h2 {
		font-size: 26px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 26px;
		text-align: center;
	}
	
	.cf7 {
		position: relative;
		width: 100%;
		height: auto;
	}
	
	.cf7 table {
		position: relative;
		width: 100%;
		height: auto;
		border-collapse: collapse;
	}
	
	.cf7 table tr {
		border: solid 1px #161616;
	}
	
	.cf7 table tr th {
		display: block;
		width: 100%;
		padding: 18px 0 18px 30px;
		background: #f3f2ee;
		box-sizing: border-box;
	}
	
	.cf7 table tr th p {
		font-size: 16px;
		font-weight: 600;
		line-height: 16px;
		text-align: left;
	}
	
	.cf7 table tr th p span {
		position: relative;
		margin-left: 15px;
		padding: 4px 8px;
		font-size: 14px;
		font-weight: 500;
		line-height: 14px;
		text-align: center;
		color: #fff;
		background: #FC4D51;
		border-radius: 2px;
	}
	
	.cf7 table tr td {
		display: block;
		width: 100%;
		padding: 25px 30px 25px 30px;
		box-sizing: border-box;
	}
	
	.cf7 table tr td p {
		font-size: 16px;
		font-weight: normal;
		line-height: 26px;
		text-align: left;
	}
	
	.cf7 .scroll {
		position: relative;
		width: 800px;
		height: auto;
		margin: 50px auto 40px auto;
	}
	
	.cf7 .scroll h4 {
		position: relative;
		padding: 4px 0 4px 20px;
		font-size: 20px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 20px;
		text-align: left;
	}
	
	.cf7 .scroll h4::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%) translateX(0);
		width: 8px;
		height: 100%;
		background: #0054A6;
		border-radius: 1px;
	}
	
	.cf7 .scroll #termsBox {
		position: relative;
		width: 100%;
		height: 200px;
		padding: 15px 20px 15px 20px;
		margin: 20px auto 0 auto;
		overflow-y: scroll;
		border: 1px solid #ccc;
		box-sizing: border-box;
	}
	
	.terms-disabled {
		opacity: 0.5;
	}
	
	/*入力欄設定*/
	input[name="df_name01"],
	input[name="df_name02"],
	input[name="df_email"],
	input[name="df_email_confirm"],
	input[name="df_tel"],
	input[name="zip"],
	input[name="pref"],
	input[name="addr"] {
		padding: 15px 20px;
		font-size: 16px;
		font-weight: normal;
		line-height: 16px;
		color: #211815;
		background: #fff;
		border: solid 1px #807571;
		border-radius: 0!important;
		box-sizing: border-box;
	}
	
	input[name="df_name01"],
	input[name="df_name02"] {
		width: 40%;
	}
	
	input[name="zip"] {
		width: 30%;
		margin-bottom: 10px;
	}
	
	input[name="pref"] {
		width: 80%;
		margin-bottom: 10px;
	}
	
	input[name="addr"] {
		width: 80%;
	}
	
	input[name="df_tel"] {
		width: 40%;
	}
	
	input[name="df_email"],
	input[name="df_email_confirm"] {
		width: 60%;
	}
	
	span[data-name="df_sex"] .wpcf7-list-item {
		width: 100%;
		margin: 5px 0 5px 0;
	}
	
	span[data-name="df_plan"] .wpcf7-list-item {
		width: 100%;
		margin: 5px 0 5px 0;
	}
	
	/*プレイスホルダー*/
	::placeholder {
		color: #A7A7A7;
	}
	
	/*承認ボタン*/
	.accept {
		position: relative;
		width: 760px;
		height: auto;
		margin: 0 auto 40px auto;
		font-size: 16px;
		font-weight: 400;
		line-height: 16px;
	}
	
	.accept p {
		text-align: left;
	}
	
	/*送信ボタン*/
	input[type="submit"] {
		display: block;
		position: relative;
		width: 320px;
		height: auto;
		padding: 18px 0;
		margin: 0 auto 0 auto;
		font-size: 18px;
		font-weight: 600;
		font-family: "Noto Sans", sans-serif;
		letter-spacing: 1px;
		line-height: 18px;
		text-align: center;
		color: #fff;
		background: #0054A6;
		border: solid 2px #0054A6;
		border-radius: 0;
		transition: 0.3s;
	}
	
	input[type="submit"]:hover {
		color: #0054A6;
		background: #fff;
		border: solid 2px #0054A6;
	}
 
}

/*SMP*/
@media only screen and (max-width: 1024px) {
	/*コンテンツ*/
	#df {
		position: relative;
		width: 100%;
		height: auto;
		margin: 40px auto 40px auto;
	}
	
	#df .attention {
		position: relative;
		width: 94%;
		height: auto;
		margin: 0 auto 0 auto;
		padding: 20px 18px 20px 18px;
		border-radius: 5px;
		background: #ECECEC;
		box-sizing: border-box;
	}
	
	#df .attention h2 {
		position: relative;
		padding: 2px 0 2px 16px;
		font-size: 18px;
		font-weight: 500;
		letter-spacing: 1px;
		line-height: 18px;
		text-align: left;
	}
	
	#df .attention h2::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%) translateX(0);
		width: 6px;
		height: 100%;
		background: #0054A6;
		border-radius: 1px;
	}
	
	#df .attention .text {
		position: relative;
		width: 100%;
		height: auto;
		margin: 14px auto 0 auto;
	}
	
	#df .attention .text p {
		position: relative;
		padding-left: 16px;
		margin: 4px auto 4px auto;
	}
	
	#df .attention .text p::before {
		content: "";
		position: absolute;
		top: 10px;
		left: 4px;
		width: 3px;
		height: 3px;
		border-radius: 200px;
		background: #202020;
	}
	
	#df .form {
		position: relative;
		width: 96%;
		height: auto;
		margin: 40px auto 0 auto;
	}
	
	#df .form .title {
		position: relative;
		width: 100%;
		height: auto;
		margin: 0 auto 25px auto;
	}
	
	#df .form .title h2 {
		font-size: 20px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 20px;
		text-align: center;
	}
	
	.cf7 {
		position: relative;
		width: 100%;
		height: auto;
	}
	
	.cf7 table {
		position: relative;
		width: 100%;
		height: auto;
		border-collapse: collapse;
	}
	
	.cf7 table tr {
		border: solid 1px #161616;
	}
	
	.cf7 table tr th {
		display: block;
		width: 100%;
		padding: 18px 0 18px 15px;
		background: #f3f2ee;
		box-sizing: border-box;
	}
	
	.cf7 table tr th p {
		font-size: 15px;
		font-weight: 600;
		line-height: 15px;
		text-align: left;
	}
	
	.cf7 table tr th p span {
		position: relative;
		margin-left: 12px;
		padding: 2px 6px;
		font-size: 14px;
		font-weight: 500;
		line-height: 14px;
		text-align: center;
		color: #fff;
		background: #FC4D51;
		border-radius: 1px;
	}
	
	.cf7 table tr td {
		display: block;
		width: 100%;
		padding: 18px 15px 18px 15px;
		box-sizing: border-box;
	}
	
	.cf7 table tr td p {
		font-size: 15px;
		font-weight: normal;
		line-height: 15px;
		text-align: left;
	}
	
	.cf7 .scroll {
		position: relative;
		width: 92%;
		height: auto;
		margin: 30px auto 25px auto;
	}
	
	.cf7 .scroll h4 {
		position: relative;
		padding: 2px 0 2px 15px;
		font-size: 18px;
		font-weight: 600;
		letter-spacing: 1px;
		line-height: 18px;
		text-align: left;
	}
	
	.cf7 .scroll h4::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 0;
		transform: translateY(-50%) translateX(0);
		width: 6px;
		height: 100%;
		background: #0054A6;
		border-radius: 1px;
	}
	
	.cf7 .scroll #termsBox {
		position: relative;
		width: 100%;
		height: 220px;
		padding: 8px 10px 8px 10px;
		margin: 15px auto 0 auto;
		overflow-y: scroll;
		border: 1px solid #ccc;
		box-sizing: border-box;
	}
	
	.terms-disabled {
		opacity: 0.5;
	}
	
	/*入力欄設定*/
	input[name="df_name01"],
	input[name="df_name02"],
	input[name="df_email"],
	input[name="df_email_confirm"],
	input[name="df_tel"],
	input[name="zip"],
	input[name="pref"],
	input[name="addr"] {
		padding: 10px 10px;
		font-size: 16px;
		font-weight: normal;
		line-height: 16px;
		color: #211815;
		background: #fff;
		border: solid 1px #807571;
		border-radius: 0!important;
		box-sizing: border-box;
	}
	
	input[name="df_name01"],
	input[name="df_name02"] {
		width: 100%;
	}
	
	input[name="zip"] {
		width: 50%;
		margin-bottom: 10px;
	}
	
	input[name="pref"] {
		width: 100%;
		margin-bottom: 10px;
	}
	
	input[name="addr"] {
		width: 100%;
	}
	
	input[name="df_tel"] {
		width: 100%;
	}
	
	input[name="df_email"],
	input[name="df_email_confirm"] {
		width: 100%;
	}
	
	span[data-name="df_sex"] .wpcf7-list-item {
		width: 100%;
		margin: 7px 0 7px 0;
	}
	
	span[data-name="df_plan"] .wpcf7-list-item {
		width: 100%;
		margin: 7px 0 7px 0;
		font-size: 14px;
		line-height: 14px;
	}
	
	/*プレイスホルダー*/
	::placeholder {
		color: #A7A7A7;
	}
	
	/*承認ボタン*/
	.accept {
		position: relative;
		width: 92%;
		height: auto;
		margin: 0 auto 30px auto;
		font-size: 14px;
		font-weight: 400;
		line-height: 14px;
	}
	
	.accept p {
		text-align: left;
	}
	
	/*送信ボタン*/
	input[type="submit"] {
		display: block;
		position: relative;
		width: 270px;
		height: auto;
		padding: 14px 0;
		margin: 0 auto 0 auto;
		font-size: 16px;
		font-weight: 600;
		font-family: "Noto Sans", sans-serif;
		letter-spacing: 1px;
		line-height: 16px;
		text-align: center;
		color: #fff;
		background: #0054A6;
		border: solid 1px #0054A6;
		border-radius: 0;
	}
	
}