@charset "utf-8";
/* ---------------------------------------------------------------------------------------------

　   XXXX

--------------------------------------------------------------------------------------------- */
/* #menu-project-nav>li>a:before  {
	content: "\f0da";
	font-family: FontAwesome;
	font-weight:bold;
	padding-right:4px;
} */
#menu-project-nav {
	/* background-color: #fefefe; */
	/* margin: 10px 0; */
}
#menu-project-nav>li {
	border-left: dotted 1px #978c78;
}
#menu-project-nav>li:last-child {
	border-right: dotted 1px #978c78;
}

@media only screen and ( max-width : 768px ) {
	#main {
		margin-top: 73px;
	}
}

@media only screen and ( max-width : 480px ) {
}

@media print, screen and ( min-width : 769px ) {
	.h_inner {
		padding: 20px 10px;
	}
	/*#h_logo {
		width: 18%;
	}*/
	#menu {
		width:100%;
		margin-top: 0;
		/* background: #F7F5F1; */
		/* background: #f9f9f9; */
		/* border-top: 2px solid #DB0011; */
		/* border-top: 1px solid #978c78; */
		/* border-bottom: 1px solid #978c78; */
	}
	/*#h_sns {
		width: 4%;
	}*/
	#h_sns a {
		font-size: 1.4vw;
	}
	#menu-project-nav {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	#menu-project-nav li {
		position: relative;
		flex: 1 1 auto;
		text-align: center;
	}
	#menu-project-nav li a {
		font-weight: bold;
		display: block;
		padding: 2px 0;
		font-size: 1.05em;
	}

	/* #menu-project-nav > li:before {
	content: "";
    width: 1px;
    height: 15px;
    background: #ccc;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -7.5px;
	}
	#menu-project-nav > li:last-child:after {
	content: "";
    width: 1px;
    height: 15px;
    background: #ccc;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -7.5px;
	} */
	#menu .sub-menu {

	}
	#menu #menu-project-nav li ul {
		position: absolute;
		visibility: hidden;
    	opacity: 0;
    	top: 1.3em;
    	left: 0;
    	background: #e8e2d7;
    	height: auto;
    	max-height: 90vh;
    	max-height: calc(100vh - 82px); 
    	width: 240px;
    	overflow: auto;
	}
	#main #menu #menu-project-nav li ul{
		/* background: #F7F5F1; */
		background: #f9f9f9;
	}
	#menu #menu-project-nav li:hover > ul {
	    visibility: visible;
    	transition: .5s;
    	opacity: 1;
    	top: 3em;
    	z-index: 11;
	}
	#menu li ul li {
		margin-right: 0;
		border-bottom: 1px dotted #978c78;
	}
	#menu li ul li:last-child {
		border-bottom: none;
	}
	#menu li ul li a {
		padding: 10px;
	}
	#menu li:hover > a {
		color: #1d2087;
	}
	/*#menu li li a:hover {
		color: #e50012;
	}*/
	#main {
		margin-top: 97px;
	}
	#side {
		padding-top: 20px;
	}
}

@media print, screen and ( min-width : 1100px ) {
	.h_inner {
		padding: 20px;
	}
	#h_sns a {
		font-size: 20px;
	}
}
@media print, screen and ( max-width : 1000px ) {
	#menu-project-nav li a {
		font-size: 14px;
	}
}

@media screen and ( max-width : 640px ){
	#main{
		margin-top: 108px;
	}
}

/* ---------------------------------------------------------------------------------------------

　   XXXX

--------------------------------------------------------------------------------------------- */
#catChild li {
	border: 1px solid #ccc;
}

#catChild li a {
	padding: 1em;
}
#catChild li .txt {
	flex: 1;
	padding: 0 1em;
	font-weight: bold;
	font-size: 110%;
}
#catChild li .txt .text12 {
	font-size: 12px;
	display: block;
	margin-top: 10px;
	font-weight: normal;
}
@media only screen and ( max-width : 768px ) {
	#catChild li {
		margin-top: 10px;
	}
	#catChild li:nth-child(1) {
		margin-top: 0;
	}
	#catChild li .img {
		width: 100px;
	}
}

@media only screen and ( max-width : 480px ) {
	#catChild li .img {
		width: 80px;
	}
}

@media print, screen and ( min-width : 769px ) {
	#catChild {
	}
	#catChild li {
		width: 49%;
		margin-right: 2%;
		margin-top: 15px;
	}
	#catChild li:nth-child(1),#catChild li:nth-child(2) {
		margin-top: 0;
	}
	#catChild li:nth-child(2n) {
		margin-right: 0;
	}
	#catChild li .img {
		width: 60px;
	}
}
@media print, screen and ( min-width : 900px ) {
	#catChild li .img {
		width: 100px;
	}
}
.post p { word-break: normal !important; }
