@charset "utf-8";

/* CSS Document */

/* @font-face { font-family: 'FOT-AnitoStd-M'; src: url(./FOT-AnitoStd-M.otf); } */

/*------------------------------------------------------------------------------------------------------------------
　base style
-------------------------------------------------------------------------------------------------------------------*/

body {
	color:#000000;
	font-size:16px;
	margin:0;
	height:100%;
	position:relative;
	font-family: "BIZ UDPGothic", "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:1.6;
	overflow-x:hidden;
}

.ipad #primary, .safari #primary {
	width: 1260px !important;
	max-width: 1260px !important;
	overflow: hidden !important;
}

@media screen and (max-width: 750px) {
	#primary, .safari #primary, .ios #primary {
		width: 750px !important;
		max-width: 750px !important;
		overflow: hidden;
	}
	body {
		font-size: 22px;
	}
}

a:link {color:#cf3434; text-decoration:underline;}
a:visited {color:#cf3434; text-decoration:underline;}
a:hover {color:#e59c0e; text-decoration:underline;}

img {
	border:0;
	vertical-align: bottom;
}

/*------------------------------------------------------------------------------------------------------------------
　preparation
-------------------------------------------------------------------------------------------------------------------*/

#lineup-font-size-sampler { display:none; }

div:after, section:after, article:after, ul:after {
    content: "";
    display: block;
    clear: both;
}

.link a {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:block;
	text-indent:100%;
	overflow:hidden;
	white-space:nowrap;
}

/*------------------------------------------------------------------------------------------------------------------
　expression
-------------------------------------------------------------------------------------------------------------------*/

.clear { clear:both; }

.under { margin-bottom:30px !important; }
.under-db { margin-bottom:60px !important; }
.under-harf { margin-bottom:15px !important; }

.right { float:right; margin-left:30px; margin-bottom:15px; margin-top:5px;}
.left { float:left; margin-right:30px; margin-bottom:15px; margin-top:5px;}

.text-center { text-align:center; }
.text-left { text-align:left; }
.text-right { text-align:right; }

.first { padding-top:0 !important; margin-top:0 !important; }
.last { padding-bottom:0 !important; margin-bottom:0 !important; }

.ro img:hover,.ro:hover {
	opacity:0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
}

.dropshadow {
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.17);
  -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.17);
  -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.17);
}

/* 画像のぼやけ対策 */
.rendering {
	backface-visibility: hidden;
	filter: blur(0);
	image-rendering: -webkit-optimize-contrast;
}

/*------------------------------------------------------------------------------------------------------------------
　img align for wordpress
-------------------------------------------------------------------------------------------------------------------*/

.aligncenter {
    display: block;
    margin: 0 auto;
	padding-bottom:25px;
	max-width:100%;
}
.alignright { float: right; margin-left:30px; margin-bottom:25px; max-width:100%; }
.alignleft { float: left; margin-right:30px; margin-bottom:25px; max-width:100%; }

.aligncenter img, .alignright img, .alignleft img {
	max-width:100%;
	height:auto;
}

@media screen and (max-width: 1140px) {
	.aligncenter {
		display: block;
		margin: 0 auto;
		padding-bottom:25px;
		max-width:100%;
		text-align:center;
	}
	.alignright { float: none; margin: 0 auto; margin-bottom:0; padding-bottom:25px; max-width:100%; text-align:center; }
	.alignleft { float: none; margin: 0 auto; margin-bottom:0; padding-bottom:25px; max-width:100%; text-align:center; }
}

/*------------------------------------------------------------------------------------------------------------------
　wp-pagenavi
-------------------------------------------------------------------------------------------------------------------*/

.wp-pagenavi {
	border-top:#d1d1d1 3px double;
	margin-top:40px;
	padding-top:40px;
	padding-bottom:40px;
	display:block !important;
	clear:both !important;
	text-align:center;
}

.wp-pagenavi a ,.wp-pagenavi span.pages, .wp-pagenavi span.extend {
		color:#333333 !important;
		text-shadow:0px 1px #F6F6F6 !important;
		padding:6px 12px 8px 12px !important;
		border:solid 1px #fedcd2 !important;
		box-shadow:0px 1px #EFEFEF !important;
		-moz-box-shadow:0px 1px #EFEFEF !important;
		-webkit-box-shadow:0px 1px #EFEFEF !important;
		background:#fedcd2 !important;
		background:-moz-linear-gradient(top,#fedcd2 1px,#F3F3F3 1px,#fedcd2) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#fedcd2),color-stop(0.02,#fedcd2),color-stop(1,#fedcd2)) !important;
		font-size:12px !important;
		margin-right:3px !important;
		text-decoration:none !important;
}	
.wp-pagenavi a:hover {
		color:#fff !important;
		text-shadow:0px 1px #de744c !important;
		border-color:#de744c !important;
		background:#de744c !important;
		background:-moz-linear-gradient(top,#de744c 1px,#de744c 1px,#de744c) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#de744c),color-stop(0.02,#de744c),color-stop(1,#de744c)) !important;
		color:#FFFFFF !important;
		box-shadow:0px 1px #E7E7E7 !important;
		-moz-box-shadow:0px 1px #E7E7E7 !important;
		-webkit-box-shadow:0px 1px #E7E7E7 !important;

}
 .wp-pagenavi span.current{
		padding:4px 12px 8px 12px !important;
		border:solid 1px #DCDCDC !important;
		color:#fff !important;
		font-size:14px;
		box-shadow:0px 1px #E7E7E7 !important;
		-moz-box-shadow:0px 1px #E7E7E7 !important;
		-webkit-box-shadow:0px 1px #E7E7E7 !important;
		margin-right:3px !important;
		text-shadow:0px 1px #de744c !important;
		border-color:#de744c !important;
		background:#de744c !important;
		background:-moz-linear-gradient(top,#de744c 1px,#de744c 1px,#de744c) !important;
		background:-webkit-gradient(linear,0 0,0 100%,color-stop(0.02,#de744c),color-stop(0.02,#de744c),color-stop(1,#de744c)) !important;
}

/*------------------------------------------------------------------------------------------------------------------
　primary
-------------------------------------------------------------------------------------------------------------------*/

#primary {
	width:100%;
	height:100%;
	min-width:640px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

@media screen and (max-width: 750px) {
	#primary {
		width: 750px;
		min-width: 750px;
		overflow: hidden;
	}
}

article {
	width:100%;
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	transition:0.3s;
	box-sizing:border-box;
}

@media screen and (max-width: 1200px) {
	article {
		width:100%;
		padding-left:30px;
		padding-right:30px;
	}
}

/*------------------------------------------------------------------------------------------------------------------
　mainvisual
-------------------------------------------------------------------------------------------------------------------*/

#mainvisual {
	margin-top: 120px;
	position: relative;
}

#mainvisual .panel {
	background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
	height: 670px;
}

#mainvisual .panel:nth-of-type(1) { background-image: url("../image/mainvisual/00.jpg"); }
#mainvisual .panel:nth-of-type(2) { background-image: url("../image/mainvisual/01.jpg"); }
#mainvisual .panel:nth-of-type(3) { background-image: url("../image/mainvisual/02.jpg"); }
#mainvisual .panel:nth-of-type(4) { background-image: url("../image/mainvisual/03.jpg"); }
#mainvisual .panel:nth-of-type(5) { background-image: url("../image/mainvisual/04.jpg"); }

#mainvisual .catch {
	background-image: url("../image/mainvisual/catch.png");
	background-position: top right;
	background-repeat: no-repeat;
	width: calc(644px + 130px);
	height: 225px;
	border-bottom: 4px solid #5bc0eb;
	box-sizing: border-box;
	position: absolute;
	bottom: 120px;
	left: 0;
	z-index: 98;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	transition: 0.2s;
}

@media screen and (max-width: 900px) {
	#mainvisual .catch {
		left: -100px;
	}
}
@media screen and (max-width: 750px) {
	#mainvisual .catch {
		bottom: 60px;
	}
}

/*------------------------------------------------------------------------------------------------------------------
　header
-------------------------------------------------------------------------------------------------------------------*/

header {
	width: 100%;
	height: 120px;
	background-color: #ffffff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	transition: 0.2s;
}

@media screen and (max-width: 1000px) {
	header {
		height: 200px;
		min-width: 750px;
	}
}

header .header-primary {
	position: relative;
}

header .header-primary .logo {
	position: absolute;
	top: 0;
	left: 50px;
	background-image: url("../image/header/logo.png");
	width: 300px;
	height: 300px;
	display: block;
	transition: 0.4s;
}

header .header-primary .logo.scroll, .subpage header .header-primary .logo {
	height: 120px;
	left: 0;
	background-position: bottom -11px left 0;
}

@media screen and (max-width: 1000px) {
	header .header-primary .logo {
		left: 50%;
		top: -165px;
		margin-left: -150px;
		transition: 0s;
	}
	header .header-primary .logo.scroll, .subpage header .header-primary .logo {
		left: 50%;
		top: -165px;
		margin-left: -150px;
		height: 300px;
		background-position: center;
	}
}

header .header-primary .logo a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

header .header-primary h1 {
	margin: 0;
	padding: 0;
	font-size: 14px;
	position: absolute;
	top: 35px;
	left: 393px;
	transition: 0.3s;
}

header .header-primary .logo.scroll+h1, .subpage header .header-primary .logo+h1 {
	left: 343px;
}

@media screen and (max-width: 1800px) {
	header .header-primary h1 {
		top: 20px;
	}
	header .header-primary h1 br {
		display: none;
	}
}

@media screen and (max-width: 1400px) {
	header .header-primary h1 {
		display: none;
	}
}

header .header-primary .option {
	position:absolute;
	top: 21px;
	right: 27px;
	width: 370px;
}

@media screen and (max-width: 1400px) {
	header .header-primary .option {
		width: 262px;
	}
}

@media screen and (max-width: 950px) {
	header .header-primary .option {
		width: 70px;
	}
}

header .header-primary .option p {
	margin: 0;
	padding: 0;
	font-size: 16px;
	color: #3c3c3c;
	text-align: right;
	display: block;
	padding-bottom: 5px;
}

header .header-primary .option p span {
	color: #fa7921;
}

@media screen and (max-width: 950px) {
	header .header-primary .option p {
		display: none;
	}
}

header .header-primary .option .tel {
	background-image: url("../image/header/tel.png");
	width: 370px;
	height: 48px;
	transition: 0.2s;
}

@media screen and (max-width: 1400px) {
	header .header-primary .option .tel {
		background-image: url("../image/header/tel_tab.png");
		width: 262px;
	}
}

@media screen and (max-width: 950px) {
	header .header-primary .option .tel {
		background-image: url("../image/header/tel_sp.png");
		background-position: center top;
		background-repeat: no-repeat;
		background-size: contain;
		width: 70px;
		height: 70px;
		backface-visibility: hidden;
		filter: blur(0);
		image-rendering: -webkit-optimize-contrast;
	}
}

header .header-primary .option .tel a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	transition: 0.2s;
}

header .header-primary .option .tel a:hover {
	background-color: rgba(255,255,255,0.2);
}

/*------------------------------------------------------------------------------------------------------------------
　navi
-------------------------------------------------------------------------------------------------------------------*/

header nav {
	position: absolute;
	top: 0;
	right: 425px;
	transition: 0.3s;
}

@media screen and (max-width: 1800px) {
	header nav {
		left: 387px;
		right: inherit;
		top: 65px;
	}
	header .header-primary .logo.scroll+h1+nav, .subpage header .header-primary .logo+h1+nav {
		left: 338px;
	}
}

@media screen and (max-width: 1400px) {
	header nav {
		top: 7px;
	}
}

@media screen and (max-width: 1220px) {
	header nav {
		top: 23px;
	}
}

@media screen and (max-width: 1000px) {
	header nav {
		left: 0;
		right: inherit;
		top: 152px;
		width: 100%;
		text-align: center;
		min-width: 750px;
	}
	header .header-primary .logo.scroll+h1+nav, .subpage header .header-primary .logo+h1+nav {
		left: 0;
	}
}

header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav ul br {
	display: none;
}

@media screen and (max-width: 1220px) {
	header nav ul br {
		display: block;
	}
}
@media screen and (max-width: 1000px) {
	header nav ul br {
		display: none;
	}
}

header nav ul li {
	display: inline-block;
}

header nav ul li a {
	font-size: 22px !important;
	color: #646464 !important;
	display: inline-block !important;
	text-decoration: none !important;
	font-weight: bold;
	box-sizing: border-box;
	padding-top: 45px;
	padding-bottom: 36px;
	padding-left: 15px;
	padding-right: 15px;
	transition: 0.2s;
	border-bottom: 4px solid #ffffff;
}

@media screen and (max-width: 1900px) {
	header nav ul li a {
		padding-left: 5px;
		padding-right: 5px;
	}
}

@media screen and (max-width: 1800px) {
	header nav ul li a {
		padding-top: 0;
		padding-bottom: 16px;
	}
}

@media screen and (max-width: 1400px) {
	header nav ul li a {
		font-size: 18px !important;
		padding-top: 45px;
		padding-bottom: 36px;
	}
}

@media screen and (max-width: 1220px) {
	header nav ul li a {
		padding-top: 0;
		padding-bottom: 6px;
		margin-bottom: 6px;
	}
}

@media screen and (max-width: 1000px) {
	header nav ul li a {
		padding-bottom: 9px;
		padding-left: 15px;
		padding-right: 15px;
		font-size: 22px !important;
	}
}

header nav ul li a:hover {
	border-bottom: 4px solid #5bc0eb;
	color: #5bc0eb !important;
}

/*------------------------------------------------------------------------------------------------------------------
　sidebar
-------------------------------------------------------------------------------------------------------------------*/

#sidebar {
	display: none;
	position: fixed;
	top: 0;
	right: -320px;
	z-index: 100;
	transition: 0.3s;
	background-color: #151515;
	width: 100%;
	height: 100%;
	max-width: 320px;
	box-sizing: border-box;
	padding-top: 30px;
}

.iphone #sidebar, .iphone #android, .iphone #ipad {
	overflow: scroll;
}

#sidebar.active {
	right: 0;
}

#sidebar-button {
	display: none;
	position: fixed;
	top: 30px;
	right: 30px;
	width: 80px;
	height: 80px;
	background-color: #0039b7;
	z-index: 100;
	box-sizing: border-box;
	padding-top: 14px;
	padding-left: 15px;
	transition: 0.3s;
}

#sidebar-button.active {
	right: 340px;
}

#sidebar-button button {
	transform: scale(0.8,0.8);
	transform-origin: center;
}

@media screen and (max-width: 1150px) {
	#sidebar {
		display: block;
	}
	#sidebar-button {
		display: block;
	}
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 50px;
  height: 44px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 20px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger span:nth-of-type(1) {
  animation: menu-bar01 .75s forwards;
}
@keyframes menu-bar01 {
  0% {
    transform: translateY(20px) rotate(45deg);
  }
  50% {
    transform: translateY(20px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.menu-trigger span:nth-of-type(2) {
  transition: all .25s .25s;
  opacity: 1;
}
.menu-trigger span:nth-of-type(3) {
  animation: menu-bar02 .75s forwards;
}
@keyframes menu-bar02 {
  0% {
    transform: translateY(-20px) rotate(-45deg);
  }
  50% {
    transform: translateY(-20px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.menu-trigger.active span:nth-of-type(1) {
  animation: active-menu-bar01 .75s forwards;
}
@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(20px) rotate(0);
  }
  100% {
    transform: translateY(20px) rotate(45deg);
  }
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  animation: active-menu-bar03 .75s forwards;
}
@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(0);
  }
  100% {
    transform: translateY(-20px) rotate(-45deg);
  }
}

/*------------------------------------------------------------------------------------------------------------------
　footer
-------------------------------------------------------------------------------------------------------------------*/

#footer {
	width:100%;
	background-color: #5bc0eb;
	padding-top: 70px;
	padding-bottom: 160px;
}

#footer .logo {
	background-image:url("../image/footer/logo.png");
	width: 842px;
	height: 249px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

@media screen and (max-width: 750px) {
	#footer .logo {
		margin-left: -58px;
		margin-top: -30px;
	}
}

#footer .logo a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

#footer p {
	font-weight: bold;
	color: #ffffff;
	display: block;
	text-align: center;
	margin: 0;
	padding: 0;
	margin-top: -70px;
	padding-left: 30px;
	padding-right: 30px;
	position: relative;
	z-index: 2;
}

#footer .cc {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: block;
	box-sizing: border-box;
	padding-top: 35px;
	padding-bottom: 35px;
	text-align: center;
	background-color: #ffffff;
}

@media screen and (max-width: 750px) {
	#footer .cc {
		text-align: left;
		padding-left: 30px;
	}
}

.topback a {
	position:fixed;
	bottom:30px;
	right:30px;
	background-image:url(../image/footer/topback.png);
	width:103px;
	height:103px;
	display:block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	transition: 0.2s;
	z-index: 100;
}

.topback a:hover {
	bottom: 40px;
}

/*------------------------------------------------------------------------------------------------------------------
　additional
-------------------------------------------------------------------------------------------------------------------*/

#contents-primary {
	position:relative;
}

#contents {
	position:relative;
}

.subpage #contents-primary {
	padding-top: 120px;
}

@media screen and (max-width: 1000px) {
	.subpage #contents-primary {
		padding-top: 200px;
	}
}

/*----------------------------------------------------------------------------
   home
------------------------------------------------------------------------------*/

#house-trouble {
	padding-top: 70px;
	padding-bottom: 70px;
	position: relative;
}

#house-trouble h2 {
	background-image: url("../image/contents/top/muryou-comment.png");
	width: 358px;
	height: 186px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 70px;
	left: 0;
}

@media screen and (max-width: 1220px) {
	#house-trouble h2 {
		background-image: url("../image/contents/top/muryou-comment_tab.png");
		width: 552px;
		height: 135px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 30px;
		position: relative;
		top: inherit;
		left: inherit;
	}
}

.diagnosis {
	padding-left: 418px;
	letter-spacing: -.4em;
}

@media screen and (max-width: 1220px) {
	.diagnosis {
		padding-left: 0;
		text-align: center;
	}
}

.diagnosis-yanegaiheki {
	position: relative;
	background-image: url("../image/contents/top/shindan01.png");
	background-position: center top;
	background-repeat: no-repeat;
	width: 366px;
	height: 180px;
	display: inline-block;
	letter-spacing: normal;
}

.diagnosis-tosou {
	position: relative;
	background-image: url("../image/contents/top/shindan02.png");
	background-position: center top;
	background-repeat: no-repeat;
	width: 366px;
	height: 180px;
	display: inline-block;
	margin-left: 50px;
	letter-spacing: normal;
}

@media screen and (max-width: 860px) {
	.diagnosis-yanegaiheki, .diagnosis-tosou {
		width: 50%;
		margin-left: 0;
		margin-right: 0;
		display: block;
		float: left;
		background-size: contain;
	}
}

.diagnosis div a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

#construction {
	background-color: #f4f4f4;
	padding-top: 70px;
	padding-bottom: 70px;
}

#construction article {
	width: 100%;
	padding-right: 574px;
	box-sizing: border-box;
}

@media screen and (max-width: 1220px) {
	#construction article {
		padding-right: 400px;
		padding-left: 30px;
	}
}

@media screen and (max-width: 1060px) {
	#construction article {
		padding-right: 30px;
	}
}

#construction h2 {
	background-color: #9bc53d;
	background-image: url("../image/contents/top/construction.png");
	background-position: center right 105px;
	background-repeat: no-repeat;
	width: 985px;
	height: 140px;
	margin-left: -360px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	margin-bottom: 50px;
	color: #9bc53d;
}

#construction h3 {
	font-size: 36px;
	color: #5bc0eb;
	margin: 0;
	padding: 0;
	margin-bottom: 20px;
}

#construction p {
	margin: 0;
	padding: 0;
}

.tw-iframe {
	width: 524px;
	height: 492px;
	position: absolute;
	top: 0;
	right: 0;
	overflow: scroll;
	overflow-x: hidden;
}

@media screen and (max-width: 1220px) {
	.tw-iframe {
		width: 320px;
		right: 30px;
	}
}
@media screen and (max-width: 1060px) {
	.tw-iframe {
		width: 100%;
		position: relative;
		right: inherit;
		top: inherit;
		margin-top: 50px;
	}
}

.sns-button-primary {
	width: calc(100% + 50px);
	padding-top: 50px;
}

.sns-button-primary .button {
	background-color: #ffffff;
	background-position: center;
	background-repeat: no-repeat;
	width: calc(50% - 50px);
	margin-right: 50px;
	height: 100px;
	display: block;
	float: left;
	position: relative;
}

.sns-button-primary .button a {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	transition: 0.2s;
	border: 3px solid #ffffff;
}

.sns-button-primary .button a:hover {
	border: 3px solid #5bc0eb;
}

.sns-button-primary .button.twitter {
	background-image: url("../image/contents/top/twitter.png");
}

.sns-button-primary .button.facebook {
	background-image: url("../image/contents/top/facebook.png");
}

.sns-button-primary .button.instagram {
	background-image: url("../image/contents/top/insta.png");
}

#service {
	background-image: url("../image/contents/top/service-back.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	min-height: 878px;
	padding-top: 70px;
}

#service h2 {
	background-image: url("../image/contents/top/service-title.png");
	width: 300px;
	height: 87px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 70px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

.service-list-primary {
	width: calc(100% + 15px);
	margin-left: -13px;
}

.service-list-primary .list {
	width: calc(25% - 15px);
	max-width: 300px;
	height: 0;
	padding-top: 25%;
	background-size: contain;
	margin-right: 15px;
	background-position: top left;
	background-repeat: no-repeat;
	float: left;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	backface-visibility: hidden;
	filter: blur(0);
	image-rendering: -webkit-optimize-contrast;
}

@media screen and (max-width: 1000px) {
	#service {
		background-size: cover;
		padding-bottom: 40px;
	}
	.service-list-primary .list {
		width: calc(33.333% - 15px);
		margin-bottom: 30px;
		padding-top: 29%;
	}
}

.service-list-primary .list:nth-of-type(1) { background-image: url("../image/contents/top/service01.png"); }
.service-list-primary .list:nth-of-type(2) { background-image: url("../image/contents/top/service02.png"); }
.service-list-primary .list:nth-of-type(3) { background-image: url("../image/contents/top/service03.png"); }
.service-list-primary .list:nth-of-type(4) { background-image: url("../image/contents/top/service04.png"); }
.service-list-primary .list:nth-of-type(5) { background-image: url("../image/contents/top/service05.png"); }
.service-list-primary .list:nth-of-type(6) { background-image: url("../image/contents/top/service06.png"); }
.service-list-primary .list:nth-of-type(7) { background-image: url("../image/contents/top/service07.png"); }
.service-list-primary .list:nth-of-type(8) { background-image: url("../image/contents/top/service08.png"); }

#gosoudan {
	padding-bottom: 70px;
}

#gosoudan h2 {
	background-image: url("../image/contents/top/gosoudan-title.png");
	background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
	height: 102px;
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

.gosoudan-list-primary {
	width: calc(100% + 50px);
}

.gosoudan-list-primary .list {
	width: calc(33.333% - 50px);
	margin-right: 50px;
	float: left;
}

@media screen and (max-width: 900px) {
	#gosoudan {
		padding-top: 70px;
	}
	.gosoudan-list-primary {
		width: 100%;
	}
	.gosoudan-list-primary .list {
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
		float: none;
		backface-visibility: hidden;
		filter: blur(0);
		image-rendering: -webkit-optimize-contrast;
	}
}

.gosoudan-list-primary .list:nth-of-type(1) { background-color: #9bc53d; }
.gosoudan-list-primary .list:nth-of-type(2) { background-color: #5bc0eb; }
.gosoudan-list-primary .list:nth-of-type(3) { background-color: #fa7921; }

.gosoudan-list-primary .list .thum {
	width: 100%;
	height: 212px;
	display: block;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	margin-bottom: 20px;
}

.gosoudan-list-primary .list:nth-of-type(1) .thum { background-image: url("../image/contents/top/gosoudan01.png"); }
.gosoudan-list-primary .list:nth-of-type(2) .thum { background-image: url("../image/contents/top/gosoudan02.png"); }
.gosoudan-list-primary .list:nth-of-type(3) .thum { background-image: url("../image/contents/top/gosoudan03.png"); }

.gosoudan-list-primary .list h3 {
	color: #ffffff;
	font-size: 32px;
	margin: 0;
	padding-top: 0;
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 0;
}

.gosoudan-list-primary .list p {
	color: #ffffff;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 30px;
	padding-left: 30px;
	padding-right: 30px;
}

#company {
	position: relative;
	background-color: #f4f4f4;
	background-image: url("../image/contents/top/company-back.png");
	background-repeat: no-repeat;
	background-position: bottom left;
	padding-top: 70px;
	padding-bottom: 70px;
}

#company article {
	padding-left: 350px;
	box-sizing: border-box;
}

#company .logo {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url("../image/header/logo.png");
	width: 300px;
	height: 300px;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}

@media screen and (max-width: 1220px) {
	#company {
		background-image: none;
	}
	#company .logo {
		left: 30px;
	}
	#company article {
		padding-left: 380px;
	}
}

@media screen and (max-width: 1000px) {
	#company .logo {
		position: relative;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50px;
		top: inherit;
		left: inherit;
	}
	#company article {
		padding-left: 30px;
	}
}

#company h2 {
	color: #000000;
	font-size: 30px;
	margin: 0;
	padding: 0;
	margin-bottom: 30px;
}

.company-detail {
}

.company-detail ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.company-detail ul li {
	position: relative;
	border-bottom: 1px solid #d3d3d3;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.company-detail ul li span {
	position: absolute;
	top: 0;
	left: 25px;
	color: #5bc0eb;
	font-weight: bold;
}

.company-detail ul li p {
	margin: 0;
	padding: 0;
	padding-left: 140px;
}

.company-detail ul li br {
	display: none;
}

@media screen and (max-width: 750px) {
	.company-detail ul li br {
		display: block;
	}
}

#contact {
	padding-top: 70px;
	padding-bottom: 70px;
	background-image: url("../image/contents/top/contact-back.jpg");
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
}

#contact h2 {
	background-image: url("../image/contents/top/contact-title.png");
	background-position: center top;
	background-repeat: no-repeat;
	width: 553px;
	height: 162px;
	margin: 0;
	padding: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
}