@charset "UTF-8";

/* //////////////////////////////////////////////////////////// */
/* article */
/* //////////////////////////////////////////////////////////// */


/* 組織でさがす */
#org-index {
	& > div {
		display: none;
	}
	
	& > ul {
		margin: 0;
		padding: 0;
		
		& > li {
			margin: 0;
			padding: 0;
			
			& > ul {
				margin: 0;
				padding: 0;
				list-style: none;
			}
		}
	}
}
#org-index > ul > li > ul,
#contents .category-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;

	& > li,
	& > section {
		width: 100%;
		margin-bottom: 30px;
		box-shadow: 0 4px 12px 0 rgba(0,0,0,.15),
					0 1px 3px 0 rgba(0,0,0,.3);
		border-radius: 3px;

		& h3,
		& > div {
			margin-bottom: 0;
		}
		& > div:not(.acc-btn) {
			padding: 10px 16px;
	        display: flex;
	        justify-content: flex-start;
	        align-items: stretch;
	        font-size: 1.3em;
	        background-color: rgba(0, 130, 233, .1);
	        
	        &::before {
	            content: "";
	            width: 5px;
	            margin-right: 10px;
	            display: block;
	            flex-shrink: 0;
	            background-color: var(--main-color);
	            background-color: var(--accent-color);
	            border-radius: 1em;
	        }
		}

		& ul {
			margin: 0;
			padding: 0 15px;
			list-style: none;

			& li {
				padding: 1em 0 1em .8em;
				position: relative;
				line-height: 1.4;

				.accordion:not(.active) &:nth-of-type(5) ~ * {
					display: none;
				}
			}
			& li::before {
				content: "";
				width: .4em;
				height: .4em;
				display: block;
				position: absolute;
				left: 0;
				top: 1.5em;
				border: 1px solid var(--font-color);
				border-radius: 50%;
				opacity: .3;
			}
			& li:not(:last-child)::after {
				content: "";
				width: 100%;
				height: 1px;
				display: block;
				position: absolute;
				left: 0;
				bottom: 0;
				background-color: var(--font-color);
				opacity: .1;
			}
		}

		& .acc-btn {
			margin: 0 15px;
			padding: 1em 0 1em;
			position: relative;
			text-align: center;

			&::before {
				content: "";
				width: 100%;
				height: 1px;
				display: block;
				position: absolute;
				left: 0;
				top: 0;
				background-color: var(--font-color);
				opacity: .1;
			}

			& a {
				min-width: 50%;
				padding: .8em 0;

				&::before {
					content: "";
					width: .75em;
					height: .75em;
					margin-right: .5em;
					display: inline-block;
					border-right: 2px solid var(--link-color);
					border-bottom: 2px solid var(--link-color);
					transform: translate(0, -.15em) rotate(45deg);
				}
				&::after {
					content: "もっと見る";
				}

				.active & {
					&::before {
						transform: translate(0, .15em) rotate(-135deg);
					}
					&::after {
						content: "閉じる";
					}
				}
			}
		}
	}
}
#contents .category-detail {
	& ul {
		margin: 0;
		padding: 0;
		list-style: none;

		& li {
			padding: 0;
			line-height: 1.4;

			margin-bottom: 0;
			background-color: var(--bg-color);
			border-bottom: 1px solid var(--border-color3);
			border-radius: 0;

			& a {
				padding: 15px;
				display: block;
				font-size: 1.1em;

				padding-left: 29px;
				position: relative;

				&::before {
					content: "";
					width: 4px;
					height: 4px;
					display: block;
					position: absolute;
					top: calc(50% - 2px);
					left: 17px;
					background-color: var(--font-color);
					border-radius: 100%;
				}
			}

			& p {
				padding: 15px;
				background-color: var(--htitle);
				box-shadow: 0 1px 0 0 rgba(0,0,0,.1) inset;

				display: none;
			}
		}
	}
}












/* /////////////////////////////////////////////////////////////////////////////////////// */
/* PC *//* /////////////////////////////////////////////////////////////////////////////////////// */
@media screen and (min-width: 1100px) {
	#contents {
		& #contents-body {
			& .container {
				background-image: none;

				& h3 a {
					color: var(--link-color);
				}
			}
		}
	}
	#contents-news + #contents-body {
		& .container {
			background-image: none;
		}
	}
	#org-index > ul > li > ul,
	#contents .category-list {
		& > li,
		& > section {
			width: calc(50% - 15px);
			background-color: var(--bg-color);
		}
		&.sodan > section {
			width: 100%;
		}
		& > section:first-child:last-child {
			width: 100%;
			margin-bottom: 0;
		}
	}
	#contents .category-detail ul {
		box-shadow: 0 4px 12px 0 rgba(0,0,0,.15),
					0 1px 3px 0 rgba(0,0,0,.3);
		
		& li {
			&:first-child {
				border-radius: 7px 7px 0 0;
			}
			&:last-child {
				border-radius: 0 0 7px 7px;
			}
		}
	}
}