/* タイトルの改行制御（当ページのタイトル内のみ） */
.p-pressrelease .item-head .title .l-lg {
	display: inline;
}

.p-pressrelease .item-head .title .l-md {
	display: none;
}

@media screen and (max-width:1239px) {
	.p-pressrelease .item-head .title .l-lg {
		display: none;
	}

	.p-pressrelease .item-head .title .l-md {
		display: inline;
	}
}

@media screen and (max-width:767px) {
	.p-pressrelease .item-head .title .l-lg {
		display: none;
	}
}

/* リード（タイトル下の2行） */
.p-pressrelease .item-head .lead-box {
	margin-top: 1.5em;
	margin-bottom: 3em;
}

.p-pressrelease .item-head .lead-box .sub-text {
	color: #0061B4;
	font-size: 1.2em;
	font-weight: 600;
}

/* 青帯バッジ（PDF準拠） */
.p-pressrelease .item-head .lead-box .sub-badge {
	background-color: #0061B4;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	font-size: 1em;
	font-weight: 600;
	margin-top: .9em;
	padding: .55em 1.3em;
}

/* 本文中の強調リンク */
.p-pressrelease .item-detail .highlight {
	color: #0061B4;
	font-weight: 600;
}

/* AIソリューション紹介ブロック（bg-boxを外したため背景・paddingなし） */
.p-pressrelease .item-detail .aisol-box {
	margin-top: 1.5em;
}

.p-pressrelease .item-detail .aisol-box p {
	text-align: left;
	width: 100%;
}

/* 各セクションの間隔（共通CSSの 3em を当ページのみ上書き） */
.p-pressrelease .item-detail .detail-box {
	margin-top: 6em;
}

/* 見出し */
.p-pressrelease .item-detail .detail-box .s-title {
	color: #0061B4;
	font-size: 1.75em;
	font-weight: 600;
}

.p-pressrelease .item-detail .detail-box .s-title.border {
	border-bottom: 1px solid #ccc;
	padding-bottom: .5em;
}

/* 見出し内の登録商標表記のみ黒文字 */
.p-pressrelease .item-detail .detail-box .s-title .trademark {
	color: #333333;
}

/* 見出し＋「詳細はこちら」ボタンの並び */
.p-pressrelease .item-detail .detail-box .title-flex {
	align-items: center;
	border-bottom: 1px solid #ccc;
	display: flex;
	flex-wrap: wrap;
	gap: .5em 4.2em;
	padding-bottom: .5em;
}

.p-pressrelease .item-detail .detail-box .title-flex .s-title.border {
	border-bottom: none;
	padding-bottom: 0;
}

/* 見出しの上にもライン＋右にAIソリューションロゴ（PDF準拠） */
.p-pressrelease .item-detail .detail-box .title-flex.with-logo {
	border-top: 1px solid #ccc;
	padding-top: .8em;
}

.p-pressrelease .item-detail .detail-box .title-logo {
	display: block;
	flex-shrink: 0;
	max-width: 240px;
	width: 100%;
}

.p-pressrelease .item-detail .detail-box .title-logo .image {
	display: block;
	height: auto;
	width: 100%;
}

.p-pressrelease .item-detail .detail-box .title-logo:hover {
	opacity: .7;
}

/* ロゴが見出しの下に折り返したら中央に配置（折り返しは約920px以下で発生） */
@media screen and (max-width:920px) {
	.p-pressrelease .item-detail .detail-box .title-logo {
		margin-inline: auto;
	}
}

/* 「詳細はこちら」小ボタン（PDF準拠） */
.p-pressrelease .item-detail .detail-button {
	background-color: #edf6ff;
	border: 1px solid #0061B4;
	border-radius: 999px;
	color: #0061B4;
	display: inline-block;
	font-size: .85em;
	font-weight: 600;
	line-height: 1;
	padding: .65em 1.4em;
	text-decoration: none !important;
	white-space: nowrap;
}

.p-pressrelease .item-detail .detail-button:hover {
	opacity: .7;
}

.p-pressrelease .item-detail .detail-box .text-box {
	margin-top: 1em;
}

/* 画像（縦積み。共通CSSの .image-box が display:flex / width:fit-content のため上書き） */
.p-pressrelease .item-detail .image-box.article-image {
	display: flex;
	flex-direction: column;
	gap: 1.5em 0;
	margin-top: 2em;
	width: 100%;
}

.p-pressrelease .item-detail .image-box.article-image figure {
	margin: 0;
	width: 100%;
}

.p-pressrelease .item-detail .image-box.article-image .image {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

/* AIパースのBefore/After画像ブロック（背景つき・945pxで中央配置） */
.p-pressrelease .item-detail .image-box.aipers-image {
	align-items: center;
	background-color: #ECEDEF;
	box-sizing: border-box;
	padding: 2em;
}

.p-pressrelease .item-detail .image-box.aipers-image figure {
	max-width: 945px;
}

/* 各サービスのイメージ内・AIパースの画像（946pxで中央配置） */
.p-pressrelease .item-detail .image-box.aipers-service-image {
	align-items: center;
}

.p-pressrelease .item-detail .image-box.aipers-service-image figure {
	max-width: 946px;
}

/* 共通CSSの .caption は position:absolute のため解除 */
.p-pressrelease .item-detail .image-box.article-image .caption {
	bottom: auto;
	font-size: .9em;
	margin-top: .8em;
	position: static;
	right: auto;
	text-align: left;
}

/* 画像3点並び＋緑帯ラベル（PDF準拠） */
.p-pressrelease .item-detail .grid-wrapper {
	margin-top: 1.2em;
	position: relative;
}

.p-pressrelease .item-detail .image-grid {
	background-color: #EEF8FF;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	padding: 48px 45px;
	position: relative;
}

.p-pressrelease .item-detail .image-grid figure {
	margin: 0;
	position: relative;
	width: calc((100% - 30px) / 3);
}

.p-pressrelease .item-detail .image-grid figure .image {
	display: block;
	height: auto;
	width: 100%;
}

/* 画像左下の黒帯ラベル（ANGLE 01 / STYLE 01 など） */
.p-pressrelease .item-detail .image-grid .image-label {
	background-color: #333333;
	bottom: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	left: 0;
	line-height: 1.2;
	padding: 10px;
	position: absolute;
	white-space: nowrap;
	z-index: 1;
}

/* 画像上に重なる青バッジ */
.p-pressrelease .item-detail .grid-label {
	align-items: center;
	background-color: #44ABFF;
	border-radius: 7px;
	color: #fff;
	display: flex;
	font-size: 17px;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	left: 50%;
	letter-spacing: 2.55px;
	line-height: 1.2;
	padding: 10px 20px;
	position: absolute;
	top: 72px;
	transform: translateX(-50%);
	white-space: nowrap;
	z-index: 2;
}

.p-pressrelease .item-detail .grid-label .icon {
	display: block;
	flex-shrink: 0;
	height: 22px;
	width: 22px;
}

/* 料金（水色背景ボックス／PDF準拠） */
.p-pressrelease .item-detail .price-box {
	background-color: aliceblue;
	box-sizing: border-box;
	margin-top: 2.5em;
	padding: 2em;
	width: 100%;
}

.p-pressrelease .item-detail .price-box .text {
	font-size: 1em;
	font-weight: 600;
	text-align: left;
}

.p-pressrelease .item-detail .price-box .note-text {
	font-size: .85em;
	margin-top: 1em;
	text-align: left;
}

.p-pressrelease .item-detail .note-text {
	font-size: .9em;
	margin-top: 1em;
}

/* リフォームAI 画像上の緑ラベル（PDF準拠） */
.p-pressrelease .item-detail .reform-figure {
	position: relative;
}

.p-pressrelease .item-detail .reform-label {
	background-color: #8CC63E;
	border-radius: 999px;
	bottom: 16px;
	color: #fff;
	font-size: .95em;
	font-weight: 600;
	line-height: 1;
	padding: .55em 1.5em;
	position: absolute;
	white-space: nowrap;
	z-index: 1;
}

.p-pressrelease .item-detail .reform-label.is-before {
	left: 25%;
	transform: translateX(-50%);
}

.p-pressrelease .item-detail .reform-label.is-after {
	left: 75%;
	transform: translateX(-50%);
}

/* AIソリューションURL枠（PDF準拠） */
.p-pressrelease .item-detail .url-box {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	margin-top: 3em;
	padding-block: 1.5em;
}

.p-pressrelease .item-detail .url-box .text {
	text-align: left;
}

/* 各サービスのイメージ */
.p-pressrelease .item-detail .service-list {
	display: flex;
	flex-direction: column;
	gap: 4.5em 0;
	margin-top: 4em;
}

.p-pressrelease .item-detail .service-list .service-item .service-head {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .5em 2.8em;
}

.p-pressrelease .item-detail .service-list .service-item .service-name {
	color: #0061B4;
	font-size: 1.5em;
	font-weight: 600;
}

/* サービス名の右に入るロゴ（PDF準拠） */
.p-pressrelease .item-detail .service-list .service-item .service-logo {
	display: block;
	flex-shrink: 0;
	max-width: 180px;
	width: 100%;
}

.p-pressrelease .item-detail .service-list .service-item .service-logo .image {
	display: block;
	height: auto;
	width: 100%;
}

.p-pressrelease .item-detail .service-list .service-item .service-logo:hover {
	opacity: .7;
}

.p-pressrelease .item-detail .service-list .service-item .text-box {
	margin-top: .8em;
}

.p-pressrelease .item-detail .service-list .service-item .text-box .text {
	font-weight: 600;
}

/* CTAボタン */
.p-pressrelease .item-detail .button-flex {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 24px;
	justify-content: center;
	margin-top: 2.5em;
}

.p-pressrelease .item-detail .button-flex .button {
	align-items: center;
	background-color: #0061B4;
	border-radius: 30px;
	display: flex;
	justify-content: center;
	min-width: 320px;
	padding: 1em 2.5em;
	text-decoration: none !important;
}

.p-pressrelease .item-detail .button-flex .button:hover {
	opacity: .7;
}

.p-pressrelease .item-detail .button-flex .button .text {
	color: #fff;
	font-size: 1.1em;
	font-weight: 600;
	text-align: center;
}

/* 結びのテキスト */
.p-pressrelease .item-detail .text-box.closing-text {
	margin-top: 2.5em;
}

@media screen and (max-width:767px) {
	.p-pressrelease .item-head .title {
		font-size: 24px;
	}

	.p-pressrelease .item-detail .image-grid {
		gap: .8em;
	}

	.p-pressrelease .item-detail .image-grid figure {
		width: 100%;
	}

	/* 画像が縦積みになるため青バッジは重ねず先頭に置く */
	.p-pressrelease .item-detail .image-grid {
		flex-direction: column;
		padding: 24px 20px;
	}

	.p-pressrelease .item-detail .grid-label {
		font-size: 14px;
		left: auto;
		letter-spacing: 1px;
		order: -1;
		position: static;
		transform: none;
		white-space: normal;
	}

	.p-pressrelease .item-detail .image-grid .image-label {
		font-size: 13px;
		padding: 8px;
	}

	.p-pressrelease .item-detail .reform-label {
		bottom: 8px;
		font-size: .75em;
		padding: .45em 1em;
	}

	.p-pressrelease .item-detail .price-box {
		padding: 1.5em;
	}

	.p-pressrelease .item-detail .button-flex {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 16px;
	}

	.p-pressrelease .item-detail .button-flex .button {
		min-width: 0;
		width: 80%;
	}

}
