/* ep-footer.css — テンプレート方式(A/C 案)の共通フッター(ep-footer.js)。1色の帯: サイトのメインカラーを暗くした色・文字は白 */
.ep-footer{--ep-ft-bg:color-mix(in srgb,var(--color-primary,var(--ep-color-1,#2b3a4a)) 32%,#121417);
  background:var(--ep-ft-bg)!important;color:#fff!important;padding:clamp(2.2rem,5vw,3.4rem) 0 0!important;margin:0!important;
  font-family:inherit;font-size:15px;line-height:1.7;position:relative;z-index:1;text-align:left;letter-spacing:normal}
.ep-footer *{letter-spacing:normal}
.ep-footer *{box-sizing:border-box}
.ep-footer a{color:#fff!important;text-decoration:none}
.ep-footer a:hover{opacity:.75}
.ep-footer-inner{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,40px);display:flex;align-items:center;justify-content:space-between;gap:2rem 3rem;flex-wrap:wrap}
.ep-footer-brand{display:flex;align-items:center;gap:.8rem;min-width:0}
.ep-footer-logo{max-height:48px;max-width:180px;width:auto;height:auto;object-fit:contain;filter:none}
.ep-footer-name{font-size:18px!important;font-weight:700!important;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-footer nav,.ep-footer-nav{padding:0!important;margin:0!important;text-align:inherit!important;float:none!important;width:auto!important;background:none!important}
.ep-footer-nav ul{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-wrap:wrap;gap:.6rem 2rem;justify-content:flex-end}
.ep-footer-nav ul{height:auto!important;min-height:0!important;float:none!important;width:auto!important;text-align:left!important}
.ep-footer-nav li{margin:0!important;padding:0!important;list-style:none!important;border:0!important;float:none!important;width:auto!important;height:auto!important;text-align:left!important;display:block!important}
.ep-footer-nav li::before,.ep-footer-nav li::after{content:none!important}
.ep-footer-nav a{font-size:15px!important;line-height:1.6!important;letter-spacing:.04em!important;white-space:nowrap;display:inline!important;padding:0!important}
.ep-footer-bottom{margin-top:clamp(1.8rem,4vw,2.6rem);border-top:1px solid rgba(255,255,255,.18)}
.ep-footer-bottom p{max-width:1200px;margin:0 auto!important;padding:1.1rem clamp(16px,4vw,40px) 1.3rem!important;font-size:12.5px!important;line-height:1.7!important;color:rgba(255,255,255,.75)!important;text-align:center}
.ep-footer-bottom a{color:rgba(255,255,255,.9)!important;margin-left:.6em;text-decoration:underline;text-underline-offset:2px}
@media (max-width:767px){
  .ep-footer-inner{flex-direction:column;align-items:flex-start;gap:1.4rem}
  .ep-footer-nav ul{justify-content:flex-start;gap:.7rem 1.4rem}
}
/* 左の列: ロゴ+屋号名の下に SNS アイコン(ep-features.js がフォームの SNS を .ep-footer-left に入れる) */
.ep-footer-left{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem;min-width:0}
.ep-footer .ep-sns{justify-content:flex-start!important;padding:0!important;margin:0!important}
.ep-footer .ep-sns a{background:rgba(255,255,255,.16)!important}
@media (min-width:768px){.ep-footer-nav{flex:1 1 420px;min-width:0}}
/* ===== フッターのデザイン(TOPページのフッターを全ページへ反映) ===== */
footer.ep-footer.high{position:relative;padding-top:56px!important;color:#efe4d0!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(201,162,39,.14),transparent 55%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 2px,transparent 2px 9px),
    linear-gradient(180deg,#34271e 0%,#241a14 100%)!important}
footer.ep-footer.high::before{content:"";position:absolute;top:0;left:0;right:0;height:12px;
  background:linear-gradient(180deg,#4d3827 0%,#382819 100%);border-bottom:1px solid #c9a227;box-shadow:0 1px 0 rgba(0,0,0,.4)}
footer.ep-footer.high .ep-footer-name{display:inline-block;font-family:'Cormorant Garamond','Shippori Mincho','Times New Roman',serif!important;
  font-style:italic!important;font-size:28px!important;font-weight:600!important;letter-spacing:.06em!important;color:#f6ecd8!important}
footer.ep-footer.high .ep-footer-name::after{content:"";display:block;width:56px;height:1px;margin-top:14px;
  background:linear-gradient(90deg,#c9a227,rgba(201,162,39,0))}
footer.ep-footer.high .ep-footer-nav li{border-bottom:1px solid rgba(201,162,39,.24);padding-bottom:8px}
footer.ep-footer.high .ep-footer-nav a{font-family:var(--font-heading),serif!important;letter-spacing:.12em!important;color:#eadfca!important;
  border-bottom:1px solid transparent;transition:color .3s ease,border-color .3s ease}
footer.ep-footer.high .ep-footer-nav a:hover,footer.ep-footer.high .ep-footer-nav a:focus-visible{color:#e2bf62!important;border-bottom-color:#c9a227;outline:none}
footer.ep-footer.high .ep-footer-bottom{margin-top:28px;padding-top:18px;padding-bottom:22px;border-top:1px solid rgba(201,162,39,.38)}
footer.ep-footer.high .ep-footer-bottom p{color:#c2b196!important;letter-spacing:.08em!important}
footer.ep-footer.high .ep-footer-bottom a{color:#e2bf62!important;text-decoration:none;border-bottom:1px solid rgba(226,191,98,.5)}
footer.ep-footer.high .ep-footer-bottom a:hover{color:#f6ecd8!important;border-bottom-color:#f6ecd8}
/* 全ページを並べる(2026-10-13「フッターは今まで通り全ページ」)。6 つ以上は 3 列の升目(スマホは 2 列) */
.ep-footer-nav ul.ep-ft-many{display:grid!important;grid-template-columns:repeat(3,max-content)!important;grid-auto-flow:row!important;gap:.6rem 2.6rem!important;justify-content:end!important}
@media (max-width:767px){.ep-footer-nav ul.ep-ft-many{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7rem 1.2rem!important;width:100%!important}
  .ep-footer-nav ul.ep-ft-many a{white-space:normal}}
