/* ==============================================
   共通フッター: footer.css
============================================== */

/* ===== FOOTER ===== */
#footer{background:var(--navy); padding:64px 0 24px; margin-top:2em;}
.footerInner{max-width:1280px; margin:0 auto; padding:0 64px;}
.footerGrid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px;}
.footerLogoWrap{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.footerLogoMark{width:30px; height:30px; background:rgba(0,181,217,0.15); border:1px solid rgba(0,181,217,0.25); border-radius:5px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2.5px;}
.footerLogoBar{height:1.5px; background:var(--cyan); border-radius:1px;}
.footerLogoBar:nth-child(1){width:16px;}
.footerLogoBbar:nth-child(2){width:12px;}
.footerLogoBbar:nth-child(3){width:8px;}
.footerLogoName{font-family:'Noto Serif JP', serif; font-size:14px; font-weight:700; color:var(--white); letter-spacing:2px;}
.footerDesc{font-size:12px; color:rgba(255,255,255,0.8); line-height:2; margin-bottom:20px;}
.footerSiteLink{display:inline-flex; align-items:center; gap:6px; font-size:11px; color:var(--cyan); border:1px solid rgba(0,181,217,0.2); padding:6px 14px; border-radius:3px; transition:background 0.2s;}
.footerSiteLink:hover{background:rgba(0,181,217,0.1);}
.footerHeading{font-family:'Bebas Neue', sans-serif; font-size:16px; letter-spacing:4px; color:rgba(255,255,255,0.8); margin-bottom:7px;}
.footerLinks li{margin-bottom:5px;}
.footerLinks a{font-size:12px; color:rgba(255,255,255,0.6); transition:color 0.2s;}
.footerLinks a:hover{color:rgba(255,255,255,0.8);}
.footerBottom{border-top:1px solid rgba(255,255,255,0.5); padding-top:20px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;}
.footerCopy{font-size:11px; color:rgba(255,255,255,0.8);}
.footerPolicy{display:flex; gap:20px; }
.footerPolicy a{font-size:11px; color:rgba(255,255,255,0.5); transition:color 0.2s;}
.footerPolicy a:hover{color:rgba(255,255,255,0.8);}

/* ===== RESPONSIVE — footer ===== */
@media screen and (max-width:1024px){
 .footerGrid{grid-template-columns:1fr 1fr; gap:32px;}
 .footerInner{padding:0 24px;}
}
@media screen and (max-width:640px){
.footerGrid{grid-template-columns:1fr;gap:24px;}
}

/* ===== フッター内共通パーツ ===== */
.footerLogoImg{filter:brightness(0) invert(1); opacity:1;}
.footerTelNum{font-family:'Bebas Neue', sans-serif; font-size:18px; letter-spacing:2px; color:rgba(255,255,255,0.7);}

/* ===== FOOTER ACCORDION (SP) ===== */
.footerAccordionBtn{display:none;}

@media screen and (max-width:640px){
  .footerGrid{grid-template-columns:1fr; gap:0; border-top:1px solid rgba(255,255,255,0.1);}
  .footerGrid > div{border-bottom:1px solid rgba(255,255,255,0.1); padding:0;}
  /* ロゴ列はアコーディオンなし */
  .footerGrid > div:first-child{padding:24px 0; border-bottom:1px solid rgba(255,255,255,0.1);}

  .footerHeading{display:none;}
  .footerAccordionBtn{
    display:flex; align-items:center; justify-content:space-between;
    width:100%; background:none; border:none; cursor:pointer;
    padding:14px 0; font-family:'Bebas Neue', sans-serif;
    font-size:15px; letter-spacing:4px; color:rgba(255,255,255,0.8);
    text-align:left;
  }
  .footerAccordionBtnSub{margin-top:0; padding-top:14px;}
  .footerAccordionIcon{
    width:18px; height:18px; flex-shrink:0; position:relative;
  }
  .footerAccordionIcon::before,
  .footerAccordionIcon::after{
    content:''; position:absolute; background:rgba(255,255,255,0.6);
    border-radius:1px; transition:transform 0.25s, opacity 0.25s;
  }
  .footerAccordionIcon::before{width:12px; height:1.5px; top:50%; left:50%; transform:translate(-50%,-50%);}
  .footerAccordionIcon::after{width:1.5px; height:12px; top:50%; left:50%; transform:translate(-50%,-50%);}
  /* open時は横棒のみ（マイナス） */
  .footerAccordionBtn.isOpen .footerAccordionIcon::after{transform:translate(-50%,-50%) rotate(90deg); opacity:0;}

  .footerLinks{display:none; padding:0 0 14px;}
  .footerLinks.isOpen{display:block;}
  .footerLinks li{margin-bottom:10px;}

  .footerBottom{flex-direction:column; gap:10px; text-align:center; padding-top:16px;}
  .footerPolicy{flex-wrap:wrap; justify-content:center; gap:12px;}
}
