/**
 * GPTXT Article Pattern 05
 *
 * Pattern05: CTA強調型
 * - ボタンを主役にした強めのデザイン
 * - コントラスト高め
 * - マーケ寄りで印象に残りやすい
 */

/* =========================
   Wrapper
========================= */
.gptxt-pattern-05 {
	background: var(--gptxt-article-bg);
	padding-top: 16px;
	padding-bottom: 16px;
}

/* =========================
   Title
========================= */
.gptxt-pattern-05 .gptxt-title {
	color: var(--gptxt-article-title);
	margin-bottom: 22px;
	padding: 6px 0 4px;
}

/* =========================
   Link / Image
========================= */
.gptxt-pattern-05 .gptxt-link {
	margin-bottom: 0;
}

.gptxt-pattern-05 .gptxt-img {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	border-radius: 0;
}

/* =========================
   Button
========================= */
.gptxt-pattern-05 .gptxt-btn {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e90ff 50%, #4f8cff 100%);
	color: #ffffff;
	border: none;
	border-radius: 999px;
	box-shadow: 0 16px 32px rgba(65, 105, 225, 0.34);
	padding: 17px 20px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
}

.gptxt-pattern-05 .gptxt-btn:hover {
	transform: translateY(-2px) scale(1.01);
	box-shadow: 0 20px 36px rgba(65, 105, 225, 0.34);
	color: #ffffff;
	text-decoration: none;
}

.gptxt-pattern-05 .gptxt-btn:visited,
.gptxt-pattern-05 .gptxt-btn:focus,
.gptxt-pattern-05 .gptxt-btn:active {
	color: #ffffff;
	text-decoration: none;
}

/* =========================
   Headings
========================= */
.gptxt-pattern-05 .gptxt-headding {
	padding: 16px 18px;
	color: var(--gptxt-article-accent);
	margin-bottom: 14px;
	position: relative;
}

.gptxt-pattern-05 .gptxt-headding:not(.gptxt-headding03)::before {
	content: "●";
	display: inline-block;
	color: var(--gptxt-article-accent);
	font-size: 24px;
	margin-right: 10px;
	vertical-align: middle;
}

/* =========================
   Text blocks
========================= */
.gptxt-pattern-05 .gptxt-txt {
	background: var(--gptxt-article-surface);
	border-radius: 0;
	padding: 18px 18px;
	color: var(--gptxt-article-text);
	box-shadow: 0 8px 20px rgba(255, 138, 61, 0.05);
}

.gptxt-pattern-05 .gptxt-txt + .gptxt-txt {
	margin-top: 12px;
}

/* =========================
   Summary block
========================= */
.gptxt-pattern-05 .gptxt-headding03 {
	margin-right: -16px;
	margin-left: -16px;
	margin-bottom: 24px;
	border-top: 2px solid var(--gptxt-article-accent);
	border-bottom: 2px solid var(--gptxt-article-accent);
	padding-left: 32px;
}

.gptxt-pattern-05 .gptxt-txt07 {
	margin-bottom: 24px;
}

/* =========================
   First / Last CTA emphasis
========================= */
.gptxt-pattern-05 .gptxt-btn:first-of-type,
.gptxt-pattern-05 .gptxt-btn:last-of-type {
	position: relative;
	overflow: hidden;
}

.gptxt-pattern-05 .gptxt-btn:first-of-type::after,
.gptxt-pattern-05 .gptxt-btn:last-of-type::after {
	content: "";
	position: absolute;
	top: 0;
	left: -120%;
	width: 60%;
	height: 100%;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.28) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-20deg);
}

.gptxt-pattern-05 .gptxt-btn:first-of-type:hover::after,
.gptxt-pattern-05 .gptxt-btn:last-of-type:hover::after {
	left: 140%;
	transition: left 0.7s ease;
}

/* =========================
   Mobile
========================= */
@media screen and (max-width: 640px) {
	.gptxt-pattern-05 {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.gptxt-pattern-05 .gptxt-title {
		padding: 18px 16px;
		border-radius: 14px;
	}

	.gptxt-pattern-05 .gptxt-headding,
	.gptxt-pattern-05 .gptxt-txt {
		padding: 14px 14px;
		border-radius: 12px;
	}

	.gptxt-pattern-05 .gptxt-btn {
		padding: 15px 16px;
		font-size: 16px;
	}
}