@charset "UTF-8";
/* CSS Document */

/*=========================================== 
スマホ向けのレイアウトの指定：～768px 
===========================================*/
@media only screen and (min-width: 0px) {

body{
	overflow-x: hidden;
}
	
#container{
	width:100%;
	margin:0 auto;
	overflow: hidden;
}

#wrapper{
	width:100%;
	margin:0 auto;
}

/*メインビジュアル*/
.mv{
	background: url(../images/gallery_mv.jpg) no-repeat top center;
	background-size: cover;
}


/*コンテンツ*/
.gallery{
	width: 100%;
	margin: 40px auto 80px;
}

.gallery .menu{
	width: 90%;
	margin: 0 auto;
	font-size: 0;
	text-align: center;
}

.gallery .menu .heading{
	margin: 0 auto 32px;
	padding: 0 0 6px 0;
	font-size: 30px;
	text-align: center;
	letter-spacing: 0.12em;
	font-family: serif;
	border-bottom: 4px solid rgb(139,199,207);
	display: inline-block;
}

.gallery .menu ul{
	text-align: left;
}

.gallery .menu ul li{
	width: 49%;
	margin: 20px 2% 16px 0;
	position: relative;
	display: inline-block;
}

.gallery .menu ul li:nth-child(even){
	margin: 20px 0 16px 0;
}

.gallery .menu ul li img{
	width: 100%;
	height: auto;
}

.gallery .menu ul li a {
	display: block;
}

.gallery .menu ul li .text{
	font-size: 16px;
	text-align: center;
	letter-spacing: 0.20em;
	font-family: serif;
	background: rgb(240,240,240);
	position: absolute;
	bottom: -16px;
	right: 8px;
}

.gallery .menu ul li a .text{
	padding: 8px 10px;
	color: rgb(82,118,119);
}

.gallery .line{
	margin: 40px auto 0;
	text-align: center;
}

/*ギャラリー > 共通部分*/
.gallery .category{
	margin: 40px auto 0;
	padding: 0 0 40px 0;
}

.gallery .category .heading{
	width: 100%;
	height: 120px;
	margin: 0 auto 30px;
	text-align: right;
}

.gallery .category .box{
	margin: 37px 5% 0 0;
	display: inline-block;
}

.gallery .category .heading h2.title{
	padding: 10px 20px;
	font-size: 26px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.20em;
	font-family: serif;
	color: rgb(82,118,119);
	background: rgb(255,255,255);
}

.gallery .category .heading .small{
	margin: 6px 0 0 0;
	font-size: 20px;
	text-align: center;
	font-family: 'Satisfy', cursive;
	color: rgb(255,255,255);
}

.gallery .category.location .box{margin-top: 25px;}
.gallery .category.location .box h2.title{font-size: 18px;}

.gallery .category ul{
	width: 90%;
	margin: 0 auto;
	font-size: 0;
	text-align: left;
}

.gallery .category ul li{
	width: 31.3%;
	margin: 10px 1% 0;
	display: inline-block;
	vertical-align: top;
}
.gallery .category ul li a {
    display: block;
    width: 100%;
    aspect-ratio: 1;
}
.gallery .category ul li img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery .category ul.instagram li{
	position: relative;
}

.gallery .category ul.instagram li p:before{
	content: "";
	display: block;
	padding-top: 100%;
}

.gallery .category ul.instagram li img{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	object-fit: cover;
}

/*ギャラリー > 可変部分*/
.gallery .maternity{
	padding: 0;
}

.gallery .celebrate .heading .small,
.gallery .family .heading .small,
.gallery .admission .heading .small{
	color: rgb(150,150,150);
}

.gallery .celebrate .heading{
	background: url(../images/gallery_img_09_sp.jpg) no-repeat center;
	background-size: cover;
}

.gallery .birthday .heading{
	background: url(../images/gallery_img_10_sp.jpg) no-repeat center;
	background-size: cover;
}

.gallery .family .heading{
	background: url(../images/gallery_img_11_sp.jpg) no-repeat center;
	background-size: cover;
}

.gallery .baby .heading{
	background: url(../images/gallery_img_12_sp.jpg) no-repeat center;
	background-size: cover;
}

.gallery .sibling .heading{
	background: url(../images/gallery_img_13_sp.jpg) no-repeat center;
	background-size: cover;
}

.gallery .admission .heading{
	background: url(../images/gallery_img_14_sp.jpg) no-repeat center;
	background-size: cover;
}

.gallery .maternity .heading{
	background: url(../images/gallery_img_15_sp.jpg) no-repeat center;
	background-size: cover;
}
.gallery .location .heading{
	background: url(../images/gallery_img_17_sp.jpg) no-repeat center;
	background-size: cover;
}
.gallery .twenty .heading{
	background: url(../images/gallery_img_18_sp.jpg) no-repeat center;
	background-size: cover;
}
}


/*=========================================== 
スマホ向けのレイアウトの指定：480px ～
===========================================*/
@media only screen and (min-width:481px) {

.gallery .menu ul li .text{
	bottom: -16px;
	right: 16px;
	left: auto;
}

.gallery .menu ul li a .text{
	padding: 8px 20px;
}
}


/*=========================================== 
PC向けのレイアウトの指定：768px〜
===========================================*/
@media only screen and (min-width: 769px) {

#container{
	width:100vw;
}


/*コンテンツ*/
.gallery{
	width: auto;
	max-width: 940px;
	padding: 10px;
}


.gallery .menu .heading{
	margin: 0 auto 60px;
}

.gallery .menu ul li{
	margin: 20px 2% 21px 0;
}

.gallery .menu ul li:nth-child(even){
	margin: 20px 0 21px 0;
}

.gallery .menu ul li .text{
	font-size: 22px;
	bottom: -21px;
	right: 32px;
}

.gallery .menu ul li a .text{
	padding: 10px 24px;
}

.gallery .line{
	margin: 80px auto 0;
}

/*ギャラリー > 共通部分*/
.gallery .category{
	margin: 80px auto 0;
	padding: 0 0 80px 0;
}

.gallery .category .heading{
	width: auto;
	max-width: 940px;
	height: 235px;
	margin: 0 auto;
}

.gallery .category .box{
	margin: 80px 100px 0 0;
}

.gallery .category .heading h2.title{
	padding: 24px 40px;
	font-size: 30px;
}

.gallery .category .heading .small{
	margin: 10px 0 0 0;
	font-size: 30px;
}

.gallery .category.location .box{margin-top: 80px;}
.gallery .category.location .box h2.title{font-size: 30px;}

.gallery .category.location .box h2.title br{display: none;}
.gallery .category ul{
	width: auto;
	font-size: 0;
	text-align: left;
}

.gallery .category ul li{
	width: 14.667%;
	max-width: 140px;
	overflow: hidden;
	margin: 20px 1% 0;
	display: inline-block;
	vertical-align: top;
}

.gallery a:hover{
	opacity: 0.8; 
	filter:alpha(opacity=80); /* IE 6,7*/
	-ms-filter: "alpha(opacity=80)"; /* IE 8,9 */
	-moz-opacity:0.8; /* FF , Netscape */
	-khtml-opacity: 0.8; /* Safari 1.x */
	zoom:1; /*IE*/
}

/*ギャラリー > 可変部分*/
.gallery .maternity{
	padding: 0;
}

.gallery .celebrate .heading{
	background: url(../images/gallery_img_09_pc.jpg) no-repeat top center;
	background-size: cover;
}

.gallery .birthday .heading{
	background: url(../images/gallery_img_10_pc.jpg) no-repeat top center;
	background-size: cover;
}

.gallery .family .heading{
	background: url(../images/gallery_img_11_pc.jpg) no-repeat top center;
	background-size: cover;
}

.gallery .baby .heading{
	background: url(../images/gallery_img_12_pc.jpg) no-repeat top center;
	background-size: cover;
}

.gallery .sibling .heading{
	background: url(../images/gallery_img_13_pc.jpg) no-repeat top center;
	background-size: cover;
}

.gallery .admission .heading{
	background: url(../images/gallery_img_14_pc.jpg) no-repeat top center;
	background-size: cover;
}

.gallery .maternity .heading{
	background: url(../images/gallery_img_15_pc.jpg) no-repeat top center;
	background-size: cover;
}
.gallery .location .heading{
	background: url(../images/gallery_img_17_pc.jpg) no-repeat top center;
	background-size: cover;
}
.gallery .twenty .heading{
	background: url(../images/gallery_img_18_pc.jpg) no-repeat top center;
	background-size: cover;
}
}
    