#container
{
	margin: 0 30px;
	background: #fff;
}

#body_header
{
	background: #ccc;
	padding: 20px;
}

#body_header header h1 { margin: 0; }

#navigation
{
	float: left;
	width: 100%;
	background: #333;
}

#navigation ul
{
	margin: 0;
	padding: 0;
}

#navigation ul li
{
	list-style-type: none;
	display: inline;
}

#navigation li a
{
	display: block;
	float: left;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
	border-right: 1px solid #fff;
}

#navigation li a:hover { background: #383; }

#content
{
	clear: left;
	padding: 20px;
}

#content H1 {
  color: #000099; /* 文字の色 */
  padding-left: 10px; /* 左の余白 */
  border-width: 0px 0px 2px 20px; /* 枠の幅 */
  border-style: solid; /* 枠の種類 */
  border-color: #9999ff; /* 枠の色 */
  line-height: 100%; /* 行の高さ */
  padding-top: 10px;
  padding-bottom: 10px;
}
#content H2 {
  color: #000099; /* 文字の色 */
  padding-left: 10px; /* 左の余白 */
  border-width: 0px 0px 2px 15px; /* 枠の幅 */
  border-style: solid; /* 枠の種類 */
  border-color: #9999ff; /* 枠の色 */
  line-height: 100%; /* 行の高さ */
  padding-top: 10px;
  padding-bottom: 10px;
}
#content H3 {
  color: #000099; /* 文字の色 */
  padding-left: 10px; /* 左の余白 */
  border-width: 0px 0px 2px 10px; /* 枠の幅 */
  border-style: solid; /* 枠の種類 */
  border-color: #9999ff; /* 枠の色 */
  line-height: 100%; /* 行の高さ */
  padding-top: 10px;
  padding-bottom: 10px;
}

#footer
{
	background: #ccc;
	text-align: right;
	font-size: 80%;
	padding: 20px;
	height: 1%;
}

.Menu , .Menu ul { margin:0; padding:0; }   
.Menu a { text-decoration:none; }   
.Menu li {   
    list-style:none;
    font-size:12px;
    line-height:20px;
	background:#060;
	color:#fff; 
}   
.Menu li a {   
    display:block;   
    padding:0 5px;   
    background:#060;   
    color:#fff;   
    line-height:20px;   
    border-bottom:solid 1px #030;   
}   
.Menu li a:hover { background:#393; }   
.Menu li ul li a {   
    background:#9f9;   
    color:#030;   
    border-bottom:solid 1px #6c6;   
}   
.Menu li ul li a:hover { background:#6f6; } 

/*--テーブルにつけるクラス名--*/
table.base_table{
	border-collapse:collapse!important;
	border-spacing: 0;
	font-size: 70%;
}
table.base_table th{
	border:1px solid #999;
	padding-left:3px;
	padding-right:3px;
	padding-top:6px;
	padding-bottom:6px;
	background-color:#EEEEEE;
	text-align:center;
	width:20%;
}
 
table.base_table td{
	border:1px solid #999;
	padding-left:3px;
	padding-right:3px;
	padding-top:6px;
	padding-bottom:6px;
}

.red {
    color:#ff0000;
}

.check {
    color:#0000ff;
}

.col3_container {
    display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.col4_container {
    display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

.right {
	text-align:right;
}

.center {
	text-align:center;
}

input[type="submit"] {
  all: unset;
  display: inline-block;
  padding: 0.3em 1.2em; /* ← 上下 0.3em（以前の半分） */
  background: linear-gradient(145deg, #e0e0e0, #cfcfcf);
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    inset 0 -2px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid #bbb;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-top: 5px;
  margin-bottom: 5px;
}

input[type="submit"]:hover {
  background: linear-gradient(145deg, #d5d5d5, #bfbfbf);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 -2px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

input[type="submit"]:active {
  background: #b0b0b0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
}

button {
  all: unset;
  display: inline-block;
  padding: 0.2em 0.9em;  /* ← 小さめ */
  margin-top: 0.8em;     /* 少しだけ余白も圧縮 */
  background: linear-gradient(145deg, #e0e0e0, #cfcfcf);
  color: #333;
  font-size: 0.9rem;     /* 少しだけ小さい文字 */
  font-weight: 600;
  border-radius: 5px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid #bbb;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

button:hover {
  background: linear-gradient(145deg, #d5d5d5, #bfbfbf);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

button:active {
  background: #b0b0b0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
}

.anchor-section {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.anchor-section:hover {
  background: #f0f0f0;
}

.anchor-section h4 {
  margin: 0 0 0.3em 0;
  font-size: 1.1em;
  color: #333;
}

.anchor-section p {
  margin: 0 0 0.5em 0;
  color: #666;
  font-size: 0.95em;
  line-height: 1.4;
}

.anchor-section em {
  font-size: 0.85em;
  color: #999;
}

.anchor-section input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.4em;
  vertical-align: middle;
  accent-color: #666;
}

.anchor-section label {
  display: block;
  cursor: pointer;
}

input[type="text"],
textarea,
input[type="password"],
select {
  width: 100%;              /* 横幅いっぱいに */
  box-sizing: border-box;   /* パディング込みで幅を調整 */
  padding: 0.25em 0.5em;
  font-size: 0.9rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: #fafafa;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

input[type="text"]:focus,
textarea:focus,
select:focus {
  border-color: #777;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(120, 120, 120, 0.15);
  outline: none;
}

input.datepicker {
  width: 10em; /* 約160px相当 */
  max-width: 100%;
  padding: 0.4em 0.6em;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

form td {
  padding: 4px 6px;
  vertical-align: middle;
}
form th {
  padding: 4px 6px;
  text-align: left;
  vertical-align: middle;
}

input::placeholder,
textarea::placeholder {
  color: #ccc; /* 薄いグレー */
}