/* UNIONGATE WP – Manus版の配色を維持（ヘッダー #07966E／フッター #087F61／ヒーロー #0B2928） */
:root {
	--ug-header: #07966E;
	--ug-footer: #087F61;
	--ug-hero: #0B2928;
	--ug-em-50: #ecfdf5; --ug-em-100: #d1fae5; --ug-em-200: #a7f3d0; --ug-em-300: #6ee7b7; --ug-em-400: #34d399;
	--ug-em-500: #10b981; --ug-em-600: #059669; --ug-em-700: #047857; --ug-em-800: #065f46;
	--ug-sky-50: #f0f9ff; --ug-sky-200: #bae6fd; --ug-sky-600: #0284c7; --ug-sky-800: #075985;
	--ug-ink: #0f172a; --ug-text: #334155; --ug-muted: #475569; --ug-line: #e2e8f0; --ug-soft: #f8fafc; --ug-bg-alt: #f8fafc;
	--ug-radius: 16px;
	--ug-font: Meiryo, 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	--ug-font-head: 'Sawarabi Gothic', Meiryo, 'Hiragino Kaku Gothic ProN', sans-serif;
	--ug-font-brand: 'Audiowide', 'Sawarabi Gothic', sans-serif;
}
.lang-ko { --ug-font: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif; --ug-font-head: 'Noto Sans KR', 'Malgun Gothic', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--ug-font); color: var(--ug-ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased; font-synthesis: none; }
img { max-width: 100%; height: auto; }
a { color: var(--ug-em-700); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.ugt-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.ugt-skip:focus { left: 8px; top: 8px; }
.ugt-container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .ugt-container { padding: 0 24px; } }
@media (min-width: 768px) { .ugt-container { padding: 0 32px; } }
.ugt-container--narrow { max-width: 860px; }
.ugt-section { padding-top: 40px; padding-bottom: 64px; }

/* ヘッダー */
.ugt-header { position: sticky; top: 0; z-index: 50; background: var(--ug-header); border-bottom: 1px solid rgba(255,255,255,.2); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.admin-bar .ugt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ugt-header { top: 0; } }
.ugt-header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.ugt-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ugt-logo:hover { opacity: .85; }
.ugt-logo__img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.ugt-logo__img--custom { filter: none; }
.ugt-nav { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: space-between; }
.ugt-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ugt-nav__list li { position: relative; list-style: none; }
.ugt-nav__link, .ugt-nav__list--wp > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; border-radius: 8px; }
.ugt-nav__link:hover, .ugt-nav__list--wp > li > a:hover { background: rgba(255,255,255,.12); }
.ugt-nav__sub, .ugt-nav__list--wp .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; margin: 6px 0 0; padding: 8px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(15,23,42,.18); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s ease; z-index: 60; }
.ugt-nav__item--has-sub:hover .ugt-nav__sub, .ugt-nav__item--has-sub:focus-within .ugt-nav__sub, .ugt-nav__item--has-sub.is-open .ugt-nav__sub,
.ugt-nav__list--wp li:hover > .sub-menu, .ugt-nav__list--wp li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ugt-nav__sub a, .ugt-nav__list--wp .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ug-ink); font-size: 14px; text-decoration: none; }
.ugt-nav__sub a:hover, .ugt-nav__list--wp .sub-menu a:hover { background: var(--ug-em-50); color: var(--ug-em-800); }
.ugt-nav__actions { display: flex; align-items: center; gap: 6px; }
.ugt-btn-join { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px; background: var(--ug-em-500); border: 1px solid rgba(167,243,208,.55); color: #fff; font-weight: 800; font-size: 13px; text-decoration: none; white-space: nowrap; }
.ugt-btn-join:hover { background: var(--ug-em-400); }
.ugt-lang { display: inline-flex; margin-left: 6px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; overflow: hidden; }
.ugt-lang__item { padding: 4px 10px; font-size: 12px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .04em; }
.ugt-lang__item.is-current { background: #fff; color: var(--ug-header); }
.ugt-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; background: transparent; cursor: pointer; padding: 10px 9px; }
.ugt-burger span:not(.screen-reader-text) { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: .2s; }
@media (max-width: 1023px) {
	.ugt-burger { display: block; }
	.ugt-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ug-header); padding: 12px 16px 20px; max-height: calc(100vh - 64px); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; box-shadow: 0 18px 30px rgba(0,0,0,.2); }
	.admin-bar .ugt-nav { inset: 110px 0 auto 0; }
	.ugt-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.ugt-nav__list { flex-direction: column; align-items: stretch; }
	.ugt-nav__link, .ugt-nav__list--wp > li > a { width: 100%; padding: 12px 8px; font-size: 15px; }
	.ugt-nav__sub, .ugt-nav__list--wp .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.08); margin: 0 0 6px; display: none; }
	.ugt-nav__item--has-sub.is-open .ugt-nav__sub, .ugt-nav__list--wp li.is-open > .sub-menu { display: block; }
	.ugt-nav__sub a, .ugt-nav__list--wp .sub-menu a { color: #fff; }
	.ugt-nav__sub a:hover { background: rgba(255,255,255,.12); color: #fff; }
	.ugt-nav__actions { flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }
	.ugt-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.ugt-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.ugt-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ボタン・共通パーツ */
.ugt-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; transition: .15s ease; }
.ugt-button .ug-icon { width: 18px; height: 18px; }
.ugt-button--primary { background: var(--ug-em-500); color: #fff; box-shadow: 0 10px 22px rgba(2,6,23,.35); outline: 2px solid rgba(167,243,208,.75); }
.ugt-button--primary:hover { background: var(--ug-em-400); color: #fff; }
.ugt-button--white { background: #fff; color: var(--ug-em-800); box-shadow: 0 10px 22px rgba(2,6,23,.2); }
.ugt-button--white:hover { background: var(--ug-em-50); }
.ugt-button--ghost { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.05); color: #fff; font-weight: 600; }
.ugt-button--ghost:hover { background: rgba(255,255,255,.15); }
.ugt-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ug-em-700); }
.ugt-eyebrow--light { color: var(--ug-em-300); }
.ugt-section-head { margin-bottom: 26px; }
.ugt-section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ugt-section-title { margin: 8px 0 0; font-family: var(--ug-font-head); font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; line-height: 1.3; color: var(--ug-ink); }
.ugt-section-lead { margin: 12px 0 0; max-width: 760px; font-size: 15px; line-height: 1.8; color: var(--ug-muted); }
.ugt-more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--ug-em-700); text-decoration: none; white-space: nowrap; }
.ugt-more:hover { color: var(--ug-em-800); text-decoration: underline; }
.ugt-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.ugt-pill--kind { background: var(--ug-em-50); color: var(--ug-em-800); border: 1px solid var(--ug-em-200); }
.ugt-opp--procurement .ugt-pill--kind { background: var(--ug-sky-50); color: var(--ug-sky-800); border-color: var(--ug-sky-200); }
.ugt-pill--region { background: #fff; color: var(--ug-text); border: 1px solid var(--ug-line); }
.ugt-pill--closed { background: #f1f5f9; color: #64748b; }
.ugt-pill--select { background: var(--ug-em-600); color: #fff; }
.ugt-pill--news { background: var(--ug-em-100); color: var(--ug-em-800); }
.ugt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ugt-chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ug-line); background: #fff; color: var(--ug-text); font-size: 12px; font-weight: 700; }
.ugt-chip--green { border-color: var(--ug-em-200); background: var(--ug-em-50); color: var(--ug-em-800); }
.ugt-chip--sky { border-color: var(--ug-sky-200); background: var(--ug-sky-50); color: var(--ug-sky-800); }
.ugt-chip--inline { margin: 0; }
.ugt-grid { display: grid; gap: 18px; }
.ugt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .ugt-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ugt-grid--3 { grid-template-columns: 1fr; } }
.ugt-empty { padding: 24px; border-radius: 14px; background: #fff; border: 1px dashed #cbd5e1; color: var(--ug-muted); text-align: center; }
.ugt-note { font-size: 13px; color: var(--ug-muted); }

/* ヒーロー */
.ugt-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ug-hero); color: #fff; border-bottom: 1px solid #1e293b; }
.ugt-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: saturate(.5); z-index: -2; }
.ugt-hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 72% 22%, rgba(52,211,153,.22), transparent 32%), linear-gradient(110deg, rgba(8,31,34,.98), rgba(11,41,40,.92) 52%, rgba(22,59,55,.74)); }
.ugt-hero__inner { padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 768px) { .ugt-hero__inner { padding-top: 80px; padding-bottom: 88px; } }
.ugt-hero__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(52,211,153,.35); background: rgba(52,211,153,.1); color: #d1fae5; font-size: 14px; font-weight: 600; }
.ugt-hero__badge .ug-icon { color: var(--ug-em-300); }
.ugt-hero__title { margin: 0 0 20px; max-width: 780px; font-family: var(--ug-font-head); font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.ugt-hero__since { display: block; margin-top: 12px; font-family: var(--ug-font-brand); font-size: 12px; font-weight: 900; letter-spacing: .22em; color: var(--ug-em-200); }
.ugt-hero__brand { display: block; padding-top: 8px; font-family: var(--ug-font-brand); font-size: clamp(38px, 12vw, 56px); letter-spacing: .035em; color: var(--ug-em-300); white-space: nowrap; font-weight: 400; }
.ugt-hero__lead { max-width: 680px; margin: 0 0 26px; font-size: 16px; line-height: 1.9; color: #e2e8f0; }
@media (min-width: 768px) { .ugt-hero__lead { font-size: 17px; } }
.ugt-hero__checks { display: grid; gap: 8px 24px; margin: 0 0 32px; padding: 0; list-style: none; max-width: 680px; }
@media (min-width: 640px) { .ugt-hero__checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ugt-hero__checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #e2e8f0; }
.ugt-hero__checks .ug-icon { color: var(--ug-em-400); flex: 0 0 auto; }
.ugt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .ugt-hero__actions .ugt-button { width: 100%; } }

/* 相談窓口 */
.ugt-desk { position: relative; padding: 56px 0 64px; background:
	radial-gradient(circle at 12% 6%, rgba(167,243,208,.38), transparent 26%),
	radial-gradient(circle at 92% 20%, rgba(186,230,253,.42), transparent 24%),
	linear-gradient(180deg, #fbfffd 0%, #f3fbf7 100%); border-bottom: 1px solid var(--ug-em-100); }
.ugt-desk .ugt-section-lead { max-width: 900px; }

/* 新着情報 */
.ugt-news { background: #fff; padding: 44px 0; }
.ugt-news__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ugt-news__title { margin: 0; font-family: var(--ug-font-head); font-size: 22px; }
.ugt-news__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ug-line); }
.ugt-news__list li { border-bottom: 1px solid var(--ug-line); }
.ugt-news__list a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 4px; color: var(--ug-ink); text-decoration: none; }
.ugt-news__list a:hover .ugt-news__text { color: var(--ug-em-700); text-decoration: underline; }
.ugt-news__list time { font-size: 13px; color: var(--ug-muted); min-width: 80px; }
.ugt-news__text { font-weight: 700; }

/* 進行案件 */
.ugt-opps { background: var(--ug-bg-alt); padding: 56px 0 64px; scroll-margin-top: 70px; }
.ugt-opps > .ugt-container > .ugt-section-head { padding-bottom: 26px; border-bottom: 1px solid var(--ug-line); }
.ugt-opps__block { margin-top: 34px; }
.ugt-opps__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ugt-opps__title { margin: 0; font-family: var(--ug-font-head); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; }
.ugt-opps__lead { margin: 6px 0 0; max-width: 780px; font-size: 14px; color: var(--ug-muted); line-height: 1.8; }
.ugt-opp { background: #fff; border: 1px solid var(--ug-line); border-radius: var(--ug-radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ugt-opp:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(15,23,42,.12); border-color: var(--ug-em-200); }
.ugt-opp.is-closed { opacity: .72; }
.ugt-opp__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ugt-opp__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ug-soft); }
.ugt-opp__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ugt-opp:hover .ugt-opp__thumb img { transform: scale(1.04); }
.ugt-opp__body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.ugt-opp__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ugt-opp__title { font-size: 15px; font-weight: 800; line-height: 1.55; color: var(--ug-ink); min-height: 3.1em; }
.ugt-opp__cat { font-size: 12.5px; color: var(--ug-muted); }
.ugt-opp__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid #f1f5f9; font-size: 12.5px; }
.ugt-opp__by { font-weight: 800; color: var(--ug-em-700); letter-spacing: .02em; }
.ugt-opp__more { font-weight: 800; color: var(--ug-ink); }

/* 相談事例 */
.ugt-cases { background: #fff; padding: 56px 0 64px; }
.ugt-case { background: #fff; border: 1px solid var(--ug-line); border-radius: var(--ug-radius); transition: .18s ease; }
.ugt-case:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(15,23,42,.10); border-color: var(--ug-em-200); }
.ugt-case__link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px; color: inherit; text-decoration: none; }
.ugt-case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ug-muted); }
.ugt-case__cat { font-weight: 800; color: var(--ug-em-700); }
.ugt-case__title { font-size: 16px; font-weight: 800; line-height: 1.5; color: var(--ug-ink); }
.ugt-case__text { font-size: 13.5px; line-height: 1.75; color: var(--ug-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ugt-case__more { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--ug-ink); }

/* 記事 */
.ugt-articles { background: var(--ug-bg-alt); padding: 56px 0 72px; }
.ugt-post { background: #fff; border: 1px solid var(--ug-line); border-radius: var(--ug-radius); overflow: hidden; transition: .18s ease; }
.ugt-post:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(15,23,42,.10); }
.ugt-post__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ugt-post__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--ug-hero), var(--ug-em-700)); }
.ugt-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ugt-post__noimg { display: flex; height: 100%; align-items: center; justify-content: center; font-family: var(--ug-font-brand); font-size: 22px; color: rgba(255,255,255,.75); letter-spacing: .06em; }
.ugt-post__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.ugt-post__meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ug-muted); }
.ugt-post__cat { font-weight: 800; color: var(--ug-em-700); }
.ugt-post__title { font-size: 16px; font-weight: 800; line-height: 1.55; color: var(--ug-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ugt-post__excerpt { font-size: 13.5px; line-height: 1.75; color: var(--ug-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ugt-post__more { margin-top: auto; font-size: 13.5px; font-weight: 800; color: var(--ug-em-700); }

/* 下層ページ */
.ugt-pagehero { position: relative; background: var(--ug-hero); color: #fff; padding: 44px 0 40px; background-image: radial-gradient(circle at 80% 10%, rgba(52,211,153,.22), transparent 35%), linear-gradient(110deg, rgba(8,31,34,.98), rgba(11,41,40,.92) 60%, rgba(22,59,55,.85)); }
.ugt-pagehero__title { margin: 8px 0 0; font-family: var(--ug-font-head); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.3; }
.ugt-pagehero__lead { margin: 12px 0 0; max-width: 780px; color: #cbd5e1; font-size: 15px; line-height: 1.8; }
.ugt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ugt-tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--ug-line); background: #fff; color: var(--ug-text); font-size: 14px; font-weight: 700; text-decoration: none; }
.ugt-tab:hover { border-color: var(--ug-em-300); }
.ugt-tab.is-active { background: var(--ug-em-600); border-color: var(--ug-em-600); color: #fff; }
.ugt-article { padding: 32px 0 72px; }
.ugt-back { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 700; text-decoration: none; }
.ugt-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--ug-muted); }
.ugt-article__title { margin: 14px 0 0; font-family: var(--ug-font-head); font-size: clamp(24px, 3.6vw, 36px); line-height: 1.35; }
.ugt-article__thumb { margin: 28px 0 0; }
.ugt-article__thumb img { width: 100%; border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; }
.ugt-spec { width: 100%; margin: 28px 0 0; border-collapse: collapse; background: #fff; border: 1px solid var(--ug-line); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.ugt-spec th, .ugt-spec td { padding: 12px 16px; border-bottom: 1px solid var(--ug-line); text-align: left; vertical-align: top; }
.ugt-spec th { width: 34%; background: var(--ug-soft); color: var(--ug-muted); font-weight: 700; }
.ugt-content { margin-top: 30px; font-size: 16px; line-height: 2; color: var(--ug-text); overflow-wrap: anywhere; }
.ugt-content > *:first-child { margin-top: 0; }
.ugt-content h2 { margin: 44px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ug-em-100); font-family: var(--ug-font-head); font-size: 24px; line-height: 1.45; color: var(--ug-ink); }
.ugt-content h3 { margin: 30px 0 10px; font-size: 19px; line-height: 1.5; color: var(--ug-ink); }
.ugt-content a { font-weight: 700; }
.ugt-content img { border-radius: 12px; }
.ugt-content ul, .ugt-content ol { padding-left: 1.6em; }
.ugt-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ugt-content th, .ugt-content td { border: 1px solid var(--ug-line); padding: 10px 14px; text-align: left; vertical-align: top; }
.ugt-content th { background: var(--ug-soft); width: 30%; }
.ugt-content .wp-block-button__link { background: var(--ug-em-600); color: #fff; border-radius: 10px; font-weight: 800; padding: 12px 22px; text-decoration: none; }
.ugt-content iframe { max-width: 100%; }
.ugt-content .ug-consult { margin-top: 10px; }
.ugt-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding: 26px 28px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 85% 0%, rgba(52,211,153,.25), transparent 40%), var(--ug-hero); }
.ugt-cta__title { margin: 6px 0 4px; font-family: var(--ug-font-head); font-size: 20px; font-weight: 700; }
.ugt-cta__text { margin: 0; color: #cbd5e1; font-size: 14px; }
.ugt-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 34px 0 0; padding: 0; list-style: none; }
.ugt-pagination a, .ugt-pagination span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ug-line); background: #fff; text-decoration: none; font-weight: 700; color: var(--ug-ink); }
.ugt-pagination .current { background: var(--ug-em-600); border-color: var(--ug-em-600); color: #fff; }

/* フッター */
.ugt-footer { background: var(--ug-footer); color: #fff; margin-top: 0; }
.ugt-footer a { color: #fff; text-decoration: none; }
.ugt-footer a:hover { text-decoration: underline; }
.ugt-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .ugt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ugt-footer__grid { grid-template-columns: 1fr; } }
.ugt-footer__logo { margin: 0 0 8px; font-family: var(--ug-font-brand); font-size: 22px; letter-spacing: .04em; }
.ugt-footer p { margin: 0 0 8px; font-size: 14px; }
.ugt-footer__small { font-size: 13px !important; color: rgba(255,255,255,.85); }
.ugt-footer__head { font-weight: 800; font-size: 15px !important; margin-bottom: 10px !important; }
.ugt-footer ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; }
.ugt-footer li { margin: 0 0 6px; }
.ugt-footer__bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0; text-align: center; font-size: 13px; }
.ugt-footer__bottom p { margin: 2px 0; font-size: 13px; }
.ugt-footer__since { font-family: var(--ug-font-brand); letter-spacing: .08em; font-size: 11px !important; color: rgba(255,255,255,.75); }

/* ===== ブロックテーマ（パターン編集）用 ===== */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0; }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 0; } }
.ugt-header, .admin-bar .ugt-header { position: relative; top: auto; }
.ugt-main { margin: 0; }
.ugt-front .ugt-front__content > * { margin-block: 0 !important; }
body .ugt-container > * { margin-block-start: 0; }
.ugt-anchor { position: relative; top: -80px; height: 0; margin: 0 !important; }

/* ヒーロー（カバーブロック） */
body .ugt-hero.wp-block-cover { min-height: 0; padding: 0; display: block; background: var(--ug-hero); color: #fff; border-bottom: 1px solid #1e293b; }
body .ugt-hero .wp-block-cover__background { background-image: radial-gradient(circle at 72% 22%, rgba(52,211,153,.22), transparent 32%), linear-gradient(110deg, rgba(8,31,34,.98), rgba(11,41,40,.92) 52%, rgba(22,59,55,.74)); }
body .ugt-hero .wp-block-cover__inner-container { width: 100%; max-width: none; color: #fff; }
body .ugt-hero__inner { padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 768px) { body .ugt-hero__inner { padding-top: 80px; padding-bottom: 88px; } }
body .ugt-hero__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(52,211,153,.35); background: rgba(52,211,153,.1); color: #d1fae5; font-size: 14px; font-weight: 600; }
body .ugt-hero__badge::before { content: "✦"; color: var(--ug-em-300); }
body .ugt-hero__title { margin: 0; max-width: 780px; font-family: var(--ug-font-head); font-size: clamp(26px, 4vw, 38px); font-weight: 700; line-height: 1.2; color: #fff; }
body .ugt-hero__since { margin: 12px 0 0; font-family: var(--ug-font-brand); font-size: 12px; font-weight: 900; letter-spacing: .22em; color: var(--ug-em-200); }
body .ugt-hero__brand { margin: 0 0 20px; padding-top: 4px; font-family: var(--ug-font-brand); font-size: clamp(38px, 12vw, 56px); line-height: 1.15; letter-spacing: .035em; color: var(--ug-em-300); white-space: nowrap; }
body .ugt-hero__lead { max-width: 680px; margin: 0 0 26px; font-size: 16px; line-height: 1.9; color: #e2e8f0; }
@media (min-width: 768px) { body .ugt-hero__lead { font-size: 17px; } }
body .ugt-hero__checks { display: grid; gap: 8px 24px; margin: 0 0 32px; padding: 0; list-style: none; max-width: 680px; }
@media (min-width: 640px) { body .ugt-hero__checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body .ugt-hero__checks li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: #e2e8f0; }
body .ugt-hero__checks li::before { content: ""; flex: 0 0 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ug-em-400); background: radial-gradient(circle, var(--ug-em-400) 30%, transparent 34%); }
body .ugt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
body .ugt-hero__actions .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; }
body .ugt-btn-primary .wp-block-button__link { background: var(--ug-em-500); color: #fff; box-shadow: 0 10px 22px rgba(2,6,23,.35); outline: 2px solid rgba(167,243,208,.75); }
body .ugt-btn-primary .wp-block-button__link:hover { background: var(--ug-em-400); }
body .ugt-btn-white .wp-block-button__link { background: #fff; color: var(--ug-em-800); }
body .ugt-btn-white .wp-block-button__link:hover { background: var(--ug-em-50); }
body .ugt-btn-ghost .wp-block-button__link { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.05); color: #fff; font-weight: 600; }
body .ugt-btn-ghost .wp-block-button__link:hover { background: rgba(255,255,255,.15); }
@media (max-width: 600px) { body .ugt-hero__actions .wp-block-button { width: 100%; } body .ugt-hero__actions .wp-block-button__link { width: 100%; } }

/* セクション（グループブロック） */
body .ugt-desk, body .ugt-opps, body .ugt-cases, body .ugt-articles { padding: 56px 0 64px; }
body .ugt-news { padding: 44px 0; }
body .ugt-eyebrow { margin: 0; }
body .ugt-section-title { margin: 8px 0 0; }
body .ugt-section-lead { margin: 12px 0 26px; }
body .ugt-section-lead--line { padding-bottom: 26px; border-bottom: 1px solid var(--ug-line); max-width: none; }
body .ugt-opps__title { margin: 34px 0 0; }
body .ugt-opps__lead { margin: 6px 0 16px; }
body .ugt-news__title { margin: 0 0 14px; }
body .ugt-articles .ugt-eyebrow { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ug-em-200); background: var(--ug-em-50); color: var(--ug-em-800); letter-spacing: .04em; }
.ugt-more-row { display: flex; justify-content: flex-end; margin: 14px 0 0; }
body .ugt-grid { margin: 0; }
body .ug-consult { margin-top: 6px; }

/* ブロック編集画面のプレビュー */
.ugt-block-preview { position: relative; outline: 1px dashed #a7f3d0; outline-offset: 4px; }
.ugt-block-label { position: absolute; top: -26px; left: 0; z-index: 2; padding: 2px 8px; border-radius: 6px; background: #059669; color: #fff; font-size: 11px; font-weight: 700; }
