@charset "utf-8";
/*
Theme Name: 株式会社 遠山MSビルディングス Theme
Theme URI: toyama-msb.co.jp
Description: toyamamsb themes
Version: 1.0
Author: kobaishi
Author URI: kobao-web
*/


/*------------------------------------------------------

   common

-------------------------------------------------------*/
body {
	position: relative;
	padding-top: 158px;
}
.inner {
    max-width: 1020px;
	padding: 0 10px;
	margin:auto;
	position: relative;
}


/* cmn-ttl */
.cmn-ttl {
	text-align:center;
	margin-bottom: 50px;
}
.cmn-ttl h2 {
	color: #18396d;
	font-size: 36px;
	letter-spacing: 2px;
	margin-bottom: 10px;
}
.cmn-ttl h3 {
	font-size: 16px;
	font-weight:normal;
}

/* cmn-desc */
.cmn-desc {
	font-sizse: 16px;
	line-height: 1.7;
}

/* off */
.off a {
    cursor: default !important;
    color: #ccc !important;
}


/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#global-header {
	width: 100%;
	background: #fff;
	position: fixed;
	left:0;
	top: 0;
	z-index: 1000;
}
.header-top {
	background: #02183b;
	border-bottom:solid 3px #dcdcdc;
}
.header-top .inner {
	height: 100px;
	padding-top: 30px;
}
.header-top  .site-ttl {
    width: 194px;
    margin: auto;
}
.header-top .site-ttl a {
	display:block;
    height: 0;
	padding-top: 35px;
	overflow: hidden;
	background: url(./images/logo.png) no-repeat center;
	background-size: contain !important;
}

#sub-nav {
	position:absolute;
	right:0;
	top: 30px;
}
#sub-nav li {
	float: left;
	margin-left:20px;
}
#sub-nav li a {
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding: 2px 15px;
	border: solid 2px #fff;
	border-radius:100px;
}

/* menu-btn hidden */
#menu-btn {
	display: none;
}



/* ----------------------
   mainNav
-----------------------------*/
#mainNav {
	font-size: 0;
    text-align:center;
}
#mainNav li {
    display: inline-block;
	line-height: 50px;
	margin:0 30px;
}
#mainNav li a {
   color: #02183b;
   font-size: 14px;
   font-weight: bold;
}


/* ----------------------------
   contets
-------------------------------*/
#container {
	overflow: hidden;
}

.conBox {
	margin-bottom: 120px;
}




/*------------------------------------------------
   footer style
--------------------------------------------------*/
#global-footer {
    padding-top: 70px;
}
#global-footer .ft-logo {
    text-align: center;
    margin-bottom: 50px;
}
#global-footer .ft-main {
    padding: 60px 0;
    background: #02183b;
	overflow: hidden;
}
#global-footer .ft-main .ft-info {
    width: 33%;
    line-height: 1.9;
    float: left;
}
#global-footer .ft-main .ft-info h2 {
    color: #fff;
    font-size: 13px;
    font-weight: normal;
}
#global-footer .ft-main .ft-info p {
    color: #fff;
    font-size: 13px;
}

#global-footer .ft-main .ft-nav-wrap {
    width: 67%;
    float: right;
    display: table;
}
#global-footer .ft-main .ft-nav {
    display: table-cell;
    width: 50%;
    padding: 0 0 20px 30px;
    border-left: solid 1px #fff;
}
#global-footer .ft-main .ft-nav li {
    line-height: 1.9;
}
#global-footer .ft-main .ft-nav li a {
    font-size: 13px;
    color: #fff;
}
#global-footer .ft-main .ft-nav li ul {
    margin-left: 1rem;
}

#map iframe {
    width: 100%;
	height: 540px;
}

#copyright {
	font-size: 11px;
	padding: 20px 0;
	text-align:center;
}


#backtotop {
	color: #fff;
	font-sie: 20px;
	font-weight:bold;
	width: 52px;
	line-height: 52px;
	text-align:center;
	cursor:pointer;
	background: rgba(0,0,0,0.8);
	border-radius: 52px;
	visibility: hidden;
	opacity: 0;
	position:fixed;
	right: 10px;
	bottom: 40px;
	z-index: 10;
   -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#backtotop.show {
	visibility: visible;
	opacity: 1;
	bottom: 50px;
}



/* -----------------------------------

media query

------------------------------------- */
/* 1200px 以下 */
@media (max-width:1200px) {
}



/* 815px 以下 */
@media (max-width: 815px) {

	body {
		padding-top: 50px;
	}

	.cmn-ttl {
		margin-bottom: 25px;
	}
	.cmn-ttl h2 {
		font-size: 18px;
	}
	.cmn-ttl h3 {
		font-size: 12px;
	}
	.cmn-desc {
		font-sizse: 14px;
	}

	.conBox {
		margin-bottom: 60px;
	}

	/* header */
	.header-top {
		border-bottom: none;
	}
	.header-top .inner {
		height: 50px;
		padding-top: 5px;
	}
	.header-top .site-ttl {
		width: 100px;
	}
	
	/* menu-btn */
	#menu-btn {
		display:block;
		width: 25px;
		height: 22px;
		cursor: pointer;
		position: absolute;
		left: 15px;
		top: 14px;
		z-index: 10;
	}
	#menu-btn span {
		display:block;
		width: 25px;
		height: 3px;
		background: #fff;
		position:absolute;
		left: 0;
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
	-moz-transition: all 300ms ease-in-out 0s;
	-webkit-transition: all 300ms ease-in-out 0s;
	-o-transition: all 300ms ease-in-out 0s;
	-ms-transition: all 300ms ease-in-out 0s;
	transition: all 300ms ease-in-out 0s;
	}
	#menu-btn span.t {
		top: 0;
	}
	#menu-btn span.m {
		top: 9px;
	}
	#menu-btn span.b {
		bottom: 0;
	}
	#menu-btn.active span.t {
		top: 8px;
		-moz-transform: rotate(-405deg);
		-webkit-transform: rotate(-405deg);
		-o-transform: rotate(-405deg);
		-ms-transform: rotate(-405deg);
		transform: rotate(-405deg);
	}
	#menu-btn.active span.m {
		width: 0;
	}
	#menu-btn.active span.b {
		bottom: 12px;
		-moz-transform: rotate(405deg);
		-webkit-transform: rotate(405deg);
		-o-transform: rotate(405deg);
		-ms-transform: rotate(405deg);
		transform: rotate(405deg);
	}



	/* ----------------------
	   mainNav
	-----------------------------*/
	#mainNavWrap {
		width: 100%;
		height:calc(100% - 50px);
		background: rgba(0,0,0,0);
		visibility:hidden;
		opacity:0;
		position: fixed;
		top: 50px;
		left: 0;
		z-index:99999999999;
	   -webkit-transition: all 0.6s;
		transition: all 0.6s;
	}
	#mainNavWrap.active {
		visibility: visible;
		opacity: 1;
		left: 0;
		background: rgba(0,0,0,0.7);
	}
	#mainNavWrap .mainNav-in {
		width: 80%;
		height:calc(100% - 50px);
		background: #041736;
		padding: 20px;
		overflow:auto;
		position:fixed;
		left:-1000px;
		top: 50px;
		z-index:10;
	   -webkit-transition: all 0.6s;
		transition: all 0.6s;
	}
	#mainNavWrap.active .mainNav-in {
		left:0;
	}
	#sp-mainNav li {
		margin: 10px 0;
	}
	#sp-mainNav li a,
	#sp-mainNav li span {
	   font-size: 14px;
	   color:#fff;
	}
	#sp-mainNav li ul li:before {
	   color:#fff;
	   content: '・';
	}
	#sp-mainNav .to-contact a {
		display:block;
		padding: 10px;
		color: #fff;
		text-align:center;
		border:solid 1px #fff;
		border-radius: 5px;
	}


    /* footer */
	#global-footer {
	    background: #041736;
		padding-top: 20px;
	}
	#global-footer .ft-logo {
		margin-bottom: 25px;
	}

	#global-footer .ft-main {
		padding: 20px 0 30px;
		background: #000;
		border-bottom: solid 2px #041736;
	}
	#global-footer .ft-main .ft-info {
		width: 100%;
		float: none;
		text-align: center;
	}
	#global-footer .ft-main .ft-info .ft-nav {
		width: 100%;
		padding: 0;
		margin-top: 20px;
		border-left: none;
	}

	#map iframe {
		height: 270px;
	}

	#copyright {
		font-size: 10px;
		color: #fff;
	}

}

/* 480px 以下 */
@media (max-width: 480px) {



}



/* 360px 以下 */
@media (max-width: 360px) {
	
}


