
/* fix 4 all */

* {box-sizing: border-box;}

body {
	font-size:16px;
}

#container {
	font-size:0.75rem;
}

#header #logo img {
	max-width:400px;
}

#listdata li {
	display: inline-block;
}

#list_index a {
	display: inline-block;
	text-align: center;

	width: 4.1em;
	margin: 0.5em 0.75em;
	
	padding:0.25em 0.5em;
	border-radius: 0.25em;

	background-color: #1D62B3;
	text-decoration: none;
	font-weight:bold;

	font-size: 0.875rem;
}

#contents #list_index a:link,
#contents #list_index a:visited,
#contents #list_index a:active
{
	color:#fff;
}

#button_2_form {
	width: 100%;
	max-width:194px;
}

#change_sort,
#change_sort button {
	display:inline-block;
}

@media screen and (max-width:1019px) {

	#container,
	#header,
	#contents,
	#footer_inner,
	.circle_txt_table
	{
		width:100%;
	}

	#container {
		padding:0;
	}

	#main {
		margin-left:0.625rem;
		margin-right:0.625rem;

		width:calc(100% - 1.25rem);
	}
}

@media screen and (max-width:767px) {

	body {
		background-image:none;
	}

	#header {
		height:auto;
		padding:1em 0;

		text-align: center;
		background-color:#fff;
		border-bottom:0.0625rem solid #999;
	}

	#contents {
		border-top:0.0625rem solid #fff;
	}

	#header #logo {
		float: none;

		margin:0;
		text-align:center;
	}

	#header #logo a {
		display: inline-block;
		width: auto;
		height: auto;
		width: 50%;
	}

	#header #logo img {
		width: 100%;
	}


	#main h2 {
		height: auto;
		min-height: auto;
		line-height: 1.5em;
		margin: 0 0 0.925rem;
		padding: 0.5em;

		font-size: 3.7vw;
		font-weight: bold;
		background-image:none;
		background-color:#000;
		border-radius:0.25rem;
	}

	#listdata h3,
	#listdata h5,
	#listdata .notice_form
	{
		display: none;
	}

	.attentionarea {
		padding: 0.25em 0.5em;
		margin: 0.5em 0;
		border: solid 0.25em #FCC;
		border-radius: 0.33em;
	}

	#main .attentionarea h5 {
		font-size:3.7vw;
		background-image:none;
		padding-left:0;
		margin-bottom:0;
	}

	#list_index a {
		width: 15%;
		margin: 0.5em 2%;
	}

	.circle_txt_table thead {
		display: none;
	}

	.circle_txt_table tr td {
		display: block !important;
		width:100%;
		height: auto;
	}

	.circle_txt_table tr td:first-child {
		background-color: #1496C8;
	}

	.circle_txt_table tr td:last-child {
		padding-bottom: 1.5rem;
	}
}

.circle_txt_table tr td img {
	max-height: 50vmin;
	display: block;
	object-fit: contain;
}
