/*
========================================================
ファイル      : hlab-member-top.css
ページ        : ひとり商いラボ 会員トップ
対象URL       : https://emongroup.com/hlab/member/
用途          : 会員限定ダッシュボード専用CSS
バージョン    : 2.4
最終更新日    : 2026-07-30
依存CSS       : hlab-common.css
========================================================
*/

.hlab-member-top {
  min-height: 100vh;
  color: var(--hl-text);
  background-color: #fff9ef;
  background-image:
    linear-gradient(rgba(255, 249, 239, 0.87), rgba(255, 249, 239, 0.87)),
    var(--hlab-member-page-bg);
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.hlab-member-top a {
  text-decoration: none;
}

.hlab-member-top__page {
  padding-top: 26px;
  padding-bottom: 74px;
}

/* 共通TOPバー */

.hlab-member-top__top {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(240, 138, 0, 0.16);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 8px 22px rgba(74, 36, 20, 0.05);
  backdrop-filter: blur(10px);
}

.admin-bar .hlab-member-top__top {
  top: 32px;
}

.hlab-member-top__top-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hlab-member-top__logo {
  display: block;
  width: min(220px, 48%);
  flex: 0 1 220px;
}

.hlab-member-top__logo img {
  width: 100%;
}

.hlab-member-top__top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.hlab-member-top__confidential {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 11px;
  border: 2px solid rgba(106, 59, 34, 0.54);
  border-radius: 9px;
  color: var(--hl-brown);
  background: rgba(255, 255, 255, 0.86);
  line-height: 1.1;
}

.hlab-member-top__confidential strong {
  font-size: 11px;
  letter-spacing: 0.10em;
}

.hlab-member-top__confidential small {
  margin-top: 2px;
  font-size: 7px;
  font-weight: 800;
}

.hlab-member-top__account-link,
.hlab-member-top__logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--hl-brown);
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.16s ease;
}

.hlab-member-top__account-link {
  color: #fff !important;
  background: linear-gradient(145deg, #ff9f00, var(--hl-orange-dark));
}

.hlab-member-top__account-link:hover,
.hlab-member-top__account-link:focus-visible,
.hlab-member-top__logout-link:hover,
.hlab-member-top__logout-link:focus-visible {
  transform: translateY(-1px);
}

/* 非会員ゲート */

.hlab-member-top__gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: center;
  min-height: 460px;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--hl-border);
  border-radius: 36px;
  background-color: var(--hl-cream);
  background-image:
    linear-gradient(rgba(255, 251, 245, 0.10), rgba(255, 251, 245, 0.10)),
    var(--hlab-member-hero-bg);
  background-position: center;
  background-size: cover;
  box-shadow: var(--hl-shadow);
}

.hlab-member-top__eyebrow {
  display: inline-block;
  margin: 0;
  color: var(--hl-orange-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hlab-member-top__gate h1 {
  margin: 4px 0 7px;
  color: var(--hl-brown);
  font-size: clamp(31px, 4.4vw, 47px);
  line-height: 1.22;
  font-weight: 900;
}

.hlab-member-top__gate-copy > p:last-of-type {
  margin: 0;
  color: var(--hl-brown-soft);
  font-size: 16px;
  font-weight: 780;
}

.hlab-member-top__gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hlab-member-top__gate-visual {
  display: grid;
  place-items: center;
}

.hlab-member-top__gate-visual img {
  width: min(250px, 100%);
}

/* 会員ヒーロー */

.hlab-member-top__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 18px;
  align-items: center;
  min-height: 188px;
  margin-bottom: 11px;
  padding: clamp(21px, 3.1vw, 31px);
  border: 1px solid var(--hl-border);
  border-radius: 28px;
  background-color: var(--hl-cream);
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 251, 245, 0.995) 0%,
      rgba(255, 251, 245, 0.98) 43%,
      rgba(255, 251, 245, 0.84) 68%,
      rgba(255, 251, 245, 0.24) 100%
    ),
    var(--hlab-member-hero-bg);
  background-position: center right;
  background-size: cover;
  box-shadow: var(--hl-shadow);
  overflow: hidden;
}

.hlab-member-top__hero > * {
  position: relative;
  z-index: 2;
}

.hlab-member-top__welcome-heading {
  max-width: 100%;
  margin: 5px 0 7px;
  color: var(--hl-brown);
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: 0.005em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hlab-member-top__welcome-greeting,
.hlab-member-top__welcome-name {
  display: inline;
}

.hlab-member-top__page-title {
  margin: 0 0 5px;
  color: var(--hl-orange-dark);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hlab-member-top__lead {
  max-width: 700px;
  margin: 0;
  color: var(--hl-brown-soft);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 780;
}

.hlab-member-top__hero-visual {
  display: grid;
  place-items: center;
}

.hlab-member-top__hero-visual img {
  width: min(132px, 100%);
  filter: drop-shadow(0 14px 22px rgba(74, 36, 20, 0.12));
}

/* ページ内メニュー */

.hlab-member-top__jump {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
  padding: 7px;
  border: 1px solid rgba(240, 138, 0, 0.22);
  border-radius: 17px;
  background: rgba(255, 248, 238, 0.95);
  box-shadow: 0 8px 20px rgba(74, 36, 20, 0.07);
  backdrop-filter: blur(8px);
}

.admin-bar .hlab-member-top__jump {
  top: 32px;
}

.hlab-member-top__jump a {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 5px 8px;
  border: 1px solid rgba(240, 138, 0, 0.17);
  border-radius: 11px;
  color: var(--hl-brown);
  background: rgba(255, 255, 255, 0.90);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.hlab-member-top__jump a:hover,
.hlab-member-top__jump a:focus-visible {
  border-color: rgba(240, 138, 0, 0.48);
  background: #fff;
}

/* セクション共通 */

.hlab-member-top__desk-feature,
.hlab-member-top__contents,
.hlab-member-top__community,
.hlab-member-top__notices,
.hlab-member-top__information {
  margin-bottom: 12px;
  scroll-margin-top: 70px;
}

.hlab-member-top__contents,
.hlab-member-top__community,
.hlab-member-top__notices {
  padding: 15px;
  border: 1px solid rgba(106, 59, 34, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 11px 25px rgba(74, 36, 20, 0.06);
}

.hlab-member-top__contents {
  border-width: 2px;
  border-color: rgba(240, 138, 0, 0.38);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(126, 70, 26, 0.09);
}

.hlab-member-top__community {
  border-color: rgba(99, 156, 116, 0.25);
  background: rgba(249, 253, 249, 0.92);
}

.hlab-member-top__notices {
  background: rgba(255, 253, 247, 0.92);
}

.hlab-member-top__section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 11px;
  padding: 3px 3px 9px;
  border-bottom: 1px solid rgba(106, 59, 34, 0.10);
}

.hlab-member-top__section-head p,
.hlab-member-top__information-head p {
  margin: 0 0 2px;
  color: var(--hl-orange-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.hlab-member-top__section-head h2,
.hlab-member-top__information-head h2 {
  margin: 0;
  color: var(--hl-brown);
  font-size: clamp(22px, 2.8vw, 29px);
  line-height: 1.25;
  font-weight: 900;
}

.hlab-member-top__section-head > span {
  max-width: 500px;
  color: var(--hl-muted);
  font-size: 11px;
  line-height: 1.55;
  font-weight: 760;
  text-align: right;
}

.hlab-member-top__section-head--compact {
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 7px;
}

.hlab-member-top__section-head--compact h2 {
  font-size: clamp(20px, 2.5vw, 26px);
}

/* マイデスク */

.hlab-member-top__desk-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 124px;
  padding: 18px 21px;
  border: 2px solid rgba(63, 127, 153, 0.31);
  border-radius: 22px;
  color: var(--hl-brown);
  background:
    linear-gradient(
      135deg,
      rgba(225, 245, 250, 0.98),
      rgba(255, 255, 255, 0.98) 56%,
      rgba(243, 250, 252, 0.98)
    );
  box-shadow: 0 11px 25px rgba(63, 127, 153, 0.11);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.hlab-member-top__desk-card:hover,
.hlab-member-top__desk-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(63, 127, 153, 0.66);
  box-shadow: 0 15px 30px rgba(63, 127, 153, 0.15);
}

.hlab-member-top__desk-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #6aa8bf, #3f7f99);
  box-shadow: 0 9px 20px rgba(63, 127, 153, 0.22);
  font-size: 18px;
  font-weight: 900;
}

.hlab-member-top__desk-copy,
.hlab-member-top__desk-copy > * {
  display: block;
  min-width: 0;
}

.hlab-member-top__desk-eyebrow {
  color: #3f7f99;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hlab-member-top__desk-copy strong {
  margin-top: 1px;
  color: var(--hl-brown);
  font-size: clamp(24px, 2.7vw, 31px);
  line-height: 1.25;
  font-weight: 900;
}

.hlab-member-top__desk-copy small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 760;
}

.hlab-member-top__desk-card > b {
  color: #3f7f99;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

/* 会員限定コンテンツ */

.hlab-member-top__hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.hlab-member-top__hub-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 10px 12px;
  align-items: start;
  min-width: 0;
  min-height: 142px;
  padding: 16px;
  border: 2px solid rgba(222, 151, 36, 0.48);
  border-radius: 20px;
  color: var(--hl-brown);
  background: linear-gradient(145deg, #fff4d6, #fffdfa 78%);
  box-shadow: 0 9px 20px rgba(104, 61, 24, 0.08);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.hlab-member-top__hub-card:hover,
.hlab-member-top__hub-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(217, 126, 0, 0.82);
  box-shadow: 0 14px 27px rgba(74, 36, 20, 0.13);
}

.hlab-member-top__hub-icon {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #f2b33c, #d98200);
  box-shadow: 0 8px 17px rgba(217, 130, 0, 0.20);
  font-size: 16px;
  font-weight: 900;
}

.hlab-member-top__hub-copy,
.hlab-member-top__hub-copy > * {
  display: block;
  min-width: 0;
}

.hlab-member-top__hub-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.hlab-member-top__hub-copy strong {
  color: var(--hl-brown);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 900;
}

.hlab-member-top__hub-copy small {
  margin-top: 6px;
  color: #6f584a;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 760;
}

.hlab-member-top__hub-card > b {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  color: #bd6b00;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 900;
}

.hlab-member-top__hub-card--continue {
  border-color: rgba(70, 143, 178, 0.50);
  background: linear-gradient(145deg, #e8f6fb, #ffffff 78%);
}

.hlab-member-top__hub-card--continue .hlab-member-top__hub-icon {
  background: linear-gradient(145deg, #67afcb, #367f9f);
  box-shadow: 0 8px 17px rgba(54, 127, 159, 0.20);
}

.hlab-member-top__hub-card--continue > b {
  color: #367f9f;
}

.hlab-member-top__hub-card--continue:hover,
.hlab-member-top__hub-card--continue:focus-visible {
  border-color: rgba(54, 127, 159, 0.82);
}

.hlab-member-top__hub-card--grow {
  border-color: rgba(76, 150, 94, 0.48);
  background: linear-gradient(145deg, #eaf7ed, #ffffff 78%);
}

.hlab-member-top__hub-card--grow .hlab-member-top__hub-icon {
  background: linear-gradient(145deg, #6bb57f, #3f8d59);
  box-shadow: 0 8px 17px rgba(63, 141, 89, 0.20);
}

.hlab-member-top__hub-card--grow > b {
  color: #3f8d59;
}

.hlab-member-top__hub-card--grow:hover,
.hlab-member-top__hub-card--grow:focus-visible {
  border-color: rgba(63, 141, 89, 0.82);
}

.hlab-member-top__hub-card--support {
  border-color: rgba(127, 91, 166, 0.48);
  background: linear-gradient(145deg, #f2ebfa, #ffffff 78%);
}

.hlab-member-top__hub-card--support .hlab-member-top__hub-icon {
  background: linear-gradient(145deg, #a681c8, #76549c);
  box-shadow: 0 8px 17px rgba(118, 84, 156, 0.20);
}

.hlab-member-top__hub-card--support > b {
  color: #76549c;
}

.hlab-member-top__hub-card--support:hover,
.hlab-member-top__hub-card--support:focus-visible {
  border-color: rgba(118, 84, 156, 0.82);
}

/* 会員コミュニティ */

.hlab-member-top__community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.75fr);
  gap: 10px;
}

.hlab-member-top__community-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-width: 0;
  min-height: 142px;
  padding: 17px;
  border: 1px solid rgba(83, 146, 102, 0.28);
  border-radius: 20px;
  color: var(--hl-brown);
  background: rgba(255, 255, 255, 0.97);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.hlab-member-top__community-card:hover,
.hlab-member-top__community-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(58, 124, 77, 0.11);
}

.hlab-member-top__community-card--chat {
  border-width: 2px;
  border-color: rgba(72, 145, 94, 0.35);
  background:
    linear-gradient(145deg, rgba(231, 248, 235, 0.98), rgba(255, 255, 255, 0.98));
}

.hlab-member-top__community-card--chat:hover,
.hlab-member-top__community-card--chat:focus-visible {
  border-color: rgba(72, 145, 94, 0.70);
}

.hlab-member-top__community-card--line:hover,
.hlab-member-top__community-card--line:focus-visible {
  border-color: rgba(83, 146, 102, 0.58);
}

.hlab-member-top__community-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, #6bb57f, #3f8d59);
  box-shadow: 0 9px 19px rgba(63, 141, 89, 0.20);
  font-size: 17px;
  font-weight: 900;
}

.hlab-member-top__community-card--line .hlab-member-top__community-icon {
  background: linear-gradient(145deg, #72bd87, #4e9a68);
}

.hlab-member-top__community-copy,
.hlab-member-top__community-copy > * {
  display: block;
  min-width: 0;
}

.hlab-member-top__community-copy > span {
  color: #3f8d59;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hlab-member-top__community-copy strong {
  margin-top: 1px;
  color: var(--hl-brown);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.35;
  font-weight: 900;
}

.hlab-member-top__community-card--line .hlab-member-top__community-copy strong {
  font-size: 18px;
}

.hlab-member-top__community-copy small {
  margin-top: 4px;
  color: var(--hl-muted);
  font-size: 11px;
  line-height: 1.55;
  font-weight: 750;
}

.hlab-member-top__community-card > b {
  grid-column: 1 / -1;
  color: #3f8d59;
  font-size: 11px;
  font-weight: 900;
}

/* お知らせ */

.hlab-member-top__notice-list {
  display: grid;
  gap: 6px;
}

.hlab-member-top__notice-card {
  border: 1px solid rgba(106, 59, 34, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.97);
  overflow: hidden;
}

.hlab-member-top__notice-summary {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 27px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 11px;
  color: var(--hl-brown);
  cursor: pointer;
  list-style: none;
}

.hlab-member-top__notice-summary::-webkit-details-marker {
  display: none;
}

.hlab-member-top__notice-summary:hover,
.hlab-member-top__notice-summary:focus-visible,
.hlab-member-top__notice-card[open] .hlab-member-top__notice-summary {
  background: rgba(255, 248, 238, 0.96);
}

.hlab-member-top__notice-summary time {
  color: var(--hl-brown-soft);
  font-size: 10px;
  font-weight: 900;
}

.hlab-member-top__notice-summary > strong {
  min-width: 0;
  color: var(--hl-brown);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.hlab-member-top__notice-toggle {
  position: relative;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(240, 138, 0, 0.11);
}

.hlab-member-top__notice-toggle::before,
.hlab-member-top__notice-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--hl-orange-dark);
  content: "";
  transform: translate(-50%, -50%);
}

.hlab-member-top__notice-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.hlab-member-top__notice-card[open] .hlab-member-top__notice-toggle::after {
  opacity: 0;
}

.hlab-member-top__notice-content {
  padding: 12px 13px 14px;
  border-top: 1px solid rgba(106, 59, 34, 0.09);
}

.hlab-member-top__notice-body {
  color: var(--hl-muted);
  font-size: 12px;
  line-height: 1.75;
  font-weight: 740;
}

.hlab-member-top__notice-body > *:first-child {
  margin-top: 0;
}

.hlab-member-top__notice-body > *:last-child {
  margin-bottom: 0;
}

.hlab-member-top__notice-body a {
  color: var(--hl-orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hlab-member-top__notice-empty {
  margin: 0;
  padding: 13px 15px;
  border: 1px dashed rgba(106, 59, 34, 0.20);
  border-radius: 13px;
  color: var(--hl-muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 760;
}

.hlab-member-top__notice-detail-link,
.hlab-member-top__notice-archive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid rgba(240, 138, 0, 0.29);
  border-radius: 999px;
  color: var(--hl-orange-dark);
  background: rgba(255, 246, 226, 0.98);
  font-size: 11px;
  font-weight: 900;
}

.hlab-member-top__notice-detail-link {
  margin-top: 10px;
}

.hlab-member-top__notice-archive-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.hlab-member-top__notice-detail-link:hover,
.hlab-member-top__notice-detail-link:focus-visible,
.hlab-member-top__notice-archive-link:hover,
.hlab-member-top__notice-archive-link:focus-visible {
  border-color: rgba(240, 138, 0, 0.60);
  background: rgba(255, 236, 194, 0.98);
}

/* 会員情報・各種案内 */

.hlab-member-top__information {
  display: grid;
  grid-template-columns: minmax(185px, 0.6fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(106, 59, 34, 0.13);
  border-radius: 18px;
  background: rgba(250, 249, 247, 0.91);
  box-shadow: 0 9px 20px rgba(74, 36, 20, 0.05);
}

.hlab-member-top__information-head h2 {
  font-size: 17px;
}

.hlab-member-top__information-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.hlab-member-top__information-links a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(106, 59, 34, 0.13);
  border-radius: 13px;
  color: var(--hl-brown);
  background: rgba(255, 255, 255, 0.95);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
}

.hlab-member-top__information-links a:hover,
.hlab-member-top__information-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(240, 138, 0, 0.40);
}

.hlab-member-top__information-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: #806b5c;
  font-size: 12px;
  font-weight: 900;
}

.hlab-member-top__information-links a + a .hlab-member-top__information-icon {
  background: #547f9b;
}

.hlab-member-top__information-links a > span:nth-child(2),
.hlab-member-top__information-links a > span:nth-child(2) > * {
  display: block;
  min-width: 0;
}

.hlab-member-top__information-links strong {
  color: var(--hl-brown);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.hlab-member-top__information-links small {
  margin-top: 1px;
  color: var(--hl-muted);
  font-size: 9px;
  line-height: 1.4;
  font-weight: 740;
}

.hlab-member-top__information-links b {
  color: var(--hl-orange-dark);
  font-size: 12px;
  font-weight: 900;
}

/* Footer / TOP */

.hlab-member-top__footer {
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 138, 0, 0.18);
  color: var(--hl-muted);
  font-size: 11px;
  font-weight: 740;
  text-align: center;
}

.hlab-member-top__footer p {
  margin: 3px 0;
}

.hlab-member-top__to-top {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 46px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(145deg, #ff9f00, var(--hl-orange-dark));
  box-shadow: 0 10px 24px rgba(216, 111, 0, 0.24);
  font-size: 11px;
  font-weight: 900;
}

/* Responsive */

@media (max-width: 1080px) {
  .hlab-member-top__hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hlab-member-top__community-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
  }
}

@media (max-width: 800px) {
  .hlab-member-top {
    background-attachment: scroll;
  }

  .hlab-member-top__gate {
    grid-template-columns: 1fr;
  }

  .hlab-member-top__gate-visual {
    order: -1;
  }

  .hlab-member-top__gate-visual img {
    width: min(170px, 48%);
  }

  .hlab-member-top__community-grid,
  .hlab-member-top__information {
    grid-template-columns: 1fr;
  }

  .hlab-member-top__information-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .admin-bar .hlab-member-top__top {
    top: 46px;
  }

  .hlab-member-top__top-inner {
    min-height: 64px;
    gap: 7px;
  }

  .hlab-member-top__logo {
    width: min(150px, 42%);
    flex-basis: 150px;
  }

  .hlab-member-top__top-actions {
    gap: 4px;
  }

  .hlab-member-top__account-link,
  .hlab-member-top__logout-link {
    min-height: 37px;
    padding: 7px 9px;
    font-size: 10px;
  }

  .hlab-member-top__page {
    padding-top: 18px;
    padding-bottom: 58px;
  }

  .hlab-member-top__gate {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .hlab-member-top__gate h1 {
    font-size: clamp(29px, 8.5vw, 38px);
  }

  .hlab-member-top__gate-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hlab-member-top__hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px 16px;
    border-radius: 23px;
    background-image:
      linear-gradient(
        rgba(255, 251, 245, 0.96),
        rgba(255, 251, 245, 0.96)
      ),
      var(--hlab-member-hero-bg);
    background-position: center;
  }

  .hlab-member-top__welcome-heading {
    margin-top: 5px;
    font-size: clamp(29px, 8.4vw, 39px);
    line-height: 1.18;
  }

  .hlab-member-top__page-title {
    font-size: clamp(19px, 5.8vw, 24px);
  }

  .hlab-member-top__hero-visual {
    display: none;
  }

  .hlab-member-top__jump {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .admin-bar .hlab-member-top__jump {
    top: 46px;
  }

  .hlab-member-top__jump::-webkit-scrollbar {
    display: none;
  }

  .hlab-member-top__jump a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .hlab-member-top__desk-feature,
  .hlab-member-top__contents,
  .hlab-member-top__community,
  .hlab-member-top__notices,
  .hlab-member-top__information {
    scroll-margin-top: 66px;
  }

  .hlab-member-top__contents,
  .hlab-member-top__community,
  .hlab-member-top__notices {
    padding: 11px;
    border-radius: 20px;
  }

  .hlab-member-top__section-head,
  .hlab-member-top__section-head--compact {
    display: block;
    margin-bottom: 9px;
    padding: 3px 3px 8px;
  }

  .hlab-member-top__section-head > span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  .hlab-member-top__desk-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
    min-height: 0;
    padding: 15px;
    border-radius: 18px;
  }

  .hlab-member-top__desk-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .hlab-member-top__desk-copy strong {
    font-size: 23px;
  }

  .hlab-member-top__desk-copy small {
    font-size: 11px;
  }

  .hlab-member-top__desk-card > b {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .hlab-member-top__hub-grid,
  .hlab-member-top__community-grid,
  .hlab-member-top__information-links {
    grid-template-columns: 1fr;
  }

  .hlab-member-top__hub-card {
    min-height: 126px;
    padding: 14px;
  }

  .hlab-member-top__hub-copy strong {
    font-size: 18px;
  }

  .hlab-member-top__hub-card > b {
    justify-self: start;
  }

  .hlab-member-top__community-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
    border-radius: 17px;
  }

  .hlab-member-top__community-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .hlab-member-top__community-copy strong,
  .hlab-member-top__community-card--line .hlab-member-top__community-copy strong {
    font-size: 18px;
  }

  .hlab-member-top__notice-summary {
    grid-template-columns: minmax(0, 1fr) 27px;
    gap: 2px 8px;
    min-height: 56px;
    padding: 8px 10px;
  }

  .hlab-member-top__notice-summary time {
    grid-column: 1;
    grid-row: 1;
  }

  .hlab-member-top__notice-summary > strong {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }

  .hlab-member-top__notice-toggle {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .hlab-member-top__notice-content {
    padding: 11px;
  }

  .hlab-member-top__notice-detail-link,
  .hlab-member-top__notice-archive-link {
    width: 100%;
  }

  .hlab-member-top__notice-archive-link-wrap {
    justify-content: stretch;
  }

  .hlab-member-top__information {
    gap: 9px;
    padding: 11px;
    border-radius: 17px;
  }

  .hlab-member-top__information-head {
    display: block;
  }

  .hlab-member-top__information-links a {
    min-height: 56px;
  }
}

@media print {
  .hlab-member-top__top {
    display: none !important;
  }

  .hlab-member-top__jump,
  .hlab-member-top__top-actions,
  .hlab-member-top__to-top {
    display: none;
  }

  .hlab-member-top {
    background: #fff;
  }
}
