/*
Theme Name: MUUM Child
Template: muum_tcd085
Version: 1.0
*/


/* ========================================
   リアルタイムランキング
======================================== */

.muum-realtime-ranking {
  margin-top: 24px;
}

.muum-realtime-ranking__heading {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.muum-realtime-ranking__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* ========================================
   ランキングカード共通
======================================== */

.muum-ranking-card {
  margin: 0;
}

.muum-ranking-card__link {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px;

  border: 1px solid #e7e7e7;
  border-radius: 12px;

  background: #fff;

  color: inherit;
  text-decoration: none;

  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.muum-ranking-card__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* ========================================
   サムネイル
======================================== */

.muum-ranking-card__image {
  position: relative;

  flex: 0 0 92px;

  width: 92px;

  aspect-ratio: 16 / 10;

  border-radius: 9px;

  overflow: hidden;

  background: #f3f3f3;
}

.muum-ranking-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.muum-ranking-card__no-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  color: #aaa;

  font-size: 10px;
  font-weight: 600;
}


/* ========================================
   順位
======================================== */

.muum-ranking-card__rank {
  position: absolute;

  z-index: 2;

  top: 6px;
  left: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;

  background: #111;

  color: #fff;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}


/* ========================================
   タイトル
======================================== */

.muum-ranking-card__body {
  min-width: 0;
  flex: 1;
}

.muum-ranking-card__title {
  margin: 0;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;

  display: -webkit-box;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
}


/* ========================================
   PV表示
   今回は表示しない
======================================== */

.muum-ranking-card__views {
  display: none !important;
}


/* ========================================
   1位
======================================== */

.muum-ranking-card:first-child
.muum-ranking-card__link {
  display: block;

  padding: 0 0 12px;
}

.muum-ranking-card:first-child
.muum-ranking-card__image {
  width: 100%;

  aspect-ratio: 16 / 10;

  border-radius: 12px 12px 0 0;
}

.muum-ranking-card:first-child
.muum-ranking-card__rank {
  top: 10px;
  left: 10px;

  width: 40px;
  height: 40px;

  font-size: 18px;
}

.muum-ranking-card:first-child
.muum-ranking-card__body {
  padding: 10px 12px 0;
}

.muum-ranking-card:first-child
.muum-ranking-card__title {
  font-size: 16px;
  font-weight: 700;
}


/* ==================================================
   俺ぱん ヘッダーロゴ調整
   PC / iPad / スマホ共通
   ================================================== */

/* 全サイズ共通 */
#header_logo img,
#header_logo img.pc_logo_image {
  max-height: 95px !important;
  width: auto !important;
  height: auto !important;
}

/* =========================================
   PC ヘッダー・ロゴ
========================================= */

@media screen and (min-width: 1200px) {

  #header_logo img,
  #header_logo img.pc_logo_image {
    max-height: 110px !important;
    width: auto !important;
    height: auto !important;
  }

  #header_logo {
    transform: translateX(-110px) !important;
  }

  #header_top {
    height: 125px !important;
  }

  /* ここが重要 */
  #header {
    height: auto !important;
  }
}

/* ---------- iPad・スマホ ---------- */
@media screen and (max-width: 1199px) {

  #header_logo {
    transform: translateY(7px) !important;
  }

  #header {
    height: 110px !important;
  }

}

/* =========================================
   サイドバー：タグ検索
========================================= */

.muum-tag-search {
  width: 100%;
  box-sizing: border-box;

  margin: 0 0 14px;
  padding: 18px;

  background: #fff;

  border: 2px solid #e9472f;
  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}


/* 見出し */
.muum-tag-search__header {
  margin-bottom: 14px;
}

.muum-tag-search__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.muum-tag-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  border-radius: 10px;

  background: #ff4f8b;
  color: #fff;

  font-size: 20px;
  font-weight: 800;
}

.muum-tag-search__en {
  display: block;

  margin-bottom: 2px;

  color: #ff4f8b;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.12em;
}

.muum-tag-search__title h2 {
  margin: 0;

  color: #222;

  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}


/* 検索フォーム */
.muum-tag-search__form {
  position: relative;

  width: 100%;
  margin: 0 0 14px;
}

.muum-tag-search__input {
  width: 100%;
  height: 44px;

  box-sizing: border-box;

  padding: 0 50px 0 14px;

  border: 1px solid #e5e5e5;
  border-radius: 10px;

  background: #f8f8f8;

  color: #333;

  font-size: 13px;

  outline: none;
}

.muum-tag-search__input:focus {
  border-color: #ff4f8b;
  background: #fff;
}

.muum-tag-search__button {
  position: absolute;

  top: 4px;
  right: 4px;

  width: 36px;
  height: 36px;

  padding: 0;

  border: 0;
  border-radius: 8px;

  background: #ff4f8b;
  color: #fff;

  cursor: pointer;
}


/* 人気タグ */
.muum-tag-search__popular-title {
  display: block;

  margin-bottom: 9px;

  color: #888;

  font-size: 11px;
  font-weight: 700;
}

.muum-tag-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.muum-tag-search__tag {
  display: inline-flex;
  align-items: center;

  padding: 5px 9px;

  border: 1px solid #ededed;
  border-radius: 999px;

  background: #fafafa;

  color: #555;

  font-size: 11px;
  font-weight: 700;

  text-decoration: none;
}

.muum-tag-search__tag span {
  margin-right: 3px;
  color: #ff4f8b;
}

.muum-tag-search__tag:hover {
  border-color: #ff4f8b;
  background: #ff4f8b;
  color: #fff;
}

.muum-tag-search__tag:hover span {
  color: #fff;
}

/* =========================================
   PC：タグ検索の開始位置を新着カードに揃える
========================================= */

@media screen and (min-width: 1101px) {

  .muum-home-sidebar {
    padding-top: 42px;
    box-sizing: border-box;
  }

}

/* =========================================
   タグ検索：上部の赤ライン
========================================= */

@media screen and (min-width: 1101px) {

  .muum-tag-search {
    position: relative;
    margin-top: 10px;
  }

  .muum-tag-search::before {
    content: "";
    position: absolute;

    top: -15px;
    left: 0;

    width: 100%;
    height: 3px;

    background: #e9472f;
  }

}

/* =========================================
   タグ検索：CSS虫眼鏡アイコン
========================================= */

.muum-tag-search__button {
  position: absolute;
}

.muum-tag-search__button::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 12px;
  height: 12px;

  border: 2px solid #fff;
  border-radius: 50%;

  transform: translate(-65%, -65%);
  box-sizing: border-box;
}

.muum-tag-search__button::after {
  content: "";

  position: absolute;

  width: 7px;
  height: 2px;

  background: #fff;
  border-radius: 999px;

  top: 60%;
  left: 58%;

  transform: rotate(45deg);
  transform-origin: left center;
}

/* =========================================
   スマホ：タグ検索の赤枠
========================================= */

@media screen and (max-width: 767px) {

  .muum-tag-search {
    border: 2px solid #e9472f !important;
    border-radius: 12px !important;
    box-sizing: border-box;
  }

}

/* =========================
   総評ボックス
========================= */

.muum-single-summary {
    margin: 40px auto;
    padding: 30px;
    max-width: 900px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.muum-single-summary__title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.muum-single-summary__text {
    font-size: 16px;
    line-height: 2;
}

/* 作品情報 */

.muum-single-meta {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
}

.muum-single-meta__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size:14px;
}

.muum-single-meta__row:last-child {
    border-bottom:none;
}

.muum-single-meta__row span {
    opacity:0.8;
}

.muum-single-meta__row strong {
    font-weight:bold;
}

/* 管理者レビュー */

.muum-single-summary {
    margin: 35px auto;
    max-width: 900px;
    padding: 35px 45px;
    background: linear-gradient(
        135deg,
        #d94f8a,
        #f58bb8
    );
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}


.muum-single-summary__title {
    margin:0 0 20px;
    font-size:24px;
    font-weight:bold;
}


.muum-single-summary__text {
    font-size:17px;
    line-height:2;
}