@charset "utf-8";

/* ==========================================
   ★ わたせせいぞう風 グラデーション背景 ★
   ========================================== */
.main-contents section {
	background: linear-gradient(160deg, #5289ff 0%, #dae9ff 30%, #76adf5 88%, #fbffc9 100%);
	padding: 30px 20px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   ★ グラスモーフィズム見出し ＆ 金色のピン ★
   ========================================== */
.main-contents section h2 {
	position: relative;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 12px;
	box-shadow: 8px 8px 25px rgba(0, 0, 0, 0.15);
	padding: 15px 35px !important;
	color: #a87b27;
	font-weight: 700;
	text-shadow:
		1px 1px 2px #fff9ca,
		-1px 1px 2px #fff9ca,
		-1px -1px 0 #fff9ca,
		1px -1px 0 #fff565;
	border-bottom: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
}

/* 金色のピン装飾 */
.main-contents section h2::before,
.main-contents section h2::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, #fceabb 0%, #f8b500 50%, #e0a300 100%);
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3), inset 1px 1px 2px rgba(255, 255, 255, 0.5);
	border: 1px solid rgba(218, 165, 32, 0.5);
}

.main-contents section h2::before {
	left: 10px;
}

.main-contents section h2::after {
	right: 10px;
}

.main-contents section h2 .uline {
	border-bottom: none;
}

/* 改定日の表示スタイル */
#revision-date {
	text-align: right;
	color: #ffffff;
	font-size: 0.85rem;
	margin-top: 15px;
	margin-bottom: 5px;
}

/* ==========================================
   ★ 動的料金テーブルのデザイン ★
   ========================================== */
.ta2.dynamic-table {
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
	margin-bottom: 40px;
	background-color: rgba(255, 255, 255, 0.85);
	border: none;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.ta2.dynamic-table caption {
	font-weight: bold;
	padding: 1rem;
	text-align: left;
	font-size: 115%;
	background: rgba(211, 227, 253, 0.9);
	color: #004C7F;
	/* カテゴリーのブルー */
	border: none;
}

.ta2.dynamic-table th,
.ta2.dynamic-table td {
	padding: 15px 10px;
	border-bottom: 1px solid #eee;
}

.ta2.dynamic-table th {
	width: 35%;
	background: rgba(238, 238, 238, 0.4);
	text-align: left;
}

.ta2.dynamic-table td.price-col {
	width: 25%;
	text-align: right;
	font-weight: bold;
	color: #004C7F;
	/* ★金額を赤からブルーへ変更 */
	font-size: 1.1rem;
}

.ta2.dynamic-table td.memo-col {
	width: 40%;
	font-size: 0.85rem;
	color: #555;
}

/* モバイル表示の強制上書き */
.sub-contents section {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/* モバイル時の幅調整 */
@media screen and (max-width: 600px) {
	.main-contents section h2 {
		padding: 12px 25px !important;
		font-size: 1.1rem;
	}

	.ta2.dynamic-table th {
		width: 35%;
		font-size: 0.9rem;
	}

	.ta2.dynamic-table td.price-col {
		width: 35%;
		font-size: 1rem;
	}

	.ta2.dynamic-table td.memo-col {
		width: 30%;
		font-size: 0.75rem;
	}
}