/*Medium devices*/

@media (max-width: 1170px) {
body {
	padding-top: 0;
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.7em;
}
h4 {
	font-size: 1.5em;
}
h5 {
	font-size: 1.3em;
}
h6 {
	font-size: 1.2em;
}
.mobile-navi {
	display: block;
	padding-top: 0px;
	padding-bottom: 20px;
}
header {
	width: 100%;
	position: relative;
}
.desktop-logo {
	display: none;
}
.main-navi {
	position: fixed;
	width: 250px;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 15;
	transition: all ease-in-out .3s;
	overflow-y: auto;
	overflow-x: hidden;
	display: none;
}
.main-navi.active {
	display: block;
}
.main-navi .mobile-menu {
	display: block;
}
.main-navi .menu {
	padding: 30px;
}
.main-navi .menu .sub-menu {
	display: block;
	position: relative;
	border: none;
	background-color: transparent;
}
.main-navi .menu li {
	display: block;
	padding-bottom: 10px!important;
	padding-left: 10px;
	margin: 0;
}
.main-navi .menu li:hover {
	background-color: #fff;
}
.main-navi .menu a {
	padding: 0;
	color: rgba(255,255,255,.8) !important;
}
.main-navi .menu a:hover {
	color: rgba(255,255,255,1) !important;
}
.main-navi .menu > li > a:after {
	content: '';
}
.menu li:last-of-type .sub-menu li.menu-item-has-children > a:before {
	content: '';
}
.main-navi .menu .sub-menu {
	margin: 0;
	width: 100%;
}
.main-navi .menu .sub-menu li {
	border: none;
	padding-left: 15px !important;
}
.menu > li > a:hover {
	border-bottom: none;
}

.top-address{
	text-align:center;
}

#secondary-menu .social-buttons {
	justify-content: center;
}
#secondary-menu .flex-items {
	width: 100% !important;
}
.top-menu.pull-right {
	margin: 0;
	text-align: center;
	float: none !important;
}
#main-section, footer {
	margin: 0;
}
#image-gallery .gallery-item .items {
 width:calc(((100% / 12) * 4) - 20px);
}
.regular-contents iframe {
	height: 400px !important;
}
.regular-contents iframe.wufoo-form-container {
	height: 600px !important;
}
#banner-section .title-wrapper {
	min-height: 50vh;
}
#banner-section.front-page #button-set {
	position: relative;
	width: 100%;
	bottom: unset;
}
#banner-section.front-page #button-set ul {
	display: inline-block;
}
#banner-section.front-page .title-wrapper h1 {
	font-size: 1.5em;
}

#banner-section.front-page .title-wrapper{
	padding-top:6%;
	padding-bottom:6%;
}

#banner-section.inner-page-header .flex{
	height:100px;
}

#banner-section .title-wrapper h1 {
	font-size: 2em;
	line-height: 45px;
}

.news-box figure figcaption h5 {
	display: none;
}

#project-flex .project-items,
.icon-items{
	width:calc(((100%/12)*6) - 20px);
}
	.inner-page-header{
		margin-top:0px;
	}

}
