body {
	font-family: 'BIZ UDPGothic', sans-serif;
	background-color: #f4f4f4;
	justify-content: center;
	align-items: flex-start; /* 上寄せ */
	min-height: 100vh;
	margin: 0;
}

.container {
	background-color: #fff;
	width: calc(100% - 20px);
	padding: 0 10px;
}

#makerText, #searchInput {
	padding: 5px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 18px;
	vertical-align: center;
}
#makerText{
	cursor: pointer;
	width: calc(10em); /* paddingを考慮 */
	display: inline-block;
}
#makerText span{color: #757575;}

#searchInput {
	width: calc(30em); /* paddingを考慮 */
}

#searchResults {
	border: 1px solid #ddd;
	border-top: none; /* searchInputの下線と重ならないように */
	max-height: 200px;
	overflow-y: auto;
	text-align: left;
	background-color: #fff;
	border-radius: 0 0 4px 4px;
	display: none; /* 初期状態では非表示 */
	position: relative; /* 必要に応じて z-index を調整 */
}

#searchResults p {
	padding: 10px;
	color: #777;
	margin: 0;
}
div.list{height: calc(100vh - 200px); overflow-y: scroll; display: none;}
table {
	border-collapse: separate;
	width: 100%;
	font-size: 20px;
}
th, td {
	border: 1px solid #ddd;
	padding: 8px;
}
th {
	text-align: left;
	position: sticky; /* 固定するための設定 */
	top: 0; /* ヘッダーを上部に固定 */
	background-color: #ccc; /* 背景色を設定 */
	z-index: 1; /* 他の要素より前面に表示 */
}
tr:nth-child(even) {
  background-color: #e8e8e8; /* 好きな色を指定 */
}
tr>td:nth-of-type(6), tr>td:nth-of-type(7){text-align: center;}
tr>td:nth-of-type(1){min-width: 80px;}
tr>td:nth-of-type(5){width: 106px;}
tr>td:nth-of-type(6){width: 80px;}
tr>td:nth-of-type(7){width: 60px;}
tr>td:nth-of-type(9){width: 120px;}

h1{text-align: center; font-size: 28px; padding: 10px 20px;}
h2{text-align: center; font-size: 24px; margin: 10px 0 8px; color: #333;}
input{font-family: sans-serif;}
.container button{height: 37px; font-size:18px;}
button.reselect{margin-right: 16px;}
button.reset{width: 100px; margin-left: 5px;}

div.select{font-size: 20px; display: none;}
div.select button{font-size: 24px; width: 85px; height: 64px; margin: 10px; background-color:#3d57a5; color: white; border-radius: 8px; cursor: pointer;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}
div.select button:disabled{background-color: #ccc; color:#333; text-shadow:none; cursor: not-allowed;}
div.select button.idx{background-color: #3BA542;}
div.select span{color: green;}

div.maker_list {margin: auto;}
div.maker_list div{width: 1612px; margin:auto;}
div.maker_list button{font-size: 24px; width: 240px; height: 64px; margin: 12px; background-color:#3d57a5; color: white; border-radius: 8px; cursor: pointer;text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}
div.maker_list button:hover{background-color: #aebff5;}
button.hyundai{line-height: 1.0; vertical-align: top;}
button p{font-size: 20px;}

.loading-spinner {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite; /* アニメーション */
  position: fixed; /* 画面中央に固定 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* 最前面に表示 */
  display: none; /* 初期状態は非表示 */
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

body.loading .loading-spinner { /* bodyにloadingクラスが付与されたら表示 */
  display: block;
}

#closeOverlayBtn {
	width: initial; height: initial;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1001; /* iframeよりさらに手前 */
	font-size: 1.5em;
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid #ccc;
	padding: 8px 15px;
	cursor: pointer;
	border-radius: 5px;
	display: none; /* 初期状態では非表示 */
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#secCount {
	width: 3em; height: initial;
	position: absolute;
	top: 0px;
	right: 20px;
	z-index: 1001; /* iframeよりさらに手前 */
	font-size: 12px;
	display: inline;
}
