@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* トピックdays!! 共通スタイル（front-page 専用） */
:root{
  --bg:#0b0c10; --panel:#12141a; --muted:#a6adbb; --text:#e7ecf3;
  --brand:#67e8f9; --brand-2:#8b5cf6; --chip:#1b1e27; --card:#0f1117; --border:#1d2230;
}
.tdays *{box-sizing:border-box}
.tdays{color:var(--text); background:
  radial-gradient(1200px 600px at 20% -10%, rgba(103,232,249,.12), transparent),
  radial-gradient(1000px 500px at 110% -20%, rgba(139,92,246,.12), transparent),
  var(--bg);}
.tdays a{color:inherit; text-decoration:none}
.tdays .wrap{max-width:1152px; margin:0 auto; padding:16px 20px}

/* header（SWELLヘッダーはそのまま使う／ここでは main 内の検索などの見た目のみ） */
.tdays .hdr-grid{display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center}
.tdays .brand{display:flex; align-items:center; gap:12px}
.tdays .logo{display:inline-flex; align-items:center; gap:8px; font-weight:800; letter-spacing:.2px; font-size:20px;
  padding:10px 14px; border-radius:14px; background:linear-gradient(135deg, rgba(103,232,249,.2), rgba(139,92,246,.2));
  border:1px solid rgba(103,232,249,.25);}
.tdays .logo .bang{font-weight:900; color:var(--brand)}
.tdays .tagline{font-size:12px; color:var(--muted)}
.tdays .search{display:flex; gap:10px; align-items:center; background:var(--panel); border:1px solid var(--border); padding:8px 10px; border-radius:12px}
.tdays .search input{background:transparent; border:none; outline:none; color:var(--text); width:220px}
.tdays .nav{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.tdays .chip{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--border); background:var(--chip); border-radius:999px; font-size:13px; color:#cbd5e1}
.tdays .chip.is-hot{border-color:rgba(103,232,249,.45); box-shadow:0 0 0 3px rgba(103,232,249,.12) inset}

/* hero */
.tdays .hero{margin:28px 0 12px; display:grid; grid-template-columns:1.2fr .8fr; gap:18px}
.tdays .hero-card{border:1px solid var(--border); background:linear-gradient(180deg, rgba(27,30,39,.9), rgba(15,17,23,.9)); border-radius:16px; overflow:hidden}
.tdays .hero-img{aspect-ratio:16/9; background:linear-gradient(135deg, rgba(103,232,249,.15), rgba(139,92,246,.15)); display:flex; align-items:center; justify-content:center; font-weight:700; color:#9bdcf0}
.tdays .hero-body{padding:16px}
.tdays .eyebrow{font-size:12px; color:#9aa4b2; letter-spacing:.3px}
.tdays .h1{font-size:26px; line-height:1.35; margin:8px 0 6px}
.tdays .meta{display:flex; gap:12px; align-items:center; color:#9aa4b2; font-size:12px}

/* grid */
.tdays .main{display:grid; grid-template-columns:1fr 300px; gap:20px}
.tdays .grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:12px}
.tdays .card{border:1px solid var(--border); border-radius:14px; background:var(--card); overflow:hidden}
.tdays .thumb{aspect-ratio:16/9; background:linear-gradient(120deg, rgba(103,232,249,.12), rgba(139,92,246,.12))}
.tdays .body{padding:12px 14px}
.tdays .kicker{font-size:11px; color:#93a0b3}
.tdays .title{font-size:16px; font-weight:700; line-height:1.45; margin:6px 0}
.tdays .more{display:inline-flex; gap:6px; align-items:center; font-size:13px; color:var(--brand)}

.tdays .side{display:flex; flex-direction:column; gap:16px}
.tdays .panel{border:1px solid var(--border); background:var(--panel); border-radius:14px; padding:14px}
.tdays .panel h3{margin:0 0 10px; font-size:14px; color:#cfd6e4; letter-spacing:.2px}
.tdays .list{display:grid; gap:10px}
.tdays .list a{font-size:13px; color:#cfd6e4}

/* responsive */
@media (max-width:980px){
  .tdays .hero{grid-template-columns:1fr}
  .tdays .main{grid-template-columns:1fr}
  .tdays .grid{grid-template-columns:repeat(2,1fr)}
  .tdays .hdr-grid{grid-template-columns:1fr}
  .tdays .search input{width:100%}
}
@media (max-width:640px){
  .tdays .grid{grid-template-columns:1fr}
}


/* ===== topic-days front page minimal ===== */
.td-hero { text-align:center; padding: 28px 16px; background: #fff7ed; border-radius: 14px; }
.td-hero__ttl { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color:#b45309; }
.td-hero__sub { color:#7c2d12; }
.td-hero .tagcloud a { display:inline-block; padding:.25em .6em; border:1px solid #fdba74; border-radius:999px; margin:.25em; font-size: 12px !important; }

.td-sec__head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.td-sec__ttl { font-size:20px; font-weight:700; border-left:6px solid #f97316; padding-left:10px; }
.td-sec__more { font-size:14px; text-decoration:underline; }

.td-cards--grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
.td-cards--grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.td-cards--row4 { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
@media (max-width: 1024px){ .td-cards--grid3{ grid-template-columns:1fr 1fr; } .td-cards--row4{ grid-template-columns:1fr 1fr; } }

.td-card { background:#fff; border:1px solid #eee; border-radius:12px; overflow:hidden; }
.td-card__thumb img, .td-media__thumb img { width:100%; height:auto; display:block; }
.td-thumb--noimg { background:#f5f5f5; aspect-ratio:16/9; }
.td-card__body { padding:10px; }
.td-card__ttl { font-size:16px; line-height:1.5; }
.td-card__meta { display:flex; gap:10px; font-size:12px; color:#666; }

.td-media { display:flex; gap:10px; padding:10px; border-bottom:1px solid #eee; }
.td-media__thumb { width:96px; flex:0 0 96px; }
.td-media__ttl { font-size:15px; margin: 2px 0; }

.td-tabs__nav { display:flex; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.td-tabs__btn { padding:.5em .9em; border:1px solid #f59e0b; border-radius:999px; background:#fff; }
.td-tabs__btn.is-active { background:#f59e0b; color:#fff; }
.td-tabs__pane { display:none; }
.td-tabs__pane.is-active { display:block; }

/* ====== 注目ラベル ====== */
.td-label--pickup {
  display:inline-block;
  background:#f97316; /* サイト基調のオレンジ */
  color:#fff;
  font-weight:700;
  font-size:12px;
  padding:2px 8px;
  border-radius:6px;
  margin-bottom:6px;
}

/* === Top: Feature + Utility (検索は小さく) === */
.td-top__grid{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(280px,1fr);
  gap:20px;
}
.td-card--feature-lg .td-card__ttl--lg{
  font-size: clamp(18px, 2.4vw, 26px);
  line-height:1.35;
  margin:6px 0 4px;
}
.td-card--feature-lg .td-card__excerpt{
  margin-top:6px; color:#555; font-size:14px;
}

/* 小さな検索 */
.td-utility__box{background:#fff; border:1px solid #eee; border-radius:12px; padding:12px; margin-bottom:12px;}
.td-utility__ttl{font-size:14px; margin:0 0 8px;}
.td-search-min .search-form,
.td-search-min form{display:flex; gap:8px; align-items:center}
.td-search-min input[type="search"]{
  height:36px; padding:0 10px; font-size:14px; border:1px solid #ddd; border-radius:8px; width:100%;
}
.td-search-min input[type="submit"],
.td-search-min button{
  height:36px; padding:0 12px; font-size:14px; border-radius:8px;
}

/* タグクラウドを小さめに整える */
.td-hot-tags .tagcloud a{
  display:inline-block; margin:4px 6px 0 0; padding:.2em .6em;
  border:1px solid #fcd19b; border-radius:999px; font-size:12px !important; color:#b45309;
}

/* 注目! ラベル（既存） */
.td-label--pickup{
  display:inline-block; background:#f97316; color:#fff; font-weight:700;
  font-size:12px; padding:2px 8px; border-radius:6px; margin-bottom:6px;
}

/* レスポンシブ：検索は下に回り、記事カードを優先表示 */
@media (max-width: 980px){
  .td-top__grid{ grid-template-columns:1fr; }
}

/* ===== 強制的に2カラム化して右サイドバーにする ===== */
.l-container--2col {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.l-content {
  flex: 1 1 auto;
  min-width: 0;
}

.l-sidebar {
  flex: 0 0 300px;
  margin-left: auto; /* 常に右側へ */
}