/* =====================================================================
   BG : kyosaikai å¡æ¸ä¼ é¢¨ â å¹¾ä½å³å½¢ã»è¦ªãã¿ + è§ä¸¸ã½ããã«ã¼ã
   ===================================================================== */
.hero-bg { position: relative; background: var(--bg); overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg-shapes { position: absolute; inset: 0; z-index: 1; }
.hero-bg-shape { position: absolute; border-radius: 50%; opacity: 0.13; }
.hero-bg-shape-1 { width: 360px; height: 360px; background: var(--primary); top: -120px; right: -60px; }
.hero-bg-shape-2 { width: 200px; height: 200px; background: var(--accent); bottom: -70px; right: 22%; opacity: 0.16; }
.hero-bg-shape-3 { width: 130px; height: 130px; border: 22px solid var(--primary); background: transparent; top: 40px; right: 30%; opacity: 0.10; }
.hero-bg-shape-4 { width: 90px; height: 90px; background: var(--accent); top: 55%; left: -30px; opacity: 0.12; }
.hero-bg-inner { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 4.4rem 1.5rem; }
.hero-bg-meta { display: inline-block; padding: 0.35rem 1rem; background: var(--primary); color: #fff; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 1.4rem; }
.hero-bg-title { font-size: 3rem; font-weight: 900; color: var(--primary); line-height: 1.22; letter-spacing: -1.5px; margin-bottom: 1.3rem; }
.hero-bg-lead { font-size: 1.02rem; line-height: 2.05; color: var(--text); max-width: 30em; margin-bottom: 1.7rem; }
.hero-bg-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.hero-bg-tag { display: inline-block; padding: 0.45rem 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 0.79rem; font-weight: 600; color: var(--primary); text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
a.hero-bg-tag:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 820px) { .hero-bg-inner { padding: 2.8rem 1.3rem; } .hero-bg-title { font-size: 2rem; } .hero-bg-shape-1 { width: 220px; height: 220px; } }
body.tpl-BG .section { border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
body.tpl-BG .section-title { font-weight: 900; }
/* BG å¯¾å¿å·¥äº: è§ä¸¸ã«ã¼ã + å¤§ããªä¸¸ã¢ã¤ã³ã³(æ¥­ç¨®é ­æå­) + èª¬ææ */
body.tpl-BG .permit-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
body.tpl-BG .permit-card { border: 0; border-radius: 18px; box-shadow: 0 6px 22px rgba(0,0,0,0.07); overflow: hidden; padding-bottom: 0.4rem; }
body.tpl-BG .permit-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.13); }
body.tpl-BG .permit-img { height: 116px; }
body.tpl-BG .permit-info { position: relative; border-top: 0; padding: 1.6rem 1.2rem 0.3rem; align-items: center; }
body.tpl-BG .permit-badge { position: absolute; top: -26px; left: 1.1rem; width: 52px; height: 52px; line-height: 52px; font-size: 1.5rem; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 5px 14px rgba(0,0,0,0.18); border: 3px solid #fff; }
body.tpl-BG .permit-name { font-weight: 800; font-size: 1rem; }
body.tpl-BG .permit-desc { padding: 0.5rem 1.2rem 0.7rem; font-size: 0.82rem; line-height: 1.85; }
body.tpl-BG .permit-arrow { padding: 0 1.2rem 0.9rem; color: var(--accent); }
body.tpl-BG .info-table tr:nth-child(odd) { background: var(--bg); }
body.tpl-BG .info-table th, body.tpl-BG .info-table td { padding-left: 0.8rem; padding-right: 0.8rem; }
