/* ナビゲーションカスタマイズ */
.custom-nav-pills {
	background-color: #ffffff;
    border: 0px solid #cccccc;
	border-radius: 5px;
}

.custom-nav-pills > li > a,
.custom-nav-pills > li > p
{
    background-color: #dddddd;
	padding-top: 15px;
	padding-bottom: 15px;
    margin-bottom: 1px;
	font-weight: nomal;
	color: #333333;
	text-align: center;
    border-bottom: 0px solid #cccccc;
}

.custom-nav-pills > li > a:hover {
    background-color: #cccccc;
}

.custom-nav-pills > .active > a,
.custom-nav-pills > .active > p,
.custom-nav-pills > .active > a:hover,
.custom-nav-pills > .active > a:focus {
	background-color: #8c8c8c;
	background-image: none;
    color: #ffffff;

}

.custom-nav-pills > li:first-child > a,
.custom-nav-pills > li:first-child > p
{
    border-radius: 5px 5px 0px 0px;
}

.custom-nav-pills > li:last-child > a,
.custom-nav-pills > li:last-child > p
{
    border-bottom: 0px solid #cccccc;
    border-radius: 0px 0px 5px 5px;

}

@media (min-width: 768px) {
    .custom-nav-pills {
        max-height: 50px;
        background-color: #ffffff;
        border: 0px solid #cccccc;
        border-radius: 5px;
	}
    
	.custom-nav-pills > li > a,
	.custom-nav-pills > li > p
    {
        background-color: #dddddd;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-right: 1px;
        font-weight: nomal;
        color: #333333;
        text-align: center;
        border-bottom: 0px solid #cccccc;

	}
    
    .custom-nav-pills > li > a:hover {
        background-color: #cccccc;
    }
    
    .custom-nav-pills > .active > a,
    .custom-nav-pills > .active > p,
    .custom-nav-pills > .active > a:hover,
    .custom-nav-pills > .active > a:focus {
        background-color: #8c8c8c;
        background-image: none;
        color: #ffffff;

    }
    
	.custom-nav-pills > li:first-child > a,
    .custom-nav-pills > li:first-child > p
    {
        border-radius: 5px 0px 0px 5px;
	}
    
	.custom-nav-pills > li:last-child > a,
    .custom-nav-pills > li:last-child > p
    {
        margin-right: 0px;
        border-radius: 0px 5px 5px 0px;
	}
}

/* ステップナビゲーション */
.custom-stepbar {
    margin-bottom: 15px;
	background-color: #ffffff;
    border: 0px solid #cccccc;
	border-radius: 5px;
}

.custom-stepbar > li > a,
.custom-stepbar > li > p
{
    background-color: #dddddd;
    line-height: 50px;
    margin-bottom: 1px;
	font-weight: nomal;
	color: #333333;
	text-align: center;
    border-bottom: 0px solid #cccccc;
}

.custom-stepbar > li > a:hover {
    background-color: #cccccc;
}

.custom-stepbar > .active > a,
.custom-stepbar > .active > p,
.custom-stepbar > .active > a:hover,
.custom-stepbar > .active > a:focus {
	background-color: #8c8c8c;
	background-image: none;
    color: #ffffff;
    font-weight: 700;
}

.custom-stepbar > li:first-child > a,
.custom-stepbar > li:first-child > p
{
    border-radius: 5px 5px 0px 0px;
}

.custom-stepbar > li:last-child > a,
.custom-stepbar > li:last-child > p
{
    border-bottom: 0px solid #cccccc;
    border-radius: 0px 0px 5px 5px;

}

@media (min-width: 768px) {
    .custom-stepbar {
        max-height: 50px;
        background-color: #ffffff;
        border: 0px solid #cccccc;
        border-radius: 5px;
	}
    
	.custom-stepbar > li > a,
	.custom-stepbar > li > p
    {
        background-color: #dddddd;
        line-height: 50px;
        font-weight: nomal;
        color: #333333;
        text-align: center;
        border: 1px solid #fff;

	}
    .custom-stepbar > li > p > span.before
    {
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 25px 0 25px 20px;
	border-color: transparent transparent transparent #fff;
	line-height: 0px;
	position: absolute;
	left: 0px;
	z-index: 10;  
    }
    
    .custom-stepbar > li > p > span.after
    {
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 25px 0 25px 20px;
	border-color: transparent transparent transparent #ddd;
	line-height: 0px;
        
	position: absolute;
	right: -19px;
	z-index: 50;
    }
    
    .custom-stepbar > li > a:hover {
        background-color: #cccccc;
    }
    
    .custom-stepbar > .active > a,
    .custom-stepbar > .active > p,
    .custom-stepbar > .active > a:hover,
    .custom-stepbar > .active > a:focus {
        background-color: #8c8c8c;
        background-image: none;
        color: #ffffff;

    }
    
    .custom-stepbar > .active > p > span.after
    {
    border-color: transparent transparent transparent #8c8c8c;
    }
    
	.custom-stepbar > li:first-child > a,
    .custom-stepbar > li:first-child > p
    {
        border-radius: 5px 0px 0px 5px;
	}
    
    .custom-stepbar > li:first-child > span
    {
        
    }
    
	.custom-stepbar > li:last-child > a,
    .custom-stepbar > li:last-child > p
    {
        margin-right: 0px;
        border-radius: 0px 5px 5px 0px;
	}
    .custom-stepbar > li:last-child > span
    {
        
    }
    
}