
/*画面全体*/
body {
	font-family: Arial, sans-serif;
	font-size: 34px;
	background-color: #f9f9f9;
	text-align: center;
	justify-content: center;
	margin: 0;
}

/*ヘッダー*/
.header {
	width: 100%;
	height: 80px;
	background: #e60000;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*ヘッダー内ロゴ*/
.header img {
	display: block;
	height: 36px;
}

/*タイトル*/
h2 {
	margin: 40px auto 20px;
	font-size: 30px;
}

/*メッセージ*/
.message-title {
	margin: 120px auto 30px;
	font-size: 52px;
}

/*本文*/
p {
	margin-top: 100px;
	margin-bottom: 100px;
	white-space: pre-wrap;
	font-size: 30px;
}

/* 入力エリア全体枠 */
.item {
	width: 70%;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	position: relative;
	margin-bottom: 40px;
	border-bottom: 2px solid #ccc;
	padding: 15px;
	border-radius: 10px;
	border-left: 4px solid #ddd;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	background-color: #fff0f5;
	font-size: 40px;
	font-weight: bold;
}

/* 入力エリア全体枠 */
.item-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
}

/*ボタングループ*/
.button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

/*ボタン*/
.button-submit,
.button-back {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 540px;
	height: 100px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 30px;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}

/*次の画面遷移ボタン*/
.button-submit {
	background-color: #e60000;
	color: white;
}
.button-submit:hover {
	background-color: #cc0000;
}

/*戻るボタン*/
.button-back {
	background-color: #888888;
	color: white;
}
.button-back:hover  {
	background-color: #666666;
}

/*レスポンシブ対応*/
@media screen and (max-width: 600px) {
	/*画面全体*/
	body {
		font-size: 20px;
	}

	/*ヘッダー*/
	.header {
		height: 56px;
	}

	/*ヘッダー内ロゴ*/
	.header img {
		height: 24px;
	}

	/*タイトル*/
	h2 {
		font-size: 20px;
		margin: 18px auto 10px;
	}

	/*メッセージ*/
	.message-title {
		font-size: 28px;
		margin: 80px auto 20px;
	}

	/*本文*/
	p {
		font-size: 16px;
		margin-top: 40px;
		margin-bottom: 80px;
	}

	/* 入力エリア全体枠 */
	.item {
		width: 88%;
		margin-bottom: 18px;
		}

	/*ボタングループ*/
	.button {
		padding-top: 6px;
		gap: 8px;
	}

	/*ボタン*/
	.button-submit,
	.button-back {
		width: 70% !important;
		height: 46px !important;
		font-size: 18px !important;
		border-radius: 4px;
		line-height: 1;
	}
	
	/*	フォーム→ボタン*/
	.button form {
		width: 100%;
		display: flex;
		justify-content: center;
	}
	
}
