@charset "UTF-8";

/* =========================================
   Ultimate Member プロフィールタブ
========================================= */

/* 上の線を削除 */
.um-header {
  border: none;
}

/* タブ全体 */
.um-profile-nav {
  padding: 0 0 0.8rem;
  background: transparent;
  border-bottom: 1px solid #e9e9e9;
}

/* 読み込み中
   本文のフェードはやめて、タブだけ少し抑える */
.um-tab-loading .um-profile-nav {
  pointer-events: none;
  opacity: 0.72;
}

/* リンク */
.um-profile-nav .um-profile-nav-item a {
  position: relative;
  background: transparent !important;
  color: #333333 !important;
  transition: none;
}

/* アイコン・文字 */
.um-profile-nav .um-profile-nav-item a i,
.um-profile-nav .um-profile-nav-item a .title {
  color: inherit !important;
}

.um-profile-nav .um-profile-nav-item a i {
  opacity: 0.9;
}

/* 下線 */
.um-profile-nav .um-profile-nav-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.85rem;
  width: 100%;
  height: 2px;
  background: #222222;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.16s ease-out;
}

/* hover */
.um-profile-nav .um-profile-nav-item a:hover,
.um-profile-nav .um-profile-nav-item a:focus {
  color: #111111 !important;
}

.um-profile-nav .um-profile-nav-item a:hover::after,
.um-profile-nav .um-profile-nav-item a:focus::after {
  transform: translateX(-50%) scaleX(1);
}

/* active */
.um-profile-nav .um-profile-nav-item.active a {
  color: #111111 !important;
  font-weight: 500;
}

.um-profile-nav .um-profile-nav-item.active a::after {
  transform: translateX(-50%) scaleX(1);
}

/* スマホ */
@media (max-width: 860px) {
  .um-profile-nav {
    margin-bottom: 1.4rem;
    padding-bottom: 0.7rem;
  }

  .um-profile-nav .um-profile-nav-item a::after {
    bottom: -0.15rem;
  }
}

/* アイコン用リンクを完全に消す */
.um-profile-nav-item > a.uimob800-show,
.um-profile-nav-item > a.uimob500-show,
.um-profile-nav-item > a.uimob340-show {
  display: none !important;
}

/* テキスト用リンクを常に表示 */
.um-profile-nav-item > a.uimob800-hide,
.um-profile-nav-item > a.uimob500-hide,
.um-profile-nav-item > a.uimob340-hide {
  display: inline-block !important;
}

/* =========================================
   歯車の左に「編集」テキストを表示
========================================= */

.um-profile-edit-a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.um-profile-edit-a::before {
  content: "[編集／ログアウト] ";
  font-size: 0.9rem;
  color: #333333;
}

.um-profile-edit-a.um-profile-save::before {
  content: "[更新]";
}

/* スマホ */
@media (max-width: 860px) {
  .um-profile-edit-a::before {
    content: "[編集]";
    font-size: 0.9rem;
    color: #333333;
  }
}

/* =========================================
   Ultimate Member 投稿記事一覧
   ・左に丸サムネイル
   ・右にタイトル、その下に日付
========================================= */

/* 1記事 */
.um-profile-body.posts .um-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  grid-template-areas:
    "thumb title"
    "thumb meta";
  column-gap: 1.2rem;
  align-items: start;
  margin: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
  min-height: 116px;
}

/* サムネイル枠 */
.um-profile-body.posts .um-item-img {
  grid-area: thumb;
  width: 84px;
  aspect-ratio: 1 / 1;
  margin: 0;
}

.um-profile-body.posts .um-item-img a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: #f3f3f3;
  box-shadow: 1px 1px 2px #cccccc !important;
}

/* 画像 */
.um-profile-body.posts .um-item-img img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

/* タイトル */
.um-profile-body.posts .um-item-link {
  grid-area: title;
  line-height: 1.4;
  margin-top: 1rem !important;
}

.um-profile-body.posts .um-item-link a {
  color: #3BA1DA;
  font-size: 1.05rem;
  font-weight: bold;
}

/* 日付 */
.um-profile-body.posts .um-item-meta {
  grid-area: meta;
}

.um-profile-body.posts .um-item-meta span {
  font-style: normal;
}

/* スマホ */
@media (max-width: 767px) {
  .um-profile-body.posts .um-item {
    grid-template-columns: 64px 1fr;
    column-gap: 0.9rem;
    padding: 1.2rem 0;
    min-height: 88px;
  }

  .um-profile-body.posts .um-item-img {
    width: 64px;
  }

  .um-profile-body.posts .um-item-img a {
    width: 100%;
  }

  .um-profile-body.posts .um-item-img img {
    width: 100%;
    height: 100%;
  }

  .um-profile-body.posts .um-item-link a {
    font-size: 0.98rem;
  }

  .um-profile-body.posts .um-item-meta {
    font-size: 0.82rem;
  }
}

.um-profile-body {
  animation: umProfileTabFadeIn 0.24s ease-out;
}

@keyframes umProfileTabFadeIn {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.um-profile-body #about-2427 p {
  margin-bottom:1em !important;
}

/* =========================================
   Ultimate Member プロフィールタブ
========================================= */

/* グリッド・リスト切り替え */
.um-member-directory-header {
  margin-bottom:5px;
}