
/* 全体背景 */
body {
  background: #F7F3ED;
}

/* ヘッダー背景 */
.header {
  background: #F6A068;
}

.header a {
  color: #fff;
}

/* ロゴ */
.logo__text {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo__link {
  text-decoration: none;
}

.logo__tagline {
  display: none;
}

.logo__title {
  color: #333;
  border-bottom: 2px solid rgba(255,255,255,0.9);
  padding-bottom: 3px;
  display: inline;
}

/* ナビゲーションメニュー */
.menu__btn {
  color: #fff;
}

.menu__btn-title {
  color: #fff;
}

/* リンクカラー */
a {
  color: #F6A068;
}

a:hover {
  color: #e08050;
}

/* 見出しボーダー */
.content h2 {
  border-left: 4px solid #F6A068;
  padding-left: 10px;
}

/* フッター */
.footer {
  background: #DDC29B;
  color: #fff;
}

.footer a {
  color: #fff;
}

/* ボタン・タグ */
.widget__tags .widget__tags-btn {
  background: #F7C57B;
  color: #555;
  border: none;
}

/* カード記事タイトルホバー */
.post__title a:hover {
  color: #F6A068;
}

/* サイドバーウィジェットタイトル */
.widget__title {
  border-left: 3px solid #F6A068;
}

/* コンテンツエリア背景 */
.content {
  background: #fff;
}

/* カード背景 */
.post {
  background: #fff;
}

/* ヘッダーうさぴょん */
.header-usapyon {
  height: 60px;
  width: auto;
  margin: 0 12px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* サイドバープロフィールウィジェット */
.usapyon-widget {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.usapyon-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.usapyon-profile-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.usapyon-profile-name {
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  margin: 0 0 4px;
}

.usapyon-profile-role {
  font-size: 0.8rem;
  color: #F6A068;
  margin: 0;
}

.usapyon-profile-bio {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
  border-top: 1px solid #f0e8e0;
  padding-top: 10px;
}

/* トップページバナー */
.usapyon-banner {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.usapyon-banner-img {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}

.usapyon-banner-text h2 {
  font-size: 1.1rem;
  color: #F6A068;
  margin: 0 0 6px;
  border: none;
  padding: 0;
}

.usapyon-banner-text p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

/* 吹き出し */
.usapyon-speech {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0;
}

.usapyon-speech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 64px;
}

.usapyon-speech-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #f9c8c8;
  background: #fff;
}

.usapyon-speech-name {
  font-size: 0.75rem;
  color: #F6A068;
  margin-top: 4px;
  font-weight: 700;
}

.usapyon-speech-bubble {
  position: relative;
  background: #fff8f5;
  border: 2px solid #f9c8c8;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  flex: 1;
}

.usapyon-speech-bubble::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 18px;
  border: 6px solid transparent;
  border-right-color: #f9c8c8;
}

.usapyon-speech-bubble::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 19px;
  border: 5px solid transparent;
  border-right-color: #fff8f5;
}

/* ===== ホームページ カードグリッド ===== */

/* 記事一覧を2カラムグリッドに */
.main.list .list__item {
  width: 100%;
}

.main.list {
  display: grid;
  grid-template-columns: 1fr;
}

/* カードアイテム */
.card-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0 !important;
  padding: 0 !important;
}

.card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* カードサムネイルラップ */
.card-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.card-thumb-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* サムネイルなし時のプレースホルダー */
.card-no-image {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #fff8f5, #fce8d8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* カテゴリバッジ */
.card-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #F6A068;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  pointer-events: none;
}

/* カード本文 */
.card-body {
  padding: 14px 16px 16px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.card-title a {
  color: #333;
  text-decoration: none;
}

.card-title a:hover {
  color: #F6A068;
}

.card-meta {
  font-size: 0.8rem;
  color: #999;
}

/* 記事グリッドラッパー */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

/* ===== フィーチャーバナー（カテゴリ4枚） ===== */
.featured-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.featured-cat-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 110px;
  text-decoration: none;
  display: block;
}

.featured-cat-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.2s;
}

.featured-cat-card:hover .featured-cat-card-overlay {
  background: rgba(246,160,104,0.6);
}

.featured-cat-card-icon {
  font-size: 1.6rem;
}

.featured-cat-card-label {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* カテゴリ別バッジ色 */
.featured-cat-card[data-cat="おすすめ"] .featured-cat-card-overlay { background: rgba(246,160,104,0.55); }
.featured-cat-card[data-cat="口コミ"] .featured-cat-card-overlay { background: rgba(200,100,150,0.55); }
.featured-cat-card[data-cat="初心者"] .featured-cat-card-overlay { background: rgba(100,160,220,0.55); }
.featured-cat-card[data-cat="比較"] .featured-cat-card-overlay { background: rgba(100,180,140,0.55); }

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