/* えだまめ ポートフォリオページ v1.0.0 — scoped under .epf-root, self-contained
   デザインは求人総合案内 v1.1 と世界観を統一（グラデーション・流れる帯・ホバーリフト） */
.epf-root {
	--epf-ink: #1f2937;
	--epf-muted: #5b6472;
	--epf-line-green: #06c755;
	--epf-green: #14532d;
	--epf-green-light: #1e7a41;
	--epf-orange: #c2571b;
	--epf-orange-light: #e07f3a;
	--epf-burgundy: #7a2233;
	--epf-burgundy-light: #a83a4e;
	--epf-slate: #3f4c63;
	--epf-slate-light: #5b6c8c;
	--epf-gray: #6b7280;
	--epf-border: #e5e7eb;
	margin: 0;
	padding: 0;
	color: var(--epf-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;
}
.epf-root *, .epf-root *::before, .epf-root *::after { box-sizing: border-box; }
.epf-root .epf-wrap { max-width: 1080px; margin: 0 auto; padding: 28px 20px 64px; }

/* reveal on scroll */
.epf-root.epf-js .epf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.epf-root.epf-js .epf-reveal.epf-in { opacity: 1; transform: none; }
.epf-root.epf-js .epf-cards .epf-card:nth-child(2) { transition-delay: .1s; }
.epf-root.epf-js .epf-cards .epf-card:nth-child(3) { transition-delay: .2s; }
.epf-root.epf-js .epf-cards .epf-card:nth-child(5) { transition-delay: .1s; }
.epf-root.epf-js .epf-cards .epf-card:nth-child(6) { transition-delay: .2s; }

/* hero */
.epf-root .epf-hero {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 64px 28px 48px;
	border-radius: 26px;
	background: linear-gradient(120deg, rgba(20, 83, 45, .14), rgba(30, 122, 65, .07) 48%, rgba(194, 87, 27, .10));
	background-size: 220% 220%;
	animation: epf-hero-pan 14s ease-in-out infinite alternate;
	box-shadow: inset 0 0 0 1px rgba(20, 83, 45, .08);
}
@keyframes epf-hero-pan { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
.epf-root .epf-hero::before, .epf-root .epf-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.epf-root .epf-hero::before { width: 300px; height: 300px; top: -130px; left: -90px; background: rgba(30, 122, 65, .28); }
.epf-root .epf-hero::after { width: 280px; height: 280px; bottom: -140px; right: -80px; background: rgba(194, 87, 27, .22); }
.epf-root .epf-eyebrow { position: relative; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .35em; color: var(--epf-green); }
.epf-root .epf-eyebrow--dark { text-align: left; }
.epf-root .epf-h1 { position: relative; margin: 0 0 22px; font-size: clamp(30px, 5.8vw, 48px); font-weight: 900; line-height: 1.4; }
.epf-root .epf-h1-sub { color: var(--epf-green); font-size: .72em; }
.epf-root .epf-lead { position: relative; margin: 0 auto 16px; max-width: 760px; font-size: clamp(15px, 2.4vw, 17.5px); }
.epf-root .epf-chips { position: relative; list-style: none; margin: 14px 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.epf-root .epf-chips li { border: 1.5px solid var(--epf-green); color: var(--epf-green); border-radius: 999px; padding: 5px 16px; font-size: 14px; font-weight: 700; background: #fff; box-shadow: 0 3px 10px rgba(20, 83, 45, .10); }
.epf-root .epf-hero-cta { position: relative; margin: 0; }

/* ticker */
.epf-root .epf-ticker { margin: 26px 0 6px; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, var(--epf-green), var(--epf-green-light) 55%, var(--epf-orange)); padding: 9px 0; }
.epf-root .epf-ticker-track { display: flex; width: max-content; animation: epf-ticker-scroll 30s linear infinite; }
.epf-root .epf-ticker-track span { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; padding: 0 18px; position: relative; }
.epf-root .epf-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 epf-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

/* sections */
.epf-root .epf-section { padding: 52px 0 8px; }
.epf-root .epf-h2 { margin: 0 0 16px; font-size: clamp(22px, 3.6vw, 30px); font-weight: 900; text-align: center; position: relative; padding-bottom: 14px; }
.epf-root .epf-h2::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 68px; height: 4px; margin-left: -34px; border-radius: 999px; background: linear-gradient(90deg, var(--epf-green), var(--epf-orange), var(--epf-burgundy)); }
.epf-root .epf-h2--left { text-align: left; }
.epf-root .epf-h2--left::after { left: 0; margin-left: 0; }
.epf-root .epf-h3 { margin: 34px 0 16px; font-size: 19px; font-weight: 900; color: var(--epf-green); }
.epf-root .epf-sec-lead { margin: 0 auto 26px; max-width: 720px; text-align: center; font-size: 15.5px; }
.epf-root .epf-note { margin: 0 0 14px; font-size: 13.5px; color: var(--epf-muted); }
.epf-root .epf-cta-center { text-align: center; margin: 18px 0 0; }

/* work cards */
.epf-root .epf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 8px 0; }
.epf-root .epf-card { background: #fff; border: 1px solid var(--epf-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; }
.epf-root .epf-card:hover { transform: translateY(-8px); box-shadow: 0 18px 34px rgba(31, 41, 55, .14); }
.epf-root .epf-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; }
.epf-root .epf-band--green { background: linear-gradient(90deg, var(--epf-green), var(--epf-green-light)); }
.epf-root .epf-band--orange { background: linear-gradient(90deg, var(--epf-orange), var(--epf-orange-light)); }
.epf-root .epf-band--burgundy { background: linear-gradient(90deg, var(--epf-burgundy), var(--epf-burgundy-light)); }
.epf-root .epf-band--slate { background: linear-gradient(90deg, var(--epf-slate), var(--epf-slate-light)); }
.epf-root .epf-band--gray { background: linear-gradient(90deg, var(--epf-gray), #9ca3af); }
.epf-root .epf-motif { display: inline-flex; gap: 4px; flex: none; }
.epf-root .epf-motif i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: block; }
.epf-root .epf-motif i:nth-child(2) { transform: translateY(2px); }
.epf-root .epf-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.epf-root .epf-card-name { margin: 0 0 10px; font-size: 21px; font-weight: 900; line-height: 1.35; }
.epf-root .epf-card-copy { margin: 0 0 16px; font-size: 14.5px; flex: 1; }
.epf-root .epf-card-price { margin: 0 0 18px; padding: 9px 13px; background: #f8fafc; border: 1px dashed var(--epf-border); border-radius: 8px; font-size: 13.5px; font-weight: 700; }
.epf-root .epf-card-note { margin: auto 0 0; font-size: 13px; font-weight: 700; color: var(--epf-muted); }
.epf-root .epf-card-cta { margin: auto 0 0; }
.epf-root .epf-card-cta .epf-btn { width: 100%; text-align: center; }
.epf-root .epf-card--dev { opacity: .92; }

/* points */
.epf-root .epf-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.epf-root .epf-point { border: 1px solid var(--epf-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; }
.epf-root .epf-point:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(31, 41, 55, .10); }
.epf-root .epf-point h3 { margin: 0 0 10px; font-size: 17.5px; font-weight: 800; color: var(--epf-green); }
.epf-root .epf-point p { margin: 0; font-size: 14.5px; }

/* pricing panel */
.epf-root .epf-panel { margin-top: 48px; padding: 44px 30px 36px; background: #f4f9f5; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(20, 83, 45, .07); }
.epf-root .epf-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.epf-root .epf-price { background: #fff; border: 1px solid var(--epf-border); border-radius: 14px; padding: 24px 22px; box-shadow: 0 3px 12px rgba(31, 41, 55, .05); position: relative; }
.epf-root .epf-price--rec { border: 2px solid var(--epf-green); box-shadow: 0 10px 26px rgba(20, 83, 45, .13); }
.epf-root .epf-price-badge { margin: 0 0 12px; display: inline-block; background: var(--epf-orange); color: #fff; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 4px 12px; }
.epf-root .epf-price-name { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--epf-muted); letter-spacing: .08em; }
.epf-root .epf-price-amount { margin: 0 0 14px; font-size: 34px; font-weight: 900; color: var(--epf-green); line-height: 1.15; font-variant-numeric: tabular-nums; }
.epf-root .epf-price-unit { font-size: 15px; font-weight: 700; margin-left: 3px; }
.epf-root .epf-price-list { margin: 0; padding-left: 1.15em; font-size: 14px; }
.epf-root .epf-price-list li { margin-bottom: 5px; }
.epf-root .epf-scope { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.epf-root .epf-scope li { background: #fff; border: 1.5px solid rgba(20, 83, 45, .35); color: var(--epf-green); border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 700; }

/* term table */
.epf-root .epf-term-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); }
.epf-root .epf-term-table th, .epf-root .epf-term-table td { border: 1px solid var(--epf-border); padding: 13px 16px; text-align: left; }
.epf-root .epf-term-table th { font-weight: 700; background: #f8fafc; width: 62%; }
.epf-root .epf-term-table td { font-weight: 900; color: var(--epf-green); font-size: 16.5px; white-space: nowrap; }
.epf-root .epf-compare { margin: 6px 0 0; font-size: 14px; background: rgba(194, 87, 27, .07); border: 1px dashed rgba(194, 87, 27, .4); border-radius: 10px; padding: 14px 18px; }
.epf-root .epf-src { display: block; margin-top: 6px; font-size: 12px; color: var(--epf-muted); }

/* AI box */
.epf-root .epf-aibox { margin-top: 52px; border: 1.5px solid rgba(20, 83, 45, .35); border-radius: 22px; padding: 38px 34px; background: linear-gradient(135deg, rgba(20, 83, 45, .05), rgba(194, 87, 27, .05)); }
.epf-root .epf-ai-text { margin: 0 0 22px; font-size: 15px; max-width: 820px; }
.epf-root .epf-aibox .epf-card-cta .epf-btn { width: auto; }

/* closing */
.epf-root .epf-closing { padding: 56px 0 8px; }

/* footer */
.epf-root .epf-footer { margin-top: 52px; padding: 28px 6px 0; text-align: center; font-size: 14px; color: var(--epf-muted); position: relative; }
.epf-root .epf-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--epf-green), var(--epf-orange), var(--epf-burgundy)); }
.epf-root .epf-footer p { margin: 4px 0; }
.epf-root .epf-footer a { color: var(--epf-green); font-weight: 700; }

/* responsive */
@media (max-width: 860px) {
	.epf-root .epf-cards, .epf-root .epf-points, .epf-root .epf-prices { grid-template-columns: 1fr; }
	.epf-root .epf-hero { padding: 46px 18px 36px; }
	.epf-root .epf-panel { padding: 34px 18px 28px; }
	.epf-root .epf-aibox { padding: 28px 20px; }
	.epf-root .epf-term-table th { width: auto; }
	.epf-root .epf-term-table td { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.epf-root.epf-js .epf-reveal { opacity: 1; transform: none; transition: none; }
	.epf-root .epf-hero { animation: none; }
	.epf-root .epf-ticker-track { animation: none; }
	.epf-root .epf-card, .epf-root .epf-point, .epf-root .epf-btn { transition: none; }
	.epf-root .epf-card:hover, .epf-root .epf-point:hover, .epf-root .epf-btn:hover { transform: none; }
}
