html {
	position: relative;
	min-width: 1280px;
	width: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 190px;
	/* background: #faf9f6; */
	background: #faf9f6 url('http://central-hanamaki.com/teshiromorihoikuen/wp-content/uploads/2026/10/bg_html.webp') repeat top center;
}

body {
	color: #65524d;
	width: 100%;
	font-family: "kozuka-gothic-pro", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-justify: inter-ideograph;
	font-size: 16px;
	font-feature-settings: 'palt';
	padding: 210px 0 0; 
}

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

a {
	color: #245002;
}

a:hover {
	transition: 0.25s;
	color: #245002;
}

a:hover img {
	opacity: 0.7;
	transition: 0.25s;
}

details summary {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "tk-takumi-yururi-font-mini", sans-serif;
	font-weight: 800;
	font-style: normal;
}

header {
	width: 100%;
	padding: 0 70px 0 0;
	height: 170px;
	min-width: 1200px;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
}

header.bg_white {
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(5px) brightness(110%);
	backdrop-filter: blur(5px) brightness(110%);
}

header img {
	display: block;
}

#header_inner {
	max-width: 1420px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
}

header h1 {
	height: 100%;
	box-sizing: border-box;
	position: relative;
	z-index: 10010;
	top: 20px;
}

header h1 a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 19px;
	text-decoration: none;
	font-family: "tk-takumi-yururi-font-mini", sans-serif;
	font-weight: 800;
	font-style: normal;
	text-align: center;
	white-space: nowrap;
	letter-spacing: -0.1em;
	line-height: 1em;
}

header h1 a img {
	display: block;
	width: 100%;
	height: auto;
}

#hnav {
	display: flex;
	gap: 25px;
	align-items: center;
}

#hnav ul {
	display: flex;
	justify-content: flex-end;
	gap: 35px;
	padding: 0 30px 0 0;
}

#hnav ul li {}

#hnav ul li a {
	color: #222222;
	font-weight: 700;
	text-decoration: none;
}

#hnav ul li a:hover {
	color: #377506;
}

#header_tel {
	color: #377506;
	font-size: 36px;
	font-family: "tk-takumi-yururi-font-mini", sans-serif;
	font-weight: 800;
	font-style: normal;
	display: flex;
	gap: 5px;
	align-items: center;
}

#header_contact {
	display: flex;
	width: 130px;
	height: 40px;
	border-radius: 5px;
	background: #B0CC7B;
	color: #fff;
	text-decoration: none;
	gap: 5px;
	justify-content: center;
	align-items: center;
	font-size: 18px;
}

#header_contact:hover {
	background: #377506;
}

#gnav {
	max-width: 1420px;
	margin: 0 auto;
}

#gnav ul {
	display: flex;
	justify-content: flex-end;
}

#gnav ul li {
	border-left: 4px dotted #333333;
}

#gnav ul li:last-child {
	border-right: 4px dotted #333333;
}

#gnav ul a {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-decoration: none;
	width: 256px;
	height: 100px;
	color: #245002;
	font-weight: 700;
}
#gnav > ul > li {
	position: relative;
}
#gnav ul.childnav {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
	z-index: 100;
}

#gnav > ul > li:hover .childnav,
#gnav > ul > li:focus-within .childnav {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#gnav ul.childnav li {
	border: none;
	border-bottom: 1px solid #ddd;
}

#gnav ul.childnav li:last-child {
	border-right: none;
	border-bottom: none;
}

#gnav ul.childnav li a {
	display: block;
	width: auto;
	height: auto;
	padding: 15px 20px;
	font-size: 14px;
	color: #245002;
	text-align: left;
}

#nav1 ul.childnav li a:hover {
	background: #91b761;
	color: #fff;
}
#nav2 ul.childnav li a:hover {
	background: #ecb9c0;
	color: #fff;
}
#nav3 ul.childnav li a:hover {
	background: #e6b683;
	color: #fff;
}
#nav4 ul.childnav li a:hover {
	background: #a2b6df;
	color: #fff;
}

.eng {
	color: #798173;
	font-size: 14px;
	display: block;
	padding: 5px 0 0;
}

#gnav ul a img {
	display: block;
	margin: 0 auto 10px;
}

#nav1 a:hover {
	background: #91b761;
	color: #fff;
}
#nav2 a:hover {
	background: #ecb9c0;
	color: #fff;
}
#nav3 a:hover {
	background: #e6b683;
	color: #fff;
}
#nav4 a:hover {
	background: #a2b6df;
	color: #fff;
}

#gnav ul a:hover .eng {
	color: #fff;
}

#gnav ul a:hover img {
	opacity: 1;
	filter: brightness(0) invert(1);
}

main {
	line-height: 1.8em;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 0 0 405px;
}

footer:before {
	content: "";
	display: block;
	width: 100%;
	height: 280px;
	position: absolute;
	top: -280px;
	left: 50%;
	transform: translateX(-50%);
	background: url('http://central-hanamaki.com/teshiromorihoikuen/wp-content/uploads/2026/10/footer.webp') no-repeat top center;
}

#footer_banner {
	display: flex;
	gap: 40px;
	justify-content: center;
	padding: 40px 0;
	list-style: none;
}

#footer_banner li {
	width: 488px;
}

#footer_banner li img {
	display: block;
}

footer {
	margin: 0 auto;
	position: relative;
}

#footer_wrap {
	padding: 40px 0 0;
	background: url('../images/common/bg_footer.png') no-repeat top center;
}

#footer_inner {
	margin: 0 auto;
	display: flex;
	max-width: 1060px;
	justify-content: space-between;
	align-items: center;
}

#footer_inner address {
	flex: none;
	font-style: normal;
	line-height: 1.2em;
}

#footer_inner address h3 {
	margin: 0 0 10px;
}

#footer_inner address h3 a img:hover {
	opacity: 1;
}

#fnav {
	width: 650px;
}

#fnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	color: #245002;
}

#fnav ul li {
	width: calc((100% - 96px) / 5);
}

#fnav ul li a {
	display: block;
	color: #245002;
	font-size: 14px;
	line-height: 28px;
	border: 1px solid #245002;
	border-radius: 15px;
	text-decoration: none;
	background: #fff;
	text-align: center;
	white-space: nowrap;
}

#fnav ul li:nth-last-child(-n+2) {
	width: auto !important;
}

#fnav ul li:nth-last-child(-n+2) a {
	padding: 0 10px;
}

#fnav ul li a:hover {
	background: #245002;
	color: #fff;
}

.gotop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 10000;
}

.gotop a {
	border: 1px solid #245002;
	background: #fff;
	border-radius: 5px;
	font-size: 14px;
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 5px;
}

.gotop a:hover {
	color: #fff;
	background: #245002;
}

#copyright {
	width: 100%;
	line-height: 70px;
	color: #245002;
	font-size: 16px;
	text-align: center;
}

.sp_only {
	display: none !important;
}