/* Scope: 会員サイトにだけ効かせる */
.uni-member-scope{
  --bg:#f4f6f8;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:rgba(15,23,42,.7);
  --border:rgba(0,0,0,.10);
  --shadow:0 8px 24px rgba(0,0,0,.06);
  --radius:16px;
  --radius-sm:10px;
  --gap:16px;
  --primary:#111;
  --fs-body:14px;
  --fs-title:20px;
  --fs-subtitle:16px;
  --fs-section:18px;
  --fs-label:13px;
}

.uni-member-scope{
  color:var(--text);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: .01em;
}

/* レイアウト */
.uni-container{
  max-width:960px;
  margin:0 auto;
  padding:28px;
}

/* カード */
.uni-card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px;
  box-shadow:none;
  box-sizing:border-box;
}

/* ヘッダ行 */
.uni-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* タイトル類 */
.uni-h1{font-size:var(--fs-title);font-weight:800;margin:0;}
.uni-h2{
  font-size:var(--fs-section);
  font-weight:700;
  line-height: 1.35;
  margin:0 0 10px;
}

/* テキスト */
.uni-muted{opacity:.7;}
.uni-mb-10{margin-bottom:10px;}
.uni-mt-16{margin-top:16px;}

/* フォーム */
.uni-form{display:grid;gap:12px;}
.uni-field{display:grid;gap:6px;}
.uni-label{display:block;font-weight:600;}
.uni-input{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.18);
  box-sizing:border-box;
  font-size: var(--fs-body);
}

.uni-member-scope p,
.uni-member-scope li,
.uni-member-scope small,
.uni-member-scope .description{
  font-size: var(--fs-body);
}

.uni-label{
  font-size: var(--fs-label);
  letter-spacing: .02em;
}

/* Details summary（折りたたみ見出し） */
.uni-account-summary{
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.35;
}

/* summary見出しを追加しても自然に揃うように */
.uni-member-scope summary{
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.35;
}

/* ボタン（a/button 両対応・テーマリセット耐性あり） */
.uni-member-scope .uni-btn,
.uni-member-scope a.uni-btn,
.uni-member-scope button.uni-btn,
.uni-member-scope input[type="submit"].uni-btn,
.uni-member-scope input[type="button"].uni-btn{
  -webkit-appearance: none;
  appearance: none;

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

  width: auto;
  min-height: 44px;
  padding: 12px 14px;

  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;

  text-decoration: none;
  cursor: pointer;

  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;

  color: var(--text);
  -webkit-text-fill-color: currentColor;
}

/* primary */
.uni-member-scope .uni-btn--primary{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* block */
.uni-member-scope .uni-btn--block{
  width: 100%;
  box-sizing: border-box;
}

/* hover */
.uni-member-scope .uni-btn:hover{
  filter: brightness(1.05);
}


/* button要素のテーマリセットに勝つ（最小限） */
.uni-member-scope button.uni-btn{
  appearance:auto;
  -webkit-appearance:auto;
  background-clip:padding-box;
}



/* アラート */
.uni-alert{
  padding:14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#f1f5f9;
  margin-bottom:16px;
}
.uni-alert--success{background:#f0fdf4;border-color:#bbf7d0;color:#166534;}
.uni-alert--info{background:#ecfeff;border-color:#67e8f9;color:#0f172a;}
.uni-alert--warn{background:#fff7ed;border-color:#fdba74;}
.uni-alert--error{background:#fef2f2;border-color:#fca5a5;}


/* =========================================================
   Auth pages: /login/ /forgot-password/ /reset-password/
   ======================================================= */

/* 全体 */
.uni-auth-wrap{
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 20px 80px;
  text-align: center;
}

/* ロゴ */
.uni-auth-logo{
  position: relative;
  margin: 0 0 28px;
}
.uni-auth-logo img{
  height: 150px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter:
    drop-shadow(0 10px 20px rgba(0,0,0,0.18))
    drop-shadow(0 0 10px rgba(59,130,246,0.14))
    drop-shadow(0 0 16px rgba(45,212,191,0.12));
}

/* カード */
.uni-auth-card{
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 22px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

/* ラベル・入力 */
.uni-auth-label{
  display: block;
  font-weight: 600;
  margin: 6px 0 8px;
  letter-spacing: .02em;
  font-size: var(--fs-label);
}
.uni-auth-input{
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  padding: 10px 12px;
  box-sizing: border-box;
  font-weight: 400;
  font-size: var(--fs-body);
}

/* ボタン */
.uni-auth-btn{
  width: 100%;
  margin-top: 16px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: var(--fs-body);
  letter-spacing: .04em;
  font-weight: 700;
}

/* 送信完了 */
.uni-auth-success{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  font-weight: 400;
  line-height: 1.6;
}

/* 戻るリンク */
.uni-auth-back{
  margin-top: 12px;
}
.uni-auth-back a{
  font-size: 12px;
  opacity: .75;
  text-decoration: none;
}



/* メンバーページ著者非表示 */
.author,.byline,.post-author,.entry-meta .author,.entry-meta .byline,
.wp-block-post-author,.wp-block-post-author__content,.wp-block-post-author-name,
.wp-block-post-author__name,.wp-block-post-author-biography,.wp-block-post-author__bio {
  display:none !important;
}


/* 右上にメニュー固定 */
.uni-top-actions{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: flex;
  gap: 10px;
}


/* =========================================================
 * Footer Cleanup（暫定）
 * - フッターを使いつつ、不要項目を減らす
 * =======================================================*/

/* まず“投稿メタ系”や“余計な情報ブロック”を消す（例） */
footer .wp-block-post-author,
footer .wp-block-post-author__content,
footer .wp-block-post-date,
footer .wp-block-post-terms,
footer .wp-block-query,
footer .wp-block-latest-posts{
  display:none !important;
}

/* フッターの基本テキストを見やすく */
footer{
  color: rgba(255,255,255,.82);
}
footer a{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
footer a:hover{
  text-decoration: underline;
}

/* =========================================================
   Top roadmap section
   ======================================================= */
.pv-roadmap-section{
  background: #000;
  color: #fff;
  padding: 120px 0;
}

.pv-roadmap-section .pv-roadmap-inner{
  width: min(100%, calc(100% - 32px));
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.pv-roadmap-section .pv-roadmap-header{
  margin: 0 0 40px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: left;
  color: #f5f5f5;
}

.pv-roadmap-section .pv-roadmap-list{
  --pv-roadmap-list-indent: 24px;
  --pv-roadmap-axis-center: 0px;
  --pv-roadmap-axis-item-center: calc(-1 * var(--pv-roadmap-list-indent));
  --pv-roadmap-dot-size: 14px;
  --pv-roadmap-dot-center-y: 21px;
  --pv-roadmap-connector-length: 58px;
  --pv-roadmap-content-offset: 52px;
  position: relative;
  padding-left: var(--pv-roadmap-list-indent);
}

.pv-roadmap-section .pv-roadmap-list::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pv-roadmap-axis-center);
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18));
}

.pv-roadmap-section .pv-roadmap-item{
  position: relative;
  display: grid;
  gap: 14px;
  margin-bottom: 52px;
  padding-left: var(--pv-roadmap-content-offset);
  opacity: 0.76;
  transform: scale(1);
  transform-origin: left center;
  transition: transform .24s ease, opacity .24s ease, color .24s ease;
  outline: none;
}

.pv-roadmap-section .pv-roadmap-item:last-child{
  margin-bottom: 0;
}

.pv-roadmap-section .pv-roadmap-item:first-child{
  opacity: 1;
  transform: scale(1.1);
}

.pv-roadmap-section .pv-roadmap-item::before{
  content: "";
  position: absolute;
  left: var(--pv-roadmap-axis-item-center);
  top: var(--pv-roadmap-dot-center-y);
  transform: translate(-50%, -50%);
  width: var(--pv-roadmap-dot-size);
  height: var(--pv-roadmap-dot-size);
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.pv-roadmap-section .pv-roadmap-item::after{
  content: "";
  position: absolute;
  left: var(--pv-roadmap-axis-item-center);
  top: var(--pv-roadmap-dot-center-y);
  transform: translateY(-50%);
  width: var(--pv-roadmap-connector-length);
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18));
}

.pv-roadmap-section .pv-roadmap-item:first-child::before{
  width: var(--pv-roadmap-dot-size);
  height: var(--pv-roadmap-dot-size);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.16),
    0 0 0 14px rgba(255,255,255,0.12),
    0 0 14px rgba(255,255,255,0.18);
  animation: pv-roadmap-ring-pulse 2.8s ease-in-out infinite;
}

.pv-roadmap-section .pv-roadmap-item:first-child::after{
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.28));
}

.pv-roadmap-section .pv-roadmap-date{
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.58);
}

.pv-roadmap-section .pv-roadmap-content{
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  line-height: 2;
  color: rgba(255,255,255,0.46);
}

.pv-roadmap-section .pv-roadmap-content li{
  margin: 0;
  padding: 0;
}

.pv-roadmap-section .pv-roadmap-item:first-child .pv-roadmap-date{
  color: #fff;
}

.pv-roadmap-section .pv-roadmap-item:first-child .pv-roadmap-content{
  color: rgba(255,255,255,0.86);
}

@media (max-width: 767px){
  .pv-roadmap-section{
    padding: 104px 0;
  }

  .pv-roadmap-section .pv-roadmap-inner{
    width: min(100%, calc(100% - 24px));
    padding: 0 12px;
  }

  .pv-roadmap-section .pv-roadmap-header{
    margin-bottom: 32px;
    letter-spacing: 0.06em;
  }

  .pv-roadmap-section .pv-roadmap-list{
    --pv-roadmap-list-indent: 18px;
    --pv-roadmap-axis-item-center: calc(-1 * var(--pv-roadmap-list-indent));
    --pv-roadmap-dot-size: 12px;
    --pv-roadmap-dot-center-y: 17px;
    --pv-roadmap-connector-length: 43px;
    --pv-roadmap-content-offset: 40px;
    padding-left: var(--pv-roadmap-list-indent);
  }

  .pv-roadmap-section .pv-roadmap-item{
    gap: 12px;
    margin-bottom: 40px;
    padding-left: var(--pv-roadmap-content-offset);
  }

  .pv-roadmap-section .pv-roadmap-date{
    font-size: clamp(28px, 8vw, 40px);
  }

  .pv-roadmap-section .pv-roadmap-content{
    font-size: 15px;
    line-height: 1.95;
  }
}

@media (prefers-reduced-motion: reduce){
  .pv-roadmap-section .pv-roadmap-item{
    transition: opacity .2s linear, color .2s linear;
    transform: none;
  }

  .pv-roadmap-section .pv-roadmap-item:first-child::before{
    animation: none;
  }
}

@keyframes pv-roadmap-ring-pulse{
  0%,
  100%{
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.16),
      0 0 0 14px rgba(255,255,255,0.12),
      0 0 14px rgba(255,255,255,0.18);
  }

  50%{
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.12),
      0 0 0 18px rgba(255,255,255,0.04),
      0 0 10px rgba(255,255,255,0.12);
  }
}

/* =========================================================
   Roadmap page
   ======================================================= */
body.uni-roadmap-page .wp-site-blocks,
body.uni-roadmap-page main,
body.uni-roadmap-page .entry-content,
body.uni-roadmap-page .wp-block-post-content,
body.uni-roadmap-page .is-layout-constrained{
  width: 100% !important;
  max-width: none !important;
}

body.uni-roadmap-page .wp-site-blocks,
body.uni-roadmap-page main,
body.uni-roadmap-page .entry-content,
body.uni-roadmap-page .wp-block-post-content{
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.uni-roadmap-page main .entry-content{
  display: contents !important;
}

body.uni-roadmap-page .entry-content::before,
body.uni-roadmap-page .entry-content::after,
body.uni-roadmap-page .wp-block-post-content::before,
body.uni-roadmap-page .wp-block-post-content::after{
  display: none !important;
}

body.uni-roadmap-page .wp-block-post-content > *{
  max-width: none !important;
}

.pv-roadmap-page{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.84)),
    #000;
  color: #fff;
}

.pv-roadmap-page *{
  box-sizing: border-box;
}

.pv-roadmap-hero{
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0)),
    #000;
}

.pv-roadmap-hero-title-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 44px 20px 28px;
}

.pv-roadmap-hero-media{
  position: relative;
  min-height: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
    #000;
  overflow: hidden;
}

.pv-roadmap-hero-media picture,
.pv-roadmap-hero-media img{
  display: block;
  width: 100%;
}

.pv-roadmap-hero-media picture{
  background: #000;
  margin: 0 auto;
}

.pv-roadmap-hero-media img{
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.pv-roadmap-hero-placeholder{
  min-height: 320px;
}

.pv-roadmap-copy{
  width: min(100%, calc(100% - 40px));
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 20px 96px;
}

.pv-roadmap-title{
  margin: 0 0 28px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #fff;
}

.pv-roadmap-title--hero{
  margin: 0;
  text-align: center;
}

.pv-roadmap-body{
  max-width: 760px;
  margin: 0 auto;
}

.pv-roadmap-lead,
.pv-roadmap-text,
.pv-roadmap-note{
  margin: 0;
  color: rgba(255,255,255,0.84);
}

.pv-roadmap-lead{
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.9;
}

.pv-roadmap-text{
  margin-top: 18px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 2;
  color: rgba(255,255,255,0.72);
}

.pv-roadmap-note{
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.48);
}

@media (min-width: 1440px){
  .pv-roadmap-hero{
    padding-left: 32px;
    padding-right: 32px;
  }

  .pv-roadmap-hero-media picture{
    max-width: 1680px;
  }
}

@media (min-width: 1800px){
  .pv-roadmap-hero{
    padding-left: 48px;
    padding-right: 48px;
  }

  .pv-roadmap-hero-media picture{
    max-width: 1760px;
  }
}

@media (max-width: 767px){
  .pv-roadmap-hero-title-wrap{
    padding: 30px 12px 20px;
  }

  .pv-roadmap-hero-placeholder{
    min-height: 220px;
  }

  .pv-roadmap-copy{
    width: min(100%, calc(100% - 24px));
    padding: 36px 12px 72px;
  }

  .pv-roadmap-title{
    margin-bottom: 22px;
  }

  .pv-roadmap-lead{
    font-size: 17px;
    line-height: 1.85;
  }

  .pv-roadmap-text{
    font-size: 15px;
    line-height: 1.95;
  }
}
