@charset "UTF-8";

/* 八王子ワークセンター
	<.com> base.css
---------------------------------------------------- */

@layer legacy, modern;

@layer legacy {

/* basic font-size
---------------------------------------------------- */

body {
	margin: 0;
	line-height: 1.8;
	font-family: sans-serif;
	font-size: 0.9375rem;
	background-color: white;
	color: #313f0f;
}

/* link style
---------------------------------------------------- */
:any-link {
	color: #618800;
	text-decoration: underline;
}
:any-link:where(:visited) {
	color: #9fb26d;
}
:any-link:where(:hover) {
	color: #ffffff;
	text-decoration: none;
	background-color: #618800;
}
:any-link:where(:active) {
	left: 1px;
	top: 1px;
	position: relative;
}

/* basic style
---------------------------------------------------- */
ol,
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
) {
	margin-block: 0;
	font-weight: bold;
	font-size: 100%;
}

table {
	border-collapse: collapse;
}
:is(
	th,
	td,
) {
	padding: 0;
	vertical-align: baseline;
	font-weight: normal;
}

iframe {
	border-style: none;
}

small {
	font-size: 100%;
}

p {
	margin-block-start: 0;
	margin-block-end: 0.5em;
}
em,
strong {
	font-style: normal;
	font-weight: bold;
}

/* img
---------------------------------------------------- */
a img {
	border: none;
	text-decoration: none;
	vertical-align: top;
}
a:hover img {
	border: none;
}

/* container+header
---------------------------------------------------- */
.container {
	width: 927px;
	margin: 0px auto;
	text-align: left;
	height: 100%;
}
.page_header {
	background-color: #ffffff;
	background-image: url("../image/bg-header.webp");
	background-repeat: no-repeat;
	background-position: 0px 103px;
}
.header_caption_image {
	display: block;
}
#header-inner {
	position: relative;
	height: 100px;
}
.logo_container {
	padding-block-start: 22px;
	padding-inline-start: 20px;

	& :any-link {
		display: block;
	}
	& :any-link:hover {
		background-color: unset;
	}
}
#header h2 {
	height: 0;
	overflow: hidden;
}

/* フォントサイズ調整ボタン */
.font_size_adjuster {
	position: absolute;
	right: 64px;
	top: 16px;
	display: flex;
	column-gap: 0.5rem;
	list-style-type: none;

	> :where(li) {
		padding-inline: 0;
	}
	& :where(
		.to_small,
		.to_middle,
		.to_large,
	) {
		border-style: none;
		padding-block: 0;
		padding-inline: 0;
		background-color: inherit;
	}
	& :where(img) {
		display: block;
	}
}

/* #header-menu */
#header ul#header-menu {
	position: absolute;
	left: 645px;
	top: 70px;
}
#header ul#header-menu li {
	float: left;
	margin-right: 10px;
	list-style: none;
}

/* #global-nav */
#header ul#global-nav {
	clear: both;
	height: 71px;
	margin: 46px 0px 0px 98px;
	padding: 0px;
}
#header ul#global-nav li {
	list-style: none;
	float: left;
	margin: 0px 13px 0px 0px;
	padding: 0px;
}

/* .global-subnav */
.global-subnav {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	column-gap: 1rem;
	margin: 15px 0px 0px 150px;
	height: 108px;
	width: 650px;
	padding: 7px 0px 0px;
	list-style-type: none;
}
.global-subnav li {
	font-weight: bold;
	color: #999999;
}

/* invisible content */
#header ul#navskip {
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

/* contents-mainArea
---------------------------------------------------- */
.contents {
	inline-size: 928px;
	background-image: url("../image/bg-contents.webp");
	background-repeat: repeat-y;
}
.content-inner {
	--side_menu_inline_size: 135px;
	--padding_inline_start: 64px;
	--padding_inline_end: calc(176px - var(--side_menu_inline_size));

	display: grid;
	grid-template-columns: 1fr var(--side_menu_inline_size);
	column-gap: 2rem;
	justify-content: space-between;
	padding-inline-start: var(--padding_inline_start);
	padding-inline-end: var(--padding_inline_end);

	> :where(
		.main,
		.extra,
	) {
		grid-column: 1;
	}
	> :where(
		.side_navigation,
	) {
		grid-column: 2;
		grid-row: span 2;
	}
}
.main {
	padding-block-start: 8px;

	& :where(h2) {
		margin-block: 30px 10px;
	}

	& :where(.unit) {
		clear: both;
		margin: 0px 0px 30px 30px;
	}
	& :where(.unit ol) {
		margin-left: 20px;
	}
	& :where(ol) {
		list-style: decimal;
	}

	& :where(.block) {
		clear: both;
		margin-bottom: 40px;
	}
	& :where(.anchor) {
		clear: both;
		margin-bottom: 5px;
	}
}
.main_heading {
	margin-block: 0.5rem;
	text-align: center;
}

/* contents-side
---------------------------------------------------- */
/* サイドメニュー */
.side_navigation {
	--background_extra_size_y: 225px;

	padding-block-end: var(--background_extra_size_y);
	background-color: #bbbbfb;
	background-image: url("../image/bg-extra.webp"), url("../image/bg-side.webp");
	background-repeat: no-repeat, repeat-y;
	background-position-y: bottom, top;
}
:is(
	.business_list_primary,
	.business_list_secondary,
	.recruitment_list,
) {
	padding-inline: 0;
	list-style-type: none;

	& :where(img) {
		display: block;
	}
	& :any-link {
		background-color: revert;
		color: revert;
	}
	> :where(li:not(:last-of-type)) {
		margin-block: 8px;
	}
}

.business_list_secondary {
	--border_size: 12; /* 枠線サイズ (整数) */
	--border_size_px: calc(1px * var(--border_size)); /* 枠線サイズ (px) */
	--inline_size_px: 84px;

	margin-block: 1rem;
	margin-inline: auto;

	border-style: solid;
	border-width: var(--border_size_px);
	border-image-source: url("../image/submenu_border.webp");
	border-image-slice: fill var(--border_size);
	border-image-repeat: repeat;

	inline-size: var(--inline_size_px);
}


/* contents-extraArea
---------------------------------------------------- */
.extra {
	text-align: center;

	& :where(.pagetop) {
		margin-block: 60px;
		text-align: right;
	}
}
.extra_navigation_list {
	margin: 0;
	padding: 0;
	color: #666666;
}
.extra_navigation_list_item {
	display: inline;
}
/* 二番目以降のリンクに隙間とボーダーを付ける */
.extra_navigation_list_item:nth-of-type(n + 2) {
	margin-inline-start: 6px;
	border-inline-start: 1px solid #555c42;
	padding-inline-start: 8px;
}
/* CSS signature
----------------------------------------------------- */
/* サービスのインデックスページへのリンクを地味にする */
.service_index_link {
	text-decoration: none;
	color: inherit;
}

/* footer
---------------------------------------------------- */
.footer {
	clear: both;
	background: #ffffff url("../image/bg-footer.webp") no-repeat;
	height: 364px;
	margin-bottom: 35px;
}
.footer p {
	padding: 275px 0 0px;
	font-size: 0.6875rem;
	color: #555c42;
	text-align: center;
}

/* パンくず
---------------------------------------------------- */
.breadlist {
	list-style: none;
	margin: 0 0 0 15px;
	padding: 0 0px 0 34px;
	width: 500px;
}
.breadlist > li {
	font-size: 0.8125rem;
	display: inline;
	background: url("../image/icon-breadlist.gif") 0 center no-repeat;
	padding-left: 10px;
	line-height: 30px;
	margin-right: 5px;
}
.breadlist > .home {
	background: none;
	padding-left: 0;
}

/* あいリンク
---------------------------------------------------- */
#ai-link {
	text-align: right;
	margin-bottom: 15px;
}
} /* @layer legacy */
