@charset "utf-8";
/* CSS Document */
#company_header {
    background-color: #fff;
}
#company_header .headerTop{
    padding:0px;
}
#company_header .siteTitle a{
    display: block;
    font-size: 18px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}
.navDrawr {
	clear:both;
	margin-top:10px;
	margin-bottom:0px;
}
.navDrawr>ul:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.navDrawr>ul>li {
    float: left;
    width: 25%;
	list-style:none;
    position: relative;
}
.navDrawr a {
    display: block;
    color: var(--fontcolor-menu);
    text-decoration: none;
    background: var(--bgcolor-menu);
    padding: 10px;
}
.navDrawr .sub li:last-child a {
    border: none;
}
.navDrawr>ul>li>a {
    border-right: 1px solid #900000;
    text-align: center;
}
.navDrawr>ul>li>a:hover {
    background: var(--bgcolor-menuactive);
}
.navDrawr .sub {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
}
.navDrawr .sub a {
    background: var(--bgcolor-submenu);
    border-bottom: 1px solid #600000;
    padding: 10px 10px 10px 20px;
}
.navDrawr .sub a:hover {
    background: #F00000;
}
#contents{
    padding-top:20px;
}
 
@media only screen and (max-width: 768px) {
    #wrapper{
        overflow:hidden;
    }
    .navDrawr {
        background-color: #666;
        position: fixed;
        width: 270px;
        top: 60px;
        bottom: 0;
        right: -270px;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.menuOpen #wrapper{
        padding-top:60px;
    }
    .overlay {
        display: none;
        background-color: rgba(0,0,0,0.49);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    #company_header {
        position:relative;
        height: 60px;
        padding:0;
    }
    body.menuOpen #company_header{
        position: fixed;
        top:0;
        width: 100%;
    }
    #company_header .headerTop{
        padding: 5px 60px 5px 5px;
    }
    #company_header .siteTitle a{
        margin-left: 20px;
        line-height: 60px;
    }
    .navDrawrBtn {
        text-align: right;
    }
    .navDrawrBtn span {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        margin: 0;
        display: block;
        width: 60px;
        height: 60px;
        cursor: pointer;
    }
    .navDrawrBtn span::before {
        font-family: FontAwesome;
        content: "\f0c9";
        font-size: 24px;
        color: #000;
        position: absolute;
        left: 0;
        width: 100%;
        text-align: center;
        line-height: 60px;
    }
    body.menuOpen .navDrawrBtn span::before {
        content: "\f00d";
    }
    .navDrawr a {
        position: relative;
    }
    .navDrawr a::after {
        position: absolute;
        top: 50%;
        margin-top: -10px;
        right: 15px;
        font-family: FontAwesome;
        content: "\f054";
    }
    .navDrawr>ul>li {
        float: none;
        width: auto;
    }
    .navDrawr>ul>li>a {
        text-align: left;
        border-right: none;
        border-bottom: 1px solid var(--bgcolor-submenu);
    }
    .navDrawr .sub {
        position: static;
        display: block!important;
    }
}
 
ul.imgList{}
ul.imgList::after{
    display: table;
    line-height: 0;
    content: "";
    clear:both;
}
ul.imgList li{
    float: left;
    width: 31.33333333%;
    margin: 1%;
}
ul.imgList li .thumbnail{
    background-color: #FFF;
    padding: 20px;
    border:solid 1px #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
ul.imgList li img{
    margin-bottom:10px;
}
ul.imgList li .caption{}
ul.imgList li .title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
 
@media only screen and (max-width: 480px) {
    ul.imgList li{
        float: none;
        width: 98%;
        margin: 1%;
    }
}

@media only screen and (max-width: 768px) {

	/* スクロールでヘッダを出し入れ(smart-header)する際のアニメーション */
	.smart-header{
	    background: rgba(255,255,255,0.8);
	    padding: 20px;
	    position: fixed;
	    top: 0;
	    transition: .5s;
	    width: 100%;
	    z-index: 999;
	}
	 
	.smart-header.hide{
	    transform: translateY(-100%);
	}

}

