@charset "UTF-8";

/*//////////////// 共通 //////////////////*/


/*//////////////// セクション2 /////////////////*/
.sec2 p {
	text-align: center;
	line-height: 1.4em;
}

.sec2 p span {
	font-size: 0.85rem;
}

.sec2 img {
	margin-bottom: 0.5rem;
}


@media (min-width: 768px) {
	.sec2 p {
		line-height: 1.5em;
	}

	.sec2 p span {
		font-size: 0.85rem;
		display: block;
	}

	.sec2 img {
		margin-bottom: 0.5rem;
	}
}



@media (min-width: 992px) {
	.sec2 .container {
		max-width: 1000px;
	}	
}



/*//////////////// 画像ポップアップ /////////////////*/
.hide-area{/*モーダル表示をする場所をあらかじめ隠す*/
	display: none;
}

.modaal-fullscreen .modaal-content-container{/*full画面の色設定*/
	background: #333;
	color: #fff;
	text-align: center;
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	justify-content: center;
}
.modaal-fullscreen .modaal-content-container p {
	width: 100%;
}
.modaal-fullscreen .modaal-close{/*ボタンの色、位置*/
	background:none;
	right:20px;
}

/*クローズボタンの×の色変更*/
.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}

/*キャプション*/
.caption{
	display: block;
	padding: 10px 0;
	font-size: 0.9rem;
}

/*===　サムネイル表示のためのcss　*/

.gallery{/*ベースになるギャラリーを横並びに*/
	display: flex;
	justify-content: space-between;
}

.gallery li{
	width:100%;
	padding: 0;
}

/*画像の横幅を100%にしてレスポンシブ化*/
img {
	max-width:100%;
	height:auto;
	vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*========= レイアウトのためのCSS ===============*/

.sec2 ul{
	margin:0;
	padding: 0;
	list-style: none;
}


.sec2 a:hover,
.sec2 a:active{
	text-decoration: none;
}



@media (min-width: 768px) {
	/*キャプション*/
	.caption{
		font-size: 1rem;
	}
	
	.modaal-fullscreen .modaal-content-container p {
		width: 48%;
		padding: 0 1%;
	}	
}

