/* OZ-OZBASE-HOME v1 ── トップ（資料ライブラリ）を ozbase.ai のトップと同じ見た目にそろえる
   2026-11-20 本人指定「今の資料管理システムは ozbase.ai のトップページと同じようなUIにしたい」。
   正本の見た目は OzBase のサイト（public/index.html・assets/style.css）。紺 #051631／青 #2F4BE0、
   Zen Kaku Gothic New と Hanken Grotesk、青い光のファーストビューと中央のガラスの札、
   英字の大見出し（Our / Library）、細い罫で区切る一覧、青のグラデーションの帯、紺のフッター。
   materials-home.css・author-profile.css のあとに読み、#materials-home の中だけを上書きする。
   講演用のオーバーレイ（#thanks・#askqr・#standby・#boot・#profile-fs など）は #materials-home の外なので触らない。 */

#materials-home {
  --ozb-navy: #051631; --ozb-ink: #1A2340; --ozb-muted: #5A6480; --ozb-blue: #2F4BE0; --ozb-blue2: #6E8BFF;
  --ozb-deep: #1B2A8C; --ozb-tint: #EEF2FF; --ozb-line: #D5DCEE; --ozb-soft: #F6F8FD;
  --font-ja-serif: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-ja-sans: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-en: "Hanken Grotesk", "Zen Kaku Gothic New", sans-serif;
  --ink: var(--ozb-ink); --azure: var(--ozb-blue); --azure-pale: var(--ozb-tint); --muted: var(--ozb-muted);
  --navy: var(--ozb-navy); --navy-deep: var(--ozb-navy); --paper: #fff;
  background: #fff; color: var(--ozb-ink); letter-spacing: .04em;
  font-family: var(--font-ja-sans);
}

/* ── ヘッダー：ファーストビューでは透明に白いロゴ、過ぎたら白い帯に紺のロゴ ── */
#materials-home .mh-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 72px;
  padding: 0 max(24px, calc((100% - 1180px) / 2 + 24px));
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
#materials-home .mh-header.ozb-solid {
  background: rgba(255,255,255,.88); border-bottom-color: rgba(5,22,49,.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
#materials-home .mh-brand { display: flex; align-items: center; gap: 16px; color: #fff; }
#materials-home .mh-brand img { display: block; height: 26px; width: auto; }
#materials-home .mh-brand .ozb-logo-n { display: none; }
#materials-home .mh-header.ozb-solid .ozb-logo-w { display: none; }
#materials-home .mh-header.ozb-solid .ozb-logo-n { display: block; }
/* 2026-11-20 本人指定「左上はAICX協会のロゴも入れておいて」：OzBase の右に AICX協会。地の色で白と通常の版を切り替える */
#materials-home .mh-brand .aicx-logo { margin: 0; width: auto; max-width: none; height: 24px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.32); box-sizing: content-box; }
#materials-home .mh-brand .aicx-n { display: none; }
#materials-home .mh-header.ozb-solid .aicx-w { display: none; }
#materials-home .mh-header.ozb-solid .aicx-n { display: block; border-left-color: var(--ozb-line); }
#materials-home .mh-brand span {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 600; letter-spacing: .24em;
  color: rgba(255,255,255,.82); padding-left: 16px; border-left: 1px solid rgba(255,255,255,.32); line-height: 24px;
}
#materials-home .mh-header.ozb-solid .mh-brand span { color: var(--ozb-navy); border-left-color: var(--ozb-line); }

/* ── ファーストビュー：全面の青い光と、中央のガラスの札 ── */
#materials-home .hero {
  position: relative; min-height: max(660px, 100svh); padding: 152px 24px 132px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #06113A; color: #fff; overflow: hidden; isolation: isolate;
}
#materials-home .hero::before, #materials-home .hero::after { display: none; }
#materials-home .hero :is(.hero-photo, .texture, .hero-sweep, .mh-art, .hero-rail, .hero-giant, .hero-vision) { display: none !important; }
#materials-home .hero > .mh-air { display: none !important; }
#materials-home .ozb-hero-bg {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 36% at 50% 0%, rgba(120,150,255,.95), rgba(60,90,235,.5) 36%, rgba(27,42,140,0) 70%),
    radial-gradient(32% 28% at 84% 18%, rgba(168,190,255,.32), rgba(168,190,255,0) 66%),
    radial-gradient(40% 36% at 10% 80%, rgba(47,75,224,.26), rgba(47,75,224,0) 70%),
    linear-gradient(180deg, #1c30b4 0%, #0a1550 34%, #040a26 62%, #02040d 100%);
  animation: ozb-drift 18s ease-in-out infinite alternate;
}
#materials-home .ozb-hero-bg i {
  position: absolute; border-radius: 50%; filter: blur(48px);
  background: radial-gradient(closest-side, rgba(205,218,255,.5), rgba(205,218,255,0));
  animation: ozb-float 16s ease-in-out infinite alternate;
}
#materials-home .ozb-hero-bg i:nth-child(1) { width: 34vmax; height: 34vmax; left: 6%; top: 22%; }
#materials-home .ozb-hero-bg i:nth-child(2) { width: 26vmax; height: 26vmax; right: 8%; top: 34%; animation-duration: 21s; animation-delay: -6s; opacity: .7; }
#materials-home .ozb-hero-bg i:nth-child(3) { width: 20vmax; height: 20vmax; left: 42%; top: 58%; animation-duration: 25s; animation-delay: -12s; opacity: .45; }
@keyframes ozb-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%,1.5%,0) scale(1.06); } }
@keyframes ozb-float { from { transform: translate3d(0,0,0); } to { transform: translate3d(4vmax,-3vmax,0); } }

#materials-home .hero > .inner {
  position: relative; z-index: 2; width: min(1040px, 100%); max-width: none; margin: 0 auto;
  padding: clamp(48px, 6.4vw, 92px) clamp(22px, 5vw, 76px);
  border-radius: clamp(28px, 4.2vw, 64px);
  background: linear-gradient(140deg, rgba(255,255,255,.20), rgba(255,255,255,.05) 46%, rgba(255,255,255,.11));
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -40px 90px rgba(110,139,255,.14), 0 40px 120px rgba(2,6,24,.45);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
}
/* 2026-11-20 本人指定「トップページのガラスは横長がいい」：広い画面ではガラスの札を横長に。題を1行にし、上下の余白を詰める */
@media (min-width: 900px) {
  #materials-home .hero > .inner {
    width: min(1240px, calc(100% - 96px));
    padding: clamp(40px, 4.2vw, 64px) clamp(40px, 6vw, 96px);
    border-radius: clamp(28px, 3.2vw, 48px);
  }
  #materials-home .hero > .inner .sys-badge { margin-bottom: 16px; }
  #materials-home .hero .eyebrow { margin-bottom: 22px; }
  #materials-home .hero-title { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.4; margin-bottom: 22px; white-space: nowrap; }
  #materials-home .hero-title br { display: none; }
}
#materials-home .hero .eyebrow {
  display: block; margin: 0 0 30px; font-family: var(--font-en); font-size: 11.5px; font-weight: 600;
  letter-spacing: .3em; color: rgba(255,255,255,.78); animation: none;
}
#materials-home .hero .eyebrow::before { display: none; }
#materials-home .hero-title {
  width: auto; margin: 0 0 30px; font-family: var(--font-ja-sans); font-weight: 700;
  font-size: clamp(28px, 4.3vw, 56px); line-height: 1.55; letter-spacing: .14em; color: #fff;
  text-shadow: none; animation: none;
}
#materials-home .hero-title .hl { color: #C9D6FF; animation: none; }
#materials-home .hero-copy {
  width: auto; margin: 0 auto; font-size: clamp(14px, 1.35vw, 17px); line-height: 2.05;
  letter-spacing: .2em; color: rgba(255,255,255,.88); animation: none;
}
#materials-home .hero-cred { display: block; margin-top: 18px; font-size: 13px; letter-spacing: .14em; color: rgba(255,255,255,.7); }
#materials-home .hero-cred b { color: #fff; font-family: var(--font-en); font-weight: 700; margin: 0 .1em; }
/* 2026-11-20 本人指定「これはガラスの中に入れて枠はなしで」：名札はガラスの札の先頭に、枠と地なしで置く */
#materials-home .hero > .inner .sys-badge {
  position: static; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 22px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.86);
}
#materials-home .sys-badge .dot { background: var(--ozb-blue2); box-shadow: 0 0 12px rgba(110,139,255,.9); }
#materials-home .hero-status {
  right: max(24px, calc((100% - 1180px) / 2 + 24px)); bottom: 34px; z-index: 3;
  font-family: var(--font-en); font-size: 10.5px; letter-spacing: .24em; color: rgba(255,255,255,.62);
}
#materials-home .hero-status #docCount { font-size: 15px; color: #fff; }
#materials-home .hero-note { display: none; }
#materials-home .hero-scroll {
  display: flex; position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; color: rgba(255,255,255,.75);
}
#materials-home .hero-scroll .chev { display: none; }
#materials-home .hero-scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(180deg, #fff 0, #fff 40%, rgba(255,255,255,.28) 40%);
  background-size: 1px 200%; animation: ozb-scroll 2s ease-in-out infinite;
}
@keyframes ozb-scroll { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* 固定ヘッダーの下に見出しが隠れないように */
#materials-home section[id] { scroll-margin-top: 84px; }

/* ── 書き手と講演参加者への案内の帯 ── */
#materials-home .hero-links { background: #fff; border-block: 0; border-bottom: 1px solid var(--ozb-line); padding: 18px 24px; }
#materials-home .hl-inner { max-width: 1132px; margin: 0 auto; }
#materials-home .hl-lead { color: var(--ozb-muted); font-size: 12.5px; letter-spacing: .12em; }
#materials-home .hl-btn { color: var(--ozb-navy); font-weight: 700; letter-spacing: .06em; }
#materials-home .hl-btn:hover { color: var(--ozb-blue); }
#materials-home .hl-btn-sub { color: var(--ozb-muted); font-family: var(--font-en); }
#materials-home .hl-btn svg { fill: var(--ozb-navy); }

/* ── 面：白・淡い青・青の帯・紺の方眼 ── */
#materials-home :is(.sec-light, .sec-navy) { padding-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(80px, 10vw, 128px); }
#materials-home .mh-air, #materials-home .mh-ambient::before { display: none !important; }
#materials-home .sec-light { background: #fff; }
#materials-home #author-record.sec-light, #materials-home .sec-advisory { background: var(--ozb-soft); }
#materials-home .sec-navy {
  --azure: #DCE4FF; --muted: rgba(255,255,255,.82); color: #fff;
  background-color: #2D47D6;
  background-image:
    radial-gradient(60% 70% at 85% 0%, rgba(168,190,255,.45), rgba(168,190,255,0) 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(20,34,120,.6), rgba(20,34,120,0) 65%),
    linear-gradient(160deg, #4563F0, #2D47D6 45%, #2338B0);
}
#materials-home :is(#author, #aicx).sec-navy {
  background-color: var(--ozb-navy);
  background-image: linear-gradient(rgba(110,139,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(110,139,255,.07) 1px, transparent 1px);
  background-size: 120px 120px;
}

/* 見出し：小さな青い英字のラベル（線つき）＋太いゴシック */
#materials-home section:not(.hero) .eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--font-en); font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ozb-blue);
}
#materials-home section:not(.hero) .eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; flex: none; }
#materials-home .sec-navy .eyebrow { color: #DCE4FF; }
#materials-home .sec-title {
  font-family: var(--font-ja-sans); font-weight: 700; color: var(--ozb-navy);
  font-size: clamp(24px, 2.8vw, 34px); line-height: 1.5; letter-spacing: .06em;
}
#materials-home .sec-navy .sec-title { color: #fff; }
#materials-home .sec-sub { color: #4A5373; font-size: 15px; line-height: 2; }
#materials-home .sec-navy .sec-sub { color: rgba(255,255,255,.85); }

/* 英字の大見出し（ozbase.ai の「Our / Business」と同じ型） */
#materials-home .ozb-eh { margin-bottom: 32px; }
#materials-home .ozb-eh1 { font-family: var(--font-en); font-weight: 700; color: var(--ozb-blue2); font-size: clamp(20px, 2.2vw, 30px); line-height: 1; letter-spacing: .01em; }
#materials-home .ozb-eh2 {
  font-family: var(--font-en); font-weight: 700; color: var(--ozb-navy);
  font-size: clamp(46px, 6vw, 88px); line-height: 1.05; letter-spacing: -.01em; margin-top: 2px;
}
#materials-home .ozb-eh2 span {
  font-family: var(--font-ja-sans); font-size: 15px; font-weight: 700; color: var(--ozb-muted);
  letter-spacing: .12em; margin-left: 16px; vertical-align: middle;
}
#materials-home .sec-navy .ozb-eh1 { color: #C9D6FF; }
#materials-home .sec-navy .ozb-eh2 { color: #fff; }
#materials-home .sec-navy .ozb-eh2 span { color: rgba(255,255,255,.75); }
#materials-home .mh-index-mark { display: none; }
/* 英字の大見出しを置いた面では、同じ意味の小さなラベルを重ねない */
#materials-home .ozb-eh ~ .mh-archive-top .eyebrow, #materials-home .ozb-eh + .eyebrow { display: none; }
#materials-home .sec-navy .eyebrow { opacity: 1; }

/* 鍵の案内 ── 2026-11-20 本人指定「限定公開のところだけデザインに合わせつつ」：
   ozbase.ai の枠のカード（白・細い罫・四隅の青い印）。鍵は紺の丸、行き先は紺の丸ボタンと線の丸ボタン */
#materials-home .arc-lock {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px 28px;
  margin: 8px 0 0; max-width: none; padding: 30px 34px; background: #fff; border: 1px solid var(--ozb-line); border-radius: 0;
  box-shadow: 0 30px 70px -44px rgba(5,22,49,.35);
}
#materials-home .arc-lock::before, #materials-home .arc-lock::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
}
#materials-home .arc-lock::before { left: -1px; top: -1px; border-left: 2px solid var(--ozb-blue); border-top: 2px solid var(--ozb-blue); }
#materials-home .arc-lock::after { right: -1px; bottom: -1px; border-right: 2px solid var(--ozb-blue); border-bottom: 2px solid var(--ozb-blue); }
#materials-home .arc-lock-i {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 0;
  background: linear-gradient(140deg, #2F4BE0, #051631); color: #fff; box-shadow: 0 12px 28px -12px rgba(47,75,224,.7);
}
#materials-home .arc-lock-i svg { width: 24px; height: 24px; }
#materials-home .arc-lock-b { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 36px; }
#materials-home .arc-lock-k { grid-column: 1; margin: 0; font: 700 11px/1.4 var(--font-en); letter-spacing: .3em; color: var(--ozb-blue2); }
#materials-home .arc-lock-t { grid-column: 1; margin: 2px 0 0; color: var(--ozb-navy); font: 700 clamp(17px, 1.6vw, 20px)/1.5 var(--font-ja-sans); letter-spacing: .08em; }
#materials-home .arc-lock-d { grid-column: 1; margin: 2px 0 0; color: var(--ozb-muted); font-size: 13px; line-height: 1.8; }
#materials-home .arc-lock-a { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: row; gap: 12px; margin: 0; }
#materials-home .arc-lock-a a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px;
  font: 700 13px/1 var(--font-ja-sans); letter-spacing: .1em; white-space: nowrap;
  color: var(--ozb-navy); background: #fff; border: 1px solid var(--ozb-navy);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
#materials-home .arc-lock-a a:first-child { background: var(--ozb-navy); color: #fff; }
#materials-home .arc-lock-a a:hover { background: var(--ozb-blue); border-color: var(--ozb-blue); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(47,75,224,.8); }
/* 青の帯の中（今週のトレンド）：半透明の白い枠、印は淡い青、鍵は白い丸。ボタンは白（主）と白い線（副） */
#materials-home .sec-navy .arc-lock { margin-bottom: 28px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); box-shadow: 0 30px 70px -44px rgba(2,6,24,.6); }
#materials-home .sec-navy .arc-lock::before, #materials-home .sec-navy .arc-lock::after { border-color: #C9D6FF; }
#materials-home .sec-navy .arc-lock-i { background: #fff; color: var(--ozb-navy); box-shadow: 0 12px 28px -12px rgba(2,6,24,.6); }
#materials-home .sec-navy .arc-lock-k { color: #C9D6FF; }
#materials-home .sec-navy .arc-lock-t { color: #fff; }
#materials-home .sec-navy .arc-lock-d { color: rgba(255,255,255,.82); }
#materials-home .sec-navy .arc-lock-a a { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
#materials-home .sec-navy .arc-lock-a a:first-child { background: #fff; color: var(--ozb-navy); border-color: #fff; }
#materials-home .sec-navy .arc-lock-a a:hover { background: var(--ozb-blue); border-color: var(--ozb-blue); color: #fff; }

/* ── 資料の一覧 ── 2026-11-20 本人指定「下の資料一覧もかっこよく」。
   左にテーマ（大きな青い番号・題・説明）、右に資料を白い札で2列に並べる。札は番号・題・丸い矢印。
   触れると札が浮き、上辺に青い線が入り、矢印の丸が青く満ちる。資料の追加（publish.py）が足す li はそのまま札になる */
#materials-home #archive .cards { display: block; margin-top: 72px; border-top: 0; }
#materials-home #archive .card {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 64px;
  padding: 56px 0; margin: 0; border: 0; border-top: 1px solid var(--ozb-line); background: none; box-shadow: none;
}
#materials-home #archive .card:first-child { border-top-color: var(--ozb-navy); }
#materials-home #archive .card:hover { transform: none; box-shadow: none; }
#materials-home #archive .card > :not(.doc-list) { grid-column: 1; }
#materials-home #archive .card-tag {
  display: block; position: static; margin: 0 0 18px; padding: 0; border: 0; background: none;
  font: 800 clamp(56px, 5.6vw, 76px)/.9 var(--font-en); letter-spacing: -.03em;
  background-image: linear-gradient(135deg, #2F4BE0 10%, #9FB4FF 90%); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 0;
}
#materials-home #archive .card-tag::before {
  content: "THEME"; display: block; margin-bottom: 12px; font: 700 11px/1 var(--font-en); letter-spacing: .32em;
  -webkit-text-fill-color: var(--ozb-muted); color: var(--ozb-muted);
}
#materials-home #archive .card h3 { margin: 0; font: 700 clamp(20px, 1.9vw, 24px)/1.5 var(--font-ja-sans); letter-spacing: .08em; color: var(--ozb-navy); }
#materials-home #archive .card h3::after { content: ""; display: block; width: 32px; height: 2px; margin: 16px 0 0; background: var(--ozb-blue); }
#materials-home #archive .card > p { margin: 16px 0 0; color: var(--ozb-muted); font-size: 13px; line-height: 1.95; }
#materials-home #archive .card > .doc-list {
  grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  margin: 0; padding: 0; columns: auto; column-gap: 12px;
}
#materials-home #archive .doc-list li { margin: 0; border: 0; break-inside: avoid; }
#materials-home #archive .doc-list a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px;
  height: 100%; min-height: 108px; margin: 0; padding: 18px 58px 20px 20px; overflow: hidden;
  font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--ozb-ink); text-decoration: none;
  background: #fff; border: 1px solid var(--ozb-line); border-left: 1px solid var(--ozb-line); border-radius: 0;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease, color .2s ease;
}
#materials-home #archive .doc-list a::before {
  margin: 0; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none;
  font: 700 11px/1 var(--font-en); letter-spacing: .16em; color: var(--ozb-blue2);
}
#materials-home #archive .doc-list a::after {
  content: "→"; position: absolute; right: 16px; bottom: 16px; top: auto; left: auto; display: grid; place-items: center;
  width: 30px; height: 30px; margin: 0; border-radius: 50%; border: 1px solid var(--ozb-line);
  font: 500 13px/1 var(--font-en); color: var(--ozb-blue); opacity: 1; transform: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .25s ease;
}
#materials-home #archive .doc-list a:hover, #materials-home #archive .doc-list a:focus-visible {
  transform: translateY(-3px); border-color: rgba(47,75,224,.45); color: var(--ozb-navy); background: #fff;
  box-shadow: inset 0 2px 0 var(--ozb-blue), 0 22px 44px -26px rgba(47,75,224,.55);
}
#materials-home #archive .doc-list a:hover::after, #materials-home #archive .doc-list a:focus-visible::after {
  background: var(--ozb-blue); border-color: var(--ozb-blue); color: #fff; transform: translateX(2px);
}
#materials-home #archive .doc-list a.doc-pdf { font-weight: 700; }
@media (max-width: 1080px) {
  #materials-home #archive .card { grid-template-columns: 220px minmax(0, 1fr); column-gap: 40px; }
}
@media (max-width: 1100px) {
  #materials-home .arc-lock-b { grid-template-columns: 1fr; }
  #materials-home .arc-lock-a { grid-column: 1; grid-row: auto; flex-direction: row; flex-wrap: wrap; margin-top: 14px; }
}
@media (max-width: 860px) {
  #materials-home #archive .card { grid-template-columns: 1fr; grid-template-rows: none; padding: 40px 0; }
  #materials-home #archive .card > .doc-list { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media (max-width: 600px) {
  #materials-home .arc-lock { grid-template-columns: 1fr; padding: 26px 22px; }
  #materials-home .arc-lock-a { flex-direction: column; }
  #materials-home .arc-lock-a a { width: 100%; }
  #materials-home #archive .card > .doc-list { grid-template-columns: 1fr; gap: 10px; }
  #materials-home #archive .doc-list a { min-height: 0; padding: 16px 54px 16px 16px; }
  #materials-home #archive .doc-list a::after { top: 50%; bottom: auto; transform: translateY(-50%); }
  #materials-home #archive .doc-list a:hover::after { transform: translate(2px, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  #materials-home #archive .doc-list a, #materials-home .arc-lock-a a { transition: none; }
  #materials-home #archive .doc-list a:hover { transform: none; }
}

/* ── 青の帯の中のカード（今週のトレンド） ── */
#materials-home .sec-navy .card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.24); border-radius: 0;
  box-shadow: none; padding: 32px 30px;
}
#materials-home .sec-navy .card h3 { color: #fff; font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .06em; }
#materials-home .sec-navy .card p { color: rgba(255,255,255,.84); }
#materials-home .sec-navy .card-tag { -webkit-text-stroke-color: rgba(255,255,255,.3); }
#materials-home .wk-open {
  display: inline-block; margin-top: 18px; color: #fff; background: none; border: 0;
  border-bottom: 1px solid var(--ozb-blue2); border-radius: 0; padding: 0 0 6px; font-weight: 500; letter-spacing: .12em;
}

/* ── ご相談の面：白いカード・罫の数字・斜めのボタン ── */
#materials-home .sec-advisory .card {
  background: #fff; border: 1px solid var(--ozb-line); border-radius: 0; box-shadow: none;
}
#materials-home .sec-advisory .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(5,22,49,.08); }
#materials-home .sec-advisory .card h3 { color: var(--ozb-navy); font-family: var(--font-ja-sans); font-weight: 700; letter-spacing: .06em; }
#materials-home .sec-advisory .card-tag { -webkit-text-stroke-color: var(--ozb-line); }
#materials-home .sec-advisory .offer-list li { color: #4A5373; }
#materials-home .stats { gap: 0; border-top: 1px solid var(--ozb-line); border-bottom: 1px solid var(--ozb-line); }
#materials-home .stat { background: none; border: 0; border-left: 1px solid var(--ozb-line); border-radius: 0; box-shadow: none; }
#materials-home .stat:first-child { border-left: 0; }
#materials-home .stat::before { display: none; }
#materials-home .stat-num { font-family: var(--font-en); font-weight: 700; color: var(--ozb-navy); letter-spacing: -.01em; }
#materials-home .stat-num small { color: var(--ozb-blue); font-family: var(--font-ja-sans); font-weight: 700; }
#materials-home .stat-label { color: var(--ozb-muted); }
#materials-home .lead-cta { background: #fff; border: 1px solid var(--ozb-line); border-radius: 0; box-shadow: none; }
#materials-home .lead-btn {
  background: var(--ozb-blue); color: #fff; border: 0; border-radius: 0; box-shadow: none; font-weight: 700;
  padding: 14px 34px; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); transition: background .2s ease;
}
#materials-home .lead-btn:hover { background: var(--ozb-deep); transform: none; }
#materials-home .lead-btn.lead-btn-x { background: var(--ozb-tint); color: var(--ozb-blue); }
#materials-home .lead-btn.lead-btn-x:hover { background: #dfe6ff; }

/* ── フッター：紺の方眼にロゴ ── */
#materials-home footer {
  background-color: var(--ozb-navy); color: rgba(255,255,255,.62); border-top: 0;
  background-image: linear-gradient(rgba(110,139,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(110,139,255,.07) 1px, transparent 1px);
  background-size: 120px 120px;
  padding: 64px max(24px, calc((100% - 1180px) / 2 + 24px)) 28px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-en); font-size: 12px; letter-spacing: .12em; text-align: left;
}
#materials-home footer .ozb-foot-logo { display: block; height: 24px; width: auto; }
#materials-home footer p { margin: 0; color: rgba(255,255,255,.62); }

@media (max-width: 720px) {
  #materials-home .mh-header { height: 64px; }
  #materials-home .mh-brand { gap: 12px; }
  #materials-home .mh-brand img { height: 22px; }
  #materials-home .mh-brand .aicx-logo { height: 19px; padding-left: 12px; }
  #materials-home .mh-brand span { display: none; }
  #materials-home .mh-brand span { font-size: 10px; letter-spacing: .18em; padding-left: 12px; }
  #materials-home .hero { padding: 112px 16px 120px; min-height: max(620px, 100svh); }
  #materials-home .hero-title { letter-spacing: .08em; }
  #materials-home .hero-copy { letter-spacing: .1em; }
  #materials-home .sys-badge { top: 80px; left: 16px; font-size: 10px; padding: 6px 12px; }
  #materials-home .sys-badge :is(.ver, .sep) { display: none; }
  #materials-home .hero-note { display: none; }
  #materials-home .hero-status { right: 16px; bottom: 26px; font-size: 9.5px; }
  #materials-home .hero-scroll { left: 22px; transform: none; bottom: 18px; }
  #materials-home .ozb-eh2 span { display: block; margin: 10px 0 0; }
  #materials-home .stat { border-left: 0; border-top: 1px solid var(--ozb-line); }
  #materials-home .stat:first-child { border-top: 0; }
  #materials-home footer { padding-top: 48px; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  #materials-home :is(.ozb-hero-bg, .ozb-hero-bg i, .hero-scroll::after) { animation: none; }
}
@media print {
  #materials-home .mh-header { position: absolute; background: none; }
  #materials-home .ozb-hero-bg { display: none; }
}

/* 開いたときの演出は 99_assets/ozbase-hero5.css と ozbase-hero3d.js に移した（2026-11-20、ozbase.ai の hero5 をそのまま移植）。 */
/* /OZ-OZBASE-HOME */

/* 今週のトレンド（2026-11-20）：英字ラベルが青地に青で読めなかったのを淡い青に。
   号のカードは4列だと題が1文字だけ折り返すので、PCでは2列に組む */
#materials-home section.sec-navy .inner .eyebrow { color: #DCE4FF; }
#materials-home section.sec-navy .inner .eyebrow::before { background: #DCE4FF; }
@media (min-width: 861px) {
  #materials-home .sec-navy:has(.wk-open) .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
