@charset "UTF-8";
/* ============================================================
   mogblo-1.css ｜ モグブロトップ（/blog）1/2：トークン・ヘッダー・HERO・CTA・MARQUEE
   旧 css/top.css（大改装 2026-07-04 のトップ実録メディア）をブログトップへ移設（2026-07-08）。
   ウォーム・エディトリアル：ペーパー×墨×金×エスプレッソ。明朝×セリフ×Noto。
   .tx（モグブロトップの main）と body.is-mogblo（/blog/ 配下共通）スコープ。
   ============================================================ */
.tx {
  --paper: #FBF7EF;
  --paper-2: #F3EBDD;
  --ink: #1A1714;
  --ink-soft: #6b5f54;
  --gold: #C8A24B;
  --gold-deep: #A9852F;
  --espresso: #2E241C;
  --hair: rgba(26, 23, 20, 0.16);
  --serif-jp: "Noto Serif JP", serif;
  --serif-en: "Fraunces", "Times New Roman", serif;
  --sans: "Noto Sans JP", sans-serif;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; /* ゆるアニメ調v2の主役 */

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
}
/* :where で詳細度を0に（.tx-cta--ink 等の文字色指定に負けないように） */
.tx :where(a) { color: inherit; }
.tx .container { max-width: 1120px; }

/* ===== モグブロ専用ヘッダー／フッター（/blog/ 配下・境界設計の原則2/3） ===== */
.header__logo-sub { display: inline-block; margin-left: 12px; font-family: var(--serif-en); font-style: italic; font-weight: 400; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--gold-deep); }
body.is-mogblo .footer__operator { margin: 4px 0 0; font-size: 0.8125rem; color: rgba(251, 247, 239, 0.56); }
body.is-mogblo .footer__operator a { color: rgba(251, 247, 239, 0.72); border-bottom: 1px solid rgba(200, 162, 75, 0.5); padding-bottom: 1px; }
body.is-mogblo .footer__operator a:hover { color: var(--gold); opacity: 1; }

/* ===== 共通：見出しのあしらい（ゆるアニメ調v2＝ランプ丸バッジ＋丸ゴ・英字は隠し味） ===== */
.tx-index { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: var(--pop-lamp); border: 3px solid #fff; box-shadow: var(--shadow-soft); font-family: var(--maru); font-weight: 900; font-size: 1.75rem; color: var(--ink); }
.tx-label { margin: 16px 0 12px; font-family: var(--serif-en); font-style: italic; font-size: 1.0625rem; letter-spacing: 0.06em; color: var(--gold-deep); }
.tx-title { font-family: var(--maru); font-weight: 900; font-size: clamp(1.625rem, 4vw, 2.5rem); line-height: 1.5; letter-spacing: 0.02em; margin: 0; }
.tx-lead { margin: 20px 0 0; max-width: 560px; font-size: 1rem; line-height: 2; color: var(--ink-soft); }

.tx-section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.tx-section + .tx-section { border-top: 2px dotted rgba(200, 162, 75, 0.45); }
.tx-head { margin-bottom: 56px; }

/* ===== HERO（誌名「モグブロ」を主役にした表紙構成） =====
   背景＝「土の中の巣穴」（2026-07-12 代表指示）。中央はランプに照らされた
   明るみ（文字の可読性AA維持）・周縁へ行くほど土色に沈む。装飾はCSSのみ。 */
.tx-hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 130% 96% at 50% 38%,
    var(--paper) 0 32%, #F6ECD8 46%, #EDDCBB 57%, #DBBC8E 68%,
    #BC9265 79%, #966E48 89%, #7A5638 96%, #6A4A30 100%); }
/* 周縁の丸い小石・土くれ（アニメ背景美術ふうに大小を散らす・装飾のみ） */
.tx-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image:
  radial-gradient(56px 42px at 5% 90%, #8A6242 97%, transparent),
  radial-gradient(34px 26px at 13% 97%, #A87E56 97%, transparent),
  radial-gradient(26px 20px at 9% 78%, #77543A 97%, transparent),
  radial-gradient(60px 46px at 95% 88%, #85603F 97%, transparent),
  radial-gradient(30px 24px at 88% 97%, #A87E56 97%, transparent),
  radial-gradient(22px 18px at 97% 72%, #77543A 97%, transparent),
  radial-gradient(20px 16px at 3% 40%, #9A7250 97%, transparent),
  radial-gradient(16px 13px at 98% 34%, #9A7250 97%, transparent),
  radial-gradient(14px 11px at 20% 96%, #D9BE93 97%, transparent),
  radial-gradient(12px 10px at 82% 92%, #D9BE93 97%, transparent); }
/* ランプの光の粒（土の中で舞うホコリ＝明滅しながらふわ〜っと舞い上がる） */
.tx-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image:
  radial-gradient(4px 4px at 24% 30%, rgba(255,214,102,0.85) 97%, transparent),
  radial-gradient(3px 3px at 72% 24%, rgba(255,214,102,0.7) 97%, transparent),
  radial-gradient(5px 5px at 84% 56%, rgba(255,214,102,0.6) 97%, transparent),
  radial-gradient(3px 3px at 12% 58%, rgba(255,214,102,0.7) 97%, transparent),
  radial-gradient(4px 4px at 60% 74%, rgba(255,214,102,0.5) 97%, transparent),
  radial-gradient(3px 3px at 38% 18%, rgba(255,214,102,0.75) 97%, transparent),
  radial-gradient(4px 4px at 90% 38%, rgba(255,214,102,0.55) 97%, transparent),
  radial-gradient(3px 3px at 6% 24%, rgba(255,214,102,0.6) 97%, transparent),
  radial-gradient(5px 5px at 48% 88%, rgba(255,214,102,0.45) 97%, transparent);
  animation: tx-motes 9s linear infinite; }
@keyframes tx-motes {
  0% { background-position: 0 28px; opacity: 0; }
  22% { opacity: 0.95; }
  78% { opacity: 0.7; }
  100% { background-position: 0 -48px; opacity: 0; } }
/* 粒子＝ゆる大きめドット（v2方針）を土の色味に */
.tx-hero__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(rgba(110,75,49,0.16) 1.5px, transparent 1.5px); background-size: 22px 22px; }
/* ランプの光暈＝ゆっくり呼吸（transformは触らずopacityのみ） */
.tx-hero__sweep { position: absolute; z-index: 0; top: -30%; right: -20%; width: 80vw; height: 120vh; pointer-events: none; background: radial-gradient(closest-side, rgba(255,214,102,0.4), rgba(255,214,102,0.1) 60%, transparent 72%); transform: rotate(-16deg); filter: blur(6px); animation: tx-glow 6s ease-in-out infinite alternate; }
@keyframes tx-glow { from { opacity: 0.7; } to { opacity: 1; } }
/* ゴースト（隠し味）＝下部が土色になったため薄クリームに反転 */
.tx-hero__ghost { position: absolute; z-index: 0; right: -2vw; bottom: -6vh; font-family: var(--serif-en); font-weight: 400; font-size: 30vw; line-height: 0.82; letter-spacing: -0.03em; color: rgba(251,247,239,0.07); pointer-events: none; text-align: right; }
/* HERO＝表紙（上に誌名・中央に探検モグラ・左右に柱の入口カード＝2026-07-11 代表決定） */
.tx-hero__inner { position: relative; z-index: 2; padding: 64px 0 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.tx-hero__stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; width: 100%; max-width: 880px; margin-top: 8px; }
.tx-hero__mascot { width: clamp(260px, 30vw, 380px); height: auto; animation: pop-rise 0.5s ease-out both, pop-bob 4s ease-in-out 0.5s infinite alternate; }
@keyframes pop-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop-bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
/* モグラの掘り土＝足元で土くれがぽんぽん跳ねる（左右交互・装飾のみ） */
.tx-hero__stage::before, .tx-hero__stage::after { content: ""; position: absolute; bottom: 4%; left: 50%; width: 120px; height: 80px; z-index: 1; pointer-events: none; background-image:
  radial-gradient(10px 8px at 24% 78%, #8A6242 97%, transparent),
  radial-gradient(7px 6px at 56% 62%, #A87E56 97%, transparent),
  radial-gradient(5px 5px at 82% 74%, #D9BE93 97%, transparent),
  radial-gradient(6px 5px at 40% 40%, #77543A 97%, transparent);
  animation: tx-crumb 2.8s ease-out infinite; }
.tx-hero__stage::before { transform: translateX(calc(-50% - 120px)); }
.tx-hero__stage::after { transform: translateX(calc(-50% + 120px)) scaleX(-1); animation-delay: 1.4s; }
@keyframes tx-crumb {
  0% { opacity: 0; translate: 0 14px; scale: 0.5; }
  18% { opacity: 1; }
  55% { opacity: 0.9; }
  100% { opacity: 0; translate: 0 -30px; scale: 1.05; } }

/* 柱の入口カード＝掘り出した宝物のように左右へ（浮遊は位相をずらす） */
.tx-hero__gem { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-soft); text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; animation: pop-bob 5s ease-in-out infinite alternate; }
/* 宝物の✦きらり（左右で時間差・読み上げ対象外） */
.tx-hero__gem::before { content: "✦" / ""; position: absolute; top: 8px; right: 12px; font-size: 0.875rem; color: var(--gold); animation: tx-spark 2.4s ease-in-out infinite; }
.tx-hero__gem--right::before { top: auto; bottom: 10px; right: auto; left: 12px; animation-delay: 1.2s; }
@keyframes tx-spark { 0%, 100% { opacity: 0; scale: 0.5; rotate: 0deg; } 50% { opacity: 1; scale: 1.15; rotate: 20deg; } }
.tx-hero__gem--left { justify-self: end; margin-bottom: 48px; }
.tx-hero__gem--right { justify-self: start; margin-top: 48px; animation-delay: 1.2s; }
.tx-hero__gem:hover { animation: none; transform: scale(1.04); box-shadow: 0 12px 28px rgba(26, 23, 20, 0.12); opacity: 1; }
.tx-hero__gem:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.tx-hero__gem-en { font-family: var(--serif-en); font-style: italic; font-size: 0.8125rem; color: var(--gold-deep); }
.tx-hero__gem-title { font-family: var(--maru); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.tx-hero__gem-count { font-family: var(--maru); font-weight: 500; font-size: 0.8125rem; color: var(--pop-teal); }

/* HERO下端＝地層の波形区切り（ここから下が「地下」・CSSのみ） */
.tx-strata { position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 24px; pointer-events: none; background: radial-gradient(circle at 24px -10px, transparent 22px, var(--pop-lamp-tint) 23px); background-size: 48px 24px; }
.tx-eyebrow { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0; }
.tx-eyebrow__en { font-family: var(--serif-en); font-style: italic; font-size: 1.125rem; color: var(--gold-deep); letter-spacing: 0.02em; }
.tx-eyebrow__rule { width: 48px; height: 1px; background: var(--gold); }
/* 誌名＝扇型アーチ＋ぷっくり縁取り（2026-07-12 代表指示）。
   両端の文字をわずかに下げて外向きに傾ける＝ゆるいアーチ。
   白フチ（stroke）＋土色のベタ下影＝セルアニメのロゴ看板ふう。 */
.tx-hero__brand { display: flex; justify-content: center; align-items: flex-end; font-family: var(--maru); font-weight: 900; font-size: clamp(3.5rem, 11vw, 7rem); line-height: 1.15; letter-spacing: 0.04em; margin: 0; color: var(--espresso); }
.tx-hero__brand-ch { --r: 0deg; --y: 0em; display: inline-block; padding: 0 0.02em;
  transform: rotate(var(--r)) translateY(var(--y));
  -webkit-text-stroke: 0.11em #fff; paint-order: stroke fill;
  text-shadow: 0 0.07em 0 rgba(122, 86, 56, 0.4);
  transition: translate 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: tx-brand-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both,
             tx-brand-sway 2.6s ease-in-out infinite alternate; }
/* stroke の paint-order 未対応環境では縁取りを外す（文字が痩せるのを防ぐ） */
@supports not (paint-order: stroke) { .tx-hero__brand-ch { -webkit-text-stroke: 0; } }
/* 基準の角度（代表好評＝不変）。揺れはこの角度を中心に±1.2°だけ */
.tx-hero__brand-ch:nth-child(1) { --r: -6deg; --y: 0.16em; animation-delay: 0.05s, 0.9s; }
.tx-hero__brand-ch:nth-child(2) { --r: -2deg; --y: 0.02em; animation-delay: 0.12s, 1.2s; }
.tx-hero__brand-ch:nth-child(3) { --r: 2deg; --y: 0.02em; animation-delay: 0.19s, 1.5s; }
.tx-hero__brand-ch:nth-child(4) { --r: 6deg; --y: 0.16em; animation-delay: 0.26s, 1.8s; }
.tx-hero__brand-ch:hover { translate: 0 -0.08em; }
@keyframes tx-brand-pop { from { opacity: 0; scale: 0.6; } 70% { scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes tx-brand-sway {
  from { transform: rotate(calc(var(--r) - 1.2deg)) translateY(var(--y)); }
  to { transform: rotate(calc(var(--r) + 1.2deg)) translateY(calc(var(--y) - 0.03em)); } }
.tx-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; align-items: center; margin-top: 8px; }

/* ===== CTA（ぷっくり pill＝下影4px・押すと沈む） ===== */
.tx-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--maru); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; padding: 14px 28px; border: none; border-radius: 999px; background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-deep); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tx-cta__arrow { transition: transform 0.3s ease; }
.tx-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-deep); opacity: 1; }
.tx-cta:hover .tx-cta__arrow { transform: translateX(4px); }
.tx-cta:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.tx-cta--ghost { background: #fff; color: var(--ink); box-shadow: 0 4px 0 rgba(26, 23, 20, 0.22); }
.tx-cta--ghost:hover { box-shadow: 0 2px 0 rgba(26, 23, 20, 0.22); }
.tx-cta--ink { background: var(--espresso); color: var(--paper); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4); }
.tx-cta--ink:hover { box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); }

/* ===== MARQUEE（地表の境界＝ランプ色の地層） ===== */
.tx-marquee { overflow: hidden; padding: 15px 0; border-top: none; border-bottom: 1px solid var(--hair); background: var(--pop-lamp-tint); }
.tx-marquee__track { display: inline-flex; white-space: nowrap; will-change: transform; animation: tx-marquee 44s linear infinite; }
.tx-marquee__track span { font-family: var(--maru); font-weight: 500; font-size: 1rem; letter-spacing: 0.04em; color: var(--ink-soft); padding-right: 8px; }
@keyframes tx-marquee { to { transform: translateX(-50%); } }

/* ===== レスポンシブ（本ファイル分：ヘッダー・HERO・CTA・MARQUEE） ===== */
br.br-sp { display: none; }

@media (max-width: 767px) {
  br.br-sp { display: inline; }
  .header__logo-sub { display: none; }

  /* HERO：誌名→モグラ→柱カード2枚の縦積み・Scrollは非表示 */
  .tx-hero { min-height: auto; }
  .tx-hero__inner { padding: 56px 0 64px; gap: 16px; }
  .tx-hero__stage { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; }
  .tx-hero__mascot { grid-column: span 2; grid-row: 1; justify-self: center; width: min(72vw, 300px); }
  .tx-hero__gem { padding: 16px 12px; }
  .tx-hero__gem--left { justify-self: stretch; margin-bottom: 0; }
  .tx-hero__gem--right { justify-self: stretch; margin-top: 0; }
  .tx-hero__gem-title { font-size: 0.9375rem; }
  .tx-eyebrow { flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .tx-eyebrow__rule { width: 32px; }
  .tx-hero__brand { font-size: clamp(3rem, 14vw, 4rem); margin-bottom: 8px; }
  .tx-hero__actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .tx-cta { justify-content: center; padding: 16px 26px; }
  .tx-hero__ghost { font-size: 40vw; right: -4vw; bottom: -3vh; opacity: 0.85; }
  .tx-hero__sweep { top: -20%; right: -40%; width: 120vw; }
  .tx-marquee__track span { font-size: 0.9375rem; }
}

/* ===== モーション配慮 ===== */
@media (prefers-reduced-motion: reduce) {
  .tx-marquee__track { animation: none; }
  .tx-hero__mascot { animation: none; }
  .tx-hero__gem { animation: none; }
  .tx-hero__brand-ch { animation: none; }
  .tx-hero::after { animation: none; opacity: 0.6; }
  .tx-hero__sweep { animation: none; }
  .tx-hero__stage::before, .tx-hero__stage::after { animation: none; opacity: 0; }
  .tx-hero__gem::before { animation: none; opacity: 0.7; }
}
