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

/*	for slider
==================================================*/
#wrap_slider {
	margin-top: 0px;		/* for fixed header */
	width: 100%;
	text-align: left;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 1px);
    transform: translate3d(0, 0, 1px);
}


#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;
    height: 650px;
}

#slideShow #back_mv {
    width: 100%;
    /* 上下方向のセンタリング */
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

@media screen and (max-width:1205px) {
    #slideShow {    /* 背景動画の高さから */
        height: auto;
    }
    #slideShow #back_mv {
        position: static;
        transform: translateY(0%);
        -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
    }
}
@media screen and (max-width:640px) {
    #slideShow {
        height: 380px;
    }
    #slideShow #back_mv {
        width: auto;
        height: 100%;
        position: absolute;
        top: 0%;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
}


@media screen and (max-width:1118px) {
	#slider {
		width: 100%;
		height: auto;
	}
	#slider_frame {
		width: 100%;
		height: auto;
	}
	#slideShow {
		width: 100%;
	}
}

#slideShow div.exp {
    position: absolute;
    opacity: 0;
}
#slideShow div.act {
    opacity: 1;
    transition-duration: 0.5s;
    transition-property: opacity;
}
#slideShow div.exp h1,
#slideShow div.exp h2 {
    color: white;
    font-size: 40px;
    line-height: 70px;
    text-shadow: #000000 1px 0 10px;
}
#slideShow div.exp p {
    color: white;
    font-size: 24px;
    line-height: 38px;
    text-shadow: #000000 1px 0 10px;
}
#slideShow #first {
    top: 30%;
    left: 55%;
}
#slideShow #second {
    top: 35%;
    left: 10%;
}
#slideShow #third {
    top:45%;
    left: 55%;
}
@media screen and (max-width:1040px) {
    #slideShow #first {
        left: 48%;
    }
    #slideShow #second {
        left: 5%;
    }
    #slideShow #third {
        left: 48%;
    }
}
@media screen and (max-width:880px) {
    #slideShow div.exp h1,
    #slideShow div.exp h2 {
        font-size: 35px;
        line-height: 62px;
    }
    #slideShow div.exp p {
        font-size: 23px;
        line-height: 35px;
    }
}
@media screen and (max-width:840px) {
    #slideShow #first {
        left: 40%;
    }
    #slideShow #third {
        left: 40%;
    }
}
@media screen and (max-width:720px) {
    #slideShow #first {
        left: 30%;
    }
    #slideShow #third {
        left: 30%;
    }
}
@media screen and (max-width:640px) {
    #slideShow div.exp h1,
    #slideShow div.exp h2 {
        font-size: 32px;
        line-height: 56px;
    }
    #slideShow div.exp p {
        font-size: 20px;
        line-height: 31px;
    }
}
@media screen and (max-width:540px) {
    #slideShow #first,
    #slideShow #second,
    #slideShow #third {
        top: 40%;
        left: 5%;
    }
    #slideShow div.exp h1,
    #slideShow div.exp h2 {
        font-size: 30px;
        line-height: 52px;
    }
    #slideShow div.exp p {
        font-size: 16px;
        line-height: 25px;
    }
}








/*	ヘッダー　＆　グローバルナビ
==================================================*/
#wrap_header {
    background-color: rgba(0, 0, 0, 0.62);
}
#wrap_gNavi {
    border-bottom: 1px solid #000000;
}
#globalNavi > ul > li > a,
#globalNavi > ul > li > p {
    color: white;
}




/*	for service
==================================================*/
#wrap_service {
	width: 100%;
	text-align: left;
	padding-top: 40px;
	padding-bottom: 40px;
	-webkit-transform: translate3d(0, 0, 1px);
	transform: translate3d(0, 0, 1px);
}
@media screen and (max-width:640px) {
	#wrap_service {
		padding-top: 20px;
		-webkit-transform: translate3d(0, 0, 1px);
    		transform: translate3d(0, 0, 1px);
	}
}
#service {
	width: 1100px;
	margin: 0 auto 0;
	position: relative;
	background-color: transparent;
    padding-top: 20px;
    padding-bottom: 15px;
}

#service h2 {
    color: #004a9d;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    margin-bottom: 15px;
}
#service #inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#service #inner a {
    width: 32.8%;
    text-decoration: none;
    align-self: stretch;
    background-color: #ecf3fb;
    position: relative;
    display: flex;
    flex-direction: column;
}
#service #inner a:hover {
    background-color: #d1e2f4;
}
#service #inner a h3 {
    color: #004a9d;
    font-size: 26px;
    line-height: 60px;
    font-weight: normal;
    text-align: center;
    margin-top: 10px;
}
#service #inner a p {
    color: #004a9d;
    font-size: 15px;
    line-height: 28px;
    padding-left: 18px;
    padding-right: 15px;
    box-sizing: border-box;
}
#service #inner a p.detail {
    height: 40px;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
    margin-top: 20px;
}
#service #inner a:hover p.detail {
    color: #EA5461;
}
#service #inner a .frame {
    width: 95%;
    overflow: hidden;
    margin-top: auto;
    margin-left: 2.5%;
    margin-bottom: 20px;
}
#service #inner a .frame img {
    width: 100%;
    transition-duration: 0.3s;
}
#service #inner a:hover .frame img {
    transform: scale(1.2, 1.2); /*画像の拡大*/
}

@media screen and (max-width:1118px) {
	#service {
		width: 98%;
        padding-left: 1%;
        padding-right: 1%;
	}
}
@media screen and (max-width:970px) {
    #service #inner a h3 {
        font-size: 23px;
        line-height: 56px;
    }
}
@media screen and (max-width:880px) {
    #service #inner a {
        width: 100%;
        margin-bottom: 15px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
    #service #inner a .title_exp {
        width: 60%;
    }
    #service #inner a p {
        height: auto;
    }
    #service #inner a p.detail {
        margin-top: 0;
    }
    #service #inner a .frame {
        width: 40%;
        margin-left: 0;
        margin-bottom: 0;
    }
}
@media screen and (max-width:800px) {
    #service h2 {
        font-size: 32px;
        line-height: 58px;
    }
    #service #inner a .title_exp {
        width: 55%;
    }
    #service #inner a .frame {
        width: 45%;
    }
}
@media screen and (max-width:770px) {
    #service #inner a .title_exp {
        width: 50%;
    }
    #service #inner a .frame {
        width: 50%;
    }
}
@media screen and (max-width:720px) {
    #service #inner a {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        margin-bottom: 20px;
    }
    #service #inner a .title_exp {
        width: 100%;
    }
    #service #inner a p {
        height: auto;
    }
    #service #inner a p.detail {
        margin-top: 10px;
    }
    #service #inner a .frame {
        width: 95%;
        margin-left: 2.5%;
        margin-bottom: 20px;
    }
}
@media screen and (max-width:540px) {
    #service #inner a {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}
@media screen and (max-width:500px) {
    #service h2 {
        font-size: 28px;
        line-height: 50px;
    }
}



/*	for top_notice
==================================================*/
#wrap_notice {
	width: 100%;
	text-align: left;
	padding-top: 30px;
	padding-bottom: 40px;
	-webkit-transform: translate3d(0, 0, 1px);
	transform: translate3d(0, 0, 1px);
    background-color: #e6e6e6;
}

@media screen and (max-width:640px) {
	#wrap_notice {
		padding-top: 20px;
		-webkit-transform: translate3d(0, 0, 1px);
    		transform: translate3d(0, 0, 1px);
	}
}


#notice {
	width: 1100px;
	margin: 0 auto 0;
	position: relative;
	background-color: transparent;
    padding-top: 20px;
    padding-bottom: 15px;
}

#notice h2 {
    color: #004a9d;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    margin-bottom: 15px;
}

#notice #notice_list {
    width: 96%;
    margin-left: 2%;
}
#notice #notice_list dt {
    color: #004a9d;
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
}
#notice #notice_list dt span {
    color: white;
    font-size: 15px;
    font-weight: normal;
    display: inline-block;
    width: 90px;
    text-align: center;
    height: 28px;
    line-height: 30px;
    margin-left: 14px;
}
#notice #notice_list dt span.info {
    background-color: #5A85B9;
}
#notice #notice_list dt span.exh {
    background-color: #F15A24;
}
#notice #notice_list dt span.rec {
    background-color: #f7931e;
}
#notice #notice_list dt span.prod {
    background-color: #D92D53;
}
#notice #notice_list dd {
    font-size: 16px;
    line-height: 28px;
    margin-left: 220px;
    margin-top: -28px;
    margin-bottom: 12px;
}


@media screen and (max-width:1118px) {
	#notice {
        width: 98%;
        padding-left: 1%;
        padding-right: 1%;
	}
    #notice #notice_list a p {
        font-size: 14px;
    }
}
@media screen and (max-width:800px) {
    #notice h2 {
        font-size: 32px;
        line-height: 58px;
    }
}
@media screen and (max-width:680px) {
    #notice #notice_list dd {
        font-size: 15px;
        line-height: 26px;
        margin-left: 0px;
        margin-top: 0px;
        margin-bottom: 14px;
    }
}
@media screen and (max-width:500px) {
    #notice h2 {
        font-size: 28px;
        line-height: 50px;
    }
}


/*** banner ***/
#wrap_banner #inner {
    width: 1100px;
	margin: 0 auto 0;
	position: relative;
	background-color: transparent;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}
#wrap_banner #inner a {
    width: 49%;
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
}
#wrap_banner #inner a img {
    width: 100%;
}
@media screen and (max-width:1100px) {
    #wrap_banner #inner {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width:760px) {
    #wrap_banner #inner a {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width:580px) {
    #wrap_banner #inner a {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}



