/* ===========================================
   検定案内バー（フッター上部）
   =========================================== */
.footer-exam-bar {
  background: #f5f5f5;
  padding: 15px 0;
}
.footer-exam-bar a {
  text-decoration: none;
  color: #333;
}
.footer-exam-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
}
.footer-exam-name h3 {
  font-size: 20px;
  font-weight: bold;
  color: #e50113;
  margin: 0;
}
.footer-exam-level {
  font-size: 14px;
  background: #e50113;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
}
.footer-exam-date {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* ===========================================
   フッター本体
   =========================================== */
.site-footer {
	border-top:0.5px solid #e50113;
}
.colorist-footer {
  background: #e8e8e8;
  color: #333;
  padding: 0;
}
.footer-inner {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 30px 30px;
}
.footer-nav ul li a {
	color: #333333 !important;
	font-size:13px !important;
}
/* --- 左カラム（ロゴ・住所） --- */
.footer-corp {
  width: 200px;
  flex-shrink: 0;
	margin-right:20px;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  width: 210px;
  height: auto;
}
.footer-address {
    text-align: left !important;
    font-size: 16px;
    margin: 10px 0 20px;
	line-height:26px;
	color:#333;
}

/* --- ボタン --- */
.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.redline_button a {
    text-align: center !important;
    font-size: 14px;
    padding: 10px 0;
    width: 200px;
    border: 1px solid #7a7a7a;
    color: #7a7a7a !important;
    display: block;
    margin: 15px 0;
}

/* --- SNSアイコン --- */
.footer-sns {
  display: flex;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
	justify-content: center;  /* ←これを追加 */
}
.footer-sns a {
  color: #555 !important;
  font-size: 20px;
  transition: 0.3s;
}
.footer-sns a:hover {
  color: #e50113 !important;
}
/* --- Pマーク --- */
.footer-pmark {
	text-align:center;
	margin-bottom: 15px;
}
.footer-pmark img {
  width: 60px;
  height: auto;
}

/* --- 商標テキスト --- */
.footer-trademark {
  font-size: 11px;
  color: #777;
  line-height: 1.6;
	text-align:center;
}

/* ===========================================
   右カラム（サイトマップ）
   =========================================== */
.footer-nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.6;
}
.footer-nav a {
  color: #333333 !important;
  text-decoration: none;
  transition: 0.2s;
}
.footer-nav a:hover {
  color: #333333 !important;
  text-decoration: underline;
}
.footer-nav strong {
  color: #333333;
  font-size: 15px;
}
.footer-nav i.fa-folder-open {
  color: #333333;
  margin-right: 4px;
}

/* ===========================================
   コピーライト
   =========================================== */
.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #999 !important;
  font-style: normal;
  padding: 20px;
  border-top: 1px solid #ccc;
  margin: 0;
}

/* ===========================================
   Lightningデフォルトフッターを非表示
   =========================================== */
.site-footer-content,
.site-footer-copyright {
  display: none;
}

/* ===========================================
   レスポンシブ
   =========================================== */
@media (max-width: 991px) {
  .footer-inner {
    flex-direction: column;
    padding: 30px 20px;
  }
  .footer-corp {
    width: 100%;
    text-align: center;
  }
  .footer-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-btn {
    flex: 1;
    min-width: 120px;
  }
  .footer-sns {
    justify-content: center;
  }
  .footer-pmark {
    text-align: center;
  }
  .footer-trademark {
    text-align: center;
  }
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
  }
}

@media (max-width: 575px) {

.footer-exam-list {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-nav {
    grid-template-columns: 1fr;
	  order:1;
  }
	.footer-inner {
        display: flex;
        flex-direction: column;
		gap: 20px;
	}
	.footer-address {
		text-align: center !important;
		font-size: 16px;
		margin: 10px 0 20px;
		line-height:26px;
		color:#333;
	}
	.footer-corp {
		order:2;
		margin-top:80px;
	}
	.footer-corp .redline_button {
		display: flex;
		justify-content: center;
	}
	.redline_button a {
		margin: 5px 0;
	}
	.footer-sns {
		margin-top:20px;
	}
}
