@charset "UTF-8";

:root {
  --main-color: #00b894;
  --accent-color: #d63031;
  --bg-light: #f5f6fa;
  --text-main: #333333;
}

/* サイトジャック（背景） */
.site-jack-bg { display: none; }
@media (min-width: 1024px) {
  .site-jack-bg {
    display: block; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('https://example.com/your-bg.jpg') no-repeat center center;
    background-size: cover; z-index: -1; cursor: pointer; transition: opacity 0.3s;
  }
  .site-jack-bg:hover { opacity: 0.8; }
  
  /* 固定ページ自体を白背景のカード状にして浮かせる */
  .home .l-contents { max-width: 1100px; margin: 40px auto; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.1); border-radius: 8px; padding: 20px; }
}

/* =========================================
   スライダー（Swiper）デザイン
========================================= */
.shisaSwiper { width: 100%; margin-bottom: 40px; padding-bottom: 30px; }
.shisaSwiper .swiper-slide { border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.slide-link { display: block; position: relative; text-decoration: none; }
.slide-link img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 0.3s; }
.slide-link:hover img { transform: scale(1.05); }
.slide-title-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.7);
  padding: 10px; box-sizing: border-box;
}
.slide-title-overlay span { color: #fff; font-size: 0.9rem; font-weight: bold; line-height: 1.4; display: block; }
.swiper-pagination-bullet-active { background: var(--main-color) !important; }

/* =========================================
   固定ページ内 2カラムレイアウト
========================================= */
.shisa-layout { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.shisa-main { flex: 1; min-width: 0; }
.shisa-sidebar { width: 320px; }
@media (max-width: 991px) { .shisa-sidebar { width: 100%; } }

/* AppMedia風 見出し */
.am-heading {
  font-size: 1.3rem; font-weight: bold; color: var(--text-main);
  border-bottom: 2px solid #e0e0e0; position: relative; padding-bottom: 8px; margin: 0 0 20px 0;
}
.am-heading::before {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--accent-color);
}

/* アイコンメニュー（攻略Wiki風） */
.icon-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 30px; }
.icon-item { text-align: center; text-decoration: none; color: var(--text-main); font-size: 0.8rem; font-weight: bold; transition: opacity 0.2s; }
.icon-item:hover { opacity: 0.7; }
.icon-item img { width: 100%; aspect-ratio: 1; border-radius: 20%; object-fit: cover; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 5px; }
@media (max-width: 600px) { .icon-menu-grid { grid-template-columns: repeat(3, 1fr); } }

/* カード型 記事一覧 */
.shisa-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 40px; }
@media (max-width: 600px) { .shisa-card-grid { grid-template-columns: 1fr; } }
.shisa-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text-main);
  background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.2s;
}
.shisa-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.shisa-card-img { position: relative; width: 100%; aspect-ratio: 16/9; background: #f0f0f0; }
.shisa-card-img img { width: 100%; height: 100%; object-fit: cover; }
.no-img { display: flex; align-items: center; justify-content: center; height: 100%; color: #999; }
.shisa-card-tag {
  position: absolute; top: 0; left: 0; background: var(--accent-color); color: #fff;
  font-size: 0.7rem; padding: 4px 8px; font-weight: bold;
}
.shisa-card-content { padding: 12px; }
.shisa-card-title { font-size: 0.95rem; font-weight: bold; margin: 0; line-height: 1.5; }

/* サイドバー装飾 */
.sidebar-widget { background: var(--bg-light); border-radius: 8px; padding: 20px; margin-bottom: 25px; }
.sidebar-title { font-size: 1.1rem; font-weight: bold; margin: 0 0 15px 0; padding-left: 10px; border-left: 4px solid var(--main-color); }
.youtube-box { position: relative; width: 100%; padding-bottom: 56.25%; border-radius: 8px; overflow: hidden; }
.youtube-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* スマホ用フッター */
.mobile-sticky-footer {
  position: fixed; bottom: 0; left: 0; width: 100%; background: #ff0000; color: #fff; text-align: center;
  padding: 15px 10px; text-decoration: none; font-weight: bold; z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
@media (min-width: 1024px) { .mobile-sticky-footer { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 60px !important; } }