/* 新着情報 (test) — トップページのスライダー直下、アコーディオン形式 */
.news-section {
	background: #fff;
	padding: 70px 16px 40px;
	border-top: 4px solid #F60E2A;
}
.news-inner {
	max-width: 1100px;
	margin: 0 auto;
}
.news-heading {
	text-align: center;
	font-size: 1.7rem;
	margin: 0 0 24px;
	color: #222;
	position: relative;
	letter-spacing: 0.08em;
}
.news-heading::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	background: #F60E2A;
	margin: 10px auto 0;
}

.news-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news-item {
	background: #fff;
	border: 1px solid #eee;
	border-left: 4px solid #F60E2A;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	overflow: hidden;
}

/* クリック可能ヘッダ */
.news-head {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	background: transparent;
	border: 0;
	padding: 14px 16px;
	cursor: pointer;
	text-align: left;
	color: #222;
	font: inherit;
}
.news-head:hover { background: #fff7f7; }
.news-head:focus-visible { outline: 2px solid #F60E2A; outline-offset: -2px; }

.news-date {
	flex: 0 0 auto;
	font-weight: bold;
	color: #F60E2A;
	letter-spacing: 0.05em;
	font-size: 1rem;
	white-space: nowrap;
}

.news-title {
	flex: 1 1 auto;
	font-size: 1.05rem;
	font-weight: bold;
	line-height: 1.4;
}

/* 開閉アイコン (V字) */
.news-icon {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-right: 2px solid #888;
	border-bottom: 2px solid #888;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
	margin-right: 6px;
}
.news-item.is-open .news-icon { transform: rotate(-135deg); }

/* 詳細パネル */
.news-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.news-body {
	margin: 0;
	padding: 12px 16px 16px 16px;
	border-top: 1px solid #f3f3f3;
	font-size: 0.95rem;
	color: #444;
	line-height: 1.8;
	white-space: pre-wrap;
	word-break: break-word;
	text-align: left;
}

.news-empty,
.news-error {
	text-align: center;
	color: #888;
	padding: 32px 16px;
	font-size: 0.95rem;
}
.news-empty {
	background: #fafafa;
	border: 1px dashed #d8d8d8;
	border-radius: 8px;
}
.news-empty-title {
	font-size: 1.3rem;
	font-weight: bold;
	color: #F60E2A;
	letter-spacing: 0.15em;
	margin-bottom: 8px;
}
.news-empty-sub {
	color: #888;
	font-size: 0.92rem;
}
.news-error { color: #c0392b; }

@media (min-width: 768px) {
	.news-empty { padding: 48px 24px; }
	.news-empty-title { font-size: 1.6rem; }
	.news-empty-sub { font-size: 1.05rem; }
}

/* ============================================================
   スライダー (slick) ドットのデザイン上書き
   ※ test/css/news.css に同居（本番反映時に slick_custom.css 等へ統合予定）
   ============================================================ */
.slick-dots {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 0;
	margin: 0;
}
.slick-dots li {
	display: inline-block;
	margin: 0 !important;
	width: auto !important;
	height: auto !important;
}
.slick-dots li button {
	width: 12px !important;
	height: 12px !important;
	padding: 0;
	border: 1px solid #999 !important;
	background: #fff !important;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	transition: all 0.25s ease;
	cursor: pointer;
}
.slick-dots li button:hover {
	border-color: #F60E2A !important;
	transform: scale(1.1);
}
.slick-dots li.slick-active button {
	width: 32px !important;
	height: 12px !important;
	border-radius: 8px;
	background: #F60E2A !important;
	border-color: #F60E2A !important;
	box-shadow: 0 1px 3px rgba(246,14,42,0.45);
}
/* slick標準の中の点(::before)は消す */
.slick-dots li button::before {
	display: none !important;
}

/* PC用：少し大きめに */
@media (min-width: 768px) {
	.slick-dots { gap: 12px; }
	.slick-dots li button {
		width: 14px !important;
		height: 14px !important;
	}
	.slick-dots li.slick-active button {
		width: 38px !important;
		height: 14px !important;
	}
}

/* PC: 文字サイズを大きく */
@media (min-width: 768px) {
	.news-section { padding: 110px 24px 60px; }
	.news-heading { font-size: 2.2rem; margin-bottom: 32px; }
	.news-head { padding: 20px 24px; gap: 20px; }
	.news-date { font-size: 1.15rem; }
	.news-title { font-size: 1.3rem; }
	.news-icon { width: 14px; height: 14px; }
	.news-body {
		font-size: 1.1rem;
		line-height: 1.9;
		padding: 16px 24px 24px 24px;
	}
}
