@charset "UTF-8";
/*
Theme Name: SUPPORT BRIDGE Professional
Version: 1.1
*/

:root {
    --primary-color: #e60012; /* red.pngに合わせた赤系、またはお好みのIndigo */
    --primary-hover: #c00010;
    --dark: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- Base Layout --- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header-banner img {
    height: 30px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    font-size: 15px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 18, 0.3);
}

/* --- Footer --- */
.footer {
    background: #f5f5f5;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-company-name {
    font-weight: 700;
    margin: 20px 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #888;
    font-size: 13px;
}

/* --- Mobile Toggle --- */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu, .nav-cta { display: none; }
    .mobile-menu-toggle { display: block; }
    body { padding-top: 60px; }
    
}

/* =========================
   FOOTER (ダークテーマ)
========================= */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 60px 0 40px; /* 上下の余白を追加 */
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  max-width: 300px;
  height: auto;
}

/* 画像パスが空、または属性がない場合に非表示にする設定 */
.footer-logo img[src=""],
.footer-logo img:not([src]) {
  display: none;
}

.footer-company-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0; /* マージンの調整 */
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  color: #888;
  font-size: 13px;
  margin: 0;
}

/* コンテナの幅設定（フッター内でも適用） */
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================
   コラム一覧ページ
========================= */

.archive-section {
  padding: 40px 0;
}

.archive-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
  font-weight: 700;
}

/* レイアウト */
.layout {
  display: flex;
  gap: 60px;
}

.main-content {
  flex: 3;
}

.sidebar {
  flex: 1;
}

/* カード一覧 */
.column-list {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}

.column-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.column-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.column-thumbnail img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.column-title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 20px 20px 10px;
}

.column-title a {
  text-decoration: none;
  color: var(--dark);
}

.column-title a:hover {
  color: var(--primary-color);
}

.column-excerpt {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  color: #666;
}

/* ページネーション */
.pagination {
  margin-top: 60px;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .column-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .column-list {
    grid-template-columns: 1fr;
  }
}


/* ======================
   Single Layout
====================== */
.single-container {
  display: flex;
  gap: 40px;
}

.content {
  flex: 3;
}

.sidebar {
  flex: 1;
}

/* ======================
   記事デザイン
====================== */
.post-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  margin-bottom: 25px;
}

.post-content {
  line-height: 1.9;
  font-size: 16px;
}

.post-content h2 {
  margin-top: 40px;
  font-size: 22px;
  border-left: 4px solid #0073aa;
  padding-left: 10px;
}

.post-content p {
  margin-bottom: 20px;
}

/* ======================
   レスポンシブ
====================== */
@media (max-width: 768px) {
  .single-container {
    flex-direction: column;
  }

  .container {
    padding: 5px 10px;
  }
}