@charset "utf-8";

/*-----------------------------------------------
スマホサイト
-----------------------------------------------*/
@media only screen and (max-width: 640px) {

/* ハンバーガーボタン */
/*メニュー周りの高さ調整は親CSS側で設定すること。*/
.btn_hamburger {
margin: 0 auto 2em !important;
position:absolute;
top:28px;
right:3px;
border-radius:4px;
padding:5px 8px;
background:#a7a7a7;
}
.btn_hamburger a {
position: relative;
display: block;
width: 26px;
height: 20px;
-webkit-transition: all .4s;
transition: all .4s;
box-sizing: border-box;
margin:5px auto;
}
.btn_hamburger span {
position: absolute;
display: inline-block;
left: 0;
width: 100%;
height: 4px;
background-color: #fff;
border-radius: 2px;
-webkit-transition: all .4s;
transition: all .4s;
box-sizing: border-box;
}
.btn_hamburger span:nth-of-type(1) {
top: 0;
}
.btn_hamburger span:nth-of-type(2) {
top: 8px;
}
.btn_hamburger span:nth-of-type(3) {
bottom: 0;
}
.btn_hamburger span:nth-of-type(2)::after {
position: absolute;
top: 0;
left: 0;
content: '';
width: 100%;
height: 4px;
background-color: #fff;
border-radius: 2px;
-webkit-transition: all .4s;
transition: all .4s;
}
.btn_hamburger .active span:nth-of-type(2) {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.btn_hamburger .active span:nth-of-type(2)::after {
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.btn_hamburger .active span:nth-of-type(1) {
-webkit-transform: translateY(20px) scale(0);
-ms-transform: translateY(20px) scale(0);
transform: translateY(20px) scale(0);
}
.btn_hamburger .active span:nth-of-type(3) {
-webkit-transform: translateY(-20px) scale(0);
-ms-transform: translateY(-20px) scale(0);
transform: translateY(-20px) scale(0);
}
.smp_whole{
margin: 0 0 2.5em;
max-width: 640px;
}

.dd {display: none;}

.smp_whole> ul > li {
list-style-type:none;
}
.smp_whole> ul > li a{
display:block;
width:100%;
height:50px;
line-height:50px;
background:#eee;
background: #bbb;
background: -webkit-linear-gradient(top, #F5F7F6, #E6E7EB);
background:         linear-gradient(top, #F5F7F6, #E6E7EB);
border-bottom:1px solid #aaa;
color:#333;
font-size:15px;
text-indent:20px;
position:relative;
}
.smp_whole> ul > li a:after {
    content: '';
    margin-top: -4px;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    color: #888;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2em;
    display: block;
    position: absolute;
    border-top: 2px solid #b0b0b0;
    border-right: 2px solid #b0b0b0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.smp_whole> ul > li a:link{color:#333;text-decoration:none;}
.smp_whole> ul > li a:visited{color:#333;text-decoration:none;}
.smp_whole> ul > li a:hover{color:#333;text-decoration:none;}
.smp_whole> ul > li a:active{color:#333;text-decoration:none;}

.smp_whole> ul > li a.trigger:after {/*下階層ある時のボタン。下向き矢印*/
    content: '';
    margin-top: -4px;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    color: #888;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2em;
    display: block;
    position: absolute;
    border-top: 2px solid #777;
    border-right: 2px solid #777;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
.smp_whole .trigger.active{/*下階層ボタンがアクティブの時の親ボタンの背景。*/
background:#d9d9d9;
}
.smp_whole> ul > li a.trigger.active:after {/*下階層ボタンがアクティブの時の上向き矢印*/
    content: '';
    margin-top: -2px;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    color: #888;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.2em;
    display: block;
    position: absolute;
    border-top: 2px solid #777;
    border-right: 2px solid #777;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.smp_whole ul.target.sub{
display:none;
}
.smp_whole ul.target.sub li{
list-style-type:none;
}
.smp_whole ul.target.sub li.pc{/*スマホではPCのURLは表示されない*/
display:none;
}
.smp_whole ul.target.sub li a{/*下階層展開時の背景*/
background:#E3EDFF;
}


}/*↑スマホサイト*/

/*-----------------------------------------------
PCサイト
-----------------------------------------------*/
@media only screen and (min-width: 640px) {

.dd {
zoom: 1;
box-sizing: border-box;
background:#385723;
}
.dd a {
color: #fff;
text-decoration: none;
display: block;
height:43px;
padding-top:17px;

}
.dd a:hover {
color: #fff;
background: #7c7c7c;
display: block;


}
.dd > ul{
width:1120px;
margin:0 auto;
box-sizing: border-box;
font-size:13px;
position:relative;
z-index:9999;
}
.dd > ul:after{content: "";display: block;clear: both;}

.dd > ul > li {
width: 140px;
height:60px;
text-align: center;
float: left;
position: relative;
background:#385723;
border-left: 1px dotted #fff;
box-sizing: border-box;

}
.dd > ul > li:last-child {
border-right: 1px dotted #fff;
}

/*.dd > ul > li > a {
border-left: 1px dotted #fff;
}*/
.dd li ul {
width: 100%;
text-align: left;
position: absolute;
top: 100%;
background: #eee;
}
.dd li ul li.smp{/*PCではスマホのURLは表示されない*/
display:none;
}
.dd li ul a {
display:block;
border: 1px solid #ccc;
border-top: 0;
padding: 10px;
}
.dd li ul a:link {color:#222;}
.dd li ul a:visited {color:#222;}
.dd li ul a:hover {color:#fff;}
.dd li ul a:active {color:#222;}

.dd .active {
color: #fff;
background: #555;
}
.dd ul li ul.target{/*一瞬表示されるのを防止*/
display:none;
}



}/*↑PCサイト*/
