/**
 * GPTXT Article Pattern 05
 *
 * Pattern05: CTA強調型
 * - ボタンを主役にした強めのデザイン
 * - コントラスト高め
 * - マーケ寄りで印象に残りやすい
 */

/* =========================
   Wrapper
========================= */
.gptxt-pattern-05 {
	background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
	padding-top: 16px;
	padding-bottom: 16px;
}

/* =========================
   Title
========================= */
.gptxt-pattern-05 .gptxt-title {
	background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
	color: #ffffff;
	border-radius: 18px;
	padding: 22px 24px;
	box-shadow: 0 14px 32px rgba(17, 24, 39, 0.18);
	margin-bottom: 22px;
}

/* =========================
   Link / Image
========================= */
.gptxt-pattern-05 .gptxt-link {
	margin-bottom: 18px;
}

.gptxt-pattern-05 .gptxt-img {
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* =========================
   Button
========================= */
.gptxt-pattern-05 .gptxt-btn {
	background: linear-gradient(135deg, #ff6b35 0%, #ff8a3d 50%, #ffb347 100%);
	color: #ffffff;
	border: none;
	border-radius: 999px;
	box-shadow: 0 16px 32px rgba(255, 107, 53, 0.28);
	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(255, 107, 53, 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 {
	background: #ffffff;
	border: 2px solid #ffd8c2;
	border-radius: 14px;
	padding: 16px 18px;
	color: #7c2d12;
	box-shadow: 0 8px 22px rgba(255, 138, 61, 0.08);
	margin-bottom: 14px;
	position: relative;
}

.gptxt-pattern-05 .gptxt-headding::before {
	content: "●";
	display: inline-block;
	color: #ff7a3d;
	font-size: 14px;
	margin-right: 10px;
	vertical-align: middle;
}

/* =========================
   Text blocks
========================= */
.gptxt-pattern-05 .gptxt-txt {
	background: #ffffff;
	border: 1px solid #ffe6d8;
	border-radius: 14px;
	padding: 18px 18px;
	color: #3f3f46;
	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 {
	background: linear-gradient(135deg, #fff1e8 0%, #fff7f0 100%);
	border-color: #ffc9ab;
}

.gptxt-pattern-05 .gptxt-txt07 {
	background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
	border-color: #ffd8c2;
}

/* =========================
   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;
	}
}