/* hashtag column parts
 * テーマは html{font-size:10px} で、.column__content 内の全要素に font-size:1.8rem を当てている。
 * 本文内の部品は文字サイズを px で、テーマに負けないよう2クラスの指定で書く。 */
.hcp-points, .hcp-banner, .hcp-cta, .hcp-jobs, .hcp-next { --hcp-green: #4caf50; box-sizing: border-box; margin: 0 0 2rem; }
.hcp-bar, .hcp-read { --hcp-green: #4caf50; box-sizing: border-box; }
[hidden].hcp-read, [hidden].hcp-jobs__area, [hidden].hcp-bar__menu { display: none !important; }

.hcp-btn { display: inline-block; padding: .7em 1.2em; border-radius: 999px; background: var(--hcp-green); color: #fff !important; font-weight: 700; text-align: center; text-decoration: none !important; line-height: 1.4; }

/* ① */
.hcp-points { padding: 16px 20px; border: 2px solid var(--hcp-green); border-radius: 8px; }
.hcp-points .hcp-points__ttl { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--hcp-green); }
.hcp-points ul { margin: 0; padding: 0; list-style: none; } /* テーマが ul の点を消しているので、チェックの印を自前で出す */
.hcp-points ul li { position: relative; margin: 0; padding: 8px 0 8px 30px; border-top: 1px dashed #c8e6c9; font-size: 16px; line-height: 1.7; }
.hcp-points ul li:first-child { border-top: 0; }
.hcp-points ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--hcp-green); }
.hcp-points ul li::after { content: ""; position: absolute; left: 7px; top: 15px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ① 相談バナー（オレンジ） */
.hcp-banner { --hcp-orange: #e65100; display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid #ff9800; border-radius: 8px; background: #fff3e0; }
.hcp-banner__txt, .hcp-cta__txt { flex: 1; margin: 0; }
.hcp-banner .hcp-banner__txt span { display: block; font-size: 14px; color: var(--hcp-orange); font-weight: 700; }
.hcp-banner .hcp-banner__txt strong { display: block; font-size: 17px; line-height: 1.5; }
.hcp-banner .hcp-btn { flex-shrink: 0; background: var(--hcp-orange); font-size: 18px; }
@media screen and (max-width: 639px) {
	.hcp-banner { flex-direction: column; align-items: stretch; text-align: center; }
}
.hcp-cta__txt span { display: block; font-size: .85em; }
/* 目次：Easy TOC の外枠と「目次」の見出しを消し、開閉ボタンだけにする（JS が .hcp-toc を付ける） */
#ez-toc-container.hcp-toc { display: block !important; width: auto !important; margin: 0 0 2rem !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
#ez-toc-container.hcp-toc .ez-toc-title-container { display: none !important; }
.hcp-toc-toggle { display: block; width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; font-size: 16px; cursor: pointer; }
/* 開いたときだけ、ボタンと一覧をひと続きの枠にする（閉じたときの見た目は変えない） */
.hcp-toc-toggle[aria-expanded="true"] { border-radius: 6px 6px 0 0; background: #f7f7f7; }
.hcp-toc nav { padding: 12px 16px; border: 1px solid #ccc; border-top: 0; border-radius: 0 0 6px 6px; background: #fff; }

/* ③ */
.hcp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: 1.2rem; border: 2px solid var(--hcp-green); border-radius: 8px; }
.hcp-cta__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--hcp-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M4 4h16v12H7l-3 3z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.hcp-cta .hcp-btn { width: 100%; }

/* ② */
.hcp-jobs { padding: 1rem; border-radius: 8px; background: #f7f7f7; }
.hcp-jobs__head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.hcp-jobs__ttl { margin: 0; font-weight: 700; }
.hcp-jobs__more { flex-shrink: 0; font-size: .85em; }
.hcp-jobs__area { display: flex; gap: .5rem; margin: .8rem 0 .4rem; }
.hcp-jobs__area select { flex: 1; min-width: 0; padding: .4em; }
.hcp-jobs__count { margin: 0 0 .6rem; font-weight: 700; }
.hcp-jobs__count:empty { display: none; }
.hcp-jobs__cards { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.hcp-card { flex: 0 0 72%; max-width: 260px; display: flex; flex-direction: column; gap: .4rem; padding: .8rem; border-radius: 8px; background: #fff; color: inherit !important; text-decoration: none !important; scroll-snap-align: start; }
.hcp-card__name { font-weight: 700; }
.hcp-card__salary { color: #e65100; font-weight: 700; }
.hcp-card__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.hcp-card__tag { padding: .1em .5em; border-radius: 4px; background: #f1f8e9; font-size: .8em; }
.hcp-card__more { margin-top: auto; color: var(--hcp-green); font-size: .85em; text-align: right; }

/* ⑥ */
.hcp-next { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid #ddd; border-radius: 8px; color: inherit !important; text-decoration: none !important; }
.hcp-next .hcp-next__img { width: 160px; height: 107px; flex-shrink: 0; object-fit: cover; border-radius: 4px; } /* テーマの img{width:100%} を上書き */
.hcp-next .hcp-next__body { flex: 1; min-width: 0; }
.hcp-next .hcp-next__label { display: block; margin-bottom: 4px; color: var(--hcp-green); font-size: 14px; font-weight: 700; }
.hcp-next .hcp-next__ttl { display: block; font-size: 16px; font-weight: 700; line-height: 1.6; }
@media screen and (max-width: 639px) {
	.hcp-next { gap: 12px; padding: 12px; }
	.hcp-next .hcp-next__img { width: 110px; height: 73px; }
	.hcp-next .hcp-next__ttl { font-size: 15px; }
}

/* ⑦ スマホだけ（既存の .s-sp と同じ 639px 以下） */
.hcp-bar { display: none; }
@media screen and (max-width: 639px) {
	.hcp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; gap: .5rem; height: 64px; padding: .5rem; background: #fff; box-shadow: 0 -2px 6px rgba(0, 0, 0, .1); }
	.hcp-bar a { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 700; text-decoration: none; }
	.hcp-bar__jobs { border: 2px solid var(--hcp-green); color: var(--hcp-green) !important; }
	.hcp-bar__entry { background: var(--hcp-green); color: #fff !important; }
	.hcp-bar__menu { width: 48px; border: 0; background: none; font-size: 1.5rem; }
}

/* ⑧ ⑦の上に出す */
.hcp-read { position: fixed; left: 50%; bottom: 1rem; z-index: 998; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; width: calc(100% - 2rem); max-width: 480px; padding: 1rem 2.5rem 1rem 1rem; border-radius: 8px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .2); transform: translateX(-50%); animation: hcp-up .3s ease-out; }
.hcp-read__txt { flex: 1 1 100%; margin: 0; font-size: .9em; }
.hcp-read__close { position: absolute; top: .3rem; right: .3rem; width: 2rem; height: 2rem; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
@media screen and (max-width: 639px) { .hcp-read { bottom: calc(64px + .5rem); } }
@keyframes hcp-up { from { transform: translate(-50%, 100%); opacity: 0; } }
/* PC：画面下中央の横長ではなく、右下に読みやすい大きさのカードで出す（スマホは上のまま） */
@media screen and (min-width: 640px) {
	.hcp-read { left: auto; right: 24px; bottom: 24px; width: 380px; padding: 20px 44px 20px 20px; gap: 12px; transform: none; animation-name: hcp-up-pc; }
	.hcp-read .hcp-read__txt { font-size: 15px; line-height: 1.7; }
	.hcp-read .hcp-btn { width: 100%; font-size: 15px; }
	.hcp-read .hcp-read__close { top: 8px; right: 8px; font-size: 20px; }
}
@keyframes hcp-up-pc { from { transform: translateY(100%); opacity: 0; } }
