﻿#content {
	flex: 1 0 auto;
	display: flex; 
	/* メインコンテンツを伸縮可能に */
}

ul {
	list-style: none;
}

.post-link {
	border-bottom: 1px solid #e4e4e4ff;
	padding: 25px 18px 35px 18px;
	width: 100%;
	min-height: 52px;
	max-height: 150px;
	box-sizing: border-box;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.post-link:hover {
	background: #F4FAFF 0% 0% no-repeat padding-box;
	border-radius: 8px;
	opacity: 1;
}

.post-link:focus {
	background: #F4FAFF 0% 0% no-repeat padding-box !important;
	border-radius: 8px;
	opacity: 1;
}

.post-link:hover .post-title {
	color: #1B76BD;
	text-decoration: underline;
	padding-bottom: 1px;
}

.post-day-title {
	gap: 48px;
	display: flex;
}

.post-tag {
	width: 50px;
	height: 13px;
	margin: 0;
	color: #fff;
	border-radius: 16px;
	font: normal normal bold 10px/12px Noto Sans CJK JP;
	text-align: center;
	padding: 4px;
}

#pr-tag {
	background: #4585DE;
}

#important-tag {
	background: #CB1E1E;
}

#normal-tag {}

.post-date {
	font: normal normal normal 12px/20px Roboto;
	border: none;
	color: #333333;
}

.post-title {
		font: normal normal normal 14px/18px Noto Sans CJK JP;
		max-width: 85%;
		width: 100%;
		max-height: 38px;
		min-height: 19px;
		color: #333333;
		display: -webkit-box;
		/* 表示する行数 (黄色の波線が表示されている場合はWebKit専用のプロパティのため、かんたんクラウド対応のブラウザは対応しているため無視)*/
		-webkit-line-clamp: 2;
		/* ボックスの向きを垂直に設定 */
		-webkit-box-orient: vertical;
		/* はみ出した部分を隠す */
		overflow: hidden;
		/* はみ出した部分に省略記号(・・・)を表示 */
		text-overflow: ellipsis;
		/* 強制的に改行する */
		word-break: break-all;
		overflow-wrap: anywhere;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 0;
}

/* ページネーション全体 */
.simple-pagination {
		flex-shrink: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		margin: 15px 0;
		font-family: 'Noto Sans CJK JP', sans-serif;
}

/* 数字リンク */
.simple-pagination .page-numbers {
	display: inline-block;
	min-width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	color: #004688;
	text-decoration: none;
	border-radius: 6px;
	font-size: 17px;
	border: none;
	background: none;
	transition: background 0.2s, color 0.2s;
	position: relative;
	cursor: pointer;
	}

/* 現在ページ */
.simple-pagination .page-numbers-current {
	background: #005bac;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 4px 10px;
	font-size: 16px;
	min-width: 32px;
	min-height: 32px;
	cursor: pointer;
}

/* 前後・両端ボタン */
.simple-pagination .prev,
.simple-pagination .next,
.simple-pagination .first-page,
.simple-pagination .last-page {
	color: #666;
	font-size: 18px;
	background: none;
	border: none;
	min-width: 24px;
	height: 32px;
	line-height: 32px;
	border-radius: 6px;
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
}

/* ホバー時 */
.simple-pagination button:hover {
	background: #e4e4e4ff;
	color: #286aa0ff;
}

/* 下線（数字のみ） */
.simple-pagination button:not(.prev):not(.next):not(.first-page):not(.last-page) {
	text-decoration: underline;
}

.simple-pagination .current {
	border-bottom: none;
}

button.is-disabled {
	opacity: 0;
	/* 完全に透明にする */
	pointer-events: none;
	/* クリック不可 */
	cursor: default;
	/* カーソル変化なし */
	user-select: none;
	/* テキスト選択不可 */
}

/* タブのスタイル調整 */
.content-container {
		max-width: 80%;
		min-width: 1180px; /*最低保証対応横幅1280px*/
		flex: 1 10 auto;
		height: 80vh;
		background: #FFFFFF 0% 0% no-repeat padding-box;
		border: 1px solid #F0F0F0;
		border-radius: 16px;
		opacity: 1;
		margin: 0 auto 0 auto;
		overflow: hidden;
		min-height: 0;
}

.my-home-content {
	top: 68px;
	left: 420px;
	width: 85%;
	height: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
	padding-top: 15px;
	display: flex;
	flex-direction: column;
}

.list-header {
	display: flex;
	top: 76px;
	left: 428px;
	width: 100%;
	height: 40px;
	background: var(--unnamed-color-f4faff) 0% 0% no-repeat padding-box;
	background: #F4FAFF 0% 0% no-repeat padding-box;
	border-radius: 8px 8px 0px 0px;
	opacity: 1;
	align-items: center;
	margin-left: auto !important;
	margin-right: auto !important;
	justify-content: center;
}

.list-header img {
	top: 86px;
	left: 581px;
	width: 18px;
	height: 20px;
}

.list-header h5 {
	padding-left: 7px;
	font-size: 16px;
	color: #1B76BD;
}

.my-tabs {
	margin-top: 5px;
	display: flex;
	flex-direction: column;
}

.tab-buttons {
	display: flex;
	border-bottom: 2px solid #ccc;
	background: none;
	border: none;
}

.tab-btn {
	opacity: 1;
	cursor: pointer;
	border: none;
	background: #fff !important;
	color: #333 !important;
	position: relative;
	outline: none !important;
	font: normal normal bold 14px/16px Noto Sans CJK JP;
	margin-left: 40px;
	padding: 20px;
}

.tab-btn.active {
	background: #fff;
	border-bottom: 2px solid #286aa0ff !important;
	outline: none !important;
	color: #286aa0ff !important;
}

#version-history-tab {
	margin-left: 0 !important;
}

.tab-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.tab-content {
	overflow-y: auto;
	width: 100%;
	font-size: 14px;
	min-height: 0;
	height: 60vh;
	padding-bottom: 40px;
}