/* --- Design Tokens (Rich Black & Platinum) --- */
:root {
--color-bg: #0f1115; /* 漆黒 (リッチブラック) */
--color-card-bg: #1a1d24;
--color-text-main: #ffffff;
--color-text-sub: #a0aec0; /* プラチナグレー */
--color-accent-red: #d32f2f; /* Full-Count Red (ロゴ用) */
--color-accent-platinum: #e2e8f0; /* アクセント用プラチナ */
--color-border: rgba(255, 255, 255, 0.1);
--font-main: "Noto Sans JP", sans-serif;
}

/* ===========================================
   トップストーリーレイアウト
   =========================================== */

/* グリッドコンテナ */
#piano-fc-plus-LP__top-story > div[style] {
  display: grid;
  grid-template-columns: 60% 1fr;
  grid-template-rows: auto;
  gap: 24px;
  padding: 0 16px !important;
  align-items: start;
}

/* -------------------------------------------
   メイン記事（左カラム）
   ------------------------------------------- */
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child {
  grid-column: 1;
  grid-row: 1 / span 4;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child .c-article-row__content {
  display: block;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child .c-article-row__pic {
  width: 100%;
  margin-bottom: 16px;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child .c-article-row__pic img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child .c-article-row__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child .c-article-row__meta-cat {
  font-size: 13px;
}

/* -------------------------------------------
   サブ記事（右カラム）
   ------------------------------------------- */
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(2),
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(3),
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(4),
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(5) {
  grid-column: 2;
  display: flex;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(2) { grid-row: 1; }
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(3) { grid-row: 2; }
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(4) { grid-row: 3; }
#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(5) { grid-row: 4; }

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(n+2) .c-article-row__content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(n+2) .c-article-row__pic {
  flex: 0 0 150px !important;
  width: 150px;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(n+2) .c-article-row__pic img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(n+2) .c-article-row__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(n+2) .c-article-row__meta-cat {
  font-size: 11px;
  color: #666;
}

#piano-fc-plus-LP__top-story .c-article-row__meta-cat {
  padding: .5em 0 !important;
}

/* -------------------------------------------
   レスポンシブ（768px以下）
   ------------------------------------------- */
@media (max-width: 768px) {
  #piano-fc-plus-LP__top-story > div[style] {
    grid-template-columns: 1fr;
  }
  
  #piano-fc-plus-LP__top-story .c-article-row--side-by-side:first-child {
    grid-row: 1;
  }
  
  #piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(n+2) {
    grid-column: 1;
  }
  
  #piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(2) { grid-row: 2; }
  #piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(3) { grid-row: 3; }
  #piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(4) { grid-row: 4; }
  #piano-fc-plus-LP__top-story .c-article-row--side-by-side:nth-child(5) { grid-row: 5; }
}

/* ===========================================
   共通スタイル・レイアウト調整
   =========================================== */

/* 1カラムレイアウト */
.l-main__content {
  display: block !important;
}

.l-main__content-primary {
  width: 100% !important;
  max-width: 100% !important;
}

/* 記事カードのリセット */
.c-article-row__content {
  background: transparent !important;
}

.c-article-row--side-by-side .c-article-row__content {
  padding: 0 !important;
  border-bottom: 0 !important;
}

.c-article-row__summary {
  padding: 0 !important;
}

/* 記事間隔の調整 */
.c-article-row--side-by-side {
  margin-bottom: 4px;
}

.c-article-row--side-by-side .c-article-row__summary {
  padding: 4px 0 4px 12px !important;
}

.c-article-row--side-by-side .c-article-row__meta {
  margin-top: 2px;
}
/* ===========================================
   新着有料記事セクション
   =========================================== */

.section-premium-new {
  margin: 40px 0;
}

/* セクションヘッダー */
.section-premium-new .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 16px;
}

.section-premium-new .section-title {
  font-size: 18px;
  font-weight: 700;
}

.section-premium-new .view-all {
  font-size: 13px;
  color: #0066cc;
  text-decoration: none;
}

.section-premium-new .view-all:hover {
  text-decoration: underline;
}

/* グリッドコンテナ */
.pn-container {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 24px;
  padding: 0 16px;
  align-items: start;
}

/* -------------------------------------------
   メイン記事（左カラム）
   ------------------------------------------- */
.pn-main {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pn-main__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.pn-main .tag {
  display: inline-block;
  background: #c00;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.pn-main__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.pn-main .meta-text {
  font-size: 13px;
  color: #666;
}

.pn-main .author-name {
  margin-right: 8px;
}

/* -------------------------------------------
   サブ記事リスト（右カラム）
   ------------------------------------------- */
.pn-sub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pn-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.pn-sub-item .c-article-row__pic {
  flex: 0 0 150px;
  width: 150px;
  position: relative;
}

.pn-sub-item__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.pn-sub-item__content {
  flex: 1;
  min-width: 0;
}

.pn-sub-item__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.pn-sub-item .meta-text {
  font-size: 11px;
  color: #666;
}

/* -------------------------------------------
   NEWリボン
   ------------------------------------------- */
.pn-main .c-article-row__pic {
  position: relative;
}

.pn-main .c-article-row__ribbon,
.pn-sub-item .c-article-row__ribbon {
  position: absolute;
  top: 0;
  left: 0;
}

/* -------------------------------------------
   会員アイコン
   ------------------------------------------- */
.pn-main__title .closedicon_paidonly,
.pn-main__title .closedicon_members,
.pn-sub-item__title .closedicon_paidonly,
.pn-sub-item__title .closedicon_members {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}

.pn-main__title .closedicon_paidonly svg,
.pn-main__title .closedicon_members svg {
  width: 14px;
  height: auto;
}

.pn-sub-item__title .closedicon_paidonly svg,
.pn-sub-item__title .closedicon_members svg {
  width: 12px;
  height: auto;
}

/* -------------------------------------------
   レスポンシブ（768px以下）
   ------------------------------------------- */
@media (max-width: 768px) {
  .pn-container {
    grid-template-columns: 1fr;
  }
  
  .pn-sub-list {
    gap: 16px;
  }
  
  .pn-sub-item .c-article-row__pic {
    flex: 0 0 100px;
    width: 100px;
  }
}
/* --- 2. Focus Topics (Grid) --- */
.section-focus {
padding: 20px 16px;
border-bottom: 1px solid var(--color-border);
}
.focus-block {
margin-bottom: 48px;
}
.focus-block:last-child {
margin-bottom: 0;
}

.topic-grid {
display: grid;
grid-template-columns: 1fr;
gap: 24px;
}
@media (min-width: 600px) {
.topic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
}
@media (min-width: 960px) {
.topic-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
}

.topic-card {
cursor: pointer;
display: flex;
flex-direction: row; /* 横並びにする */
gap: 16px;
}
.topic-img-box {
border-radius: 4px;
margin-bottom: 0; /* 下のマージンを削除 */
overflow: hidden;
border: 1px solid var(--color-border);
width: 122px; /* 固定幅 */
height: 82px; /* 固定高さ */
flex-shrink: 0; /* 縮まないようにする */
}
.topic-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.topic-content {
display: flex;
flex-direction: column;
justify-content: center;
}
.topic-card:hover .topic-img {
transform: scale(1.03);
}
.topic-title {
font-size: 16px; /* 少し大きくする */
font-weight: 700;
line-height: 1.5;
margin-bottom: 8px;
}