/* SNS Creator Search: テーマの見た目を大きく崩さない控えめなスタイル */

/* SNSごとのインデックス（見出しタブ）。下の検索フォームとつながって見える。 */
.snscs-index {
	margin-bottom: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.snscs-index__list > li {
	flex: 1 0 auto;
	margin: 0;
}

.snscs-index__list {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	margin: 0;
	padding: 0 8px;
	border-bottom: 1px solid #ddd;
	list-style: none;
}

.snscs-index__tab {
	--snscs-accent: #666;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 10px 6px;
	border: 1px solid #ddd;
	border-top: 3px solid var(--snscs-accent);
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	background: #f0f0f0;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.snscs-index__tab:hover,
.snscs-index__tab:focus-visible {
	background: #e6e6e6;
}

.snscs-index__tab[aria-current="page"] {
	position: relative;
	z-index: 1;
	margin-bottom: -1px;
	padding-bottom: 7px;
	background: #fafafa;
	font-weight: bold;
}

.snscs-index__label {
	font-size: 0.9em;
}

.snscs-index__count {
	color: #666;
	font-size: 0.75em;
}

.snscs-index__tab--x,
.snscs-index__tab--threads {
	--snscs-accent: #111;
}

.snscs-index__tab--youtube {
	--snscs-accent: #e00;
}

.snscs-index__tab--instagram {
	--snscs-accent: #d62976;
}

.snscs-index__tab--tiktok {
	--snscs-accent: #fe2c55;
}

.snscs-index__tab--substack {
	--snscs-accent: #ff6719;
}

.snscs-form {
	display: grid;
	gap: 12px;
	padding: 16px;
	margin-bottom: 24px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fafafa;
}

.snscs-index + .snscs-form {
	margin-top: 0;
	border-top: none;
	border-radius: 0 0 8px 8px;
}

.snscs-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}

.snscs-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.9em;
}

.snscs-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="button"]):not([type="submit"]),
.snscs-field select {
	width: 100%;
	box-sizing: border-box;
}

.snscs-button {
	justify-self: start;
	padding: 8px 24px;
	cursor: pointer;
}

.snscs-results__count {
	font-weight: bold;
}

.snscs-cards {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-card {
	display: flex;
	gap: 16px;
	padding: 16px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
}

.snscs-card__image {
	flex: 0 0 64px;
	border-radius: 50%;
	object-fit: cover;
}

.snscs-card__body {
	min-width: 0;
}

.snscs-card__name {
	margin: 0 0 4px;
	font-size: 1.1em;
}

.snscs-card__tags,
.snscs-card__excerpt {
	margin: 0 0 8px;
}

.snscs-tag {
	display: inline-block;
	margin: 0 4px 4px 0;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef2f7;
	font-size: 0.8em;
}

.snscs-accounts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9em;
}

.snscs-account {
	display: inline-flex;
	flex-wrap: wrap;
	max-width: 100%;
	box-sizing: border-box;
	gap: 0 6px;
	align-items: baseline;
	padding: 4px 10px;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	overflow-wrap: anywhere;
}

.snscs-account__platform {
	font-weight: bold;
}

.snscs-account__followers {
	color: #555;
}

.snscs-pagination {
	margin-top: 24px;
}

.snscs-pagination .page-numbers {
	display: inline-block;
	padding: 4px 10px;
}

@media (max-width: 480px) {
	.snscs-card {
		flex-direction: column;
	}
}

/* ---------- 発信者ポータル（登録・マイページ） ---------- */

.snscs-portal {
	display: grid;
	gap: 20px;
}

.snscs-portal > * {
	margin-top: 0;
	margin-bottom: 0;
}

.snscs-panel {
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
}

.snscs-panel__title {
	margin: 0 0 12px;
	font-size: 1.2em;
}

.snscs-auth {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.snscs-steps {
	margin: 0 0 16px;
	padding-left: 1.4em;
	font-size: 0.9em;
}

.snscs-fields {
	display: grid;
	gap: 16px;
}

.snscs-fields fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.snscs-fields legend {
	margin-bottom: 4px;
	padding: 0;
	font-size: 0.9em;
}

.snscs-fields input[type="text"],
.snscs-fields input[type="email"],
.snscs-fields input[type="password"],
.snscs-fields input[type="number"],
.snscs-fields select,
.snscs-fields textarea,
.snscs-portal #loginform input[type="text"],
.snscs-portal #loginform input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	font: inherit;
}

.snscs-portal #loginform p {
	margin: 0 0 12px;
}

.snscs-portal #loginform label {
	display: block;
	font-size: 0.9em;
}

.snscs-portal #loginform .login-remember label {
	display: inline;
}

.snscs-required {
	margin-left: 4px;
	padding: 0 6px;
	border-radius: 3px;
	background: #c62828;
	color: #fff;
	font-size: 0.75em;
	font-style: normal;
}

.snscs-help {
	margin: 0;
	color: #555;
	font-size: 0.85em;
}

.snscs-check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 0.9em;
}

.snscs-check input {
	flex: none;
	margin: 0.25em 0 0;
}

.snscs-hp {
	position: absolute;
	left: -9999px;
}

.snscs-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.snscs-chip {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid #ccc;
	border-radius: 999px;
	cursor: pointer;
}

.snscs-chip input {
	flex: none;
	width: auto;
	margin: 0;
}

.snscs-chip span {
	white-space: nowrap;
}

.snscs-chip:has(input:checked) {
	border-color: #1e3a8a;
	background: #eef2fb;
}

.snscs-photo {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.snscs-photo img {
	border-radius: 50%;
	object-fit: cover;
}

.snscs-sns-rows {
	display: grid;
	gap: 8px;
	margin-top: 8px;
}

.snscs-sns-row {
	display: grid;
	grid-template-columns: 96px 1fr 140px;
	gap: 8px;
	align-items: center;
	padding-left: 8px;
	border-left: 4px solid var(--snscs-accent, #666);
}

.snscs-sns-row--x,
.snscs-sns-row--threads {
	--snscs-accent: #111;
}

.snscs-sns-row--youtube {
	--snscs-accent: #e00;
}

.snscs-sns-row--instagram {
	--snscs-accent: #d62976;
}

.snscs-sns-row--tiktok {
	--snscs-accent: #fe2c55;
}

.snscs-sns-row--substack {
	--snscs-accent: #ff6719;
}

.snscs-sns-row__label {
	font-weight: bold;
}

.snscs-button--primary,
.snscs-portal #wp-submit {
	padding: 8px 24px;
	cursor: pointer;
}

.snscs-button--primary,
.snscs-portal #wp-submit {
	border: 0;
	border-radius: 6px;
	background: #1e3a8a;
	color: #fff;
}

.snscs-button--danger {
	border: 1px solid #c62828;
	border-radius: 6px;
	background: #fff;
	color: #c62828;
}

.snscs-notice {
	margin: 0;
	padding: 12px 16px;
	border-left: 4px solid #1e3a8a;
	background: #eef2fb;
}

.snscs-notice ul {
	margin: 0;
	padding-left: 1.2em;
}

.snscs-notice--success {
	border-color: #2e7d32;
	background: #edf7ee;
}

.snscs-notice--error {
	border-color: #c62828;
	background: #fdecea;
}

.snscs-account-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.85em;
	color: #555;
}

.snscs-badge {
	display: inline-block;
	margin-right: 8px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 0.85em;
	font-weight: bold;
}

.snscs-badge--live {
	background: #d7f0dd;
	color: #14532d;
}

.snscs-badge--off {
	background: #eee;
	color: #444;
}

.snscs-badge--pending {
	background: #fff1c2;
	color: #7a4f00;
}

.snscs-badge--rejected {
	background: #fdecea;
	color: #8e1c1c;
}

.snscs-review {
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: 6px;
}

.snscs-review p {
	margin: 0 0 6px;
}

.snscs-review--pending {
	background: #fffaeb;
}

.snscs-review--rejected {
	background: #fdf3f2;
}

.snscs-review__note {
	padding: 8px 12px;
	border-left: 3px solid #c62828;
	background: #fff;
}

.snscs-danger {
	border-color: #f0c4c4;
}

@media (max-width: 480px) {
	.snscs-sns-row {
		grid-template-columns: 1fr 1fr;
	}

	.snscs-sns-row__label {
		grid-column: 1 / -1;
	}
}

/* ---------- 紹介リンク ---------- */

.snscs-referral p {
	margin: 0 0 12px;
}

.snscs-referral__link {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.snscs-referral__link input {
	flex: 1 1 240px;
	min-width: 0;
	padding: 8px;
	font: inherit;
	background: #f9fafb;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.snscs-referral__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 0 0 12px;
}

.snscs-referral__stats div {
	padding: 10px 12px;
	border-radius: 8px;
	background: #f9fafb;
}

.snscs-referral__stats dt {
	color: #555;
	font-size: 0.8em;
}

.snscs-referral__stats dd {
	margin: 0;
	font-size: 1.3em;
	font-weight: bold;
}

.snscs-referral__stats small {
	color: #555;
	font-size: 0.6em;
	font-weight: normal;
}

/* ---------- 広告枠（控えめに、でも広告とはっきり分かるように） ---------- */

.snscs-ad {
	position: relative;
	box-sizing: border-box;
	max-width: 100%;
	margin: 16px 0;
	padding: 22px 12px 12px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fafafa;
	text-align: center;
	overflow: hidden;
}

.snscs-ad__label {
	position: absolute;
	top: 4px;
	left: 8px;
	color: #666;
	font-size: 11px;
	line-height: 1.4;
}

.snscs-ad__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.snscs-ad__body a {
	display: inline-block;
	max-width: 100%;
}

.snscs-ad--top_side {
	max-width: 336px;
}

.snscs-card--ad {
	display: block;
	padding: 0;
	border: 0;
}

.snscs-card--ad .snscs-ad {
	margin: 0;
}

/* ---------- 規約ページへのリンク ---------- */

.snscs-legal-links {
	margin-top: 24px;
	color: #666;
	font-size: 0.8em;
	text-align: center;
}

/* ---------- 退会 ---------- */

.snscs-withdraw__list {
	margin: 0 0 12px;
	padding-left: 1.4em;
}

/* ---------- SNS運用コラム ---------- */

.snscs-columns {
	margin: 32px 0 0;
}

.snscs-columns__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
}

.snscs-columns__title {
	margin: 0;
	font-size: 1.15em;
}

.snscs-columns__more {
	font-size: 0.85em;
}

.snscs-columns__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-column-card a {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: #fff;
}

.snscs-column-card a:hover .snscs-column-card__name,
.snscs-column-card a:focus-visible .snscs-column-card__name {
	text-decoration: underline;
}

.snscs-column-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.snscs-column-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
}

.snscs-column-card__sns {
	color: #1e3a8a;
	font-size: 0.75em;
	font-weight: bold;
}

.snscs-column-card__name {
	font-size: 0.95em;
	line-height: 1.5;
}

.snscs-column-card__date {
	color: #666;
	font-size: 0.75em;
}

.snscs-column-cta {
	margin: 32px 0 16px;
	padding: 20px;
	border-radius: 8px;
	background: #eef2fb;
	text-align: center;
}

.snscs-column-cta__text {
	margin: 0 0 12px;
}

.snscs-column-cta__button {
	display: inline-block;
	text-decoration: none;
}

/* ---------- コンテンツ販売（Brain・Tips）の広告カード ---------- */

.snscs-ad-content {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	color: inherit;
	text-align: left;
	text-decoration: none;
}

.snscs-ad-content__image {
	flex: 0 0 160px;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.snscs-ad-content__body {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.snscs-ad-content__platform {
	align-self: flex-start;
	padding: 0 8px;
	border-radius: 999px;
	background: #eee;
	color: #333;
	font-size: 0.75em;
}

.snscs-ad-content__title {
	font-size: 1em;
}

.snscs-ad-content__desc {
	color: #444;
	font-size: 0.85em;
}

.snscs-ad-content__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.snscs-ad-content__price {
	font-weight: bold;
}

.snscs-ad-content__button {
	padding: 6px 16px;
	border-radius: 6px;
	background: #c2410c;
	color: #fff;
	font-size: 0.85em;
	font-weight: bold;
}

.snscs-ad-content:hover .snscs-ad-content__title,
.snscs-ad-content:focus-visible .snscs-ad-content__title {
	text-decoration: underline;
}

/* 広告枠の共通スタイル（.snscs-ad__body a / img）より優先させる。 */
.snscs-ad__body .snscs-ad-content {
	display: flex;
}

.snscs-ad__body .snscs-ad-content__image {
	width: 160px;
	margin: 0;
}

@media (max-width: 480px) {
	.snscs-ad__body .snscs-ad-content__image {
		width: 100%;
	}
}

/* ---------- その他のリンク ---------- */

.snscs-link-rows {
	display: grid;
	gap: 8px;
	margin-top: 8px;
}

.snscs-link-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 8px;
}

@media (max-width: 480px) {
	.snscs-link-row {
		grid-template-columns: 1fr;
		padding-bottom: 8px;
		border-bottom: 1px solid #eee;
	}
}

.snscs-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.snscs-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1px solid #c7d2fe;
	border-radius: 999px;
	background: #eef2fb;
	color: #1e3a8a;
	font-size: 0.9em;
	text-decoration: none;
}

.snscs-links a:hover,
.snscs-links a:focus-visible {
	text-decoration: underline;
}

/* ---------- あなたの分析 ---------- */

.snscs-analysis p {
	margin: 0 0 12px;
}

.snscs-analysis__total strong {
	font-size: 1.6em;
}

.snscs-analysis__list {
	display: grid;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.snscs-analysis__list li {
	display: grid;
	grid-template-columns: 9em minmax(0, 1fr) 3.5em;
	gap: 4px 10px;
	align-items: center;
}

.snscs-analysis__label {
	font-size: 0.9em;
}

.snscs-analysis__bar {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: #eef0f3;
	overflow: hidden;
}

.snscs-analysis__bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #1e3a8a;
}

.snscs-analysis__list li.is-weakest .snscs-analysis__bar span {
	background: #c2410c;
}

.snscs-analysis__point {
	font-weight: bold;
	text-align: right;
}

.snscs-analysis__tip {
	grid-column: 1 / -1;
	padding: 8px 12px;
	border-radius: 6px;
	background: #fff7ed;
	color: #7c2d12;
	font-size: 0.85em;
}

@media (max-width: 480px) {
	.snscs-analysis__list li {
		grid-template-columns: minmax(0, 1fr) 3.5em;
	}

	.snscs-analysis__bar {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

/* ---------- 発信者の記事 ---------- */

.snscs-my-articles__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.snscs-my-articles__head .snscs-panel__title {
	margin: 0;
}

.snscs-my-articles__head .snscs-button {
	text-decoration: none;
}

.snscs-my-articles__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.snscs-my-articles__list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 10px 0;
	border-top: 1px solid #eee;
}

.snscs-my-articles__name {
	flex: 1 1 200px;
	min-width: 0;
	font-weight: bold;
}

.snscs-my-articles__actions {
	display: flex;
	gap: 12px;
	font-size: 0.9em;
}

.snscs-my-articles__note {
	flex-basis: 100%;
	padding: 6px 10px;
	border-left: 3px solid #c62828;
	background: #fdf3f2;
	font-size: 0.85em;
}

.snscs-article-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.snscs-article-delete {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.snscs-author {
	margin: 32px 0 16px;
	padding: 20px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fafafa;
}

.snscs-author__label {
	margin: 0 0 8px;
	color: #555;
	font-size: 0.8em;
}

.snscs-author__head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 12px;
}

.snscs-author__photo {
	flex: none;
	border-radius: 50%;
	object-fit: cover;
}

.snscs-author__name {
	font-size: 1.1em;
	font-weight: bold;
}

.snscs-author__bio {
	margin: 4px 0 0;
	color: #444;
	font-size: 0.9em;
}

.snscs-author__more {
	margin: 12px 0 0;
	font-size: 0.9em;
}

.snscs-articles {
	margin: 24px 0 0;
}

.snscs-articles__title {
	margin: 0 0 10px;
	font-size: 1.1em;
}

.snscs-articles__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-articles__list a {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.snscs-articles__list a:hover strong,
.snscs-articles__list a:focus-visible strong {
	text-decoration: underline;
}

.snscs-articles__image {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 6px;
	object-fit: cover;
}

.snscs-articles__list span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.snscs-articles__date {
	color: #666;
	font-size: 0.8em;
}

/* ---------- おすすめ・似ている発信者 ---------- */

.snscs-reco {
	margin: 24px 0 0;
}

.snscs-reco__title {
	margin: 0 0 10px;
	font-size: 1.1em;
}

.snscs-reco__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-reco__list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	height: 100%;
	box-sizing: border-box;
	padding: 14px 10px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.snscs-reco__list a:hover strong,
.snscs-reco__list a:focus-visible strong {
	text-decoration: underline;
}

.snscs-reco__photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.snscs-reco__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #dbeafe;
	color: #1e3a8a;
	font-size: 1.3em;
	font-weight: bold;
}

.snscs-reco__meta {
	color: #555;
	font-size: 0.8em;
}

/* 記事の編集画面（WordPress のエディター）をテーマの装飾から守る。 */
.snscs-fields .wp-editor-wrap {
	width: 100%;
}

.snscs-fields .quicktags-toolbar input.button {
	width: auto;
	margin: 2px;
}

.snscs-fields .wp-editor-area {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
}

/* ---------- コンテンツ販売・ブログ（note・Brain） ---------- */

.snscs-store-row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	padding-left: 8px;
	border-left: 4px solid #9ca3af;
}

.snscs-links a.snscs-links__store {
	border-color: #e5e7eb;
	background: #fff;
	color: #1f2937;
}

.snscs-links a.snscs-links__store--note {
	border-left: 4px solid #41c9b4;
}

.snscs-links a.snscs-links__store--brain {
	border-left: 4px solid #2563eb;
}

/* ---------- 招待 ---------- */

.snscs-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.snscs-share__button {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 6px;
	color: #fff;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
}

.snscs-share__button:hover,
.snscs-share__button:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.snscs-share__button--x {
	background: #111;
}

.snscs-share__button--line {
	background: #06813a;
}

.snscs-share__button--fb {
	background: #1659c7;
}

.snscs-invite__template {
	margin: 0 0 12px;
}

.snscs-invite__template summary {
	cursor: pointer;
	font-size: 0.9em;
}

.snscs-invite__template textarea {
	width: 100%;
	box-sizing: border-box;
	margin: 8px 0;
	padding: 8px;
	font: inherit;
	background: #f9fafb;
}

.snscs-notice--invite {
	border-color: #c2410c;
	background: #fff7ed;
}

/* 招待リンクから来た人には、新規登録を先に見せる。 */
.snscs-auth--invited > .snscs-panel:last-child {
	order: -1;
	border-color: #c2410c;
}

.snscs-ambassador {
	margin: 0 0 8px;
	font-size: 0.9em;
}

.snscs-badge--ambassador {
	background: #fde68a;
	color: #713f12;
}

/* ---------------------------------------------------------------------
 * 1.0: 回遊・パーソナライズ・特集・ランキング・ツールなど
 * ------------------------------------------------------------------- */

/* サイト内ナビ */
.snscs-quicknav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.snscs-quicknav__link {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid #c7d2fe;
	border-radius: 999px;
	background: #fff;
	color: #1e3a8a;
	font-size: 0.9em;
	text-decoration: none;
}

.snscs-quicknav__link:hover,
.snscs-quicknav__link:focus-visible,
.snscs-quicknav__link[aria-current="page"] {
	background: #1e3a8a;
	color: #fff;
}

/* チップ（キーワード・特集へのリンク） */
.snscs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.snscs-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #eef2ff;
	color: #1e3a8a;
	font-size: 0.9em;
	text-decoration: none;
}

.snscs-chip:hover,
.snscs-chip:focus-visible,
.snscs-chip[aria-current="true"] {
	background: #1e3a8a;
	color: #fff;
}

.snscs-chip--hot::before {
	content: "↑";
	color: #dc2626;
	font-weight: bold;
}

.snscs-chip--hot:hover::before,
.snscs-chip--hot:focus-visible::before {
	color: #fff;
}

.snscs-chip__count {
	color: #6b7280;
	font-size: 0.85em;
}

.snscs-chip:hover .snscs-chip__count,
.snscs-chip:focus-visible .snscs-chip__count {
	color: #e0e7ff;
}

.snscs-trends,
.snscs-feature-links {
	margin: 20px 0;
}

.snscs-trends__title,
.snscs-feature-links__title,
.snscs-feature-index__title {
	margin: 0 0 8px;
	font-size: 1em;
}

/* お気に入り */
.snscs-fav {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border: 1px solid #f59e0b;
	border-radius: 999px;
	background: #fff;
	color: #92400e;
	font: inherit;
	font-size: 0.9em;
	line-height: 1.4;
	cursor: pointer;
}

.snscs-fav[aria-pressed="true"] {
	background: #fef3c7;
}

.snscs-fav__star {
	color: #f59e0b;
	font-size: 1.1em;
}

.snscs-fav--small {
	padding: 0 6px;
	border-color: transparent;
	background: transparent;
	vertical-align: middle;
}

.snscs-fav--small[aria-pressed="true"] {
	background: transparent;
}

.snscs-reco__list li {
	position: relative;
}

.snscs-reco__list .snscs-fav--small {
	position: absolute;
	top: 4px;
	right: 4px;
}

.snscs-reco__reason {
	color: #b45309;
	font-size: 0.78em;
	font-weight: bold;
}

.snscs-reco__note {
	margin: -4px 0 10px;
	color: #555;
	font-size: 0.85em;
}

.snscs-reco__more {
	margin: 10px 0 0;
	text-align: right;
}

.snscs-reco--compact .snscs-reco__list {
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.snscs-reco--compact .snscs-reco__list a {
	padding: 10px 6px;
}

.snscs-linklike {
	padding: 0;
	border: 0;
	background: none;
	color: #1e3a8a;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.snscs-results__personal {
	margin: 0 0 12px;
	color: #555;
	font-size: 0.85em;
}

.snscs-toast {
	position: fixed;
	bottom: 20px;
	left: 50%;
	z-index: 99999;
	max-width: calc(100% - 32px);
	padding: 10px 18px;
	border-radius: 8px;
	background: #111827;
	color: #fff;
	font-size: 0.9em;
	transform: translateX(-50%);
}

.snscs-toast a {
	color: #fde68a;
}

/* ランキング・特集のカード */
.snscs-card--ranked {
	position: relative;
	padding-top: 28px;
}

.snscs-card__rank {
	position: absolute;
	top: 0;
	left: 0;
	padding: 2px 12px;
	border-radius: 8px 0 8px 0;
	background: #1e3a8a;
	color: #fff;
	font-size: 0.85em;
	font-weight: bold;
}

.snscs-cards li:nth-child(1) .snscs-card__rank {
	background: #d97706;
}

.snscs-card__note {
	margin: 0 0 6px;
	color: #b45309;
	font-size: 0.85em;
	font-weight: bold;
}

.snscs-ranking__lead,
.snscs-feature__lead {
	margin: 0 0 16px;
	color: #374151;
}

.snscs-ranking__genre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
}

.snscs-ranking__tabs {
	margin-bottom: 16px;
}

.snscs-feature__more {
	margin: 20px 0;
	text-align: center;
}

.snscs-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 12px;
	padding: 0;
	color: #6b7280;
	font-size: 0.85em;
	list-style: none;
}

.snscs-breadcrumbs li + li::before {
	content: "›";
	margin-right: 4px;
}

.snscs-feature-index {
	margin: 0 0 20px;
}

.snscs-share--small {
	align-items: center;
}

.snscs-share--small .snscs-share__button {
	min-height: 32px;
	padding: 0 12px;
	font-size: 0.8em;
}

/* シェア画像とバッジ（マイページ） */
.snscs-sharekit__heading {
	margin: 20px 0 8px;
	font-size: 1em;
}

.snscs-sharekit__image {
	width: 100%;
	max-width: 600px;
	height: auto;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.snscs-sharekit__badge textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: monospace;
	font-size: 0.8em;
}

/* メールマガジン */
.snscs-newsletter {
	margin: 24px 0;
	padding: 16px;
	border-radius: 8px;
	background: #f5f7ff;
}

.snscs-newsletter__title {
	margin: 0 0 8px;
	font-weight: bold;
}

.snscs-newsletter__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.snscs-newsletter__row input[type="email"] {
	flex: 1 1 220px;
	min-width: 0;
	padding: 8px 10px;
}

.snscs-newsletter__genres {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
}

.snscs-check--inline {
	display: inline-flex;
	margin: 0 12px 6px 0;
}

/* 見えない入力欄（機械的な送信を見分けるため） */
.snscs-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 無料ツール */
.snscs-tool {
	margin: 0 0 32px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}

.snscs-tool__title {
	margin-top: 0;
}

.snscs-tool__form {
	display: grid;
	gap: 12px;
}

.snscs-tool__result {
	margin: 16px 0 0;
	padding: 16px;
	border-radius: 8px;
	background: #f9fafb;
}

.snscs-tool__rate {
	margin: 0;
	font-size: 2.4em;
	font-weight: bold;
	line-height: 1.2;
}

.snscs-tool__rate--high {
	color: #15803d;
}

.snscs-tool__rate--mid {
	color: #1e3a8a;
}

.snscs-tool__rate--low {
	color: #b45309;
}

.snscs-tool__type strong {
	display: block;
	color: #1e3a8a;
	font-size: 1.6em;
}

.snscs-quiz__q {
	margin: 0;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.snscs-quiz__q legend {
	padding: 0 4px;
	font-weight: bold;
}

/* インタビュー・お仕事の相談 */
.snscs-interview-card {
	margin: 0 0 24px;
	padding: 16px;
	border: 1px solid #c7d2fe;
	border-radius: 10px;
	background: #f5f7ff;
}

.snscs-interview-card__label {
	margin: 0 0 8px;
	color: #1e3a8a;
	font-size: 0.85em;
	font-weight: bold;
}

.snscs-interview-card__body {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.snscs-interview-card__body img {
	border-radius: 50%;
	object-fit: cover;
}

.snscs-interview-card__name {
	margin: 0 0 6px;
	font-weight: bold;
}

.snscs-inquiry {
	margin: 24px 0;
}

.snscs-inquiry__details > summary {
	display: inline-block;
	list-style: none;
}

.snscs-inquiry__details > summary::-webkit-details-marker {
	display: none;
}

.snscs-inquiry__form {
	margin-top: 12px;
}

.snscs-inquiry-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-inquiry-list li {
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.snscs-inquiry-list p {
	margin: 4px 0 0;
}

.snscs-business__steps li {
	margin-bottom: 8px;
}

@media (max-width: 480px) {
	.snscs-tool {
		padding: 14px;
	}

	.snscs-interview-card__body {
		flex-direction: column;
	}
}

.snscs-tool__form .snscs-field input,
.snscs-tool__form .snscs-field select,
.snscs-inquiry__form .snscs-field input,
.snscs-inquiry__form .snscs-field select,
.snscs-inquiry__form .snscs-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 1rem;
}

/* ---------------------------------------------------------------------
 * 1.1: マイリンク・カレンダー
 * ------------------------------------------------------------------- */

.snscs-linkname {
	display: flex;
	align-items: center;
	gap: 2px;
}

.snscs-linkname__prefix {
	color: #6b7280;
	font-size: 0.9em;
	white-space: nowrap;
}

.snscs-linkname input {
	flex: 1;
	min-width: 0;
}

.snscs-themes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
	margin: 0 0 12px;
}

.snscs-theme {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}

.snscs-theme input {
	position: absolute;
	opacity: 0;
}

.snscs-theme__swatch {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 80px;
	height: 96px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
}

.snscs-theme__swatch span {
	display: block;
	height: 14px;
	border: 1px solid;
	border-radius: 5px;
}

.snscs-theme input:checked + .snscs-theme__swatch {
	border-color: #1e3a8a;
	box-shadow: 0 0 0 3px #c7d2fe;
}

.snscs-theme input:focus-visible + .snscs-theme__swatch {
	outline: 2px solid #1e3a8a;
	outline-offset: 2px;
}

.snscs-theme__label {
	font-size: 0.85em;
}

/* トップページのカレンダーへのリンク */
.snscs-callink {
	display: flex;
	gap: 16px;
	align-items: center;
	margin: 20px 0;
	padding: 16px;
	border: 1px solid #c7d2fe;
	border-radius: 12px;
	background: #f5f7ff;
}

.snscs-callink__date {
	display: flex;
	flex: 0 0 88px;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	border-radius: 10px;
	background: #fff;
	color: #111827;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.snscs-callink__month {
	align-self: stretch;
	padding: 2px 0;
	background: #dc2626;
	color: #fff;
	font-size: 0.85em;
	font-weight: bold;
	text-align: center;
}

.snscs-callink__day {
	font-size: 2.2em;
	font-weight: bold;
	line-height: 1.2;
}

.snscs-callink__week {
	padding-bottom: 4px;
	color: #6b7280;
	font-size: 0.75em;
}

.snscs-callink__title {
	margin: 0 0 4px;
	font-weight: bold;
}

.snscs-callink__list {
	margin: 0 0 10px;
	padding: 0;
	color: #374151;
	font-size: 0.9em;
	list-style: none;
}

.snscs-callink__list span {
	display: inline-block;
	min-width: 3em;
	color: #1e3a8a;
	font-weight: bold;
}

.snscs-callink .snscs-callink__open {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

/* カレンダー */
.snscs-calendar__guest {
	padding: 10px 14px;
	border-radius: 8px;
	background: #fffbeb;
	font-size: 0.9em;
}

.snscs-calendar__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
}

.snscs-calendar__head .snscs-button {
	padding: 6px 14px;
}

.snscs-calendar__title {
	margin: 0 8px;
	font-size: 1.3em;
}

.snscs-calendar__add {
	margin-left: auto;
}

.snscs-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid #e5e7eb;
	border-left: 1px solid #e5e7eb;
}

.snscs-calendar__dow {
	padding: 4px;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	background: #f9fafb;
	font-size: 0.8em;
	text-align: center;
}

.snscs-calendar__dow.is-sun,
.snscs-calendar__cell.is-sun .snscs-calendar__num {
	color: #dc2626;
}

.snscs-calendar__dow.is-sat,
.snscs-calendar__cell.is-sat .snscs-calendar__num {
	color: #2563eb;
}

.snscs-calendar__cell {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	min-width: 0;
	min-height: 84px;
	margin: 0;
	padding: 4px;
	border: 0;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	border-radius: 0;
	background: #fff;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.snscs-calendar__cell:hover {
	background: #f5f7ff;
}

.snscs-calendar__cell.is-other {
	background: #fafafa;
	opacity: 0.55;
}

.snscs-calendar__cell.is-selected {
	box-shadow: inset 0 0 0 2px #1e3a8a;
}

.snscs-calendar__num {
	font-size: 0.85em;
	font-weight: bold;
}

.snscs-calendar__cell.is-today .snscs-calendar__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8em;
	height: 1.8em;
	border-radius: 50%;
	background: #1e3a8a;
	color: #fff;
}

.snscs-calendar__chip {
	overflow: hidden;
	padding: 0 4px;
	border-left: 3px solid var(--snscs-cal, #2563eb);
	border-radius: 3px;
	background: #eef2ff;
	font-size: 0.7em;
	line-height: 1.6;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.snscs-calendar__chip.is-public {
	border-left-color: #f59e0b;
	background: #fef3c7;
}

.snscs-calendar__chip.is-done {
	text-decoration: line-through;
	opacity: 0.6;
}

.snscs-calendar__more {
	color: #6b7280;
	font-size: 0.7em;
}

.snscs-calendar__day {
	margin: 16px 0;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}

.snscs-calendar__day-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.snscs-calendar__day-head h3 {
	margin: 0;
}

.snscs-calendar__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.snscs-calendar__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	padding: 10px 0 10px 10px;
	border-bottom: 1px solid #f3f4f6;
	border-left: 4px solid var(--snscs-cal, #f59e0b);
}

.snscs-calendar__item.is-done strong {
	text-decoration: line-through;
	opacity: 0.6;
}

.snscs-calendar__badge {
	padding: 0 8px;
	border-radius: 999px;
	background: #f3f4f6;
	font-size: 0.75em;
}

.snscs-calendar__time {
	font-weight: bold;
}

.snscs-calendar__sns {
	color: #6b7280;
	font-size: 0.8em;
}

.snscs-calendar__memo {
	flex-basis: 100%;
	color: #4b5563;
	font-size: 0.85em;
	white-space: pre-wrap;
}

.snscs-calendar__actions {
	display: flex;
	gap: 12px;
	margin-left: auto;
	font-size: 0.85em;
}

.snscs-calendar__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	padding: 0;
	color: #4b5563;
	font-size: 0.8em;
	list-style: none;
}

.snscs-calendar__dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 4px;
	border-radius: 50%;
}

.snscs-calendar__dialog {
	width: min(520px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	padding: 20px;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.snscs-calendar__dialog::backdrop {
	background: rgba(17, 24, 39, 0.45);
}

.snscs-calendar__dialog h3 {
	margin-top: 0;
}

.snscs-calendar__dialog .snscs-field input,
.snscs-calendar__dialog .snscs-field select,
.snscs-calendar__dialog .snscs-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 1rem;
}

.snscs-calendar__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.snscs-calendar__buttons {
	display: flex;
	gap: 8px;
}

@media (max-width: 600px) {
	.snscs-calendar__cell {
		min-height: 56px;
		padding: 2px;
	}

	.snscs-calendar__chip {
		height: 6px;
		padding: 0;
		border-left-width: 0;
		background: var(--snscs-cal, #2563eb);
		font-size: 0;
	}

	.snscs-calendar__chip.is-public {
		background: #f59e0b;
	}

	.snscs-calendar__add {
		margin-left: 0;
	}

	.snscs-callink {
		align-items: flex-start;
	}

	.snscs-callink__date {
		flex-basis: 72px;
	}
}

/* ---------------------------------------------------------------------
 * 1.2: ヤフー風のポータル（テンプレート「SNS検索ポータル（全幅）」と [sns_portal_top]）
 * ------------------------------------------------------------------- */

body.snscs-portal-body {
	margin: 0;
	background: #f3f4f6;
	color: #1f2937;
	font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

.snscs-portal-body a {
	color: #1d4ed8;
	text-decoration: none;
}

.snscs-portal-body a:hover {
	color: #1e3a8a;
	text-decoration: underline;
}

.snscs-portal-body img {
	max-width: 100%;
	height: auto;
}

.snscs-portal-body .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.snscs-portal-body .screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 8px 16px;
	background: #fff;
	clip: auto;
}

/* ヘッダー */
.snscs-ph {
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.snscs-ph__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
}

.snscs-portal-body .snscs-ph__logo {
	color: #1d4ed8;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.5px;
	text-decoration: none;
}

.snscs-ph__logo-image {
	display: block;
	width: auto;
	max-height: 44px;
}

.snscs-ph__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	font-size: 14px;
}

.snscs-ph__menu,
.snscs-pf__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-portal-body .snscs-ph__login {
	padding: 8px 18px;
	border-radius: 6px;
	background: #1d4ed8;
	color: #fff;
	font-weight: 700;
}

.snscs-portal-body .snscs-ph__login:hover {
	background: #1e3a8a;
	color: #fff;
	text-decoration: none;
}

/* 本文 */
.snscs-pm__page {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 20px auto;
	padding: 24px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
}

.snscs-pm__title {
	margin: 0 0 16px;
	font-size: 1.6em;
	line-height: 1.4;
}

/* フッター */
.snscs-pf {
	margin-top: 24px;
	background: #1f2937;
	color: #e5e7eb;
}

.snscs-pf__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 20px;
	font-size: 13px;
}

.snscs-portal-body .snscs-pf a {
	color: #e5e7eb;
}

.snscs-pf__copy {
	margin: 16px 0 0;
	color: #9ca3af;
}

/* トップ: 検索窓 */
.snscs-pt-search {
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.snscs-pt-search__inner {
	box-sizing: border-box;
	max-width: 860px;
	margin: 0 auto;
	padding: 28px 20px 22px;
}

.snscs-pt-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
}

.snscs-pt-tab input {
	position: absolute;
	opacity: 0;
}

.snscs-pt-tab span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	box-sizing: border-box;
	border: 1px solid #e5e7eb;
	border-bottom: 3px solid transparent;
	border-radius: 8px 8px 0 0;
	background: #f9fafb;
	color: #374151;
	cursor: pointer;
}

.snscs-pt-tab input:checked + span {
	border-color: #1d4ed8;
	background: #eff6ff;
	color: #1e3a8a;
	font-weight: 700;
}

.snscs-pt-tab input:focus-visible + span {
	outline: 2px solid #1d4ed8;
	outline-offset: 2px;
}

.snscs-pt-search__row {
	display: flex;
	gap: 8px;
	margin-top: -1px;
}

.snscs-pt-search__row input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	box-sizing: border-box;
	border: 2px solid #1d4ed8;
	border-radius: 0 8px 8px 8px;
	font: inherit;
	font-size: 17px;
}

.snscs-pt-search__row button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 8px;
	background: #1d4ed8;
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.snscs-pt-search__row button:hover {
	background: #1e3a8a;
}

.snscs-pt-search__keywords {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 13px;
}

.snscs-pt-search__keywords span {
	color: #6b7280;
}

.snscs-portal-body .snscs-pt-search__keywords a,
.snscs-pt-search__keywords a {
	padding: 4px 12px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #1f2937;
}

/* トップ: 3つの列 */
.snscs-pt-columns {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px;
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.snscs-pt-left {
	display: flex;
	flex: 1 1 220px;
	flex-direction: column;
	gap: 20px;
	max-width: 100%;
}

.snscs-pt-center {
	display: flex;
	flex: 999 1 520px;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.snscs-pt-right {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 20px;
	max-width: 100%;
}

.snscs-pt-box,
.snscs-pt-center > .snscs-columns,
.snscs-pt-personal:not(:empty) {
	box-sizing: border-box;
	margin: 0;
	padding: 18px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
}

.snscs-pt-personal:has(.snscs-personal:empty) {
	display: none;
}

.snscs-pt-personal .snscs-reco {
	margin: 0;
}

.snscs-pt-box p {
	margin: 0 0 10px;
	font-size: 13px;
}

.snscs-pt-box__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.snscs-pt-box__title {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}

.snscs-pt-box__more {
	font-size: 13px;
	white-space: nowrap;
}

.snscs-pt-box--warm {
	border-color: #fed7aa;
	background: #fff7ed;
}

.snscs-pt-box--warm .snscs-pt-box__title,
.snscs-portal-body .snscs-pt-strong,
.snscs-pt-strong {
	color: #9a3412;
	font-weight: 700;
}

.snscs-pt-cats {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-pt-cat {
	font-weight: 700;
}

.snscs-pt-cat__subs {
	display: block;
	color: #6b7280;
	font-size: 12px;
}

.snscs-portal-body .snscs-pt-cat__subs a {
	color: #4b5563;
}

.snscs-pt-regions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px;
	font-size: 13px;
}

.snscs-pt-picks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.snscs-portal-body .snscs-pt-pick,
.snscs-pt-pick {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	color: #1f2937;
	font-size: 13px;
}

.snscs-pt-pick:hover {
	border-color: #93c5fd;
	text-decoration: none;
}

.snscs-pt-pick img,
.snscs-pt-pick__initial {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.snscs-pt-pick__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dbeafe;
	color: #1e3a8a;
	font-size: 22px;
	font-weight: 700;
}

.snscs-pt-pick strong {
	font-size: 15px;
}

.snscs-pt-pick__genre {
	color: #4b5563;
	font-size: 12px;
}

.snscs-pt-ranks,
.snscs-pt-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-pt-ranks li,
.snscs-pt-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	padding: 9px 0;
	border-top: 1px solid #f3f4f6;
}

.snscs-pt-ranks a,
.snscs-pt-list a {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 500;
}

.snscs-pt-ranks--small li {
	padding: 6px 0;
	font-size: 13px;
}

.snscs-pt-rank {
	width: 26px;
	color: #c2410c;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}

.snscs-pt-ranks--small .snscs-pt-rank {
	width: 18px;
	font-size: 13px;
}

.snscs-pt-meta,
.snscs-pt-when {
	color: #6b7280;
	font-size: 12px;
}

.snscs-pt-growth {
	min-width: 56px;
	color: #c2410c;
	font-size: 13px;
	font-weight: 700;
	text-align: right;
}

.snscs-pt-list--news li {
	display: block;
}

.snscs-pt-list--news .snscs-pt-when {
	display: block;
}

.snscs-pt-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
}

.snscs-portal-body .snscs-pt-feature,
.snscs-pt-feature {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border-radius: 10px;
	background: #eff6ff;
	color: #1f2937;
	font-size: 13px;
}

.snscs-pt-feature__tag {
	color: #1e3a8a;
	font-size: 12px;
	font-weight: 700;
}

.snscs-pt-feature strong {
	font-size: 15px;
}

.snscs-portal-body .snscs-pt-btn,
.snscs-pt-btn {
	display: block;
	padding: 10px;
	border-radius: 6px;
	background: #1d4ed8;
	color: #fff;
	font-weight: 700;
	text-align: center;
}

.snscs-portal-body .snscs-pt-btn:hover {
	background: #1e3a8a;
	color: #fff;
	text-decoration: none;
}

.snscs-pt-sublink {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	text-align: center;
}

.snscs-pt-right .snscs-callink {
	margin: 0;
	padding: 14px;
	border-color: #e5e7eb;
	background: #fff;
}

.snscs-pt-right .snscs-callink__date {
	flex-basis: 64px;
}

.snscs-pt-right .snscs-callink__day {
	font-size: 1.6em;
}

.snscs-pt-right .snscs-ad,
.snscs-pt-center > .snscs-ad {
	margin: 0;
}

.snscs-pt-center > .snscs-columns {
	margin: 0;
}

/* ポータルの見た目のページでは、プラグインのボタンを青にそろえる */
.snscs-portal-body .snscs-button--primary,
.snscs-portal-body a.snscs-button--primary:hover {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
}

@media (max-width: 600px) {
	.snscs-ph__inner {
		padding: 8px 14px;
	}

	.snscs-ph__nav {
		gap: 6px 12px;
		font-size: 13px;
	}

	.snscs-pt-search__inner {
		padding: 18px 14px;
	}

	.snscs-pt-tab span {
		min-height: 36px;
		padding: 0 10px;
		font-size: 13px;
	}

	.snscs-pt-search__row button {
		padding: 0 16px;
	}

	.snscs-pt-columns {
		padding: 14px;
	}

	.snscs-pm__page {
		margin: 12px;
		padding: 16px;
	}

	/* スマホでは、中央（発信者・ランキング）を先に、カテゴリをその後に出す */
	.snscs-pt-center {
		order: -1;
	}
}

/* ---------------------------------------------------------------------
 * 1.3: 自動執筆の記事（目次・AIの注記）
 * ------------------------------------------------------------------- */

.snscs-toc {
	margin: 24px 0 32px;
	padding: 16px 20px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f9fafb;
}

.snscs-toc__title {
	margin: 0 0 8px;
	font-weight: bold;
}

.snscs-toc ol {
	margin: 0;
	padding-left: 1.4em;
}

.snscs-toc li {
	margin: 4px 0;
}

.snscs-ai-note {
	margin-top: 32px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 0.85em;
}

/* ------------------------------------------------------------------
 * フォロー・いいね・リポスト・ブックマーク（SNSCS_Social）
 * ---------------------------------------------------------------- */

.snscs-follow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 8px;
}

.snscs-author .snscs-follow {
	display: inline-flex;
	margin: 0 0 0 8px;
	vertical-align: middle;
}

.snscs-follow__button {
	padding: 6px 16px;
	border: 1px solid #1e3a8a;
	border-radius: 999px;
	background: #1e3a8a;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.snscs-follow__button.is-on {
	background: #fff;
	color: #1e3a8a;
}

.snscs-follow__count {
	color: #555;
	font-size: 0.85em;
}

.snscs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0;
}

.snscs-actions__item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 0.9em;
	cursor: pointer;
}

.snscs-actions__item.is-static {
	cursor: default;
	color: #666;
}

.snscs-actions__item--like.is-on {
	border-color: #e0245e;
	color: #e0245e;
	background: #fdeef3;
}

.snscs-actions__item--repost.is-on {
	border-color: #17803d;
	color: #17803d;
	background: #eaf7ef;
}

.snscs-actions__item--bookmark.is-on {
	border-color: #b7791f;
	color: #b7791f;
	background: #fdf6e7;
}

.snscs-actions__item:disabled {
	opacity: 0.6;
}

.snscs-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 9999;
	max-width: calc(100% - 32px);
	padding: 12px 16px;
	border-radius: 8px;
	background: #222;
	color: #fff;
	font-size: 0.9em;
	transform: translateX(-50%);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.snscs-toast a {
	color: #9ec5ff;
	font-weight: 700;
}

.snscs-member__who {
	color: #555;
	font-size: 0.9em;
}

.snscs-member__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 20px;
}

.snscs-chip[aria-current="page"] {
	background: #1e3a8a;
	color: #fff;
}

.snscs-feed {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-feed__item {
	border-bottom: 1px solid #e5e7eb;
}

.snscs-feed__note {
	margin: 10px 0 0;
	color: #17803d;
	font-size: 0.8em;
}

.snscs-feed__link {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	color: inherit;
	text-decoration: none;
}

.snscs-feed__image {
	flex: none;
	border-radius: 6px;
	object-fit: cover;
}

.snscs-feed__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.snscs-feed__title {
	color: #1e3a8a;
	font-weight: 700;
}

.snscs-feed__link:hover .snscs-feed__title {
	text-decoration: underline;
}

.snscs-feed__meta {
	color: #666;
	font-size: 0.8em;
}

.snscs-member__pager {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
}

/* ------------------------------------------------------------------
 * お知らせ（SNSCS_Inbox）
 * ---------------------------------------------------------------- */

.snscs-unread {
	display: inline-block;
	min-width: 1.6em;
	margin-left: 4px;
	padding: 0 5px;
	border-radius: 999px;
	background: #e0245e;
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	vertical-align: middle;
}

.snscs-inbox {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-inbox__item {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 8px;
	border-bottom: 1px solid #e5e7eb;
}

.snscs-inbox__item.is-unread {
	background: #f1f5ff;
}

.snscs-inbox__item.is-unread a {
	font-weight: 700;
}

.snscs-inbox__when {
	flex: none;
	color: #888;
	font-size: 0.8em;
}

/* ------------------------------------------------------------------
 * 記事（SNSCS_Stories）
 * ---------------------------------------------------------------- */

.snscs-story-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 0.85em;
}

.snscs-story-tag {
	color: #1e3a8a;
	text-decoration: none;
}

.snscs-story-tag:hover {
	text-decoration: underline;
}

.snscs-story {
	font-size: 1.05em;
	line-height: 2;
	letter-spacing: 0.02em;
}

.snscs-story h2 {
	margin-top: 2.2em;
	padding-bottom: 0.3em;
	border-bottom: 1px solid #e5e7eb;
	font-size: 1.35em;
	line-height: 1.5;
}

.snscs-story h3 {
	margin-top: 1.8em;
	font-size: 1.15em;
}

.snscs-story blockquote {
	margin: 1.5em 0;
	padding: 0.5em 1em;
	border-left: 4px solid #d0d5dd;
	color: #444;
}

.snscs-spread__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-spread__item {
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.snscs-spread__who {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

.snscs-spread__who img {
	border-radius: 50%;
}

.snscs-spread__comment,
.snscs-feed__comment {
	margin: 6px 0 0;
	padding: 8px 12px;
	border-radius: 8px;
	background: #f6f7f9;
	white-space: pre-wrap;
}

.snscs-repost-menu {
	position: absolute;
	z-index: 50;
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: min(320px, calc(100vw - 32px));
	margin-top: 44px;
	padding: 10px;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.snscs-actions {
	position: relative;
}

.snscs-repost-menu button {
	padding: 8px 12px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	text-align: left;
	cursor: pointer;
}

.snscs-repost-menu button.is-primary {
	border-color: #17803d;
	background: #17803d;
	color: #fff;
	text-align: center;
}

.snscs-repost-menu textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
}

.snscs-repost-menu__count {
	align-self: flex-end;
	color: #888;
	font-size: 0.8em;
}

.snscs-actions__resume {
	align-self: center;
	font-size: 0.85em;
	font-weight: 700;
}

.snscs-feed__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.snscs-feed__row .snscs-feed__link {
	flex: 1;
	min-width: 0;
}

.snscs-feed__mark {
	flex: none;
	width: 36px;
	height: 36px;
	border: 1px solid #d0d5dd;
	border-radius: 50%;
	background: #fff;
	color: #b7791f;
	font-size: 1.1em;
	cursor: pointer;
}

.snscs-feed__mark.is-on {
	border-color: #b7791f;
	background: #fdf6e7;
}

.snscs-feed__progress {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #555;
	font-size: 0.8em;
}

.snscs-feed__progress.is-new {
	color: #e0245e;
	font-weight: 700;
}

.snscs-feed__progress.is-done {
	color: #17803d;
}

.snscs-feed__bar {
	display: inline-block;
	width: 80px;
	height: 6px;
	border-radius: 3px;
	background: #e5e7eb;
	overflow: hidden;
}

.snscs-feed__bar span {
	display: block;
	height: 100%;
	background: #1e3a8a;
}

.snscs-feed__resume {
	margin: 0 0 10px;
	font-size: 0.85em;
	font-weight: 700;
}

/* ------------------------------------------------------------------
 * 公開プロフィール（SNSCS_People）
 * ---------------------------------------------------------------- */

.snscs-profile {
	margin-bottom: 24px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.snscs-profile__head {
	display: flex;
	align-items: center;
	gap: 16px;
}

.snscs-profile__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #1e3a8a;
	color: #fff;
	font-size: 1.6em;
	font-weight: 700;
}

.snscs-profile__avatar--small {
	width: 32px;
	height: 32px;
	font-size: 0.9em;
}

.snscs-profile__name {
	margin: 0;
	font-size: 1.3em;
}

.snscs-profile__stats {
	margin: 4px 0 0;
	color: #666;
	font-size: 0.85em;
}

.snscs-profile__bio {
	margin: 12px 0;
	white-space: pre-wrap;
}

.snscs-people {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.snscs-people a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

/* ------------------------------------------------------------------
 * フォロワー数の自動更新・本人確認（SNSCS_Sync）
 * ---------------------------------------------------------------- */

.snscs-verified {
	display: inline-block;
	margin-left: 4px;
	padding: 0 6px;
	border-radius: 999px;
	background: #e7f5ec;
	color: #17803d;
	font-size: 0.75em;
	font-weight: 700;
	white-space: nowrap;
}

.snscs-account__growth {
	margin-left: 4px;
	color: #17803d;
	font-size: 0.8em;
	white-space: nowrap;
}

.snscs-account__growth.is-down {
	color: #b32d2e;
}

.snscs-sns-row__auto {
	grid-column: 1 / -1;
	color: #17803d;
	font-size: 0.8em;
}

.snscs-sync-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-sync-list__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 10px 0;
	border-bottom: 1px solid #e5e7eb;
}

.snscs-sync-list__item strong {
	min-width: 90px;
}

.snscs-sync-list__error {
	color: #b32d2e;
	font-size: 0.85em;
}

/* ------------------------------------------------------------------
 * 月間成長レポート（SNSCS_Report）
 * ---------------------------------------------------------------- */

.snscs-report__body {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.snscs-report__image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.snscs-report__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.snscs-report__actions .snscs-share__button,
.snscs-report__actions .snscs-button {
	text-align: center;
}

.snscs-report__actions textarea {
	width: 100%;
	box-sizing: border-box;
}

.snscs-share__button--threads {
	background: #000;
	color: #fff;
}

@media (max-width: 640px) {
	.snscs-report__body {
		grid-template-columns: 1fr;
	}
}

/* テーマのリンクの色に負けないよう、シェアボタンの文字は白に固定する。 */
a.snscs-share__button,
a.snscs-share__button:visited,
a.snscs-share__button:hover {
	color: #fff;
}

.snscs-report__actions .snscs-share__button {
	justify-content: center;
}

/* トレンド（X のトレンドのように、総合とジャンル別） */
.snscs-trends__more {
	margin: 8px 0 0;
	font-size: 0.9em;
}

.snscs-trendtabs ul {
	display: flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	border-bottom: 1px solid #e5e7eb;
	scrollbar-width: none;
}

.snscs-trendtabs ul::-webkit-scrollbar {
	display: none;
}

.snscs-trendtabs__tab {
	display: block;
	padding: 10px 14px;
	color: #4b5563;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.snscs-trendtabs__tab:hover,
.snscs-trendtabs__tab:focus-visible {
	color: #111827;
	background: #f3f4f6;
}

.snscs-trendtabs__tab.is-current {
	color: #111827;
	border-bottom-color: #4f46e5;
}

.snscs-trendpage__title {
	margin: 20px 0 4px;
	font-size: 1.2em;
}

.snscs-trendpage__empty,
.snscs-trendpage__note {
	color: #6b7280;
	font-size: 0.9em;
}

.snscs-trendlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-trendlist__item + .snscs-trendlist__item {
	border-top: 1px solid #f0f0f3;
}

.snscs-trendlist__link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 8px;
	color: inherit;
	text-decoration: none;
}

.snscs-trendlist__link:hover,
.snscs-trendlist__link:focus-visible {
	background: #f9fafb;
}

.snscs-trendlist__meta,
.snscs-trendlist__count {
	color: #6b7280;
	font-size: 0.8em;
}

.snscs-trendlist__term {
	font-weight: 700;
	font-size: 1.05em;
	overflow-wrap: anywhere;
}

.snscs-trendlist__term--hot::after {
	content: " ↑";
	color: #dc2626;
}

.snscs-trendgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}

.snscs-trendcard {
	padding: 8px 8px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.snscs-trendcard__title {
	margin: 4px 8px;
	font-size: 1em;
}

.snscs-trendcard__more {
	display: inline-block;
	margin: 4px 8px 0;
	font-size: 0.85em;
}

/* トレンドのキーワードのページ */
.snscs-trendterm__lead {
	font-size: 1.02em;
	line-height: 1.8;
}

.snscs-trendterm__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 8px;
	margin: 12px 0 20px;
}

.snscs-trendterm__stats div {
	padding: 10px 12px;
	background: #f5f6fb;
	border-radius: 10px;
}

.snscs-trendterm__stats dt {
	color: #6b7280;
	font-size: 0.8em;
}

.snscs-trendterm__stats dd {
	margin: 2px 0 0;
	font-weight: 700;
	font-size: 1.3em;
}

.snscs-trendterm__hot {
	display: inline-block;
	padding: 1px 8px;
	color: #fff;
	font-size: 0.6em;
	vertical-align: middle;
	background: #dc2626;
	border-radius: 999px;
}

.snscs-trendchart {
	display: flex;
	align-items: flex-end;
	gap: 4px;
	height: 150px;
	margin: 8px 0 16px;
	padding: 0;
	list-style: none;
}

.snscs-trendchart__bar {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-width: 0;
}

.snscs-trendchart__bar::before {
	content: "";
	order: 1;
	height: calc(var(--h) * 0.75);
	min-height: 2px;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
}

.snscs-trendchart__bar:last-child::before {
	background: #dc2626;
}

.snscs-trendchart__value {
	order: 0;
	color: #4b5563;
	font-size: 0.7em;
	text-align: center;
}

.snscs-trendchart__day {
	order: 2;
	margin-top: 4px;
	color: #6b7280;
	font-size: 0.65em;
	text-align: center;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.snscs-trendchart__bar:nth-child(odd) .snscs-trendchart__day {
		visibility: hidden;
	}
}

/* 発信者診断 */
.snscs-quiz__lead {
	font-size: 1.02em;
}

.snscs-quiz__q {
	margin: 0 0 18px;
	padding: 14px 14px 8px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
}

.snscs-quiz__q legend {
	padding: 0 6px;
	font-weight: 700;
	font-size: 1.05em;
}

.snscs-quiz__no {
	display: inline-block;
	margin-right: 8px;
	padding: 1px 8px;
	color: #fff;
	font-size: 0.8em;
	background: #4f46e5;
	border-radius: 999px;
}

.snscs-quiz__opt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 6px 8px 0;
	padding: 8px 14px;
	cursor: pointer;
	background: #f5f6fb;
	border: 2px solid transparent;
	border-radius: 999px;
}

.snscs-quiz__opt input {
	margin: 0;
	accent-color: #4f46e5;
}

.snscs-quiz__opt:hover {
	border-color: #c7d2fe;
}

.snscs-quiz__opt:has(input:checked) {
	color: #312e81;
	font-weight: 700;
	background: #e0e7ff;
	border-color: #4f46e5;
}

.snscs-quiz__opt:has(input:focus-visible) {
	outline: 2px solid #4f46e5;
	outline-offset: 2px;
}

.snscs-quiz__submit {
	min-width: 200px;
	padding: 12px 24px;
	font-size: 1.1em;
}

.snscs-quiz__type {
	padding: 28px 20px;
	color: #fff;
	text-align: center;
	background: linear-gradient(180deg, #4f46e5, #3730a3);
	border-radius: 18px;
}

.snscs-quiz__you {
	margin: 0;
	opacity: 0.85;
}

.snscs-quiz__name {
	margin: 4px 0 12px;
	font-weight: 800;
	font-size: 1.8em;
	line-height: 1.3;
}

.snscs-quiz__text {
	max-width: 36em;
	margin: 0 auto;
	line-height: 1.8;
}

.snscs-quiz__cta {
	margin: 20px 0;
	text-align: center;
}

.snscs-quiz__cta .snscs-button {
	display: inline-block;
	max-width: 100%;
	line-height: 1.5;
	white-space: normal;
}

/* 自動投稿の記事に差し込む一覧・表と、サイト内リンク */
.snscs-colblock {
	margin: 28px 0;
	padding: 16px;
	background: #f8f9fe;
	border: 1px solid #e0e7ff;
	border-radius: 14px;
}

.snscs-colblock__title {
	margin: 4px 0 10px;
	font-size: 1.15em;
}

.snscs-colblock__lead,
.snscs-colblock__sub {
	margin: 0 0 10px;
}

.snscs-colblock__sub {
	color: #4b5563;
	font-weight: 700;
	font-size: 0.9em;
}

.snscs-colblock__more {
	margin: 12px 0 0;
	text-align: center;
}

.snscs-colblock table {
	width: 100%;
	margin: 0 0 16px;
	font-size: 0.92em;
	border-collapse: collapse;
	background: #fff;
}

.snscs-colblock th,
.snscs-colblock td {
	padding: 6px 8px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

.snscs-colblock--report {
	overflow-x: auto;
}

a.snscs-autolink {
	text-decoration-style: dotted;
	text-underline-offset: 3px;
}

.snscs-related {
	margin: 32px 0 20px;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
}

.snscs-related__title {
	margin: 0 0 8px;
	font-size: 1.1em;
}

.snscs-related__list {
	margin: 0 0 12px;
	padding-left: 1.2em;
}

.snscs-related__list li {
	margin: 4px 0;
}

.snscs-related__sub {
	margin: 8px 0;
	color: #4b5563;
	font-weight: 700;
	font-size: 0.9em;
}

.snscs-related__quiz {
	display: block;
	margin-top: 12px;
	padding: 12px 14px;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(90deg, #4f46e5, #7c3aed);
	border-radius: 12px;
}

.snscs-related__quiz:hover,
.snscs-related__quiz:focus-visible {
	color: #fff;
	opacity: 0.92;
}

.snscs-related__quiz strong {
	display: block;
	font-size: 1.05em;
}

.snscs-related__quiz span {
	font-size: 0.85em;
	opacity: 0.9;
}

/* 記事のおすすめ（SNSCS_Feed） */
.snscs-feed__reason {
	color: #4f46e5;
}

.snscs-feed__hide {
	display: inline-block;
	margin: 4px 0 0;
	padding: 2px 10px;
	color: #6b7280;
	font-size: 0.75em;
	cursor: pointer;
	background: transparent;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
}

.snscs-feed__hide:hover,
.snscs-feed__hide:focus-visible {
	color: #111827;
	border-color: #9ca3af;
}

.snscs-feed__hidden {
	margin: 0;
	padding: 8px 0;
	color: #6b7280;
	font-size: 0.9em;
}

/* 似ている発信者 */
.snscs-similar__more {
	margin: 4px 0 20px;
	text-align: right;
}

/* 月間アワード */
.snscs-award {
	margin: 24px 0;
	padding: 16px;
	background: linear-gradient(180deg, #fffbeb, #fff);
	border: 1px solid #fde68a;
	border-radius: 14px;
}

.snscs-award__title {
	margin: 0 0 10px;
	font-size: 1.1em;
}

.snscs-award__wins {
	margin: 0 0 12px;
	padding: 0;
	color: #92400e;
	font-weight: 700;
	list-style: none;
}

.snscs-award__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 8px 0;
}

.snscs-award__row p {
	margin: 0;
}

.snscs-award__vote.is-on {
	opacity: 0.7;
}

.snscs-award__msg {
	flex-basis: 100%;
	margin: 4px 0 0;
	color: #065f46;
	font-size: 0.9em;
}

.snscs-award__history {
	padding-left: 1.2em;
}

.snscs-award-portal__win img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

/* コラボ相手探し */
.snscs-collab__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 16px;
}

.snscs-collab__filter select {
	max-width: 100%;
}

.snscs-collab__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-collab__item {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
}

.snscs-collab__note,
.snscs-collab__message {
	margin: 6px 0;
	white-space: pre-wrap;
}

.snscs-collab__apply summary {
	display: inline-block;
	cursor: pointer;
	list-style: none;
}

.snscs-collab__apply summary::-webkit-details-marker {
	display: none;
}

.snscs-collab__apply form {
	margin-top: 10px;
}

.snscs-collab__apply textarea,
.snscs-collab-portal textarea {
	width: 100%;
	box-sizing: border-box;
}

.snscs-collab__kind {
	display: inline-block;
	margin-right: 10px;
}

.snscs-collab__req {
	margin: 10px 0;
	padding: 10px 12px;
	background: #f9fafb;
	border-radius: 10px;
}

.snscs-collab__answer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.snscs-collab__contact {
	font-weight: 700;
}

/* LINE */
.snscs-line__add {
	margin-top: 6px;
	color: #fff;
	background: #06c755;
	border-color: #06c755;
}

a.snscs-line__add:hover,
a.snscs-line__add:focus-visible {
	color: #fff;
	background: #05a847;
}

.snscs-line__code {
	font-size: 1.4em;
	letter-spacing: 0.15em;
}

/* 埋め込みの作成ページ */
.snscs-embedmaker textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: ui-monospace, monospace;
	font-size: 0.85em;
}

/* 推しリスト */
.snscs-list-add-wrap {
	display: inline-block;
	position: relative;
	margin: 0 6px 8px 0;
}

.snscs-list-add__panel {
	position: absolute;
	z-index: 20;
	left: 0;
	min-width: 280px;
	max-width: calc(100vw - 32px);
	margin-top: 6px;
	padding: 12px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.snscs-list-add__choice {
	display: block;
	margin: 0 0 8px;
}

.snscs-list-add__choice .snscs-input {
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
}

.snscs-list-add__status {
	margin: 8px 0 0;
	font-size: 0.9em;
}

.snscs-lists {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-lists__item + .snscs-lists__item {
	border-top: 1px solid #f0f0f3;
}

.snscs-lists__link {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 6px;
	color: inherit;
	text-decoration: none;
}

.snscs-lists__link:hover,
.snscs-lists__link:focus-visible {
	background: #fdf2f8;
}

.snscs-lists__title {
	font-weight: 700;
	font-size: 1.05em;
}

.snscs-lists__meta,
.snscs-lists__names {
	color: #6b7280;
	font-size: 0.85em;
}

.snscs-list-page__desc {
	padding: 12px 14px;
	background: #fdf2f8;
	border-radius: 12px;
	line-height: 1.8;
}

.snscs-list-like.is-on {
	color: #fff;
	background: #db2777;
	border-color: #db2777;
}

.snscs-list-edit {
	margin: 10px 0;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.snscs-list-edit summary {
	cursor: pointer;
}

.snscs-list-edit .snscs-input,
.snscs-list-new .snscs-input,
.snscs-qa__ask .snscs-input,
.snscs-qa__answer-form .snscs-input,
.snscs-pai .snscs-input {
	width: 100%;
	box-sizing: border-box;
}

.snscs-list-edit__items li {
	margin: 8px 0;
}

/* 質問箱 */
.snscs-qa__ask summary {
	display: inline-block;
	margin-bottom: 12px;
	cursor: pointer;
	list-style: none;
}

.snscs-qa__ask summary::-webkit-details-marker {
	display: none;
}

.snscs-qa__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.snscs-qa__item {
	padding: 12px 4px;
	border-bottom: 1px solid #f0f0f3;
}

.snscs-qa__title {
	display: block;
	font-weight: 700;
}

.snscs-qa__meta {
	display: block;
	margin-top: 4px;
	color: #6b7280;
	font-size: 0.85em;
}

.snscs-qa__question {
	padding: 14px;
	background: #f9fafb;
	border-radius: 12px;
}

.snscs-qa__body {
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.snscs-qa__answer {
	margin: 14px 0;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.snscs-qa__answer.is-best {
	border-color: #f59e0b;
	background: #fffbeb;
}

.snscs-qa__best {
	margin: 0 0 6px;
	color: #b45309;
	font-weight: 700;
}

.snscs-qa__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
}

.snscs-qa__who img {
	border-radius: 50%;
}

.snscs-qa__badge {
	padding: 1px 8px;
	color: #065f46;
	font-size: 0.75em;
	font-weight: 700;
	background: #d1fae5;
	border-radius: 999px;
}

.snscs-qa__date {
	color: #6b7280;
	font-size: 0.8em;
}

.snscs-qa__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
}

.snscs-qa__helpful.is-on {
	color: #fff;
	background: #059669;
	border-color: #059669;
}

/* AIプロフィール診断 */
.snscs-pai__result {
	margin: 16px 0 24px;
	padding: 18px;
	border: 1px solid #e0e7ff;
	border-radius: 16px;
}

.snscs-pai__score {
	display: flex;
	align-items: baseline;
	justify-content: center;
	width: 140px;
	height: 140px;
	margin: 0 auto 10px;
	padding-top: 38px;
	box-sizing: border-box;
	border-radius: 50%;
	background: conic-gradient(#4f46e5 calc(var(--p) * 1%), #e0e7ff 0);
	position: relative;
}

.snscs-pai__score::before {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 50%;
	background: #fff;
}

.snscs-pai__num,
.snscs-pai__unit {
	position: relative;
	font-weight: 800;
}

.snscs-pai__num {
	font-size: 2.6em;
	line-height: 1;
}

.snscs-pai__grade {
	text-align: center;
}

.snscs-pai__rewrite textarea {
	width: 100%;
	box-sizing: border-box;
}

/* レベル・バッジ */
.snscs-level {
	margin: 10px 0 14px;
	padding: 12px 14px;
	background: linear-gradient(90deg, #eef2ff, #fdf2f8);
	border-radius: 14px;
}

.snscs-level--compact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
}

.snscs-level p {
	margin: 0 0 4px;
}

.snscs-level--compact p {
	margin: 0;
}

.snscs-level__bar {
	height: 10px;
	margin: 6px 0;
	overflow: hidden;
	background: #fff;
	border-radius: 999px;
}

.snscs-level__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #6366f1, #ec4899);
}

.snscs-level__xp,
.snscs-level__streak small {
	color: #6b7280;
	font-size: 0.85em;
}

.snscs-level__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.snscs-level__badges li {
	padding: 2px 10px;
	font-size: 0.8em;
	background: #fff;
	border-radius: 999px;
}

.snscs-badgelist {
	padding: 0;
	list-style: none;
}

.snscs-badgelist li {
	margin: 6px 0;
	padding: 8px 10px;
	opacity: 0.55;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
}

.snscs-badgelist li.is-on {
	opacity: 1;
	border-style: solid;
	border-color: #a5b4fc;
	background: #eef2ff;
}

.snscs-badgelist span,
.snscs-badgelist small {
	color: #4b5563;
	font-size: 0.85em;
}

.snscs-pointtable {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9em;
}

.snscs-pointtable th,
.snscs-pointtable td {
	padding: 6px 8px;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
}

/* プレス */
.snscs-press__body {
	line-height: 1.9;
	overflow-wrap: anywhere;
}
