﻿
/* 共用子選單 */

.primarynavi > div {
    position: relative;
}

    .primarynavi > div > div {
        /*position: absolute;
	top: 70px; 
	left: -35px;*/
    }

.subnav {
    position: absolute;
    z-index: 9;
    display: none;
    top: 70px;
    left: -35px;
}

.subnav-mark {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 10px 6px;
    border-color: transparent transparent #d82626 transparent;
    position: absolute;
    top: 0px;
    left: 80px;
    /*display: none;*/
}

.subnav-content {
    top: 9px;
    left: 0px;
    position: absolute;
    text-align: center;
    /*margin-left: 15px;
	margin-top: 10px;*/
    padding: 0px;
    /*background-image: linear-gradient(to top,#f0f0f0,#f7f7f7,#ffffff);*/
    background-color: white;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    display: flex;
    overflow: auto;
}

.subnav-group {
    min-width: 185px;
    margin-bottom: 5px;
}

.subnav-title {
    /*background-image: linear-gradient(to top,#b7060c,#ce1115,#d82626);*/
    border-top: 4px solid #d82626;
    margin: 0px;
    padding: 5px 20px;
    color: #d82626;
    font-size: 15px;
    text-align: left;
    line-height: 30px;
    position: relative;
}

    .subnav-title::after {
        content: ' ';
        position: absolute;
        bottom: 0px;
        left: 15px;
        right: 15px;
        border-bottom: 1px solid #d82626;
        /*box-shadow: 0px 0px 0.5px rgba(0, 0, 0, 0.2);*/
    }

.subnav-item {
    padding: 8px 10px;
    padding-left: 38px;
    position: relative;
    text-align: left;
}

    .subnav-item * {
        font-size: 15px;
        line-height: 25px;
        color: #505050;
    }

    .subnav-item ul {
        list-style: none;
        margin: 0px;
        padding: 5px 0px;
        padding-left: 15px;
    }

    .subnav-item::before {
        content: ' ';
        position: absolute;
        background-image: url(../../images/P/icon1.jpg);
        left: 25px;
        top: 15px;
        width: 6px;
        height: 7px;
    }

    .subnav-item::after {
        content: ' ';
        position: absolute;
        bottom: 0px;
        left: 15px;
        right: 15px;
        border-bottom: 1px solid lightgray;
        box-shadow: 0px 0px 0.5px rgba(0, 0, 0, 0.2);
    }

.subnav-group div:last-of-type::after {
    display: none;
}

.subnav-content.p5px {
    padding-left: 5px;
    padding-right: 5px;
}

    .subnav-content.p5px .subnav-title {
        margin: 0px -5px;
    }

        .subnav-content.p5px .subnav-title::after {
            left: 20px;
            right: 20px;
        }
/*
.subnav3 {
	z-index: 99;
	display: none;
}
.subnav3_top {
	background-image: url(../../images/P/subnav_top.png);
	text-align: center;
	padding-top: 10px;
	width: 185px;
	height: 33px;
	display: block;
	font-size: 15px;
	line-height: 30px;
	color: #FFF;
}
.subnav3_content {
	width: 185px;
}
.subnav3_icon {
	background-image: url(../../images/P/icon1.jpg);
	width: 6px;
	height: 7px;
	margin-right: 8px;
	float: left;
	margin-top: 14px;
	margin-bottom: 14px;
	margin-left: 24px;
}
.subnav3_w {
	float: left;
	margin-top: 7px;
	margin-bottom: 5px;
    width:135px;
}
.subnav3_w2 {
	margin-top: 2px;
	margin-left: 53px;
}
.subnav3_w2_f {
	padding-bottom: 10px;
}
.subnav3_bg {
	background-image: url(../../images/P/subnav_content.png);
	background-repeat: repeat-y;	
	line-height: 30px;
	width: 185px;
	color: #505050;
	position: relative;
	z-index:5;
}
    .subnav3_bg * {
        font-size: 15px;
    }
.subnav3_bottom {
	background-image: url(../../images/P/subnav_bottom.png);
	width: 185px;
	height: 13px;
	display: block;
}
.subnav_line {}
*/

/* 共用子選單按鈕 */
/* 第一階段用 */ /*.menu1 { margin-left: 247px; }*/
/* 第二階段用 */
.menu {
    /*width: 980px;*/
    margin-left: 180px;
}
.btn-menu {
    position: relative;
    width: 104px;
    height: 116px;
    display: block;
    background-repeat: no-repeat;
    background-position: left top;
    margin-right: 24px;
}
    .btn-menu .hover {
        position: absolute;
        width: 104px;
        height: 116px;
        background-repeat: no-repeat;
        background-position: left bottom;
        margin-right: 24px;
    }

#menu1, #menu1 .hover {
    background-image: url(../../images/P/menu/menu1.jpg);
}
#menu2, #menu2 .hover {
    background-image: url(../../images/P/menu/menu2.jpg);
}
#menu3, #menu3 .hover {
    background-image: url(../../images/P/menu/menu3.jpg);
}
#menu4, #menu4 .hover {
    background-image: url(../../images/P/menu/menu4.jpg);
}
#menu5, #menu5 .hover {
    background-image: url(../../images/P/menu/menu5.jpg);
}
#menu6, #menu6 .hover {
    background-image: url(../../images/P/menu/menu6.jpg);
}

#menu1_st, #menu1_st .hover {
    background-image: url(../../images/P/menu/menu_st_1.jpg);
}
#menu2_st, #menu2_st .hover {
    background-image: url(../../images/P/menu/menu_st_2.jpg);
}
#menu3_st, #menu3_st .hover {
    background-image: url(../../images/P/menu/menu_st_3.jpg);
}
#menu4_st, #menu4_st .hover {
    background-image: url(../../images/P/menu/menu_st_4.jpg);
}
#menu5_st, #menu5_st .hover {
    background-image: url(../../images/P/menu/menu_st_5.jpg);
}
#menu6_st, #menu6_st .hover {
    background-image: url(../../images/P/menu/menu_st_6.jpg);
}