/**
* News Page Styles
* お知らせページ専用スタイル（一覧・詳細共通）
*
* @package Cocoon Child - RUFFREE
*/

/* ========================================
SINGLE NEWS PAGE - Header Spacing
======================================== */
.page-single-news {
	padding-top: 114px; /* ヘッダー分の余白 */
}

/* ========================================
BREADCRUMB
======================================== */
.news-breadcrumb {
	border-bottom: 1px solid rgba(66, 55, 47, 0.1);
}

/* 詳細ページ：パンくずからコンテンツまでの余白 */
.page-single-news .news-single-content .section-container {
	padding-top: 86px;
	padding-bottom:300px;
	padding-left:16px;
	padding-right:16px;
}

.news-breadcrumb .breadcrumb-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.news-breadcrumb a {
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.news-breadcrumb a:hover {
	opacity: 0.7;
}

.news-breadcrumb .breadcrumb-current {
	opacity: 0.7;
}

/* ========================================
NEWS LIST SECTION
======================================== */

.news-list-section {
	position: relative;
	overflow: hidden;
	padding-left:16px;
	padding-right:16px;
}

.news-list-section .section-container {
	padding-top: 140px;
	padding-bottom:140px;
}

.news-container {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.top-news-container{
	width:100%;
	max-width:1272px;
	background-color:var(--base-white);
	padding:74px 80px;
	min-height:600px !important; 
}
.top-news-left {
	min-width:205px
}
.top-news-container .top-salon-all-btn{

	max-width:190px;
	padding-left:30px !important;
	padding-right:30px !important;
}
/* カテゴリフィルター */
.news-category-filter {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
}

.news-filter-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--base-3);
}

.news-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size:15px;
}

.news-cat-btn {
	display: inline-block;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 400;
	color: var(--base-3);
	background-color: var(--base-white);
	border: 1px solid var(--base-brown);
	border-radius: 0;
	text-decoration: none;
	transition: all 0.25s ease;
}
.top-news-filter-buttons{
	gap:10px !important;
}
.top-news-filter-buttons .news-cat-btn{
	border:none !important;
	background:none !important;
	color:rgba(64, 64, 64, 0.30) !important;
	padding:0px;
}
.top-news-filter-buttons .news-cat-btn.active{
	color:var(--text-black) !important;
	background:none !important;
}
.news-cat-btn:hover,
.news-cat-btn.active {
	background-color: var(--base-brown);
	color: var(--base-white);
}

/* 記事リスト */
.news-list {
	display: flex;
	flex-direction: column;
	width:100%;
	max-width: 1040px;
	margin: 0 auto;
}

.news-item {
	border-bottom: 1px solid #c9c4b5;
}
.top-news-item-link{
	padding:18px 0px !important;
}
.top-news-item-link .news-title,
.top-news-item-link time,
.top-news-item-link .news-category{
	color:var(--text-brown) !important;
}
.top-news-item-link .news-category{
	padding:2px 8px !important;
	font-size:13px !important;
}

.news-item:last-child {
	border-bottom: none;
}
/* #top-news-list-container .news-list .top-news-item:last-of-type {
border-bottom: 1px solid #ccc !important;
} */
.top-news-item{
	border-bottom: 1px solid #c9c4b5 !important;
}
.news-item-link {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 25px 20px;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.news-item-link:hover {
	opacity: 0.8;
}

.news-thumbnail {
	width: 171px;
	min-width: 171px;
	height: 120px;
	overflow: hidden;
}

.news-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-item-link:hover .news-thumbnail img {
	transform: scale(1.05);
}

.news-content {
	width: 100%;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 8px;
}

.news-date {
	font-family: 'EB Garamond', serif;
	font-size: 16px;
	color: var(--base-3);
}

.news-category {
	display: inline-block;
	padding: 4px 12px;
	font-size: 15px;
	color: var(--base-3);
	background-color: transparent;
	box-shadow:0 0 0 0.25px #404040;
	border-radius: 0;
}

.news-title {
	font-size: 15px;
	font-weight: 400;
	color: var(--base-3);
	margin: 0;
}

.news-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ページネーション */
.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-top: 50px;
}

.news-pagination a,
.news-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 40px;
	padding: 0;
	font-family: 'EB Garamond', serif;
	font-size: 20px;
	font-style: italic;
	color: var(--text-brown);
	background-color: transparent;
	border: 1px solid var(--base-brown);
	text-decoration: none;
	transition: all 0.25s ease;
	font-style:normal !important;
}
.page-numbers{
	border-radius:0px !important;
	width:36px !important;
	font-style:none !important;
}
.news-pagination a:hover {
	background-color: var(--base-brown);
	border-color: var(--base-brown);
	color: var(--base-white);
}

.news-pagination .current {
	background-color:var(--base-brown);
	border-color: var(--base-brown);
	color: var(--base-white);
}

.news-pagination .dots {
	border: none;
	background: transparent;
	width:10px;
	padding: 0px 0px !important;
	font-style: normal;
}

.news-pagination .prev,
.news-pagination .next {
	border: none;
	background: transparent;
	min-width: auto;
	font-style: normal;
	font-size: 20px;

}

.news-pagination .prev:hover,
.news-pagination .next:hover {
	background: transparent;
	color: var(--accent-1);
}

/* 記事なし */
.news-no-results {
	text-align: center;
	padding: 50px 20px;
	background-color: var(--base-2);
	border-radius: 8px;
}

/* 装飾テキスト */
.news-deco-text {
	position: absolute;
	bottom: 60px;
	right: 0;
	font-size: 180px;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: rgba(66, 55, 47, 0.05);
	white-space: nowrap;
	pointer-events: none;
	z-index: 0;
}

/* ========================================
SINGLE NEWS PAGE
======================================== */
.news-single-container {
	max-width: 800px;
	margin: 0 auto;
}

.news-single-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}
.news-single-meta .news-category{
	background-color:var(--base-brown);
	color:var(--text-white);
	padding-top:2px;
	padding-bottom:2px;
}
.news-single-title {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--base-3);
	margin-bottom: 35px;
}

/* アイキャッチ画像 */
.news-featured-image {
	margin-bottom: 40px;
	border-radius: 0;
	overflow: hidden;
}

.news-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.news-featured-placeholder {
	aspect-ratio: 16/9;
	background-color: #c4c4c4;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 32px;
	letter-spacing: 0.05em;
}

/* イントロコンテンツ */
.news-intro-content {
	margin-bottom: 40px;
	font-size: 15px;
	line-height: 2;
	color: var(--base-3);
}

.news-intro-content p {
	margin: 0 0 20px;
}

.news-intro-content p:last-child {
	margin-bottom: 0;
}

/* 目次 */
.news-toc {
	background-color: transparent;
	border: none;
	border-radius: 0;
	padding: 30px 35px;
	margin-bottom: 50px;
}

.news-toc-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}

.news-toc-title {
	font-size: 18px;
	font-weight: 500;
	color: var(--base-3);
	margin: 0;
}

.news-toc-toggle {
	background-color: #c9a089;
	border: none;
	padding: 8px 20px;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #fff;
	cursor: pointer;
	transition: all 0.25s ease;
}

.news-toc-toggle:hover {
	opacity: 0.8;
}

.news-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.news-toc-item {
	padding: 0;
	border-bottom: none;
}

.news-toc-item a {
	display: flex;
	align-items: center;
	gap: 0;
	text-decoration: none;
	font-size: 15px;
	color: var(--base-3);
	padding: 8px 0;
	transition: color 0.25s ease;
}

.news-toc-item a:hover {
	color: var(--accent-1);
}

.news-toc-item .toc-number {
	font-size: 15px;
	color: var(--base-3);
	min-width: 30px;
}

.news-toc-item .toc-divider {
	display: inline-block;
	width: 1px;
	height: 16px;
	background-color: var(--base-3);
	margin: 0 15px;
}

.news-toc-item .toc-bullet {
	font-size: 8px;
	color: var(--base-3);
	margin-right: 10px;
}

.news-toc-item .toc-text {
	flex: 1;
}

.news-toc-item.toc-level-3 {
	padding-left: 50px;
}

.news-toc-item.toc-level-3 a {
	padding: 5px 0;
}

.news-toc.is-closed .news-toc-list {
	display: none;
}

.news-toc-item a.is-active {
	color: var(--accent-1);
}

.news-toc-item a.is-active .toc-number {
	font-weight: 700;
}

/* 記事本文 */
.news-article-content {
	font-size: 15px !important;
	font-family:'Noto Sans JP' !important;
	line-height:150% !important;
	color: var(--text-black);
}
.news-article-content p{
	font-size: 15px !important;
	font-family:'Noto Sans JP' !important;
	line-height:160% !important;
	font-weight:400;
	color: var(--text-black);
}

.news-article-content h2 {
	font-family: 'Noto Sans JP';
	font-size: 20px;
	font-weight: 500;
	margin: 50px 0 20px;
	padding-left: 15px;
	border-left: 3px solid var(--base-3);
	line-height: 1.5;
}

.news-article-content h2:first-child {
	margin-top: 0;
}

.news-article-content h3 {
	font-family: var(--font-ship);
	font-size: 16px;
	font-weight: 500;
	margin: 40px 0 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(66, 55, 47, 0.2);
}

.news-article-content h4 {
	font-family: var(--font-ship);
	font-size: 15px;
	font-weight: 500;
	margin: 30px 0 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.news-article-content h4::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8977e' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

.news-article-content p {
	margin: 0 0 20px;
}

.news-article-content a {
	color: var(--accent-1);
	text-decoration: underline;
}

.news-article-content a:hover {
	text-decoration: none;
}

.news-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	margin: 20px 0;
}

.news-article-content ul,
.news-article-content ol {
	margin: 20px 0;
	padding-left: 0;
	list-style: none;
}

.news-article-content ul li,
.news-article-content ol li {
	position: relative;
	padding: 10px 0 10px 25px;
	border-bottom: 1px dashed rgba(66, 55, 47, 0.15);
}

.news-article-content ul li:last-child,
.news-article-content ol li:last-child {
	border-bottom: none;
}

.news-article-content ul li::before {
	content: '>';
	position: absolute;
	left: 5px;
	color: var(--accent-1);
}

.news-article-content ol {
	counter-reset: list-counter;
}

.news-article-content ol li::before {
	counter-increment: list-counter;
	content: counter(list-counter) '.';
	position: absolute;
	left: 0;
	color: var(--accent-1);
	font-family: var(--font-en);
}

.news-article-content blockquote {
	margin: 30px 0;
	padding: 20px 25px;
	background-color: var(--base-2);
	border-left: 4px solid var(--accent-1);
	border-radius: 0 6px 6px 0;
}

.news-article-content table {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
}

.news-article-content th,
.news-article-content td {
	padding: 15px 20px;
	border: 1px solid rgba(66, 55, 47, 0.2);
	text-align: left;
}

.news-article-content th {
	background-color: var(--base-2);
	font-weight: 500;
}

/* ボックススタイル */
.news-article-content .box-label {
	display: inline-block;
	padding: 5px 15px;
	background-color: var(--accent-1);
	color: var(--base-2);
	font-size: 13px;
	margin-bottom: -1px;
	position: relative;
	z-index: 1;
}

.news-article-content .box-content {
	background-color: var(--base-2);
	border: 1px solid rgba(66, 55, 47, 0.15);
	padding: 20px;
}

/* まとめセクション */
.news-summary {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid rgba(66, 55, 47, 0.15);
}

.news-summary-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 500;
	color: var(--base-3);
	margin-bottom: 15px;
}

.news-summary-title .summary-bar {
	display: inline-block;
	width: 3px;
	height: 20px;
	background-color: var(--base-3);
}

.news-summary-text {
	font-size: 14px;
	line-height: 1.8;
	color: var(--base-3);
}

/* 戻るリンク */
.news-back-link {
	display: flex;
	justify-content: center;
	margin-top: 60px;
}

.news-back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	width: 224px;
	height: 56px;
	border: 1px solid var(--base-3);
	color: var(--base-3);
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
	background-color: var(--base-1);
}

.news-back-btn:hover {
	background-color: var(--base-2);
}

.news-back-btn:hover .news-back-icon svg {
	transform: translateX(-3px);
}

.news-back-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.news-back-icon svg {
	width: 36px;
	height: 36px;
	stroke: var(--base-3);
	transition: transform 0.3s ease;
}

.news-brown-btn{
	width:fit-content;
	gap:14px;
	margin:0px auto;
	margin-top:40px;
}
.news-brown-btn .btn-wrapper{
	height:30px;
	width:30px;
}

.news-loading-spinner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 300px; 
	position: relative;
}

#news-list-container {
	position: relative;
	width: 100%;
}

.spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(201, 191, 173, 0.2);
	border-top: 3px solid #C9BFAD;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 15px;
}

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

.loading-text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	color: #C9BFAD;
	letter-spacing: 0.1em;
	margin-top: 10px;
}

.news-error {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 300px;
	width: 100%;
	color: #ff6b6b;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
}

.news-loading {
	display: none;
}

.top-news-container {
	display: flex;
	flex-direction: row;
	gap: 100px;
}

#news-list-container .news-list {
	width: 100%;
}
.top-news-all-btn-sp{
		display:none;
	}
/* ========================================
RESPONSIVE
======================================== */


@media screen and (max-width:1150px){
	.top-news-container{
		flex-direction:column !important;
	}
	.top-news-left{
		justify-content:center;
	}
	.top-news-filter-buttons{
		flex-direction:row;
		align-items:center;
		justify-content:center;
		width:100%;
	}
	.top-news-container .top-salon-all-btn{
		display:none;
	}
	.top-news-all-btn{
		display:inline-flex !important;
		margin:0px auto;
	}
	.top-news-all-btn-sp{
		display:inline-flex;
	}
	.top-news-container{
		gap:5px;
	}
}


@media (max-width: 768px) {
	.news-list-section .section-container{
		padding-top:50px;
		padding-bottom:50px;
	}
	/* 	.news-list-section .px-16{
	padding-left:0px;
	padding-right:0px;
} */
	.news-item-link{
		padding-left:0px;
		padding-right:0px;
	}
	.news-category-filter {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.news-item-link {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px !important;
	}

	.news-thumbnail {
		width: 100%;
		min-width: auto;
		height:300px;
		object-position:cover;
	}

	.news-arrow {
		display: none;
	}

	.news-deco-text {
		font-size: 80px;
		bottom: 30px;
	}

	.news-single-title {
		font-size: 18px;
	}

	.news-article-content {
		font-size: 14px;
	}

	.news-article-content h2 {
		font-size: 16px;
		margin: 40px 0 15px;
	}

	.news-article-content h3 {
		font-size: 15px;
	}

	.news-toc {
		padding: 20px 15px;
	}

	.news-toc-item.toc-level-3 {
		padding-left: 35px;
	}

	.news-intro-content {
		font-size: 14px;
	}

	.news-back-btn {
		width: 224px;
		height: 56px;
		font-size: 14px;
		gap: 15px;
	}

	.news-back-icon svg {
		width: 36px;
		height: 36px;
	}

	/* 詳細ページのヘッダー余白（モバイル） */
	.page-single-news {
		padding-top: 80px;
	}

	.page-single-news .news-single-content .section-container {
		padding-top: 50px;
	}

	.news-title {
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-height: 1.5;
	}

	.news-item:last-child {
		border-bottom: 1px solid #c9c4b5;
	}
	.news-category{
		padding:2px 5px;
	}
	.news-single-title{
		margin-bottom:20px;
	}
	.news-featured-image{
		margin-bottom:20px;
	}

	.page-single-news .page-short-link svg{
		width:20px !important;
	}
	.page-single-news .news-single-content .section-container {
		padding-bottom:70px;
	}

	.top-news-container{
		gap:5px;
		padding:30px 10px 50px 10px;
	}
	.top-news-all-btn{
		
		margin-top:30px;
	}
	.top-news-item-link{
		padding:10px 0px !important; 
	}
	.top-news-item .news-category{
		font-size:12px;
	}
	.top-news-item .news-title,
	.top-news-item .news-date{
		font-size:14px;
	} 
	
}
