/* ▼ ベース設定 */
body.faq-page {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: #333;
  margin: 0;
  padding: 0;
  background: url("http://asagi-tax.jp.testrs.jp/002/wp-content/uploads/2025/07/壁紙.png") no-repeat center center / cover;
}

/* ▼ 共通ヘッダー */
.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.custom-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
}

.custom-header-left img {
  height: 40px;
}

.custom-header-right a {
  margin-left: 24px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.custom-header-right a:hover {
  opacity: 0.7;
}

.custom-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.custom-header-right a.sns-icon {
  margin-left: 12px;
}

.custom-header-right a.sns-icon img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.custom-header-right a.sns-icon:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}


/* ▼ コンテンツ本体 */
.transparent-background-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 5% 80px; /* ヘッダー分の余白込み */
}

/* ▼ セクションタイトル */
.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

/* ▼ Q&Aカード：レスポンシブ対応の2列グリッド */
.qa-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  justify-items: center;
}

/* ▼ Q&Aカード */
.qa-card {
  width: 100%;
  max-width: 520px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.qa-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.qa-card p {
  font-size: 16px;
  line-height: 1.6;
  text-align: left !important;
}



/* ▼ 不要な疑似ロゴを非表示にする（WordPress対策） */
.custom-header-left::before {
  content: none !important;
  display: none !important;
}

