/* ============================================================
トップページ
============================================================ */

/*	for slider
==================================================*/
#wrap_slider {
	margin-top: 95px;		/* for fixed header */
	width: 100%;
	text-align: left;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 1px);
    transform: translate3d(0, 0, 1px);
}
@media screen and (max-width:1000px) {
	#wrap_slider {
		margin-top: 83px;
	}
}
@media screen and (max-width:640px) {
	#wrap_slider {
		margin-top: 58px;
	}
}

#slider {
	position: relative;
	margin-top: 0px;
	margin-left: 0px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-top: 0px;
	background-color: transparent;
}
#slider_frame {
	width: 100%;
	overflow: hidden;
}
#slideShow {
	width: 100%;
	position: relative;
}

#slideShow .slide {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}	
#slideShow .first {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}
#slideShow .second {
	width: 100%;
	position: absolute;
	top: 0;
	left: 1000px;
	display: block;
}

#slideShow .slide img.bg {
    width: 100%;
}
#slideShow .slide .inner {
    /*background-color: rgba(0,0,0, 0.5);*/
    position: absolute;
    top: 60%;
    left: 2%;
    /*transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);*/
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 12px;
    padding-bottom: 10px;
    opacity: 0;
}
#slideShow .slide .inner p {
    color: white;
    font-size: 36px;
    line-height: 70px;
    margin-top: 60px;
    text-align: center;
    text-shadow: #000000 1px 0 10px;
}
#slideShow .slide .inner p span {
    font-size: 50px;
}
#slideShow .slide .inner p br.e620 {
    display: none;
}
#slideShow .slide .w1 {
    width: 96%;
}
#slideShow .slide .w2 {
    width: 840px;
}
@media screen and (max-width:1120px) {
    #slideShow .slide .inner p {
        margin-top: 40px;
        font-size: 30px;
        line-height: 58px;
    }
    #slideShow .slide .inner p span {
        font-size: 40px;
    }
}
@media screen and (max-width:930px) {
    #slideShow .slide .inner p {
        margin-top: 40px;
        font-size: 24px;
        line-height: 47px;
    }
    #slideShow .slide .inner p span {
        font-size: 32px;
    }
}
@media screen and (max-width:750px) {
    #slideShow .slide .inner p {
        margin-top: 20px;
        font-size: 20px;
        line-height: 38px;
    }
    #slideShow .slide .inner p span {
        font-size: 26px;
    }
}
@media screen and (max-width:620px) {
    #slideShow .slide .inner p {
        margin-top: 90px;
    }
    #slideShow .slide .inner p br.e620 {
        display: inline;
    }
}
@media screen and (max-width:500px) {
    #slideShow .slide .inner {
        left: 0;
    }
    #slideShow .slide .w1 {
        width: 100%;
    }
    #slideShow .slide .inner p {
        
        margin-top: 70px;
        font-size: 16px;
        line-height: 31px;
    }
    #slideShow .slide .inner p span {
        font-size: 21px;
    }
}


#slider_pager {
	text-align: center;
	margin-top: 8px;
	cursor: pointer;
}
#slider_pager span {
	color: #006E54;
	padding-left: 2px;
	padding-right: 2px;
}
#slider_pager span.act {
	color: #D64D26;
}




/*	for top_content
==================================================*/
#top_content {
	width: 1100px;
	position: relative;
	background-color: transparent;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 30px;
	margin-left: auto;
	margin-right: auto;
	font-size: 15px;
	line-height: 22px;
}
@media screen and (max-width:1118px) {
	#top_content {
		width: 99%;
		/*overflow: hidden;*/
		padding-left: 0.5%;
		padding-right: 0.5%;
	}
}
@media screen and (max-width:880px) {
	#top_content {
		margin-right: 0px;
	}
}
@media screen and (max-width:640px) {
	#top_content {
		background-color: white;
	}
}

#top_content h2 {
    color: #1F5598;
    font-size: 36px;
    font-weight: normal;
    line-height: 56px;
    margin-bottom: 20px;
    text-align: center;
}
#top_content p {
    color: #303030;
    font-size: 15px;
    line-height: 30px;
    margin-bottom: 40px;
}
@media screen and (max-width:800px) {
    #top_content h2 {
        font-size: 34px;
        line-height: 53px;
    }
    #top_content p {
        line-height: 28px;
    }
}
@media screen and (max-width:580px) {
    #top_content h2 {
        font-size: 30px;
        line-height: 48px;
    }
    #top_content p {
        font-size: 14px;
        line-height: 26px;
    }
}
@media screen and (max-width:500px) {
    #top_content h2 {
        font-size: 27px;
        line-height: 44px;
    }
}
@media screen and (max-width:420px) {
    #top_content h2 {
        font-size: 24px;
        line-height: 40px;
    }
}


#top_content #wrap_product {
    width: 100%;
    position: relative;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#top_content #wrap_product .product {
    display: block;
    width: 49%;
    align-self: stretch;
    background-color: #F2F2F2;
    text-decoration: none;
    margin-bottom: 20px;
}
#top_content #wrap_product .product:hover {
    background-color: #D9D9D9;
}
#top_content #wrap_product .product .upper {
    position: relative;
    overflow: hidden;
}
#top_content #wrap_product .product:hover .upper {
    background-color: #303030;
}
#top_content #wrap_product .product .upper .bg {
    width: 100%;
    transition-duration: 0.3s;
}
#top_content #wrap_product .product:hover .upper .bg {
    opacity: 0.65;
    transform: scale(1.1, 1.1); /*画像の拡大*/
}
#top_content #wrap_product .product h3 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    height: 60px;
    line-height: 62px;
    background-color: rgba(0,49,127,0.75);
}
#top_content #wrap_product .product:hover h3 {
    color: #a9b9d3;
}
#top_content #wrap_product .product .upper p {
    display: none;
    color: white;
    font-size: 24px;
    width: 100%;
    position: absolute;
    top: 45%;
    text-align: center;
}
#top_content #wrap_product .product:hover .upper p {
    display: block;
}
#top_content #wrap_product .product .list {
    width: 91%;
    padding-left: 5%;
    padding-right: 4%;
    padding-top: 10px;
    padding-bottom: 1px;
}
#top_content #wrap_product .product .list p {
    color: #303030;
    font-size: 16px;
    line-height: 28px;
    display: block;
}
@media screen and (max-width:1060px) {
    #top_content #wrap_product .product .list {
        width: 96%;
        padding-left: 2%;
        padding-right: 2%;
    }
    #top_content #wrap_product .product .list p {
        font-size: 15px;
        line-height: 26px;
    }
}
@media screen and (max-width:640px) {
    #top_content #wrap_product .product {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
    }
}









#top_content div.top_gap {
	margin-bottom: 34px;
}



#top_content dl#information {
	display: block;
	margin-bottom: 40px;
	list-style: none;
}
#top_content dl#information dt {
	color: #004896;
	font-size: 15px;
	font-weight: bold;
	height: 24px;
	line-height: 26px;
}
#top_content dl#information dt span {
	color: white;
	font-size: 13px;
	font-weight: normal;
	padding-left: 4px;
	padding-right: 4px;
	display: inline-block;
	margin-left: 10px;
	height: 17px;
	line-height: 19px;
	vertical-align: middle;
}
#top_content dl#information dd {
	margin-top: 0px;
	margin-left: 16px;
	margin-bottom: 9px;		/* space between article */
	font-size: 15px;
	line-height: 24px;
}
#top_content a#info_list {
    color: #FFFFFF;
    font-size: 15px;
    background-color: #0068A6;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100px;
    height: 32px;
    line-height: 34px;
    margin-top: -65px;
	margin-left: 78%;
}
@media screen and (max-width:800px) {
    #top_content a#info_list {
        margin-top: -63px;
    }
}
@media screen and (max-width:580px) {
    #top_content dl#information dd {
        font-size: 14px;
    }
    #top_content a#info_list {
        font-size: 14px;
        width: 80px;
        margin-top: -61px;
    }
}
@media screen and (max-width:500px) {
    #top_content dl#information dd {
	    margin-left: 0px;
    }
    #top_content a#info_list {
        margin-top: -59px;
    }
}
@media screen and (max-width:420px) {
    #top_content a#info_list {
        margin-top: -57px;
    }
}
