@charset "UTF-8";

:root {
	--cdc-header-height: 50px;
	--cdc-footer-height: 60px;
	--cdc-menu-width: 72px;
}

@media screen and (max-width: 959px) {
	:root {
		--cdc-menu-width: 0;
	}
}

@media screen and (max-height: 800px) {
	:root {
		--cdc-footer-height: 40px;
	}
}

/* コンテンツ本体部 ---------------------------------------- */
.container {
	min-width: 100%;
	padding: 0;
}

.contents {
	padding: 0px;
	min-height: calc(100vh - var(--cdc-header-height) - var(--cdc-footer-height));

	/* .expand-footerをこれに合わせてフッタ直上まで自動拡大させるための設定 */
	display: flex;
	flex-direction: column;
}

.contents-nofoot {
	min-height: calc(100vh - var(--cdc-header-height));
}

.main_cnt {
	padding: 20px 20px 20px;
	width: 100%;
}

.contents>.expand-footer {
	/* フッタ直上まで自動拡大する設定 */
	position: relative;
	flex-grow: 1;
}

@media screen and (min-width: 960px) {
	.contents {
		margin-top: var(--cdc-header-height);
		margin-left: var(--cdc-menu-width);
	}
}

@media screen and (max-width: 959px) {
	.contents {
		margin-top: var(--cdc-header-height);
	}
}

/* ヘッダー ---------------------------------------- */
.header {
	background-color: var(--theme-header-background);
	width: 100%;
	height: var(--cdc-header-height);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	border-bottom: solid 1px var(--theme-header-bordercolor);
}

.header__inner {
	padding: 0 0.5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: inherit;
	position: relative;
}


/* ヘッダーのロゴ部分 */
.header__title {
	width: 120px;
}


@media screen and (min-width: 960px) {
	.header__title {
		width: 180px;
	}
}

.header__title img {
	display: block;
	/*width: 100%;*/
	width: 140px;
	height: 100%;
	margin-top: 5px;
}

/* ヘッダーのナビ部分 */
.header__nav {
	position: absolute;
	right: 0;
	left: 0;
	top: var(--cdc-header-height);
	display: inline-block;
	width: 100%;
	height: 100vh;
	transform: translateX(-100%);
	transition: ease .4s;
	padding: 20px 0;
	text-align: center;
	overflow-y: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
	color: var(--theme-accent-textcolor);
	background-color: var(--theme-accent-background);
	opacity: 0.925;
}

.header__nav::-webkit-scrollbar {
	display: none;
}

@media screen and (min-width: 960px) {
	.header__nav {
		display: none;
	}
}

.header__nav .nav_list {
	display: block;
	margin: 1em auto;
	width: 80%;
	text-align: left;
}

.header__nav section header {
	font-size: 1.2em;
}

.header__nav section header a {
	border-radius: 2px 3px;
}

.header__nav section header img {
	width: 1.2em;
	height: 1.2em;
}

.header__nav section li {
	font-size: 1.2em;
}

.header__nav section a {
	display: block;
	color: var(--theme-accent-textcolor);
	padding: 0.25em;
}

.header__nav section a:hover {
	color: var(--theme-accent-background);
	background-color: var(--theme-accent-textcolor);
}

.header__nav li {
	border: 1px solid color-mix(in srgb, var(--theme-accent-textcolor), var(--theme-accent-background) 75%);
	margin: 1px;
}

/* ハンバーガーメニュー */

.header__hamburger {
	width: 48px;
	height: 100%;

}

.hamburger {
	background-color: transparent;
	border-color: transparent;
	z-index: 9999;
}

@media screen and (min-width: 960px) {
	.hamburger {
		display: none;
	}
}

/* ハンバーガーメニューの線 */
.hamburger span {
	width: 100%;
	height: 1px;
	background-color: var(--theme-header-color);
	position: relative;
	transition: ease .4s;
	display: block;
}

.hamburger span:nth-child(1) {
	top: 0;
}

.hamburger span:nth-child(2) {
	margin: 8px 0;
}

.hamburger span:nth-child(3) {
	top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
	transform: translateX(0);
}

.hamburger.active {
	margin-top: 8px;
}

.hamburger.active span:nth-child(1) {
	top: 5px;
	transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;

}

.hamburger.active span:nth-child(3) {
	top: -13px;
	transform: rotate(-45deg);
}

/*headerログイン*/
.h_login p.h_login_name {
	color: var(--theme-header-color);
	font-size: 1em;
	font-weight: bold;
}

.h_login p.h_login_name span.login_out {
	margin-left: 0.4em;
}

.h_login p.h_login_name span.login_out:after {
	content: '';
	background-image: url(../images/logout.png);
	background-size: contain;
	background-repeat: no-repeat;
	width: 1.4em;
	height: 1.4em;
	display: inline-block;
	vertical-align: middle;
	margin-left: 2px;
}

@media screen and (max-width: 600px) {
	.h_login {
		padding-top: 4px;
	}

	.h_login p.h_login_name {
		font-size: 0.6em;
	}

	.h_login p.h_login_name span.login_out {
		margin-left: 0.1em;
	}

	.h_login p.h_login_name span.login_out:after {
		margin-left: 2px;
	}
}

@media screen and (max-width: 959px) {
	.header__inner {
		justify-content: flex-start;
	}

	.header__hamburger {
		order: 0;
	}

	.header__title {
		order: 1;
		margin-left: 0.5em;
	}

	.h_login {
		order: 2;
		margin-left: auto;
	}
}

/*サイドメニュー ---------------------------------------- */

.side_menu {
	width: var(--cdc-menu-width);
	height: 100Vh;
	padding: calc(var(--cdc-header-height)) 0 0 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
	color: var(--theme-accent-textcolor);
	background-color: var(--theme-accent-background);
	display: flex;
	flex-direction: column;
}

@media screen and (max-width: 959px) {
	.side_menu {
		display: none;
	}
}

.side_menu_scroll {
	width: 32px;
	height: 22px;
	margin: 4px auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	line-height: 20px;
	font-weight: bold;
	cursor: pointer;
}

.side_menu_scroll:disabled {
	opacity: 0.3;
	cursor: default;
}

.side_menu_scroll.is-hidden {
	display: none;
}

.side_menu_scroll_area {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.side_menu_scroll_area::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.side_menu a.side_lnk:hover .s_icon {
	opacity: 0.6;
	transition: all 0.5s;
}

.side_menu .icon {
	border-radius: 12px;
	background-color: #fff;
	height: 48px;
	width: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 5px auto;
	filter: drop-shadow(4px 4px 1px #00000080);
}

.side_menu .icon .s_icon {
	display: inline-block;
	width: 32px;
	height: 32px;
}

.side_menu .icon .s_icon img {
	width: 32px;
	width: 32px;
}

.side_menu p.side_title {
	color: #fff;
	text-align: center;
	font-size: 0.6em;
	width: 100%;
	white-space: nowrap;
}

/**/
.side_menu_cnt {
	position: relative;
	padding-top: 16px;
}

.side_menu_cnt .menu_list_bef_aft,
.side_menu_cnt .menu_list {
	position: fixed;
	border: solid 1px #fff;
	width: auto;
	min-width: 12em;
	max-width: calc(100vw - var(--cdc-menu-width) - 24px);
	height: auto;
	padding: 1em;
	top: 0;
	left: calc(var(--cdc-menu-width) - 12px);
	color: var(--theme-accent-textcolor);
	background-color: var(--theme-accent-background);
	box-sizing: border-box;
}

.side_menu_cnt .menu_list .ch_menu {
	padding: 0.4em;
	width: 100%;
}

.side_menu_cnt .menu_list_bef_aft:after,
.side_menu_cnt .menu_list_bef_aft:before {
	border: solid transparent;
	content: '';
	height: 0;
	width: 0;
	pointer-events: none;
	position: absolute;
	right: 100%;
	top: 24px;
}

.side_menu_cnt .menu_list_bef_aft:after {
	border-color: rgba(238, 238, 238, 0);
	border-top-width: 5px;
	border-bottom-width: 5px;
	border-left-width: 10px;
	border-right-width: 10px;
	margin-top: -5px;
	border-right-color: var(--theme-accent-background);
}

.side_menu_cnt .menu_list_bef_aft:before {
	border-color: rgba(63, 114, 155, 0);
	border-top-width: 7px;
	border-bottom-width: 7px;
	border-left-width: 12px;
	border-right-width: 12px;
	margin-top: -7px;
	margin-right: 0px;
	border-right-color: #fff;
}

.side_menu .side_menu_cnt .menu_list_bef_aft,
.side_menu .side_menu_cnt .menu_list {
	visibility: hidden;
	transition: opacity .3s;
	opacity: 0;
}

.side_menu .side_menu_cnt.is-open .menu_list_bef_aft,
.side_menu .side_menu_cnt.is-open .menu_list {
	display: block;
	visibility: visible;
	opacity: 1;
}

.side_menu .side_menu_cnt .menu_list_bef_aft {
	z-index: 1;
	padding: 0;
	width: 0;
	border-top-width: 0px;
	border-bottom-width: 0px;
}

.side_menu .side_menu_cnt .menu_list a {
	color: #fff;
}

.ch_submenu a {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 100%;
	margin: auto;
	padding: 1rem 5rem;
	font-weight: bold;
	border: 2px solid;
	transition: 0.5s;
	color: var(--theme-accent-textcolor);
	background-color: var(--theme-accent-background);
	border-color: var(--theme-accent-background);
}

.ch_submenu a:hover {
	opacity: initial;
	background-color: transparent;
	color: var(--theme-accent-background);
}

/*フッター =================================================== */
.footer {
	height: var(--cdc-footer-height);
	margin-top: auto;
	padding-left: var(--cdc-menu-width);
	display: flex;
	border-top: solid 1px var(--theme-header-bordercolor);
	background-color: var(--theme-header-background);
}

.footer p.footer_cpy {
	margin: auto;
	color: var(--theme-header-color);
	font-size: 1em;
}



/* メニュー用カラークラス ---------------------------------------- */

.i_color00 {
	background-color: #333;
}

.i_color01 {
	background-color: #f39800;
}

.i_color02 {
	background-color: #009944;
}

.i_color03 {
	background-color: #265e96;
}

.i_color04 {
	background-color: #DF4344;
}

.i_color05 {
	background-color: #EB6100;
}

.i_color06 {
	background-color: #8FC320;
}

.i_color07 {
	background-color: #12B5B0;
}

.i_color08 {
	background-color: #E5007F;
}

.i_color09 {
	background-color: #642485;
}

.i_color10 {
	background-color: #939393;
}

.i_color11 {
	background-color: #62A2DF;
}

.i_color12 {
	background-color: #4B4B4B;
}

.i_color13 {
	background-color: #00A0EA;
}

.i_color14 {
	background-color: #546FB4;
}

.i_color15 {
	background-color: #B28750;
}