

body {
	background-color: #b7f5a1;
	margin: 0;
	font-family: sans-serif;
	font-size: calc(13 * var(--px));
	color: #333;
}

img {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

#page_container {
	margin: 0 auto;
	max-width: 900px;
	padding: 1.2em;
	background-color: white;
	border-radius: 10px;
}

header {
	.logo {
		margin: 0;
		min-height: 85px;
		display: flex;
		align-items: center;
		background-image: url("../images/header/header-bg.png");
		background-repeat: no-repeat;
		background-position: right center;
	}
	.wrap {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 5em;
		padding: 0.5em 0;
		p {
			margin: 0;
		}
		.reverse {
			a {
				background-color: #d50011;
				color: #ffffff;
				text-decoration: none;
				padding: 1em 1.5em;
				font-weight: bold;
				display: inline-block;
				font-size: calc(14 * var(--px));
			}
		}
		.tel {
			font-size: calc(24 * var(--px));
			font-weight: bold;
			a {
				color: #333;
				text-decoration: none;
			}
		}
		.hours {
			line-height: 1.5em;
			margin-top: 0.5em;
		}
	}
	.header_menu {
		background-color: #000;
		list-style-type: none;
		padding-left: 0;
		display: flex;
		font-size: calc(14 * var(--px));
		flex-wrap: wrap;
		a {
			display: block;
			padding: 1em 1.5em;
			color: #fff;
			text-decoration: none;
			&:hover {
				background-color: #383838;
			}
		}
		.menu {
			font-weight: bold;
		}
	}
}

#content_wrap {
	display: flex;
	margin-top: 2em;
}

#sidebar {
	width: 170px;
	margin-left: 1em;
	margin-right: 3em;
	.sidebar_menu {
		list-style-type: none;
		padding-left: 0;
		display: flex;
		flex-direction: column;
		gap: 2em;
		li {
			position: relative;
			&:after {
				position: absolute;
				top: 100%;
				left: 0;
				content: '';
				width: 100%;
				border-bottom: 1px dotted #ccc;
				margin-top: 1em;
				margin-bottom: 1em;
			}
		}
		p {
			margin: 0;
		}
		a {
			text-decoration: none;
			color: #333;
			border-left: 5px solid var(--accent-color);
			display: flex;
			flex-direction: column;
			gap: 0.5em;
			padding-left: 1em;
			&:hover {
				opacity: 0.8;
			}
		}
		.jp {
			font-size: calc(20 * var(--px));
			letter-spacing: 0.05em;
		}
		.en {
			color: var(--accent-color);
		}
	}
}

main {
	flex: 1;
	padding-right: 1em;
	padding-left: 3em;
	border-left: 1px solid #bbb;
}

footer {
	border-top: 10px solid #000;
	position: relative;
	margin-top: 3em;
	.page_top {
		margin: 0;
		position: absolute;
		top: -10px;
		right: 0;
		a {
			background-color: #de6600;
			color: #fff;
			text-decoration: none;
			font-weight: bold;
			padding: 0.5em;
			display: inline-block;
			border-radius: 0 0 0.5em 0.5em;
		}
	}
	.wrap {
		padding: 1em;
		display: flex;
		align-items: center;
		gap: 3em;
	}
	.logo {
		margin: 0;
		max-width: 221px;
	}
	.footer_menu {
		list-style-type: none;
		padding-left: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 1em 2em;
		a {
			color: #333;
		}
	}
	.copyright {
		color: #888;
		font-size: calc(10 * var(--px));
	}
	.privacy_policy {
		font-size: calc(11 * var(--px));
		a {
			color: #383838;
		}
	}
}

body.home {
	#page_content {
		.contact {
			margin-top: 2em;
			gap: 3em;
			.has-large-font-size {
				margin: 0;
				line-height: 1em;
			}
		}
	}
}

#page_content {
	.date {
		margin-bottom: 1em;
		display: block;
	}
	a {
		color: var(--accent-color);
	}
	p, h2, h3, h4, h5, h6, table {
		line-height: 1.8em;
	}

	h2 {
		padding: 0.2em 1em;
		border-left: 8px solid #b85800;
		background-color: #ef7300;
		color: #ffffff;
		font-weight: normal;
		margin-top: 2em;
		&:first-of-type {
			margin-top: 0;
		}
	}

	h3 {
		font-size: calc(18 * var(--px));
	}

	.wp-block-latest-posts__list.has-dates.wp-block-latest-posts {
		display: flex;
		flex-direction: column;
		gap: 3em;
		li {
			display: flex;
			flex-direction: column;
		}
		.wp-block-latest-posts__post-date {
			order: 1;
			font-size: calc(13 * var(--px));
		}
		.wp-block-latest-posts__post-title {
			order: 2;
			font-size: calc(25 * var(--px));
			margin-top: 0.5em;
			font-weight: bold;
			color: #333;
			text-decoration: none;
		}
		.wp-block-latest-posts__post-full-content {
			order: 3;
		}
	}

	.wp-block-button a {
		transition: opacity 0.3s;
		color: #fff;
		&:hover {
			opacity: 0.8;
		}
	}
	.wp-block-gallery.has-nested-images figure.wp-block-image {
		flex-grow: 0;
	}
	.store_information {
		table {
			border-collapse: separate;
			border-spacing: 0 1em;
		}
		td {
			padding: 0;
			border: none;
			vertical-align: top;
		}
		td:nth-of-type(1) {
			padding-right: 2em;
			width: 5em;
			text-align-last: justify;
			text-align: justify;
			text-justify: inter-character;
		}
	}
	.wp-block-separator {
		border-width: 1px;
		border-color: #999;
		border-style: dotted;
		margin-top: 2em;
		margin-bottom: 2em;
	}
	iframe {
		width: 100%;
	}
}
