/* =========================
   File: footer.css
   JCBPL Footer (Chunichi Dragons clone)
   ========================= */

footer {
  background: #111;
  color: #fff;
  font-size: 13px;
}

.footerWrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 15px 40px;
}

/* PC / SP 切り替え */
.dspPC { display: block; }
.dspSP { display: none; }

@media screen and (max-width: 767px) {
  .dspPC { display: none; }
  .dspSP { display: block; }
}

/* 上部ロゴ＋SNS（PC） */
.flexBox {
  display: flex;
  flex-wrap: wrap;
}

.justify {
  justify-content: space-between;
}

.center {
  display: flex;
  align-items: center;
}

.centerW {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mgB30 { margin-bottom: 30px; }
.mgB20 { margin-bottom: 20px; }

.footSNS a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  font-size: 16px;
}

.footSNS a:hover {
  background: #0b72b9;
}

/* フッターナビ全体 */
.footNav {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-bottom: 20px;
}

.footNav .column {
  width: 33.3333%;
  padding-right: 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .footNav {
    display: block;
    border-top: none;
    padding-top: 0;
  }
  .footNav .column {
    width: 100%;
    padding-right: 0;
    border-top: 1px solid #333;
  }
}

/* details / summary（アコーディオン） */
.details {
  border-bottom: 1px solid #333;
}

.details-summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 0;
  font-weight: bold;
  position: relative;
}

.details-summary::-webkit-details-marker {
  display: none;
}

.details-summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
}

.details[open] .details-summary::after {
  content: "－";
}

.details-content {
  padding: 0 0 10px 0;
}

.details-content li {
  list-style: none;
  margin: 0 0 6px;
}

.details-content a {
  color: #ccc;
  text-decoration: none;
}

.details-content a:hover {
  color: #fff;
}

/* SP：その他ボタン（言語など） */
.btnOther {
  border-top: 1px solid #333;
  padding-top: 10px;
  margin-bottom: 15px;
}

.btnOther ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btnOther li {
  list-style: none;
}

.btnOther a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid #555;
  color: #ccc;
  text-decoration: none;
  font-size: 12px;
}

.btnOther a:hover {
  background: #222;
  color: #fff;
}

/* SP：SNS＋ロゴ */
.dspSP .sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.dspSP .sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

/* コピーライト */
footer p {
  text-align: center;
  margin: 10px 0 0;
}

footer small {
  color: #777;
  font-size: 11px;
}
