/* =====================================================================
   BE : o-hori å¤ªå  é¢¨ â ãã«ããªã¼ãåç + ä¸­å¤®ææ
   ===================================================================== */
.hero-be { position: relative; min-height: 78vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hero-be-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0.55) 100%); }
.hero-be-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 2rem 1.5rem; max-width: 900px; }
.hero-be-meta { font-size: 0.72rem; letter-spacing: 6px; text-transform: uppercase; opacity: 0.85; margin-bottom: 1.6rem; font-weight: 600; }
.hero-be-title { font-family: 'Noto Serif JP', serif; font-size: 3.2rem; font-weight: 700; line-height: 1.4; letter-spacing: 2px; margin-bottom: 1.6rem; text-shadow: 0 2px 24px rgba(0,0,0,0.4); }
.hero-be-lead { font-size: 1rem; line-height: 2.1; opacity: 0.95; max-width: 34em; margin: 0 auto; font-weight: 300; }
.hero-be-scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 0.62rem; letter-spacing: 3px; writing-mode: vertical-rl; opacity: 0.8; }
.hero-be-scroll span { display: inline-block; padding-bottom: 42px; background: linear-gradient(#fff,#fff) no-repeat bottom/1px 32px; }
@media (max-width: 820px) { .hero-be { min-height: 62vh; } .hero-be-title { font-size: 2rem; letter-spacing: 1px; } }
/* tpl-BE: æ ç·ãªãã»ä¸­å¤®å¯ãã»ææ */
body.tpl-BE .section { box-shadow: none; border: 0; background: transparent; margin-bottom: 3.2rem; }
body.tpl-BE .section-body { padding: 0 0 0.5rem; }
body.tpl-BE .section-label { text-align: center; letter-spacing: 5px; padding-left: 1.8rem; }
body.tpl-BE .section-title { text-align: center; font-family: 'Noto Serif JP', serif; font-weight: 700; letter-spacing: 1px; }
body.tpl-BE .about-text { text-align: center; max-width: 40em; margin: 0 auto; }
body.tpl-BE .info-table { max-width: 660px; margin: 0 auto; }
/* BE å¯¾å¿å·¥äº: ãã«èæ¯åçã¿ã¤ã« + ææã­ã£ãã·ã§ã³ + èª¬ææ(ä¸ããã«) */
body.tpl-BE .permit-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
body.tpl-BE .permit-card { position: relative; min-height: 280px; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; }
body.tpl-BE .permit-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.18); }
body.tpl-BE .permit-card:hover .permit-img { transform: scale(1.06); }
body.tpl-BE .permit-img { position: absolute; inset: 0; height: 100%; transition: transform 0.7s ease; }
body.tpl-BE .permit-img::after { background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.82) 100%); }
body.tpl-BE .permit-info { position: absolute; left: 0; right: 0; bottom: 2.6rem; z-index: 1; border: 0; background: transparent; justify-content: center; padding: 0 1.4rem; }
body.tpl-BE .permit-badge { display: none; }
body.tpl-BE .permit-name { color: #fff; font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; text-align: center; text-shadow: 0 1px 10px rgba(0,0,0,0.6); }
body.tpl-BE .permit-desc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 1.4rem 1.3rem; margin: 0; text-align: center; color: rgba(255,255,255,0.92); font-size: 0.78rem; line-height: 1.8; }
body.tpl-BE .permit-arrow { display: none; }
/* === tpl-BE fix 2026-06-06: about-text full-width bg + permit card spacing & overlap fix === */
body.tpl-BE .about-text { text-align: left; max-width: none; width: 100%; background: #f7f8fa; padding: 1.6rem 2rem; border-radius: 12px; border: 1px solid #ebedf1; box-sizing: border-box; }
body.tpl-BE .permit-card { display: flex; flex-direction: column; justify-content: flex-start; min-height: 240px; padding: 1.7rem 0 1.4rem; }
body.tpl-BE .permit-info { position: static; left: auto; right: auto; bottom: auto; padding: 0 1.4rem; margin: 0 0 0.6rem; }
body.tpl-BE .permit-name { text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
body.tpl-BE .permit-desc { position: static; left: auto; right: auto; bottom: auto; padding: 0 1.4rem; text-shadow: 0 1px 6px rgba(0,0,0,0.92); }
body.tpl-BE .permit-img::after { background: linear-gradient(180deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0.55) 100%); }
