@charset "utf-8";

/* --- Base --- */
/* === 基本スタイル（色・フォント・全体の設定） === */
:root{
  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --text: #212529;
  --muted: #6c757d;
  --border-color: #dee2e6;
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --container: 1100px;
  
  /* Brand Colors */
  --brand-green: #4CAF50; /* Mint Green */
  --brand-orange: #9B7653; /* Coral Orange */
  --brand-pink: #d63384; /* Magenta */
  --brand-red: #dc3545; /* Cherry Red */
  --brand-indigo: #247FBB; /* Indigo */
  --brand-blue: #0ea5e9;
  --brand-gold: #ffc107;
  --brand-primary: #0d6efd;
}

/* Dark Mode */
/*@media (prefers-color-scheme: dark) {
  :root{
    --bg: #121212;
    --bg-card: #1e1e1e;
    --text: #e9ecef;
    --muted: #adb5bd;
    --border-color: #495057;
  }
}*/

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0; padding: 0;
  font-family: "ƒqƒ‰ƒMƒmŠpƒS Pro W3", "Hiragino Kaku Gothic Pro", "ƒƒCƒŠƒI", Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
a {
  color: var(--brand-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
em {
  font-style: normal;
  color: var(--brand-red);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-top: 24px;
}
.mt-2 {
  margin-top: 8px;
}
.mt-3 {
  margin-top: 16px;
}
.center {text-align: center;
}
/* --- Header & Buttons --- */
/* === ヘッダーとボタン関連のスタイル === */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.site-header .hero {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.primary-nav {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease-in-out;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.btn-line {
  background: #1DB954;
  color: #fff;
  border-color: transparent;
}
.btn-outline {
  background: transparent;
}
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: transparent;
}
.cart-btn {background: #ffd700;
}
.saturday-hit {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--brand-gold);
}

/* --- Grid & Cards --- */
/* === グリッドレイアウトとカードコンポーネント === */
.grid-2, .grid-3, .grid-4, .kpis {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.kpis {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.card {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease-in-out;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.card p {
  margin-top: 0;
  flex-grow: 1;
  color: var(--muted);
  font-size: 0.95rem;
}
.card .btn {
  margin-top: auto;
}
.card img {
  display: block;
}
.inner-card {
  background: var(--bg-card);
  padding: 8px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all .2s ease-in-out;
  display: flex;
  flex-direction: column;
}

.inner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* --- Section Bars & Category Bars (CUTE Colors) --- */
.section-bar {
  font-size: 1.17em;
  font-weight: bold;
  color: #fff;
  background: var(--brand-indigo);
  padding: 10px 14px; border-radius: 8px;
  margin: 32px 0 16px; text-align: center;
}
.bar, .n_bar, .hotbar, .greenbar, .redbar {
  color:#fff;
  font-weight:700;
  text-align:center;
  padding:10px 14px;
  border-radius: 8px;
  margin: 32px 0 16px;
  border-bottom: 3px solid rgba(0,0,0,0.15);
}
.bar {
  background: var(--brand-green);
} 
.n_bar {
  background: var(--brand-orange);
}
.hotbar {
  background: var(--brand-pink);
} 
.greenbar {
  background: #0dcaf0;
} /* Cyan */
.redbar {
  background: var(--brand-red);
}

/* --- Components --- */
/* === 汎用コンポーネント（タグ・表・FAQなど） === */
.tag {
  display:inline-block;
  font-size:.8rem;
  background:var(--bg);
  border: 1px solid var(--border-color);
  padding:2px 8px;
  border-radius:999px;
  margin-right:6px;
}
.em {
  color: var(--brand-red);
  font-weight: 700;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th, .table td {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 14px;
  white-space: nowrap;
  text-align: left;
}
.table th {
  background: var(--bg);
}
.table tbody tr:last-child th, .table tbody tr:last-child td {
  border-bottom: none;
}
.kpi-card {
  text-align: center;
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.kpi-value {
  font-size: 1.8rem;
  font-weight: 800;
}
.kpi-label {
  color: var(--muted);
  font-size: .85rem;
}

.chip {
  display:inline-block;
  font-size: .8rem;
  background: var(--bg);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 999px;
}
.chip-g1 {
  background: var(--brand-gold);
  color:#111;
  border-color: transparent;
}
.chip-g2{
  background:#C0C0C0;
  color:#111; border-color: transparent;
}
.chip-g3{
  background:#D9924E;
  color:#111;
  border-color: transparent;
}
.chip-gold {
  background: linear-gradient(45deg, #ffd700, #f0c000);
  color: #333;
  border-color: transparent;
  font-weight: bold;
}
.image-card {
  padding: 8px;
  text-decoration: none;
  color: var(--text);
} 
.image-card img {
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 8px;
} 
.image-card p {
  text-align: center;
  font-weight: 600;
  margin: 0; 
}
.pick-card-header {
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.pick-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
}
.faq details {
  background: var(--bg-card);
  border:1px solid var(--border-color);
  border-radius: var(--radius);
  padding:12px 16px;
  margin:10px 0;
}
.faq summary {
  cursor:pointer;
  font-weight: 700;
}
.vcard {
  text-align: center;
} 
.vcard-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm); 
}

/* --- column --- */
/* === コラム表示非表示切替 === */
.column-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.column-card .card {
  height: 100%;
}
.column-card.inactive .card {
  height: 100%;
}
.column-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* カバー用 */
.column-card.inactive .overlay {
  position: absolute;
  inset: 0; /* top/right/bottom/left:0 と同じ */
  background: rgba(255,255,255,0.8);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  padding: 8px;
  font-size: 1.1rem;
}

.column-card.active .overlay {
  display: none; /* 入稿済みはカバー非表示 */
}


/* --- Featured Forecaster --- */
/* === 予想家紹介セクション === */
.featured-forecaster-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.featured-forecaster {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--brand-gold);
}
.featured-forecaster-img img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.featured-forecaster-title {
  font-size: 1.5rem;
  margin: 8px 0;
}
.featured-forecaster-desc {
  color: var(--muted);
  margin: 0 0 16px;
}

/* --- Steps (How to Purchase) --- */
.steps {
  list-style: none;
  counter-reset: steps;
  padding-left: 20px;
  margin: 24px auto;
  max-width: 500px;
}
.steps li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}
.steps li::before {
  content: counter(steps);
  counter-increment: steps;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  text-align: center;
  line-height: 24px;
  font-size: 0.9rem;
}

/* --- Update List --- */
/* === 更新情報リスト === */
.update-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.update-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}
.update-list li:last-child {
  border-bottom: none;
}
.update-list time {
  color: var(--muted);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.badge {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: .75rem;
  padding: 2px 6px;
  border-radius: 6px;
}

/* --- Tabs --- */
/* === タブ切り替えコンポーネント === */
.tabs {
  display: flex;
  gap: 0;
  margin: 20px 0;
  border-bottom: none;
}
.tab {
  flex-grow: 1; /* タブを均等に広げる */
  padding: 20px 16px;
  border: none;
  border-bottom: 1px solid var(--muted);
  border-radius: 8px 8px 0 0;
  background-color: #f1f3f5;
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}
.tab.is-active {
  border: 1px solid var(--muted);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: transparent;
/*border-bottom-color: var(--brand-blue);*/
  color: var(--text);
}
.tab:hover {
  color: var(--text);
}
.tabpanel[hidden] {
  display:none;
}

/* --- Footer & Etc --- */
/* === フッターとその他のスタイル === */
.footer-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /*background: #f1f3f5;  薄い背景色、なくてもOK */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-sns a:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.footer-sns img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.app-download {
  text-align: center;
  margin: 24px 0;
}

.app-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.app-badges img {
  height: 50px; /* バッジ画像の高さを統一 */
  width: auto;
  transition: transform 0.2s ease;
}

.app-badges img:hover {
  transform: scale(1.05);
}

.site-footer {
  margin-top: 60px;
  padding: 32px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  color: var(--muted);
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  gap: 12px 24px;
}
.footer-nav a {
  color: var(--muted);
}
.copyright {
  text-align: center;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background:#111;
  color:#fff;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
}
.back-to-top.show {
  opacity: .8;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- 固定フローティングボタン --- */
#fixed-cart-btn {
  /* 固定配置の基本設定 */
  position: fixed;
  right: 20px;
  bottom: 80px; /* ページトップボタンと重ならないように調整 */
  z-index: 1000; /* 最前面に表示 */
  
  /* 円形化とサイズ調整 */
  width: 60px;
  height: 60px;
  border-radius: 50%; /* 完全な円形 */

  /* 見た目の調整 */
  background: #f0c000; 
  color: #000;
  border-color: transparent;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0; /* 透明にして非表示 */
  visibility: hidden; /* クリック不可にする */
  transition: opacity 0.3s, visibility 0.3s; /* フェードイン・アウトのアニメーション */
}

/* ホバー効果を強化 */
#fixed-cart-btn:hover {
  transform: scale(1.05); /* 少し大きくしてクリック感を出す */
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

/* 表示用のクラス */
#fixed-cart-btn.show {
  opacity: 1;
  visibility: visible;
}

/* --- モバイルでの調整 --- */
@media (max-width: 720px) {
  #fixed-cart-btn {
    /* スマホで画面幅いっぱいに表示し、タップしやすくする */
    width: auto; /* 幅を自動にして画面に合わせる */
    left: auto;
    right: 20px;
    bottom: 80px; 
	border-radius: 999px;
  }
}

@media (prefers-color-scheme: dark) {
  .back-to-top { background-color: #eee;
  color: #111;
} }

/* --- Responsive --- */
/* === レスポンシブ対応（モバイル用） === */
@media (max-width: 720px) {
.section-bar {
  font-size: 1.17em; font-weight: bold; color: #fff;
  background: var(--brand-indigo);
  padding: 6px 10px; border-radius: 8px;
  margin: 20px 0 8px; text-align: center;
}
.bar, .n_bar, .hotbar, .greenbar, .redbar {
  color:#fff;
  font-weight:700;
  text-align:center;
  padding:6px 14px;
  border-radius: 8px;
  margin: 20px 0 8px;
  border-bottom: 3px solid rgba(0,0,0,0.15);
}
#news-table {
    font-size: 0.6em;
}
.primary-nav {
  flex-direction: column;
}
.btn {
  width: 100%;
}
.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}
.featured-forecaster {
  grid-template-columns: 1fr;
  text-align: center;
}
.featured-forecaster-img {
  margin: 0 auto;
} 
}