@charset "utf-8";

/* --- 1. 基本スタイル --- */
* {
	margin: 0;
	padding: 0;
	font-family: "Times New Roman", Times, serif;
	text-decoration: none;
}
html {
	scroll-behavior: smooth;
}
body {
	color: #35363b;
}
a,
a:hover,
a:visited {
	color: inherit;
}
h1 {
	text-align: center;
	padding: 80px;
	background-color: #f6fdff;
	background-image: radial-gradient(#d5f2fe 20%, transparent 20%),
		radial-gradient(#d5f2fe 20%, transparent 20%);
	background-size: 15px 15px;
	background-position: 0 0, 7px 7px;
	font-weight: normal;
}
.pagetop {
	height: 50px;
	width: 50px;
	position: fixed;
	right: 30px;
	bottom: 30px;
	background: #fff;
	border: solid 2px #000;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
}
.pagetop__arrow {
	height: 10px;
	width: 10px;
	border-top: 3px solid #000;
	border-right: 3px solid #000;
	transform: translateY(20%) rotate(-45deg);
}

/* --- ここから下はニュースページ用に整理したスタイルです --- */

/* --- 2. ニュースページ全体のレイアウト --- */

/* PC用：2カラムレイアウト */
#news-wrapper {
	display: flex;
	gap: 50px;
	width: 90%;
	max-width: 1200px;
	margin: 40px auto;
}
#year-tabs-container {
	flex: 0 0 180px;
}
#news-content-area {
	flex: 1;
	min-width: 0;
}

/* PC用：年別タブのスタイル */
.year-tab {
	display: block;
	padding: 12px 20px;
	cursor: pointer;
	font-size: 16px;
	color: #333;
	border-left: 3px solid transparent;
	transition: all 0.3s;
}
.year-tab:hover {
	background-color: #f7f7f7;
}
.year-tab.active {
	background-color: #e8f5f7; /* 最終的なご指定の色 */
	font-weight: bold;
	border-left: 3px solid #3c6cd4; /* 最終的なご指定の色 */
}
#current-year-title {
	font-size: 24px;
	padding-bottom: 15px;
	border-bottom: 2px solid #333;
	margin-bottom: 20px;
}

/* SP用：プルダウンとニュースエリアの余白 */
#year-select-container-sp {
	padding: 20px 15px 10px 15px;
}
#year-select-sp {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: white;
}
#news-content-area-sp {
	padding: 0 15px;
}

/* --- 3. ニュースリストテーブル (PC/SP共通) --- */

/* テーブル全体 */
#news-container table,
#news-container-sp table {
	width: 100%;
	border-collapse: collapse;
}

/* テーブルの行 */
#news-container table tr,
#news-container-sp table tr {
	border-bottom: 1px solid #e0e0e0;
}

/* テーブルのセル (日付 & タイトル) */
#news-container table th,
#news-container-sp table th,
#news-container table td,
#news-container-sp table td {
	padding: 25px 15px;
	text-align: left;
	font-weight: normal;
	vertical-align: middle; /* 上下中央揃え */
}

/* テーブル内のリンク */
#news-container table td a,
#news-container-sp table td a {
	color: #333;
	text-decoration: none;
}
#news-container table td a:hover,
#news-container-sp table td a:hover {
	text-decoration: underline;
}

/* SP用テーブルの日付セルのみの調整 */
#news-container-sp table th {
	white-space: nowrap;
	width: 1%;
	padding-right: 10px;
}

/* --- 4. ページネーション (PC/SP共通) --- */

/* コンテナ */
#pagination-container,
#pagination-container-sp {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 40px;
}

/* ボタン */
#pagination-container a,
#pagination-container-sp a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin: 0 4px;
	text-decoration: none;
	color: #337ab7;
	transition: background-color 0.3s;
}
#pagination-container a:hover,
#pagination-container-sp a:hover {
	background-color: #f0f0f0;
}
#pagination-container a[style*="bold"],
#pagination-container-sp a[style*="bold"] {
	background-color: #337ab7;
	color: white;
	border-color: #337ab7;
}

/* --- 5. 元からあったその他のスタイル --- */
/* (こちらは念のためそのまま残してあります) */
h2.price {
	padding: 0.5em;
	color: #494949;
	background: #fffaf4;
	border-left: solid 5px #ffaf58;
	margin: 50px;
}
.price-top {
	background-color: #ffffff;
	border: 1px solid #000000;
	padding: 5px;
	font-weight: bold;
	margin-bottom: 5px;
	margin-top: 30px;
	text-align: center;
}
caption.price-top {
	background-color: #fffaf4;
	border: 1px solid #ffaf58;
	padding: 20px;
	font-weight: bold;
	margin-bottom: 5px;
}
caption.price-top01 {
	background-color: #fffaf4;
	border: 1px solid #ffaf58;
	padding: 20px;
	font-weight: bold;
	margin-bottom: 5px;
	margin-top: 30px;
}
.price-img {
	text-align: left;
	margin-bottom: 20px;
	width: 600px;
	margin: auto;
}
table.priceA {
	border-collapse: collapse;
	width: 600px;
	margin: auto;
}
th.priceA,
td.priceA {
	padding: 0px 10px;
	border: 0px solid #000;
}
th.priceA {
	background-color: #587fb8;
	color: #fff;
	font-weight: normal;
	position: relative;
	z-index: 10;
	width: 200px;
	height: 50px;
}
td.priceA {
	background-color: #e3f7ff;
}
tr.priceA {
	border-bottom: solid #ffffff;
}
table.priceB {
	border-collapse: collapse;
}
th.priceB,
td.priceB {
	padding: 0px 10px;
	border: 0px solid #000;
}
th.priceB {
	background-color: #979189;
	color: #fff;
	font-weight: normal;
	position: relative;
	z-index: 10;
	width: 200px;
	height: 50px;
}
td.priceB {
	background-color: #e2e2e2;
	padding-left: 25px;
}
th.priceB::after {
	content: "";
	position: absolute;
	height: 25px;
	width: 25px;
	background-color: #979189;
	transform: rotate(45deg);
	top: 10px;
	right: -12px;
	z-index: -1;
}
tr.priceB {
	border-bottom: solid #ffffff;
}
p.price-ms {
	font-size: small;
	margin-bottom: 50px;
}
p.price-ms02 {
	font-size: small;
}
.button {
	text-align: center;
}
.btn {
	cursor: pointer;
	display: block;
	width: 100%;
	max-width: 300px;
	margin: 2em auto 0;
	padding: 20px;
	border: 0;
	border-radius: 8px;
	color: ghostwhite;
	font-size: 1.2em;
	background: #86c0de;
	box-shadow: 0 6px 0 hsl(200deg 37% 50%), 0 12px 0 rgba(0, 0, 0, 0.2);
	transition: color 0.3s, box-shadow 0.3s, transform 0.3s;
	font-family: "Times New Roman", Times, serif;
	font-weight: bolder;
	display: inline-block;
	margin: 20px;
}
.btn:hover {
	color: white;
	background: #86c0de;
	box-shadow: 0 3px 0 hsl(200deg 47% 60%), 0 6px 0 rgba(0, 0, 0, 0.2);
	transform: translateY(3px);
}
.btn:active {
	color: gainsboro;
	background: #86c0de;
	box-shadow: 0 0 0 hsl(200deg 37% 50%), 0 0 0 rgba(0, 0, 0, 0.2);
	transform: translateY(6px);
	transition-duration: 0.1s;
}
.box {
	margin: auto;
	border: 1px solid #ccc;
	width: 70%;
	display: flex;
	justify-content: center;
	align-items: center;
}
iframe.box {
	width: 100%;
	height: 100%;
}
table.tbl-r02 {
	margin: 20px auto;
	width: 80%;
	border-collapse: collapse;
	margin: auto;
	margin-top: 50px;
	table-layout: fixed;
}
.tbl-r02 th {
	background: #7298e9;
	border: solid 1px #ccc;
	color: #fff;
	padding: 10px;
}
.tbl-r02 td {
	border: solid 1px #ccc;
	padding: 10px;
	text-align: center;
}
