@charset "UTF-8";
/*
Theme Name: SWELL CHILD
Template: swell
Theme URI: https://swell-theme.com/
Description: Smart Media（SKILL GATE / JOB GATE）用 SWELL 子テーマ。求職者=ピンク / 企業=ティールでゲートごとに配色を切り替えます。
Author: カチカ
Version: 1.0.0
Requires PHP: 7.3.0
Text Domain: swell_child
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================================
 * ゲート別カラー変数
 *   body.gate-career  … 求職者側（ピンク）
 *   body.gate-recruit … 企業側（ティール）
 *   反対側サイト誘導用の色は --cross-* で保持
 * =======================================================*/
body.gate-career {
	--sm-primary: #FF6473;
	--sm-primary-dark: #e04f5e;
	--sm-primary-light: #FFE8F1;
	--sm-primary-border: #ffc8cd;
	--sm-tag-bg: #FFE8F1;
	--sm-tag-color: #FF6473;
	--sm-cross: #01B8BF;
	--sm-cross-dark: #019aa0;
	--sm-cross-light: #E1FCFD;
	--sm-cross-border: #a0e8eb;
}

body.gate-recruit {
	--sm-primary: #01B8BF;
	--sm-primary-dark: #019aa0;
	--sm-primary-light: #E1FCFD;
	--sm-primary-border: #b2e8ea;
	--sm-tag-bg: #E1FCFD;
	--sm-tag-color: #01B8BF;
	--sm-cross: #FF6473;
	--sm-cross-dark: #e04f5e;
	--sm-cross-light: #FFE8F1;
	--sm-cross-border: #ffc8cd;
}

html body.gate-career {
	/* 濃 */
	--color_deep01: #FF6473;
	--color_deep02: #333333;
	--color_deep03: #F6FF00;
	--color_deep04: #7469BD;
	/* 淡 */
	--color_pale01: #FFE8F1;
	--color_pale02: #EDEDED;
	--color_pale03: #FDFFC9;
	--color_pale04: #F1EFFF;
}

html body.gate-recruit {
	/* 濃 */
	--color_deep01: #01B8BF;
	--color_deep02: #333333;
	--color_deep03: #F6FF00;
	--color_deep04: #6493D4;
	/* 淡 */
	--color_pale01: #E1FCFD;
	--color_pale02: #EDEDED;
	--color_pale03: #FDFFC9;
	--color_pale04: #E4EFFF;
}

/* WordPressプリセット変数を直接上書き（SWELLパレット用） */
html body.gate-career {
	--wp--preset--color--swl-deep-01: #FF6473;
	--wp--preset--color--swl-deep-02: #333333;
	--wp--preset--color--swl-deep-03: #F6FF00;
	--wp--preset--color--swl-deep-04: #7469BD;
	--wp--preset--color--swl-pale-01: #FFE8F1;
	--wp--preset--color--swl-pale-02: #EDEDED;
	--wp--preset--color--swl-pale-03: #FDFFC9;
	--wp--preset--color--swl-pale-04: #F1EFFF;
}

html body.gate-recruit {
	--wp--preset--color--swl-deep-01: #01B8BF;
	--wp--preset--color--swl-deep-02: #333333;
	--wp--preset--color--swl-deep-03: #F6FF00;
	--wp--preset--color--swl-deep-04: #6493D4;
	--wp--preset--color--swl-pale-01: #E1FCFD;
	--wp--preset--color--swl-pale-02: #EDEDED;
	--wp--preset--color--swl-pale-03: #FDFFC9;
	--wp--preset--color--swl-pale-04: #E4EFFF;
}

/* =========================================================
 * SWELL 標準要素をゲート色に寄せる
 *   （必要に応じてセレクタを追加してください）
 * =======================================================*/
body.smgate {
	--color_main: var(--sm-primary);
	/* SWELLのメインカラー変数を上書き */
	--color_link: var(--sm-primary-dark);
	--color_hover: var(--sm-primary-dark);
}

/* 見出し・強調・ボタン等でSWELLのメインカラーを使う箇所は
   上記 --color_main の上書きで概ね追従します。個別に効かない箇所は
   下記のように個別指定を追加してください。 */
body.smgate .wp-block-button__link:not(.is-style-outline) {
	background-color: var(--sm-primary);
}

/* =========================================================
 * cross-banner（反対側サイトへの導線） … wp_body_open で出力
 * =======================================================*/
.smgate-cross {
	background: var(--sm-cross-light);
	/* border-bottom: 1px solid var(--sm-cross-border); */
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.smgate-cross-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 16px;
	background: var(--sm-cross);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s;
}

.smgate-cross-btn:hover {
	background: var(--sm-cross-dark);
	color: #fff;
}

/* =========================================================
 * セクション見出し（demo05風の縦バー） / MOREボタン
 *   ゲートTOPや一覧ページで .smgate-section-title / .smgate-more を使用
 * =======================================================*/
.smgate-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 700;
	color: #111;
	padding: 20px 0 14px;
}

.smgate-section-title::before {
	content: "";
	width: 4px;
	height: 20px;
	border-radius: 2px;
	background: var(--sm-primary);
	flex-shrink: 0;
}

.smgate-more {
	display: inline-block;
	padding: 8px 40px;
	border: 1.5px solid var(--sm-primary);
	border-radius: 24px;
	color: var(--sm-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-decoration: none;
	background: transparent;
	transition: all .2s;
}

.smgate-more:hover {
	background: var(--sm-primary);
	color: #fff;
}

/* =========================================================
 * 記事カード（一覧・関連） … .smgate-card
 * =======================================================*/
.smgate-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.smgate-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}

.smgate-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, .09);
	transform: translateY(-2px);
}

.smgate-card .thumb {
	aspect-ratio: 16/9;
	background: var(--sm-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	position: relative;
}

.smgate-card .thumb.is-video {
	background: linear-gradient(135deg, #1a1a2e, #0f3460);
}

.smgate-card .cat {
	display: inline-block;
	background: var(--sm-tag-bg);
	color: var(--sm-tag-color);
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 7px;
}

.smgate-card .title {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.55;
	color: #111;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.smgate-card .body {
	padding: 12px;
}

@media (max-width: 768px) {
	.smgate-card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* =========================================================
 * 記事本文の装飾（skillgate/jobgate_article ベース）
 *   SWELLの投稿本文 .post_content 配下に適用
 * =======================================================*/
body.smgate .post_content h2 {
	color: #fff;
	background: var(--sm-primary);
	padding: 9px 16px;
	border-radius: 6px;
	border: none;
}

body.smgate .post_content h3 {
	border-left: 4px solid var(--sm-primary);
	padding-left: 12px;
	background: none;
}

/* SWELLの「キャプションボックス」等を使う場合の色寄せ例 */
body.smgate .cap_box .cap_box_ttl {
	background: var(--sm-primary);
}

/* =========================================================
 * ページネーション / タグクラウドのアクセント色寄せ
 * =======================================================*/
body.smgate .wp-pagenavi .current,
body.smgate .page-numbers.current {
	background: var(--sm-primary);
	border-color: var(--sm-primary);
	color: #fff;
}

/* =========================================================
 * /career/ ・ /recruit/ TOP（gate-top.php）専用
 * =======================================================*/
.smgate-mv {
	background: var(--sm-primary);
	padding: 16px 20px 18px;
}

.smgate-mv-name {
	font-size: 10px;
	font-weight: 700;
	color: rgba(255, 255, 255, .75);
	letter-spacing: .1em;
	text-transform: uppercase;
	margin-bottom: 2px;
}

.smgate-mv-title {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.smgate-content {
	max-width: 1080px;
	margin: 0 auto;
	padding: 8px 20px 48px;
}

.smgate-more-wrap {
	text-align: center;
	padding: 14px 0 8px;
}

.smgate-divider {
	height: 1px;
	background: #E5E7EB;
	margin: 18px 0 6px;
}

.smgate-empty {
	grid-column: 1 / -1;
	text-align: center;
	color: #9CA3AF;
	font-size: 13px;
	padding: 20px 0;
}

/* カード（画像サムネ・メタ・動画オーバーレイ対応） */
.smgate-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.smgate-card .thumb {
	position: relative;
	overflow: hidden;
}

.smgate-card .thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.smgate-card .meta {
	font-size: 10px;
	color: #9CA3AF;
	margin-top: 5px;
}

.smgate-card .thumb .play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ff0000;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.smgate-card .thumb .video-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #ff0000;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
}

/* お知らせリスト */
.smgate-news-list {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	border-top: 1px solid #E5E7EB;
}

.smgate-news-item {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid #E5E7EB;
	text-decoration: none;
	color: inherit;
}

.smgate-news-item:hover {
	background: #F8FAFC;
}

.smgate-news-date {
	font-size: 11px;
	color: #9CA3AF;
	white-space: nowrap;
	flex-shrink: 0;
}

.smgate-news-cat {
	background: var(--sm-tag-bg);
	color: var(--sm-tag-color);
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}

.smgate-news-title {
	font-size: 13px;
	color: #111;
	line-height: 1.5;
}

/* フッターCTAを中央幅に収める（画面が狭い時は左右20pxの余白を確保） */
.smgate-content+.smgate-footer-cta,
.smgate-footer-cta {
	max-width: 1080px;
	width: calc(100% - 40px);
	margin: 24px auto 0;
}

/* =========================================================
 * フッターCTA … ショートコード [smgate_cta]
 * =======================================================*/
.smgate-footer-cta {
	background: var(--sm-primary);
	border: none;
	padding: 42px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 20px;
}

.smgate-footer-cta-msg {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	line-height: 1.6;
}

.smgate-footer-cta-sub {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, .92);
	margin-top: 10px;
	line-height: 1.3;
}

.smgate-footer-cta-btn {
	background: #fff;
	color: var(--sm-primary);
	font-size: 15px;
	font-weight: 700;
	padding: 15px 52px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: .15s;
}

.smgate-footer-cta-btn::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 0 6px 10px; /* 右向き三角形 */
	border-color: transparent transparent transparent currentColor;
}

.smgate-footer-cta-btn:hover {
	color: #fff;
	background: var(--sm-primary-dark);
	transform: translateY(-1px);
}

/* =========================================================
 * 自前ヘッダー / フッター（sm-header.php / sm-footer.php）
 * =======================================================*/
body.sm-custom {
	background: #F4F2F0;
}
body.sm-custom.gate-career  {
	background: #EDEDED;
}
body.sm-custom.gate-recruit {
	background: #F4F2F0;
}

.sm-site-header {
	background: #fff;
	border-bottom: 1px solid #E5E7EB;
	padding: 0 20px;
	display: flex;
	align-items: center;
	height: 52px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.sm-site-logo {
	font-size: 15px;
	font-weight: 600;
	color: #111;
	display: flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
}

.sm-logo-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--sm-primary);
	flex-shrink: 0;
}

.sm-site-footer {
	border-top: 1px solid #E5E7EB;
	background: #fff;
	margin-top: 32px;
}

.sm-footer-bottom {
	max-width: 1080px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 11px;
	color: #9CA3AF;
}

.sm-footer-bottom a {
	color: #9CA3AF;
	text-decoration: none;
}

.sm-footer-bottom a:hover {
	color: var(--sm-primary);
}

/* ログイン時の管理バーとstickyヘッダーの重なり回避 */
.admin-bar .sm-site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .sm-site-header {
		top: 46px;
	}
}

/* =========================================================
 * 一覧ページ（smgate-list.php）
 * =======================================================*/
.smgate-breadcrumb {
	max-width: 1080px;
	margin: 0 auto;
	padding: 10px 20px;
	font-size: 11px;
	color: #9CA3AF;
}

.smgate-breadcrumb a {
	color: #9CA3AF;
	text-decoration: none;
}

.smgate-breadcrumb a:hover {
	color: var(--sm-primary);
}

.smgate-breadcrumb span {
	margin: 0 5px;
}

.smgate-list-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px 48px;
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 32px;
}

.smgate-section-header {
	padding: 12px 0 16px;
}

.smgate-section-title-bare {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
	border-left: 4px solid var(--sm-primary);
	padding-left: 11px;
}

/* ページネーション */
.smgate-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 28px 0 8px;
	flex-wrap: wrap;
}

.smgate-pagination .page-numbers {
	min-width: 16px;
	height: 30px;
	padding: 0 8px;
	border-radius: 6px;
	border: 1px solid #E5E7EB;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #374151;
	text-decoration: none;
	transition: all .15s;
	margin: 0 1px !important;
}

.smgate-pagination .page-numbers:hover {
	border-color: var(--sm-primary);
	color: var(--sm-primary);
}

.smgate-pagination .page-numbers.current {
	background: var(--sm-primary);
	border-color: var(--sm-primary);
	color: #fff;
	font-weight: 700;
}

/* サイドバー */
.smgate-sidebar {
	padding-top: 12px;
}

.smgate-widget {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 20px;
}

.smgate-widget-head {
	background: var(--sm-primary);
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	letter-spacing: .04em;
}

.smgate-widget-body {
	padding: 12px 14px;
}

.smgate-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smgate-cat-list li {
	/* padding: 7px 0; */
	border-bottom: 1px solid #F3F4F6;
	font-size: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.smgate-cat-list li:last-child {
	border-bottom: none;
}

.smgate-cat-list li::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sm-primary);
	flex-shrink: 0;
}

.smgate-cat-list a {
	color: #374151;
	text-decoration: none;
	display: block;
    width: 100%;
    padding: 7px 0;
}

.smgate-cat-list a:hover {
	color: var(--sm-primary);
}

/* 検索フォーム（SWELL/WP標準フォームを軽く整える） */
.smgate-widget-body form {
	display: flex;
	gap: 6px;
}

.smgate-widget-body input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 12px;
	line-height: 1.4;
	outline: none;
}

.smgate-widget-body input[type="search"]::placeholder {
	font-size: 10px;
	color: #9CA3AF;
}

.smgate-widget-body input[type="search"]:focus {
	border-color: var(--sm-primary);
}

.smgate-widget-body button,
.smgate-widget-body input[type="submit"] {
	background: var(--sm-primary);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 7px 12px;
	font-size: 12px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.smgate-list-wrap {
		grid-template-columns: 1fr;
	}

	.smgate-sidebar {
		padding-top: 0;
	}
}

/* =========================================================
 * 詳細ページ（single.php / template-parts/article.php）
 * =======================================================*/
.smgate-article {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 10px;
	overflow: hidden;
}

.smgate-article-eyecatch {
	aspect-ratio: 16 / 9;
	background: var(--sm-primary-light);
	overflow: hidden;
}

.smgate-article-eyecatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smgate-article-inner {
	padding: 24px 28px 28px;
}

.smgate-post-tag {
	display: inline-block;
	background: var(--sm-tag-bg);
	color: var(--sm-tag-color);
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 4px;
	margin-bottom: 10px;
}

.smgate-post-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	color: #111;
	margin: 0 0 16px;
}

.smgate-post-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid #F3F4F6;
	font-size: 12px;
	color: #6B7280;
}

.smgate-author-avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

/* 本文（the_content） */
.smgate-article-body {
	font-size: 15px;
	line-height: 1.9;
	color: #333;
}

.smgate-article-body > * + * {
	margin-top: 16px;
}

.smgate-article-body h2 {
	color: #fff;
	background: var(--sm-primary);
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 18px;
	margin: 32px 0 16px;
}

.smgate-article-body h3 {
	border-left: 4px solid var(--sm-primary);
	padding-left: 12px;
	font-size: 16px;
	margin: 26px 0 12px;
}

.smgate-article-body a {
	color: var(--sm-primary-dark);
	text-decoration: underline;
}

.smgate-article-body img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

/* タグ */
.smgate-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #F3F4F6;
}

.smgate-tag-item {
	font-size: 11px;
	color: #4B5563;
	background: #F3F4F6;
	border: 1px solid transparent;
	padding: 4px 12px;
	border-radius: 6px;
	text-decoration: none;
	transition: all .15s;
}

.smgate-tag-item:hover {
	background: var(--sm-tag-bg);
	color: var(--sm-tag-color);
}

/* 関連記事 */
.smgate-related {
	padding: 8px 28px 28px;
}

/* サイドバー目次 */
.smgate-toc .smgate-widget-head,
.smgate-dark .smgate-widget-head {
	background: #2d3748;
}

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

.toc-list li {
	line-height: 1.5;
	padding: 6px 0;
}

.toc-list a {
	color: inherit;
	text-decoration: none;
}

.toc-list a:hover {
	color: var(--sm-primary);
}

/* h2：太字＋左にゲート色の丸 */
.toc-item-h2 {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #111;
}

.toc-item-h2::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sm-primary);
	flex-shrink: 0;
	margin-top: 6px;
}

/* h3：薄め＋インデント＋ダッシュ */
.toc-item-h3 {
	position: relative;
	padding-left: 22px !important;
	font-size: 12px;
	color: #9CA3AF;
}

.toc-item-h3::before {
	content: "–";
	position: absolute;
	left: 8px;
	color: #9CA3AF;
}

/* サイドバー タグクラウド */
.smgate-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

@media (max-width: 900px) {
	.smgate-article-inner {
		padding: 20px;
	}

	.smgate-post-title {
		font-size: 20px;
	}
}

/* =========================================================
 * ステップリスト（番号付きリストに .step-list を付与）
 * =======================================================*/
.smgate-article-body .step-list {
	list-style: none;
	counter-reset: smstep;
	margin: 22px 0;
	padding: 0;
}
.smgate-article-body .step-list > li {
	counter-increment: smstep;
	position: relative;
	padding-left: 46px;
	margin-bottom: 22px;
}
.smgate-article-body .step-list > li::before {
	content: counter(smstep);
	position: absolute;
	left: 0;
	top: -5px;
	width: 30px;
	height: 30px;
	background: var(--sm-primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	line-height: 30;
}
.smgate-article-body .step-list > li strong,
.smgate-article-body .step-list > li b {
	display: block;
	font-weight: 700;
	color: #111;
	font-size: 15px;
	margin-bottom: 5px;
	line-height: 1.5;
}

/* =========================================================
 * 関連記事だけ4カラム
 * =======================================================*/
.smgate-related .smgate-card-grid {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
	.smgate-related .smgate-card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* サイドバーウィジェットが空のときのプレースホルダー */
.smgate-widget-empty {
	margin: 0;
	font-size: 12px;
	color: #9CA3AF;
}

/* =========================================================
 * 本文リストのマーカーを復活（SWELLのリセットで消えるため）
 * =======================================================*/
.smgate-article-body ul {
	list-style: disc;
	padding-left: 1.5em;
	margin: 0 0 16px;
}
.smgate-article-body ol {
	list-style: decimal;
	padding-left: 1.5em;
	margin: 0 0 16px;
}
.smgate-article-body li {
	margin-bottom: 6px;
	line-height: 1.8;
}
/* ステップリスト（.step-list）は番号バッジ表示のためマーカー無しを維持 */
.smgate-article-body .step-list {
	list-style: none;
	padding-left: 0;
}
/* ゲート別ロゴ画像（sm-header） */
.sm-logo-img {
	height: 28px;
	width: auto;
	display: block;
}
/* ロゴの見出しラッパー（h1/div で見た目を揃える） */
.sm-logo-heading {
	margin: 0;
	display: flex;
	align-items: center;
}
/* h1内の視覚的に隠すテキスト（スクリーンリーダー・SEO用） */
.sm-logo-text-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
/* ゲートTOPのFV（メインビジュアル）画像 */
.smgate-fv {
	line-height: 0;
}
.smgate-fv-img {
	display: block;
	width: 100%;
	/* height: calc(100vh - 52px - 50px); */
	object-fit: cover;
	object-position: center 90%;
}
.admin-bar .smgate-fv-img {
	/* height: calc(100vh - 52px - 50px - 32px); */
}
.smgate-fv picture {
	display: block;
}

/* SP */
@media (max-width: 768px) {
	.smgate-fv-img {
		height: auto;
	}
	.admin-bar .smgate-fv-img {
		height: auto;
	}
}


/* 本文内リンクの色指定をSWELLボタンには適用しない */
.smgate-article-body .swell-block-button__link,
.smgate-article-body .swell-block-button__link span {
	color: #fff;
	text-decoration: none;
}


/* =========================================================
 * 404ページ
 * =======================================================*/
.page-404 {
	max-width: 1080px;
	margin: 0 auto;
	padding: 80px 20px 100px;
	text-align: center;
}
.page-404-title {
	font-size: 20px;
	font-weight: 700;
	color: #111;
	margin: 0 0 1em;
}
.page-404-text {
	font-size: 15px;
	line-height: 1.9;
	color: #374151;
	margin: 0 0 1.5em;
}
.page-404-link {
	font-size: 15px;
	color: var(--sm-primary);
	text-decoration: underline;
	word-break: break-all;
}


/* =========================================================
 * 振り分けTOP（front-page.php）
 * =======================================================*/

.smtop-wrap {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  gap: 2.5rem;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.smtop-logo { 
text-align: center; 
}
.smtop-logo-text {
  font-size: 32px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}
.smtop-logo-sub {
  font-size: 14px;
  color: #6b7280;
  margin-top: 6px;
}
.smtop-divider {
  width: 40px;
  height: 1px;
  background: #e5e7eb;
}
.smtop-lead {
  font-size: 15px;
  color: #6b7280;
  text-align: center;
}
.smtop-btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .smtop-btn-row {
    flex-direction: column;
    gap: 0px;
  }
}
.smtop-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;<br />
  min-width: 200px;
  justify-content: center;
}
.smtop-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.smtop-btn:active { transform: scale(0.98); }
.smtop-btn-pink { background: #ff6473; color: #fff; }
.smtop-btn-teal { background: #01b8bf; color: #fff; }
.smtop-btn svg { width: 20px; height: 20px; }


/* =========================================================
 * プライバシーポリシー等の法務ページ（page-privacy-policy.php）
 * =======================================================*/
body.sm-neutral { --sm-primary: #ff6473; }
.sm-legal { max-width: 800px; margin: 0 auto; padding: 32px 20px 64px; }
.sm-legal-title {
	font-size: 24px; font-weight: 700; color: #111;
	margin: 0 0 24px; padding-bottom: 12px;
	border-bottom: 2px solid var(--sm-primary);
}
.sm-legal-body { font-size: 15px; line-height: 1.9; color: #333; }
.sm-legal-body h2 {
	font-size: 17px; font-weight: 700; color: #111;
	margin: 32px 0 12px; padding-left: 11px;
	border-left: 4px solid var(--sm-primary);
}
.sm-legal-body p { margin: 0 0 14px; }
.sm-legal-body ul { margin: 0 0 14px; padding-left: 1.4em; }
.sm-legal-body li { margin-bottom: 4px; }
.sm-legal-body a { color: var(--sm-primary); text-decoration: underline; }
.sm-legal-contact {
	background: #F8FAFC; border: 1px solid #E5E7EB; border-radius: 8px;
	padding: 16px 18px; margin: 8px 0 20px;
}
.sm-legal-contact p { margin: 0; line-height: 2; }
.sm-legal-dates { font-size: 13px; color: #9CA3AF; margin-top: 28px; }