/*
Theme Name: WindowsFAQ v.4.0（統合版）
Description: v4.0をベースに、v3.0レガシーテンプレートを統合。「新テーマ」タグ付き記事はv4.0、それ以外はv3.0で表示。
Version: v.4.0.1
*/

/* ========================================
   基本スタイル
   ======================================== */

body {
  background-color: #f5f3e8;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #141413;
}

h1 {
  font-weight: 600;
}

h2 {
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 5rem;
}

h2.wf-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
}

p {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 200;
  color: #141413;
  line-height: 1.8;
  font-size: 17px;
}

.mt-5 {
  margin-top: 5rem !important;
}

.mt-4 {
  margin-top: 4rem !important;
}

.mt-3 {
  margin-top: 3rem !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-0 {
  margin-top: 0rem !important;
}

.fs-2 {
  font-size: 12px !important;
}

.fs-3 {
  font-size: 14px !important;
}

.fw-light {
  font-weight: 200 !important;
}

.container-fluid {
  max-width: 1500px;
}

.badge {
  font-weight: 300 !important;
  padding: 6px 10px !important;
  margin-right: 8px !important;
}

.text-primary {
  color: #38485c !important;
}

.bg-dark {
  background-color: #878684 !important;
  color: #fff !important;
}

.bg-secondary {
  background-color: rgba(245, 243, 232, 1) !important;
}

/* ========================================
   ヘッダー
   ======================================== */

#header {
  border-bottom: 1px solid #dee2e6;
}

#site-title a {
  text-decoration: none;
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
}

#site-title img {
  max-height: 50px;
  width: auto;
}

/* カテゴリリンク（PC表示のみ） */
#category-menu .nav-link {
  color: #666;
  font-weight: 300;
  padding: 0.5rem 1rem;
}

#category-menu .nav-link:hover,
#category-menu .nav-link.active {
  color: #333;
  background-color: #f8f9fa;
}

/* 検索フォーム */
.search-form {
  min-width: 300px;
}

.search-form .form-control {
  border-radius: 20px;
}

.search-form .btn {
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
}

/* モバイル検索ボタン */
.btn-outline-secondary {
  border-color: #dee2e6;
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #333;
}

/* ========================================
   サイトロゴスタイル
   ======================================== */

.wf-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wf-logo svg {
  flex-shrink: 0;
}

.wf-logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #34495e;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.wf-logo-link:hover .wf-logo-text {
  color: #0078d4;
  transition: color 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 575.98px) {
  .wf-logo-text {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .wf-logo svg {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .wf-logo-text {
    font-size: 18px;
  }

  .wf-logo svg {
    width: 36px;
    height: 36px;
  }
}

/* ========================================
   オフキャンバスメニュー（モバイル）
   ======================================== */

.offcanvas {
  background-color: #faf9f5 !important;
}

.offcanvas-body {
  background-color: #faf9f5 !important;
  overflow-y: auto;
}

.offcanvas-body .nav-item {
  border-bottom: 1px solid #dee2e6;
}

.offcanvas-body .nav-link {
  color: #333;
  padding: 1rem;
  display: block;
}

.offcanvas-body .nav-link:hover {
  color: #38485c;
}

/* モバイルサイドバー */
.mobile-sidebar-content {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
}

.mobile-sidebar-content .widget-area {
  margin-bottom: 1.5rem;
}

.mobile-sidebar-content h6 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.mobile-sidebar-content ul {
  padding-left: 0;
}

.mobile-sidebar-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-sidebar-content li:last-child {
  border-bottom: none;
}

.mobile-sidebar-content a {
  color: #333;
  text-decoration: none;
}

.mobile-sidebar-content a:hover {
  color: #0d6efd;
}

/* ========================================
   記事コンテンツ
   ======================================== */

.wf-title-border {
  border-left: solid 6px #4b4b4b;
  padding-left: 0.5rem;
  padding-bottom: 3px;
  margin-top: 15px;
}

/* タイトルエリア */
.wf-title {
  background-color: #555;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px 10px 0 0;
  margin-top: 160px;
  font-weight: 500;
}

.wf-lead {
  border: solid 1px #555;
  border-radius: 0 0 10px 10px;
  padding: 10px 10px 0px 15px;
  margin-top: -10px;
  background-color: #fefdfa;
}

@media (min-width: 1200px) {
  .wf-single-area {
    padding: 3rem 5rem;
  }
}

/* 手順エリア */
li.wf-step-area {
  font-size: 18.5px;
  color: #141413;
}

.wf-step-area {
  padding: 15px;
  margin-bottom: 20px;
}

.wf-step-area > img {
  margin-top: 30px;
}

.wf-step-area.border-end {
  border-right: none !important;
}

/* 手順番号（丸数字） */
.wf-number-step {
  padding: 0;
  margin: 0;
  list-style: none !important;
  counter-reset: list_number;
}

.wf-number-step > li {
  position: relative;
  counter-increment: list_number;
}

.wf-number-step > li::before {
  content: counter(list_number);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color: #757268;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-right: 0.3rem;
}

/* 手順テキスト強調 */
.wf-text {
  padding: 2px 8px;
  margin: -1px;
  margin-bottom: 3rem;
  border: solid 2.5px #bd6258;
  background-color: #e4bdbd;
  display: inline-block;
  font-weight: 600;
  color: #333;
}

/* ヒントエリア */
.wf-hint-space {
  background-color: #dedacd;
  padding: 15px 15px 2px 20px;
  margin: 60px 0;
  border-radius: 10px;
}

.wf-hint-space > p,
.wf-hint-space > ul > li,
.wf-hint-space > ol > li,
.wf-hint-space > li {
  color: #141413 !important;
  font-weight: 300 !important;
}

.wf-hint-space > p > a,
.wf-hint-space > ul > li > a {
  color: #fff !important;
}

/* ========================================
   コードブロック
   ======================================== */

.wf-theme-card-terminal {
  background: #fdfcfa;
  border: 1px solid #dcdbd9;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

.wf-theme-card-terminal pre {
  background: transparent;
  color: #333;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  border: none;
}

/* コピーボタン */
.wf-copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: #333;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.wf-copy-btn:hover {
  background: #f0eee8;
  color: #333;
}

.wf-copy-btn:active {
  background: rgba(255, 255, 255, 0.05);
}

.wf-copy-btn i {
  font-size: 14px;
  line-height: 1;
}

.wf-copy-btn.copied {
  background: rgba(76, 175, 80, 0.95);
}

.wf-copy-btn.copy-error {
  background: rgba(244, 67, 54, 0.95);
}

/* スクロールバー */
.wf-theme-card-terminal pre::-webkit-scrollbar {
  height: 8px;
}

.wf-theme-card-terminal pre::-webkit-scrollbar-track {
  background: #0a0a0a;
  border-radius: 4px;
}

.wf-theme-card-terminal pre::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.wf-theme-card-terminal pre::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ========================================
   サイドバー（折りたたみ機能）
   ======================================== */

.btn-toggle {
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
  background-color: transparent;
  width: 100%;
  text-align: left;
}

.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(var(--bs-emphasis-color-rgb), 0.85);
  background-color: var(--bs-tertiary-bg);
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform 0.35s ease;
  transform-origin: 0.5em 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(var(--bs-emphasis-color-rgb), 0.85);
}

.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: 0.1875rem 0.5rem;
  margin-top: 0.125rem;
  margin-left: 1.25rem;
  display: block;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #f0eee9;
}

/* ========================================
   サイドバー - カテゴリ別記事一覧
   ======================================== */

/* PC表示 */
.sidebar-categories {
  background: rgb(242, 239, 227);
  border: solid 1px #d1d1d1;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.wf-sidebar-area {
  padding-top: 5rem;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e6e6e6;
}

.category-section {
  overflow: hidden;
  border-bottom: solid 1px rgb(224, 211, 211);
}

.category-section .btn-toggle {
  background-color: rgb(241, 239, 227);
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
}

.category-section .btn-toggle .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.badge-radius {
  border-radius: 12px !important;
}

.category-section .btn-toggle-nav {
  background-color: rgb(242, 239, 227);
  border-top: 1px solid rgb(224, 211, 211);
}

.category-section .btn-toggle-nav a {
  color: #666;
  font-size: 0.95rem;
  font-weight: 300;
  transition: all 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.category-section .btn-toggle-nav a:last-child {
  border-bottom: none;
}

.category-section .btn-toggle-nav a.fw-bold {
  color: #0d6efd;
}

/* モバイル表示 */
.mobile-sidebar-wrapper .sidebar-categories {
  background: rgb(242, 239, 227);
  padding: 0;
  border: none;
}

.mobile-sidebar-wrapper .sidebar-title {
  font-size: 0.875rem;
  padding-left: 0;
}

.mobile-sidebar-wrapper .accordion-button {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

.mobile-sidebar-wrapper .accordion-button .badge {
  font-size: 0.7rem;
}

.mobile-sidebar-wrapper .list-group-item {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-left: none;
  border-right: none;
}

.mobile-sidebar-wrapper .list-group-item:first-child {
  border-top: none;
}

.mobile-sidebar-wrapper .list-group-item.fw-bold {
  color: #0d6efd;
  background-color: #f8f9fa;
}

/* ========================================
   レスポンシブ
   ======================================== */

@media (min-width: 1200px) {
  .col-xl-6 {
    width: 100% !important;
  }
}

@media (max-width: 991.98px) {
  /* ヘッダー */
  .search-form {
    min-width: 100%;
    padding-left: 1rem;
  }

  #site-title {
    font-size: 1.2rem;
  }

  /* サイドバー */
  #sidebar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* コードブロック */
  .wf-theme-card-terminal {
    padding: 1rem;
  }

  .wf-theme-card-terminal pre {
    font-size: 13px;
  }

  .wf-copy-btn {
    font-size: 12px;
    padding: 0.3rem 0.6rem;
    top: 8px;
    right: 8px;
  }

  .wf-copy-btn i {
    font-size: 12px;
  }
}

/* ========================================
検索フォーム
   ======================================== */

.input-group-lg > .btn,
.input-group-lg > .form-control,
.input-group-lg > .form-select,
.input-group-lg > .input-group-text {
  padding: 0.5rem 1.75rem !important;
}

/* ========================================
   前後記事ナビゲーション
   ======================================== */

.post-navigation {
  padding: 2rem 0;
}

.post-navigation h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  position: relative;
  padding-bottom: 1rem;
}

.post-navigation h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #878684;
}

.post-nav-card {
  border: 1px solid #e6e6e6;
  transition: all 0.3s ease;
}

.post-nav-card .card-body {
  padding: 1.5rem;
}

.post-nav-card .card-title a {
  transition: color 0.2s ease;
}

.placeholder-thumbnail {
  border: 1px dashed #dee2e6;
}

.card-text {
  line-height: 1.5;
}

/* レスポンシブ調整 */
@media (max-width: 991.98px) {
  .post-nav-card .flex-shrink-0 {
    margin-right: 1rem !important;
  }

  .post-nav-card .flex-shrink-0 img,
  .post-nav-card .placeholder-thumbnail {
    width: 100px !important;
    height: 100px !important;
  }

  .post-nav-card .card-body {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .post-nav-card .flex-shrink-0 img,
  .post-nav-card .placeholder-thumbnail {
    width: 80px !important;
    height: 80px !important;
  }

  .post-navigation h3 {
    font-size: 1.25rem;
  }
}

/* ========================================
   Indexページスタイル
   ======================================== */

/* 検索フォームのスタイル */
.wf-search-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: solid 1px #ccc;
}

.wf-search-input {
  border: none;
  border-radius: 50px 0 0 50px;
  padding: 16px 24px;
  font-size: 1.063rem;
  border-right: 1px solid #e0e0e0;
}

.wf-search-input:focus {
  box-shadow: none;
  border-color: #e0e0e0;
}

.input-group-lg > .btn {
  font-size: 0.96rem !important;
}

.form-control {
  font-weight: 300 !important;
  padding-left: 1rem;
}

.wf-search-button {
  background-color: #232529;
  border-radius: 0 50px 50px 0;
  padding: 16px 32px;
  font-size: 0.93rem;
  font-weight: 500;
  color: #eee;
  transition: all 0.2s ease;
  border: solid 1px #232529;
}

.wf-search-button:hover {
  background-color: #878684;
  color: #fff;
}

.wf-search-button:active,
.wf-search-button:focus {
  background-color: #878684;
  color: #fff;
}

.wf-search-button i {
  font-size: 1.125rem;
}

/* 記事カードのスタイル */
.card {
  background-color: #dedacd;
  border: 1px solid #ccc19e;
}

.list-group-item {
  background-color: #f5f3e8 !important;
}

/* セクションタイトル */
section h2 {
  font-size: 2rem;
  font-weight: 500;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  section h2 {
    font-size: 1.75rem;
  }
}
/* ========================================
   フルワイドヒーロー画像
   ======================================== */

.wf-hero-image {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wf-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================================
   検索結果ページ (Googleスタイル)
   ======================================== */

/* 検索結果ヘッダー */
.google-search-header {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ebebeb;
}

.google-result-stats {
  font-size: 0.875rem;
  color: #70757a;
}

/* 検索結果アイテム */
.google-result-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ebebeb;
}

.google-result-item:last-child {
  border-bottom: none;
}

/* URL表示 */
.google-result-url {
  margin-bottom: 0.25rem;
}

.google-result-url cite {
  font-size: 0.875rem;
  font-style: normal;
  color: #202124;
  line-height: 1.3;
}

/* タイトル */
.google-result-title {
  margin: 0.25rem 0 0.125rem 0;
  line-height: 1.3;
}

.google-result-title a {
  color: #1a0dab;
  font-size: 1.25rem;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
}

.google-result-title a:visited {
  color: #681da8;
}

.google-result-title a:hover {
  text-decoration: underline;
}

/* メタ情報 */
.google-result-meta {
  font-size: 0.875rem;
  color: #70757a;
  margin: 0.25rem 0 0.5rem 0;
  line-height: 1.3;
}

.google-meta-separator {
  margin: 0 0.5rem;
}

.google-category {
  color: #70757a;
}

/* 説明文 */
.google-result-description {
  color: #4d5156;
  font-size: 0.875rem;
  line-height: 1.58;
  max-width: 48rem;
  word-wrap: break-word;
}

/* 検索結果0件 */
.google-no-results {
  padding: 2rem 0;
}

.google-no-results-message {
  font-size: 1.25rem;
  color: #202124;
  margin: 1.5rem 0;
}

.google-no-results-message strong {
  font-weight: 400;
}

/* 検索のヒント */
.google-search-suggestions {
  margin: 2rem 0;
}

.google-search-suggestions p {
  font-size: 1rem;
  color: #202124;
  margin-bottom: 1rem;
}

.google-tips-list {
  list-style: none;
  padding-left: 0;
  color: #4d5156;
  font-size: 0.875rem;
  line-height: 1.8;
}

.google-tips-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.google-tips-list li:before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #4d5156;
}

/* 再検索フォーム */
.google-search-again {
  max-width: 600px;
}

/* ページネーション */
.google-pagination {
  text-align: center;
  padding: 2rem 0;
}

/* レスポンシブ対応 */
@media (max-width: 767.98px) {
  .google-result-item {
    padding: 1.25rem 0;
  }

  .google-result-title a {
    font-size: 1.125rem;
  }

  .google-result-description {
    font-size: 0.8125rem;
  }

  .google-result-url cite {
    font-size: 0.8125rem;
  }
}

@media (max-width: 575.98px) {
  .google-result-item {
    padding: 1rem 0;
  }

  .google-result-title a {
    font-size: 1rem;
  }

  .google-result-stats {
    font-size: 0.8125rem;
  }

  .google-no-results-message {
    font-size: 1.125rem;
  }
}

/* ページネーション（Bootstrap + Googleスタイル） */
.google-pagination .pagination {
  gap: 0.5rem;
}

.google-pagination .page-link {
  color: #1a0dab;
  border: 1px solid #dfe1e5;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  padding: 0;
}

.google-pagination .page-link:hover {
  background-color: #f8f9fa;
  color: #1a0dab;
  border-color: #dfe1e5;
}

.google-pagination .page-item.active .page-link {
  background-color: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
  font-weight: 500;
}

.google-pagination .page-item.disabled .page-link {
  color: #80868b;
  background-color: transparent;
  border-color: #dfe1e5;
}

/* 前へ・次へボタン */
.google-pagination .page-item:first-child .page-link,
.google-pagination .page-item:last-child .page-link {
  width: auto;
  padding: 0.5rem 1rem;
  border-radius: 4px !important;
}

.google-pagination .page-item:first-child .page-link {
  margin-right: 0.5rem;
}

.google-pagination .page-item:last-child .page-link {
  margin-left: 0.5rem;
}

/* 省略記号 */
.google-pagination .page-item.disabled .page-link {
  border: none;
  background: transparent;
}

/* グローブアイコン */
.google-result-url i.bi-globe {
  color: #70757a;
  font-size: 0.875rem;
  vertical-align: baseline;
}

/* レスポンシブ対応 */
@media (max-width: 575.98px) {
  .google-pagination .page-link {
    width: 36px;
    height: 36px;
    font-size: 0.8125rem;
  }

  .google-pagination .page-item:first-child .page-link,
  .google-pagination .page-item:last-child .page-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
  }

  .google-pagination .pagination {
    gap: 0.25rem;
  }
}

/* モバイルサイドバー - カテゴリセクションの囲み線を削除 */
.mobile-sidebar-wrapper .category-section {
  border: none;
  border-bottom: 1px solid #e6e6e6;
}

.mobile-sidebar-wrapper .category-section:last-child {
  border-bottom: none;
}

.mobile-sidebar-wrapper .btn-toggle {
  border: none;
  background-color: #faf9f5;
}

.mobile-sidebar-wrapper .btn-toggle-nav {
  background-color: #faf9f5;
  border: none;
}

.mobile-sidebar-wrapper .btn-toggle-nav a {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-sidebar-wrapper .btn-toggle-nav a:last-child {
  border-bottom: none;
}

/* ========================================
   タブ切り替え（wf-tab）
   ======================================== */
.wf-tab {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4rem;
}

/* radioボタンを非表示 */
.wf-tab-switch {
  display: none;
}

/* ラベル（タブ見出し）を横並びにする */
.wf-tab-label {
  order: -1;
  display: inline-block;
  color: #999;
  margin-right: 1rem;
  padding: 0.2rem 2rem;
  border-bottom: solid 4px transparent;
  cursor: pointer;
}

.wf-tab-label h3 {
  display: inline;
  margin: 0;
  font-size: 1rem;
  font-weight: inherit;
  color: inherit;
}

/* 全コンテンツを非表示 */
.wf-tab-content {
  width: 100%;
  display: none;
  margin-top: 3rem;
}

/* checked されたタブのラベルをアクティブに */
.wf-tab-switch:checked + .wf-tab-label {
  color: #333;
  font-weight: 500;
  border-bottom-color: #b55656;
}

/* checked されたタブのコンテンツを表示 */
.wf-tab-switch:checked + .wf-tab-label + .wf-tab-content {
  display: block;
}

/* 3タブ以上の順序制御 */
.wf-tab-order .wf-tab-label:last-of-type {
  order: -2;
}
