*{ 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: auto;
} 

:root {
    --main: #0075c8;
    --sub: #0075c8;
    --string: #0075c8;
}

.center {text-align: center;}
.right {text-align: right;}
.top10 {margin-top: 10px;}
.top20 {margin-top: 20px;}
.top30 {margin-top: 30px;}
.left10 {margin-left: 10px;}
.red {color: red;}

body{
    padding: 10px;
}

.btn {
    display: inline-block;
    color: #fff !important;
    background: #ff9701;
    border-radius: 10px;
    padding: 8px 22px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0px 1px 2px #888;
    border: none;
}

.btn:hover {
    opacity: 0.8 ;
    text-decoration: none;
}

dl{
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 100%;
	border: 1px solid #ccc;
	border-bottom: none;
}

dt{
	background: #f5f5f5;
	padding: 5px;
	width: 150px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

dd{
	background: #fff;
	padding: 5px;
	width: calc(100% - 150px);
	border-bottom: 1px solid #ccc;
}

/* テーブル */
.table {
	table-layout: fixed;
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}
table th, table td {
    border: 1px solid #eee;
    padding: 6px;
    overflow-wrap: break-word;
}
/* ヘッダー */
.table th {
    border: 1px solid #eee;
    padding: 6px;    
	background: var(--main);
	font-weight: normal;
	color:#fff;
    text-align: left;
}

/* ボディデータ・フッターデータ */
.table td {
    border: 1px solid #eee;
    padding: 10px;
    line-height: 1.2;
}

.table tr:nth-child(2n) td {
    background: #FBFBF6;
}

/* ペジネーション */
.pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}
.pagination li {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    margin: 0 1px;
    /*padding: 5px 0;*/
}

.pagination a {
    display: block;
    background-color: #fff;
    color: var(--main);
    padding: 5px 0;
    text-decoration: none;
}
.pagination a:hover {
    background-color: var(--main);
    color: #fff;
}
.pagination span {
    display: block;
    padding: 5px 0;
    color: #ccc;
}
.pagination .active {
    background-color: var(--main);
}
.pagination .active span {
    color: #fff;
}

j { 
    margin-left: 10px;
}

dt:has(+ dd *:required)::after {
  content: "*";
  color: red;
}
.required-pref::after {
  content: "*";
  color: blue;
}

.error {
  color: red;
}
