/*画像の整列*/

.grid_box {
	position: relative;
	margin: 0 1% 50px;
	width: 48%;
}
.grid_box2 {
	position: relative;
	margin: 0 1% 20px;
	width: 22.8%;
}
/*grid_box3--成人式用のデスクトップ・ipad画面用(スマホ用は268)*/
.grid_box3 {
	position: relative;
	margin: 0 1% 20px;
	width: 22.8%;
}
/*newlist*/

.grid_box_info {
	float: left;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 78.125% 0 0;
	overflow: hidden;
}
.grid_box_info .inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.wh_new {
	width: 100%;
	margin: 0;
	padding-top: 5px;
	border-radius: 0;
	background: rgb(169,3,41);
	background: -moz-linear-gradient(top, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%);
	background: -webkit-linear-gradient(top, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%);
	background: linear-gradient(to bottom, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019', GradientType=0 );
	color: #fff;
	text-align: center;
	font-weight: normal;
	font-size: 2rem;
}
.newlist dl {
	padding-left: 5px;
	text-align: left;
}
.newlist dt {
	font-size: 1.5rem;
	padding: 5px;
	color: #666;
}
.newlist dd {
	font-size: 1.5rem;
	padding: 0 5px 5px 10px;
	border-bottom: 1px solid #ddd;
}
.newlist dd a {
	color: #333;
}
.grid_box_info p {
	font-size: 1.5rem;
	height: 10%;
	margin: 0;
}
.view {
	float: left;
	position: relative;
	overflow: hidden;
}
/*目次画像〜大きさ〜中央寄せ*/
.view img, .view video {
	width: 90%; /*画像小さめ width: 90%;*/
	margin: 5px auto; /*画像小さめ margin: 10px;*/
	display: block;
}
.view:hover {
	background: #000;
}
.view:hover img {
	opacity: 0.5;
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
}
.mask {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
	opacity: 1;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
}
.mask p {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 100px;
	height: 50px;
	color: #fff;
	font-size: 2rem;
	opacity: 0;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
.mask:hover p {
	opacity: 1;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
}
.bottom_txt_top {
	position: relative;
	clear: both;
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
}
.grid_box_txt_p {
	clear: both;
	display: block;
	width: 100%;
	height: 50px;
	background: none;
	text-align: center;
	line-height: 30px;
	color: #555;
	font-size: 1.5rem;
	margin: 0;
	padding: 10px 5px 0;
}
.grid_box_txt_top {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2px 5px;
	font-size: 1.5rem;
	text-align: center;
}
.grid_box_txt_top:hover {
	text-decoration: none;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	cursor: pointer;
}
.grid_box_txt_top a {
	color: #000;
}
.bottom_txt {
	clear: both;
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
}
.grid_box_txt {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 2px 5px;
	border-radius: 5px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #0036ff), color-stop(1.00, #001a9b));
	background: -webkit-linear-gradient(#0036ff, #001a9b);
	background: -moz-linear-gradient(#0036ff, #001a9b);
	background: -o-linear-gradient(#0036ff, #001a9b);
	background: -ms-linear-gradient(#0036ff, #001a9b);
	background: linear-gradient(#0036ff, #001a9b);
	font-size: 1.5rem;
	text-align: center;
}
.grid_box_txt:hover {
	text-decoration: none;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	cursor: pointer;
}
.grid_box_txt a {
	color: #fff;
	text-decoration: none;
}
.download {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 2px 10px;
	border-radius: 5px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #d20001), color-stop(1.00, #8f0202));
	background: -webkit-linear-gradient(#d20001, #8f0202);
	background: -moz-linear-gradient(#d20001, #8f0202);
	background: -o-linear-gradient(#d20001, #8f0202);
	background: -ms-linear-gradient(#d20001, #8f0202);
	background: linear-gradient(#d20001, #8f0202);
	font-size: 1.5rem;
	text-align: center;
}
.download:hover {
	text-decoration: none;
	opacity: 0.8;
	filter: alpha(opacity=80);
	-moz-opacity: 0.8;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	cursor: pointer;
}
.download a {
	color: #fff;
	text-decoration: none;
}
/*:before や :after 擬似要素を使って、要素の前後に任意のテキストを表示できます。書き方は簡単で、擬似要素に content: "テキストの内容"; を加えればOK。*/
/*テキストを改行するには \A */
li {
  margin: 10px 0;
}
.new:after {
  content: "更新";
  font-size: .75em;
  background: #FF9F80;
  color: #fff;
  padding: 5px 5px 3px;
  margin-left: 5px;
  border-radius: 3px;
}

@media screen and (max-width: 768px) {
.grid_box {
	margin: 0 auto 30px;
	width: 100%;
}
.grid_box2 {
	position: relative;
	margin: 0 2% 10px; /*元の画像の隙間　margin: 0 2% 10px;*/
	width: 46%; /*元のwidth: 46%; */
}
.grid_box3 {
	position: relative;
	margin: 0 auto; /*元の画像の隙間　margin: 0 2% 10px;*/
	width: 33.3%; /*元のwidth: 46%; */
}
.grid_box_info {
	float: left;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: inherit;
}
.grid_box_info .inner {
	position: static;
}
.wh_new {
	background: none;
	color: #333;
	font-size: 1.5rem;
}
.grid_box_info p {
	margin: 0;
}
.view {
	float: none;
}
.view:hover {
	background: none;
}
.view:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
	-moz-opacity: 1;
}
.mask p {
	display: none;
}
.grid_box_txt_p {
	display: none;
}
.grid_box_txt {
	font-size: 1.2rem;
}
.download {
	font-size: 1.2rem;
}
}

@media screen and (min-width: 769px) and (max-width: 1280px) {
.grid_box {
	margin: 0 auto 30px;
	width: 100%;
}
.grid_box_info p {
	margin: 0;
}
.view {
	float: none;
}
.grid_box_txt_p {
	display: none;
}
}
/*ふわっとスクロール*/
/*opacity:0だと完全透明、0.5だと50%透明、1だと不透明*/
.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: ease-in 0.5s;　/*元は 0.5s 小さいほど早い*/　
}

/*フェードインアニメ*/
/*左から右にフェードイン*/
.left-to-right {
  opacity: 0.1;
  transform: translateX(-20px);
  transition: all 1s;
}
.left-to-right.scrollin {
  opacity: 1;
  transform: translate(0);
}

/*下から上にフェードイン*/
.down-to-top {
  opacity: 0.1;
  transform: translateY(20px);
  transition: all 1s;
}
.down-to-top.scrollin {
  opacity: 1;
  transform: translateY(0);
}



