﻿@charset "UTF-8";

/*
 * ================================================
 *
 * [customize]
 *
 * ================================================
 */

/**
 * heading
 */
h5 {
	width: 100%;
	border-bottom: 1px solid #999;
	font-size: 16px;
	font-weight: bold;
	padding-bottom: 5px;
	margin: 13px 0 8px;
}

/**
 * module
 */
.customExampleWrap {
	width: 100%;
	margin: 20px 0;
}

.customExampleImage li {
	position: relative;
	display: block;
	width: 167px;
	height: 150px;
	border: 1px solid #ccc;
	float: left;
	margin: 10px 10px 0 0;
	overflow: hidden;
}
	.customExampleImage li a {
		position: absolute;
		left: 50%;
		top: 50%;
		width: 1000%;
		height: 2000px;
		line-height: 2000px;
		margin:-1000px 0 0 -500%;
		text-align: center;
	}
		.customExampleImage li a img {
			height: 150px;
			width: auto;
			vertical-align: middle;
		}

.customMenu {
	margin-bottom: 35px;
}
	.customMenu img {
		width: 100%;
	}

.articleRight img {
	margin-bottom: 20px;
}


/*---------------------------
*	larger 1000
*----------------------------*/
@media screen and (min-width: 1000px) {
	.customExampleImage li:nth-child(4n) {
		margin-right: 0px;
	}
}

/*---------------------------
*	タブレット
*----------------------------*/
@media screen and (min-width: 641px) and (max-width: 999px) {
	.customExampleImage {
		clear: both;
	}
		.customExampleImage img {
			width:100%;
		}
	.customExampleImage li {
		width: 31%;
		margin: 10px 3% 0 0;
		float: left;
	}
	.customExampleImage li:nth-child(3n) {
		margin-right: 0px;
	}
	.customMenu {
		margin-bottom: 35px;
	}
}

/*---------------------------
*	スマートフォン
*----------------------------*/
@media screen and (max-width: 640px) {
	.articleRight p {
		margin-top :20px;
	}
	.customExampleImage {
		clear: both;
	}
		.customExampleImage img {
			width:100%;
		}
	.customExampleImage li {
		width: 49%;
		margin: 10px 2% 0 0;
		float: left;
	}
	.customExampleImage li:nth-child(2n) {
		margin-right: 0px;
	}
	.customMenu  {
		margin-bottom: 35px;
	}
}