/* styles.css */

/* タブのスタイル */
.tab {
    display: inline-block;
    padding: 5px 10px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
}

/* 非表示コンテンツのスタイル */
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
}
/* 選択されたタブのスタイル */
.tab.selected {
	background-color: #ceedf4;
	color: #000;
}
.tab-content2 {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.table-container {
	flex: 1;
	overflow-y: auto;
}
@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.image-container {
	overflow-x: scroll;
	white-space: nowrap;
}
.image-container img {
	display: inline-block;
	max-width: 90%;
	height: auto;
}
.table-container {
	display: flex;
	align-items: center;
}
@keyframes scroll {
	0% {
		transform: translateX(0); /* 初期位置 */
	}
	100% {
		transform: translateX(-100%); /* 画像を横にスクロールさせる */
	}
}
.listOfImage-size {
	width: 120px;
	height: auto;
}
.favoriteImage-size {
	width: 160px;
	height: auto;
}
.selectImage-size {
	width: 100%;
	height: auto;
}
.image-margin {
	margin: 10px;
}
.favoriteImage-size.selected {
    border: 5px solid red;
}
.image-info {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.image-name,
.image-description {
	margin-top: 5px;
	color: black;
}
body {
	background-color: #ffe4e1;
}
p {
	font-size: 20px;
}
.border-line {
	border: 1px solid #000; /* 境界線のスタイルを指定 */
	padding: 10px; /* 境界線とコンテンツの間の余白を指定 */
	background-color: white; /* 背景色を白色に設定 */
}
.border-line2 {
	border: 1px solid #000; /* 境界線のスタイルを指定 */
	padding: 10px; /* 境界線とコンテンツの間の余白を指定 */
}
.border-line3 {
	border: 1px solid #000; /* 境界線のスタイルを指定 */
	padding: 1px; /* 境界線とコンテンツの間の余白を指定 */

}
.legend {
    margin-top: 20px; /* 凡例とテーブルの間の余白を設定 */
    display: flex; /* 要素を横並びに配置 */
  }
  
  .legend-item {
    display: flex; /* 要素を横並びに配置 */
    margin-right: 16px; /* 各凡例間の余白を設定 */
  }
  .color-box {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    }
/* タブ1コンテンツのスタイル */
.tab-content.tab-content1 {
	background-color: #e6ffe6;
}
/* タブ2コンテンツのスタイル */
.tab-content.tab-content2 {
	background-color: #e6ffe6;
}
/* タブ3コンテンツのスタイル */
.tab-content.tab-content3 {
	background-color: #e6ffe6;
}
/* タブ4コンテンツのスタイル */
.tab-content.tab-content4 {
	background-color: #e6ffe6;
	height: calc(100% - 30px); /* 画面高さから広告の高さを差し引いた分の高さを設定 */
    overflow-y: auto; /* タブコンテンツが画面をはみ出た場合にスクロールバーを表示 */
}
.tzone-table {
	background-color: white; /* 背景色を白色に設定 */
}
.column-hour {
    width: 80px;
    text-align: center;
  }
.column-image {
	border: 1px solid #ddd; /* 罫線のスタイルと色を設定 */
	border-color: #000000;
}
.column-outline {
	border: 1px solid #ddd; /* 罫線のスタイルと色を設定 */
	border-color: #000000;
}

/* ダイアログのスタイル */
.dialog-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.2);
	display: none;
	justify-content: center;
	align-items: center;
}
.dialog-box {
	background-color: #f1f1f1;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	text-align: center;
	width: 80%; /* 調整可能なダイアログの幅 */
}
.dialog-header {
	display: flex;
	height: 50px;
	padding: 10px;
	justify-content: center; /* タイトルを中央寄せに配置 */
}

