/** song 詳細ページ専用。ほかのページに影響させないため .fsd-page 以下に限定。 */
.fsd-page {
  --fsd-ink: #25313d;
  --fsd-title: #173a5c;
  --fsd-accent: #315b55;
  --fsd-muted: #647381;
  --fsd-border: #e4e9e7;
  --fsd-soft: #f5f8f6;
  background: #fff;
  color: var(--fsd-ink);
  padding: 32px 20px 88px;
  line-height: 1.75;
}
.fsd-page *, .fsd-page *::before, .fsd-page *::after { box-sizing: border-box; }
.fsd-page a { text-decoration: none; }
.fsd-page a:focus-visible { outline: 3px solid #599a90; outline-offset: 3px; }
.fsd-container { width: 100%; max-width: 1150px; margin: 0 auto; }
.fsd-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  color: var(--fsd-muted); font-size: 12px; margin: 0 0 32px;
}
.fsd-breadcrumb a { color: #536b7b; }
.fsd-breadcrumb a:hover { color: #13779b; text-decoration: underline; }
.fsd-breadcrumb [aria-current] { color: var(--fsd-ink); }
.fsd-head { margin-bottom: 29px; }
.fsd-eyebrow {
  margin: 0 0 9px; color: var(--fsd-accent); font-size: 11px;
  letter-spacing: .16em; font-weight: 800;
}
.fsd-page-title {
  color: var(--fsd-title); font-weight: 800;
  font-size: clamp(27px, 3.1vw, 38px); line-height: 1.36;
  letter-spacing: .01em; overflow-wrap: anywhere; margin: 0;
}
.fsd-head__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.fsd-genre, .fsd-format {
  display: inline-flex; align-items: center; border-radius: 5px;
  padding: 3px 10px; font-size: 12px; font-weight: 750; line-height: 1.6;
}
.fsd-genre { color: #376c5b; background: #edf5ef; border: 1px solid #d5e6da; }
.fsd-format { color: #31557d; background: #f2f6fa; border: 1px solid #cfdce9; }
.fsd-format--small { font-size: 11px; padding: 2px 7px; }
.fsd-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 290px;
  grid-template-areas: 'main aside' 'related aside';
  column-gap: 44px; row-gap: 0; align-items: start;
}
.fsd-layout--no-aside {
  grid-template-columns: minmax(0,820px);
  grid-template-areas: 'main' 'related';
}
.fsd-main { grid-area: main; min-width: 0; }
.fsd-aside { grid-area: aside; align-self: stretch; min-width: 0; }
.fsd-related { grid-area: related; min-width: 0; }
.fsd-video-section { margin-bottom: 40px; }
.fsd-video-frame {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  border-radius: 12px; background: #172b3e;
  box-shadow: 0 8px 22px rgba(20,42,55,.08);
}
.fsd-video-frame iframe { display: block; border: 0; width: 100%; height: 100%; }
.fsd-video-fallback {
  display: block; border: 1px solid #cbded8; border-radius: 10px;
  background: #f2f7f5; color: #276559; padding: 16px; font-weight: 750; text-align: center;
}
.fsd-video-sub { display: inline-block; margin-top: 13px; color: #326d7d; font-size: 13px; font-weight: 700; }
.fsd-video-sub:hover { text-decoration: underline; }
.fsd-section { margin-bottom: 42px; }
.fsd-section__title {
  color: var(--fsd-title); font-size: clamp(19px,2.1vw,23px);
  font-weight: 800; line-height: 1.5; padding: 0 0 12px;
  margin: 0 0 20px; border-bottom: 2px solid #d9e8e1;
}
.fsd-section__intro { color: var(--fsd-muted); font-size: 13px; line-height: 1.7; margin: -5px 0 16px; }
.fsd-info__list { margin: 0; padding: 0; border-top: 1px solid var(--fsd-border); }
.fsd-info__row {
  display: grid; grid-template-columns: 142px minmax(0,1fr); gap: 14px;
  align-items: start; padding: 13px 8px; border-bottom: 1px solid var(--fsd-border);
}
.fsd-info__row dt { color: var(--fsd-muted); font-size: 13px; font-weight: 650; }
.fsd-info__row dd { margin: 0; color: var(--fsd-ink); font-weight: 550; font-size: 14px; overflow-wrap: anywhere; }
.fsd-level {
  white-space: nowrap; display: inline-flex; align-items: center; line-height: 1.35;
  padding: 4px 9px; font-size: 12px; font-weight: 800;
  letter-spacing: .02em; border: 1px solid; border-radius: 6px;
}
.fsd-level--1 { color: #597321; background: #f1f9e2; border-color: #d8e8b4; }
.fsd-level--2 { color: #216b43; background: #e5f5e9; border-color: #bbe2c5; }
.fsd-level--3 { color: #82630f; background: #fff7d8; border-color: #efdd9f; }
.fsd-level--4 { color: #a45217; background: #fff0df; border-color: #f0d2ae; }
.fsd-level--5 { color: #a52c37; background: #fee8ea; border-color: #f1c0c5; }
.fsd-prose { font-size: 14px; line-height: 2.08; overflow-wrap: anywhere; }
.fsd-prose p { margin: 0 0 1.15em; }
.fsd-prose p:last-child { margin-bottom: 0; }
.fsd-prose__subhead { color: var(--fsd-title); font-size: 15px; margin: 22px 0 7px; font-weight: 800; }

/* 購入・曲集のサイドバー：PCで追従、内容が多ければサイドバー内部をスクロール。 */
/* SWELLの追従ヘッダーを避け、上部に適度な余白を確保。 */
.fsd-page { --fsd-sticky-offset: 112px; }
/* WordPress管理バー表示中は、その高さ(PC:32px)を追加する。 */
body.admin-bar .fsd-page { --fsd-sticky-offset: 144px; }
.fsd-aside__inner {
  position: sticky;
  top: var(--fsd-sticky-offset);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - var(--fsd-sticky-offset) - 16px);
  overflow-y: auto;
  padding: 1px 2px 5px;
  scrollbar-width: thin;
}
.fsd-purchase, .fsd-collections {
  border: 1px solid var(--fsd-border); border-radius: 14px;
  padding: 23px 20px; background: #fff;
  box-shadow: 0 8px 23px rgba(26,44,52,.04);
}
.fsd-panel__eyebrow { color: var(--fsd-accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; margin: 0 0 5px; }
.fsd-panel__title { color: var(--fsd-title); font-size: 17px; line-height: 1.55; font-weight: 800; margin: 0 0 16px; }
.fsd-shop-list { display: flex; flex-direction: column; gap: 9px; }
.fsd-shop {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #edf6f1; border: 1px solid #cddfd5; border-radius: 8px;
  font-size: 13px; line-height: 1.5; color: #23574c; font-weight: 750;
  padding: 12px 13px; transition: background .16s ease, transform .16s ease;
}
.fsd-shop:hover { color: #174d3f; background: #dff0e6; transform: translateY(-1px); }
.fsd-shop svg { flex-shrink: 0; }
.fsd-panel__hint { margin: 13px 0 0; color: var(--fsd-muted); font-size: 11px; line-height: 1.65; }
.fsd-collection-list { display: flex; flex-direction: column; gap: 11px; }
.fsd-collection {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; color: inherit; background: #f8faf9;
  border: 1px solid #e6ede9; border-radius: 10px;
  transition: border-color .16s ease, background .16s ease;
}
.fsd-collection:hover { color: inherit; background: #f2f8f6; border-color: #c2ddd1; }
.fsd-collection__cover {
  flex: 0 0 66px; width: 66px; min-height: 89px; border-radius: 5px;
  background: linear-gradient(150deg,#2b5a53,#173e51); color: #d9eeea;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.fsd-collection__cover img { width: 100%; height: auto; object-fit: contain; display: block; }
.fsd-collection__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fsd-collection__name { color: var(--fsd-title); font-weight: 800; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.fsd-collection__text { color: #6a7882; font-size: 11px; line-height: 1.6; margin-top: 6px; overflow-wrap: anywhere; }
.fsd-collection__more { color: #287260; font-size: 11px; font-weight: 750; margin-top: 7px; }

/* 別バージョン・同ジャンルの曲は簡潔なテキストリスト。 */
.fsd-link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--fsd-border); }
.fsd-link-list__item { padding: 0; margin: 0; border-bottom: 1px solid var(--fsd-border); }
.fsd-link-list__link {
  display: flex; align-items: center; gap: 14px; padding: 14px 10px;
  min-height: 60px; background: #fff; color: inherit;
  transition: background .16s ease;
}
.fsd-link-list__link:hover { background: #f4f8fb; color: inherit; }
.fsd-link-list__main { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; flex: 1; }
.fsd-link-list__name { color: var(--fsd-title); font-size: 16px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.fsd-link-list__link:hover .fsd-link-list__name { color: #126696; }
.fsd-link-list__credit { color: var(--fsd-muted); font-size: 12px; }
.fsd-link-list__arrow { color: #a6b8bb; font-size: 23px; font-weight: 400; margin-left: 2px; }
.fsd-back { margin-top: 22px; font-size: 13px; font-weight: 750; }
.fsd-back a { color: #276c64; }
.fsd-back a:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .fsd-layout { grid-template-columns: minmax(0,1fr) 258px; column-gap: 26px; }
  .fsd-layout--no-aside { grid-template-columns: minmax(0,820px); }
  .fsd-purchase, .fsd-collections { padding: 20px 15px; }
  .fsd-collection { gap: 9px; padding: 10px; }
  .fsd-collection__cover { width: 55px; flex-basis: 55px; min-height: 74px; }
}
@media (max-width: 780px) {
  .fsd-page { padding: 28px 16px 68px; }
  .fsd-breadcrumb { margin-bottom: 24px; }
  .fsd-head { margin-bottom: 25px; }
  .fsd-layout, .fsd-layout--no-aside { grid-template-columns: minmax(0,1fr); grid-template-areas: 'main' 'aside' 'related'; }
  .fsd-layout--no-aside { grid-template-areas: 'main' 'related'; }
  .fsd-aside__inner { position: static; max-height: none; overflow: visible; padding: 0; gap: 15px; }
  .fsd-aside { margin: 0 0 30px; }
  .fsd-purchase, .fsd-collections { padding: 22px; }
  .fsd-shop-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fsd-section { margin-bottom: 38px; }
}
@media (max-width: 520px) {
  .fsd-page-title { font-size: clamp(25px,6vw,31px); }
  .fsd-video-frame { border-radius: 8px; }
  .fsd-info__row { grid-template-columns: 110px minmax(0,1fr); gap: 12px; padding: 12px 3px; }
  .fsd-info__row dt { font-size: 12px; }
  .fsd-info__row dd { font-size: 13px; }
  .fsd-shop-list { grid-template-columns: minmax(0,1fr); }
  .fsd-section__title { font-size: 20px; }
  .fsd-link-list__link { gap: 9px; padding: 14px 5px; align-items: flex-start; }
  .fsd-link-list__name { font-size: 15px; }
  .fsd-link-list__link .fsd-level { font-size: 10px; padding: 3px 6px; margin-top: 4px; }
  .fsd-link-list__arrow { margin-top: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .fsd-page * { transition: none !important; }
}
