/* Layout */
body {
	margin: 0;
}
#wrapper {
	width: auto;
}
div.inner-block,
div.cautionTitle,
p.caution {
	width: 1120px;
	margin: 0 auto;
}
div.body-area {
	margin-bottom: 100px;
}

header {
	height: 50px;

	div.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 100%;

		div.logo {
			display: flex;
			align-items: center;
			height: 100%;
			padding-left: 5px;

			a {
				display: block;
				height: 100%;

				img {
					height: 100%;
				}
			}
		}

		div.link {
			height: 100%;
			padding-right: 5px;

			a {
				display: flex;
				align-items: center;
				height: 100%;
				color: #333;
				font-weight: bold;
				margin-left: 30px;

				&:hover {
					color: #ff9c3d;
				}
			}
		}

		#header-menu-check {
			display: none;

			&:checked ~ div.menu {
				div.menu-content {
					display: block;
				}
			}
		}

		div.menu {
			display: none;
			width: 40px;
			height: 100%;
			cursor: pointer;

			label {
				display: flex;
				align-items: center;
				justify-content: center;
				width: 100%;
				height: 100%;

				div.inner {
					position: relative;
					width: 20px;
					height: 15px;

					&:before {
						content: '';
						height: 3px;
						width: 20px;
						background: #888;
						border-radius: 4px;
						display: block;
						position: absolute;
						top: 0;
						left: 0;
						box-shadow: 0 6px #888, 0 12px #888;
					}
				}
			}

			div.menu-content {
				display: none;
				position: relative;

				ul {
					position: absolute;
					right: 0;
					top: 0;
					width: 200px;
					margin: 0;
					padding: 0;
					background: #fff;
					list-style-type: none;
					border: solid 1px #ccc;
					box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
					z-index: 1;

					li {
						a {
							display: block;
							color: #333;
							padding: 10px 10px;
						}
					}
				}
			}
		}
	}
}



/* Common */
a {
	text-decoration: none;
}
.flex-ac {
	display: flex;
	align-items: center;
}
div.contact-button-area {
	.contact-button {
		display: block;
		width: 90%;
		margin: 0 auto;
		padding: 6px;
		color: #fff;
		font-size: 140%;
		font-weight: bold;
		border-radius: 5px;
		text-decoration: none;
		text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
		box-shadow: 1px 1px 3px #888;
	}

	input.contact-button-blue {
		background-color: transparent;
		border: none;
		cursor: pointer;
		outline: none;
		appearance: none;

		background: linear-gradient(to bottom, #179ce0 48%,#1180b7 51%,#1180b7 100%,#1180b7 100%); /* W3C */

		&:hover {
			background: linear-gradient(to bottom, #2dbae9 48%,#1ba5da 51%,#1ba5da 100%,#1ba5da 100%); /* W3C */
		}
		&:active {
			background: linear-gradient(to bottom, #2dbae9 48%,#1ba5da 51%,#1ba5da 100%,#1ba5da 100%); /* W3C */
		}
	}
}
div.error-message {
	color: #ff0000;
}



@media (max-width: 767px) {
	header {
		div.header-inner {
			div.link {
				display: none;
			}

			div.menu {
				display: block;
			}
		}
	}
}
