@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/



:root {
  --holotame-accent: #27c7ff;
  --holotame-accent-deep: #0ea5d9;
  --holotame-accent-soft: #e8f8ff;
  --holotame-accent-pale: #f5fcff;
  --holotame-ink: #17324a;
  --holotame-subtle: #6f8599;
  --holotame-border: #d9edf7;
  --holotame-card-shadow: 0 14px 34px rgba(39, 199, 255, 0.10);
}

body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) {
  color: var(--holotame-ink);
  background:
    radial-gradient(circle at top left, rgba(39, 199, 255, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(130, 219, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #f5fcff 0%, #ffffff 220px);
}

.header-container,
.footer {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.header-container {
  background: rgba(255, 255, 255, 0.98);
  border-top: 3px solid rgba(39, 199, 255, 0.55);
  border-bottom: 1px solid rgba(21, 59, 86, 0.10);
  box-shadow: 0 8px 24px rgba(17, 84, 122, 0.04);
}

#header-container-in,
#header,
#header-in,
#navi {
  background: transparent !important;
}

#navi {
  background-color: rgba(255, 255, 255, 0.98) !important;
  border-top: 1px solid rgba(21, 59, 86, 0.08);
}

#navi-in {
  background: rgba(255, 255, 255, 0.98) !important;
}

#header-container,
#header-container .navi,
#navi .navi-in > .menu-header .sub-menu {
  background-color: rgba(255, 255, 255, 0.98) !important;
}

#header-in {
  position: relative;
}

#header-in::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 199, 255, 0.18), rgba(21, 59, 86, 0.08), rgba(39, 199, 255, 0.18));
}

.holotame-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px 0 10px;
}

.holotame-header-branding {
  display: flex;
  align-items: center;
  min-width: 0;
}

.holotame-header-search {
  flex: 0 1 360px;
  min-width: 240px;
}

.holotame-header-search .search-box {
  padding: 6px;
  border-radius: 999px;
  background: #f7fbfe;
  border-color: rgba(39, 199, 255, 0.18);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.holotame-header-search .search-edit {
  padding: 8px 12px;
  font-size: 0.95rem;
}

.holotame-header-search .search-edit:focus,
.holotame-header-search .search-submit:focus,
.holotame-header-search .search-submit:focus-visible {
  outline: none;
  box-shadow: none;
}

.holotame-header-search .search-box:focus-within {
  background: #ffffff;
  border-color: rgba(39, 199, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(39, 199, 255, 0.10);
}

.holotame-header-search .search-submit {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  box-shadow: none;
}

.widget-entry-card-thumb,
.popular-entry-card-thumb,
.new-entry-card-thumb,
.related-entry-card-thumb {
  overflow: hidden;
  border-radius: 14px;
}

.widget-entry-card-thumb img,
.popular-entry-card-thumb img,
.new-entry-card-thumb img,
.related-entry-card-thumb img {
  display: block;
  border-radius: inherit;
}

.navi-in a,
.menu-header a,
.menu-footer a {
  color: var(--holotame-ink);
  font-weight: 500;
}

.navi-in > ul {
  justify-content: center;
  gap: 8px;
}

.navi-in > ul li {
  width: auto;
  min-width: 0;
}

.navi-in > ul .menu-item > a,
.menu-header .menu-item > a {
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.navi-in > ul li a:hover,
.menu-header li a:hover {
  background: transparent;
  color: var(--holotame-accent-deep);
}

#header .site-name-text,
#header .site-name-text a,
#navi .navi-in a,
#navi .navi-in a:hover {
  color: var(--holotame-ink) !important;
}

#navi .navi-in > .menu-header .sub-menu {
  background-color: #ffffff !important;
  border: 1px solid #e3edf5;
  box-shadow: 0 14px 30px rgba(15, 52, 74, 0.08);
}

.navi-in > ul .menu-item > a::after,
.menu-header .menu-item > a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 10px;
  left: 18px;
  height: 2px;
  background: linear-gradient(90deg, #27c7ff, #70dbff);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.navi-in > ul .menu-item > a:hover::after,
.navi-in > ul .current-menu-item > a::after,
.navi-in > ul .current-menu-ancestor > a::after,
.menu-header .menu-item > a:hover::after,
.menu-header .current-menu-item > a::after,
.menu-header .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

#content,
.main,
.sidebar {
  position: relative;
  border-radius: 20px;
}

.content,
.main,
.sidebar,
.widget,
.article,
.entry-card-wrap,
.related-entry-card-wrap,
.pager-post-navi,
.comment-area,
.sns-share,
.author-box,
.box-menus {
  border-color: var(--holotame-border);
}

.main,
.sidebar .widget,
.entry-card-wrap,
.related-entry-card-wrap,
.article,
.pager-post-navi,
.comment-area,
.author-box {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
}

.main {
  padding: 28px;
  overflow: hidden;
}

.sidebar .widget,
.entry-card-wrap,
.related-entry-card-wrap,
.author-box,
.comment-area {
  padding: 18px;
}

.widget {
  margin-bottom: 16px;
}

.widget-title,
.sidebar h3 {
  color: var(--holotame-ink);
}


.widget-title,
.sidebar h3 {
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #27c7ff, #7fddff);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(39, 199, 255, 0.22);
}

.entry-title,
.archive-title,
.page-title {
  color: var(--holotame-ink);
  line-height: 1.35;
}

/* .article h2 / h3 のデザイン (front-end のみ。ブロックエディタでは Cocoon デフォルト)
   旧 WP カスタマイザー > 追加 CSS にあったルールを移植 */
body:not(.block-editor-page):not(.editor-styles-wrapper) .article h2 {
  color: #FFF;
  position: relative;
  background: #2EB6DC;
  padding-left: 2.2em;
}
body:not(.block-editor-page):not(.editor-styles-wrapper) .article h2:before {
  position: absolute;
  font-family: FontAwesome;
  content: "\f138";
  font-weight: 400;
  color: #FFF;
  padding: 0;
  left: 20px;
  top: 47%;
  transform: translateY(-50%);
}

body:not(.block-editor-page):not(.editor-styles-wrapper) .article h3 {
  color: #555;
  border-bottom: solid 2px #27acd9;
  border-top: none;
  border-right: none;
  border-left: none;
  padding: 15px 10px;
  background-color: #FFF;
}
body:not(.block-editor-page):not(.editor-styles-wrapper) .article h3:first-letter {
  color: #27acd9;
}

/* 広告枠は固定サイズで先に場所を確保する（広告が後から出てページがズレるのを防ぐ）。
   スマホは 300x250、タブレット幅は 336x280、サイドバーは常に 300x250。
   PC（本文が 728px 以上取れる 1024px 以上）は 728x280 を確保し、横長と四角の両方が入るようにする。
   枠より小さい広告が来た時の余白はそのまま残す（詰めるとズレになるため）。
   固定サイズの広告タグは functions.php の get_normal_adsense_responsive_code が出す。 */
.ad-area ins.adsbygoogle.holotame-ad-fixed {
  display: inline-block;
  width: 300px;
  height: 250px;
}
@media screen and (min-width: 768px) {
  .ad-area ins.adsbygoogle.holotame-ad-fixed {
    width: 336px;
    height: 280px;
  }
  #sidebar .ad-area ins.adsbygoogle.holotame-ad-fixed {
    width: 300px;
    height: 250px;
  }
}
@media screen and (min-width: 1024px) {
  .ad-area ins.adsbygoogle.holotame-ad-fixed {
    width: 728px;
    height: 280px;
  }
  #sidebar .ad-area ins.adsbygoogle.holotame-ad-fixed {
    width: 300px;
    height: 250px;
  }
}

/* 広告が埋まらなかった枠は、確保した空白とラベルごと隠す */
.ad-area:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none;
}

.entry-card-wrap,
.related-entry-card-wrap,
.widget-entry-card,
.popular-entry-card,
.new-entry-card {
  overflow: hidden;
}

.archive-title {
  color: var(--holotame-ink);
}

.pagination {
  margin-top: 28px;
}

.pagination .page-numbers {
  border-radius: 999px;
  border: 1px solid var(--holotame-border);
  background: rgba(255, 255, 255, 0.92);
}

.pagination .current {
  background: linear-gradient(135deg, #27c7ff, #70dbff);
  color: #fff;
  border-color: transparent;
}

.entry-card-wrap,
.related-entry-card-wrap,
.widget-entry-card,
.popular-entry-card,
.new-entry-card,
.a-wrap {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover,
.widget-entry-card:hover,
.popular-entry-card:hover,
.new-entry-card:hover,
.a-wrap:hover .entry-card-wrap,
.a-wrap:hover .related-entry-card-wrap {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(39, 199, 255, 0.16);
}

.cat-label,
.tag-link,
.pagination-next-link,
.pagination-prev-link {
  border-radius: 999px;
}

.cat-label {
  background: linear-gradient(135deg, #27c7ff, #69d8ff);
  color: #fff;
}

.sidebar ul li a,
.widget_recent_entries li a,
.widget_categories li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
}

.sidebar ul li a:hover,
.widget_recent_entries li a:hover,
.widget_categories li a:hover {
  background: var(--holotame-accent-pale);
  text-decoration: none;
}

.post-count {
  min-width: 2.2em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--holotame-accent-soft);
  color: var(--holotame-accent-deep);
  text-align: center;
}

body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) input[type="text"],
body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) input[type="search"],
body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) textarea,
body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) select {
  border: 1px solid var(--holotame-border);
  border-radius: 14px;
  background: #fbfeff;
}

body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) input[type="text"]:focus,
body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) input[type="search"]:focus,
body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) textarea:focus,
body:not(.wp-admin):not(.block-editor-page):not(.editor-styles-wrapper) select:focus {
  border-color: rgba(39, 199, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(39, 199, 255, 0.12);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(39, 199, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, #fafdff 0%, #f2fbff 100%);
}

.search-box.input-box {
  border: 1px solid rgba(39, 199, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-edit {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--holotame-ink);
  font-size: 1rem;
  padding: 10px 12px;
}

.search-edit::placeholder {
  color: #7c94a8;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 14px;
  line-height: 1;
  position: static;
}

.search-submit .fa-search {
  display: block;
  font-size: 1.2rem;
  line-height: 1;
  position: static;
  transform: none;
  margin: 0;
}

.search-submit,
.pagination-next-link,
.pagination-prev-link,
.go-to-top-button,
.comment-btn,
.btn,
.btn-wrap > a {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #27c7ff, #70dbff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(39, 199, 255, 0.22);
}

.search-submit:hover,
.comment-btn:hover,
.btn:hover,
.btn-wrap > a:hover,
.go-to-top-button:hover {
  opacity: 0.92;
}

.footer {
  margin-top: 48px;
  border-top: 1px solid rgba(39, 199, 255, 0.14);
}

.copyright,
.entry-card-snippet,
.entry-card-meta,
.widget-entry-card-meta,
.post-date,
.post-update,
.list-item-caption {
  color: var(--holotame-subtle);
}

.home .main {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.holotame-home {
  display: grid;
  gap: 28px;
}

.holotame-home-top {
  margin-bottom: 20px;
}

.holotame-home-section {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e3edf5;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 52, 74, 0.05);
}

.holotame-home-kicker,
.holotame-section-label,
.holotame-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--holotame-accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.holotame-home-title,
.holotame-section-title,
.holotame-panel-title {
  margin: 8px 0 0;
  color: var(--holotame-ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.holotame-section-title {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
}

.holotame-home-copy {
  margin: 12px 0 0;
  color: var(--holotame-subtle);
  line-height: 1.7;
}

.holotame-home-hero-grid {
  display: block;
}

.holotame-home-panel,
.holotame-card,
.holotame-directory-body {
  background: #fff;
  border: 1px solid #e3edf5;
  border-radius: 12px;
  max-width: 100%;
  min-width: 0;
}

.holotame-card-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.holotame-card-thumb-image-placeholder {
  background: linear-gradient(135deg, #dff5ff, #f6fdff);
}

.holotame-home-nav {
  display: none;
}

.holotame-home-sections {
  display: grid;
  gap: 24px;
}

.holotame-front-tags-area {
  margin-top: 0;
}

.holotame-front-tags-body .widget-title {
  display: none;
}

.holotame-front-tags-body .widget {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.holotame-front-tags-widget .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.holotame-front-tags-widget .tagcloud a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #dbe9f2;
  border-radius: 999px;
  background: #f3faff;
  color: var(--holotame-accent-deep);
  font-size: 0.84rem !important;
  line-height: 1.2;
  text-decoration: none;
}

.holotame-front-tags-widget .tagcloud a:hover {
  background: #d8f4ff;
  transform: translateY(-1px);
}

.archive-header {
  margin-bottom: 20px;
  padding-left: 6px;
}

.holotame-home-section {
  padding: 22px;
  position: relative;
}

.holotame-home-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(39, 199, 255, 0.95), rgba(112, 219, 255, 0.32));
}

.holotame-section-heading {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 0 14px;
  border-bottom: 1px solid #e7f1f6;
}

.holotame-section-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.holotame-section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #27c7ff, #70dbff);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.holotame-section-more:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(39, 199, 255, 0.24);
  filter: brightness(1.04);
}

.holotame-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.holotame-section-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.holotame-card {
  overflow: hidden;
  min-width: 0;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.holotame-card:hover {
  transform: translateY(-2px);
  border-color: #cfe4ef;
  box-shadow: 0 16px 32px rgba(15, 52, 74, 0.08);
}

.holotame-card-link {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 100%;
}

.holotame-card.is-lead .holotame-card-link {
  grid-template-columns: minmax(280px, 46%) minmax(0, 1fr);
}

.holotame-card-thumb-link,
.holotame-card-main-link {
  color: inherit;
  text-decoration: none;
}

.holotame-card-thumb-link {
  display: block;
}

.holotame-card-main-link {
  display: block;
}

.holotame-home-section-featured .holotame-section-list {
  grid-template-columns: 1fr;
}

.holotame-card-thumb {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 104px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
}

.holotame-card.is-lead .holotame-card-thumb {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.holotame-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 17px;
  min-width: 0;
}

.holotame-card-title {
  margin: 0;
  color: var(--holotame-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.holotame-card.is-lead .holotame-card-title {
  font-size: 1.42rem;
  line-height: 1.32;
}

.holotame-card-snippet {
  margin: 0;
  color: var(--holotame-subtle);
  font-size: 0.92rem;
  line-height: 1.7;
}

.holotame-card.is-compact .holotame-card-snippet {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.holotame-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: var(--holotame-subtle);
  font-size: 0.74rem;
  align-items: center;
}

.holotame-card-meta-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.holotame-card-meta-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #dbe9f2;
  border-radius: 999px;
  background: #f5fbff;
  color: var(--holotame-accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.holotame-card-meta-tag:hover {
  color: var(--holotame-accent-deep);
  background: #eaf8ff;
  border-color: #bfe6f5;
  transform: translateY(-1px);
}

.holotame-card.is-compact .holotame-card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.holotame-card.is-compact .holotame-card-thumb-image-placeholder {
  min-height: 104px;
}

/* === ゾーン1: 新着ストリップ (薄い鮮度枠) === */
.holotame-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.holotame-strip-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e9f2f8;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.holotame-strip-item:hover {
  border-color: #cfe4ef;
  transform: translateY(-1px);
}

.holotame-strip-thumb {
  margin: 0;
  width: 84px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
}

.holotame-strip-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.holotame-strip-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--holotame-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.holotame-strip-date {
  display: block;
  margin-top: 4px;
  color: var(--holotame-subtle);
  font-size: 0.72rem;
}

/* === ゾーン2: まとめ早見表 (主役・タブ + 画像カード) === */
.holotame-home-section-directory::before {
  background: linear-gradient(90deg, rgba(255, 138, 76, 0.95), rgba(255, 196, 112, 0.32));
}

.holotame-matome-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.holotame-matome-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--holotame-line, #e3edf5);
  background: #f5fbff;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--holotame-subtle);
  cursor: pointer;
}

.holotame-matome-tab.is-active {
  background: linear-gradient(135deg, var(--holotame-accent, #27c7ff), #70dbff);
  color: #fff;
  border-color: transparent;
}

.holotame-matome-tab-icon {
  margin-right: 6px;
}

.holotame-matome-panel {
  display: none;
}

.holotame-matome-panel.is-active {
  display: block;
}

.holotame-matome-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.holotame-mcard {
  display: block;
  border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.holotame-mcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 52, 74, 0.1);
}

.holotame-mcard-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.holotame-mcard-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--holotame-accent-deep, #0d8fc0);
  font-weight: 800;
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 999px;
}

.holotame-mcard-body {
  padding: 12px 13px 14px;
}

.holotame-mcard-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--holotame-ink);
}

.holotame-mcard-meta {
  font-size: 0.72rem;
  color: var(--holotame-subtle);
}

.holotame-matome-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .holotame-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .holotame-matome-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .holotame-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .holotame-matome-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .main {
    padding: 22px;
  }

  .sidebar .widget,
  .entry-card-wrap,
  .related-entry-card-wrap,
  .author-box,
  .comment-area {
    padding: 16px;
  }

  .holotame-section-grid {
    grid-template-columns: 1fr;
  }

  .holotame-section-heading {
    grid-template-columns: 1fr auto;
  }

  .holotame-card-link {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .holotame-header-main {
    gap: 16px;
  }

  .holotame-header-search {
    flex-basis: 280px;
    min-width: 220px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .main {
    padding: 18px;
    border-radius: 16px;
  }

  .sidebar .widget,
  .entry-card-wrap,
  .related-entry-card-wrap,
  .author-box,
  .comment-area {
    border-radius: 16px;
  }

  .widget-title,
  .sidebar h3 {
    padding: 10px 14px;
  }

  .holotame-header-main {
    padding: 10px 0 8px;
    /* 検索ボックスが隠れるとロゴだけ残り space-between で左寄りになるため、
       スマホ等では中央寄せにする。 */
    justify-content: center;
  }

  .holotame-header-search {
    display: none;
  }

  .home .main {
    padding: 0;
  }

  .holotame-home {
    gap: 18px;
  }

  .holotame-home-section {
    padding: 16px;
    border-radius: 12px;
  }

  .holotame-card-link,
  .holotame-card.is-lead .holotame-card-link {
    grid-template-columns: 1fr;
  }

  .holotame-card-thumb,
  .holotame-card.is-lead .holotame-card-thumb {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .main {
    padding: 14px;
  }

  .sidebar .widget,
  .entry-card-wrap,
  .related-entry-card-wrap,
  .author-box,
  .comment-area {
    padding: 12px;
  }

  .entry-title,
  .archive-title,
  .page-title {
    font-size: 1.45em;
  }

  .holotame-section-heading {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .holotame-section-description,
  .holotame-home-copy {
    font-size: 0.93rem;
  }

  .holotame-card-body,
  .holotame-card-body {
    padding: 14px;
  }

  .holotame-card-thumb,
  .holotame-card.is-lead .holotame-card-thumb {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================
 * 旧 WP カスタマイザー > 追加 CSS から移植 (2026-05-26)
 * ここに来る = source order で勝つので、上の同セレクタ rule を上書きする想定
 * ============================================================ */

#main,
#sidebar {
  background-color: #FFF;
}

.sidebar h3 {
  background-color: #2EB6DC;
  color: #FFF;
  border: none;
}

#footer a:hover {
  color: #000 !important;
}

#popular_entries-4 .main-widget-label {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.cat-label {
  background: #2eb6dc;
}

/* グローバルナビメニュー: マウスオーバーでアンダーライン */
#navi .navi-in a:after {
  position: absolute;
  content: "";
  left: 0px;
  bottom: 1px;
  height: 1px;
  width: 100%;
  background: #2eb6dc;
  transform: scale(0, 1);
  transition: 0.3s;
}

#navi .navi-in a:hover:after {
  transform: scale(1);
}

.widget-index-top-title {
  padding: 1rem 3rem;
  color: #fff;
  background-image: -webkit-gradient(linear, left top, right top, from(#209cff), to(#68e0cf));
  background-image: -webkit-linear-gradient(left, #209cff 0%, #68e0cf 100%);
  background-image: linear-gradient(to right, #209cff 0%, #68e0cf 100%);
}

.comment-form-email {
  display: none;
}

/* appreach (アプリ紹介ボックス) */
.appreach {
  text-align: left;
  padding: 10px;
  border: 1px solid #7C7C7C;
  overflow: hidden;
}
.appreach:after {
  content: "";
  display: block;
  clear: both;
}
.appreach p {
  margin: 0;
}
.appreach a:after {
  display: none;
}
.appreach__icon {
  float: left;
  border-radius: 10%;
  overflow: hidden;
  margin: 0 3% 0 0 !important;
  width: 25% !important;
  height: auto !important;
  max-width: 120px !important;
}
.appreach__detail {
  display: inline-block;
  font-size: 20px;
  line-height: 1.5;
  width: 72%;
  max-width: 72%;
}
.appreach__detail:after {
  content: "";
  display: block;
  clear: both;
}
.appreach__name {
  font-size: 16px;
  line-height: 1.5em !important;
  max-height: 3em;
  overflow: hidden;
}
.appreach__info {
  font-size: 12px !important;
}
.appreach__developper,
.appreach__price {
  margin-right: 0.5em;
}
.appreach__posted a {
  margin-left: 0.5em;
}
.appreach__links {
  float: left;
  height: 40px;
  margin-top: 8px;
  white-space: nowrap;
}
.appreach__aslink img {
  margin-right: 10px;
  height: 40px;
  width: 135px;
}
.appreach__gplink img {
  height: 40px;
  width: 134.5px;
}
.appreach__star {
  position: relative;
  font-size: 14px !important;
  height: 1.5em;
  width: 5em;
}
.appreach__star__base {
  position: absolute;
  color: #737373;
}
.appreach__star__evaluate {
  position: absolute;
  color: #ffc107;
  overflow: hidden;
  white-space: nowrap;
}

/* カード (single / album / unit) */
.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
}
.card img {
  width: 150px;
  height: auto;
  margin-right: 20px;
}
.card.single .content,
.card.album .content,
.card.unit .content {
  flex: 1;
  min-width: 300px;
}
.card.single .content p,
.card.album .content p,
.card.unit .content p {
  margin: 5px 0;
}
.album {
  border: 1px solid #ccc;
}
.unit {
  border: 1px solid #ccc;
  border-radius: 10px;
}
.details {
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid #ccc;
}
.details summary {
  cursor: pointer;
  font-weight: bold;
}
.details ul {
  padding-left: 20px;
  font-size: 0.9em;
  margin: 5px 0;
}

/* タブナビゲーション (hololive_talents ショートコード用) */
.tabs {
  max-width: 100%;
  margin: 20px 0;
  font-family: sans-serif;
}
.tab-input {
  display: none;
}
.tabs .tab-label {
  display: inline-block;
  padding: 8px 12px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin-right: 2px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}
.tabs .tab-label:hover {
  background-color: #e0e0e0;
}
.tab-content {
  display: none;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 0 0 4px 4px;
  margin-top: -1px;
  background-color: #fff;
}
.tab-input:checked + .tab-label {
  background-color: #fff;
  border-bottom-color: #fff;
  font-weight: bold;
  color: #0066cc;
}
.tab-input:checked + .tab-label + .tab-content {
  display: block;
}

.talent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.talent-link {
  display: inline-block;
  padding: 8px 12px;
  background-color: #f0f8ff;
  border-radius: 4px;
  text-decoration: none;
  color: #0066cc;
  font-size: 14px;
  transition: background-color 0.2s;
}
.talent-link:hover {
  background-color: #d0e8ff;
}

@media (max-width: 768px) {
  .tabs {
    display: flex;
    flex-direction: column;
  }
  .tab-label {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 2px;
    border-radius: 4px;
    border: 1px solid #ddd;
  }
  .tab-input:checked + .tab-label {
    border-bottom-color: #ddd;
  }
  .tab-content {
    margin-top: 2px;
    border-radius: 4px;
  }
  .talent-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .talent-link {
    width: 100%;
    box-sizing: border-box;
    font-size: 13px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .talent-links {
    grid-template-columns: 1fr;
  }
}

/* アフィリエイトリンクリスト (PC 3列、スマホ 1列) */
.wp-block-list.af_links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 768px) {
  .wp-block-list.af_links {
    grid-template-columns: 1fr;
  }
}
.wp-block-list.af_links > li {
  margin: 0;
  box-sizing: border-box;
}
.wp-block-list.af_links > li > a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  background-color: #73D9F7;
  color: #FFFFFF;
  border: 1px solid #73D9F7;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 0.95em;
}
.wp-block-list.af_links > li > a:hover {
  background-color: #FFFFFF;
  color: #73D9F7;
}

/* RSS リスト */
.merged-rss-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  font-size: 14px;
}
.merged-rss-list li {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  background: #fff;
  transition: background 0.2s;
}
.merged-rss-list li:hover {
  background: #f9f9f9;
}
.merged-rss-list li:last-child {
  border-bottom: none;
}
.merged-rss-list li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.merged-rss-list li a:hover {
  color: #0073aa;
}
.merged-rss-list .merged-rss-date {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 3px;
}

/* 関連動画テーブル */
.related-videos-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}
.related-videos-table th {
  background-color: #2EB6DC;
  color: #FFF;
  border: 1px solid #2EB6DC;
  padding: 10px 12px;
  text-align: left;
}
.related-videos-table td {
  border: 1px solid #CFEAF2;
  padding: 10px 12px;
  vertical-align: top;
  color: #333;
  word-break: break-word;
}
.related-videos-table tr:nth-child(even) td {
  background-color: #F7FCFE;
}
.related-videos-table a {
  color: #1A7FA0;
  text-decoration: none;
}
.related-videos-table a:hover {
  text-decoration: underline;
}

/* ================================================================
 * timeline_list (cover サブタイプ): 歌ってみた一覧 カードグリッド
 * ================================================================ */
.cover-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 40px;
}
@media (max-width: 1024px) {
  .cover-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 540px) {
  .cover-card-grid { grid-template-columns: 1fr; gap: 14px; }
}

.cover-card {
  display: flex;
  flex-direction: column;
  background: #FFF;
  border: 1px solid #CFEAF2;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.cover-card:hover {
  box-shadow: 0 4px 12px rgba(46, 182, 220, 0.18);
}
.cover-card__thumb {
  display: block;
  background: #000;
  line-height: 0;
}
.cover-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.cover-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92em;
  line-height: 1.5;
}
.cover-card__title {
  margin: 0;
  font-size: 1.02em;
  line-height: 1.35;
}
.cover-card__title a {
  color: #1A7FA0;
  text-decoration: none;
}
.cover-card__title a:hover {
  text-decoration: underline;
}
.cover-card__meta {
  margin: 0;
  color: #555;
  font-size: 0.86em;
}
.cover-card__highlight {
  margin: 4px 0 0;
  color: #333;
}

/* ============================================================
 * timeline_list (original): オリジナル曲/アルバム カード (横長コンパクト・共通)
 *   サムネ(左) + card-info(右: 確定情報+リンク)。アルバムは収録曲を2行目(全幅)に。
 * ============================================================ */
.song-card,
.album-card {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: #FFF;
  border: 1px solid #CFEAF2;
  border-radius: 6px;
  overflow: hidden;
  margin: 6px 0 14px;
  transition: box-shadow 0.2s ease;
}
.song-card:hover,
.album-card:hover {
  box-shadow: 0 2px 10px rgba(46, 182, 220, 0.18);
}
/* サムネは小さめ・左寄せ */
.song-card > a,
.album-card > a {
  flex: 0 0 34%;
  max-width: 220px;
  align-self: stretch;
  line-height: 0;
}
.song-card img,
.album-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
/* 右カラム: 確定情報 + リンク */
.card-info {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
}
/* 確定情報を 2 列 (ラベル | 値) のグリッドで表組み風に */
.song-meta {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 12px;
  font-size: 0.85em;
  line-height: 1.45;
}
.song-meta dt {
  margin: 0;
  color: #1A7FA0;
  font-weight: 600;
}
.song-meta dd {
  margin: 0;
  color: #333;
}
/* 収録アルバム名 (ユニット曲が記事内のアルバムに収録されている場合に表示) */
.song-album {
  margin: 4px 0 0;
  font-size: 0.8em;
  color: #1A7FA0;
}
/* 配信/購入リンクのボタン行 (YouTube / 公式・配信 / Amazon) */
.song-links {
  margin: 0;
  padding: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.song-links .song-link {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78em;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #CFEAF2;
  color: #1A7FA0;
  background: #F4FBFD;
  line-height: 1.6;
}
.song-links .song-link:hover { background: #E8F6FB; }
.song-links .song-link--yt { color: #c4302b; border-color: #f0c9c7; background: #fdf4f3; }
.song-links .song-link--amz { color: #b85c00; border-color: #f0dcc0; background: #fdf8f1; }
/* アルバム収録曲: 2行目に全幅で (アコーディオン) */
.album-card > details.album-tracks {
  flex-basis: 100%;
  margin: 0;
  padding: 0 12px 10px;
}
.album-card details.album-tracks > summary {
  cursor: pointer;
  list-style: none;
  color: #1A7FA0;
  font-weight: 600;
  font-size: 0.9em;
  padding: 2px 0;
  user-select: none;
}
.album-card details.album-tracks > summary::-webkit-details-marker {
  display: none;
}
.album-card details.album-tracks > summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 6px;
  font-size: 0.78em;
  transition: transform 0.15s ease;
}
.album-card details.album-tracks[open] > summary::before {
  transform: rotate(90deg);
}
.album-card ol {
  margin: 0;
  padding: 4px 0 0 22px;
  font-size: 0.9em;
  line-height: 1.7;
  color: #333;
}
@media (max-width: 540px) {
  .song-card > a,
  .album-card > a { flex-basis: 42%; }
  .card-info { padding: 6px 8px; }
  .song-meta { font-size: 0.78em; }
}

/* ============================================================
 * 楽曲データベースページ (page-music.php) 2026-05-29
 * ============================================================ */
.holotame-musicdb-container {
  max-width: 1080px;
  margin: 0 auto;
}
.holotame-musicdb-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 18px;
}
.holotame-musicdb-emoji { margin-right: 6px; }
.holotame-musicdb-sub {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #5b7888;
}
.holotame-musicdb-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.holotame-musicdb-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.holotame-musicdb-catbtn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #e3edf5;
  background: #f5fbff;
  font-weight: 700;
  font-size: 0.82rem;
  color: #5b7888;
  cursor: pointer;
}
.holotame-musicdb-catbtn.is-active {
  background: linear-gradient(135deg, #27c7ff, #70dbff);
  color: #fff;
  border-color: transparent;
}
.holotame-musicdb-selects { display: flex; flex-wrap: wrap; gap: 8px; }
.holotame-musicdb-search,
.holotame-musicdb-selects select {
  padding: 8px 12px;
  border: 1px solid #e3edf5;
  border-radius: 10px;
  font-size: 0.85rem;
  background: #fff;
  color: #14323f;
}
.holotame-musicdb-search { min-width: 200px; }
.holotame-musicdb-tablewrap {
  overflow-x: auto;
  border: 1px solid #e3edf5;
  border-radius: 14px;
  background: #fff;
}
.holotame-musicdb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.holotame-musicdb-table th {
  text-align: left;
  color: #5b7888;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 2px solid #e3edf5;
  white-space: nowrap;
}
.holotame-musicdb-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f5f9;
  vertical-align: middle;
}
.holotame-musicdb-table tr:hover td { background: #f7fcff; }
.ht-musicdb-date { white-space: nowrap; color: #5b7888; font-size: 0.8rem; }
.ht-col-thumb, .ht-musicdb-thumb { width: 132px; }
.ht-musicdb-thumb img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.holotame-musicdb-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef8ff;
  border: 1px solid #d8ecf7;
  color: #0d8fc0;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.ht-musicdb-songtitle { display: block; font-weight: 700; line-height: 1.4; }
.ht-musicdb-songtitle a { color: #14323f; text-decoration: none; }
.ht-musicdb-songtitle a:hover { color: #0d8fc0; }
.ht-musicdb-artist { display: block; margin-top: 2px; font-size: 0.78rem; color: #5b7888; }
.ht-musicdb-links { white-space: nowrap; }
.ht-musicdb-links a {
  display: inline-block;
  margin-right: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f3faff;
  border: 1px solid #dbe9f2;
  color: #0d8fc0;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}
.ht-musicdb-links a:hover { background: #e3f5ff; }
.holotame-musicdb-note { margin: 14px 0; color: #5b7888; }
.holotame-musicdb-loadmore { text-align: center; margin-top: 18px; }
.holotame-musicdb-morebtn {
  padding: 10px 28px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #27c7ff, #70dbff);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}
/* === スマホ: 音楽DB一覧をコンパクトなリスト行に組み替え (試験) ===
   表だと横が見切れ画像も潰れるため、/music/ ページ限定で 1曲=1行の
   リスト表示にする。左に大きめサムネ、右にタイトル/種別/発売日/リンク。
   既存の検索・絞り込み・並べ替え・もっと見る (JS) はそのまま動く。 */
@media (max-width: 600px) {
  .holotame-musicdb-page .holotame-musicdb-search { min-width: 140px; flex: 1; }

  .holotame-musicdb-page .holotame-musicdb-tablewrap { overflow-x: visible; }
  .holotame-musicdb-page .holotame-musicdb-table,
  .holotame-musicdb-page .holotame-musicdb-table tbody { display: block; width: 100%; }
  .holotame-musicdb-page .holotame-musicdb-table thead { display: none; }

  .holotame-musicdb-page .holotame-musicdb-table tr {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    column-gap: 8px;
    padding: 12px 12px 12px 100px;
    min-height: 100px;
    border-bottom: 1px solid #eef3f7;
  }
  .holotame-musicdb-page .holotame-musicdb-table tr:hover td { background: transparent; }
  .holotame-musicdb-page .holotame-musicdb-table td {
    display: block;
    padding: 0;
    border: 0;
  }

  .holotame-musicdb-page .ht-musicdb-thumb {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 76px;
  }
  .holotame-musicdb-page .ht-musicdb-thumb img { width: 76px; height: 76px; }

  /* タイトル/アーティストとリンクは独立行、発売日+種別を同じメタ行にまとめる。
     種別はリンクボタンと紛れないよう、ピルをやめて軽い色付きテキストにする。 */
  .holotame-musicdb-page .ht-musicdb-name  { order: 1; flex: 0 0 100%; }
  .holotame-musicdb-page .ht-musicdb-songtitle { font-size: 0.92rem; }
  .holotame-musicdb-page .ht-musicdb-date  { order: 2; }
  .holotame-musicdb-page .ht-musicdb-cat   { order: 3; }
  .holotame-musicdb-page .ht-musicdb-cat .holotame-musicdb-badge {
    background: none;
    border: 0;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0d8fc0;
  }
  .holotame-musicdb-page .ht-musicdb-cat::before {
    content: "・";
    margin-right: 2px;
    color: #b9cad6;
  }
  .holotame-musicdb-page .ht-musicdb-links { order: 4; flex: 0 0 100%; white-space: normal; margin-top: 2px; }
  .holotame-musicdb-page .ht-musicdb-links a { margin: 0 6px 0 0; }
}

/* === トップ 音楽DB teaser === */
.holotame-home-section-musicteaser::before {
  background: linear-gradient(90deg, #2b6fd6, #8fc1ff);
}
.holotame-musicteaser-lead {
  margin: 0 0 14px;
  color: #5b7888;
  font-size: 0.9rem;
}
.holotame-musicteaser-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.holotame-musicteaser-item a {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e9f2f8;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.holotame-musicteaser-item a:hover {
  border-color: #cfe4ef;
  transform: translateY(-1px);
}
.holotame-musicteaser-thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.holotame-musicteaser-songtitle {
  display: block;
  color: #14323f;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.35;
}
.holotame-musicteaser-artist {
  display: block;
  margin-top: 2px;
  color: #5b7888;
  font-size: 0.76rem;
}
@media (min-width: 768px) {
  .holotame-musicteaser-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .holotame-musicteaser-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* === まとめ早見表 見出し+白カード (モック準拠) === */
.holotame-matome-block { margin: 0; }
.holotame-matome-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.holotame-matome-ttl { display: flex; align-items: center; gap: 10px; }
.holotame-matome-emoji { font-size: 1.4rem; line-height: 1; }
.holotame-matome-h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--holotame-ink);
  line-height: 1.25;
}
.holotame-matome-pill {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0e3;
  color: #d2691e;
}
.holotame-matome-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--holotame-subtle);
}
.holotame-matome-more {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--holotame-accent-deep);
  text-decoration: none;
}
.holotame-matome-more:hover { text-decoration: underline; }
.holotame-matome-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 52, 74, 0.06);
}
.holotame-matome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #ff8a4c, #ffd0a0);
}
@media (max-width: 560px) {
  .holotame-matome-sechead { flex-direction: column; align-items: flex-start; }
  .holotame-matome-h2 { font-size: 1.3rem; }
}


/* ============================================================
 * フロントページ全面 (承認モック top_mock_A.html 移植) 2026-05-29
 * すべて .holotame-front 配下にスコープしテーマ衝突を防ぐ
 * ============================================================ */
.holotame-front { display: block; padding: 16px; }
.holotame-front .holotame-fsec { margin: 26px 0; }
.holotame-front .holotame-fsec:first-child { margin-top: 0; }

.holotame-front .holotame-sechead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.holotame-front .holotame-sechead-ttl { display: flex; align-items: center; gap: 10px; }
.holotame-front .holotame-sechead-emoji { font-size: 1.4rem; line-height: 1; }
.holotame-front .holotame-sechead-h2 {
  margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--holotame-ink); line-height: 1.25;
}
.holotame-front .holotame-sechead-sub {
  display: block; margin-top: 2px; font-size: 0.76rem; font-weight: 700;
  color: var(--holotame-subtle);
}
.holotame-front .holotame-sechead-more {
  white-space: nowrap; font-size: 0.82rem; font-weight: 800;
  color: var(--holotame-accent-deep); text-decoration: none;
}
.holotame-front .holotame-sechead-more:hover { text-decoration: underline; }
.holotame-front .holotame-pill {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-size: 0.64rem; font-weight: 900; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 999px;
}
.holotame-front .holotame-pill-db { background: #e3f0ff; color: #2b6fd6; }

.holotame-front .holotame-ad {
  margin: 26px 0; border: 1px dashed #bcd6e4; border-radius: 14px;
  background: repeating-linear-gradient(45deg, #f4fbff, #f4fbff 12px, #eef7fc 12px, #eef7fc 24px);
  color: #9bb6c6; text-align: center; padding: 20px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.08em;
}

.holotame-front .holotame-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; }
.holotame-front .holotame-feat {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 340px;
  color: #fff; display: flex; align-items: flex-end;
  box-shadow: 0 18px 40px rgba(15, 52, 74, 0.16); text-decoration: none;
}
.holotame-front .holotame-feat-img,
.holotame-front .holotame-feat-ph {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.holotame-front .holotame-feat-ph { background: linear-gradient(135deg, #5ad1ff, #a06bff); }
.holotame-front .holotame-feat-grad {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8, 28, 40, 0.82), rgba(8, 28, 40, 0.05) 60%);
}
.holotame-front .holotame-feat-meta { position: relative; padding: 22px; }
.holotame-front .holotame-badge {
  display: inline-block; background: #ff8a4c; color: #fff; font-weight: 800;
  font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.holotame-front .holotame-feat-title {
  display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.3;
  margin-bottom: 8px; color: #fff;
}
.holotame-front .holotame-feat-sub { font-size: 0.86rem; opacity: 0.9; }
.holotame-front .holotame-latest-list { display: flex; flex-direction: column; gap: 10px; }
.holotame-front .holotame-li {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px; background: #fff;
  border: 1px solid var(--holotame-line, #e3edf5); border-radius: 12px; padding: 8px;
  align-items: center; text-decoration: none; transition: transform 0.15s, border-color 0.15s;
}
.holotame-front .holotame-li:hover { transform: translateX(2px); border-color: #bfe6f5; }
.holotame-front .holotame-li-thumb {
  aspect-ratio: 16 / 10; border-radius: 8px;
  background: linear-gradient(135deg, #cdeefb, #e9f0ff);
  background-size: cover; background-position: center;
}
.holotame-front .holotame-li-t {
  display: block; font-size: 0.9rem; font-weight: 700; line-height: 1.4; color: var(--holotame-ink);
}
.holotame-front .holotame-li-d {
  display: block; font-size: 0.7rem; color: var(--holotame-subtle); margin-top: 3px;
}

.holotame-front .holotame-musicdb {
  position: relative; background: #fff; border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(15, 52, 74, 0.06);
}
.holotame-front .holotame-musicdb::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  border-radius: 18px 18px 0 0; background: linear-gradient(90deg, #2b6fd6, #8fc1ff);
}
.holotame-front .holotame-musicdb-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.holotame-front .holotame-chip {
  padding: 6px 12px; border-radius: 999px; background: #eef8ff;
  border: 1px solid var(--holotame-line, #e3edf5); font-size: 0.78rem;
  font-weight: 700; color: var(--holotame-accent-deep);
}
.holotame-front .holotame-songs { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.holotame-front .holotame-songs th {
  text-align: left; color: var(--holotame-subtle); font-size: 0.72rem;
  border-bottom: 2px solid var(--holotame-line, #e3edf5); padding: 8px 10px;
}
.holotame-front .holotame-songs td { padding: 10px; border-bottom: 1px solid #f0f5f9; }
.holotame-front .holotame-songs tr:hover td { background: #f7fcff; }
.holotame-front .holotame-play { color: var(--holotame-accent-deep); font-weight: 800; text-decoration: none; white-space: nowrap; }

.holotame-front .holotame-grid2 { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.holotame-front .holotame-trend-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--holotame-line, #e3edf5); text-decoration: none;
}
.holotame-front .holotame-trend-thumb {
  aspect-ratio: 16 / 10; border-radius: 10px;
  background: linear-gradient(135deg, #cdeefb, #ffe6f4);
  background-size: cover; background-position: center;
}
.holotame-front .holotame-trend-t {
  display: block; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--holotame-ink);
}
.holotame-front .holotame-trend-mm { display: block; font-size: 0.72rem; color: var(--holotame-subtle); margin-top: 6px; }
.holotame-front .holotame-sidebox {
  background: #fff; border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 14px; padding: 16px; margin-bottom: 18px;
}
.holotame-front .holotame-sidebox h3 { margin: 0 0 12px; font-size: 1rem; }
.holotame-front .holotame-rank-li {
  display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f5f9;
  align-items: center; text-decoration: none;
}
.holotame-front .holotame-rank-no {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--holotame-accent, #27c7ff), #70dbff);
  color: #fff; font-weight: 900; font-size: 0.8rem; display: grid; place-items: center; flex: 0 0 auto;
}
.holotame-front .holotame-rank-li.is-top1 .holotame-rank-no { background: linear-gradient(135deg, #ffb347, #ffcc33); }
.holotame-front .holotame-rank-t { font-size: 0.84rem; font-weight: 700; line-height: 1.35; color: var(--holotame-ink); }
.holotame-front .holotame-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.holotame-front .holotame-tagcloud a {
  padding: 6px 12px; border-radius: 999px; background: #f3faff;
  border: 1px solid var(--holotame-line, #e3edf5); font-size: 0.8rem;
  font-weight: 700; color: var(--holotame-accent-deep); text-decoration: none;
}

.holotame-front .holotame-members {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.holotame-front .holotame-mgen {
  background: #fff;
  border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 14px;
  padding: 14px 16px 16px;
}
.holotame-front .holotame-mgen-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #dde9f1;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--holotame-ink);
}
.holotame-front .holotame-mgen-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.holotame-front .holotame-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}
.holotame-front .holotame-member-ava {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 0 4px;
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 0.95rem;
  border: 2px solid #fff; box-shadow: 0 4px 12px rgba(15, 52, 74, 0.14); transition: transform 0.15s;
}
.holotame-front .holotame-member-ava-img { overflow: hidden; background: #eef6fb; }
.holotame-front .holotame-member-ava-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.holotame-front .holotame-member:hover .holotame-member-ava { transform: translateY(-3px) scale(1.05); }
.holotame-front .holotame-member-nm {
  display: block;
  font-size: 0.62rem;
  color: var(--holotame-subtle);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (max-width: 700px) {
  .holotame-front .holotame-members { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .holotame-front .holotame-hero { grid-template-columns: 1fr; }
  .holotame-front .holotame-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .holotame-front .holotame-feat-title { font-size: 1.3rem; }
  .holotame-front .holotame-trend-item { grid-template-columns: 96px 1fr; }
  .holotame-front .holotame-sechead { flex-wrap: wrap; }
}

/* 早見表 空タブの文言 */
.holotame-front .holotame-matome-empty,
.holotame-matome-empty {
  margin: 8px 2px;
  padding: 24px 0;
  text-align: center;
  color: #8aa1b2;
  font-size: 0.9rem;
  font-weight: 700;
}

/* 早見表: 全員まとめ HUB チップ */
.holotame-front .holotame-hubchips,
.holotame-hubchips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.holotame-hubchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--holotame-line, #e3edf5);
  background: #f7fbff;
  color: var(--holotame-ink, #14323f);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.holotame-hubchip:hover {
  transform: translateY(-2px);
  border-color: #bfe6f5;
  box-shadow: 0 8px 18px rgba(15, 52, 74, 0.08);
  color: var(--holotame-accent-deep, #0d8fc0);
}
.holotame-hubchip-ico { font-size: 1.15rem; line-height: 1; }

/* ============================================================
 * トップ ポータル型レイアウト (モック top_concept_portal_v2 準拠) 2026-06-26
 * .holotame-front.holotame-portal 配下にスコープ
 * ============================================================ */
.holotame-portal {
  --pt-aqua: #3fb6e6; --pt-aqua-d: #1f8fc4; --pt-pink: #ff8fc0; --pt-pink-d: #f5609f;
  --pt-ink: #22424f; --pt-ink2: #5a7682; --pt-line: #e3eef3;
  --c-news: #f5609f; --c-tips: #36b58a; --c-music: #7a6cf0; --c-matome: #ef8a3a; --c-member: #3fb6e6;
  --pt-radius: 14px; --pt-shadow: 0 4px 16px rgba(63, 182, 230, 0.10);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 14px; line-height: 1.6; color: var(--pt-ink);
  background:
    radial-gradient(1200px 400px at 10% -10%, #ffeef6 0%, rgba(255, 238, 246, 0) 60%),
    radial-gradient(1200px 400px at 100% -10%, #e2f6ff 0%, rgba(226, 246, 255, 0) 60%),
    #f5fbff;
}
.holotame-portal a { color: inherit; text-decoration: none; }

.holotame-portal .pt-cols { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.holotame-portal .pt-main { min-width: 0; }
.holotame-portal .pt-aside { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.holotame-portal .pt-block { background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); padding: 18px 18px 20px; margin-bottom: 24px; }
.holotame-portal .pt-full { margin-top: 2px; }
.holotame-portal .pt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.holotame-portal .pt-h2 { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; color: var(--pt-ink); line-height: 1.3; }
.holotame-portal .pt-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }
.holotame-portal .pt-en { font-size: 11px; color: var(--pt-ink2); font-weight: 700; letter-spacing: 0.12em; }
.holotame-portal .pt-more { font-size: 12px; font-weight: 700; color: var(--pt-aqua-d); white-space: nowrap; }
.holotame-portal .pt-more:hover { color: var(--pt-pink-d); }

/* 新着リスト */
.holotame-portal .pt-postlist { display: flex; flex-direction: column; }
.holotame-portal .pt-post { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--pt-line); align-items: flex-start; }
.holotame-portal .pt-post:last-child { border-bottom: none; padding-bottom: 0; }
.holotame-portal .pt-post-thumb { width: 140px; height: 88px; flex: none; border-radius: 10px; background: linear-gradient(135deg, #cdeeff, #ffe1ef); background-size: cover; background-position: center; }
.holotame-portal .pt-post-body { min-width: 0; }
.holotame-portal .pt-post-t { margin: 0 0 6px; font-size: 15px; font-weight: 800; line-height: 1.45; color: var(--pt-ink); }
.holotame-portal .pt-post:hover .pt-post-t { color: var(--c-news); }
.holotame-portal .pt-post-m { font-size: 11px; color: var(--pt-ink2); display: flex; gap: 8px; align-items: center; }
.holotame-portal .pt-kind { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #fff; }
.holotame-portal .pt-kind-cat { background: var(--c-news); }
.holotame-portal .pt-kind-tips { background: var(--c-tips); }

/* TIPS グリッド */
.holotame-portal .pt-tip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.holotame-portal .pt-tip { display: flex; flex-direction: column; gap: 8px; }
.holotame-portal .pt-tip-thumb { width: 100%; height: 84px; border-radius: 10px; background: linear-gradient(135deg, #d3f6ea, #e6fbff); background-size: cover; background-position: center; }
.holotame-portal .pt-tip-t { font-size: 12.5px; font-weight: 700; line-height: 1.45; color: var(--pt-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.holotame-portal .pt-tip:hover .pt-tip-t { color: var(--c-tips); }

/* 音楽 */
.holotame-portal .pt-music-sub { font-size: 13px; font-weight: 800; color: var(--c-music); margin: 2px 0 10px; display: flex; align-items: center; gap: 7px; }
.holotame-portal .pt-music-sub::before { content: "\266A"; font-size: 14px; }
.holotame-portal .pt-music-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.holotame-portal .pt-music-item { display: flex; gap: 11px; align-items: center; border: 1px solid var(--pt-line); border-radius: 11px; padding: 9px; background: #fbfaff; }
.holotame-portal .pt-music-thumb { width: 120px; height: 68px; border-radius: 8px; flex: none; overflow: hidden; background: linear-gradient(135deg, #e4dcff, #ffe1ef); }
.holotame-portal .pt-music-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.holotame-portal .pt-music-body { min-width: 0; }
.holotame-portal .pt-music-t { display: block; font-size: 13px; font-weight: 800; line-height: 1.3; color: var(--pt-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.holotame-portal .pt-music-item:hover .pt-music-t { color: var(--c-music); }
.holotame-portal .pt-music-a { display: block; font-size: 11px; color: var(--pt-ink2); }

/* サイドウィジェット */
.holotame-portal .pt-widget { background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); padding: 15px; }
.holotame-portal .pt-widget-h { margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--pt-ink); display: flex; align-items: center; gap: 8px; }
.holotame-portal .pt-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.holotame-portal .pt-rank-li { display: flex; gap: 11px; align-items: center; }
.holotame-portal .pt-rank-no { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #fff; background: var(--pt-ink2); }
.holotame-portal .pt-rank-thumb { flex: none; width: 120px; height: 68px; border-radius: 8px; background: linear-gradient(135deg, #cdeeff, #ffe1ef); background-size: cover; background-position: center; }
.holotame-portal .pt-rank > li:nth-child(1) .pt-rank-no { background: linear-gradient(135deg, #ffb43f, #ff8f3f); }
.holotame-portal .pt-rank > li:nth-child(2) .pt-rank-no { background: linear-gradient(135deg, #9fb8c6, #7d97a6); }
.holotame-portal .pt-rank > li:nth-child(3) .pt-rank-no { background: linear-gradient(135deg, #e0a06a, #c98246); }
.holotame-portal .pt-rank-t { font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--pt-ink); }
.holotame-portal .pt-rank-li:hover .pt-rank-t { color: var(--c-news); }
.holotame-portal .pt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.holotame-portal .pt-tags a { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #f0f9ff; border: 1px solid #d9eefb; color: var(--pt-ink2); }
.holotame-portal .pt-tags a::before { content: "#"; color: var(--pt-aqua-d); font-weight: 900; margin-right: 2px; }
.holotame-portal .pt-tags a:hover { background: #fff0f7; border-color: #ffd4e7; color: var(--c-news); }
.holotame-portal .pt-sns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.holotame-portal .pt-sns a { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 4px; border-radius: 11px; color: #fff; font-size: 11px; font-weight: 800; }
.holotame-portal .pt-sns .pt-sns-ic { font-size: 18px; line-height: 1; }
.holotame-portal .pt-sns-yt { background: linear-gradient(135deg, #ff5b6e, #ff3b54); }
.holotame-portal .pt-sns-x { background: linear-gradient(135deg, #3a4654, #1c232b); }
.holotame-portal .pt-sns-site { background: linear-gradient(135deg, var(--pt-aqua), var(--pt-aqua-d)); }

/* まとめ大全 */
.holotame-portal .pt-matome-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.holotame-portal .pt-mtile { position: relative; isolation: isolate; border-radius: 14px; padding: 18px 16px; color: #fff; overflow: hidden; min-height: 132px; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #ff9a3f, #ef6f8a); }
.holotame-portal .pt-mtile:nth-child(2) { background: linear-gradient(135deg, #3fb6e6, #6c8cf0); }
.holotame-portal .pt-mtile:nth-child(3) { background: linear-gradient(135deg, #ff8fc0, #f5609f); }
.holotame-portal .pt-mtile:nth-child(4) { background: linear-gradient(135deg, #36b58a, #3fb6e6); }
.holotame-portal .pt-mtile:hover { transform: translateY(-2px); transition: 0.15s; }
.holotame-portal .pt-mtile-thumb { position: absolute; inset: 0; z-index: -2; }
.holotame-portal .pt-mtile-thumb img { width: 100%; height: 100%; object-fit: cover; }
.holotame-portal .pt-mtile-has-thumb::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 30, 42, 0.18), rgba(12, 30, 42, 0.76)); }
.holotame-portal .pt-mtile-label { font-size: 15px; font-weight: 900; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.38); }
.holotame-portal .pt-mtile-count { font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, 0.28); border-radius: 999px; padding: 3px 10px; align-self: flex-start; backdrop-filter: blur(3px); }

/* メンバー (モック準拠の丸アイコン横並び) */
.holotame-portal .pt-members { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.holotame-portal .pt-mem { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 74px; text-align: center; }
.holotame-portal .pt-mem-av { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #fff; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(63, 182, 230, 0.25); overflow: hidden; background: #eef6fb; }
.holotame-portal .pt-mem-av img { width: 100%; height: 100%; object-fit: cover; }
.holotame-portal .pt-mem-nm { font-size: 11px; font-weight: 700; line-height: 1.3; color: var(--pt-ink2); }
.holotame-portal .pt-mem:hover .pt-mem-nm { color: var(--c-member); }
.holotame-portal .pt-mgen { width: 100%; margin-bottom: 6px; }
.holotame-portal .pt-mgen-ttl { font-size: 12px; font-weight: 800; color: var(--pt-ink2); margin: 0 0 10px; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .holotame-portal .pt-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .holotame-portal .pt-tip-grid { grid-template-columns: 1fr 1fr; }
  .holotame-portal .pt-music-list { grid-template-columns: minmax(0, 1fr); }
  .holotame-portal .pt-matome-grid { grid-template-columns: 1fr 1fr; }
  .holotame-portal .pt-post-thumb { width: 104px; height: 66px; }
}

/* ============================================================
 * 共通ヘッダーをモック調に (ロゴ左・検索ピル・ナビピル) 2026-06-26
 * ============================================================ */
.holotame-header-main { display: flex; align-items: center; gap: 18px; justify-content: space-between; }
.holotame-header-branding { flex: none; margin: 0; }
.holotame-header-branding .logo-image { margin: 0; }
.holotame-header-branding .logo-image img { width: auto; height: 44px; }
.holotame-header-search { flex: 1; max-width: 420px; margin-left: auto; }
.holotame-header-search .search-box { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid #e3eef3; border-radius: 999px; padding: 0 4px; box-shadow: none; }
.holotame-header-search .search-submit { order: -1; border: 0; background: transparent; color: #5a7682; width: auto; min-width: 0; height: auto; padding: 0 4px 0 12px; cursor: pointer; font-size: 14px; display: grid; place-items: center; }
.holotame-header-search .search-submit .fa-search { display: none !important; }
.holotame-header-search .search-submit::before { content: "🔍"; font-size: 15px; line-height: 1; }
.holotame-header-search .search-edit { border: 0; background: transparent; flex: 1; font-size: 13px; outline: none; padding: 9px 14px 9px 6px; color: #22424f; }

#navi.navi { background: #fff; border-top: 1px solid #e3eef3; box-shadow: none; }
#navi .navi-in { max-width: 1120px; }
#navi ul.menu-header { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; background: none; }
#navi ul.menu-header > li.menu-item { background: none; border: 0; }
#navi ul.menu-header > li.menu-item > a { display: block; padding: 8px 14px; border-radius: 999px; background: none; }
#navi ul.menu-header > li.menu-item > a .item-label { font-size: 13px; font-weight: 700; color: #5a7682; }
#navi ul.menu-header > li.menu-item > a:hover { background: linear-gradient(90deg, #eafaff, #ffeef6); }
#navi ul.menu-header > li.menu-item > a:hover .item-label { color: #22424f; }
#navi ul.menu-header > li.current-menu-item > a,
#navi ul.menu-header > li.current_page_item > a,
#navi ul.menu-header > li.current-menu-parent > a,
#navi ul.menu-header > li.current-category-ancestor > a { background: linear-gradient(90deg, #eafaff, #ffeef6); }
#navi ul.menu-header > li.current-menu-item > a .item-label,
#navi ul.menu-header > li.current_page_item > a .item-label,
#navi ul.menu-header > li.current-menu-parent > a .item-label { color: #22424f; }
@media (max-width: 640px) {
  .holotame-header-main { flex-wrap: wrap; }
  .holotame-header-search { order: 3; max-width: none; width: 100%; margin-left: 0; }
  #navi.navi { display: none; }
}

/* 早見表: 全員まとめ HUB カード (旧チップを置換) */
.holotame-hubgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.holotame-hubcard {
  display: block;
  border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.holotame-hubcard:hover {
  transform: translateY(-3px);
  border-color: #bfe6f5;
  box-shadow: 0 14px 28px rgba(15, 52, 74, 0.1);
}
.holotame-hubcard-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef6fb;
}
.holotame-hubcard-thumb .holotame-card-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.holotame-hubcard-ico {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(15, 52, 74, 0.12);
}
.holotame-hubcard-body { padding: 12px 14px 14px; }
.holotame-hubcard-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--holotame-ink, #14323f);
}
.holotame-hubcard-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--holotame-subtle, #5b7888);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (min-width: 768px) {
  .holotame-hubgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .holotame-hubgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* トレンド・話題: 週間(幅2) | 日間(幅1) | 月間(幅1) の1行 */
.holotame-front .holotame-trendrow {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.holotame-front .holotame-trendrank {
  background: #fff;
  border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 14px;
  padding: 14px 16px;
}
.holotame-front .holotame-trendrank-h {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #dde9f1;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--holotame-ink, #14323f);
}
@media (max-width: 900px) {
  .holotame-front .holotame-trendrow { grid-template-columns: 1fr 1fr; }
  .holotame-front .holotame-trendmain { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .holotame-front .holotame-trendrow { grid-template-columns: 1fr; }
  .holotame-front .holotame-trendmain { grid-column: auto; }
}

/* トレンド・話題: 日/週/月タブ + 順位付き横長リスト5件 */
.holotame-front .holotame-trend-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.holotame-front .holotame-trend-tab {
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid var(--holotame-line, #e3edf5);
  background: #f5fbff;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--holotame-subtle, #5b7888);
  cursor: pointer;
}
.holotame-front .holotame-trend-tab.is-active {
  background: linear-gradient(135deg, #ff8a4c, #ffb37e);
  color: #fff;
  border-color: transparent;
}
.holotame-front .holotame-trend-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.holotame-front .holotame-trend-list.is-active { display: grid; }
.holotame-front .holotame-trend-list li { margin: 0; }
.holotame-front .holotame-trend-row {
  display: grid;
  grid-template-columns: 36px 128px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  height: 100%;
  border: 1px solid var(--holotame-line, #e3edf5);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.holotame-front .holotame-trend-row:hover {
  transform: translateY(-2px);
  border-color: #ffd0a0;
  box-shadow: 0 10px 22px rgba(15, 52, 74, 0.08);
}
.holotame-front .holotame-trend-no {
  justify-self: center;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3f7;
  color: var(--holotame-subtle, #5b7888);
  font-weight: 900;
  font-size: 0.95rem;
}
.holotame-front .holotame-trend-row.is-top1 .holotame-trend-no {
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: #fff;
}
.holotame-front .holotame-trend-thumb {
  width: 128px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(135deg, #cdeefb, #ffe6f4);
  background-size: cover;
  background-position: center;
}
.holotame-front .holotame-trend-t {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--holotame-ink, #14323f);
}
.holotame-front .holotame-trend-mm {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--holotame-subtle, #5b7888);
}
@media (max-width: 880px) {
  .holotame-front .holotame-trend-list.is-active { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .holotame-front .holotame-trend-row { grid-template-columns: 28px 84px 1fr; gap: 10px; }
  .holotame-front .holotame-trend-thumb { width: 84px; }
}

/* 音楽DB: トップのタブ切り替え (chip をボタン化) */
.holotame-front .holotame-musicdb-filters .holotame-chip {
  cursor: pointer;
  border: 1px solid var(--holotame-line, #e3edf5);
  background: #eef8ff;
}
.holotame-front .holotame-musicdb-filters .holotame-chip.is-active {
  background: linear-gradient(135deg, #2b6fd6, #5a9be8);
  color: #fff;
  border-color: transparent;
}
.holotame-front .holotame-musicpanel { display: none; }
.holotame-front .holotame-musicpanel.is-active { display: table; }

/* トップ音楽DB: タイトル/歌唱が長くても1行(はみ出しは…)で行高を一定に保つ。
   (固定ページ /music/ の .holotame-musicdb-table 系 CSS をそのまま流用) */
.holotame-front .holotame-musicdb-table { table-layout: fixed; width: 100%; }
.holotame-front .holotame-musicdb-table .ht-musicdb-col-date,
.holotame-front .holotame-musicdb-table .ht-musicdb-date { width: 96px; }
.holotame-front .holotame-musicdb-table .ht-musicdb-col-thumb,
.holotame-front .holotame-musicdb-table .ht-musicdb-thumb { width: 132px; }
.holotame-front .holotame-musicdb-table .ht-musicdb-col-cat,
.holotame-front .holotame-musicdb-table .ht-musicdb-cat { width: 122px; }
/* 「ユニット/全体曲」など長い種別も折り返さず1行で収める。
   列を少し広げ、td左右余白を詰め、バッジの文字を僅かに小さくして対応。 */
.holotame-front .holotame-musicdb-table td.ht-musicdb-cat { padding-left: 8px; padding-right: 8px; }
.holotame-front .holotame-musicdb-table .ht-musicdb-cat .holotame-musicdb-badge {
  white-space: nowrap;
  font-size: 0.68rem;
  padding: 3px 8px;
  letter-spacing: -0.01em;
}
/* リンクは YouTube/Amazon を横1行で。その分タイトル列を狭める。 */
.holotame-front .holotame-musicdb-table .ht-musicdb-col-links,
.holotame-front .holotame-musicdb-table .ht-musicdb-links { width: 196px; white-space: nowrap; }
.holotame-front .holotame-musicdb-table .ht-musicdb-songtitle,
.holotame-front .holotame-musicdb-table .ht-musicdb-artist {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === スマホ: トップの音楽DB表も /music/ と同じコンパクトなリスト行に統一 ===
   タブ切り替え・表示件数はそのまま。トップ用のテーブル上書き
   (table-layout:fixed・列幅・196px・1行省略) をモバイルで無効化する。 */
@media (max-width: 600px) {
  /* アクティブなパネル(=table)だけをブロック化。非アクティブは
     .holotame-musicpanel{display:none} のまま隠す(タブ切り替えを維持)。
     ※ .holotame-musicdb-table 全体に display:block を当てると非アクティブ
        パネルの display:none を上書きしてしまい全タブが表示される。 */
  .holotame-front .holotame-musicpanel.is-active { display: block; width: 100%; }
  .holotame-front .holotame-musicpanel.is-active tbody { display: block; width: 100%; }
  .holotame-front .holotame-musicpanel.is-active thead { display: none; }

  .holotame-front .holotame-musicdb-table tr {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    column-gap: 8px;
    padding: 12px 12px 12px 100px;
    min-height: 100px;
    border-bottom: 1px solid #eef3f7;
  }
  .holotame-front .holotame-musicdb-table tr:hover td { background: transparent; }
  .holotame-front .holotame-musicdb-table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .holotame-front .holotame-musicdb-table .ht-musicdb-thumb {
    position: absolute;
    left: 12px;
    top: 12px;
    width: 76px;
  }
  .holotame-front .holotame-musicdb-table .ht-musicdb-thumb img { width: 76px; height: 76px; }

  /* タイトル/アーティスト行とリンク行は100%幅、発売日+種別は同じメタ行 */
  .holotame-front .holotame-musicdb-table .ht-musicdb-name { order: 1; flex: 0 0 100%; }
  .holotame-front .holotame-musicdb-table .ht-musicdb-songtitle,
  .holotame-front .holotame-musicdb-table .ht-musicdb-artist {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .holotame-front .holotame-musicdb-table .ht-musicdb-songtitle { font-size: 0.92rem; }
  .holotame-front .holotame-musicdb-table .ht-musicdb-date { order: 2; }
  .holotame-front .holotame-musicdb-table .ht-musicdb-cat { order: 3; }
  .holotame-front .holotame-musicdb-table .ht-musicdb-cat .holotame-musicdb-badge {
    background: none;
    border: 0;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0d8fc0;
  }
  .holotame-front .holotame-musicdb-table .ht-musicdb-cat::before {
    content: "・";
    margin-right: 2px;
    color: #b9cad6;
  }
  .holotame-front .holotame-musicdb-table .ht-musicdb-links {
    order: 4;
    width: auto;
    flex: 0 0 100%;
    white-space: normal;
    margin-top: 2px;
  }
  .holotame-front .holotame-musicdb-table .ht-musicdb-links a { margin: 0 6px 0 0; }
}

/* =========================================================================
   記事末尾の登場タレント別グッズ ([holotame_member_merch]) — Rinker風カード
   ========================================================================= */
.holotame-merch {
  margin: 1.8em 0 0.6em;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 12px 14px;
  background: #fafafa;
}
.holotame-merch-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #334155;
}
.holotame-merch-emoji { font-size: 17px; }
.holotame-merch-title-h { flex: 1 1 auto; }
.holotame-merch-pr {
  font-size: 10px;
  color: #9aa3af;
  border: 1px solid #d6dbe2;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 500;
}
.holotame-merch-grid { display: flex; flex-direction: column; gap: 14px; }
.holotame-merch-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 16px;
  align-items: center;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.holotame-merch-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.09);
  border-color: #d4d9df;
  transform: translateY(-2px);
}
.holotame-merch-thumb {
  flex: 0 0 118px;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef0f2;
  border-radius: 4px;
  padding: 4px;
}
.holotame-merch-thumb img {
  max-width: 100%;
  max-height: 108px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .2s ease;
}
.holotame-merch-thumb:hover img { transform: scale(1.05); }
.holotame-merch-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.holotame-merch-name {
  font-size: 15px;
  line-height: 1.6;
  color: #3a3a3a !important;       /* テーマの a / a:hover 色に勝たせる(ホバーで赤くしない) */
  font-weight: 600;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity .15s ease;
}
.holotame-merch-name:hover { opacity: 0.6; color: #3a3a3a !important; }   /* 色はそのまま・薄くしてホバーを示す */
.holotame-merch-price { color: #9aa3af; font-weight: 600; font-size: 12.5px; margin: 6px 0 10px; }
.holotame-merch-shops { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.holotame-merch-shop {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  min-width: 92px;
  text-decoration: none;
  color: #fff !important;          /* テーマの a:hover 色で赤くならないよう固定 */
  background: #ff9900;            /* Amazon */
  border-radius: 6px;
  padding: 9px 18px;
  line-height: 1.4;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
  transition: opacity .15s ease, transform .1s ease, box-shadow .15s ease;
}
.holotame-merch-shop:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}
.holotame-merch-shop:active { transform: translateY(0); }
.holotame-merch-shop:nth-child(2) { background: #bf0000; }   /* 楽天 */
.holotame-merch-shop:nth-child(3) { background: #ff0033; }   /* Yahoo */
@media (max-width: 480px) {
  .holotame-merch-card { gap: 12px; padding: 12px; }
  .holotame-merch-thumb { flex-basis: 88px; width: 88px; height: 88px; }
  .holotame-merch-thumb img { max-height: 80px; }
  .holotame-merch-name { font-size: 14px; -webkit-line-clamp: 2; }
  .holotame-merch-shop { min-width: 0; flex: 1 1 auto; padding: 9px 8px; font-size: 13px; }
}

/* =========================================================================
   本文中の自動関連記事 (2つ目の見出しの前に3本)
   ========================================================================= */
.holotame-related {
  margin: 1.6em 0;
  border: 1px solid #9bdcee;
  border-radius: 10px;
  padding: 12px 12px 14px;
  background: #eef9fc;
}
.holotame-related-head {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #2EB6DC;
}
.holotame-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.holotame-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #cdeaf3;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
.holotame-related-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.holotame-related-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: #eef0f2;
  overflow: hidden;
}
.holotame-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.holotame-related-title {
  padding: 8px 10px 10px;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: #3a3a3a !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 600px) {
  .holotame-related-grid { grid-template-columns: 1fr; gap: 8px; }
  .holotame-related-card { flex-direction: row; align-items: center; }
  .holotame-related-thumb { flex: 0 0 120px; width: 120px; }
  .holotame-related-title { padding: 6px 10px; font-size: 13.5px; -webkit-line-clamp: 3; }
}

/* ============================================================
 * 個別記事サイドバーのウィジェット見出しをトップ(.pt-widget-h)に統一 2026-06-27
 * 旧: 青グラデのピル(.sidebar h3 / .widget-title, line 283/1206)。
 * 新: トップ同様「角ドット + 濃色の太字見出し」。source order で後ろなので上書きできる。
 * --c-news(#f5609f)/--pt-ink(#22424f) は .holotame-portal スコープなので実値で指定。
 * ============================================================ */
.sidebar .widget-sidebar-title.widget-title,
.sidebar .widget-sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  color: #22424f;
}
.sidebar .widget-sidebar-title.widget-title::before,
.sidebar .widget-sidebar-title::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #f5609f;   /* トップの人気ランキングと同じ var(--c-news) */
}
/* =========================================================
 * Front page portal redesign (.htx-* scoped)
 * ======================================================= */
.htx-front {
  --htx-navy: #102f42;
  --htx-navy-2: #1c526b;
  --htx-aqua: #23b9c7;
  --htx-pink: #ef5c9c;
  --htx-bg: #f1f7f9;
  --htx-text: #102b3b;
  --htx-muted: #68808d;
  --htx-line: #dce8ed;
  --htx-shadow: 0 14px 36px rgba(20, 55, 70, .1);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 20px 70px;
  color: var(--htx-text);
}
.front-top-page .main,
.front-top-page .main-in,
.front-top-page .content-in,
.front-top-page .content {
  max-width: none;
}
.front-top-page .content {
  background: var(--htx-bg, #f1f7f9);
}
.htx-front a {
  color: inherit;
  text-decoration: none;
}
.htx-section {
  margin-top: 44px;
}
.htx-section:first-child {
  margin-top: 0;
}
.htx-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.htx-heading h1,
.htx-heading h2 {
  margin: 5px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--htx-text);
  font-size: 25px;
  line-height: 1.25;
}
.htx-heading > a,
.htx-auto-label {
  color: #1597a4;
  font-size: 11px;
  font-weight: 900;
}
.htx-eyebrow {
  color: #1597a4;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .17em;
}
.htx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, .9fr);
  gap: 20px;
}
.htx-hero {
  position: relative;
  align-self: start;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--htx-shadow);
}
.htx-hero-thumb,
.htx-hero-thumb img,
.htx-headline-thumb,
.htx-headline-thumb img,
.htx-mini-thumb,
.htx-mini-thumb img,
.htx-ranking-item-thumb,
.htx-ranking-item-thumb img,
.htx-track-thumb,
.htx-track-thumb img,
.htx-guide-thumb,
.htx-guide-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}
.htx-hero-thumb {
  position: absolute;
  inset: 0;
}
.htx-hero-thumb img,
.htx-headline-thumb img {
  object-position: center 40%;
}
.htx-hero-thumb img,
.htx-headline-thumb img,
.htx-mini-thumb img,
.htx-ranking-item-thumb img,
.htx-track-thumb img,
.htx-guide-thumb img {
  object-fit: cover;
}
.htx-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.2), transparent 48%),
    linear-gradient(135deg, #267e9c, #44c4ce 55%, #f47aad);
}
.htx-hero-shade {
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(transparent, rgba(8,31,45,.94));
}
.htx-hero-copy {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 25px;
  left: 28px;
  color: #fff;
}
.htx-hero-copy strong {
  margin: 11px 0 8px;
  font-size: 29px;
  line-height: 1.42;
  font-weight: 1000;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.htx-hero-copy small {
  color: rgba(255,255,255,.76);
  font-size: 10px;
}
.htx-new-badge {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--htx-pink);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.htx-headlines {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}
.htx-headline {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 10px;
  border: 1px solid var(--htx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--htx-shadow);
}
.htx-headline-thumb {
  position: relative;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px;
}
.htx-headline-thumb img {
  position: absolute;
  inset: 0;
}
.htx-headline-copy {
  align-self: center;
  min-width: 0;
}
.htx-headline-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.htx-headline-copy small {
  display: block;
  margin-top: 6px;
  color: var(--htx-muted);
  font-size: 9px;
}
.htx-tips-grid,
.htx-guides,
.htx-members {
  border: 1px solid rgba(209,224,230,.7);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--htx-shadow);
}
.htx-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 15px;
  padding: 20px;
}
.htx-mini-news {
  display: block;
  min-width: 0;
}
.htx-mini-thumb {
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 11px;
}
.htx-mini-news strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.htx-popular {
  padding: 24px;
  border: 1px solid rgba(225,184,99,.42);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7e4, #fffdf8 52%, #fff2cf);
  box-shadow: var(--htx-shadow);
}
.htx-popular .htx-heading {
  align-items: center;
}
.htx-ranking-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--htx-line);
  border-radius: 999px;
  background: #fff;
}
.htx-ranking-tabs button {
  min-width: 62px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--htx-muted);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.htx-ranking-tabs button.is-active {
  color: #fff;
  background: var(--htx-navy-2);
}
.htx-ranking-tabs button:focus-visible {
  outline: 2px solid var(--htx-pink);
  outline-offset: 2px;
}
.htx-ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.htx-ranking-item {
  display: block;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--htx-line);
  border-radius: 15px;
  background: #fff;
}
.htx-ranking-item.is-first {
  border-color: rgba(231,162,41,.75);
  box-shadow: 0 10px 24px rgba(231,162,41,.16);
}
.htx-ranking-item-thumb {
  position: relative;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
}
.htx-rank-badge {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 10px;
  color: #fff;
  background: var(--htx-navy-2);
  box-shadow: 0 4px 12px rgba(8,31,45,.2);
  font-size: 12px;
  font-weight: 1000;
}
.htx-rank-badge.is-1 {
  background: #e7a229;
}
.htx-rank-badge.is-2 {
  background: #8e9ca8;
}
.htx-rank-badge.is-3 {
  background: #b87333;
}
.htx-ranking-item-copy {
  display: block;
  min-width: 0;
  margin-top: 8px;
}
.htx-ranking-item-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.htx-ranking-item-copy small {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--htx-muted);
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.htx-music {
  padding: 27px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #272953, #4c3d9c 58%, #7058d1);
  box-shadow: 0 18px 42px rgba(62,45,130,.22);
}
.htx-music .htx-eyebrow {
  color: #c7c2ff;
}
.htx-music .htx-heading h2,
.htx-music .htx-heading > a {
  color: #fff;
}
.htx-music-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, .75fr));
  gap: 11px;
}
.htx-track {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}
.htx-track-thumb {
  height: 112px;
}
.htx-track.is-featured .htx-track-thumb {
  height: 154px;
}
.htx-track-copy {
  display: block;
  padding: 11px 12px 13px;
}
.htx-track-copy strong,
.htx-track-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.htx-track-copy strong {
  font-size: 11px;
  font-weight: 1000;
}
.htx-track.is-featured .htx-track-copy strong {
  font-size: 14px;
}
.htx-track-copy small {
  margin-top: 4px;
  color: rgba(255,255,255,.65);
  font-size: 9px;
}
.htx-guides,
.htx-members {
  padding: 24px;
}
.htx-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.htx-front .htx-guide {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border-radius: 17px;
  color: #fff;
}
.htx-guide-thumb,
.htx-guide-shade {
  position: absolute;
  inset: 0;
}
.htx-guide-shade {
  background: linear-gradient(transparent 25%, rgba(8,31,45,.92));
}
.htx-guide-copy {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
}
.htx-guide-copy small,
.htx-guide-copy strong {
  display: block;
}
.htx-guide-copy small {
  color: rgba(255,255,255,.72);
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.htx-guide-copy strong {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 1000;
}
.htx-branch-tabs,
.htx-generation-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}
.htx-branch-tabs {
  padding: 2px 0 10px;
  border-bottom: 1px solid var(--htx-line);
}
.htx-generation-tabs {
  margin: 12px 0 18px;
}
.htx-branch-tabs button,
.htx-generation-tabs button {
  appearance: none;
  width: auto;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  color: #53707e;
  background: #edf4f6;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.htx-branch-tabs button.is-active {
  color: #fff;
  background: var(--htx-navy);
}
.htx-generation-tabs button.is-active {
  color: #fff;
  background: var(--htx-aqua);
}
.htx-member-grid {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.htx-member-grid.is-active {
  display: grid;
}
.htx-member {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--htx-line);
  border-radius: 14px;
  background: #fbfdfe;
}
.htx-avatar {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(42,139,166,.18);
}
.htx-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.htx-member > span:last-child {
  min-width: 0;
}
.htx-member strong,
.htx-member small {
  display: block;
}
.htx-member strong {
  overflow: hidden;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.htx-member small {
  margin-top: 4px;
  color: var(--htx-muted);
  font-size: 8px;
}
@media screen and (max-width: 820px) {
  .htx-front {
    padding: 26px 12px 54px;
  }
  .htx-heading h1,
  .htx-heading h2 {
    font-size: 21px;
  }
  .htx-hero-grid {
    grid-template-columns: 1fr;
  }
  .htx-hero {
    min-height: 0;
  }
  .htx-hero-copy {
    right: 18px;
    left: 18px;
    bottom: 14px;
  }
  .htx-hero-copy strong {
    font-size: clamp(16px, 4vw, 21px);
  }
  .htx-headline {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .htx-tips-grid {
    grid-template-columns: 1fr;
  }
  .htx-mini-news {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }
  .htx-mini-thumb {
    height: 78px;
    aspect-ratio: auto;
  }
  .htx-mini-news strong {
    margin-top: 0;
    font-size: 13px;
  }
  .htx-popular {
    padding: 18px;
  }
  .htx-ranking-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .htx-ranking-item {
    flex: 0 0 220px;
  }
  .htx-music {
    margin-right: -12px;
    margin-left: -12px;
    padding: 22px 12px;
    border-radius: 0;
  }
  .htx-music-grid {
    display: flex;
    overflow-x: auto;
  }
  .htx-track {
    flex: 0 0 205px;
  }
  .htx-track.is-featured {
    flex-basis: 270px;
  }
  .htx-guides,
  .htx-members {
    padding: 18px;
  }
  .htx-guide-grid {
    grid-template-columns: 1fr 1fr;
  }
  .htx-front .htx-guide {
    min-height: 205px;
  }
  .htx-member-grid {
    grid-template-columns: 1fr 1fr;
  }
  .htx-member {
    padding: 10px;
  }
  .htx-avatar {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
}
@media screen and (max-width: 560px) {
  .htx-popular .htx-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .htx-ranking-tabs {
    align-self: flex-start;
  }
  .htx-ranking-tabs button {
    min-width: 58px;
    padding-right: 12px;
    padding-left: 12px;
  }
  .htx-ranking-item {
    flex-basis: 205px;
  }
}
/* Front page index layout: member wall hero, library cards, glossary entries */
.htx-intro {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 48px 44px;
  border-radius: 24px;
  background: var(--htx-navy);
  color: #fff;
}
.htx-intro-wall {
  position: absolute;
  top: -60px;
  right: -40px;
  bottom: -60px;
  width: 60%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-content: center;
  gap: 12px;
  transform: rotate(-9deg);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%);
  mask-image: linear-gradient(to right, transparent 0, #000 40%);
}
.htx-intro-wall span {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: var(--htx-navy-2);
}
.htx-intro-wall span:nth-child(even) {
  transform: translateY(26px);
}
.htx-intro-wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.htx-intro-copy {
  position: relative;
  max-width: 560px;
}
.htx-intro-name {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--htx-pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.htx-intro h1 {
  margin: 16px 0 26px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
  word-break: auto-phrase;
}
.htx-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.htx-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--htx-text);
  font-size: 15px;
}
.htx-search input[type="search"]:focus {
  outline: none;
}
.htx-search:focus-within {
  box-shadow: 0 0 0 3px var(--htx-aqua), 0 12px 30px rgba(0,0,0,.25);
}
.htx-search button {
  flex: 0 0 auto;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--htx-pink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.htx-front a:focus-visible {
  outline: 3px solid var(--htx-aqua);
  outline-offset: 3px;
}

/* まとめ・データ: アイキャッチを切らずに見せる画像カード */
.htx-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.htx-book {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--htx-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.htx-book:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20, 55, 70, .16);
}
.htx-book-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--htx-line);
}
.htx-book-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.htx-book strong {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 14px 15px;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 雑学・TIPS: 「〇〇とは」の〇〇を見出し語として大きく */
.htx-glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  padding: 6px 26px;
  border: 1px solid rgba(209,224,230,.7);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--htx-shadow);
}
.htx-entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--htx-line);
}
.htx-entry-thumb {
  display: block;
  height: 80px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--htx-line);
}
.htx-entry-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.htx-entry:hover .htx-entry-thumb img {
  transform: scale(1.06);
}
.htx-entry-copy {
  display: block;
  min-width: 0;
}
.htx-entry-term {
  display: block;
  color: var(--htx-navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.htx-entry-term small {
  margin-left: 4px;
  color: var(--htx-pink);
  font-size: 12px;
  font-weight: 700;
}
.htx-entry-desc {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 5px;
  color: var(--htx-muted);
  font-size: 12px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.htx-entry-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.htx-entry:hover .htx-entry-term,
.htx-entry:hover .htx-entry-title {
  color: #1597a4;
}

/* 最近更新した記事: 小さい画像付きで横一列 */
.htx-recent-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.htx-recent-item {
  display: block;
}
.htx-recent-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--htx-line);
}
.htx-recent-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.htx-recent-item strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.htx-recent-item:hover strong {
  color: #1597a4;
}
@media screen and (max-width: 820px) {
  .htx-intro {
    min-height: 0;
    padding: 30px 18px 24px;
    border-radius: 18px;
  }
  .htx-intro-wall {
    top: -40px;
    right: -60px;
    bottom: auto;
    width: 110%;
    grid-template-columns: repeat(7, 1fr);
    opacity: .28;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .htx-intro h1 {
    margin: 12px 0 20px;
    font-size: 22px;
  }
  .htx-search button {
    padding: 0 16px;
  }
  .htx-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .htx-book:nth-child(n+9) {
    display: none;
  }
  .htx-book strong {
    margin: 9px 10px 11px;
    font-size: 12px;
  }
  .htx-glossary-list {
    grid-template-columns: 1fr;
    padding: 2px 16px;
  }
  .htx-entry {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }
  .htx-entry-thumb {
    height: 68px;
  }
  .htx-entry-term {
    font-size: 17px;
  }
  .htx-recent-row {
    display: flex;
    overflow-x: auto;
    margin-right: -12px;
    padding-right: 12px;
  }
  .htx-recent-item {
    flex: 0 0 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .htx-book,
  .htx-entry-thumb img {
    transition: none;
  }
  .htx-book:hover,
  .htx-entry:hover .htx-entry-thumb img {
    transform: none;
  }
}
/* =========================================================
 * Event schedule page (/events/) + front page event cards (.htx-ev-*)
 * ======================================================= */
.htx-ev-page .htx-heading {
  margin-bottom: 10px;
}
.htx-ev-lead {
  margin: 0 0 22px;
  color: var(--htx-muted);
  font-size: 13px;
  line-height: 1.8;
}
.htx-ev-trial {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 3px solid var(--htx-pink);
  background: var(--htx-bg);
  color: var(--htx-text);
  font-size: 13px;
  line-height: 1.7;
}
.htx-ev-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid rgba(209,224,230,.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--htx-shadow);
}
.htx-ev-kindbtns {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.htx-ev-kindbtn {
  padding: 6px 13px;
  border: 1px solid var(--htx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--htx-muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.htx-ev-kindbtn.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--htx-navy), var(--htx-navy-2));
  color: #fff;
}
.htx-ev-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.htx-ev-search,
.htx-ev-selects select {
  padding: 7px 11px;
  border: 1px solid var(--htx-line);
  border-radius: 10px;
  background: #fff;
  color: var(--htx-text);
  font-size: 12.5px;
}
.htx-ev-search {
  min-width: 220px;
}
.htx-ev-section {
  margin-bottom: 38px;
}
.htx-ev-h2,
.htx-ev-details > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--htx-text);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
}
.htx-ev-details > summary {
  cursor: pointer;
  list-style: none;
}
.htx-ev-details > summary::-webkit-details-marker {
  display: none;
}
.htx-ev-details > summary::after {
  content: "開く";
  color: #1597a4;
  font-size: 11px;
  font-weight: 900;
}
.htx-ev-details[open] > summary::after {
  content: "閉じる";
}
.htx-ev-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--htx-muted);
}
.htx-ev-dot.is-live {
  background: #ef5c9c;
  box-shadow: 0 0 0 4px rgba(239,92,156,.18);
}
.htx-ev-dot.is-soon {
  background: var(--htx-aqua);
  box-shadow: 0 0 0 4px rgba(35,185,199,.16);
}
.htx-ev-dot.is-ended {
  background: #b6c7cf;
}
.htx-ev-count {
  padding: 2px 9px;
  border-radius: 999px;
  background: #eaf3f6;
  color: var(--htx-muted);
  font-size: 11px;
  font-weight: 900;
}
.htx-ev-month {
  margin: 22px 0 12px;
  padding: 0 0 0 12px;
  border: 0;
  border-left: 4px solid var(--htx-aqua);
  background: none;
  color: var(--htx-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}
.htx-ev-group:first-of-type .htx-ev-month {
  margin-top: 4px;
}
.htx-ev-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.htx-ev-card {
  display: flex;
  align-items: stretch;
  gap: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(209,224,230,.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(20,55,70,.06);
}
.htx-ev-card.is-ended {
  background: #fafcfd;
  opacity: .78;
}
/* 絞り込みで隠す時。display:flex が [hidden] より強いので明示する */
.htx-ev-card[hidden] {
  display: none;
}
.htx-ev-when {
  display: flex;
  width: 74px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: linear-gradient(160deg, #f2f9fb, #e8f3f7);
  color: var(--htx-navy);
  text-align: center;
}
.htx-ev-md {
  font-size: 19px;
  font-weight: 1000;
  line-height: 1.15;
}
.htx-ev-dow {
  color: var(--htx-muted);
  font-size: 10.5px;
  font-weight: 900;
}
.htx-ev-until,
.htx-ev-time {
  margin-top: 3px;
  color: #1597a4;
  font-size: 10.5px;
  font-weight: 900;
}
.htx-ev-body {
  min-width: 0;
  flex: 1 1 auto;
}
.htx-ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.htx-ev-kind,
.htx-ev-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .02em;
}
.htx-ev-kind {
  background: #eef5f8;
  color: #4a6b7a;
}
.htx-ev-kind.is-live {
  background: #e7f6f8;
  color: #0f7d88;
}
.htx-ev-kind.is-anniversary {
  background: #fdf0e4;
  color: #a5641c;
}
.htx-ev-kind.is-birthday {
  background: #fdeaf3;
  color: #b83972;
}
.htx-ev-kind.is-outfit {
  background: #f0edfc;
  color: #5b47ab;
}
.htx-ev-badge.is-urgent {
  background: #ef5c9c;
  color: #fff;
}
.htx-ev-badge.is-live {
  background: #fce7f0;
  color: #b83972;
}
.htx-ev-badge.is-soon {
  background: #e2f5f7;
  color: #0f7d88;
}
.htx-ev-badge.is-cancel {
  background: #4a5560;
  color: #fff;
}
.htx-ev-title {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--htx-text);
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.55;
}
.htx-ev-title a:hover {
  color: #1597a4;
  text-decoration: underline;
}
.htx-ev-cast,
.htx-ev-meta {
  margin: 5px 0 0;
  color: var(--htx-muted);
  font-size: 11.5px;
  line-height: 1.7;
}
.htx-ev-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}
.htx-ev-links a {
  padding: 4px 11px;
  border: 1px solid var(--htx-line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.htx-ev-read {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--htx-navy), var(--htx-navy-2));
  color: #fff !important;
}
.htx-ev-official {
  color: #1597a4 !important;
}
.htx-ev-thumb {
  width: 132px;
  flex: none;
  overflow: hidden;
  border-radius: 11px;
}
.htx-ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.htx-ev-none,
.htx-ev-empty,
.htx-ev-note {
  margin: 10px 0 0;
  color: var(--htx-muted);
  font-size: 12px;
  line-height: 1.8;
}
.htx-ev-note {
  margin-top: 30px;
}
/* front page: event article cards */
.htx-events .htx-mini-copy {
  display: block;
  min-width: 0;
}

.htx-ev-kind.is-stream {
  background: #e0f2fe;
  color: #075985;
}

.htx-ev-kind.is-collaboration {
  background: #fef3c7;
  color: #92400e;
}

.htx-ev-kind.is-popup {
  background: #fce7f3;
  color: #9d174d;
}

.htx-ev-kind.is-merchandise {
  background: #ecfccb;
  color: #3f6212;
}

.htx-ev-kind.is-external,
.htx-ev-kind.is-other {
  background: #f1f5f9;
  color: #475569;
}
.htx-ev-flag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
}
.htx-ev-flag.is-live {
  background: #ef5c9c;
  color: #fff;
}
.htx-ev-flag.is-soon {
  background: #e2f5f7;
  color: #0f7d88;
}
.htx-ev-flag.is-ended {
  background: #eef1f5;
  color: #7b8f9b;
}
.htx-events .htx-mini-news strong {
  margin-top: 5px;
}
@media screen and (max-width: 834px) {
  .htx-ev-thumb {
    width: 104px;
  }
}
@media screen and (max-width: 560px) {
  .htx-ev-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .htx-ev-search {
    min-width: 0;
    flex: 1 1 auto;
  }
  .htx-ev-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "when tags"
      "thumb summary"
      "links links";
    align-items: start;
    gap: 10px 12px;
    padding: 12px;
  }
  .htx-ev-when {
    grid-area: when;
    width: auto;
    min-height: 27px;
    flex-flow: row wrap;
    gap: 2px 4px;
    justify-content: flex-start;
    padding: 4px 8px;
    text-align: left;
  }
  .htx-ev-md {
    font-size: 14px;
  }
  .htx-ev-until,
  .htx-ev-time {
    margin-top: 0;
  }
  .htx-ev-body {
    display: contents;
  }
  .htx-ev-tags {
    grid-area: tags;
    align-self: center;
    margin-bottom: 0;
  }
  .htx-ev-summary {
    grid-area: summary;
    min-width: 0;
  }
  .htx-ev-links {
    grid-area: links;
    margin-top: 0;
  }
  .htx-ev-thumb {
    grid-area: thumb;
    width: 96px;
    height: 72px;
  }
  .htx-ev-card:not(.has-thumb) {
    grid-template-areas:
      "when tags"
      "summary summary"
      "links links";
  }
}
