/* プレスリリース（inc/press.php / single-press-release.php）.
   Chip in news lists, featured card on the front page, print-like single page. */

/* ---------- PRESS RELEASE chip (navy, distinct from the cyan お知らせ text and the G-Labo labels) ---------- */
.c-press-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: .32em .9em; border-radius: 4px;
	background: var(--c-heading); color: #fff;
	font-family: var(--f-en); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; white-space: nowrap; /* v0.9.23: was 11.5px */
}
.c-press-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

/* ---------- Front page: featured press release ---------- */
.c-press-feature { margin: 0 0 40px; }
.c-press-feature__link {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch;
	overflow: hidden; border: 1px solid var(--c-border); border-radius: var(--radius);
	background: #fff; color: var(--c-heading); text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 40, 60, .04), 0 10px 30px rgba(0, 40, 60, .06);
	transition: box-shadow .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.c-press-feature__link:hover, .c-press-feature__link:focus-visible {
	color: var(--c-heading); border-color: var(--c-line); transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(0, 40, 60, .05), 0 20px 44px rgba(0, 90, 128, .14);
}
.c-press-feature__media { position: relative; min-height: 240px; background: var(--c-tint); overflow: hidden; }
.c-press-feature__media img, .c-press-feature__media .c-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.c-press-feature__link:hover .c-press-feature__media img { transform: scale(1.04); }
.c-press-feature__body { display: flex; flex-direction: column; gap: 12px; padding: 32px 36px; border-left: 4px solid var(--c-heading); }
.c-press-feature__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-family: var(--f-en); font-size: 13px; font-weight: 600; color: var(--c-muted); letter-spacing: .06em; }
.c-press-feature__title { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.6; }
.c-press-feature__lead {
	font-size: 14px; line-height: 1.85; color: var(--c-text);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.c-press-feature__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--c-main-deep); }
.c-press-feature__more .c-icon { width: 18px; height: 18px; transition: transform .3s ease; }
.c-press-feature__link:hover .c-press-feature__more .c-icon { transform: translateX(4px); }

/* ---------- News lists ---------- */
.c-news-list__item.is-press .c-news-list__title { color: var(--c-heading); }

/* ---------- Single press release ---------- */
.p-press__header { padding-bottom: 80px; background: #fff; border-bottom: 1px solid var(--c-border); }
.p-press__bar {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px;
	margin: 32px 0 28px; padding: 12px 0; border-top: 3px solid var(--c-heading); border-bottom: 1px solid var(--c-heading);
}
.p-press__label { font-family: var(--f-en); font-size: 15px; font-weight: 600; letter-spacing: .28em; color: var(--c-heading); }
.p-press__bar-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--c-text); }
.p-press__bar-meta time { font-feature-settings: "palt"; }
.p-press__company { font-weight: 700; color: var(--c-heading); }
.p-press__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.6; letter-spacing: .04em; }

.p-press .p-press__thumb { margin: 40px 0 0; border-radius: var(--radius-s); box-shadow: 0 0 0 1px var(--c-border); }
.p-press .p-press__body { margin-top: 40px; padding: 48px 56px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* lead = first paragraph */
.p-press__body > p:first-child {
	margin: 0 0 2.4em; padding: 24px 28px;
	background: var(--c-tint-2); border-left: 4px solid var(--c-main); border-radius: 0 var(--radius-s) var(--radius-s) 0;
	color: var(--c-heading); font-size: 16px; line-height: 2; font-weight: 500;
}
.p-press__body h2 { font-size: 20px; padding-bottom: 10px; }
.p-press__body p { line-height: 2; }

/* tables: clean two-column fact sheet */
.p-press__body .wp-block-table { margin-top: 1.2em; }
.p-press__body table { font-size: 14.5px; border-top: 2px solid var(--c-heading); }
.p-press__body th, .p-press__body td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.p-press__body th { width: 26%; background: var(--c-tint-2); color: var(--c-heading); font-weight: 700; white-space: nowrap; }

/* 代表コメント (core quote block, class zen-rep-comment) */
.p-press__body blockquote, .p-press__body .wp-block-quote {
	position: relative; margin: 1.4em 0 0; padding: 28px 32px 24px 36px;
	border: 1px solid var(--c-border); border-left: 4px solid var(--c-heading); border-radius: 0 var(--radius-s) var(--radius-s) 0;
	background: #fff;
}
.p-press__body blockquote::before { content: "“"; position: absolute; left: 12px; top: -4px; font-family: Georgia, serif; font-size: 56px; line-height: 1; color: var(--c-main-soft); }
.p-press__body blockquote p { margin: 0; color: var(--c-heading); }
.p-press__body blockquote p + p { margin-top: 1em; }
.p-press__body blockquote cite { display: block; margin-top: 16px; text-align: right; font-style: normal; font-size: 14px; font-weight: 700; color: var(--c-text); }
.p-press__body blockquote cite::before { content: "― "; }
@media (max-width: 767px) {
	.p-press__body blockquote, .p-press__body .wp-block-quote { padding: 22px 16px 18px 22px; }
}

.p-press__end { margin-top: 2.4em !important; text-align: right; font-weight: 700; color: var(--c-heading); letter-spacing: .2em; }

/* お問い合わせ block */
.p-press__contact {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 32px;
	margin-top: 32px; padding: 28px 32px; border: 1px solid var(--c-heading); border-radius: var(--radius-s); background: #fff;
}
.p-press__contact-title { grid-column: 1 / -1; font-size: 15px; letter-spacing: .1em; padding-bottom: 12px; border-bottom: 1px solid var(--c-border); }
.p-press__contact-body p { margin: 0; }
.p-press__contact-name { font-weight: 700; color: var(--c-heading); }
.p-press__contact-text { margin-top: 4px !important; font-size: 14px; line-height: 1.8; }

@media (max-width: 899px) {
	.c-press-feature__link { grid-template-columns: 1fr; }
	.c-press-feature__media { min-height: 0; aspect-ratio: 16 / 10; }
	.c-press-feature__body { border-left: 0; border-top: 4px solid var(--c-heading); padding: 22px 20px 24px; }
}
@media (max-width: 767px) {
	.c-press-feature { margin-bottom: 28px; }
	.p-press__header { padding-bottom: 56px; }
	.p-press__bar { margin: 24px 0 20px; }
	.p-press__label { font-size: 13px; letter-spacing: .22em; }
	.p-press__bar-meta { font-size: 13px; }
	.p-press .p-press__body { margin-top: 24px; padding: 28px 18px; }
	.p-press__body > p:first-child { padding: 18px 16px; font-size: 15px; line-height: 1.9; }
	.p-press__body th { width: auto; white-space: normal; } /* main.css stacks th/td on phones: let the label band span the row */
	.p-press__body th, .p-press__body td { padding: 12px 10px; }
	.p-press__contact { grid-template-columns: 1fr; padding: 22px 18px; }
}

@media print {
	.l-header, .l-footer, .c-float, .p-single__back, .p-press__contact-action, .c-breadcrumb { display: none !important; }
	.p-press__header { padding-top: 0; }
	.p-press .p-press__body { border: 0; padding: 0; }
}
