* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"Noto Sans Japanese" ;
    background: #ffffff
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 480px) {
.pc { display: none !important; }
.sp { display: block !important; }
}


.lft { text-align: left; }
.ctr { text-align: center; }
.rgt { text-align: right; }

article {
    margin: 50px auto ;
    width: 1180px ;
    height: 100% ;
    text-align: center;
    line-height: 1.9;
}

article h3 {
    font-size: 2em;
}

article p {
    margin-bottom: 1em;
}

article img {
    width: 100% ;
    max-width: 100% ;
    height: auto ;
}

a {
    color: #0b8793;
}

h3 {
    margin: 50px 0px 20px 0px ;
    font-family: 'Anton', sans-serif;
    font-size: 25px ;
}

#main-visual {
    background:#ddd url(https://www.sofutemu.co.jp/img2/home_top.jpg) no-repeat center center;
    background-size: cover ;
    height: 700px ;
}



	footer {
		height: 300px ;
		color: #ffffff;
		text-align: center;
		background-color: #000000 ;
	}

		footer a {
			color: #ffffff;
			text-decoration: none;
		}


		.inner,
		.inner-ft {
			width: 1180px;
			margin: 0 auto;
		}

		.inner:after {
			content: "";
			clear: both;
			display: block;
		}

		/* header */
		#top-head {
			position: fixed;
			width: 100%;
			margin: 0 auto;
			padding: 15px 0 0;
			z-index: 999;
		}

		#top-head a,
		#top-head {
			color: #fff;
			text-decoration: none;
		}

		#top-head .inner {
			position: relative;

		}
		#top-head .logo {
			float: left;
			margin-left: 25px;
		}

		#top-head .logo img {
			height: 16px ;
		}

		#global-nav ul {
			list-style: none;
			position: absolute;
			right: 0;
			bottom: 0;
			font-size: 16px;
		}
		#global-nav ul li {
			float: left;
			position: relative;
			font-family: 'Anton', sans-serif;
		}
		#global-nav ul li a {
			padding: 0 10px;
			font-family: 'Anton', sans-serif;
		}

		#global-nav ul li a:hover {
			color: #999999 ;
		}

		#global-nav ul li a img {
			height: 16px ;
		}

		/* Fixed */
		#top-head.fixed {
			padding-top: 0px;
			padding-bottom: 10px;
			background: #fff;
			background: rgba(0,0,0,.8);
		}
		#top-head.fixed .logo {
			font-size: 24px;
			color: #ffffff ;
			margin-left: 10px;
		}

		#top-head.fixed:after {
			width: 100%;
			margin-top: 20px;
		}
		#top-head.fixed #global-nav ul li a {
			color: #ffffff ;
			padding: 0 15px;
		}

		#top-head.fixed #global-nav ul li a :hover {
			color: #999999 ;
		}

		/* transition */
		#top-head,
		#top-head:after,
		#top-head .logo,
		#global-nav ul li,
		#global-nav ul li a {
			transition: all 0.3s ease;
			-webkit-transition: all 0.3s ease;
			-moz-transition: all 0.3s ease;
			-o-transition: all 0.3s ease;
		}


	div.bottom-menu {
		display: none;
	}

	div.inner-ft {
		width: 1000px;
		height: 300px;
		position: relative;
	}

	div.inner-ft div.logo-ft {
		width: 147px ;
		height: 150px ;
		position: absolute;
		left: 0px ;
		top: 50px ;
	}

	div.logo-ft a img {
		width: 147px ;
	}

	div.inner-ft div.addr-ft {
		width: 300px ;
		height: 150px ;
		font-size: 85% ;
		line-height: 170% ;
		text-align: left ;
		position: absolute;
		left: 200px ;
		top: 60px ;
	}

	div.inner-ft div.fb-ft {
		width: 35px ;
		height: 35px ;
		position: absolute;
		right: 50px ;
		top: 60px ;
	}

	div.inner-ft ul.sns-ft {
		list-style-type: none;
		width: 100px ;
		height: 30px ;
		position: absolute;
		right: 0px ;
		top: 60px ;
	}

	div.inner-ft ul.sns-ft li {
		margin-left: 20px ;
		width: 30px ;
		height: 30px ;
		float: right ;
	}

	div.inner-ft ul.sns-ft li a img{
		width: 30px ;
	}

	div.inner-ft div.copyright {
		width: 100% ;
		font-size: 75% ;
		height: 15px ;
		position: absolute;
		left: 0px ;
		bottom: 30px ;
	}

/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 15px;
	top: 16px;
	width: 24px;
	height: 24px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 1px;
	width: 100%;
	background: #ffffff ;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 8px;
}
#nav-toggle span:nth-child(3) {
	top: 16px;
}

@media screen and (max-width: 980px) {
	article {
		padding: 0 0px;
	}
	.inner {
		width: 100%;
		padding: 0 20px;
	}
	#global-nav ul li a {
		padding: 0 20px;
	}
	#top-head.fixed #global-nav ul li a {
		padding: 0 15px;
	}
}






/* モバイル */
/* スマホ　767px以下 */
@media only screen and (max-width: 767px) {


article {
    margin: 50px auto ;
    width: 100% ;
    height: auto ;
    text-align: center;
    line-height: 1.9;
}

article h3 {
    font-size: 1em;
}


	#main-visual {
		margin-bottom: 2px ;
		background:#ddd url(../img/main-visua_mb.jpg) no-repeat center center;
		background-size: cover ;
		height: 500px ;
	}


	#top-head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#top-head {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
		background: transparent;
	}


	#mobile-head {
		background: #000000;
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
	}

	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		top: 50%;
		left: 50%;
		-ms-transform: translate(-50%,-50%);
		-webkit-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
		margin:0;/*余計な隙間を除く*/
		padding:0;/*余計な隙間を除く*/
	}

	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: #000000;
		width: 100%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 18px;
	}
	#global-nav ul li {
		float: none;
		position: static;
	}
	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		width: 100%;
		display: block;
		color: #fff;
		padding: 8px 0;
	}
	#nav-toggle {
		display: block;
	}


	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(556px);
		-webkit-transform: translateY(556px);
		transform: translateY(556px);
	}



	div.bottom-menu {
		display: block ;
		width: 100%;
		height: auto ;
	}

	div.bottom-menu ul#mobile-nav {
		list-style-type: none;
		width: 100%;
	}

	div.bottom-menu ul#mobile-nav li {
		border-top: 1px solid #999999 ;
		width: 100%;
		text-align: center ;
		height: auto ;
	}

	div.bottom-menu ul#mobile-nav li a {
		padding: 10px 0px;
		width: 100%;
		color: #000000 ;
		background-color: #eaeaea ;
		display: block ;
		text-decoration: none;
		font-size: 1em ;
		font-family: 'Anton', sans-serif;
	}

	footer {
		height: auto ;
	}

	div.inner-ft {
		padding: 40px 0px 24px 0px;
		width: 100%;
		height: auto ;
		position: static;
	}

	div.inner-ft div.logo-ft {
		margin: 0px auto ;
		width: 147px ;
		height: 150px ;
		position: static;
	}

	div.logo-ft a img {
		width: 147px ;
	}

	div.inner-ft div.addr-ft {
		margin: 0px auto ;
		width: 90% ;
		height: 150px ;
		font-size: 85% ;
		text-align: left ;
		position: static;
	}

	div.inner-ft ul.sns-ft {
		width: 100px ;
		height: 30px ;
		position: static;
	}

	div.inner-ft div.copyright {
		margin-top: 50px ;
		width: 100% ;
		font-size: 60% ;
		height: 15px ;
		position: static;
	}
}


.clearfix:after {
    content: "."; 
    display: block;
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */
