body {
	margin: 0 ;
	padding: 0;
	font-size: 10px;
	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);
}

/*---header for index.php---*/
header {
	width: 100%;
	margin: 0px auto;
	background: rgb(0, 0, 55);
}

header .header_img {
	width: 100%;
}

header .header_img img {
	width: 100%;
	display: block;
}

header .header_nav {
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	align-items: center;
	padding: 15px 10px;
	flex-wrap: wrap;
}

header .header_nav h1 {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

header .header_nav h1 a {
	display: flex;
	align-items: center;
	justify-content: center;
}

header .header_nav h1 a img {
	width: 120px;
	height: auto;
	display: block;
}

header .header_nav nav {
	width: 100%;
	margin-top: 10px;
}

header .header_nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	-webkit-justify-content: center;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

header .header_nav ul li {
	list-style: none;
}

header .header_nav ul li a {
	color: #fff;
	font-size: 11px;
	text-decoration: none;
	padding: 5px 10px;
}

/*---main and article for index.php---*/
main {
	width: 100%;
}

article#contents {
	width: 100%;
	padding: 40px 10px 60px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

section.works {
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	order: 1;
	margin-bottom: 0;
}

section.works nav {
	display: block;
	width: 100%;
	margin: 20px auto 30px;
	order: 2;
}

section.works nav.bg_w {
	background: #fff;
	padding: 20px 10px;
	border-radius: 10px;
	margin: 20px auto 30px;
}

#setumei {
	display: block;
	margin: 20px auto;
	text-align: center;
	font-size: 0;
	line-height: 1.6;
	width: 90%;
	max-width: 100%;
	order: 1;
	position: relative;
}

#setumei::before {
	content: "優れたwebサイトを厳選して掲載しています。\A下記よりカテゴリーを指定してください。";
	white-space: pre-line;
	display: block;
	font-size: 12px;
}

.bg_w {
	order: 3;
}

section.works h2 {
	text-align: center;
	font-size: 20px;
	margin: 0 auto 30px;
}

section.works h2::after {
	content: "";
	width: 30px;
	height: 2px;
	background: #324661;
	display: block;
	margin: 10px auto 0;
}

.bg_w {
	background: #fff;
	padding: 20px 10px;
	border-radius: 10px;
	order: 3;
}

/*---カテゴリーメニュー for index.php SP版---*/
section.works nav #categry {
	width: 100%;
	margin: 0;
	display: block;
}

section.works nav #categry h3 {
	font-size: 14px;
	font-weight: bold;
	color: rgb(0,0,55);
	margin: 0 0 15px 0;
	text-align: center;
}

section.works nav #categry ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	-webkit-justify-content: center;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

section.works nav #categry ul li {
	width: auto;
	height: auto;
	border-bottom: none;
	margin: 0;
	padding: 0;
}

section.works nav #categry ul li a {
	display: block;
	margin: 0;
	padding: 8px 15px;
	background: rgb(0,0,55);
	color: #fff !important;
	border-radius: 5px;
	font-size: 11px;
	text-decoration: none;
	transition: background 0.3s;
}

section.works nav #categry ul li a:hover {
	background: rgb(64,64,128);
}

section.works nav #categry ul li a span {
	display: none;
}

.works > div > .flex {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	-webkit-justify-content: center;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	margin: 0 auto;
}

.capchaback {
	width: 100%;
	max-width: 300px;
	margin-bottom: 30px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.capchaback .thumb {
	margin-bottom: 15px;
	width: 100%;
	height: 200px;
	overflow: hidden;
}

.capchaback .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.capchaback h3 {
	font-size: 16px;
	margin: 0 0 10px 0;
	padding: 0 15px;
}

.capchaback .capchahonbun {
	margin: 0 0 15px 0;
	padding: 0 15px;
	font-size: 11px;
	line-height: 1.5;
	width: auto;
}

.capchaback .colortag {
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	align-items: center;
	margin: 15px 15px 10px;
	flex-wrap: wrap;
	gap: 10px;
}

.capchaback .colortag p {
	font-size: 11px;
	font-weight: bold;
	margin: 0;
}

.capchaback .colortag ul {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.capchaback .colortag li {
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 10px;
}

.capchaback .more {
	margin: 15px 15px 15px;
	font-size: 11px;
	position: relative;
}

/*---news section for index.php---*/
section.news {
	padding-top: 30px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	order: 2;
	display: block;
}

section.news h2#rss01 {
	text-align: center;
	font-size: 18px;
	margin: 0 auto 20px;
	color: rgb(0,0,55);
}

section.news #rss02 {
	width: 100%;
	background: #fff;
	padding: 15px;
	border-radius: 10px;
	box-sizing: border-box;
}

section.news ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

section.news li {
	margin: 0;
	padding: 0;
	list-style: none;
}

section.news li a {
	display: block;
	border-bottom: 1px solid #c3d4dc;
	padding: 12px 0;
	position: relative;
	text-decoration: none;
	color: rgb(30,30,30);
}

section.news li:last-child a {
	border-bottom: none;
}

section.news li a::before,
section.news li a::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	right: 0;
	width: 8px;
	height: 2px;
	border-radius: 9999px;
	transform-origin: calc(100% - 1px) 50%;
	background-color: #ee8e35;
}

section.news li a::before {
	transform: rotate(45deg);
}

section.news li a::after {
	transform: rotate(-45deg);
}

section.news li a span {
	display: block;
}

section.news li a .date {
	color: #ee8e35;
	font-size: 10px;
	margin-bottom: 5px;
	width: 100%;
}

section.news li a .title {
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 5px;
	width: 100%;
	line-height: 1.4;
}

section.news li a .text {
	font-size: 10px;
	color: #666;
	line-height: 1.5;
	width: 100%;
}

/*---プライバシーポリシーとお問い合わせページでカテゴリーを非表示---*/
#wrapper aside {
	display: none;
}

#wrapper aside #categry {
	display: none;
}

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: -15px auto;
	width: 320px;
	background: rgb(220,220,220);
}

#title {
	width: 300px;
	height: 50px;
	margin: 0px auto;
	background: rgb(0,0,55);
}

#title h1 a img {
	width: 280px;
	margin: 10px 0 0px 5px;
}

#contents {
	width: 300px;
	/*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: 40px auto 0px;
}


/*---左---*/
#categry {
	/*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: 110px;
	margin: 0px 0 0 0px;
}

#categry h3,
#categry ul li a {
	color: rgb(0,0,55);
}

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

#categry ul li {
	width: 100px;
	height: 50px;
	border-bottom: 1px solid rgb(150,150,150);
}

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



/*---右---*/
#main {
	/*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: 160px;
	margin-left: 30px;
	margin-bottom: 85px;
	
}

/* 古い#setumei、.capchabackスタイルは削除（上で新しいスタイルを定義済み） */


/*---header---*/
header {
	width: 100%;
	margin: 0px auto;
	background: rgb(0, 0, 55);
}

header .header_img {
	width: 100%;
}

header .header_img img {
	width: 100%;
	display: block;
}

header .header_nav {
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	align-items: center;
	padding: 15px 10px;
	flex-wrap: wrap;
}

header .header_nav h1 {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

header .header_nav h1 a {
	display: flex;
	align-items: center;
	justify-content: center;
}

header .header_nav h1 a img {
	width: 120px;
	height: auto;
	display: block;
}

header .header_nav nav {
	width: 100%;
	margin-top: 10px;
}

header .header_nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	-webkit-justify-content: center;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

header .header_nav ul li {
	list-style: none;
}

header .header_nav ul li a {
	color: #fff;
	font-size: 11px;
	text-decoration: none;
	padding: 5px 10px;
}

/*---footer---*/
#footer {
	background: rgb(0,0,55);
	color: #fff;
	padding: 30px 10px 20px;
	width: 100%;
	box-sizing: border-box;
}

#footer .footerlogo {
	margin: 0 auto 20px;
	width: 120px;
	text-align: center;
}

#footer .footerlogo a img {
	width: 120px;
	height: auto;
}

#footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	-webkit-justify-content: center;
	justify-content: center;
	align-items: center;
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
}

#footer ul li {
	list-style: none;
}

#footer ul li a {
	color: #fff !important;
	font-size: 11px;
	text-decoration: none;
	padding: 5px 10px;
}

#footer ul li a:visited {
	color: #fff !important;
}

#footer small {
	font-size: 10px;
	text-align: center;
	padding: 15px 0 0;
	display: block;
	border-top: 1px solid rgba(255,255,255,0.3);
	width: 90%;
	margin: auto;
	color: #fff !important;
}
#copy {
	margin: 15px auto;
	width: 300px;
	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;
  }
}