/*
Theme Name: yorozu
Theme URI: https://yorozushiga.jp/
Author: Yamapla Corporation
Author URI: http://yp1.jp/
Description:
Version: 1
License: 
License URI: 
Tags: 
*/

#container .alignleft{ float: left; }
#container .alignright{ float: right; }
#container .aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#container img{
	max-width: 100%;
	height: auto;
}
#container img.alignleft{ margin: 7px 24px 7px 0; }
#container img.alignright{
	margin: 7px 0 7px 24px;
}
#container img.aligncenter{
	margin-top: 7px;
	margin-bottom: 7px;
}
#container .aligncenter img{ /** 画像中央が効かないので後で追加した **/
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 7px;
	margin-bottom: 7px;
}

/* �M�������[
-------------------------------------------------------------------------------*/
.gallery{ /** �M�������[���͂ރ{�b�N�X **/
	width: 100%;
	margin-bottom: 20px !important;
    overflow: hidden;
}
.entry .gallery-item a{
	background-image: none;
	padding-left: 0;
	text-decoration: none;
}
.gallery br{ display: none; } /** �����ő}������� clearfix �̗]������ **/
.gallery-item{ /** �摜���ʂ̃X�^�C�� **/
	display: inline-block;
	margin-bottom: 0 !important;
}
.gallery-icon{ /** �摜���͂� dt �̃X�^�C�� **/
    text-align: center;
}
.gallery-icon img{
	max-width: 100%;
	height: auto;
	margin-bottom: 10px !important;
}
.gallery-caption{ /** �L���v�V���� **/
    color: #222;
    font-size: 12px;
    margin: 0 0 10px;
    text-align: center;
}
.gallery-columns-1 .gallery-item{ /** �J�����Ȃ� **/
    width: 100%;
    margin-right: 0;
}
.gallery-columns-2 .gallery-item{ /** 2�J���� **/
	width: 48%;
	margin: 0 1%;
}
.gallery-columns-3 .gallery-item{ /** 3�J���� **/
    width: 31.33333%;
	margin: 0 1%;
}
.gallery-columns-4 .gallery-item{ /** 4�J���� **/
    width: 23%;
    margin: 0 1%;
}
.gallery-columns-5 .gallery-item{ /** 5�J���� **/
    width: 18%;
    margin: 0 1%;
}
@media screen and (max-width: 640px){
	.gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item{
		width: 48%;
		margin: 0 1%;
	}
	.gallery-columns-5 .gallery-item{
		width: 31.33333%;
		margin: 0 1%;
	}
}