@charset 'UTF-8';

* {
	margin: 0;
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
	-webkit-backface-visibility: hidden;
}

html { font-size: 62.5%; }

body {
	font-size: 16px;
	font-size: 1.6rem;
	font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	line-height: 1.8;
	position: relative;
	text-align: left;
	color: #333;
}

.main {
	width: 92%;
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 0;
}

.logo {
	max-width: 50%;
	margin: 0 0 20px;
}

.red_text {
	color:#BA0000;
}

/*メインビジュアル*/
.mainvisual {
	background: url(../img/ico_main.png) 50% min(38px, 5vw) / min(136px, 20vw) auto no-repeat #fbecf0;
	margin: 0 0 20px;
	padding: 30% 4% min(30px, 4%);
	text-align: center;
}
.mainvisual .tit {
	font-size: clamp(1.8rem, 5.2vw, 3.6rem);
	font-weight: bold;
	color: #dc426a;
	border: none;
}
.mainvisual .date {
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
	font-weight: bold;
}

.limit {
	padding: 2px 0;
	font-size: min(1.8rem, 4vw);
	font-weight: bold;
	color: #fff;
	background: #363636;
	text-align: center;
}

/*ご当選について*/
.note {
	margin: 0 0 20px;
	padding: 20px 4%;
	font-size: 1.4rem;
	border: 4px solid #f2f2f2;
}

.note .tit {
	margin: 0 0 10px;
	font-size: 1.6rem;
	text-align: center;
}

.note ul {margin-left: 1.2em;}

/*フォーム部分*/

form {margin: 0 0 20px;}

.fieldset {
	margin: 0 0 min(40px, 5vw);
	font-size: 1.4rem;
}
.fieldset dl {
	margin: 0 0 12px;
	border-top: 1px solid #ADADAD;
	border-left: 1px solid #ADADAD;
}

.fieldset dt {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 5px 4%;
	box-sizing: border-box;
	font-weight: bold;
	color: #8E8E8E;
	background: #F4F4F4;
	border-right: 1px solid #ADADAD;
}

.fieldset dt .required {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.fieldset dt .required::after {
	flex-shrink: 0;
	content: "\5FC5\9808";
	margin: 0 0 0 4px;
	padding: 0 4px;
	font-size: 10px;
	color: #fff;
	background: #DC426A;
}

.fieldset dd {
	padding: 12px 4%;
	box-sizing: border-box;
	border-right: 1px solid #ADADAD;
	border-bottom: 1px solid #ADADAD;
}
/*説明文*/
.fieldset dd > p {margin-bottom: 10px;}

.fieldset input,
.fieldset select,
.fieldset textarea {
	padding: 5px;
	box-sizing: border-box;
	font-size: 1.6rem;
}

.fieldset textarea {max-width: 100%;}
/*横並び radio checkbox*/
.fieldset .radioelement + .radioelement,
.fieldset .checkelement + .checkelement {margin-left: 8px;}

/*縦並び radio checkbox*/
.fieldset br + .radioelement,
.fieldset br + .checkelement {
	display: inline-block;
	margin-top: 5px;
}

/*「その他」のテキストエリア*/
.fieldset .radioelement + [name$=_txt],
.fieldset .checkelement + [name$=_txt] {margin-top: 5px;}

/*送信ボタン*/
.fieldset + p .submit,
.btn {
	display: block;
	width: 100%;
	max-width: 320px;
	padding: 13px 4%;
	margin: 0 auto;
	box-sizing: border-box;
	font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size: 1.6rem;
	font-weight: bold;
	color: #fff;
	background: #DC426A;
	border: none;
	cursor: pointer;
	transition: opacity 0.3s;
	-webkit-appearance: none;
}
.fieldset + p .submit:hover,
.btn:hover {opacity: 0.7;}

.fieldset + p .submit[value="戻る"],
.btn.gray {
	width: 52%;
	max-width: 160px;
	padding: 6px 2%;
	background: #ADADAD;
}

.close {margin: 0 0 40px;}

/*エラー*/
.errs {
	margin: 0 0 20px;
	padding: 10px 4% 10px 0;
	color: #BA0000;
	background: #FDF4F6;
	border: 1px solid #BA0000;
}

.errs ul {
	margin: 0 0 0 2em;
	font-size: 1.4rem;
}

/*確認画面*/
.main.confirm .fieldset + p {
	display: flex;
	flex-direction: column-reverse;
}

/*送信完了*/
.thanks_tit {
	margin: 0 0 30px;
	font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-size: 1.4rem;
	font-weight: bold;
	color: #fff;
	background: #DC426A;
	text-align: center;
}

.thanks_txt {
	margin: 0 0 30px;
	font-size: 1.4rem;
}

.top_back {
	font-size: 1.4rem;
	text-align: center;
}
.top_back::before,
.top_back::after {
	content: "|";
	margin: 0 1em;
}

/*PC*/
@media screen and (min-width: 520px) {
	.fieldset dl {
		display: flex;
		flex-wrap: wrap;
	}

	.fieldset dt {
		width: 30%;
		border-right: none;
		border-bottom: 1px solid #ADADAD;
	}

	.fieldset dd {width: 70%;}
}

/*IE*/
@media all and (-ms-high-contrast: none) {
	
	.mainvisual {
		background: url(../img/ico_main.png) 50% 38px / 136px auto no-repeat #fbecf0;
		padding: 30% 4% 30px;
	}
	.mainvisual .tit {font-size: 3.6rem;}
	.mainvisual .date {font-size: 1.8rem;}

	/*フォーム部分*/
	.fieldset {margin: 0 0 40px;}
}

.copy {
	font-size: 1.2rem;
	text-align: center;
}

.tac {text-align: center;}
.tar {text-align: right;}
.tal {text-align: left;}

.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px;}
.mb30 {margin-bottom: 30px;}
.mb40 {margin-bottom: 40px;}