/* =========================================================
   FOOTER
   ---------------------------------------------------------
   ・ロゴ
   ・フッターナビ
   ・お問い合わせ
   ・コピーライト
   ========================================================= */


/* =========================================================
   1) Footer Base
   ---------------------------------------------------------
   フッター全体
   ========================================================= */
.site-footer{
  margin-top: 120px;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(141,197,227,.15));
  border-top: 1px solid var(--line);
}

.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}


/* =========================================================
   2) Footer Brand
   ---------------------------------------------------------
   ロゴ / キャッチ
   ========================================================= */
.footer-brand img{
  width: 380px;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 8px 20px rgba(249,197,67,.25));
}

.footer-brand .tagline{
  margin-top: 10px;
  font-size: calc(11px * var(--official-font-scale, 1));
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
}


/* =========================================================
   3) Footer Navigation
   ---------------------------------------------------------
   ナビゲーションリンク
   ========================================================= */
.footer-nav{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a{
  font-size: calc(12px * var(--official-font-scale, 1));
  letter-spacing: .18em;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
}

.footer-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity:0;
  transform: scaleX(.7);
  transition: opacity .25s ease, transform .25s ease;
}

.footer-nav a:hover::after{
  opacity:1;
  transform: scaleX(1);
}

.footer-nav a span:first-of-type{
  text-transform: uppercase;
}

.footer-nav a span:nth-of-type(2){
  display: none;
}


/* =========================================================
   4) Footer Contact
   ---------------------------------------------------------
   footer 内の「お問い合わせ」ブロック
   既存の footer デザイン（小さめ / letter-spacing / 淡い線）
   に合わせる
   ========================================================= */
.footer-contact{
  max-width: 720px;
  margin: 0 auto;
  padding-top: 10px;
  text-align: center;
}

.footer-contact-title{
  display: inline-block;
  position: relative;
  margin-bottom: 14px;
  padding-bottom: 8px;
  font-size: calc(11px * var(--official-font-scale, 1));
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 見出し下のグラデ線（footer-navと統一） */
.footer-contact-title::after{
  content:"";
  position:absolute;
  left:-18px;
  right:-18px;
  bottom:0;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity:.85;
  transform: scaleX(.85);
}

.footer-contact-list{
  list-style:none;
  margin:0 0 30px;
  padding:0;
  display:grid;
  gap:10px;
  justify-items:center;
}

.footer-contact-list li{
  font-size: calc(12px * var(--official-font-scale, 1));
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--muted);
}

/* ラベル部分 */
.footer-contact-list li span{
  margin-right: 6px;
  color: var(--muted);
  opacity: .9;
}

/* リンク */
.footer-contact a{
  color:#111;
  text-decoration:none;
  position:relative;
  padding:2px 0;
}

.footer-contact a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity:0;
  transform: scaleX(.7);
  transition: opacity .25s ease, transform .25s ease;
}

.footer-contact a:hover::after{
  opacity:1;
  transform: scaleX(1);
}

/* 区切り記号（例：Instagram / X） */
.footer-contact .sep{
  padding: 0 6px;
  opacity: .6;
}


/* =========================================================
   5) Footer Copy
   ---------------------------------------------------------
   コピーライト
   ========================================================= */
.footer-copy{
  font-size: calc(10px * var(--official-font-scale, 1));
  letter-spacing: .18em;
  color: var(--muted);
  opacity: .8;
}


/* =========================================================
   6) Responsive
   ---------------------------------------------------------
   640px以下
   ========================================================= */
@media (max-width: 767px){

  .site-footer{
    margin-top: 80px;
    padding: 50px 0 36px;
  }

  .footer-nav{
    gap: 18px;
  }

  .footer-brand img{
    width: 180px;
  }

  .footer-contact{
    max-width: 100%;
    padding-top: 6px;
  }

  .footer-contact-list{
    gap: 8px;
  }

  .footer-contact-list li{
    font-size: calc(11px * var(--official-font-scale, 1));
  }

  .footer-contact-title{
    font-size: calc(10px * var(--official-font-scale, 1));
  }
}