:root {
	--last-month-color: #65bf97;/*前月*/
	--this-month-color: #5cc2cf;/*最新号*/
}
body {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
		"Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.5;
	color: #333;
}
.wrapper {
	width: auto;
}
.header {
	background: var(--this-month-color);
	display: flex;
	height: auto;
	flex-wrap: wrap;
	justify-content: center;
	padding: 7vw 0;
}
.header-title {
	color: #231815;
	text-align: center;
	font-size: 5vw;
	font-weight: 600;
	margin-bottom: 3vw;
}
.deadline {
	font-size: 3.5vw;
	background-color: #fff;
	height: 30px;
	text-align: center;
	line-height: 30px;
	padding: 0 20px 0 0;
	border-radius: 30px;
}
.deadline span {
	display: inline-block;
	background-color: #333;
	color: #fff;
	padding: 0 3vw 0 5vw;
	border-radius: 30px 0 0 30px;
	margin-right: 15px;
}
.contact-form {
	padding: 5vw 5vw 10vw;
}
.form-item {
	position: relative;
	margin-bottom: 7vw;
	padding-bottom: 7vw;
	border-bottom: 1px solid #eee;
}
.form-item dt {
	font-size: 4.3vw;
	font-weight: 600;
	margin-bottom: 3vw;
	padding-right: 17vw;
}
.form-item .icon_required {
	position: absolute;
	right: 0;
	display: inline-block;
	width: 50px;
	height: 21px;
	line-height: 21px;
	background-color: var(--this-month-color);
	font-size: 3vw;
	color: #231815;
	text-align: center;
	font-weight: normal;
	top: 0;
}
input.g_form {
	background-color: #f2f3f3;
	width: 100%;
	height: 45px;
	padding: 0 10px;
	font-size: 4.3vw;
	border-radius: 4px;
	transition: all 0.3s ease-out;
}
input.g_form:focus,
.form-item textarea:focus,
.form-item_age:focus {
	box-shadow: 0 0 0 2px var(--this-month-color) inset;
}
.form-item_age:focus {
	border: 1px solid #fff;
}
.form-item_age {
	border: 1px solid #eee;
	height: 45px;
	padding: 0 40px 0 10px;
	font-size: 4.3vw;
	position: relative;
	background-image: url(../images/chevron-down.svg);
	background-repeat: no-repeat;
	background-size: 21px;
	background-position: right 10px center;
	width: auto;
	border-radius: 4px;
}
.form-item_age::after {
	content: "▼";
	display: inline-block;
	width: 10px;
	height: 10px;
	font-size: 3vw;
	position: absolute;
	right: 0;
}
.item_radio li {
	position: relative;
	margin-bottom: 3vw;
}
/*ラジオボタン*/
.item_radio {
	display: block;
	position: relative;
	width: 100%;
}
.item_radio input[type="radio"] {
	position: absolute;
}
.item_radio label {
	display: block;
	position: relative;
	font-size: 4.3vw;
	cursor: pointer;
	-webkit-transition: all 0.25s linear;
	z-index: 10;
	padding-left: 25px;
}
.item_radio .check {
	display: block;
	position: absolute;
	border: 3px solid #aaaaaa;
	border-radius: 100%;
	height: 20px;
	width: 20px;
	top: 2px;
	left: 0;
	z-index: 5;
	transition: border 0.25s linear;
	-webkit-transition: border 0.25s linear;
}
.item_radio .check::before {
	display: block;
	position: absolute;
	content: "";
	border-radius: 100%;
	height: 8px;
	width: 8px;
	top: 3px;
	left: 3px;
	margin: auto;
	transition: border 0.25s linear;
	-webkit-transition: border 0.25s linear;
}
.item_radio input[type="radio"]:checked ~ .check {
	border: 3px solid var(--this-month-color);
}
.item_radio input[type="radio"]:checked ~ .check::before {
	background: var(--this-month-color);
}
.item_radio input[type="radio"]:checked ~ label {
}
/* チェックボックス03 */
.item_check {
	position: relative;
	padding-left: 25px;
	font-size: 4.3vw;
	cursor: pointer;
	-webkit-transition: all 0.25s linear;
}
.item_check::before {
	background: #fff;
	border: 3px solid #aaaaaa;
	border-radius: 3px;
	content: "";
	display: block;
	position: absolute;
	height: 20px;
	width: 20px;
	top: 0;
	left: 0;
}
.item_check::after {
	border-right: 3px solid var(--this-month-color);
	border-bottom: 3px solid var(--this-month-color);
	content: "";
	display: block;
	height: 20px;
	left: 7px;
	opacity: 0;
	position: absolute;
	top: -3px;
	transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(0.7, 0.7, 1);
	transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
	width: 9px;
}
input[type="checkbox"]:checked + .item_check {
}
input[type="checkbox"]:checked + .item_check::before {
	border-color: var(--this-month-color);
}
input[type="checkbox"]:checked + .item_check::after {
	opacity: 1;
	transform: rotate(45deg) scale3d(1, 1, 1);
}
.form-item textarea {
	background-color: #f2f3f3;
	width: 100%;
	height: 120px;
	padding: 10px;
	font-size: 4.3vw;
	border-radius: 4px;
}
.btn_submit button {
	width: 200px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	color: #231815;
	font-size: 4vw;
	margin: 0 auto;
	background-color: #ccc;
	display: block;
	border-radius: 4px;
	opacity: 0.7;
	transition: all 0.3s ease;
	appearance: none;
	border: none;
}
.btn_submit button.checked {
	background-color: var(--this-month-color);
	opacity: 1;
}
.privacy {
	margin-bottom: 7vw;
	padding-bottom: 7vw;
	background-color: #eee;
	padding: 5vw;
	text-align: center;
}
.privacy-title {
	font-size: 4.3vw;
	font-weight: 600;
	margin-bottom: 3vw;
}
.privacy-inner {
	background: #fff;
	overflow-x: scroll;
	height: 120px;
	font-size: 3.75vw;
	box-sizing: border-box;
	text-align: left;
	padding: 4vw;
}
.privacy .form-item {
	margin: 4vw auto 0;
	padding: 0;
	border-bottom: none;
}
.privacy .form-item dt {
	text-align: left;
	padding: 0;
	margin: 0px 0 4vw;
	font-size: 3.75vw;
	font-weight: 400;
}
/*本誌の入手場所　その他*/
.item_radio li.obtain_other-text,
.item_radio li.obtain_other-station-text {
	opacity: 0;
	height: 0;
	margin-bottom: 0;
	transition: all 0.3s ease;
}
.item_radio li.obtain_other-text.checked,
.item_radio li.obtain_other-station-text.checked {
	opacity: 1;
	height: auto;
	margin-bottom: 3vw;
}
.obtain_other-text textarea,
.obtain_other-station-text textarea {
	height: 120px;
	transition: all 0.3s ease;
}

/*確認画面*/
.confirmation .form-item {
	padding-bottom: 4vw;
}
.confirmation .form-item dt {
	font-weight: normal;
	font-size: 3.5vw;
	border-left: 5px solid var(--this-month-color);
	padding-left: 7px;
	margin-bottom: 2vw;
}
.confirmation .form-item dd {
	font-weight: 600;
	padding-left: 12px;
}
.confirmation .btn_item {
	display: flex;
	justify-content: space-between;
}
.confirmation .btn_history_back {
	width: 120px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	color: #231815;
	font-size: 4vw;
	background-color: #ccc;
	display: block;
	border-radius: 4px;
	transition: all 0.3s ease;
	appearance: none;
	border: none;
}
.contact-form h2 {
	font-size: 5.5vw;
	text-align: center;
	margin: 0 auto 8vw;
	color: #000;
}
/*thanks*/
.thanks_txt {
	font-size: 4vw;
	text-align: center;
}
.btn_top a {
	width: 180px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	color: #231815;
	font-size: 3.5vw;
	margin: 0 auto;
	background-color: var(--this-month-color);
	display: block;
	border-radius: 4px;
	appearance: none;
	border: none;
	text-decoration: none;
	margin-top: 5vw;
}
.end_txt {
	margin: 0px 0 4vw;
	font-size: 3.75vw;
	line-height: 1.8;
	font-weight: 400;
}
.end_txt span {
	font-size: 4vw;
	font-weight: 600;
}
@media screen and (min-width: 768px) {
	/*タブレット縦以上*/
	.header {
		font-size: 32px;
		padding: 50px 0;
	}
	.header-title {
		width: 100%;
		font-size: 32px;
	}
	.deadline {
		font-size: 18px;
		height: 45px;
		line-height: 45px;
	}
	.deadline span {
		padding: 0 20px 0 40px;
	}
	.contact-form {
		padding: 30px 30px 50px;
		width: 740px;
		margin: 0 auto;
	}
	.form-item {
		margin-bottom: 40px;
		padding-bottom: 40px;
	}
	.privacy {
		padding: 30px;
		margin-bottom: 30px;
	}
	.form-item dt {
		font-size: 20px;
		margin-bottom: 10px;
		padding-right: 80px;
	}
	.form-item .icon_required {
		font-size: 13px;
	}
	input.g_form {
		font-size: 18px;
	}
	.form-item_age {
		font-size: 18px;
	}
	.item_radio label {
		font-size: 18px;
	}
	.item_check {
		font-size: 18px;
	}
	.item_radio li {
		margin-bottom: 10px;
	}
	.item_radio li.obtain_other-text.checked,
	.item_radio li.obtain_other-station-text.checked {
		margin-bottom: 10px;
	}
	.form-item textarea {
		font-size: 18px;
	}
	.privacy .form-item {
		margin: 20px auto 0;
	}
	.privacy-title {
		font-size: 20px;
		margin-bottom: 20px;
	}
	.privacy-inner {
		height: 280px;
		font-size: 14px;
		padding: 20px;
	}
	.privacy .form-item dt {
		margin: 0px 0 20px;
		font-size: 16px;
	}
	.btn_submit button {
		font-size: 18px;
	}
	/*確認画面*/
	.confirmation .form-item {
		padding-bottom: 30px;
		margin-bottom: 30px;
	}
	.confirmation .form-item dt {
		font-size: 16px;
		margin-bottom: 10px;
	}
	.confirmation .form-item dd {
		font-size: 18px;
	}
	.confirmation .btn_item {
		justify-content: space-around;
		width: 60%;
		margin: 0 auto;
	}
	.confirmation .btn_history_back {
		font-size: 18px;
	}
	/*thanks*/
	.contact-form h2 {
		font-size: 24px;
		margin: 0 auto 60px;
	}
	.thanks_txt {
		font-size: 24px;
	}
	.btn_top a {
		font-size: 18px;
	}
	.end_txt {
		margin: 0px 0 20px;
		font-size: 14px;
		text-align: center;
	}
	.end_txt span {
		font-size: 18px;
	}
}
