/*
Theme Name: diamond
Author: Diamond Keibi
Author URI: https://d-keibi.co.jp
Description: ダイヤモンド警備のwordpressテーマ
Version: 1.0
Text Domain: my-custom-theme
*/

*{
	margin:0; padding:0; 
	font-family: 游ゴシック, YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",  sans-serif;
	font-size:10pt;
	list-style:none;
	text-decoration:none;
	color:#333;
}

a:hover{
	text-decoration:none;
}
img{
	border:none;
}
#contents{
	position:relative;
	overflow:hidden;
}
a:hover{
	text-decoration:none;
}

/* ////////////////////////////header///////////////////////////// */
#h-line{
	background:#001540;
	//width:100%; 
	height:8px;
	margin-bottom:1px;
}
header{
	margin-top:9px;
	border-top:8px solid #d9c22b;	
	//width:100%;
	height:90px;
	box-sizing:border-box;
	border-top:2px solid #d9c22b;
	margin:0 auto;
	box-shadow:0 2px 2px #ddd;
}
#header-inner{
	width:1000px; height:90px;
	margin:0 auto;
	//padding:0 20px;
	position:relative;
}
#header-inner h1{
	position:absolute;	
	left:20px; top:0px;
	width:233px; height:55px;
	background:url(images/logo.jpg) no-repeat;
	text-indent:-9999;
}
#header-inner h1 a{
	display:block;
	width:233px; height:55px;
	text-indent:-9999px;
}
#header-inner .jusho{
	position:absolute;
	left:20px; top:54px;
}
#header-inner .catch-copy{
	position:absolute;
	right:20px; top:4px;
	text-align:right;	
}
#header-inner .tel-num{
	position:absolute;
	right:20px; top:40px;
	font-size:20pt;
	font-weight:bold;
	height:26px;
	line-height:32px;
	color:#03aac5;
	padding-left:40px;
	background:url(images/tel-bg.png) no-repeat;
}

/* /////////////////////////main-pic//////////////////////////// */
#main-pic{
	//width:100%; 
	height:210px;
	padding:20px 0;
	background-position:center top;
	background:url(images/slider-bg.png) no-repeat;
	
}
#main-pic img{
	display:block;
	margin:auto;
}


/* //////////////////////////globalnavi/////////////////////////// */
#n-line{
	background:#d9c22b;
	//width:100%; 
	height:6px;
	margin-top:1px;
}
nav#global{
	//width:100%; 
	height:60px;
	background:#001540;
	margin:0 auto;
	box-shadow:0 2px 2px #ddd;
	z-index:9999
}
nav#global ul{
	width:960px; height:60px;
	background-position:center top;
	margin:0 auto;
	overflow:hidden;
}
nav#global ul li{
	width: 14.285%;
	height:60px;
	float:left;
	text-align:center;
}
nav#global ul li a{
	height:60px;
 	display:block;
	text-align:center;
	line-height:60px;
	color:#fff;
	font-size:12pt;
	letter-spacing:1.5px;
}

/* //////////////////////contents//////////////////////////////// */
#bg{
	//width:100%; 
	margin:auto;
	//background:url(images/contents-bg.png) no-repeat;
	background-position:center bottom;
}
#main-pic img{
	width:1000px; height:210px;
	margin:auto;
	box-shadow:0px 1px 1px #999;
}
#contents{
	margin:0 auto;
	width:960px;
	padding:20px 20px 80px;
	margin:0 auto;
	overflow:hidden;
	background:#fff;
	margin-top:5px;
	margin-bottom:5px;
	box-shadow:0px 2px 2px #aaa;
	line-height:200%;
}

#bg{
	//width:100%;
	background:url(images/contents-bg2.png) no-repeat;
	background-position:center bottom;
}

#main{
	width:720px;
	float:left;
	overflow:hidden;
}
#main .wrap{
	clear:both;
	overflow:hidden;
	margin-bottom:40px;
}

#main h2{
	font-size:16pt;
	letter-spacing:1px;
	border-bottom:1px solid #ddd;
	margin-bottom:10px;
	font-family: "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", ＭＳ Ｐ明朝, serif;
	padding-bottom:10px;
}
#main h2 span{
	color:#03aac5;
	font-size:16pt;
	letter-spacing:1px;
	margin-right:10px;
	font-weight:bold;
	padding-bottom:10px;
	font-family: "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", ＭＳ Ｐ明朝, serif;
}
#main h3{
	background:#03aac5;
	padding:3px 10px;
	color:#fff;
	font-size:11pt;
	font-weight:normal;
	margin-top:20px;
}


/* ///////////////////////side-bar/////////////////////////////// */

#side-bar{
	width:220px;
	float:right;
}
#side-bar .banner{
	display:block;
	width:220px; height:90px;
	margin-bottom:20px;
}

/* //////////////////////footer////////////////////////////////// */
footer{
	//width:100%; 
	height:120px;
	border-bottom:30px solid #001540;
	box-sizing:border-box;
	background:#efefef;
	box-shadow:0 -2px 2px #ddd;
}
#footer-inner{
	width:960px; height:120px;
	margin:0 auto;	
	position:relative;
}
#footer-inner h1{
	position:absolute;	
	left:20px; top:0px;
	width:233px; height:55px;
	background:url(images/logo2.jpg) no-repeat;
}
#footer-inner h1 a{
	width:233px; height:55px;
	display:block;
	text-indent:-9999px;
}

#footer-inner nav{
	position:absolute;
	right:0; top:20px;
}
#footer-inner nav ul{
	overflow:hidden;
}
#footer-inner nav ul li{
	float:left;
	padding:0 20px;
	border-right:1px solid #333;
}
#footer-inner nav ul li a{
	text-decoration:underline;
}
#footer-inner nav ul li a:hover{
	text-decoration:none;
}
#footer-inner .copy-rights{
	position:absolute;
	right:20px; bottom:5px; 
	text-align:right;
	color:#fff;
}
#footer-inner .jusho{
	position:absolute;
	left:20px; bottom:5px; 
	text-align:left;
	color:#fff;
}
#footer-inner nav ul.menu{
	margin-bottom:10px;
}
#footer-inner nav a.sub-navi{
	font-size: 12px;
    text-decoration: underline;
}
#footer-inner nav a.sub-navi:hover{
	text-decoration:none;
}
/* ************************20160721 privacy-policyのスタイル追加*************************** */
.madoguchi{
	padding:20px; 
	background:#efefef; 
	border:1px solid #ddd; 
	margin-bottom:20px;
}
.kyakuchu{
	margin-bottom:20px;
}
.sign{
	text-align:right;
}
.naiyo li{
	margin-bottom:10px;
}
.danraku{
	margin-bottom:20px;
}
.child-ol{
	padding-left:40px;
}
table.danraku{
	border-collapse:collapse;
	width:100%;
	border:1px solid #ddd;
}
#main table.danraku th{
	background:#efefef;
	border:1px solid #ddd;
	width:50%;
	text-align:center;
}
#main table.danraku td{
	border:1px solid #ddd;
	text-align:center;
}



/* ************************20211219AEC,RECRUITのスタイル追加*************************** */
.outer{
	width: 100%;
	position: relative;
}
.inner{
	max-width: 960px;
	margin: 0 auto;
	position: relative;
}
/* ++++++++++++++++++++AED++++++++++++++++++++++++ */
#aed-key-visual{
	background-color: #f8f8fa;
	margin-bottom: 40px;
}
#aed-key-visual .pic{
	width: 354px;
}
#aed-key-visual:before{
	content: "";
	display: block;
	width: 50%;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	background-image: url(images/aed-key-visual.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left center;
}
#aed-key-visual .inner{
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 400px;
}
.aed-page-ttl{
	font-size: 60px;
	margin-bottom: 20px;
	line-height: 1;
}
.aed-page-ttl span{
	font-size: 36px;
	margin-left: .5em;
}
/* +++++++++++++++++++AEDセクションstyle+++++++++++++++++++ */
.sec{
	padding-top: 40px;
	padding-bottom: 40px;
}
.sec *{
	box-sizing: border-box;
}
.aed-ttl01{
	font-size: 24px;
	color: #fff;
	padding: .5em;
	border-radius: 4px;
	line-height: 1.4;
	display: flex;
	align-items: center;
	background: #0FA36A;
	margin-bottom: 30px;
}
.aed-ttl02{
	font-size: 22px;
	padding-bottom: .25em;
	border-bottom: 3px solid #0fa36a;
	color: #0fa36a;
	margin-bottom: 20px;
}
.parag{
	line-height: 2;
	font-weight: 500;
	font-size: 16px;
}
.parag strong{
	font-weight: 700;
	color: #f93608;
	font-size: 110%;
}
#sec02 .aed-ttl02,
#sec05 .aed-ttl02{
	margin-top: 30px;
}
.pic img{
	width: 100%;
	display: block;
}
figcaption{
	margin-top: 1em;
	font-size: 14px;
	margin-bottom: 1.5em;
}
figcaption a{
	color: #0fa36a;
	text-decoration: underline;
}
#sec03 ul{
	display: flex;
	justify-content: space-between;
}
#sec03 li{
	width: 300px;
}
#sec03 .pic{
	width: 50%;
	margin: 0 auto 20px;
}
#sec03 .parag{
	font-weight: 700;
	
}
#sec04 .parag{
	text-align: center;
}
#sec04 .pic{
	max-width: 641px;
	margin: 20px auto 15px;
}
.aed-movie{
	position: relative;
	width: 100%;
	height: 540px;
	border: 5px solid #ddd;
}
#sec05 #movie{
	position: absolute;
	left: 0;
	top: 0;
	margin: auto;
	width: 100%;
	height: 100%;
}
#sec05 .flex{
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: flex-start;
}
#sec05 .flex .pic{
	width: calc(50% - 20px);
}
#sec05 .flex .txt{
	width: calc(50% - 20px);
	border-radius: 10px;
	background: #f8f8fa;
	padding: 2em;
}
#sec05 h4{
	font-size: 16px;
	color: #0fa36a;
	margin: 15px 0 .25em;
	line-height: 1.5;
}
#sec05 .flex li{
}
#sec05 .flex li .pic{
	width: 180px;
	margin-top: 1em;
}
.fuzokuhin{
	display: flex;
	line-height: 2;
	flex-wrap: wrap;
	font-weight: 600;
}
.fuzokuhin li{
	margin-right: 1em;
}
.fuzokuhin li:before{
	content: "・";
	display: inline;
}
.option{
	display: flex;
	flex-wrap: wrap;
}
.option li{
	width: 230px;
	margin-right: 20px;
}
#sec05 h5{
	font-size: 16px;
	margin-top: .5em;
	text-align: center;
}



/* +++++++++++++++++++recruit style+++++++++++++++++++ */
.saiyou-flow{
	margin-top: 30px;
	position: relative;
}
.saiyou-flow dl{
	display: flex;
	flex-wpap: wrap;
	align-items: center;
	justify-content: space-between;
	line-height: 1.5;
	margin-bottom: 40px;
	font-weight: 600;
	font-size: 16px;
	position: relative;
	z-index: 9;
}
.saiyou-flow:before{
	content: "";
	display: block;
	width: 0;
	height: 100%;
	border-left: 3px dotted rgba(3,170,197,.3);
	position: absolute;
	left: 45px;
	top: 0;
}
.saiyou-flow dt{
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: #03aac5;
	color: #fff;
	font-weight: 600;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	flex-direction: column;
	
}
.saiyou-flow dt span{
	display: block;
	color: #fff;
	font-weight: 600;
	font-size: 120%;;
}
.saiyou-flow dd{
	width: calc(100% - 100px);
}
table.saiyou-tbl{
	border-collapse: collapse;
	border-top: none;
	table-layout: fixed;
	width: 100%;
	margin-top: 30px;
	margin-bottom: 40px;
}
table.saiyou-tbl th{
	background: #f8f8fa;
	font-weight: 600;
	border: 1px solid #ddd;
	font-weight: 600;
	padding: .5em;
}
table.saiyou-tbl td{
	border: 1px solid #ddd;
	padding: .5em;
}
form table{
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border-top: 1px solid #ddd;
	margin-top: 30px;
	margin-bottom: 20px;
}
form tr{
	border-bottom: 1px solid #ddd;
}
form th,
form td{
	padding: 15px 0;
}
form th{
	width: 25%;
}
form td{
	width: 75%;
}
input[type='submit']{
	margin: 0 auto;
	display: block;
}



/* ++++++++++++++++++++++responsive style++++++++++++++++++++++ */
@media screen and (max-width: 768px){
	*{
		box-sizing: border-box;
	}
	html{
		font-size: 62.5%;
	}

	body{
		font-size: 1.3rem;
	}



/* ////////////////////////////header///////////////////////////// */
	#h-line{
		width:100%; 
		height:4px;
	}
	header{
		height:auto;
		border-top:2px solid #d9c22b;
		margin:0 auto;
		box-shadow:0 2px 2px #ddd;
	}
	#header-inner{
		width:100%; 
		height:40px;
	}
	#header-inner h1{
		left:1rem;
		width:140px; 
		height:34px;
		background-size: 100% auto;
	}
	#header-inner h1 a{
		width:100%; 
		height:100%;
	}
	#header-inner .jusho{
		display: none;
	}
	#header-inner .catch-copy{
		display: none;
	}
	#header-inner .tel-num{
		display: none;
	}

/* /////////////////////////main-pic//////////////////////////// */
	#main-pic{
		width:100%; 
		height:auto;
		padding:15px;
		
	}
	#main-pic img{
		display:block;
		margin:auto;
	}


/* //////////////////////////globalnavi/////////////////////////// */
	nav#global{
		width:100%; 
		height:100%;
		background:#001540;
		margin:0 auto;
		box-shadow:none;
		position: fixed;
		left: 0;
		top: 47px;
		overflow-y: auto;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		display: none;
	}
	nav#global ul{
		width:100%;
		height:auto;
		background:none;
	}
	nav#global ul li{
		width:100%; 
		height:50px;
		float:none;
		text-align:left;
		border-bottom: 1px solid rgba(255,255,255,.4);
	}
	nav#global ul li a{
		width:100%; 
		height:100%;
		text-align:left;
		line-height:50px;
		color:#fff;
		font-size:1.6rem;
		font-weight: 600;
	}

/* //////////////////////#menu-btn//////////////////////////////// */
	#menu-btn{
		width: 4rem;
		height: 4rem;
		position: absolute;
		right: 0;
		top: 0;
		background: #ddd;
		z-index: 99;
		transition: .15s all ease;
	}
	.opened #menu-btn{
		background: none;
	}
	#menu-btn span{
		width: 50%;
		height: 1px;
		background: #000;
		display: block;
		position: absolute;
		right: 25%;
		top: 0;
		bottom: 0;
		margin: auto;
		transition: .15s all ease;
	}
	#menu-btn span:nth-of-type(1){
		transform: translateY(-0.6rem);
	}
	#menu-btn span:nth-of-type(2){
		width: 33%;
	}
	#menu-btn span:nth-of-type(3){
		transform: translateY(.6rem);
		width: 16.5%;
	}
	#menu-btn.opened span:nth-of-type(1){
		transform: translateY(0) rotate(-45deg);
		width: 40%;
		left: 0;
		right: 0;
		margin: auto;
	}
	#menu-btn.opened span:nth-of-type(3){
		transform: translateY(0) rotate(45deg);
		width: 40%;
		left: 0;
		right: 0;
		margin: auto;
	}
	#menu-btn.opened span:nth-of-type(2){
		opacity: 0;
		filter: alpha(opacity=0);
		left: 0;
	}

/* //////////////////////contents//////////////////////////////// */
	#bg{
		width:100%;
	}
	#main-pic img{
		width:100%; 
		height:auto;
		margin:auto;
		box-shadow:0px 1px 1px #999;
	}
	#contents{
		margin:0 auto;
		width:100%;
		padding:2rem 1.5rem 4rem;
		margin-top:5px;
		margin-bottom:5px;
	}

	#bg{
		width:100%;
		padding: 3rem 1.5rem;
	}

	#main{
		width:100%;
		float:none;
	}
	#main .wrap{
		clear:both;
		overflow:hidden;
		margin-bottom:40px;
	}

	#main h2{
		font-size:1.6rem;
		font-family: "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", ＭＳ Ｐ明朝, serif;
		padding-bottom: .5rem;
	}
	#main h2 span{
		font-size:1.6rem;
		margin-right:.5em;
		padding-bottom:.5rem;
		font-family: "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", ＭＳ Ｐ明朝, serif;
	}
#main h3{
	background:#03aac5;
	padding:3px 10px;
	color:#fff;
	font-size:11pt;
	font-weight:normal;
	margin-top:20px;
}


/* ///////////////////////side-bar/////////////////////////////// */

	#side-bar{
		float:none;
		margin: 0 auto 0;
	}
	#side-bar .banner{
		display:block;
		width:100%; 
		height:auto;
	}

/* //////////////////////footer////////////////////////////////// */
	footer{
		width:100%; 
		height:auto;
		border-bottom: none;
		box-sizing:border-box;
		background:#efefef;
		box-shadow:0 -2px 2px #ddd;
	}
	#footer-inner{
		width:100%; 
		height:auto;
	}
	#footer-inner h1{
		position:relative;	
		left:auto;
		margin: 0 auto 10px;
		width:140px; 
		height:34px;
		background-size: 100% auto;
	}
	#footer-inner h1 a{
		width:100%; 
		height:100%;
	}

	#footer-inner nav{
		position:relative;
		right:auto; 
		top:auto;
	}
	#footer-inner nav ul{
		overflow:hidden;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	#footer-inner nav ul li{
		float:none;
		padding:0 1rem;
		border-right:none;
	}
	#footer-inner .copy-rights{
		position:relative;
		right:auto; 
		bottom:auto; 
		text-align:center;
		background: #001540;
		padding: .5em 0;
		width: 100%;
		font-size: 1.1rem;
		margin-top: 3rem;
	}
#footer-inner .jusho{
	position: relative;
	text-align: center;
	left: auto;
	bottom: auto;
	color: #333;
	margin-bottom: 20px;
	font-size: 1.2rem;
}
#footer-inner nav ul.menu{
	margin-bottom:10px;
}
#footer-inner nav a.sub-navi{
	font-size: 12px;
    text-decoration: underline;
}
#footer-inner nav a.sub-navi:hover{
	text-decoration:none;
}














/* ************************20211219AEC,RECRUITのスタイル追加*************************** */
	.outer{
		width: 100%;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	.inner{
		max-width: 100%;
	}
/* ++++++++++++++++++++AED++++++++++++++++++++++++ */
	#aed-key-visual{
		margin-bottom: 3rem;
	}
	#aed-key-visual .pic{
		width: 44%;
	}
	#aed-key-visual .inner{
		height: 160px;
	}
	.aed-page-ttl{
		font-size: 2.4rem;
		margin-bottom: 1rem;
	}
	.aed-page-ttl span{
		font-size: 1.6rem;
	}
	#aed-key-visual:before{
		width: 60%;
	}
/* +++++++++++++++++++AEDセクションstyle+++++++++++++++++++ */
	.sec{
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.aed-ttl01{
		font-size: 1.8rem;
		padding: .25em .5em;
		margin-bottom: 2rem;
	}
	.aed-ttl02{
		font-size: 1.8rem;
		padding-bottom: .25em;
		margin-bottom: 2rem;
	}
	.parag{
		font-size: 1.3rem;
	}
	#sec02 .aed-ttl02,
	#sec05 .aed-ttl02{
		margin-top: 1.5rem;
	}
	figcaption{
		margin-top: 1em;
		font-size: 1.2rem;
		margin-bottom: 1.5em;
	}
	#sec03 ul{
		display: block;
	}
	#sec03 li{
		width: 100%;
		margin-bottom: 2rem;
	}
	#sec03 .pic{
		width: 33%;
		max-width: 154px;
		margin: 0 auto 1.5rem;
	}

	#sec04 .parag{
		text-align: left;
	}
	#sec04 .pic{
		max-width: 100%;
		margin: 1.5rem auto 1rem;
	}
	.aed-movie{
		position: relative;
		width: 100%;
		height: calc((100vw - 3.4rem) / 16 * 9);
		border: 2px solid #ddd;
	}

	#sec05 .flex{
		display: block;
		margin-bottom: 2rem;
	}
	#sec05 .flex .pic{
		width: 100%;
		max-width: 460px;
		margin: 0 auto 1.5rem;
	}
	#sec05 .flex .txt{
		width: 100%;
		border-radius: .5rem;
		padding: 1em;
	}
	#sec05 h4{
		font-size: 1.5rem;
	}

	.option li{
		width: 100%;
		margin: 0 auto 2rem;
	}
	.option .pic{
		margin: 0 auto 1rem;
		width: 66%;
	}
	#sec05 h5{
		font-size: 1.5rem;
	}

	table,
	tr,
	tbody,
	th,
	td{
		display: block;
		width: 100%;
		text-align: left;
	}
	pre{
		white-space: pre-wrap;
	}



/* /////////////////////////main-pic//////////////////////////// */
	#main-pic{
		height: auto;
		padding: 15px;
		
	}


/* +++++++++++++++++++recruit style+++++++++++++++++++ */
	.saiyou-flow{
		margin-top: 30px;
		position: relative;
	}
	.saiyou-flow dl{
		margin-bottom: 30px;
		font-size: 14px;
	}
	.saiyou-flow:before{
		left: 30px;
	}
	.saiyou-flow dt{
		width: 60px;
		height: 60px;
		font-size: 12px;
	}

	.saiyou-flow dd{
		width: calc(100% - 70px);
	}
	table.saiyou-tbl{
		display: table;
	}
	table.saiyou-tbl tbody{
		display: table-row-group;
	}
	table.saiyou-tbl tr{
		display: table-row;
	}

	table.saiyou-tbl th,
	table.saiyou-tbl td{
		display: table-cell;
	}
	table.saiyou-tbl tr th:nth-of-type(1){
		width: 25%;
	}
	table.saiyou-tbl td{
		width: auto;
	}

table.saiyou-tbl{
	border-collapse: collapse;
	border-top: none;
	table-layout: fixed;
	width: 100%;
	margin-top: 30px;
}
table.saiyou-tbl th{
	background: #f8f8fa;
	font-weight: 600;
	border: 1px solid #ddd;
	font-weight: 600;
	padding: .5em;
}
table.saiyou-tbl td{
	border: 1px solid #ddd;
	padding: .5em;
}



form th,
form td{
	padding: 15px 0;
}
form th{
	width: 100%;
	padding: .5em 0 0;
}
form td{
	padding: .5em 0;
	width: 100%;
}
input[type='text'],
textarea{
	width: 100%;
}
}