@charset "UTF-8";
/*
Theme Name: 株式会社SUCCESS 様
Theme URI:
Description: 株式会社SUCCESS 様　専用テンプレート
Author: recess.hokkaido
Author URI: http://recesshokkaido.com
Version: 1.0
Tags:
License: recess.hokkaido
License URI: http://recesshokkaido.com
*/

/* default
----------------------------------------------------------------------------------------------------*/
header, footer, section, article, aside, nav,
figure, figcaption, main {
	display: block;
}
body {
	width: 100%;
	color: #282828;
	font-size: 14px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", "メイリオ", Meiryo, Osaka, sans-serif;
	line-height: 1.6;
	background-color: #ffffff;
}
img {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0;
	vertical-align: middle;
	border:none;
	max-width: 100%;
}
body,h1,h2,h3,h4,h5,p,table,tr,th,td,ul,ol,li,dl,dt,dd,figure,figcaption{
	font-size: 14px;
	margin: 0;
	padding: 0;
}
ul,li,ol,dl,dt,dd {
	list-style: none;
}
a,a:visited{
	color: #40220f;
	text-decoration: none;
}
address {font-style:normal;}
::selection {
	background:#999999;
	color: #ffffff;
}
::-moz-selection {
	background:#999999;
	color: #ffffff;
}
.animated{visibility: visible!important;}

.clearfix:after,
section:after,
.inner:after,
header:after,
main:after{
	content: "";
	display: block;
	height: 0;
	clear: both;
}
.inner{ margin: 0 auto;}
section{ clear: both;}
.ratio-box:before{
	content: "";
	display: block;
}
.Montserrat{
	font-family: 'Montserrat', sans-serif;
}

/* 基本スタイル
====================================================================================================*/

/* デフォルト：1200px以上用（PC用）の記述
---------------------------------------------------------------------------------------------------*/
body{padding-top: 70px;}
.inner{width: 960px;}
.txt{line-height: 1.8;}
/* header
------------------------------------------------*/
header{}
#key{
	position: relative;
	background-image: url("./img/bg-key01.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#key.ratio-box:before{padding-top: 50%;}
#key .inner{
	position: absolute;
	top: 0;
	width: 100%;
}
#key h1{
	width: 20%;
	margin: 13% auto 0;
}
#key .lead{
	margin-top: 28px;
	font-size: 28px;
	font-weight: bold;
	text-align: center;
	line-height: 1.0;
	color: #000000;
}
#gnav{
	position: fixed;
	top: 0;
	z-index: 9999;
	width: 100%;
	height: 70px;
	background-color: #000000;
}
#gnav .navlist{
	float: left;
	width: 480px;
}
#gnav  .navlist li{
	display: inline-block;
	height: 29px;
	margin: 20px 40px 0 0;
}
#gnav  .navlist li:nth-of-type(5){margin-right:0;}
#gnav  .navlist li a{
	position: relative;
	display: block;
	padding: 9px 0;
	line-height: 1.0;
	color: #ffffff;
}
#gnav .tel{
	float: right;
	width: 218px;
	margin-top: 15px;
	color: #ffffff
}
#gnav .tel a{
	color: #ffffff
}
#gnav .tel img{
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	margin-right: 10px;
}
#gnav .tel .num{
	float: left;
	display: block;
	width: 168px;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.0;
}
#gnav .tel .txt{
	float: left;
	display: block;
	width: 168px;
	font-size: 12px;
	line-height: 1.0;
}
#gnav .tel a{display: block;}
#gnav .btn{display:none;}
#gnav .navlist>li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
  transform: scaleX(0);
  background-color: #faee00;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
#gnav .navlist>li a:hover::after {
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
  transform: scaleX(1);
}

/* footer
------------------------------------------------*/
footer{
	padding: 36px 0 15px;
	background-color: #ffffff;
}
footer .box{
	overflow: hidden;
	float: left;
	width: 680px;
}
footer .box:nth-of-type(2){
	width: 280px;
	text-align: right;
}
footer h2{
	float: left;
	width: 160px;
	margin-top: 10px;
}
footer dl{
	float: left;
	width: 500px;
	margin: 0px 0 0 20px;
	color: #000000;
}
footer .gotop{
	width: 33px;
	margin: 0 0 0 auto;
}
footer .gotop a{display: block;}
footer ul{margin: 30px 0 24px;}
footer ul li{
	display: inline-block;
	margin-left: 6px;
}
footer ul li a{display: block;}
footer ul li img{
	width: auto;
	height: 40px;
}
footer ul li:nth-of-type(2){width: 218px;}
footer ul li:nth-of-type(2) a{
	color: #000000;
}
footer ul li:nth-of-type(2) img{
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	margin-right: 10px;
}
footer ul li:nth-of-type(2) .num{
	float: left;
	display: block;
	width: 168px;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.0;
}
footer ul li:nth-of-type(2) .txt{
	float: left;
	display: block;
	width: 168px;
	font-size: 12px;
	line-height: 1.0;
}
footer .copy{
	clear: left;
	font-size: 11px;
	text-align: right;
	color: #727171;
}

/* main共通
------------------------------------------------*/
main{}
main section{
	padding: 80px 0;
}
main section h2{
	margin-bottom: 40px;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	line-height: 1.0;
	text-align: center;
	color: #000000;
}
main section:nth-of-type(2) h2,
main section:nth-of-type(4) h2{color:#ffffff;}
main section h2:after{
	content: "";
	display: block;
	width: 26px;
	height: 0;
	margin: 16px auto 0px;
	border-bottom: solid 2px #faee00;
}
/* secMessage
------------------------------------------------*/
.secMessage{}
.secMessage .lead{
	font-size: 24px;
	font-weight: bold;
	line-height: 40px;
	text-align: center;
	color: #000000;
}
.secMessage .lead strong{
	display: block;
	margin-bottom: 15px;
	font-size: 30px;
	color: #18479f;
}
.secMessage .lead span{letter-spacing:-0.5em;}
.secMessage .txt{
	margin-top: 26px;
	text-align: center;
}
/* secWorks
------------------------------------------------*/
.secWorks{
	padding-bottom: 60px;
	background-image: url("./img/bg-blue.jpg");
	background-repeat: repeat;
	background-position: left top;
	background-size: 100px 107px;
	color: #ffffff;
}
.secWorks .inner{
	position: relative;
	padding-bottom: 40px;
}
.secWorks .box{
	float: right;
	box-sizing: border-box;
	width: 375px;
	padding: 20px;
	margin: 40px 56px 0 0;
	background-color: rgba(000,000,000,0.8);
}
.secWorks h3{
	margin: 4px 0 10px;
	font-size: 24px;
	line-height: 1.0;
}
.secWorks .img{
	float: left;
	width: 380px;
	margin-left: 114px;
}
/* secOffice
------------------------------------------------*/
.secOffice{}
.secOffice dl{
	overflow: hidden;
	width: 540px;
	margin: 0 auto;
	line-height: 1.8;
}
.secOffice dl dt{
	float: left;
	clear: left;
	width: 112px;
}
.secOffice dl dd{
	float: left;
	width: 428px;
	color: #3d5ca0;
}
#map_canvas{
	width: 100%;
	height: 346px;
	margin-top: 36px;
}
/* secContact
------------------------------------------------*/
.secContact{
	background-image: url("./img/bg-black.jpg");
	background-size: 100px 107px;
	color: #ffffff;
}
.secContact .inner>.txt{text-align: center;margin-bottom: 57px;}
.secContact .box{
	box-sizing: border-box;
	width: 403px;
	height: 200px;
	padding: 30px 0;
	margin: 0 auto;
	border: solid 4px #ffffff;
}
/* .secContact .box:nth-of-type(1){
	float: left;
	margin-left: 57px;
}
.secContact .box:nth-of-type(2){
	float: right;
	margin-right: 57px;
} */
.secContact .box h3{
	width: 60px;
	margin: 0 auto;
}
.secContact .box h3 a{display: block;}
.secContact .box .txt{margin-top:10px;text-align: center;}
.secContact .box .txt .caution{font-size:12px;}
.secContact .box:nth-of-type(2) .txt{line-height:1.4;}
.secContact .box .txt a{
	display: block;
	margin: 3px auto;
	font-size: 24px;
	font-weight: bold;
	color: #ffffff;
	line-height: 1.0;
}
.secContact .box:nth-of-type(2) .txt a{
	padding-top: 6px;
	margin: 0 auto 8px;
}


/* 960px以下用の記述
----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 959px) {
body{padding-top: 70px;}
.inner{width: 94%;}
/* header
------------------------------------------------*/
header{}
#key{
	position: relative;
	background-image: url("./img/bg-key01.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#key.ratio-box:before{padding-top: 70%;}
#key h1{width: 40%;}

#key .lead span{margin: 0 -10px;}
#gnav .navlist{
	position: fixed;
	top: 70px;
	right: 0;
	z-index: 9999;
	float: none;
	width: 180px;
	height: 0;
	background-color: #e42068;
}
#gnav .navlist li{
	display: none;
	height: auto;
	margin: 0;
	text-align: center;
}
#gnav  .navlist li:nth-of-type(1){width:auto;}
#gnav  .navlist li:nth-of-type(2){width:auto;}
#gnav  .navlist li:nth-of-type(3){width:auto;}
#gnav  .navlist li:nth-of-type(4){width:auto;}
#gnav  .navlist li:nth-of-type(5){width:auto;}
#gnav  .navlist li a{
	display: block;
	padding: 20px 0;
	width: 100%;
}
#gnav  .navlist li img{width:auto;height:11px;margin: 0 auto;}
#gnav .tel{display: none;}
#gnav .btn{
	display: block;
	padding-top: 15px;
	text-align: right;
}
#gnav .btn li{
	position: relative;
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-left: 12px;
}
#gnav .btn li:nth-of-type(1),
#gnav .btn li:nth-of-type(2){
	float: left;
	margin: 0 12px 0 0;
}
#gnav .btn li:nth-of-type(3){
	box-sizing: border-box;
	border: solid 3px #ffffff;
	border-radius: 24px;
}
.navBtn .hambarg:nth-child(1) {
	position:absolute;
	top:30%;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	height:2px;
	width:20px;
	background:#ffffff;
	-webkit-transition:ease .2s;
	transition:ease .2s;
}
.navBtn .hambarg:nth-child(2) {
	position:absolute;
	top:50%;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	height:2px;
	width:20px;
	background:#ffffff;
	-webkit-transition:ease .2s;
	transition:ease .2s;
}
.navBtn .hambarg:nth-child(3) {
	position:absolute;
	top:70%;
	left:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	height:2px;
	width:20px;
	background:#ffffff;
	-webkit-transition:ease .2s;
	transition:ease .2s;
}
.action .hambarg:nth-child(1) { 
	top:50%;
	-webkit-transform:translate(-50%,-50%) rotate(45deg);
	transform:translate(-50%,-50%) rotate(45deg);
}
.action .hambarg:nth-child(2) { 
	top:50%;
	-webkit-transform:translate(-50%,-50%);
	transform:translate(-50%,-50%);
	opacity:0;
}
.action .hambarg:nth-child(3) { 
	top:50%;
	-webkit-transform:translate(-50%,-50%) rotate(-45deg);
	transform:translate(-50%,-50%) rotate(-45deg);
}

/* footer
------------------------------------------------*/
footer{padding-top:30px;position: relative;}
footer .box{
	float: none;
	width: 100%;
}
footer .box:nth-of-type(2){
	margin: 0 auto;
	text-align: center;
}
footer h2{
	float: none;
	width: 200px;
	margin: 0 auto;
}
footer dl{
	float: none;
	width: 100%;
	margin: 16px 0 0 0;
	text-align: center;
}
footer .gotop{
	display: none;
}
footer ul{margin: 30px auto 24px;text-align:center;}
footer ul li{
	display: inline-block;
	margin-left: 6px;
}
footer ul li img{
	width: auto;
	height: 40px;
}
footer .copy{
	text-align: center;
}
/* main共通
------------------------------------------------*/

/* secMessage
------------------------------------------------*/
.secMessage{}
.secMessage .lead{
	font-size: 18px;
}
/* secWorks
------------------------------------------------*/

.secWorks .box{
	float: none;
	margin: 40px auto 0 auto;
}
.secWorks .img{
	float: none;
	margin-left: auto;
	margin: 0 auto;
}
/* secOffice
------------------------------------------------*/

.secOffice dl{
	overflow: hidden;
	width: 100%;
	text-align: center;
}
.secOffice dl dt{
	float: none;
	width: 100%;
}
.secOffice dl dd{
	float: none;
	width: 100%;
	margin-bottom: 1em;
}
#map_canvas{
	height: 300px;
}
/* secContact
------------------------------------------------*/
.secContact .inner>.txt{text-align: center;margin-bottom: 45px;}
.secContact .box{
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 30px;
}
.secContact .box:nth-of-type(1){
	float: none;
	margin-left: 0;
	margin-bottom: 30px;
}
.secContact .box:nth-of-type(2){
	float: none;
	margin-right: 0;
}


}/* 960px以下用の記述 */

/* 767px以下用の記述
----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 767px) {
/* header
------------------------------------------------*/
#key .lead{font-size: 16px;}
/* secWorks
------------------------------------------------*/
.secWorks .inner{
	position: relative;
	width: 94%;
	padding-bottom: 40px;
}
.secWorks .box{
	position: static;
	width: 100%;
	max-width: 380px;
	height: auto;
	margin: 0 auto;
}
.secWorks h3{
	position: relative;
	margin-bottom:0;
	font-size: 24px;
	line-height: 1.0;
}
.secWorks .img{
	position: relative;
	width: 100%;
	max-width: 380px;
	margin: 0 auto 20px;
}

}/* 767px以下用の記述 */

/* 480px以下用の記述
----------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 479px) {}/* 480px以下用の記述 */
