/* 楠本アライアンス — 旧WordPressテーマ（Revolution）の見た目を再現したスタイル */

:root {
  --text: #535353;
  --heading: #343434;
  --black: #090909;
  --accent: #d30f1a;
  --accent-2: #d82b16;
  --line: #e5e5e5;
  --pale: #f9f9f9;
  --max: 1280px;
  --gutter: 35px;
  --header-h: 88px;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--text); background: #fefefe; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; }
a { color: var(--black); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }
main a:not(.btn) { text-decoration: underline; text-decoration-color: rgba(216, 43, 22, .35); text-underline-offset: 3px; }
main figure a, main .hoverbox a, main .recNav a, main .post-list a, main .site-map h3 a { text-decoration: none; }

h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 600; line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: 40px; font-weight: 500; line-height: 1.1; }
h2 { font-size: 34px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
/* ページの見出し（h1）を、旧サイトの h2・h3 と同じ見た目で出す */
h1.h2 { font-size: 34px; font-weight: 600; line-height: 1.3; }
h1.h3 { font-size: 26px; font-weight: 600; line-height: 1.3; }
h1.hero-title { margin: 0; text-align: center; }
h1.hero-title img { display: inline-block; }
@media (max-width: 1023px) {
  h1 { font-size: 32px; } h2, h1.h2 { font-size: 26px; } h3, h1.h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; }
}
.logo-h1 { margin: 0; font-size: inherit; line-height: 0; }
p, li, dd, td, th { font-size: 14px; line-height: 1.6; }
p { margin: 0 0 1.4em; }
ul, ol { margin: 0 0 1.4em 20px; padding-left: 25px; }
ul ul, ol ol { margin-bottom: 0; }
li { margin-bottom: 5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.6em; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; color: var(--heading); }
.table-scroll { overflow-x: auto; }
strong { color: var(--heading); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }

/* ---- ヘッダー ----------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: background .3s, box-shadow .3s; }
.site-header-inner { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { display: block; max-height: 48px; width: auto; }
.logo .logo-light { display: none; }
.site-header.scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, .08); }

.global-nav > ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.global-nav li { position: relative; margin: 0; font-size: 16px; }
.global-nav > ul > li > a, .global-nav > ul > li > .sub-toggle { display: block; padding: 20px 0; font: inherit; color: var(--black); line-height: 1; background: none; border: 0; cursor: pointer; position: relative; }
.global-nav > ul > li > a::before, .global-nav > ul > li > .sub-toggle::before { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.global-nav > ul > li:hover > a::before, .global-nav > ul > li:hover > .sub-toggle::before, .global-nav > ul > li.current > a::before, .global-nav > ul > li.current > .sub-toggle::before { transform: scaleX(1); }
.global-nav > ul > li.current > a, .global-nav > ul > li.current > .sub-toggle { color: var(--accent-2); }
.sub-toggle::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub-menu { list-style: none; margin: 0; padding: 30px 0; position: absolute; top: 100%; left: -30px; min-width: 260px; background: var(--black); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.global-nav li:hover > .sub-menu, .global-nav li:focus-within > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu li { font-size: 14px; }
.sub-menu a { display: block; padding: 6px 30px; color: #fff; font-weight: 500; line-height: 1.4; }
.sub-menu a:hover, .sub-menu a[aria-current] { color: var(--accent-2); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; height: 2px; background: var(--black); transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --gutter: 20px; --header-h: 72px; }
  .site-header-inner { padding: 14px var(--gutter); }
  .logo img { max-height: 40px; }
  .menu-toggle { display: flex; position: relative; z-index: 2; }
  .global-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--black); padding: 90px 30px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
  .menu-open .global-nav { transform: none; }
  .menu-open .menu-toggle span { background: #fff; }
  .global-nav > ul { flex-direction: column; gap: 0; }
  .global-nav > ul > li > a, .global-nav > ul > li > .sub-toggle { color: #fff; padding: 14px 0; width: 100%; text-align: left; font-size: 18px; }
  .global-nav > ul > li > a::before, .global-nav > ul > li > .sub-toggle::before { display: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 10px; min-width: 0; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .global-nav li:hover > .sub-menu { display: none; }
  .global-nav li:hover > .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .sub-menu a { padding: 8px 0 8px 14px; color: rgba(255, 255, 255, .8); }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 40; }
}

/* トップページ：動画の上に透明なヘッダーを重ねる */
.layout-home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.layout-home .site-header:not(.scrolled) .logo-dark { display: none; }
.layout-home .site-header:not(.scrolled) .logo-light { display: block; }
.layout-home .site-header:not(.scrolled) .global-nav > ul > li > a,
.layout-home .site-header:not(.scrolled) .global-nav > ul > li > .sub-toggle { color: #fff; }
.layout-home .site-header:not(.scrolled) .menu-toggle span { background: #fff; }
.layout-home .site-header.scrolled { background: #fff; }

/* ---- 本文の行・列 ------------------------------------------------------- */

.r { display: flex; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding-left: calc(var(--gutter) - 15px); padding-right: calc(var(--gutter) - 15px); background-repeat: no-repeat; }
.r.full { max-width: none; }
.r.full > .c { max-width: calc(var(--max) - 2 * var(--gutter) + 30px); margin-left: auto; margin-right: auto; }
.r.inner { padding: 0; margin: 0 -15px; max-width: none; }
.r.middle { align-items: center; }
.r.narrow { max-width: 860px; }
.c { flex: 0 0 100%; max-width: 100%; padding: 0 15px; min-width: 0; }
@media (min-width: 641px) {
  .m2 { flex-basis: 16.666%; max-width: 16.666%; } .m3 { flex-basis: 25%; max-width: 25%; } .m4 { flex-basis: 33.333%; max-width: 33.333%; }
  .m5 { flex-basis: 41.666%; max-width: 41.666%; } .m6 { flex-basis: 50%; max-width: 50%; } .m7 { flex-basis: 58.333%; max-width: 58.333%; }
  .m8 { flex-basis: 66.666%; max-width: 66.666%; } .m9 { flex-basis: 75%; max-width: 75%; } .m10 { flex-basis: 83.333%; max-width: 83.333%; }
}
@media (min-width: 1024px) {
  .l2 { flex-basis: 16.666%; max-width: 16.666%; } .l3 { flex-basis: 25%; max-width: 25%; } .l4 { flex-basis: 33.333%; max-width: 33.333%; }
  .l6 { flex-basis: 50%; max-width: 50%; } .l8 { flex-basis: 66.666%; max-width: 66.666%; } .l9 { flex-basis: 75%; max-width: 75%; }
}
@media (max-width: 640px) {
  .c[style*="padding-right"], .c[style*="padding-left"] { padding-left: 15px !important; padding-right: 15px !important; }
  .r[style*="padding-top: 1"] { padding-top: 60px !important; }
  .r[style*="padding-bottom: 1"] { padding-bottom: 60px !important; }
  .sp[style*="height:100px"], .sp[style*="height:80px"] { height: 40px !important; }
}
.c > :last-child { margin-bottom: 0; }
.sp { display: block; }
.thb-light-column, .thb-light-column h1, .thb-light-column h2, .thb-light-column h3, .thb-light-column h4, .thb-light-column h5, .thb-light-column h6, .thb-light-column p, .thb-light-column a { color: #fff; }

/* 画像 */
figure { margin: 0 0 1.4em; }
figure.img img { display: block; }
figure.center { text-align: center; }
figure.brand-mark { max-width: 560px; margin: 0 auto; }
figure.brand-mark img { width: 100%; }
figure.center img { display: inline-block; }
figure.shadow img { box-shadow: 0 5px 18px rgba(0, 0, 0, .2); }
figure.rounded img { border-radius: 4px; }
figure a img { transition: opacity .25s, transform .4s; }
figure a:hover img { opacity: .85; }
.alignleft { float: none; }
img.alignleft { float: left; margin: 0 20px 10px 0; }
img.alignright { float: right; margin: 0 0 10px 20px; }
img.aligncenter { display: block; margin: 0 auto 1.4em; }
.gallery { display: grid; gap: 10px; margin-bottom: 1.4em; }
.gallery figure { margin: 0; }
/* スライド（オフィス写真）：自動で切り替え、下のドットと左右の矢印で操作。スマホはスワイプ */
.slider-wrap { position: relative; margin-bottom: 1.4em; }
.gallery.slider { grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery.slider::-webkit-scrollbar { display: none; }
.gallery.slider figure { scroll-snap-align: center; text-align: center; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; transition: background .2s, transform .2s; }
.slider-dots button[aria-current="true"] { background: var(--accent-2); transform: scale(1.2); }
.slider-prev, .slider-next { position: absolute; top: calc(50% - 14px); transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; opacity: 0; transition: opacity .2s; }
.slider-prev { left: 12px; } .slider-next { right: 12px; }
.slider-prev::after, .slider-next::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 2px solid #333; border-right: 2px solid #333; }
.slider-prev::after { transform: translate(-35%, -50%) rotate(-135deg); }
.slider-next::after { transform: translate(-65%, -50%) rotate(45deg); }
.slider-wrap:hover .slider-prev, .slider-wrap:hover .slider-next, .slider-prev:focus-visible, .slider-next:focus-visible { opacity: 1; }
@media (hover: none) { .slider-prev, .slider-next { display: none; } }
.map iframe { width: 100%; height: 450px; border: 0; display: block; }
@media (max-width: 640px) { .map iframe { height: 300px; } }

/* トップの動画 */
.hero-video { position: relative; overflow: hidden; background: #050b1a; aspect-ratio: 16 / 9; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .hero-video { aspect-ratio: 4 / 3; } }

/* ---- テーマのカスタムクラス（旧サイトの追加CSS） ------------------------ */

.serif h1, .serif h2, .serif h3, .serif h4, .serif h5, .serif h6, .serif p { font-family: var(--serif) !important; }
.centering { text-align: center !important; }
.pageTitle h2, .pageTitle h1.h2 { font-size: clamp(22px, 2.6vw, 34px); }
.pageTitle h1, .pageTitle h2, .pageTitle h3 { margin: 0 0 30px; padding: 10px 20px; background: var(--pale); border-left: 5px solid var(--accent); letter-spacing: 2px; }
.problem h4 { margin: 0; padding: 10px 0; font-size: .9em; color: var(--accent); }
.problem ul { margin: 0 0 10px !important; }
.problem ul li { margin: 0 0 5px 25px !important; color: var(--accent) !important; }
.intro h3 { margin-top: 80px; padding: 12px 20px; color: #fff; background: var(--accent); }
.intro > .c > h3 { margin-bottom: 40px; }
.slide-heading h4 { line-height: 1.8; }
.historyBox { margin: 0 0 10px !important; padding: 0 0 10px !important; border-bottom: 1px dotted #ccc; }
.historyBox:last-child { border-bottom: 0; }
.historyBox h5, .historyBox p { margin: 0 !important; padding: 0 !important; }
.historyBox p img { padding: 10px 0 !important; }
.recNav dl { margin: 0; padding: 0; }
.recNav dt, .recNav dd { margin: 0; padding: 0; font-size: 16px; }
.recNav dt a, .recNav dd a { margin: 0 0 1px; padding: 12px 20px; display: block; color: var(--black); text-decoration: none; }
.recNav dt a { background: #e6e6e6; font-weight: 700; }
.recNav dd a { background: var(--pale); }
.recNav dt a:hover, .recNav dd a:hover, .recNav dd a[aria-current] { color: #fff; background: var(--accent); }
.recNav dd a .arrow { color: #a9a9a9; padding-right: 5px; }
.recNav dd a:hover .arrow, .recNav dd a[aria-current] .arrow { color: #fff; }
.aTable th, .aTable td { padding: 20px !important; border-bottom: 1px solid #ddd; }
.aTable th { background: #eee; }
.aTable td { background: #fff; }
.survey ul { margin: 0; padding: 20px 0; }
.survey ul li { margin: 0 0 20px 25px; padding: 0 0 20px; border-bottom: 1px dotted #ccc; }
.policy ul li, .policy ol li { font-size: .9em !important; }
.stable th, .stable td.td_a, .stable td.td_b { width: 20% !important; }
.ueshita { padding: 1rem 2rem; border-top: 3px solid #000; border-bottom: 3px solid #000; }
table.type01 { width: 100%; border-collapse: separate; border-spacing: 0; }
table.type01 th { text-align: center; color: #fff; background: linear-gradient(#829ebc, #225588); border: 1px solid #3c6690; border-right: 0; box-shadow: 0 1px 1px rgba(255, 255, 255, .3) inset; width: 25%; padding: 10px 0; }
table.type01 th:first-child { border-radius: 5px 0 0 0; }
table.type01 th:last-child { border-radius: 0 5px 0 0; border-right: 1px solid #3c6690; }
table.type01 td { text-align: left; border-left: 1px solid #a8b7c5; border-bottom: 1px solid #a8b7c5; box-shadow: 0 -3px 5px 1px #eee inset; width: 25%; padding: 10px 0; }
table.type01 td:last-child { border-right: 1px solid #a8b7c5; }
table.type01 tr:last-child td:first-child { border-radius: 0 0 0 5px; }
table.type01 tr:last-child td:last-child { border-radius: 0 0 5px 0; }

/* アイコン（旧 Font Awesome の angle-right） */
.arrow { display: inline-block; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); vertical-align: middle; margin-right: 4px; }

/* アコーディオン */
.accordion { margin-bottom: 1.4em; }
.accordion details { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 30px 22px 0; position: relative; font-size: 14px; font-weight: 500; color: var(--heading); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before, .accordion summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 1px; background: #999; transition: transform .25s; }
.accordion summary::after { transform: rotate(90deg); }
.accordion details[open] summary::after { transform: rotate(0); }
.accordion summary:hover { color: var(--accent-2); }
.details-body { padding: 0 0 20px; }

/* セパレーター（文字入り） */
.sep-text { display: flex; align-items: center; gap: 16px; margin: 20px 0; color: var(--heading); font-weight: 600; }
.sep-text::before, .sep-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ボタン */
.btn { display: inline-block; padding: 12px 34px; background: var(--accent-2); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .05em; border: 0; border-radius: 3px; cursor: pointer; text-decoration: none; transition: background .2s; }
.btn:hover { background: #c92814; color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }
.btn-wrap { margin: 10px 0; }
.btn-wrap.centering { text-align: left !important; }
.arrow-btn::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-1px) rotate(45deg); transition: transform .2s; }
.arrow-btn:hover::after { transform: translate(4px, -1px) rotate(45deg); }
figcaption { padding-top: 24px; }
figcaption h3 { font-size: 24px; margin-bottom: 12px; }
figcaption p { margin-bottom: 0; }

/* 固定ページの先頭（ヘッダー画像の無いページ）に余白 */
.layout-page main > .r:first-child:not(.full), .layout-page main > h1.visually-hidden + .r:not(.full) { margin-top: 60px; }
@media (max-width: 640px) { .layout-page main > .r:first-child:not(.full), .layout-page main > h1.visually-hidden + .r:not(.full) { margin-top: 30px; } }

/* 関連団体のカード（表に名前、マウスを乗せると説明） */
.hoverbox { position: relative; border-radius: 10px; overflow: hidden; min-height: 300px; margin-bottom: 30px; }
.hoverbox-front, .hoverbox-back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; transition: opacity .4s; }
.hoverbox-front { background-size: cover; background-position: center; }
.hoverbox-front h2, .hoverbox-back h2 { font-size: 24px; color: #fff; }
.hoverbox-front h2 { text-shadow: 0 0 6px #000; }
.hoverbox-back { background: #2a2a2a; opacity: 0; }
.hoverbox-back p { color: #999; }
.hoverbox:hover .hoverbox-back, .hoverbox:focus-within .hoverbox-back { opacity: 1; }
.hoverbox .btn { background: #ebebeb; color: #666; }
.hoverbox .btn:hover { background: #dadada; color: #333; }
@media (hover: none) { .hoverbox { min-height: 0; } .hoverbox-front, .hoverbox-back { position: relative; opacity: 1; } .hoverbox-front { min-height: 180px; } }

/* 投稿一覧（業務内容トップ） */
.post-list { list-style: none; margin: 0 0 2em; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-list li { margin: 0; }
.post-list a { display: block; height: 100%; padding: 24px; background: #fff; border: 1px solid var(--line); color: var(--heading); transition: border-color .2s, box-shadow .2s; }
.post-list a:hover { border-color: var(--accent-2); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.post-list strong { display: block; font-size: 16px; margin-bottom: 8px; }
.post-list span { display: block; font-size: 13px; color: var(--text); }

/* ---- 投稿（業務の詳細ページ） ------------------------------------------- */

.post-layout { max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter) 60px; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 60px; align-items: start; }
.post-body .r { padding: 0; margin: 0 -15px; max-width: none; }
.post-body p, .post-body li { font-size: 14px; line-height: 1.8; }
.post-header { margin-bottom: 30px; }
.post-category { font-size: 12px; font-weight: 500; margin: 0 0 15px; }
.post-category a { color: var(--heading); text-decoration: none; }
.post-header h1 { margin: 0; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 1023px) {
  .post-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .sidebar { position: static; }
}

/* ---- お問い合わせフォーム ----------------------------------------------- */

.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
.contact-form .req { color: var(--accent); margin-left: 2px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--heading); background: #fff; border: 1px solid #ddd; border-radius: 3px; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-2); }
.contact-form [aria-invalid="true"] { border-color: var(--accent); }
.contact-form .hp { position: absolute; left: -9999px; }
.policy-note { font-size: 13px; }
.form-status { font-size: 14px; font-weight: 600; }
.form-status.ok { color: #1f7a3a; }
.form-status.error { color: var(--accent); }

/* サイトマップ */
.site-map { padding-bottom: 60px; }
.site-map h3 { font-size: 18px; margin-top: 1.4em; }

/* ---- フッター ----------------------------------------------------------- */

.site-footer { background: var(--black); color: rgba(255, 255, 255, .8); padding: 100px var(--gutter) 80px; }
.footer-logo { max-width: var(--max); margin: 0 auto 60px; text-align: center; }
.footer-logo img { max-height: 80px; width: auto; display: inline-block; }
.footer-menus { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h2 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 38px; line-height: 1; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 20px; font-size: 14px; }
.footer-col li ul { margin: 12px 0 0 14px; }
.footer-col li li { margin-bottom: 10px; }
.footer-col a { color: #fff; font-size: 14px; }
.footer-col a:hover { color: var(--accent-2); }
.copyright { max-width: var(--max); margin: 40px auto 0; font-size: 14px; color: #fff; }
@media (max-width: 1023px) { .footer-menus { grid-template-columns: repeat(2, 1fr); } .site-footer { padding-top: 60px; } }
@media (max-width: 640px) { .footer-menus { grid-template-columns: 1fr; } .footer-col h2 { margin-bottom: 20px; } }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; background: #333; opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 30; }
.to-top::after { content: ""; position: absolute; left: 50%; top: 55%; width: 8px; height: 8px; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent-2); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
