@charset "utf-8";

@import "base_layout.css";
@import "common_parts.css";

.anim{
	opacity: 0;
	transform: translate(0,60px); 
	-webkit-transform: translate(0,60px); 
	transition: .8s;
}
.move{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}

.delay1{
	transition-delay: .1s;
}
.delay2{
	transition-delay: .2s;
}
.delay3{
	transition-delay: .3s;
}
.delay4{
	transition-delay: .4s;
}
.delay5{
	transition-delay: .5s;
}
.delay6{
	transition-delay: .6s;
}
.delay7{
	transition-delay: .7s;
}
@media screen and (max-width: 979px) {
.delay1,
.delay2,
.delay3,
.delay4,
.delay5,
.delay6,
.delay7{
	transition-delay: .1s;
}
}

@media screen and (max-width: 768px){
.delay1,
.delay2,
.delay3,
.delay4,
.delay5,
.delay6,
.delay7{
	transition-delay: 0;
}
}
#head_wrap{
	width: 100%;
	position: relative;
}
#head_wrap:before {
	content:"";
	display: block;
	padding-top: 20%;
	margin-bottom: 170px;
}

#header{
	position: absolute;
	width: 100%;
	height: 193px;
	padding-bottom: 14px;
	background: url(../../img/common/header_bg.png) repeat-x;
	top: 0;
	left: 0;
	z-index: 20;
}


#head_wrap #mainPhoto{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	overflow: hidden;
	padding-top: 180px;
}

#head_wrap #mainPhoto #photobase{
	position: relative;
	width: 100%;
	z-index: 10;
	overflow: hidden;
	text-align: center;
	background: #ededed;
	opacity: 0;
}
#head_wrap #mainPhoto #photobase:before {
	content:"";
	display: block;
	padding-top: 20%;
}
#head_wrap #mainPhoto #photo{
	position: relative;
	width: 100%;
	z-index: 20;
	overflow: hidden;
	text-align: center;
	opacity: 0;
	margin-top: -20%;
	z-index: 10;
}
#head_wrap #mainPhoto #photo:before {
	content:"";
	display: block;
	padding-top: 20%;
}
#head_wrap #mainPhoto #photo img{
	width: 100%;
	height: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
	margin: auto;
}


#head_wrap #mainPhoto .pagetitle{
	position: absolute;
	padding-top: 180px;
	top: 25%;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 3.7rem;
	z-index: 20;
	text-shadow: 1px 1px 0 #FFF,
				 -1px 1px 0 #FFF,
				 1px -1px 0 #FFF,
				 -1px -1px 0 #FFF;
	text-shadow: 1px 1px 1px #FFF,
				 -1px 1px 1px #FFF,
				 1px -1px 1px #FFF,
				 -1px -1px 1px #FFF;
}

@media screen and (max-width: 979px) {
#head_wrap #mainPhoto .pagetitle{
	top: 18%;
}
}

@media screen and (max-width: 768px){
#head_wrap:before {
	margin-bottom: 80px;
}
#header{
	height: 80px;
}
#head_wrap #mainPhoto{
	padding-top: 80px;
}

#head_wrap #mainPhoto .pagetitle{
	padding-top: 80px;
	top: 23%;
	font-size: 3.2rem;
}
}
@media screen and (max-width: 620px) {
#head_wrap #mainPhoto .pagetitle{
	padding-top: 80px;
	top: 15%;
	font-size: 2.8rem;
}
}


.btnNormal{
	background: #1a4091;
	box-shadow:3px 3px 0px #ebebeb;
	-moz-box-shadow:3px 3px 0px #ebebeb;
	-webkit-box-shadow:3px 3px 0px #ebebeb;
	display: inline-block;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	color: #FFF;
	margin: auto;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	font-size: 1.8rem;
}
.btnNormal:hover{
	background: #666;
}
.btnNormal a{
	color: #FFF;
	font-weight: bold;
	display: block;
	text-decoration: none;
	padding: 25px 35px;
}


/*itemBox
----------------------------------------------------------------------*/
.itemBox{
	margin: 30px 0;
}
.itemBox ul,
.itemBox .frameBox{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: left;
	justify-content: left;
	margin: auto;
}
.itemBox ul.autoCenter{
	-webkit-justify-content: center;
	justify-content: center;
}
.itemBox ul li,
.itemBox .frameBox .inframe{
	display: block;
	padding: 10px;
	margin: 2px 0.5%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

.itemBox ul li.pdno{
	padding: 0;
}

.itemBox .item1{
	width: 99%;
}
.itemBox .item2{
	width: 49%;
}
.itemBox .item3{
	width: 32%;
}
.itemBox .item4{
	width: 24%;
}
.itemBox .item5{
	width: 19%;
}
.itemBox .item6{
	width: 16%;
}
.itemBox .box{
	border: 1px solid #CCC;
}
.itemBox .line{
	border-right: 1px solid #CCC;
}
.itemBox .none{
	border: 0;
}

.itemBox .image{
	text-align: center;
	margin: 0 0 5px 0;
	padding: 0;
}
.itemBox .image img{
	width: 100%;
	height: auto;
}
.itemBox .image img.border{
	border: 2px solid #CCC;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.itemBox .caption{
	text-align: center;
	padding: 0;
	word-break: break-all;
	word-wrap:break-word;
}
.itemBox .cmt{
	text-align: left;
	padding: 7px 0 0 0;
	word-break: break-all;
	word-wrap:break-word;
}

@media screen and (max-width: 768px){
.itemBox .item1{
	width: 99%;
}
.itemBox .item2{
	width: 49%;
}
.itemBox .item3{
	width: 32%;
}
.itemBox .item4{
	width: 49%;
}
.itemBox .item5{
	width: 49%;
}
.itemBox .item6{
	width: 49%;
}
.itemBox .line{
	border: 1px solid #CCC;
}
.itemBox .image img{
	width: auto;
	height: auto;
	max-width: 100%;
}
}
@media screen and (max-width: 620px) {
.itemBox .item4{
	width: 49%;
}
}
@media screen and (max-width: 480px){
.itemBox .item1,
.itemBox .item2,
.itemBox .item3,
.itemBox .item4,
.itemBox .item5,
.itemBox .item6{
	width: 99%;
}
}


