@charset "utf-8";
/* CSS Document */

/* =============================
   用語辞典 - アーカイブページ
   ============================= */

.glossary-archive-wrap {
  background: #f5f5f2;
  min-height: 60vh;
  padding: 56px 16px 60px;
}

.glossary-archive-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* パンくず */
.ga-breadcrumb {
  font-size: 12px;
  color: #999;
  margin: 20px 0 10px;
}

.ga-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.ga-breadcrumb a:hover {
  text-decoration: underline;
}

/* ヘッダー */
.ga-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.ga-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* 検索（FAQと同デザイン） */
.ga-search-wrap {
  display: flex !important;
  flex-direction: row !important;
  gap: 5px;
  margin-bottom: 20px;
}

#ga-search {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  color: #333;
  outline: none;
  box-sizing: border-box;
  width: auto !important;
}

#ga-search-btn {
  flex: 0 0 auto;
  display: block !important;
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #153a5b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s;
}

#ga-search-btn:hover {
  opacity: 0.85;
}

/* フィルタ */
.ga-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ga-filter-btn {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
}

.ga-filter-btn:hover {
  background: #f0f0f0;
}

.ga-filter-btn.active {
  background: #eeedfe;
  border-color: #7f77dd;
  color: #3c3489;
}

/* 件数 */
.ga-count {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
}

/* 五十音ナビ */
.ga-kana-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}

.ga-kana-nav-btn {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  text-decoration: none;
  transition: all 0.15s;
}

.ga-kana-nav-btn:hover {
  background: #153a5b;
  border-color: #153a5b;
  color: #fff;
  text-decoration: none;
}

/* 行グループ */
.ga-group {
  margin-bottom: 36px;
}

.ga-group-label {
  font-size: 18px;
  font-weight: 700;
  color: #153a5b;
  padding-bottom: 8px;
  border-bottom: 2px solid #153a5b;
  margin-bottom: 14px;
}

/* グループ内グリッド */
.ga-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

/* カード */
.ga-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: #333;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ga-card:hover {
  border-color: #e8500a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  text-decoration: none;
  color: #333;
}

.ga-card-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.ga-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.ga-card-yomi {
  font-size: 12px;
  color: #999;
}

.ga-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* バッジ */
.ga-badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: auto;
  white-space: nowrap;
}

.ga-badge-basic        { background: #eaf3de; color: #3b6d11; }
.ga-badge-print        { background: #e6f1fb; color: #185fa5; }
.ga-badge-web-banner   { background: #eeedfe; color: #534ab7; }
.ga-badge-direction    { background: #faeeda; color: #854f0b; }
.ga-badge-editing      { background: #fde8e8; color: #9b1c1c; }
.ga-badge-seo          { background: #e8f4f8; color: #0e6b8a; }
.ga-badge-ui-ux        { background: #e8fdf3; color: #065f46; }
.ga-badge-abbreviation { background: #fff3cd; color: #7d5a00; }

/* 結果なし */
.ga-empty {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 14px;
}

/* CTAボックス */
.ga-cta {
  background: #eeedfe;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.ga-cta-text {
  font-size: 14px;
  color: #3c3489;
  line-height: 1.6;
}

.ga-cta-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ga-cta-btn {
  font-size: 13px;
  padding: 10px 20px;
  background: #534ab7;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.ga-cta-btn:hover {
  background: #3c3489;
  color: #fff;
  text-decoration: none;
}

/* =============================
   用語辞典 - シングルページ（2カラム）
   ============================= */

.glossary-single-wrap {
  background: #f5f5f2;
  min-height: 60vh;
  padding: 48px 16px 64px;
}

/* 2カラムレイアウト */
.glossary-single-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
	padding: 50px 0 0;
}

/* メインカラム */
.glossary-single-main {
  background: #fff;
  border-radius: 12px;
  padding: 40px 44px;
  min-width: 0;
}

/* パンくず */
.gs-breadcrumb {
  font-size: 12px;
  color: #999;
  margin-bottom: 24px;
  line-height: 1.6;
}

.gs-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.gs-breadcrumb a:hover {
  text-decoration: underline;
}

/* タイトル */
.gs-title {
  font-size: 28px;
  font-weight: 700;
  color: #1b1b1b;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* 読み仮名 */
.gs-yomi {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

/* カテゴリバッジ */
.gs-cat-badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.gs-cat-badge.basic        { background: #eaf3de; color: #3b6d11; }
.gs-cat-badge.print        { background: #e6f1fb; color: #185fa5; }
.gs-cat-badge.web-banner   { background: #eeedfe; color: #534ab7; }
.gs-cat-badge.direction    { background: #faeeda; color: #854f0b; }
.gs-cat-badge.editing      { background: #fde8e8; color: #9b1c1c; }
.gs-cat-badge.seo          { background: #e8f4f8; color: #0e6b8a; }
.gs-cat-badge.ui-ux        { background: #e8fdf3; color: #065f46; }
.gs-cat-badge.abbreviation { background: #fff3cd; color: #7d5a00; }

/* 一言定義 */
.gs-short-def {
  background: #f4f4fb;
  border-left: 4px solid #e8500a;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  font-weight: 500;
}

/* 本文 */
.gs-body {
  font-size: 15px;
  line-height: 1.95;
  color: #333;
  margin-bottom: 32px;
}

/* 使用例・ポイント 共通 */
.gs-usage,
.gs-tip {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.gs-usage h2,
.gs-tip h2 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.gs-usage p,
.gs-tip p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.gs-usage {
  background: #f9f9f9;
}

.gs-usage p {
  font-style: italic;
}

.gs-tip {
  background: #fffbf5;
  border-color: #faeeda;
}


.gs-tip h2 {
  color: #854f0b;
  border-color: #faeeda;
}

/* 関連用語タグ */
.gs-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.gs-related h2 {
  font-size: 14px;
  color: #999;
  margin-bottom: 12px;
  font-weight: 500;
}

.gs-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gs-related ul li a {
  display: inline-block;
  padding: 6px 14px;
  background: #f0f0f8;
  border-radius: 999px;
  font-size: 13px;
  color: #534ab7;
  text-decoration: none;
  border: 1px solid #d0d0e8;
  transition: background 0.15s;
}

.gs-related ul li a:hover {
  background: #e0e0f4;
  text-decoration: none;
}

/* CTAボックス */
.gs-cta {
  background: #eeedfe;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.gs-cta-text {
  font-size: 14px;
  color: #3c3489;
  line-height: 1.6;
}

.gs-cta-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gs-cta-btn {
  font-size: 13px;
  padding: 10px 20px;
  background: #534ab7;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.gs-cta-btn:hover {
  background: #3c3489;
  color: #fff;
  text-decoration: none;
}

/* ===========================
   サイドバー
   =========================== */

.glossary-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

/* ウィジェット共通 */
.gss-widget {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.gss-widget-title {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.gss-widget-lead {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 12px;
}

/* 検索 */
.gss-search-wrap {
  display: flex !important;
  flex-direction: row !important;
  gap: 5px;
}

#gss-search {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
  color: #333;
  outline: none;
  box-sizing: border-box;
  width: auto !important;
}

#gss-search-btn {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #153a5b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s;
}

#gss-search-btn:hover {
  opacity: 0.85;
}

/* カテゴリリスト */
.gss-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gss-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.gss-cat-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.gss-cat-basic        { background: #eaf3de; color: #3b6d11; }
.gss-cat-print        { background: #e6f1fb; color: #185fa5; }
.gss-cat-web-banner   { background: #eeedfe; color: #534ab7; }
.gss-cat-direction    { background: #faeeda; color: #854f0b; }
.gss-cat-editing      { background: #fde8e8; color: #9b1c1c; }
.gss-cat-seo          { background: #e8f4f8; color: #0e6b8a; }
.gss-cat-ui-ux        { background: #e8fdf3; color: #065f46; }
.gss-cat-abbreviation { background: #fff3cd; color: #7d5a00; }
.gss-cat-all          { background: #f0f0f0; color: #555; }

.gss-cat-count {
  font-size: 11px;
  opacity: 0.7;
}

/* コラムリスト */
.gss-col-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gss-col-item {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.gss-col-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gss-col-link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  color: #333;
}

.gss-col-link:hover {
  text-decoration: none;
  color: #e8500a;
}

.gss-col-thumb {
  width: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gss-col-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.gss-col-title {
  font-size: 13px;
  line-height: 1.55;
  color: #333;
  transition: color 0.15s;
}

.gss-col-link:hover .gss-col-title {
  color: #e8500a;
}

/* コラム一覧ボタン */
.gss-col-more {
  display: block;
  text-align: center;
  padding: 9px 0;
  font-size: 13px;
  color: #534ab7;
  border: 1px solid #d0d0e8;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.gss-col-more:hover {
  background: #eeedfe;
  text-decoration: none;
  color: #3c3489;
}

/* =============================
   用語辞典 - スマホ対応
   ============================= */

@media (max-width: 600px) {
  .ga-grid {
    grid-template-columns: 1fr;
  }

  .ga-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .glossary-single-layout {
    grid-template-columns: 1fr;
  }

  .glossary-single-sidebar {
    position: static;
  }

  .glossary-single-main {
    padding: 28px 20px;
  }

  .gs-title {
    font-size: 22px;
  }

  .gs-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =============================
   Cocoon白枠・白背景を打ち消し
   ============================= */

body.post-type-archive-glossary .wrap,
body.single-glossary .wrap {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

body.post-type-archive-glossary #container,
body.single-glossary #container {
  background: transparent;
  box-shadow: none;
  border: none;
}

body.post-type-archive-glossary .main,
body.single-glossary .main {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0 !important;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

body.post-type-archive-glossary #content,
body.single-glossary #content {
  background: transparent;
  padding: 0;
}

body.post-type-archive-glossary .entry-content,
body.single-glossary .entry-content {
  background: transparent;
  padding: 0;
  margin: 0;
}

body.post-type-archive-glossary #sidebar,
body.post-type-archive-glossary .sidebar,
body.single-glossary #sidebar,
body.single-glossary .sidebar {
  display: none !important;
}

body.post-type-archive-glossary #content-area,
body.single-glossary #content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
