@charset"utf-8";

.m_contents{
	padding: 10px;
}

/*目次*/

.gm_menu{
	margin: 10px 0;
	padding: 10px;
}

.gm_menu h2{
	font-size: 1.5em;
	padding: 10px 0;
}

.c_menu{
	margin: 10px auto;
	max-width: 1000px;
	display: flex;
	flex-wrap: wrap;
}

figure.c_list{
	color: #fff;
	position: relative;
	flex-flow: wrap;
	overflow: hidden;
	margin: 10px 1%;
	min-width: 150px;
	max-width: 300px;
	min-height: 100%;
	width: 31%;
	color: #000000;
	background-image: -webkit-linear-gradient(top, #ffffff 0%, #e7e7eb 60%);
	background-image: linear-gradient(to bottom, #ffffff 0%, #e7e7eb 60%);	
}

figure.c_list *{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

figure.c_list{
	border: 1px solid #333;
}

figure.c_list img{
	max-width: 30%;
	min-width: 100%;
}

figure.c_list figcaption{
	position: absolute;
	bottom: 0%;
	left: 0;
	width: 100%;
	z-index: 1;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}

figure.c_list h3,
figure.c_list p{
	margin: 0;
	width: 100%;
	line-height: 1.1;
	padding: 10px 20px;
}

figure.c_list h3{
	color: #000;
	background:rgba(230,205,227,0.8);
	position: absolute;
	bottom: 100%;
	display:block;
	font-weight: 500;
	text-transform: uppercase;
	text-align: left;
	font-size: 1.2em;
}

figure.c_list p{
	background: rgba(230,205,227,0.8);
	text-align: left;
	bottom: 0;
	font-size: 1em;
	font-weight: 400;
}

figure.c_list span{
	color: #f08300;
	margin-left: 10px;
}

figure.c_list a{
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	z-index: 1;
}

figure.c_list:hover img,
figure.c_list.hover img{
	opacity: 0.6;
}

figure.c_list:hover figcaption,
figure.c_list.hover figcaption{
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

/*メイン記事*/

.gm_memo{
	width: 100%;
	margin: 0;
}

.gm_memo p{
	font-size: 0.9em;
	color: #666;
	margin-left: 5%;
}

.gm_main{
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	margin-top: 30px;
}

.gk{
	margin: 20px 0;
	padding: 30px;
	border: 1px solid #333;
	text-align: center;
	box-shadow: rgba(0,0,0,0.7) 2px 2px 5px;
}

.gk img{
	width: 80%;
	max-width: 550px;
	margin: 10px auto;
	margin-bottom: 20px;
	border: 1px solid #333;
}

.gk a{
	text-decoration: none;
}

.gk a:hover{
	opacity: 0.7;
}

.gk h2{
	font-weight: bold;
	font-size: 1.5em;
	line-height: 1.5;
	
}

.gk h2 span{
	color: #f08300;
}

.gk h2 span:before{
	content: "\A";
	white-space: pre;
}

.c_cap{
	width: 80%;
	max-width: 800px;
	margin: 20px auto;
	text-align: left;
	border: 2px solid #eebbcb;
	background: #fef4f4;
}

.c_cap h3{
	font-weight: bold;
	font-size: 1.2em;
	background: #f2a0a1;
	padding: 5px;
	margin: 0;
}

.c_cap p{
	line-height: 1.5;
	padding: 15px;
	font-size: 1em;
	margin-bottom: 1rem;
}

.c_cap h2 span{
	color: #ea5506;
	font-weight: bold;
	font-size: 1.5em;
}

.c_cap p span{
	font-size: 1.2em;
	font-weight: bold;
}

.c_cap ul{
	margin: 5px 0;
	margin-left: 30px;
	list-style: circle;
	margin-bottom: 1rem;
}
.c_cap ul li{
	line-height: 1.3;
}

.c_cap ul li ul{
	margin-bottom: 1rem;
	list-style: square;
	line-height: 1.3;
}


/*iPhone等の端末用*/
@media (max-width: 599px){

	.mtitle h1 span:nth-child(2){
		content: none;
		content: "\A";
		white-space: pre;
	}

	.gm_memo p{
		margin-left: 0;
	}
	
	figure.c_list{
		float: none;
		margin: 10px auto;
		width: 80%;
	}
	
	.gk{
		padding: 15px;
	}
	
	.c_cap{
		width: 100%;
	}
	
	.c_cap p{
		padding: 10px;
	}
	
	.c_cap ul{
		margin-left: 20px;
	}
	.c_cap ul li{
		line-height: 1.5;
		font-size: 0.95em;
	}
	
	.c_cap ul li ul{
		line-height: 1.5;
	}
}

/*ipad等のタブレット〜PC用*/
@media (min-width: 600px) and (max-width: 1099px){
	figure.c_list{
		width: 40%;
		flex-flow: wrap;
		margin: 10px auto;
	}
	
	figure.c_list span::before{
		content: "\A";
		white-space: pre;
	}

}

/*大きい画面用*/
@media (min-width: 1100px){
			
}
