/* 記事内の自前部品のスタイル。src/styles/global.css から apply_swell_inner.py が抽出（SWELL記事レイアウト用） */
:root {
	--accent: #1565c0;
	--accent-dark: #0d47a1;
	--accent-light: #e3f2fd;
	--warning: #e65100;
	--warning-light: #fff3e0;
	--info: #0277bd;
	--info-light: #e1f5fe;
	--black: 15, 18, 25;
	--gray: 96, 115, 159;
	--gray-light: 229, 233, 240;
	--gray-dark: 34, 41, 57;
	--gray-gradient: rgba(var(--gray-light), 50%), #fff;
	--box-shadow: 0 2px 8px rgba(var(--gray), 15%), 0 4px 16px rgba(var(--gray), 10%);
	--border-radius: 8px;
	--max-width: 780px;
}
.sparkle-cta{position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.7em;
	margin: 2em auto;
	padding: 1.8em 1.4em 1.5em;
	border: 2px solid #bbdefb;
	border-radius: 10px;
	background: #e3f2fd;
	box-shadow: 0 4px 14px rgba(21, 101, 192, 0.08);
	text-align: center;}
.sparkle-cta-copy{margin: 0;
	color: #e65100;
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.7;}
.sparkle-cta-button{position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 320px);
	min-height: 74px;
	padding: 18px 44px;
	overflow: hidden;
	border-radius: 999px;
	background: #1565c0;
	box-shadow: 0 8px 18px rgba(21, 101, 192, 0.28);
	color: #fff !important;
	font-size: 1.25em;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;}
.sparkle-cta-button::before{content: "";
	position: absolute;
	top: -45%; left: -70%;
	width: 48%; height: 190%;
	background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.18) 38%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.18) 62%, transparent 100%);
	transform: rotate(18deg);
	animation: sparkle-sweep 2.8s ease-in-out infinite;}
.sparkle-cta-official{margin: 0;
	color: rgb(var(--gray));
	font-size: 0.88em;
	line-height: 1.6;}
.sparkle-cta-official a{font-weight: 700;}
@keyframes sparkle-sweep{
	0% { left: -70%; }
	45%, 100% { left: 125%; }
}
@media (max-width: 520px){.sparkle-cta{padding: 1.5em 1em 1.25em;}
.sparkle-cta-button{width: min(100%, 290px); min-height: 66px; font-size: 1.05em; padding: 16px 28px;}
}
.cta-micro{margin: 0 0 4px;
	font-size: 0.88em;
	font-weight: 600;
	color: #c62828;
	text-align: center;}
.internal-link-box{background: #f7f7f7;
	border-left: 4px solid #0066cc;
	padding: 12px 16px;
	margin: 16px 0;
	border-radius: 0 6px 6px 0;
	font-size: 0.95em;
	line-height: 1.6;}
.internal-link-box a{color: #0066cc; font-weight: 600; text-decoration: underline;}
.internal-link-box a:hover{color: #004499;}
.pr-notice{background: #fff8e1;
	border: 1px solid #ffd54f;
	padding: 10px 14px;
	margin: 16px 0;
	font-size: 14px;
	color: #5d4037;
	border-radius: 4px;}
.balloon{display: flex;
	gap: 12px;
	margin: 1.5em 0;
	align-items: flex-start;}
.balloon-icon{width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e3f2fd;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4em;
	flex-shrink: 0;}
.balloon-body{position: relative;
	background: #f5f5f5;
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 0.95em;
	line-height: 1.7;
	max-width: 85%;}
.balloon-body::before{content: '';
	position: absolute;
	left: -8px;
	top: 14px;
	width: 0; height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 8px solid #f5f5f5;}
.balloon-right{flex-direction: row-reverse;}
.balloon-right .balloon-body{background: var(--accent-light);}
.balloon-right .balloon-body::before{left: auto; right: -8px;
	border-right: none;
	border-left: 8px solid var(--accent-light);}
.balloon-body p{margin: 0 0 4px;}
.balloon-body p:last-child{margin: 0;}
.conclusion-box{background: linear-gradient(135deg, #e3f2fd, #e8eaf6);
	border: 2px solid var(--accent);
	border-radius: var(--border-radius);
	padding: 1.5em;
	margin: 2em 0;}
.conclusion-box h2{color: var(--accent-dark);
	font-size: 1.2em;
	margin: 0 0 0.8em;
	text-align: center;
	background: none;
	border-left: none;
	padding: 0;}
.conclusion-box h3{font-size: 1em;
	border-bottom: 1px solid rgba(var(--gray-light), 80%);
	padding-bottom: 0.3em;
	margin: 1.2em 0 0.5em;}
.conclusion-box ol, .conclusion-box ul{background: transparent;
	border: none;
	padding-left: 1.5em;
	margin: 0.5em 0;}
.cta-box{text-align: center;
	margin: 2em 0;
	padding: 1.5em 1em;
	border-radius: var(--border-radius);
	background: #fafafa;
	border: 1px solid #eee;}
.cta-box .cta-button{display: inline-block;
	padding: 16px 32px;
	background: var(--accent);
	color: #fff !important;
	border-radius: 999px;
	font-size: 1.1em;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
	position: relative;
	overflow: hidden;
	transition: background 0.2s;}
.cta-box .cta-button:hover{background: var(--accent-dark);}
.cta-box .cta-button::before{content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 100%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	animation: shine 3s infinite;}
@keyframes shine{
	0% { left: -100%; }
	50%, 100% { left: 100%; }
}
.cta-box .cta-note{margin: 8px 0 0;
	font-size: 0.82em;
	color: rgb(var(--gray));}
.cta-box.cta-urgent{background: #fff3e0; border-color: #ffcc80;}
.cta-box.cta-final{background: #e3f2fd; border-color: #90caf9;}
.author-credential-box{background: #f9fafb;
	border: 1px solid #e0e0e0;
	border-radius: var(--border-radius);
	padding: 1.2em;
	margin: 2em 0;}
.author-credential-box h3{font-size: 0.95em;
	margin: 0 0 0.8em;
	padding-bottom: 0.3em;
	border-bottom: 1px solid #eee;}
.author-credential-box .author-info{display: flex;
	gap: 1em;
	align-items: flex-start;}
.author-credential-box .author-img{width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #e3f2fd;
	flex-shrink: 0;}
.author-credential-box .author-name{font-weight: 700;
	margin: 0 0 4px;}
.author-credential-box ul{padding-left: 1.2em;
	margin: 4px 0 0;
	font-size: 0.9em;
	background: transparent;
	border: none;}
.recommended-box, .not-recommended-box{border-radius: var(--border-radius);
	padding: 1.2em;
	margin: 1.5em 0;}
.recommended-box{background: #e8f5e9;
	border: 1px solid #a5d6a7;}
.recommended-box h3{color: #2e7d32; margin: 0 0 0.5em; font-size: 1em;}
.not-recommended-box{background: #fce4ec;
	border: 1px solid #ef9a9a;}
.not-recommended-box h3{color: #c62828; margin: 0 0 0.5em; font-size: 1em;}
.recommended-box ul, .not-recommended-box ul{background: transparent;
	border: none;
	padding-left: 1.5em;
	margin: 0;}
.comparison-table-wrapper{overflow-x: auto;
	margin: 1.5em 0;
	-webkit-overflow-scrolling: touch;}
.comparison-table{min-width: 600px;}
.comparison-table .highlight td{background: var(--accent-light) !important;
	font-weight: 600;}
.author-name{font-weight: 700; margin-bottom: 4px;}
.cta-box, .cta-box.cta-urgent, .cta-box.cta-final, .cta-section,
.prose .cta-box, .sparkle-cta{background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0.5em 0;
  margin: 2.2em auto;
  text-align: center;
  color: inherit;}
.cta-micro, .cta-urgent .cta-micro, .cta-box .cta-micro, .sparkle-cta-copy, .cta-box strong{color: #333;
  font-size: 1.05em;
  font-weight: 700;
  background: none;}
.cta-button, .cta-box .cta-button, .cta-section .cta-button, a.cta-button,
.sparkle-cta-button, a.sparkle-cta-button,
.cta-btn, .cta-btn-a, .cta-btn-b{display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 560px);
  min-height: 64px;
  margin: 0.2em auto;
  padding: 14px 32px;
  background: #8bc34a;
  color: #fff !important;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  white-space: normal;
  overflow: hidden;
  position: relative;}
.cta-button:hover, .cta-box .cta-button:hover, .sparkle-cta-button:hover,
.cta-btn:hover, .cta-btn-a:hover, .cta-btn-b:hover{background: #7cb342;
  transform: translateY(-1px);
  text-decoration: none !important;}
.cta-note, .cta-box .cta-note{color: #888;
  opacity: 1;}
@media (max-width: 640px){.cta-button, .cta-box .cta-button, a.cta-button, .sparkle-cta-button,
  .cta-btn, .cta-btn-a, .cta-btn-b{width: 100%;
    min-height: 60px;
    font-size: 1em;
    padding: 13px 22px;}
}

/* 記事冒頭の自前PR表記は本家と同じ c-prNotation に置き換えたので非表示 */
.post_content .pr-notice{display:none}
