@charset "utf-8";
/* このファイルはUTF-8のBOMなし(UTF-8N)で保存しています */

/**
 * CSS Information
 * ===============================================================
 *
 * Site URL:  http://
 * File name: layout.css
 * Summary:   レイアウト用スタイル
 * Author:    CrEa Inc.
 *
 * -----------------------------------
 *
 * TOC:
 *     =1    structures
 *       =1-1    header
 *       =1-2    navigation
 *       =1-3    contents
 *                 - main image
 *                 - topic path
 *                 - main contents
 *                 - navigation
 *       =1-3    footer
 *     =2    breakpoint checker (for javascript)
 *
 * ===============================================================
*/



/** =1
 * ========================================
 * structures
 * ========================================
 */

.l-container {
	position: relative;
	height: auto;
	min-height: 100%;
	width: 100%;
	margin: 0 auto;
	background: #f2f2e9;
}

.l-inner {
	margin:0 auto;
	max-width:960px;
	width:100%;
}





	/** =1-1
	 * header
	 * ----------------------------------
	 */

	.l-header {
		width: 100%;
		background: #FFFFFF;
		position: relative;
		z-index: 10;
	}
	.l-header .l-inner {
		width:96%;
	}

		/* -- >>> styles for narrow layout ----- */
		@media screen and (max-width: 639px) {
			.l-header {
				height: 60px;
			}
		}
		/* -- >>> styles for narrow layout ----- */
		@media screen and (min-width: 640px) and (max-width: 769px) {
			.l-header {
				height: 80px;
			}
		}
		/* -- >>> styles for wide layout ----- */
		@media screen and (min-width: 770px) {
			.l-header {
				height: 125px;
				border-bottom: 5px solid #f2f2e9;
			}
		}


	/** =1-2
	 * navigation
	 * ----------------------------------
	 */

	.l-nav {
		width: 100%;
		background: rgba(0,51,153,0.65);
		position: relative;
		z-index: 9;
		background: -moz-linear-gradient(top, #65b226 0%, #4ba500 100%);
		background: -webkit-linear-gradient(top, #65b226 0%, #4ba500 100%);
		background: linear-gradient(to bottom, #65b226 0%, #4ba500 100%);
	}
	.navList {
		margin:0 auto;
		width: 100%;
		max-width:960px;
	}
		/* -- >>> styles for narrow layout ----- */
		@media screen and (max-width: 769px) {
			.l-nav {
				display: none;
			}
			.navList {
				width: 100%;
			}
		}
		/* -- >>> styles for wide layout ----- */
		@media screen and (min-width: 770px) {
			.l-nav {
				display: block !important;
			}
		}




	/** =1-3
	 * contents
	 * ----------------------------------
	 */

	.l-contents {
	}
	.l-inner.contents {
		width: 98%;
	}

		/* -- >>> styles for narrow layout ----- */
		@media screen and (max-width: 769px) {
			.l-contents {
			}
			.l-inner.contents {
				width: 100%;
			}
		}


		/* [ main image ]
		------------------------------ */
		.main_image {
			text-align: center;
		}

			/* -- >>> styles for narrow layout ----- */
			@media screen and (max-width: 769px) {
				.main_image {
				}
			}


		/* [ topic path ]
		------------------------------ */
		.topic_path {
			margin: 0 auto 60px;
			padding: 12px 0 10px;
			width: 100%;
			background: #FFFFFF;
		}

			/* -- >>> styles for narrow layout ----- */
			@media screen and (max-width: 769px) {
				.topic_path {
					margin: 0 auto 40px;
				}
			}


		/* [ main contents ]
		------------------------------ */
		.l-main {
			margin:0 auto;
			max-width:960px;
			width:96%;
		}
		.l-article {
			margin-bottom: 80px;
		}
		.l-section {
			margin-bottom: 40px;
		}
			/* -- >>> styles for narrow layout ----- */
			@media screen and (max-width: 769px) {
				.l-main {
					margin:0 auto 100px;
				}
				.l-article {
					margin-bottom: 50px;
				}
				.l-section {
					margin-bottom: 30px;
				}
			}


	/** =1-3
	 * footer
	 * ----------------------------------
	 */

	.l-footer {
		width: 100%;
		background: #FFFFFF;
	}



/** =2
 * ========================================
 * breakpoint checker (for javascript)
 * ========================================
 */

#js-breakpointChecker {
	position: absolute;
	z-index: -100;
	width: 0;
	height: 0;
	overflow: hidden;
}

#js-breakpointChecker div {
	display: none;
}

	/* -- >>> styles for narrow layout ----- */
	@media screen and (max-width: 769px) {
		#js-breakpointChecker .narrow {
			display: block;
		}
	}

	/* -- >>> styles for wide layout ----- */
	@media screen and (min-width: 770px) {
		#js-breakpointChecker .wide {
			display: block;
		}
	}
