@charset "utf-8";
/* =====================================================================
   ggaircon 모바일 공통 : 헤더 / 전체메뉴 / 서브 상단 / 푸터 / 상담바 / 게시판 공통 보정
   - mobile/head.php 에서만 로드 (PC 화면 영향 없음)
   - 클래스 gg-m* 접두어. 그누보드 mobile.css 위에 덮어씀
   ===================================================================== */
:root {
    --gg-blue:#3574e8; --gg-blue2:#3b76ea; --gg-navy:#0a2b7c; --gg-red:#ea1c0f; --gg-sky:#e9f1fd;
    --gg-ink:#1f2329; --gg-sub:#5f6670; --gg-line:#e5e8ed; --gg-bg:#f3f5f8;
    --gg-gutter:16px; --gg-hd-h:60px; --gg-qb-h:62px;
    --gg-safe-b:env(safe-area-inset-bottom, 0px);
}
.gg-mhd, .gg-mnav, .gg-mwrap, .gg-mmain, .gg-mft, .gg-mquick, .gg-mtop {font-family:'SUIT Variable', SUIT, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;color:var(--gg-ink);word-break:keep-all;-webkit-text-size-adjust:100%}
.gg-mhd *, .gg-mnav *, .gg-mmain *, .gg-mwrap .gg-msub-title *, .gg-mft *, .gg-mquick * {letter-spacing:-0.03em}
:where(.gg-mhd, .gg-mnav, .gg-mmain, .gg-mwrap, .gg-mft) h1, :where(.gg-mhd, .gg-mnav, .gg-mmain, .gg-mwrap, .gg-mft) h2, :where(.gg-mhd, .gg-mnav, .gg-mmain, .gg-mwrap, .gg-mft) h3 {font-family:inherit}
body {background:#fff;overflow-x:hidden}
.gg-mmain img, .gg-mwrap img {max-width:100%}
.gg-mhd a:focus-visible, .gg-mnav a:focus-visible, .gg-mnav button:focus-visible, .gg-mmain a:focus-visible, .gg-mmain button:focus-visible, .gg-mft a:focus-visible, .gg-mquick a:focus-visible, .gg-mtop:focus-visible, .gg-mhd button:focus-visible {outline:3px solid #ffb400;outline-offset:2px}
.gg-mfont-gm {font-family:'GmarketSans', 'SUIT Variable', SUIT, sans-serif}

/* ── 헤더 ─────────────────────────────────────────────── */
.gg-mhd {position:sticky;top:0;z-index:900;background:#fff;transition:box-shadow .2s}
.gg-mhd.is-scrolled {box-shadow:0 2px 12px rgba(15,35,80,.10)}
.gg-mhd-in {display:flex;align-items:center;gap:8px;max-width:768px;height:var(--gg-hd-h);margin:0 auto;padding:0 6px 0 var(--gg-gutter)}
.gg-mhd-logo {flex:0 0 auto;display:block}
.gg-mhd-logo img {display:block;width:auto;height:clamp(32px, 10.5vw, 42px)}
.gg-mhd-tel {flex:1 1 auto;min-width:0;font-family:'GmarketSans', 'SUIT Variable', sans-serif;font-size:clamp(15px, 5.1vw, 22px);font-weight:700;letter-spacing:-0.04em;color:var(--gg-blue);text-align:right;white-space:nowrap}
.gg-mhd-menu {flex:0 0 44px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent}
.gg-mhd-menu img {display:block;width:26px;height:auto}
.gg-mhd-menu:active {background:var(--gg-bg)}

/* ── 전체메뉴 (우측 슬라이드) ─────────────────────────────── */
.gg-mnav {position:fixed;inset:0;z-index:1000;visibility:hidden;pointer-events:none}
.gg-mnav.is-open {visibility:visible;pointer-events:auto}
.gg-mnav-dim {position:absolute;inset:0;background:rgba(10,20,40,.55);opacity:0;transition:opacity .3s ease}
.gg-mnav.is-open .gg-mnav-dim {opacity:1}
.gg-mnav-panel {position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;width:min(88vw, 380px);background:#fff;box-shadow:-8px 0 30px rgba(0,0,0,.18);transform:translateX(102%);transition:transform .32s cubic-bezier(.2,.8,.2,1);outline:0}
.gg-mnav.is-open .gg-mnav-panel {transform:none}
.gg-mnav-head {flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;height:var(--gg-hd-h);padding:0 6px 0 20px;border-bottom:1px solid var(--gg-line)}
.gg-mnav-logo img {display:block;width:auto;height:34px}
.gg-mnav-close {position:relative;width:48px;height:48px;padding:0;border:0;background:transparent}
.gg-mnav-close:before, .gg-mnav-close:after {content:"";position:absolute;top:50%;left:50%;width:22px;height:2px;margin:-1px 0 0 -11px;border-radius:2px;background:var(--gg-ink)}
.gg-mnav-close:before {transform:rotate(45deg)}
.gg-mnav-close:after {transform:rotate(-45deg)}
.gg-mnav-body {flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:0 0 calc(24px + var(--gg-safe-b))}
.gg-mnav-member {padding:20px 20px 16px;background:linear-gradient(135deg, #f2f7ff 0%, #e6efff 100%)}
.gg-mnav-hello {margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--gg-sub)}
.gg-mnav-hello strong {color:var(--gg-navy);font-size:16px}
.gg-mnav-mbtn {display:flex;flex-wrap:wrap;gap:8px}
.gg-mnav-mbtn li {flex:1 1 0;min-width:90px}
.gg-mnav-mbtn a {display:flex;align-items:center;justify-content:center;height:42px;border:1px solid #cfdcf3;border-radius:10px;background:#fff;font-size:14px;font-weight:600;color:var(--gg-navy)}
.gg-mnav-mbtn a.is-primary {border-color:var(--gg-blue);background:var(--gg-blue);color:#fff}
.gg-mnav-mbtn a.is-admin {border-color:var(--gg-navy);background:var(--gg-navy);color:#fff}
.gg-mnav-quick {display:grid;grid-template-columns:repeat(4, 1fr);gap:6px;padding:14px 14px 6px}
.gg-mnav-quick a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:76px;border-radius:12px;background:var(--gg-bg);font-size:12.5px;font-weight:600;color:var(--gg-ink);text-align:center}
.gg-mnav-quick a:active {background:#e4e9f1}
.gg-mnav-quick img {display:block;width:30px;height:30px;border-radius:9px}
.gg-mnav-qico {display:block;width:30px;height:30px;border-radius:9px;background:var(--gg-blue) no-repeat center / 18px}
.gg-mnav-quick .is-tel .gg-mnav-qico {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E")}
.gg-mnav-quick .is-estimate .gg-mnav-qico {background-color:var(--gg-red);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 17.25V21h3.75L17.8 9.94l-3.75-3.75zM20.7 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z'/%3E%3C/svg%3E")}
.gg-mnav-list {padding:8px 0;border-top:8px solid var(--gg-bg);margin-top:12px}
.gg-mnav-item {border-bottom:1px solid #f0f2f5}
.gg-mnav-row {display:flex;align-items:stretch}
.gg-mnav-link {flex:1 1 auto;display:flex;align-items:center;min-height:54px;padding:0 20px;font-size:17px;font-weight:600;color:var(--gg-ink)}
.gg-mnav-link:after {content:"";width:7px;height:7px;margin-left:auto;border-top:2px solid #b8bfca;border-right:2px solid #b8bfca;transform:rotate(45deg)}
.has-sub > .gg-mnav-row .gg-mnav-link:after {display:none}
.gg-mnav-item.is-active > .gg-mnav-row .gg-mnav-link {color:var(--gg-blue);font-weight:800}
.gg-mnav-item.is-active > .gg-mnav-row .gg-mnav-link:before {content:"";width:4px;height:18px;margin:0 10px 0 -20px;border-radius:0 3px 3px 0;background:var(--gg-blue)}
.gg-mnav-acc {position:relative;flex:0 0 54px;padding:0;border:0;background:transparent}
.gg-mnav-acc:after {content:"";position:absolute;top:50%;left:50%;width:8px;height:8px;margin:-6px 0 0 -4px;border-right:2px solid #8a93a0;border-bottom:2px solid #8a93a0;transform:rotate(45deg);transition:transform .25s}
.gg-mnav-acc[aria-expanded="true"]:after {margin-top:-2px;transform:rotate(-135deg)}
.gg-mnav-sub {padding:4px 0 10px;background:#f8fafc}
.gg-mnav-sub[hidden] {display:none}
.gg-mnav-sub a {display:block;padding:11px 20px 11px 34px;font-size:15px;color:var(--gg-sub)}
.gg-mnav-sub .is-active a {color:var(--gg-blue);font-weight:700}
.gg-mnav-empty {padding:20px;font-size:14px;color:var(--gg-sub)}
.gg-mnav-cs {margin:16px 16px 0;padding:18px 18px 16px;border-radius:14px;background:var(--gg-navy);color:#fff}
.gg-mnav-cs-tit {margin:0 0 2px;font-size:13px;opacity:.8}
.gg-mnav-cs-tel {display:block;font-family:'GmarketSans', 'SUIT Variable', sans-serif;font-size:26px;font-weight:700;letter-spacing:-0.04em;color:#fff}
.gg-mnav-cs-hours {margin:6px 0 0;font-size:12.5px;opacity:.85}
.gg-mnav-pc {display:flex;align-items:center;justify-content:center;height:46px;margin:14px 16px 0;border:1px solid var(--gg-line);border-radius:10px;font-size:14px;color:var(--gg-sub)}
html.gg-scroll-lock, html.gg-scroll-lock body {overflow:hidden}
html.gg-scroll-lock body {position:fixed;left:0;right:0;width:100%}

/* ── 서브 상단 배너 / 타이틀 ─────────────────────────────────── */
.gg-mwrap {background:#fff}
.gg-msubtop {--h:clamp(112px, 40vw, 170px);height:var(--h);background-color:#e9eef6;background-repeat:no-repeat;background-size:auto 100%;background-position:calc(var(--h) * -1.52) center}
.gg-msub-title {position:relative;display:flex;align-items:center;justify-content:center;min-height:56px;padding:8px 56px;border-bottom:1px solid var(--gg-line);background:#fff}
.gg-msub-back {position:absolute;top:50%;left:6px;width:44px;height:44px;margin-top:-22px}
.gg-msub-back:before {content:"";position:absolute;top:50%;left:50%;width:11px;height:11px;margin:-6px 0 0 -3px;border-left:2px solid var(--gg-ink);border-bottom:2px solid var(--gg-ink);transform:rotate(45deg)}
.gg-msub-title-list {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;font-size:18px;font-weight:700;line-height:1.35;text-align:center}
.gg-msub-item {color:#9aa1ab;font-weight:500;font-size:14px}
.gg-msub-item.is-last {color:var(--gg-ink);font-weight:800;font-size:18px}
.gg-msub-sep {width:6px;height:6px;border-top:1.5px solid #b8bfca;border-right:1.5px solid #b8bfca;transform:rotate(45deg)}
.gg-mcontainer {max-width:768px;min-height:240px;margin:0 auto}

/* 내용관리(회사소개·매입·가스충전) : 에디터 이미지 반응형 */
.gg-mcontainer #ctt {margin:0;padding:0;background:#fff}
.gg-mcontainer #ctt_con {padding:0}
.gg-mcontainer #ctt_con img {display:block;max-width:100% !important;height:auto !important;margin:0 auto}
.gg-mcontainer #ctt_con p {margin:0}
.gg-mcontainer #ctt_con table {display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.gg-mcontainer #ctt_con iframe, .gg-mcontainer #ctt_con video {max-width:100%}
.gg-mcontainer #ctt_con > h1, .gg-mcontainer #ctt > h1 {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ── 페이지네이션 (모든 게시판 공통) ───────────────────────────── */
.gg-mwrap .pg_wrap {padding:20px 0 8px}
.gg-mwrap .pg {display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.gg-mwrap .pg_page, .gg-mwrap .pg_current {display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;border:1px solid var(--gg-line);border-radius:10px;background:#fff;font-size:14px;line-height:1;color:var(--gg-sub)}
.gg-mwrap .pg_current {border-color:var(--gg-blue);background:var(--gg-blue);color:#fff;font-weight:700}
.gg-mwrap .pg_start, .gg-mwrap .pg_prev, .gg-mwrap .pg_end, .gg-mwrap .pg_next {background-color:#fff;background-size:auto}

/* ── 푸터 ─────────────────────────────────────────────── */
.gg-mft {margin-top:0;background:#4f5257;color:#e8e9eb}
.gg-mft.has-quickbar {padding-bottom:calc(var(--gg-qb-h) + var(--gg-safe-b))}
.gg-mft-cta {padding:0 0 18px;background:var(--gg-bg)}
.gg-mcall {display:block;max-width:768px;margin:0 auto;background:#eceef2}
.gg-mcall img {display:block;width:100%;height:auto}
.gg-mft-talk {display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:768px;margin:16px auto 0;padding:0 var(--gg-gutter)}
.gg-mft-talk-btn {display:flex;align-items:center;gap:10px;height:66px;padding:0 12px;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(20,50,110,.08);color:var(--gg-ink)}
.gg-mft-talk-btn img {flex:0 0 auto;display:block;width:40px;height:40px;border-radius:11px}
.gg-mft-talk-btn span {display:flex;flex-direction:column;min-width:0}
.gg-mft-talk-btn strong {font-size:16px;font-weight:800;line-height:1.25}
.gg-mft-talk-btn em {font-style:normal;font-size:11.5px;color:var(--gg-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gg-mft-talk-btn.is-sms strong {color:var(--gg-blue)}
.gg-mft-talk-btn.is-kakao strong {color:#3c1e1e}
.gg-mft-talk-btn:active {transform:translateY(1px)}
.gg-mft-main {max-width:768px;margin:0 auto;padding:22px var(--gg-gutter) 24px;text-align:center}
.gg-mft-links {display:flex;flex-wrap:wrap;justify-content:center;gap:4px 0;margin-bottom:18px}
.gg-mft-links li + li:before {content:"";display:inline-block;width:1px;height:10px;margin:0 10px;background:#8a8d93;vertical-align:middle}
.gg-mft-links a {font-size:13px;color:#e8e9eb}
.gg-mft-links strong {font-weight:700;color:#fff}
.gg-mft-logo {display:block;width:auto;height:44px;margin:0 auto 12px;opacity:.95}
.gg-mft-info {font-style:normal;font-size:12.5px;line-height:1.75;color:#cfd1d5}
.gg-mft-info p {margin:0}
.gg-mft-info span {display:inline-block}
.gg-mft-info span + span:before {content:"|";margin:0 7px;color:#7d8086}
.gg-mft-info a {color:inherit}
.gg-mft-copy {margin:10px 0 0;font-size:11.5px;color:#a9acb2}
.gg-mft-pc {display:inline-flex;align-items:center;justify-content:center;min-width:150px;height:38px;margin-top:16px;padding:0 18px;border:1px solid #7d8086;border-radius:19px;font-size:13px;color:#fff}

/* ── TOP 버튼 ────────────────────────────────────────── */
.gg-mtop {position:fixed;right:12px;bottom:calc(14px + var(--gg-safe-b));z-index:800;width:46px;height:46px;padding:0;border:0;border-radius:50%;background:rgba(31,35,41,.72);color:#fff;font-size:11px;font-weight:700;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s, visibility .25s, transform .25s}
.gg-mtop:before {content:"";display:block;width:8px;height:8px;margin:0 auto 2px;border-top:2px solid #fff;border-left:2px solid #fff;transform:rotate(45deg)}
.gg-mtop.is-show {opacity:1;visibility:visible;transform:none}
.gg-mquick + .gg-mtop {bottom:calc(var(--gg-qb-h) + 12px + var(--gg-safe-b))}

/* ── 하단 고정 상담바 ─────────────────────────────────────── */
.gg-mquick {position:fixed;left:0;right:0;bottom:0;z-index:850;display:grid;grid-template-columns:repeat(4, 1fr);height:calc(var(--gg-qb-h) + var(--gg-safe-b));padding-bottom:var(--gg-safe-b);background:#fff;border-top:1px solid var(--gg-line);box-shadow:0 -4px 16px rgba(15,35,80,.08)}
.gg-mquick a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:700;color:var(--gg-ink)}
.gg-mquick a:active {background:var(--gg-bg)}
.gg-mquick-ico {display:block;width:26px;height:26px;border-radius:8px;background:var(--gg-blue) no-repeat center / 16px}
.gg-mquick .is-tel .gg-mquick-ico {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E")}
.gg-mquick .is-sms .gg-mquick-ico {background-color:#22a2e8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E")}
.gg-mquick .is-kakao .gg-mquick-ico {background-color:#fee500;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233c1e1e'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.8 1.9 5.3 4.7 6.7l-1 3.6c-.1.3.3.6.6.4l4.2-2.8c.5.1 1 .1 1.5.1 5.5 0 10-3.6 10-8S17.5 3 12 3z'/%3E%3C/svg%3E")}
.gg-mquick .is-estimate .gg-mquick-ico {background-color:var(--gg-red);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 17.25V21h3.75L17.8 9.94l-3.75-3.75zM20.7 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z'/%3E%3C/svg%3E")}

/* 기존 그누보드 모바일 기본 요소 숨김 (테마 푸터/TOP 로 대체) */
#top_btn {display:none}

@media (prefers-reduced-motion: reduce) {
    .gg-mnav-panel, .gg-mnav-dim, .gg-mtop, .gg-mnav-acc:after {transition:none}
}
