@charset "UTF-8";

/* ==========================================================================
   Single Case (Renewal 2026)
   Design source: Figma node 14183:8521 (導入事例_詳細ページ)
   Scope: #renewal_2026_case_single で完全に閉じる。
   ========================================================================== */

#renewal_2026_case_single {
	background-color: #fff;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: #101828;
	padding-bottom: 40px;
}

#renewal_2026_case_single *,
#renewal_2026_case_single *::before,
#renewal_2026_case_single *::after {
	box-sizing: border-box;
}

#renewal_2026_case_single a {
	color: inherit;
	text-decoration: none;
	margin: 12px 0px;
	padding: 0px;
}

#renewal_2026_case_single ul,
#renewal_2026_case_single ol,
#renewal_2026_case_single li {
	margin: 0;
	list-style: none;
}

#renewal_2026_case_single h1,
#renewal_2026_case_single h2,
#renewal_2026_case_single h3,
#renewal_2026_case_single h4,
#renewal_2026_case_single p,
#renewal_2026_case_single figure {
	margin: 0;
}


#renewal_2026_case_single .p-case-single__main p,
#renewal_2026_case_single .p-case-single__main figure {
    margin-top: 25px;
}

/* ----- Breadcrumb ----- */
.p-case-single__breadcrumb {
	max-width: 950px;
	width: 100%;
	margin: 0 auto;
	padding: 8px 16px;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 10px;
	font-family: "Inter", "Noto Sans JP", sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #99A1AF;
	overflow: hidden;
	white-space: nowrap;
}

.p-case-single__breadcrumb > a,
.p-case-single__breadcrumb > .p-case-single__breadcrumb-sep {
	flex-shrink: 0;
}

.p-case-single__breadcrumb a {
	color: #99A1AF;
	transition: opacity 0.2s;
}

.p-case-single__breadcrumb a:hover {
	opacity: 0.7;
}

.p-case-single__breadcrumb-sep {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	color: #99A1AF;
	flex-shrink: 0;
}

.p-case-single__breadcrumb-current {
	color: #101828;
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ----- Header (title section) ----- */
.p-case-single__header {
	background-color: #F9FAFB;
	padding: 32px 16px;
}

.p-case-single__header-inner {
	max-width: 950px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* メタ情報の配置：CSS Grid で PC / モバイルで自由に並び替え。
   PC :  [team] [date] .......... [tags]   (1行)
   SP :  [date] .......... [tags]
         [team]                            (2行に分割) */
.p-case-single__meta {
	display: grid;
	grid-template-columns: auto auto 1fr;
	grid-template-areas: "team date tags";
	align-items: center;
	column-gap: 16px;
	row-gap: 8px;
}

.p-case-single__meta-team {
	grid-area: team;
	font-size: 20px;
	font-weight: 700;
	color: #101828;
	line-height: 1.4;
}

.p-case-single__meta-date {
	grid-area: date;
	font-size: 14px;
	font-weight: 400;
	color: #99A1AF;
	line-height: 1.4;
}

.p-case-single__meta-tags {
	grid-area: tags;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-self: end;
}

.p-case-single__meta-tags > li {
	padding: 2px 8px;
	border: 1px solid #d80c18;
	border-radius: 4px;
	background: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: #d80c18;
}

.p-case-single__title {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 45px;
	color: #101828;
	letter-spacing: 0.015em;
}

.p-case-single__share {
	margin-top: 8px;
}

/* AddToAny の出力をデザインに合わせて整える */
.p-case-single__share .a2a_kit {
	display: inline-flex;
	gap: 8px;
}

.p-case-single__share .a2a_button_x,
.p-case-single__share .a2a_button_facebook,
.p-case-single__share .a2a_button_line,
.p-case-single__share .a2a_button_email,
.p-case-single__share .a2a_button_threads,
.p-case-single__share .a2a_dd {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	overflow: hidden;
}

/* ----- Main container (body + sidebar) ----- */
.p-case-single__container {
	max-width: 950px;
	width: 100%;
	margin: 0 auto;
	padding: 40px 0px 0;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.p-case-single__main {
	flex: 1 1 auto;
	min-width: 0;
}

.p-case-single__sidebar {
	flex: 0 0 220px;
	max-width: 220px;
	padding: 24px;
	border-radius: 16px;
	background: #F9FAFB;
}

/* ----- Featured image ----- */
.p-case-single__image {
	width: 100%;
	margin: 0 0 24px;
	border-radius: 4px;
	overflow: hidden;
}

.p-case-single__image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ----- Sub team heading (in body) ----- */
.p-case-single__body-team {
	font-size: 14px;
	font-weight: 400;
	color: #101828;
	line-height: 2.2;
	margin-bottom: 16px;
}

/* ----- Article content (the_content) ----- */
.p-case-single__content {
	font-size: 1pc;
	line-height: 2;
	color: #101828;
}

.p-case-single__content p {
	margin-bottom: 1.5em;
}

.p-case-single__content h2 {
	font-size: 18px;
	font-weight: 700;
	color: #101828;
	margin: 2em 0 1em;
	padding-bottom: 8px;
	border-bottom: 2px solid #d80c18;
}

.p-case-single__content h3 {
	font-size: 16px;
	font-weight: 700;
	color: #101828;
	margin: 1.5em 0 .8em;
}

.p-case-single__content h4 {
	font-size: 14px;
	font-weight: 700;
	color: #101828;
	margin: 1.2em 0 .5em;
}

.p-case-single__content strong {
	font-weight: 700;
}

.p-case-single__content a {
	color: #d80c18;
	text-decoration: underline;
}

.p-case-single__content a:hover {
	opacity: .7;
}

.p-case-single__content img {
	max-width: 100%;
	height: auto;
}

.p-case-single__content figure {
	margin: 1.5em 0;
}

.p-case-single__content ul,
.p-case-single__content ol {
	margin: 1em 0 1.5em;
	padding-left: 1.5em;
}

.p-case-single__content ul li,
.p-case-single__content ol li {
	list-style: disc outside;
	margin-bottom: .3em;
}

.p-case-single__content ol li {
	list-style: decimal outside;
}

/* ----- Share at bottom ----- */
.p-case-single__share-bottom {
	margin-top: 32px;
}

/* ----- Contact CTA button (optional) ----- */
.p-case-single__contact {
	margin-top: 40px;
	text-align: center;
}

.p-case-single__contact img {
	max-width: 100%;
	height: auto;
}

/* ----- Sidebar セクション間の余白 -----
   絞り込みフィルタ自体のスタイルは archive-case.css 側に集約
   （.p-case-archive__filter-* クラスが両ページで共通動作）。 */
.p-case-single__sidebar-section + .p-case-single__sidebar-section {
	margin-top: 32px;
}

#renewal_2026_case_single p.p-case-single__sidebar-heading {
	font-size: 16px;
	font-weight: 700;
	color: #101828;
	margin-bottom: 12px;
}

/* ----- Sidebar - Related cases ----- */
.p-case-single__related {
	display: flex;
	flex-direction: column;
}

.p-case-single__related-item {
	display: block;
	color: inherit;
	transition: opacity .2s;
}

.p-case-single__related-item:hover {
	opacity: .8;
}

.p-case-single__related-thumbnail {
	position: relative;
	width: 100%;
	padding-bottom: 56.18%;
	overflow: hidden;
	border-radius: 4px;
	background: #f5f5f5;
	margin-bottom: 8px;
}

.p-case-single__related-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-case-single__related-team {
	font-size: 13px;
	font-weight: 700;
	color: #101828;
	line-height: 1.5;
	margin-bottom: 4px;
}

.p-case-single__related-title {
	font-size: 12px;
	font-weight: 400;
	color: #101828;
	line-height: 1.6;
}

#renewal_2026_case_single p.p-case-single__related-team {
	margin: 8px 0;
	font-size: 11px;
	color: #6A7282;
}

#renewal_2026_case_single div.addtoany_list {
	gap:8px;
	display: inline-flex;
}
/* ----- SP ----- */
@media screen and (max-width: 767px) {
	.p-case-single__header {
		padding: 24px 16px;
	}

	.p-case-single__title {
		font-size: 20px;
		line-height: 1.5;
	}

	/* メタ情報：日付＋タグを1行目、学校名を2行目に分割 */
	.p-case-single__meta {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"date tags"
			"team team";
		column-gap: 16px;
		row-gap: 8px;
	}

	.p-case-single__meta-team {
		font-size: 18px;
	}

	.p-case-single__container {
		flex-direction: column;
		padding: 24px 16px 0;
		gap: 32px;
	}

	.p-case-single__sidebar {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
		order: 2;
	}

	.p-case-single__main {
		order: 1;
		width: 100%;
	}

	.p-case-single__content {
		font-size: 14px;
	}
}
