/* えだまめ 求人総合案内ページ v1.1.0 — scoped under .ejh-root, self-contained
   v1.1: ヒーローに3サイト色グラデーション＋数字カウントアップ＋流れる帯、
   カードにホバーリフトと時間差フェード、セクションに色面と見出しバーを追加 */
.ejh-root {
	--ejh-ink: #1f2937;
	--ejh-muted: #5b6472;
	--ejh-line-green: #06c755;
	--ejh-clinic: #14532d;
	--ejh-clinic-light: #1e7a41;
	--ejh-care: #c2571b;
	--ejh-care-light: #e07f3a;
	--ejh-restaurant: #7a2233;
	--ejh-restaurant-light: #a83a4e;
	--ejh-border: #e5e7eb;
	margin: 0;
	padding: 0;
	color: var(--ejh-ink);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
.ejh-root *, .ejh-root *::before, .ejh-root *::after { box-sizing: border-box; }
.ejh-root .ejh-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 20px 64px; }

/* reveal on scroll (JS adds .ejh-js to root; no-JS stays visible) */
.ejh-root.ejh-js .ejh-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.ejh-root.ejh-js .ejh-reveal.ejh-in { opacity: 1; transform: none; }
.ejh-root.ejh-js .ejh-cards .ejh-card:nth-child(2) { transition-delay: .12s; }
.ejh-root.ejh-js .ejh-cards .ejh-card:nth-child(3) { transition-delay: .24s; }
.ejh-root.ejh-js .ejh-points .ejh-point:nth-child(2) { transition-delay: .12s; }
.ejh-root.ejh-js .ejh-points .ejh-point:nth-child(3) { transition-delay: .24s; }

/* hero — 3サイト色のグラデーションパネル */
.ejh-root .ejh-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 64px 28px 44px;
	border-radius: 26px;
	background: linear-gradient(120deg, rgba(20, 83, 45, .13), rgba(194, 87, 27, .10) 48%, rgba(122, 34, 51, .13));
	background-size: 220% 220%;
	animation: ejh-hero-pan 14s ease-in-out infinite alternate;
	box-shadow: inset 0 0 0 1px rgba(20, 83, 45, .08);
}
@keyframes ejh-hero-pan { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
.ejh-root .ejh-hero::before, .ejh-root .ejh-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(46px);
	pointer-events: none;
}
.ejh-root .ejh-hero::before { width: 300px; height: 300px; top: -130px; left: -90px; background: rgba(30, 122, 65, .28); }
.ejh-root .ejh-hero::after { width: 280px; height: 280px; bottom: -140px; right: -80px; background: rgba(194, 87, 27, .24); }
.ejh-root .ejh-eyebrow { position: relative; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .35em; color: var(--ejh-clinic); }
.ejh-root .ejh-h1 { position: relative; margin: 0 0 20px; font-size: clamp(28px, 5.4vw, 46px); font-weight: 900; line-height: 1.35; }
.ejh-root .ejh-lead { position: relative; margin: 0 auto 26px; max-width: 720px; font-size: clamp(15px, 2.4vw, 18px); color: var(--ejh-ink); }
.ejh-root .ejh-chips { position: relative; list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ejh-root .ejh-chips li { border: 1.5px solid var(--ejh-clinic); color: var(--ejh-clinic); border-radius: 999px; padding: 5px 16px; font-size: 14px; font-weight: 700; background: #fff; box-shadow: 0 3px 10px rgba(20, 83, 45, .10); }
.ejh-root .ejh-hero-cta { position: relative; margin: 0 0 38px; }

/* stats — 数字の見せ場（JSでカウントアップ） */
.ejh-root .ejh-stats { position: relative; list-style: none; margin: 0 auto; padding: 22px 10px 4px; max-width: 760px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid rgba(20, 83, 45, .16); }
.ejh-root .ejh-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ejh-root .ejh-stat-num { font-size: clamp(26px, 4.6vw, 36px); font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ejh-root .ejh-stat--clinic .ejh-stat-num { color: var(--ejh-clinic); }
.ejh-root .ejh-stat--care .ejh-stat-num { color: var(--ejh-care); }
.ejh-root .ejh-stat--restaurant .ejh-stat-num { color: var(--ejh-restaurant); }
.ejh-root .ejh-stat-label { font-size: 12.5px; font-weight: 700; color: var(--ejh-muted); letter-spacing: .06em; }

/* ticker — 流れる帯 */
.ejh-root .ejh-ticker { margin: 26px 0 6px; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, var(--ejh-clinic), var(--ejh-care) 55%, var(--ejh-restaurant)); padding: 9px 0; }
.ejh-root .ejh-ticker-track { display: flex; width: max-content; animation: ejh-ticker-scroll 30s linear infinite; }
.ejh-root .ejh-ticker-track span { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; padding: 0 18px; position: relative; }
.ejh-root .ejh-ticker-track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: rgba(255, 255, 255, .65); }
@keyframes ejh-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* buttons */
.ejh-root .ejh-btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 10px; padding: 13px 28px; font-size: 16px; line-height: 1.4; box-shadow: 0 6px 16px rgba(31, 41, 55, .14); transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease; }
.ejh-root .ejh-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(31, 41, 55, .18); }
.ejh-root .ejh-btn:active { transform: translateY(1px); box-shadow: 0 3px 8px rgba(31, 41, 55, .14); }
.ejh-root .ejh-btn-line { background: var(--ejh-line-green); color: #fff; }
.ejh-root .ejh-btn--clinic { background: linear-gradient(135deg, var(--ejh-clinic), var(--ejh-clinic-light)); color: #fff; }
.ejh-root .ejh-btn--care { background: linear-gradient(135deg, var(--ejh-care), var(--ejh-care-light)); color: #fff; }
.ejh-root .ejh-btn--restaurant { background: linear-gradient(135deg, var(--ejh-restaurant), var(--ejh-restaurant-light)); color: #fff; }

/* site cards — house style: white, thin colored band w/ SEO label, dark text, colored button */
.ejh-root .ejh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 26px 0 8px; }
.ejh-root .ejh-card { background: #fff; border: 1px solid var(--ejh-border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(31, 41, 55, .06); display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.ejh-root .ejh-card:hover { transform: translateY(-8px); box-shadow: 0 18px 34px rgba(31, 41, 55, .14); }
.ejh-root .ejh-card--clinic:hover { border-color: rgba(20, 83, 45, .45); }
.ejh-root .ejh-card--care:hover { border-color: rgba(194, 87, 27, .45); }
.ejh-root .ejh-card--restaurant:hover { border-color: rgba(122, 34, 51, .45); }
.ejh-root .ejh-band { margin: 0; padding: 9px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #fff; line-height: 1.5; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ejh-root .ejh-card--clinic .ejh-band { background: linear-gradient(90deg, var(--ejh-clinic), var(--ejh-clinic-light)); }
.ejh-root .ejh-card--care .ejh-band { background: linear-gradient(90deg, var(--ejh-care), var(--ejh-care-light)); }
.ejh-root .ejh-card--restaurant .ejh-band { background: linear-gradient(90deg, var(--ejh-restaurant), var(--ejh-restaurant-light)); }
/* edamame motif: 3 dots in the band */
.ejh-root .ejh-motif { display: inline-flex; gap: 4px; flex: none; }
.ejh-root .ejh-motif i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: block; }
.ejh-root .ejh-motif i:nth-child(2) { transform: translateY(2px); }
.ejh-root .ejh-card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.ejh-root .ejh-card-name { margin: 0 0 12px; font-size: 27px; font-weight: 900; line-height: 1.3; }
.ejh-root .ejh-card--clinic .ejh-card-name { color: var(--ejh-clinic); }
.ejh-root .ejh-card--care .ejh-card-name { color: var(--ejh-care); }
.ejh-root .ejh-card--restaurant .ejh-card-name { color: var(--ejh-restaurant); }
.ejh-root .ejh-card-copy { margin: 0 0 16px; font-size: 15px; flex: 1; }
.ejh-root .ejh-card-price { margin: 0 0 20px; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.ejh-root .ejh-card--clinic .ejh-card-price { background: rgba(20, 83, 45, .07); border: 1px dashed rgba(20, 83, 45, .4); }
.ejh-root .ejh-card--care .ejh-card-price { background: rgba(194, 87, 27, .08); border: 1px dashed rgba(194, 87, 27, .45); }
.ejh-root .ejh-card--restaurant .ejh-card-price { background: rgba(122, 34, 51, .07); border: 1px dashed rgba(122, 34, 51, .4); }
.ejh-root .ejh-card-cta { margin: 0; }
.ejh-root .ejh-card-cta .ejh-btn { width: 100%; text-align: center; }

/* sections */
.ejh-root .ejh-h2 { margin: 0 0 30px; font-size: clamp(22px, 3.6vw, 30px); font-weight: 900; text-align: center; position: relative; padding-bottom: 14px; }
.ejh-root .ejh-h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 68px; height: 4px; margin-left: -34px; border-radius: 999px; background: linear-gradient(90deg, var(--ejh-clinic), var(--ejh-care), var(--ejh-restaurant)); }
.ejh-root .ejh-forbiz { margin-top: 48px; padding: 44px 30px 36px; background: #f4f9f5; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(20, 83, 45, .07); }
.ejh-root .ejh-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.ejh-root .ejh-point { border: 1px solid var(--ejh-border); border-radius: 12px; padding: 22px 20px; background: #fff; box-shadow: 0 3px 12px rgba(31, 41, 55, .05); transition: transform .3s ease, box-shadow .3s ease; }
.ejh-root .ejh-point:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(31, 41, 55, .10); }
.ejh-root .ejh-point h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--ejh-clinic); }
.ejh-root .ejh-point p { margin: 0; font-size: 14.5px; color: var(--ejh-ink); }

/* price table */
.ejh-root .ejh-price-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; margin-bottom: 18px; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 12px rgba(31, 41, 55, .05); }
.ejh-root .ejh-price-table caption { text-align: left; font-weight: 700; padding: 0 0 10px; font-size: 15px; }
.ejh-root .ejh-price-table th, .ejh-root .ejh-price-table td { border: 1px solid var(--ejh-border); padding: 11px 14px; text-align: left; }
.ejh-root .ejh-price-table thead th { background: linear-gradient(90deg, var(--ejh-clinic), var(--ejh-clinic-light)); color: #fff; font-weight: 700; }
.ejh-root .ejh-price-table tbody th { font-weight: 700; background: #f8fafc; }
.ejh-root .ejh-price-table tbody tr { transition: background .2s ease; }
.ejh-root .ejh-price-table tbody tr:hover { background: #f2f7f3; }
.ejh-root .ejh-note { margin: 0 0 26px; font-size: 13.5px; color: var(--ejh-muted); }
.ejh-root .ejh-cta-center { text-align: center; margin: 0; }

/* FAQ */
.ejh-root .ejh-faq { padding: 52px 0 8px; }
.ejh-root .ejh-faq-list { margin: 0; }
.ejh-root .ejh-faq-item { border: 1px solid var(--ejh-border); border-radius: 12px; padding: 20px 22px; margin-bottom: 14px; background: #fff; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.ejh-root .ejh-faq-item:hover { border-color: rgba(20, 83, 45, .4); transform: translateX(4px); box-shadow: 0 8px 18px rgba(31, 41, 55, .07); }
.ejh-root .ejh-faq-item dt { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.ejh-root .ejh-faq-item dt::before { content: "Q. "; color: var(--ejh-clinic); }
.ejh-root .ejh-faq-item dd { margin: 0; font-size: 14.5px; color: var(--ejh-ink); }

/* footer strip — 3色グラデーションの上線 */
.ejh-root .ejh-footer { margin-top: 52px; padding: 28px 6px 0; text-align: center; font-size: 14px; color: var(--ejh-muted); position: relative; }
.ejh-root .ejh-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--ejh-clinic), var(--ejh-care), var(--ejh-restaurant)); }
.ejh-root .ejh-footer p { margin: 4px 0; }
.ejh-root .ejh-footer a { color: var(--ejh-clinic); font-weight: 700; }

/* responsive */
@media (max-width: 860px) {
	.ejh-root .ejh-cards, .ejh-root .ejh-points { grid-template-columns: 1fr; }
	.ejh-root .ejh-hero { padding: 46px 18px 34px; }
	.ejh-root .ejh-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
	.ejh-root .ejh-forbiz { padding: 34px 18px 28px; }
	.ejh-root .ejh-price-table { font-size: 13.5px; }
	.ejh-root .ejh-price-table th, .ejh-root .ejh-price-table td { padding: 9px 10px; }
}

/* reduced motion: 動きを止めて最終状態を表示 */
@media (prefers-reduced-motion: reduce) {
	.ejh-root.ejh-js .ejh-reveal { opacity: 1; transform: none; transition: none; }
	.ejh-root .ejh-hero { animation: none; }
	.ejh-root .ejh-ticker-track { animation: none; }
	.ejh-root .ejh-card, .ejh-root .ejh-point, .ejh-root .ejh-btn, .ejh-root .ejh-faq-item { transition: none; }
	.ejh-root .ejh-card:hover, .ejh-root .ejh-point:hover, .ejh-root .ejh-btn:hover { transform: none; }
}
