@charset "utf-8";

@import url("theme.css");

body.haritokami-shell .haritokami-site-header *,
body.haritokami-shell .haritokami-site-footer *,
body.haritokami-shell #menubar-overlay,
body.haritokami-shell #menubar_hdr,
body.haritokami-shell .pagetop,
body.haritokami-shell .haritokami-mobile-floating-buttons,
body.haritokami-shell .pr {
	box-sizing: border-box;
}

body.haritokami-shell .haritokami-site-header img,
body.haritokami-shell .haritokami-site-footer img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

body.haritokami-shell,
body.haritokami-shell #container,
body.haritokami-shell #content,
body.haritokami-shell #content-in,
body.haritokami-shell #main,
body.haritokami-shell .article,
body.haritokami-shell .entry-content,
body.haritokami-shell .sidebar {
	background: #fff;
}

body.haritokami-shell .article .entry-content h2 {
	background: var(--primary-color) !important;
	background-image: none !important;
	color: var(--primary-inverse-color) !important;
	border: 0 !important;
	border-radius: 6px;
	box-shadow: none !important;
	line-height: 1.4;
	padding: 0.8em 1em;
}

body.haritokami-shell .article .entry-content h2::before,
body.haritokami-shell .article .entry-content h2::after {
	display: none !important;
}

body.haritokami-shell .article .entry-content h3 {
	color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
}

body.haritokami-shell .article .entry-content h3::before,
body.haritokami-shell .article .entry-content h3::after {
	border-color: var(--primary-color) !important;
}

body.haritokami-shell .article .entry-content .openclose {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin-bottom: 1.8em;
}

body.haritokami-shell .article .entry-content .openclose .faq {
	background: #fff;
	color: var(--bg-inverse-color);
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	margin: 0;
	overflow: hidden;
}

body.haritokami-shell .article .entry-content .openclose .q {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 1rem 1.5rem;
	cursor: pointer;
	transition: background 0.2s;
	user-select: none;
}

body.haritokami-shell .article .entry-content .openclose .q:hover {
	background: var(--light-color);
}

body.haritokami-shell .article .entry-content .openclose .q-mark,
body.haritokami-shell .article .entry-content .openclose .a-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-family: var(--accent-font), var(--base-font);
	font-weight: bold;
	line-height: 1;
}

body.haritokami-shell .article .entry-content .openclose .q-mark {
	background: var(--primary-color);
	color: var(--primary-inverse-color);
}

body.haritokami-shell .article .entry-content .openclose .a-mark {
	background: var(--accent-color);
	color: var(--accent-inverse-color);
}

body.haritokami-shell .article .entry-content .openclose .q-text {
	flex: 1;
	font-weight: bold;
	line-height: 1.6;
}

body.haritokami-shell .article .entry-content .openclose .toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	transition: transform 0.3s;
}

body.haritokami-shell .article .entry-content .openclose .faq.open .toggle-icon {
	transform: rotate(180deg);
}

body.haritokami-shell .article .entry-content .openclose .a {
	display: none;
	margin: 0;
	padding: 0 1.5rem 1.2rem;
}

body.haritokami-shell .article .entry-content .openclose .a-inner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--bg-border-color);
}

body.haritokami-shell .article .entry-content .openclose .a-text {
	flex: 1;
	line-height: 1.8;
	padding-top: 0.3rem;
}

@media (max-width: 600px) {
	body.haritokami-shell .article .entry-content .openclose .q {
		gap: 0.8rem;
		padding: 0.8rem 1rem;
	}

	body.haritokami-shell .article .entry-content .openclose .q-mark,
	body.haritokami-shell .article .entry-content .openclose .a-mark {
		width: 30px;
		height: 30px;
	}

	body.haritokami-shell .article .entry-content .openclose .a {
		padding: 0 1rem 1rem;
	}
}

body.haritokami-shell .haritokami-site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	height: 80px;
	padding-inline: var(--content-space-s);
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	font-family: var(--base-font);
	line-height: 2;
	position: static;
	top: auto;
	z-index: 100;
}

body.haritokami-shell.large-screen .haritokami-site-header {
	position: static;
	top: auto;
	z-index: 100;
}

@media (min-width: 900px) {
	body.haritokami-shell .haritokami-site-header {
		position: static;
		top: auto;
		z-index: 100;
	}
}

@media (max-width: 899px) {
	body.haritokami-shell .haritokami-site-header {
		position: sticky;
		top: 0;
		z-index: 100;
	}
}

body.admin-bar.haritokami-shell .haritokami-site-header {
	top: auto;
}

@media (max-width: 899px) {
	body.admin-bar.haritokami-shell .haritokami-site-header {
		top: 32px;
	}
}

@media (max-width: 782px) {
	body.admin-bar.haritokami-shell .haritokami-site-header {
		top: 46px;
	}
}

body.haritokami-shell .haritokami-site-header .logo {
	margin: 0;
	flex-shrink: 0;
}

body.haritokami-shell .haritokami-site-header .logo img {
	display: block;
	width: 220px;
}

body.haritokami-shell #menubar nav,
body.haritokami-shell #menubar ul,
body.haritokami-shell #menubar li {
	margin: 0;
	padding: 0;
}

body.haritokami-shell #menubar nav ul {
	list-style: none;
}

body.haritokami-shell.large-screen #menubar > nav > ul {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.8rem;
}

@media (min-width: 900px) {
	body.haritokami-shell #menubar > nav > ul {
		display: flex;
		align-items: center;
		gap: 1.5rem;
		font-size: 0.8rem;
	}

	body.haritokami-shell #menubar li a {
		display: block;
		text-decoration: none;
	}

	body.haritokami-shell #menubar .sh {
		display: none;
	}
}

body.haritokami-shell #menubar a {
	color: inherit;
	transition: 0.3s;
}

body.haritokami-shell #menubar a:hover {
	filter: brightness(1.1);
	text-decoration: none;
}

body.haritokami-shell #menubar ul ul {
	display: none;
}

body.haritokami-shell.large-screen #menubar ul ul {
	position: absolute;
	z-index: 100;
	animation: haritokami-opa1 0.5s 0.1s both;
}

body.haritokami-shell.large-screen #menubar ul ul a {
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	padding: 0.2rem 1rem;
	border-radius: 100px;
	margin-top: 5px;
	border: 1px solid var(--bg-border-color);
}

body.haritokami-shell.small-screen #menubar {
	animation: haritokami-menu-in 0.2s both;
	position: fixed;
	overflow: auto;
	z-index: 100;
	right: 0;
	top: 0;
	width: 50%;
	height: 100%;
	padding: 100px var(--content-space-l) 50px;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	display: none;
}

@media (max-width: 899px) {
	body.haritokami-shell #menubar {
		animation: haritokami-menu-in 0.2s both;
		position: fixed;
		overflow: auto;
		z-index: 100;
		right: 0;
		top: 0;
		width: 50%;
		height: 100%;
		padding: 100px var(--content-space-l) 50px;
		background: var(--primary-color);
		color: var(--primary-inverse-color);
		display: none;
	}
	body.haritokami-shell #menubar_hdr {
		display: flex;
	}
}

@media (max-width: 700px) {
	body.haritokami-shell.small-screen #menubar {
		width: 100%;
	}
	body.haritokami-shell #menubar {
		width: 100%;
	}
}

body.haritokami-shell.small-screen #menubar a {
	display: block;
	text-decoration: none;
	margin-bottom: 1rem;
	padding: 1rem 2rem;
	border-radius: 5px;
	background: #fff;
	color: #333;
}

body.haritokami-shell.small-screen #menubar .btn a {
	background: var(--accent-color);
	color: var(--accent-inverse-color);
	padding: 1rem 2rem !important;
}

body.haritokami-shell.small-screen #menubar ul ul a {
	margin-left: 2rem;
	padding: 0.5rem 1.5rem;
}

body.haritokami-shell a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";
	margin-right: 1em;
	font-size: 0.7em;
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}

body.haritokami-shell #menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
}

body.haritokami-shell.noscroll {
	overflow: hidden;
}

body.haritokami-shell #menubar_hdr {
	display: none;
	animation: haritokami-opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0;
	top: 0;
	width: 70px;
	height: 70px;
	border-bottom-left-radius: 10px;
}

body.admin-bar.haritokami-shell #menubar_hdr {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.haritokami-shell #menubar_hdr {
		top: 46px;
	}
}

body.haritokami-shell #menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 1px;
	background: var(--bg-inverse-color);
}

body.haritokami-shell #menubar_hdr.ham {
	background: #fff;
}

body.haritokami-shell #menubar_hdr.ham span {
	background: #333;
}

body.haritokami-shell #menubar_hdr span:nth-of-type(1) {
	top: 24px;
}

body.haritokami-shell #menubar_hdr span:nth-of-type(2) {
	top: 34px;
}

body.haritokami-shell #menubar_hdr span:nth-of-type(3) {
	top: 44px;
}

body.haritokami-shell #menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}

body.haritokami-shell #menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}

body.haritokami-shell #menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

body.haritokami-shell.small-screen #menubar_hdr {
	display: flex;
}

body.haritokami-shell .haritokami-site-footer {
	border-top: 1px solid var(--bg-border-color);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	font-size: 0.8rem;
	padding: var(--content-space-s);
	background: var(--bg-color);
	color: var(--bg-inverse-color);
	font-family: var(--base-font);
	line-height: 2;
}

@media (min-width: 700px) {
	body.haritokami-shell .haritokami-site-footer {
		grid-template-columns: minmax(230px, 1fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

body.haritokami-shell .haritokami-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.haritokami-shell .haritokami-site-footer p {
	margin: 0;
}

body.haritokami-shell .haritokami-site-footer a {
	color: inherit;
	text-decoration: none;
	transition: 0.3s;
}

body.haritokami-shell .haritokami-site-footer a:hover {
	filter: brightness(1.1);
	text-decoration: none;
}

body.haritokami-shell .haritokami-site-footer .logo {
	max-width: 300px;
	margin: 0;
}

body.haritokami-shell .haritokami-site-footer .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

body.haritokami-shell .haritokami-site-footer .menu .title {
	font-weight: bold;
	margin-bottom: 0.5em;
}

body.haritokami-shell .haritokami-site-footer .contact {
	container-type: inline-size;
	background: var(--light-color);
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
}

body.haritokami-shell .haritokami-site-footer h4 {
	font-size: 0.8rem;
	margin: 0 0 0.5rem;
	color: var(--primary-color);
}

body.haritokami-shell .haritokami-site-footer .btn-box {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem;
}

body.haritokami-shell .haritokami-site-footer .btn-box :first-child {
	grid-column: 1 / -1;
}

body.haritokami-shell .haritokami-site-footer .btn-box .btn a {
	display: block;
}

@container (max-width: 300px) {
	body.haritokami-shell .haritokami-site-footer .btn-box {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.haritokami-shell .haritokami-site-footer small {
	text-align: center;
	grid-column: 1 / -1;
	font-size: 0.8rem;
}

body.haritokami-shell .large {
	font-size: 2em;
	letter-spacing: 0.1em;
}

body.haritokami-shell .haritokami-site-header .btn,
body.haritokami-shell .haritokami-site-footer .btn {
	background: transparent !important;
	color: inherit !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

body.haritokami-shell .haritokami-site-header .btn a,
body.haritokami-shell .haritokami-site-footer .btn a {
	display: inline-block;
	text-decoration: none;
	background: var(--primary-color);
	color: var(--primary-inverse-color);
	border: 1px solid var(--primary-color);
	padding: 0.4rem 2rem !important;
	border-radius: 999px;
}

body.haritokami-shell .haritokami-site-header .btn a:link,
body.haritokami-shell .haritokami-site-header .btn a:visited,
body.haritokami-shell .haritokami-site-header .btn a:hover,
body.haritokami-shell .haritokami-site-header .btn a:active {
	color: #fff !important;
}

body.haritokami-shell .haritokami-site-header .btn.inverse a,
body.haritokami-shell .haritokami-site-footer .btn.inverse a {
	background: transparent;
	color: var(--primary-color);
}

body.haritokami-shell .pr a {
	text-decoration: none;
	display: block;
	background: rgba(0, 0, 0, 0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}

body.haritokami-shell .pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	margin-right: 0.5em;
}

body.haritokami-shell .pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 99;
	animation: haritokami-opa1 1s 0.4s both;
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0, 0, 0, 0.2);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}

body.haritokami-shell .haritokami-mobile-floating-buttons {
	display: none;
}

@media (max-width: 899px) {
	body.haritokami-shell {
		padding-bottom: calc(88px + env(safe-area-inset-bottom));
	}

	body.haritokami-shell .haritokami-mobile-floating-buttons {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		z-index: 120;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 8px;
	}

	body.haritokami-shell .haritokami-mobile-floating-button {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.45em;
		min-height: 56px;
		padding: 0.75rem 0.5rem;
		border-radius: 999px;
		color: #fff;
		font-weight: 700;
		line-height: 1.2;
		text-decoration: none;
		box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	}

	body.haritokami-shell .haritokami-mobile-floating-button-reserve {
		background: var(--accent-color);
		color: var(--accent-inverse-color);
	}

	body.haritokami-shell .haritokami-mobile-floating-button-line {
		background: #06c755;
		color: #fff;
	}

	body.haritokami-shell .haritokami-mobile-floating-button i {
		font-size: 1.15em;
	}

	body.haritokami-shell .pagetop a {
		bottom: calc(88px + env(safe-area-inset-bottom));
	}
}

@keyframes haritokami-opa1 {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes haritokami-menu-in {
	0% { right: -200px; }
	100% { right: 0; }
}
