
@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/* CSS Document */

body {
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}



/* タイトル部分 */
#title{
    width: 100%; /*横幅指定*/
    margin-left: auto;
    margin-bottom: 0; /*下端に空白なし*/
    background-color: #339900; /*背景色の指定*/background-image: repeating-linear-gradient(to bottom right, #339900 0%, #004d25 100%);
    background-image: repeating-linear-gradient(to bottom right, #339900 0%, #004d25 100%);
	overflow: hidden; 
}
#title p{
    color: #fff; /*文字色の変更*/
    font-size: 120%; /*フォントサイズの調整*/
    font-family: 'Roboto', sans-serif;
    letter-spacing: 3px; /*文字と文字の間隔をあける*/
    line-height: 120%; /*行間の指定（高さを決める）*/
    padding: 30px; /*文字の左側に余白をあける*/
}

#title + .tableizer-table {
    margin-top: 20px; /* 適切な余白サイズを指定 */
}

#message{
    width: 80%; /*横幅指定*/
    margin-left: 9%; /*テーブル位置と揃える*/
    margin-bottom: 0; /*余白なし*/
    background-color: #ffffff; /*背景色の指定*/
    overflow: hidden; 
}
#message p{
    color: #313131; /*文字色の変更*/
    font-size: 120%; /*フォントサイズの調整*/
    letter-spacing: 0px; /*文字と文字の間隔をあける*/
    line-height: 120%; /*行間の指定（高さを決める）*/
    padding: 10px 20px; /* 上下10px、左右20pxに調整 */
}
.container {
	background: #ffffff;
	width: 1040px;
	padding: 15px;
	border: 1px solid #cccccc;
	margin: 30px auto;
	display: grid;
	grid-gap: 15px;
	grid-template-columns: 190px 190px 190px 190px 190px;
	grid-template-rows: 190px 190px 190px;
}
.index-container {
	background: #ffffff;
	width: 1040px;
	padding: 15px;
	border: 1px solid #cccccc;
	margin: 30px auto;

}
.item {
	width: 190px;
	position: relative;
}
.item2 {
	width: 190px;
	position: relative;
	background: #cccccc;
}
.index-item {
	border: 2px solid #6b8e23;
	border-radius: 10px;
	margin-right: 15px;
	margin-bottom: 15px;
	width: 1010px;
	height: 70px;
	padding: 10px;
	display: block;
}
caption.table { 
	text-align: left; 
	font-size: 120%;
}
.item p{
	position: absolute;
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-size: 175%;
  	top: 15px;
  	left: 10px;
}
.item2 p{
	position: absolute;
	color: #ffffff;
	font-family: 'Roboto', sans-serif;
	font-size: 85%;
  	top: 10px;
  	left: 10px;
}
.item a {
	text-decoration: none;
}
.item a:hover p{
	text-decoration: underline;
}
.item2 a {
	text-decoration: none;
}
.item2 a:hover p{
	text-decoration: underline;
}
#old_frame{
	text-align: center;
	margin: 30px auto;
}
footer{
    font-size: 100%; /*フォントサイズの指定*/
    width: 100%;    /*横幅の指定*/
    line-height: 120%; /*行間の指定（高さを決める）*/
    text-align: center; /*文字の中央寄せ*/
    padding-top: 20px;  /*文字上部の余白指定*/
    padding-bottom: 20px;   /*文字下部の余白指定*/
	background-color: transparent;
}
footer p{
    color: #000;    /*文字色の指定*/
    letter-spacing: 1px;    /*文字と文字の間隔をあける*/
    font-style: normal; /*文字の斜体を取り消す*/
}

/* Each DOI page and ALL page */
table.tableizer-table {
		width: 80%; /*横幅指定*/
    	margin-left: 10%; /*左端から20%右側に動かす*/
		font-size: 14px;
		border: 1px solid #CCC; 
		font-family: 'Roboto', sans-serif;
		margin-bottom: 15px;
		border-collapse: collapse;
	} 
.tableizer-table td {
		padding: 4px;
		margin: 3px;
		border: 1px solid #CCC;
	}
.tableizer-table th {
		background-color: #EEEEEE; 
		color: #000;
		font-weight: 500;
		font-size: 16px;
		padding: 4px;
		margin: 3px;
		border: 1px solid #CCC;
	}
/* --- 「Back to Home」のサイズ・位置修正20251210高橋 --- */
#back{
    width: 80%; /* テーブルの横幅に合わせる */
    margin-left: 10%; /* テーブルの位置に合わせる */
	margin-top: 5px; /* テーブルとの上部余白を小さく */
    margin-bottom: 5px; /* 下端の余白を小さく */
    overflow: hidden; 
}
#back p{
    text-align: right;
    color: #313131; /*文字色の変更*/
    font-size: 100%; /* フォントサイズを小さく (元の150%から変更) */
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0px; /*文字と文字の間隔をあける*/
    line-height: 1.2; /* 行間を小さく (元の40pxから変更) */
    padding: 0px; /*上下左右のパディングをなくし、余白を詰める*/
}
.img_block img{
	display: block;
	margin:auto;
	margin-bottom: 10px; /*下端に空白を10px*/
}

/* --- パンくずリスト --- */
#breadcrumb {
  font-size: 90%;
  color: #666;
  background-color: #fff;
  padding: 10px 0 10px 30px; /* 左に30px余白 */
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap; /* 画面が狭いとき自動で折り返し */
  gap: 4px;
  align-items: center;
}

#breadcrumb a {
  color: #006633;
  text-decoration: none;
}

#breadcrumb a:hover {
  text-decoration: underline;
}

/* 現在ページ（非リンク） */
#breadcrumb .current {
  color: #999;
  pointer-events: none; /* クリックできないようにする */ }

/* --- スマホ対応 --- */
@media screen and (max-width: 600px) {
  #title p {
    font-size: 100%;
    padding: 20px;
  }

  #breadcrumb {
    font-size: 85%;
    padding-left: 15px; /* 左余白を少し減らす */
    line-height: 1.4;
  }
}

/* --- 表のタイトルとして「id="message"」が複数あったため、
「class="table-caption"」に変更し、#message #message pの内容を適用した--- */
.table-caption{
    width: 80%; /*横幅指定*/
    margin-left: 9%; /*テーブル位置と揃える*/
    margin-bottom: 0; /*余白なし*/
    background-color: #ffffff; /*背景色の指定*/
    overflow: hidden; 
}
.table-caption h3{
    color: #313131; /*文字色の変更*/
    font-size: 120%; /*フォントサイズの調整*/
    letter-spacing: 0px; /*文字と文字の間隔をあける*/
    line-height: 120%; /*行間の指定（高さを決める）*/
    padding: 10px 20px 0; 
}



