/* ==========================================================================
   Phase 2: News Page Styles (assets/phase2/css/news.css)
   ========================================================================== */

/* Category Tabs Bar */

.news-tabs {
	max-width: var(--content-max-width, calc(var(--max-width, 1240) * 1px));
  margin-bottom: 60px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: center; /* Align center when fewer categories */
	flex-wrap: wrap;
	list-style: none;
}

.news-tabs li {
	flex: 1 1 0;
	max-width: 200px;
	text-align: center;
	position: relative;
	border-bottom: 1px solid  #E1E1E1;

}

.news-tabs li a {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--color, #666666);
	text-decoration: none;
	transition: all 0.2s ease;
	display: block;
	padding: 10px 0;
	position: relative;
}

.news-tabs li.active a::after,
.news-tabs li a:hover::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 6px;
	right: 6px;
	height: 1px;
	background-color: var(--color-gold);
}

/* Category Dropdown Select (Mobile & Tablet) */
.news-select-wrap {
	display: none;
	width: 100%;
	margin-bottom: 40px;
	margin-inline: auto;
	position: relative;
}

.news-select-wrap::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-75%) rotate(45deg);
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #707070;
	border-bottom: 1.5px solid #707070;
	pointer-events: none;
}

.news-select {
	width: 100%;
	height: 45px;
	padding: 0 40px 0 16px;
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 140%;
	letter-spacing: 0;
	color: #707070;
	background-color: #FFFFFF;
	border: 1px solid #C6C6C6;
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	outline: none;
	box-sizing: border-box;
}

.news-select:focus {
	border-color: var(--color-gold);
}

@media only screen and (max-width: 1024px) {
	.news-tabs {
		display: none !important;
	}
	.news-select-wrap {
		display: block;
	}
	.news-container,
	.phase2-breadcrumb,
	.phase2-breadcrumb ul {
		/*padding-left: 16px !important;
		padding-right: 16px !important;*/
		box-sizing: border-box;
	}
}

/* News List Rows (Figma Spec) */
.news-container {
	max-width: var(--content-max-width, calc(var(--max-width, 1240) * 1px));
	/*margin: 0 auto 80px;*/
  margin-inline: auto;
}

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

.news-item {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid #E1E1E1;
	text-decoration: none;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-shrink: 0;
}

.news-item:first-child {
	padding-top: 0;
}

.news-item:last-child {
	border-bottom: none;
}

.news-date {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	color: #5B5A62;
}

.news-badge {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 14px;
	font-weight: 500;
	font-style: normal;
	line-height: 100%;
	letter-spacing: 0em;
	color: var(--color-gold);
	border: 1px solid var(--color-gold);
	padding: 4px 30px;
	display: inline-block;
	white-space: nowrap;
}

.news-title {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	margin: 0;
	flex: 1;
	color: var(--color);
	transition: color 0.2s ease;
}

.news-title a {
	color: var(--color);
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-empty {
  inline-size: fit-content;
  margin-inline: auto;
}

/* Single News Detail Page (Figma Spec) */
.single-news-header {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid #E1E1E1;
}

.single-news-header .news-meta {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 20px;
}

.single-news-title {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 24px;
	font-weight: 700;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0;
	color: var(--color);
	margin: 0;
}

.single-news-block {
	margin: 40px 0 60px;
}

.single-news-thumbnail {
	margin-bottom: 30px;
	text-align: center;
}

.single-news-thumbnail img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.single-news .single-news-content {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	color: var(--color);
}

.single-news .single-news-content p {
	margin-bottom: 1.5em;
	line-height: 160%;
	letter-spacing: 0.008em;
}

.single-news .single-news-content .title-menu {
	display: block;
	background: #F6F6F6;
	color: var(--color);
	font-size: 130%;
	font-weight: bold;
	padding: 5px;
	margin-bottom: 3%;
}

/* Headings (H2 Subtitle with Light Grey Box Background) */
.single-news .single-news-content h2,
.single-news .single-news-content .h2-subtitle {
	position: relative;
	background-color: #F4F4F4;
	color: var(--color);
	font-size: 20px;
	font-weight: 500;
	line-height: 160%;
	padding: 16px 20px;
	margin: 40px 0 24px;
	border: none;
	box-sizing: border-box;
}

/* .single-news .single-news-content h2 .badge,
.single-news .single-news-content h2 img {
	position: absolute;
	right: 16px;
	top: -16px;
	width: 36px;
	height: 36px;
} */

.single-news .single-news-content h3 {
	font-size: 18px;
	font-weight: 500;
	line-height: 160%;
	color: var(--color);
	margin: 32px 0 16px;
	padding-left: 12px;
	border-left: 3px solid var(--color-gold);
}

.single-news .single-news-content h4 {
	font-size: 16px;
	font-weight: 500;
	color: var(--color);
	margin: 24px 0 12px;
}

.single-news .single-news-content .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	max-width: 400px;
	width: 100%;
	height: 48px;
	padding: 0 20px;
	margin: 24px 0;
	background-color: #383838;
	color: #FFFFFF !important;
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 18px;
	font-weight: 700;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	text-align: center;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color 0.2s ease;
	border-radius: 0;

}

.single-news .single-news-content .btn::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 13px;
	background-image: url("data:image/svg+xml,%3Csvg width='8' height='13' viewBox='0 0 8 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.353516 0.353516L6.35352 6.35352L0.353516 12.3535' stroke='white'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.single-news .single-news-content .btn:hover,
.single-news .single-news-content a.btn:hover,
.single-news .single-news-content .btn-default:hover,
.single-news .single-news-content .news-detail-btn:hover,
.single-news .single-news-content a.btn-dark:hover {
	background-color: var(--color-gold);
}

/* border box style */
.single-news .single-news-content .border {
	border: 1px solid #E1E1E1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Links & Text Decoration */
.single-news .single-news-content a {
	color: var(--color);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.single-news .single-news-content a:hover {
	color: var(--color-gold);
}

/* Bold Underlined Links */
.single-news .single-news-content a.bold-link,
.single-news .single-news-content a.link-bold,
.single-news .single-news-content strong a,
.single-news .single-news-content a strong,
.single-news .single-news-content b a,
.single-news .single-news-content a b {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 18px;
	font-weight: 700;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
}

/* Red Highlighted Text */
.single-news .single-news-content .red {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	color: #E53935;
}

/* Images, Figures & Media Blocks */
.single-news .single-news-content img,
.single-news .single-news-content figure img,
.single-news .single-news-content .wp-block-image img {
	max-width: 100%;
	height: auto;
}

.single-news .single-news-content img.aligncenter,
.single-news .single-news-content .aligncenter img,
.single-news .single-news-content .wp-block-image.aligncenter img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* alignleft */
.single-news .single-news-content img.alignleft,
.single-news .single-news-content .alignleft img {
	float: left;
	margin: 0 24px 16px 0;
}

/* alignright */
.single-news .single-news-content img.alignright,
.single-news .single-news-content .alignright img {
	float: right;
	margin: 0 0 16px 24px;
}

/* Universal fix: any <a> wrapping only an image
   constrains the click area to the image itself */
.single-news .single-news-content a:has(> img) {
	display: inline-block;
	max-width: 100%;
	line-height: 0; /* remove phantom whitespace below image */
}

/* Override for aligncenter links — center the inline-block */
.single-news .single-news-content a:has(> img.aligncenter) {
	display: block;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}
.single-news .single-news-content a:has(> img.aligncenter) img {
	margin-left: 0;
	margin-right: 0;
}

/* Override for alignleft links — move float to <a>, not img */
.single-news .single-news-content a:has(> img.alignleft) {
	float: left;
	margin: 0 24px 16px 0;
}
.single-news .single-news-content a:has(> img.alignleft) img {
	float: none;
	margin: 0;
}

/* Override for alignright links — move float to <a>, not img */
.single-news .single-news-content a:has(> img.alignright) {
	float: right;
	margin: 0 0 16px 24px;
}
.single-news .single-news-content a:has(> img.alignright) img {
	float: none;
	margin: 0;
}

.single-news .single-news-content p.has-text-align-center,
.single-news .single-news-content [style*="text-align: center"],
.single-news .single-news-content [style*="text-align:center"] {
	text-align: center;
}

.single-news .single-news-content figure {
	margin: 24px 0;
	text-align: center;
}

.single-news .single-news-content figcaption {
	font-size: 13px;
	color: #707070;
	margin-top: 8px;
}

/* Lists & Quotes */
.single-news .single-news-content ul,
.single-news .single-news-content ol {
	margin: 20px 0 20px 24px;
	padding: 0;
}

.single-news .single-news-content li {
	margin-bottom: 8px;
	line-height: 180%;
}

.single-news .single-news-content blockquote {
	margin: 24px 0;
	padding: 16px 20px;
	background-color: #FAFAFA;
	border-left: 4px solid var(--color-gold);
	color: #555555;
}

/* Single News Detail Pager (Figma Spec: Minimal Text Links) */
.single-news .single-news-pager,
.single-news-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-block: 60px 0;
	margin-inline: auto;
	padding: 0;
	list-style: none;
	width: 100%;
}

.single-news .single-news-pager li,
.single-news-pager li {
	flex: 1 1 0%;
}

.single-news .single-news-pager li.next,
.single-news-pager li.next {
	text-align: left;
}

.single-news .single-news-pager li.archive,
.single-news-pager li.archive {
	text-align: center;
}

.single-news .single-news-pager li.prev,
.single-news-pager li.prev {
	text-align: right;
}

.single-news .single-news-pager li a,
.single-news .single-news-pager li span,
.single-news-pager li a,
.single-news-pager li span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: auto !important;
	padding: 8px 0 !important;
	width: auto !important;
	box-sizing: border-box;
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: #707070 !important;
	background: transparent !important;
	border: none !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.single-news .single-news-pager li a:hover,
.single-news-pager li a:hover {
	color: var(--color-gold) !important;
	background: transparent !important;
	border: none !important;
}
/* ====================================================
   NOTE: News Pager Style (Figma Specification)
   Applies specifically to News archive & single pages.
   Global legacy .pager is preserved in common_pc.css.
   ==================================================== */
body.post-type-archive-news .pager,
body.single-news .pager,
.news-container .pager,
.pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-block: 60px 0;
	margin-inline: auto;
	padding: 0;
	list-style: none;
}

body.post-type-archive-news .pager li,
body.single-news .pager li,
.news-container .pager li,
.pager li {
	float: none;
	width: auto;
	margin: 0 !important;
}

body.post-type-archive-news .pager li a,
body.post-type-archive-news .pager li span,
body.single-news .pager li a,
body.single-news .pager li span,
.news-container .pager li a,
.news-container .pager li span,
.pager li a,
.pager li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	box-sizing: border-box;
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 14px;
	line-height: 140%;
	letter-spacing: 0.005em;
	text-align: center;
	color: #707070;
	background-color: #FFFFFF;
	border: 1px solid #C6C6C6;
	text-decoration: none;
	transition: all 0.2s ease;
	padding: unset !important;
}

body.post-type-archive-news .pager li span,
body.post-type-archive-news .pager li.active a,
body.single-news .pager li span,
body.single-news .pager li.active a,
.news-container .pager li span,
.news-container .pager li.active a,
.pager li span,
.pager li.active a {
	background-color: var(--color-gold);
	color: #FFFFFF;
	border-color: var(--color-gold);
}

body.post-type-archive-news .pager li a:hover,
body.single-news .pager li a:hover,
.news-container .pager li a:hover,
.pager li a:hover {
	background-color: var(--color-gold);
	color: #FFFFFF;
}

body.post-type-archive-news .pager .next a,
body.post-type-archive-news .pager .prev a,
body.single-news .pager .next a,
body.single-news .pager .prev a,
.news-container .pager .next a,
.news-container .pager .prev a,
.pager .next a,
.pager .prev a {
	width: 30px;
	height: 30px;
	padding: 0;
	font-size: 14px;
	float: none;
	border: 1px solid #C6C6C6;
	display: flex;
}

body.post-type-archive-news .pager li.dots span,
body.post-type-archive-news .pager li.dots,
body.single-news .pager li.dots span,
body.single-news .pager li.dots,
.news-container .pager li.dots,
.pager li.dots span,
.pager li.dots,
.pager .dots {
	border: none !important;
	background: transparent !important;
	color: #707070;
	font-size: 14px;
	width: auto;
	height: 30px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}

@media only screen and (max-width: 768px) {
.news-container,
.phase2-breadcrumb,
.phase2-breadcrumb ul {
	/*padding-left: 16px !important;
	padding-right: 16px !important;*/
	box-sizing: border-box;
}
/* News Breadcrumb SP (Mobile) */
.phase2-breadcrumb ul li a {
	font-size: 12px;
}
.news-tabs {
	gap: 16px;
	justify-content: flex-start;
	overflow-x: auto;
	white-space: nowrap;
	padding-bottom: 12px;
}
.news-item {
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 0;
}
.news-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}
.news-date {
	font-size: 14px;
	line-height: 140%;
	letter-spacing: 0;
	min-width: auto;
}
.news-badge {
	font-size: 14px;
	padding: 2px 20px;
}
.news-title {
	font-size: 16px;
	width: 100%;
}
.single-news-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
}
.single-news-header .news-meta {
	gap: 16px;
	margin-bottom: 14px;
}
.single-news-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 100%;
	letter-spacing: 0;
}
.single-news-block {
	margin: 30px 0 40px;
}
.single-news .single-news-content {
	font-size: 14px;
	line-height: 140%;
}
.single-news .single-news-content p {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 140%;
	letter-spacing: 0;
}
.single-news .single-news-content h2,
.single-news .single-news-content .h2-subtitle,
.single-news .single-news-content .title-menu {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 16px;
	font-weight: 700;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0;
	padding: 12px 16px;
	margin: 30px 0 16px;
}
.single-news .single-news-content h3 {
	font-size: 15px;
	margin: 24px 0 12px;
}
.single-news .single-news-content .red {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 16px;
	font-weight: 500;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
}
.single-news .single-news-content a.bold-link,
.single-news .single-news-content a.link-bold,
.single-news .single-news-content strong a,
.single-news .single-news-content a strong,
.single-news .single-news-content b a,
.single-news .single-news-content a b {
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 14px;
	font-weight: 700;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
}
.single-news .single-news-content .border {
	padding: 20px;
}
.single-news .single-news-content .btn {
	max-width: 100%;
	height: 44px;
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", sans-serif;
	font-size: 14px;
	font-weight: 700;
	font-style: normal;
	line-height: 160%;
	letter-spacing: 0.008em;
	text-align: center;
	padding: 0 16px;
}
.single-news-pager {
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 10px;
	margin: 40px auto 60px;
}
.single-news-pager li a,
.single-news-pager li span {
	height: auto !important;
	padding: 4px 0 !important;
	font-size: 13px;
}
.pager {
	gap: 8px;
	margin-block: 40px 60px;
	margin-inline: auto;
	display: flex;
}
.pager li a,
.pager li span,
.pager .next a,
.pager .prev a {
	width: 30px;
	height: 30px;
	font-size: 14px;
}
	
	
}

/* Prevent common_pc.css blue text hover (#40B1BF) */
#news_archive a:hover,
#news_single a:hover,
.news-tabs a:hover {
	color: inherit;
}
