body {
	margin: 0 ;
	padding: 0;
	font-size: 12px;
	color: rgb(30,30,30);
	letter-spacing: 0px;
	line-height:1.2;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo;
	-webkit-animation: loaded 2000ms;
	-moz-animation: loaded 2000ms;
	background: rgb(220,220,220);
}

div, section {
	margin:0;
}

ul, li, a, p {
	margin:0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	color: rgb(30,30,30);

}

ul:visited,
li:visited,
a:visited {
	color: rgb(30,30,30);
}

li:focus,
a:focus {
    outline: none;
}

.clearfix:after {
	display: block;
	clear: both;
	height: 0px;
	visibility: hidden;
	content: ",";
}




#wrapper {
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
	background: rgb(220,220,220);
}

#title {
	width: 100%;
	max-width: 100%;
	height: 50px;
	margin: 0 auto;
	background: rgb(0,0,55);
	display: flex;
	align-items: center;
	justify-content: center;
}

#title h1 {
	margin: 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

#title h1 a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

#title h1 a img {
	width: 180px;
	height: auto;
	margin: 0;
	display: block;
}

#contents {
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	margin: 20px auto 0;
	padding: 0 10px;
	box-sizing: border-box;
}

/*---カテゴリーメニューを非表示（SP版）---*/
aside {
	display: none;
}

#categry {
	display: none;
}



/*---メインコンテンツ---*/
#main {
	width: 100%;
	max-width: 100%;
	margin: 0 auto 40px;
	padding: 0;
	box-sizing: border-box;
}

#catetitle {
	margin: 0 0 20px 0;
	height: 30px;
	background: rgb(0,0,55);
}

#catetitle h4 {
	padding: 8px 0 0 15px;
	letter-spacing: 2px;
	font-weight: normal;
	font-size: 14px;
	color: rgb(255,255,255);
}

#syousai {
	margin: 0;
	font-size: 14px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/*---画像カード---*/
#syousai img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 20px;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/*---会社概要カード---*/
#gaiyou {
	margin: 0 0 20px 0;
	line-height: 1.8;
	font-size: 14px;
	background: #ffffff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	width: 100%;
	box-sizing: border-box;
}

#gaiyou p {
	margin: 10px 0;
	color: black;
}

#gaiyou p:first-child {
	font-weight: bold;
	font-size: 16px;
	color: rgb(0,0,55);
	margin-bottom: 15px;
}

#gaiyou hr {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 15px 0;
}

#gaiyou p a{
	color: rgb(0,0,55);
	word-break: break-all;
	text-decoration: underline;
}

#gaiyou p a:hover {
	color: rgb(64,64,128);
}

/*---サイト内容カード---*/
#link {
	margin-top: 0;
	background: #ffffff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	width: 100%;
	box-sizing: border-box;
}

#link p:nth-child(1) {
	line-height: 1.8;
	font-size: 14px;
	color: black;
	margin-bottom: 20px;
}

#link p:nth-child(1) {
	font-weight: bold;
	font-size: 16px;
	color: rgb(0,0,55);
	margin-bottom: 15px;
}

#link hr {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 15px 0;
}

#link p {
	margin: 0 0 15px 0;
	font-size: 14px;
	line-height: 1.6;
	color: black;
}

#link p:last-child {
	margin-bottom: 0;
}

#link p a{
	color: rgb(0,0,55);
	word-break: break-all;
	text-decoration: underline;
}

#link p a:hover {
	color: rgb(64,64,128);
}


/*---footer---*/

footer {
  background: rgb(0,0,55);
  color: #fff;
  padding: 40px 0 20px;
}
footer .footerlogo {
  margin: 0 auto 40px;
  width: 150px;
}
footer ul {
  gap: 20px;
  margin-bottom: 40px;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
footer ul li a {
  color: #fff !important;
  font-size: 14px;
}
footer ul li a:visited {
  color: #fff !important;
}
footer small {
  font-size: 12px;
  text-align: center;
  padding: 20px 0 0;
  display: block;
  border-top: 1px solid #fff;
  width: 90%;
  margin: auto;
  color: #fff !important;
}

.flex {
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#footer {
	
}
#copy {
	margin: 15px auto;
	width: 100%;
	max-width: 100%;
	height: 40px;
	background: rgb(0,0,55);
}

#copyright {
	font-size: 10px;
	text-align: center;
	padding: 10px 5px 0 0px;
	letter-spacing: 1px;
	color: rgb(255,255,255);
}

#footcontents {
	width: 90%;
	/*old*/
	display: -webkit-box;
	display: -moz-box;
	display: -ms-box;
	display: box;
	
	/*new*/
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: flexbox;
	
	margin: 0px auto 0px;
}


/*---左---*/
#footcategry {
	/*old*/
	-webkit-box-ordinal-group: 1;
	-moz-box-ordinal-group: 1;
	-ms-box-ordinal-group: 1;
	box-ordinal-group: 1;
	
	/*new*/
	-webkit-flex-order: 1;
	-moz-flex-order: 1;
	-ms-flex-order: 1;
	flex-order: 1;
	

	width: 120px;
	margin: 0px 0 50px 10px;
}

#foot_cate_left li:nth-child(1) {
	font-size: 12px;
}

#footcategry ul li {
	width: 120px;
	height: 25px;
}

#categry ul li a {
	display: block;
	margin-top: 10px;
	padding : 15px 0px 15px 0;
}

#foot_cate_right li a {
	color: rgb(0,0,55);
}


#foot_cate_left li a {
	color: rgb(0,0,55);
}




/*---右---*/
#foot {
	/*old*/
	-webkit-box-ordinal-group: 2;
	-moz-box-ordinal-group: 2;
	-ms-box-ordinal-group: 2;
	box-ordinal-group: 2;
	
	/*new*/
	-webkit-flex-order: 2;
	-moz-flex-order: 2;
	-ms-flex-order: 2;
	flex-order: 2;
	
	/*old*/
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-ms-box-flex: 1;
	box-flex: 1;
	
	/*new*/
	width: -webkit-flex(1);
	width: -moz-flex(1);
	width: -ms-flex(1);
	width: flex(1);
	
	width: 175px;
	margin-top: 10px;
	margin-right: 5px;
}

#foot p {
	width: 150px;
	margin-bottom: 10px;
	text-align: center;
	font-size: 12px;
}

#foot p a {
	color: rgb(0,0,55);
}


@-webkit-keyframes loaded {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes loaded {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}