@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =============================================================================
 * オウンドメディア（hitalent.me/column/）の見た目
 *
 * 出どころ: 「記事ページ デザイン確定案」（2026-08-10 確定・AB中間 × ブランドカラー）
 *   https://claude.ai/code/artifact/fa021679-4fdc-4f78-90de-bb867246ae88
 *   → モックのCSSがそのまま子テーマの仕様と定めてある。値を勝手に変えない。
 *
 * JavaScript は使わない（追従はすべて position: sticky / fixed で実現する）。
 * 新しいJSを足すと、公開のたびに許可リストの安全装置で止まるため。
 * ========================================================================== */

:root {
	--ht-navy: #0D1240;        /* 見出し・H2の罫・CTAボタン・表ヘッダー */
	--ht-amber: #F5A623;       /* カテゴリラベル・CTAの左罫 */
	--ht-cta-face: #FFF8EF;    /* CTAブロックの背景 */
	--ht-pale: #F5F6FA;        /* 表ヘッダー・図版枠 */
	--ht-ink: #14171F;         /* 本文（ネイビー寄りの黒） */
	--ht-line: #DEE0E8;        /* 目次枠・表の横罫・FAQ枠 */
	--ht-cta-sub: #6B5E4A;     /* CTAの説明文 */
	--ht-radius: 4px;
	--ht-serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

/* -----------------------------------------------------------------------------
 * 本文中の反復CTA（4〜5回・スマホではこれが主役）
 * 使い方: 記事本文に [ht_cta] ショートコード、またはSWELLのブログパーツで挿入する
 * -------------------------------------------------------------------------- */
.ht-cta {
	background: var(--ht-cta-face);
	border-left: 3px solid var(--ht-amber);
	border-radius: var(--ht-radius);
	padding: 1.2rem 1.3rem;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	align-items: flex-start;
	margin: 2rem 0;
}
.ht-cta__title {
	font-family: var(--ht-serif);
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--ht-navy);
	line-height: 1.6;
}
.ht-cta__desc {
	font-size: .82rem;
	color: var(--ht-cta-sub);
	line-height: 1.8;
}
.ht-cta__btn,
.ht-side-cta__btn,
.ht-spbar__btn {
	display: inline-block;
	background: var(--ht-navy);
	color: #FFFFFF;
	border: 0;
	border-radius: var(--ht-radius);
	font-weight: 700;
	text-decoration: none;
}
.ht-cta__btn {
	padding: .62rem 1.5rem;
	font-size: .88rem;
}
.ht-cta__btn:hover,
.ht-side-cta__btn:hover,
.ht-spbar__btn:hover {
	color: #FFFFFF;
	opacity: .88;
}

/* 塗りではない方（資料請求）＝線のボタン */
.ht-btn--outline {
	background: transparent;
	color: var(--ht-navy);
	border: 1px solid var(--ht-navy);
}
.ht-btn--outline:hover { color: var(--ht-navy); }

/* -----------------------------------------------------------------------------
 * PC＝追従サイドバーのCTAカード（画面幅900px以上でのみ意味を持つ）
 * SWELLのサイドバーウィジェットに [ht_side_cta] を置いて使う
 * -------------------------------------------------------------------------- */
.ht-side-cta {
	background: var(--ht-cta-face);
	border-left: 3px solid var(--ht-amber);
	border-radius: var(--ht-radius);
	padding: .95rem 1rem;
	display: flex;
	flex-direction: column;
	gap: .55rem;
}
.ht-side-cta__title {
	font-family: var(--ht-serif);
	font-size: .86rem;
	font-weight: 700;
	color: var(--ht-navy);
	line-height: 1.6;
}
.ht-side-cta__btn {
	text-align: center;
	font-size: .78rem;
	padding: .55rem .6rem;
	display: block;
}
.ht-side-cta__note {
	font-size: .68rem;
	line-height: 1.7;
	color: #55596B;
	border-top: 1px dashed var(--ht-line);
	padding-top: .6rem;
}

/* サイドバーをスクロールに追従させる（JSなし） */
@media (min-width: 900px) {
	.ht-side-cta,
	.widget_ht_side_cta {
		position: sticky;
		top: 1.4rem;
	}
}

/* -----------------------------------------------------------------------------
 * スマートフォン＝画面下部の追従バー
 * サイドバーが出せないため、ゴールリンクをここで常時表示する
 * -------------------------------------------------------------------------- */
.ht-spbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	background: var(--ht-navy);
	padding: .55rem .8rem;
	display: flex;
	gap: .5rem;
	align-items: center;
	justify-content: center;
	box-shadow: 0 -2px 12px rgba(13, 18, 64, .18);
	padding-bottom: calc(.55rem + env(safe-area-inset-bottom, 0px));
}
/* モックのとおり、バー自体がネイビー・文字は白（白ボタンは置かない） */
.ht-spbar__btn {
	flex: 1 1 auto;
	max-width: 22rem;
	text-align: center;
	font-size: .88rem;
	padding: .6rem .8rem;
	background: transparent;
	color: #FFFFFF;
}
.ht-spbar__btn:hover { color: #FFFFFF; }
/* 2つ並ぶ場合だけ、区切りが分かるように細い枠を出す */
.ht-spbar__btn + .ht-spbar__btn { border: 1px solid rgba(255, 255, 255, .45); }

/* バーが本文の末尾を覆わないように下端を空ける */
body.ht-has-spbar { padding-bottom: 4.2rem; }

/* 900px以上ではサイドバーが出るので、下部バーは消す */
@media (min-width: 900px) {
	.ht-spbar { display: none; }
	body.ht-has-spbar { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ht-cta__btn, .ht-side-cta__btn, .ht-spbar__btn { transition: none; }
}
