@charset "UTF-8";
/* CSS Document */

.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    height: 340px;
}

div.naviarea {
	    width: inherit;
}
.menu {
    position: relative;
    width: 100%;
    height: 50px;
margin: 0em auto 0px;
    padding: 4px 0 0;
	display: flex;
    justify-content: center;
}


.menu > li {
    float: left;
    width: ; /* グローバルナビ */
    height: 46px;
    line-height: 40px;
        background-color: #f3eee3;
		list-style: none;
		font-size: 0.8em;
		    padding: 0 25px 0;
			display: block;
}

@media screen and (min-width: 992px) {
.menu > li {
    float: left;
    width: ; /* グローバルナビ */
    height: 46px;
    line-height: 40px;
        background-color: #f3eee3;
		list-style: none;
		font-size: 0.9em;
		    padding: 0 25px 0;
			display: block;
}
	
	}

.menu > li a {
    display: block;
    color: #333;
    text-align: center;}

.menu > li a:hover {
    text-decoration: underline;
    transition:.5s;
    display: block;
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    list-style: none;
}

ul.menu__third-level {
    visibility: hidden;
    opacity: 0;
}

ul.menu__fourth-level {
    visibility: hidden;
    opacity: 0;
}

.menu > li:hover {
        background-color: #f3eee3;
    -webkit-transition: ease-out .7s;
    transition: ease-out .7s;
	text-decoration: underline;
}

.menu__second-level li {
    border-top: 1px solid #111;
}

.menu__third-level li {
    border-top: 1px solid #111;
}

.menu__second-level li a:hover {
        background-color: #f3eee3;
}

.menu__third-level li a:hover {
        background-color: #f3eee3;
}

.menu__fourth-level li a:hover {
        background-color: #f3eee3;
}

/* 下矢印 */
.init-bottom:after {
    content: '';
    display: none;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #f3eee3;
    border-bottom: 1px solid #f3eee3;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* floatクリア */
.menu:before,
.menu:after {
    content: " ";
    display: table;
}

.menu:after {
    clear: both;
}

.menu {
    *zoom: 1;
}


/* add  */

.menu > li.menu__single {
    position: relative;
}

li.menu__single ul.menu__second-level {
    position: absolute;
    top: 40px;
    width: 100%;
        background-color: #f3eee3;
    -webkit-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

li.menu__single:hover ul.menu__second-level {
    top: 50px;
    visibility: visible;
    opacity: 1;
}


/* add2  */

li.menu__mega ul.menu__second-level {
    position: absolute;
    top: 30px;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0px 0 0px;
    background-color: #f3eee3;
    -webkit-transition:.5s;
    transition:.5s;
	transition-delay:.3s;
    border-top: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
	display: flex;
    justify-content: center;
	
}

li.menu__mega:hover ul.menu__second-level {
    top: 50px;
    visibility: visible;
    opacity: 1;
	    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

li.menu__mega ul.menu__second-level > li {
    float: left;
    width: ;
    border: none;
	height: 45px;
		    padding: 3px 15px 0;
}

li.menu__mega ul.menu__second-level > li:nth-child(5n+4) {
   /* margin: 0 1%;*/
}



/* 保有物件###################### */

.workspace {
    padding:15px 15px 0;	
	line-height:1;
}

.workspace2 {
    padding:15px;	
	line-height:1;
}

ul.menu__second-level_work {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}
ul.menu__third-level_work {
    visibility: hidden;
    opacity: 0;
}

ul.menu__fourth-level_work {
    visibility: hidden;
    opacity: 0;
}

/* add  */

.menu > li.menu__single_work {
    position: relative;
}

li.menu__single_work ul.menu__second-level_work {
    position: absolute;
    top: 40px;
    width: 100%;
        background-color: #f3eee3;
    -webkit-transition:.5s;
    transition:.5s;
	transition-delay:.3s;
}

li.menu__single_work:hover ul.menu__second-level_work {
    top: 50px;
    visibility: visible;
    opacity: 1;
	    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


/* add2  */

li.menu__mega_work ul.menu__second-level_work {
    position: absolute;
    top: 30px;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    padding: 0px 0 0px;
    background-color: #f3eee3;
    -webkit-transition:.5s;
    transition:.5s;
	transition-delay:.3s;
    border-top: 1px solid lightgrey;
	border-bottom: 1px solid lightgrey;
}


li.menu__mega_work:hover ul.menu__second-level_work {
    top: 50px;
    visibility: visible;
    opacity: 1;
	    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;

}

li.menu__mega_work ul.menu__second-level_work > li {
    float: left;
    width: ;
    border: none;
	height: 45px;
	padding: 3px 15px 0;
	display: flex;
    justify-content: center;
			
}

li.menu__mega_work ul.menu__second-level_work > li:nth-child(5n+4) {
    margin: 0 1%;
}


/*　レスポンシブ　*/


/* スマホ閲覧時のナビメニュー */


.contents {
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#navTgl:checked ~ .contents {
	transform: translateX(250px);
}

/* :::::: toggle button :::::: */
#navTgl {
	display: none;
}
label {
	cursor: pointer;
	position: fixed;
	top: 66px;
	left: 0;
}
.open {
	z-index: 2;
	width: 48px;
	height: 48px;
	background: #f3eee3;
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before,
.open::after {
	content: "";
	border-bottom: 2px solid black;
}
.open span,
.open::before,
.open::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 30%;
	width: 40%;
	border-bottom: 1px solid #333;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before {
	transform: translateY(-8px);
}
.open::after {
	transform: translateY(8px);
}
.close {
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}
#navTgl:checked + .open {
	background: #f3eee3;
	transform: translateX(250px);
}
#navTgl:checked + .open span {
	transform: scaleX(0);
}
#navTgl:checked + .open::before {
	transform: rotate(45deg);
}
#navTgl:checked + .open::after {
	transform: rotate(-45deg);
}
#navTgl:checked ~ .close {
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}


.close {
	pointer-events: none;
	z-index: 1;
	width: 100%;
	height: 100%;
	transition: background-color .6s;
}
#navTgl:checked ~ .close {
	pointer-events: auto;
	background-color: rgba(0,0,0,.3);
}



/* :::::: drawer menu :::::: */

.menu_sp {
	z-index: 1;
	position: fixed;
	overflow: auto;
	top: 0;
	left: 0;
	width: 250px;
	height: 100%;
	margin: 0;
	padding: 70px 15px;
	box-sizing: border-box;
	background: rgba(0,0,0,.7);
	transform: translateX(-100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu_sp h2,
.menu_sp a {
	color: white;
}
.menu_sp h2 {
	text-align: center;
}
.menu_sp ul {
	margin: 0;
	padding: 0;
}
.menu_sp li {
	font-size: .8em;
	line-height: 1.4;
}

@media screen and (max-width: 767px) { 
.menu_sp li {
    font-size: 1em;
    line-height: 1;
}
}
.menu_sp li:not(:first-child) {
	border-top: 0px solid rgba(255,255,255,.6);
}
.menu_sp a {
	display: block;
	padding: 1em 2em;
	text-decoration: inherit;
	transition: background .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu_sp a:hover {
	background: black;
}
#navTgl:checked ~ .menu_sp {
	transform: none;
}

