:root {
	--wide-width: 1200px;
	--thin-width: 900px;
}

html {
	margin-top: 0px !important;
}

@media screen and (max-width: 980px) {
	.br-pc {
		display: block !important;
	}

	.br-sp {
		display: block !important;
	}
}

.br-pc {
	display: none;
}

.br-sp {
	display: none;
}

body, html {
	margin: 0;
	padding: 0;
	width: 100%;
	font-family: hiragino-kaku-gothic-pron, sans-serif;
	font-weight: 300;
	font-style: normal;
}

.icon {
	margin-right: 8px;
	font-size: 18px;
}

h1 {
	font-size: 4vw;
	color: #fff;
	margin-bottom: 40px;
	text-align: left;
	font-family: hiragino-mincho-pron, sans-serif;
	font-weight: 600;
	font-style: normal;
}

/* --- ボタン共通 --- */
.web {
	background-color: #fff;
	color: #68B4B3;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.3s ease;
	text-decoration: none;
}

/* ホバー時に色反転 */
.web:hover {
	background-color: #fff;
	color: #68b4b3;
	border: 1px solid #96D0C0;
}

.recruit {
	font-size: 1vw !important;
	width: 12% !important;
}

/* --- header --- */
.header {
	position: absolute;
	top: 30px;
	left: 30px;
}

#header .logo-box {
	display: block;
	z-index: 1000;
}

.logo {
	font-size: 24px;
	font-weight: bold;
}

.logo-sp {
	display: none;
}

.logo-pc {
	display: block;
}

.site-header {
	position: relative;
	left: 0;
	z-index: 10;
	max-width: -webkit-fill-available;
	width: 100%;
}

.logo-box {
	width: 160px;
	height: auto;
	position: absolute;
}

.site-logo {
	width: 100%;
	height: auto;
}

/* --- Navigation --- */
.nav-links {
	background: #fff;
	padding: 0px;
	position: relative;
}

.nav-links ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: baseline;
	position: relative;
}

.nav-links li {
	margin: 0 24px;
	padding: 4vh 0px;
	color: #646868;
	font-family: 'hiragino-kaku-gothic-pron', sans-serif;
	font-weight: 600;
	font-style: normal;
}
.nav-links a {
    text-decoration: none;
    gap: 16px;
    color: #646868;
    border: 1px solid #ffffff;
    font-size: 14px;
    font-family: 'hiragino-kaku-gothic-pron', sans-serif;
    font-weight: 600;
    font-style: normal;
}


.organ-item-origin {
	gap: 0 !important;
}

.nav-links a:hover {
	border: 1px solid #A5D7CA;
	transition: all 0.3s ease;
}

/* --- サブメニュー全体をホバー対象に含める --- */
.has-submenu:hover .header-organ-submenu,
.header-organ-submenu:hover {
	display: block;
	opacity: 1;
	visibility: visible;
}

/* グリッドレイアウト */
.header-organ-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0 auto;
	padding: 10px 22vw;
	text-align: center;
	justify-content: center;
}

.header-search-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0 auto;
	padding: 10px 25vw;
	text-align: center;
	justify-content: center;
}

/* サブメニュー本体 */
.header-organ-submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #eaf7f5;
	z-index: 999;
	padding: 24px 0;
	min-width: 100%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.header-search-submenu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #eaf7f5;
	z-index: 999;
	padding: 24px 0;
	min-width: 100%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: opacity 0.1s ease, visibility 0.1s ease;
}

/* メニュー項目 */
.header-organ-item {
	background: #fff;
	border-radius: 8px;
	padding: 40px 8px 25px;
	text-decoration: none;
	transition: transform 0.1s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #333;
}

.header-organ-item img {
	width: 45px;
	height: 40px;
	margin: 10px 0 10px;
	transition: transform 0.3s ease;
}

.header-organ-item:hover img {
	transform: scale(1.2);
}

.header-organ-item span {
	display: block;
	font-size: 14px;
	line-height: 1.4;
}

.global-nav li {
	display: inline-block;
	color: #646868;
	cursor: pointer;
	transition: color 0.1s ease;
	font-size: 0.8vw;
}

.global-nav li:hover::after {
	width: 100%;
}

/* --- ハンバーガーメニュー（初期非表示）--- */
.hamburger {
	display: none;
}

/* --- PCナビゲーションリンク --- */
.nav-links-pc {
	display: flex;
}

.mobile-nav-sp {
	display: none;
}

@media screen and (max-width: 980px) {
	#header .logo-box {
		display: block;
		height: auto;
	}

	.site-logo {
		width: 100%;
		height: inherit;
	}

	.logo-sp {
		display: block;
	}

	.logo-pc {
		display: none;
	}

	.nav-links {
		display: none;
	}

	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 35px;
		height: 25px;
		cursor: pointer;
		position: absolute;
		top: 20px;
		right: 20px;
		z-index: 1100;
		position: fixed;
	}

	.hamburger span {
		height: 4px;
		background-color: #fff;
		border-radius: 2px;
		display: block;
		transition: all 0.2s ease;
		transform-origin: center;
	}

	.hamburger.active span:nth-child(1) {
		transform: rotate(45deg) translate(25px, 25px);
		background-color: #646868;
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
		background-color: #646868;
	}

	.hamburger.active span:nth-child(3) {
		transform: rotate(-45deg) translate(-11px, 9px);
		background-color: #646868;
	}

    .hamburger.active {
        top: -8px;
        right: 20px;
    }
	.mobile-nav-sp {
		display: block;
		width: -webkit-fill-available;
		height: 100%;
		background-color: #ecf8fd;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1000;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.mobile-nav-sp.active {
		opacity: 1;
		visibility: visible;
	}

	.mobile-nav-inner-sp {
		padding: 50px 36px;
		background: #ECF8FD;
	}

	.mobile-navin-logo {
		width: 100%;
		background:
			#fff;
	}

	.mobile-nav-logo-sp {
		width: 40%;
	}

	.mobile-nav-menu-sp {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.menu-section-sp {
		background-color: #fff;
		border:
			1px solid #d9e7e7;
		border-radius:
			8px;
		margin-bottom: 5px;
		overflow:
			hidden;
	}

	.accordion-body-sp {
		display: none;
		background-color: #fff;
		padding: 10px 16px;
		font-size: 27px;
		color: #646868;
		font-weight: 600;
		padding: 15px 70px;
	}

	/* 表示切替用 */
	.accordion-body-sp.open {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 12px 16px 20px;
		background: #fff;
	}

	.accordion-icon-sp {
		width: 30px;
		height: 30px;
		position: relative;
		display: block;
	}

	.accordion-icon-sp .line-sp {
		position: absolute;
		background-color: #696d6d;
		border-radius:
			1px;
		display: block;
	}

	.accordion-icon-sp .vertical-sp {
		width: 2px;
		height: 100%;
		left: 50%;
		top: 0;
		transform: translateX(-50%);
	}

	.accordion-icon-sp .horizontal-sp {
		height: 2px;
		width: 100%;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}

	.accordion-icon-sp.active .vertical-sp {
		display: none;
	}

	.tel-text-sp {
		font-size: 14px;
		color: #444;
	}

	.tel-number-sp {
		font-weight: bold;
		color: #00a2a8;
	}

	.btn-sp.web-btn-sp {
		background-color: #fff;
		border: 1px solid #00a2a8;
		border-radius: 8px;
		padding: 8px 12px;
		font-size: 14px;
		font-weight: bold;
		display: flex;
		align-items: center;
		color: #00a2a8;
		text-decoration: none;
	}

	.btn-sp .icon-sp {
		margin-right: 6px;
	}

	.btn-sp .icon-sp img {
		width: 18px;
		height: 18px;
	}

	.organ-grid-menu-sp {
		display: none;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding: 16px;
		background: #ECF8FD;
	}

	.organ-grid-menu-sp {
		display: none;
	}

	.organ-item-sp {
		background-color: #fff;
		border-radius: 8px;
		padding: 36px 12px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
		text-align: center;
		color: #646868;
		line-height: 1.6;
		font-family: 'hiragino-kaku-gothic-pron', sans-serif;
		font-weight: 400;
	}

	.organ-item-sp-origin {
		margin: 0 0 10px;
	}

	.organ-item-sp p {
      	font-size: 3.2vw;
        margin: 0 0 28px;
        color: #646868;
        font-weight: 600;
    }

	.organ-item-sp img {
		width: 70px;
		height: auto;
		display: block;
		margin: 0;
	}

	.accordion-header-sp {
		font-size: 22px;
		padding:
			16px 30px;
		font-weight: 600;
		color: #646868;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.accordion-icon-sp .line-sp {
		position: absolute;
		background-color: #696d6d;
		border-radius:
			1px;
		display: block;
	}

	.contact-sp {
		position: absolute;
		right: 0;
		text-align: right;
		display: flex;
		gap: 5px;
		width: 100%;
		background: #95D0C0;
		align-items: center;
		justify-content: center;
		bottom: auto;
	}

	.contact-sp p {
		background: #fff;
		padding: 24px 20px;
		border-radius: 8px;
		color: #6f7373;
		font-size: 38px;
	}

	.contact-sp a {
		text-decoration: none;
		color: #68b4b3;
		font-size: 40px;
		font-family: roboto, sans-serif;
		font-weight: 700;
		font-style: normal;
	}

	.contact-sp>.buttons-sp {
		display: flex;
		gap: 5px;
		justify-content: center;
		align-items: center;
		margin: 0;
	}

	.buttons-sp a {
		display: flex;
		gap: 10px;
		justify-content: flex-end;
		font-size: 14px;
		font-family: hiragino-kaku-gothic-pron, sans-serif;
		font-weight: 600;
		font-style: normal;
		padding: 52px 20px;
	}

	.buttons-sp a {
		display: flex;
		gap: 10px;
		justify-content: flex-end;
		font-size: 40px !important;
		font-family: hiragino-kaku-gothic-pron, sans-serif;
		font-weight: 600;
		padding: 54px 40px;
		font-style: normal;
	}

	.buttons-sp .btn .icon {
		width: 50px;
	}

	.buttons-sp .btn .icon img {
		width: 100%;
	}

	.recruit {
		display: none !important;
	}
}

/* ---END header --- */