﻿/*
Theme Name: UMADO
Theme URI: https://github.com/
Author: UMADO
Description: Horse media front page layout (converted from static HTML).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: umado
*/

  :root {
    --earth: #1a1208;
    --deep: #0d0a05;
    --gold: #c9a84c;
    --gold-light: #e8c96a;
    --gold-pale: #f5e8c0;
    --crimson: #8b1a1a;
    --crimson-bright: #c0392b;
    --cream: #f9f3e8;
    --warm-gray: #8a8070;
    --text-primary: #1a1208;
    --text-light: #5c5040;
    --header-h: 64px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    overflow-x: hidden;
  }

  /* ─── HEADER ─── */
  /* Avoid backdrop-filter on header: it makes fixed descendants use the header as CB (~56px tall). */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: rgba(10,7,2,0.92);
    border-bottom: 1px solid rgba(201,168,76,0.3);
  }

  .header-inner {
    flex: 1 1 auto;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-decoration: none;
    flex-shrink: 0;
  }

  .logo span {
    color: #fff;
    font-size: 0.65rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2em;
    display: block;
    margin-top: -6px;
  }

  nav {
    display: flex;
    gap: 1.6rem;
    flex: 1;
  }

  nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    white-space: nowrap;
  }

  nav a:hover { color: var(--gold); }

  .nav-cta {
    background: var(--gold);
    color: var(--earth) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 2px;
    font-weight: 700 !important;
  }

  .nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--gold);
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    flex-shrink: 0;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  .nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: background 0.2s;
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s, top 0.2s;
  }

  .nav-toggle-bar::before { top: -7px; }
  .nav-toggle-bar::after { top: 7px; }

  #site-header.is-open .nav-toggle-bar {
    background: transparent;
  }

  #site-header.is-open .nav-toggle-bar::before {
    top: 0;
    transform: rotate(45deg);
  }

  #site-header.is-open .nav-toggle-bar::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .nav-backdrop {
    display: none;
  }

  body.is-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  /* ─── HERO ─── */
  .hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--deep);
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1553284965-5dd9f1ad98c0?w=1800&q=80');
    background-size: cover;
    background-position: center 30%;
  }

  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(8,5,2,0.90) 0%, rgba(8,5,2,0.65) 55%, rgba(8,5,2,0.25) 100%),
      linear-gradient(to top, rgba(8,5,2,0.6) 0%, transparent 50%);
  }

  /* Horse silhouette SVG background */
  .hero-horse {
    position: absolute;
    right: -2%;
    bottom: 0;
    width: 58%;
    height: 100%;
    opacity: 0.18;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-horse svg {
    width: 100%;
    height: 90%;
  }

  /* Track lines decoration */
  .track-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
    opacity: 0.4;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    padding-top: var(--header-h);
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease both;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
  }

  .hero-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    color: #fff;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s 0.1s ease both;
  }

  .hero-title .accent {
    color: var(--gold);
    display: block;
  }

  .hero-sub {
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeUp 0.8s 0.2s ease both;
  }

  /* Search bar */
  .hero-search {
    display: flex;
    max-width: 560px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s 0.3s ease both;
    transition: border-color 0.2s;
  }

  .hero-search:focus-within {
    border-color: var(--gold);
  }

  .hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.9rem 1.2rem;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .hero-search input::placeholder { color: rgba(255,255,255,0.35); }

  .hero-search button {
    background: var(--gold);
    border: none;
    padding: 0 1.4rem;
    cursor: pointer;
    color: var(--earth);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
    transition: background 0.2s;
  }

  .hero-search button:hover { background: var(--gold-light); }

  /* Popular categories */
  .hero-cats {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.4s ease both;
  }

  .hero-cat {
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    transition: all 0.2s;
  }

  .hero-cat:hover {
    background: rgba(201,168,76,0.15);
    border-color: var(--gold);
    color: var(--gold);
  }

  /* SEO important links */
  .hero-seo-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeUp 0.8s 0.5s ease both;
  }

  .seo-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(201,168,76,0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s;
  }

  .seo-link:hover { border-color: var(--gold); }

  /* ─── SECTION COMMON ─── */
  .section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
  }

  .section-header {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--earth);
    letter-spacing: 0.04em;
  }

  .section-title-en {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--gold);
  }

  .section-more {
    margin-left: auto;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--warm-gray);
    padding-bottom: 1px;
    transition: color 0.2s;
  }

  .section-more:hover { color: var(--crimson); }

  .divider {
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    height: 2px;
    max-width: 80px;
    margin-bottom: 2.5rem;
  }

  /* ─── LATEST ARTICLES ─── */
  .latest-section {
    background: #fff;
    border-top: 4px solid var(--gold);
  }

  .articles-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1px;
    background: #e8dcc8;
  }

  .article-card {
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    transition: all 0.25s;
    position: relative;
  }

  .article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,18,8,0.12); }

  .article-card.featured {
    grid-row: 1 / 3;
  }

  .article-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
  }

  .article-card.featured .article-thumb {
    aspect-ratio: 4/3;
  }

  .article-thumb-inner {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
  }

  .article-card:hover .article-thumb-inner { transform: scale(1.05); }

  /* Placeholder images with horse imagery */
  .thumb-race { background: linear-gradient(135deg, #1a0a0a 0%, #3d1515 50%, #1a0a0a 100%); }
  .thumb-horse { background: linear-gradient(135deg, #0a1a0a 0%, #153d15 50%, #0a1a0a 100%); }
  .thumb-jockey { background: linear-gradient(135deg, #0a0a1a 0%, #15153d 50%, #0a0a1a 100%); }
  .thumb-farm { background: linear-gradient(135deg, #1a150a 0%, #3d3015 50%, #1a150a 100%); }
  .thumb-news { background: linear-gradient(135deg, #0a1015 0%, #15253d 50%, #0a1015 100%); }

  .thumb-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.2);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .article-cat-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--crimson);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.6rem;
    z-index: 2;
  }

  .article-body {
    padding: 1.2rem;
  }

  .article-card.featured .article-body { padding: 1.6rem; }

  .article-date {
    font-size: 0.68rem;
    color: var(--warm-gray);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .article-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--earth);
  }

  .article-card.featured .article-title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
  }

  .article-excerpt {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.7;
    display: none;
  }

  .article-card.featured .article-excerpt { display: block; }

  /* ─── RANKING ─── */
  .ranking-section {
    background: var(--earth);
  }

  .ranking-section .section-title { color: var(--cream); }

  .ranking-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }

  .ranking-tab {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .ranking-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
  }

  .ranking-tab:hover { color: rgba(201,168,76,0.7); }

  .ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(201,168,76,0.1);
  }

  .ranking-item {
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
  }

  .ranking-item:hover { background: rgba(201,168,76,0.07); }

  .ranking-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: rgba(201,168,76,0.25);
    line-height: 1;
    min-width: 2rem;
    text-align: center;
  }

  .ranking-num.top3 { color: var(--gold); }

  .ranking-thumb {
    width: 60px;
    height: 60px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .ranking-info { flex: 1; min-width: 0; }

  .ranking-cat {
    font-size: 0.62rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
  }

  .ranking-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* ─── CATEGORIES ─── */
  .category-section { background: var(--cream); }

  .category-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .cat-group {
    border: 1px solid rgba(26,18,8,0.12);
    background: #fff;
    overflow: hidden;
  }

  .cat-group-header {
    padding: 1rem 1.2rem;
    background: var(--earth);
    color: var(--gold);
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .cat-group-header .cat-icon {
    font-size: 1rem;
    opacity: 0.8;
  }

  .cat-list { padding: 0.5rem 0; }

  .cat-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(26,18,8,0.05);
    transition: all 0.15s;
    gap: 0.5rem;
  }

  .cat-link::before {
    content: '›';
    color: var(--gold);
    font-size: 1rem;
    line-height: 1;
  }

  .cat-link:hover {
    color: var(--crimson);
    background: rgba(139,26,26,0.04);
    padding-left: 1.5rem;
  }

  /* ─── FEATURES ─── */
  .feature-section { background: #0d0a05; }
  .feature-section .section-title { color: var(--cream); }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .feature-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.15);
    overflow: hidden;
    transition: all 0.25s;
    position: relative;
  }

  .feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  }

  .feature-thumb {
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
  }

  .feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  }

  .feature-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: var(--earth);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.7rem;
  }

  .feature-body {
    padding: 1.2rem;
  }

  .feature-label {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }

  .feature-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
  }

  /* ─── DATABASE ─── */
  .db-section { background: var(--cream); }

  .db-search-area {
    background: var(--earth);
    padding: 3rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
  }

  .db-search-area::before {
    content: 'DATABASE';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8rem;
    color: rgba(255,255,255,0.03);
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .db-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
  }

  .db-sub {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
  }

  .db-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .db-tab {
    padding: 0.5rem 1.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
    margin-right: -1px;
  }

  .db-tab.active, .db-tab:hover {
    background: var(--gold);
    color: var(--earth);
    font-weight: 700;
    border-color: var(--gold);
    z-index: 1;
  }

  .db-search-row {
    display: flex;
    gap: 0;
    max-width: 600px;
  }

  .db-input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.3);
    border-right: none;
    outline: none;
    padding: 0.85rem 1.2rem;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .db-input::placeholder { color: rgba(255,255,255,0.3); }

  .db-btn {
    background: var(--gold);
    border: 1px solid var(--gold);
    padding: 0 2rem;
    color: var(--earth);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
    transition: background 0.2s;
  }

  .db-btn:hover { background: var(--gold-light); }

  /* ─── NEWS & COLUMNS ─── */
  .news-columns-section {
    background: #fff;
    border-top: 1px solid #e8dcc8;
  }

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .news-list { display: flex; flex-direction: column; gap: 0; }

  .news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0e8d8;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    transition: background 0.15s;
  }

  .news-item:hover .news-title { color: var(--crimson); }

  .news-item-cat {
    font-size: 0.62rem;
    background: var(--earth);
    color: var(--gold);
    padding: 0.2rem 0.5rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .news-item-body { flex: 1; }

  .news-title {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--earth);
    margin-bottom: 0.2rem;
    transition: color 0.2s;
  }

  .news-date {
    font-size: 0.68rem;
    color: var(--warm-gray);
  }

  /* Column cards */
  .column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .col-card {
    background: var(--cream);
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 1.2rem;
    border-left: 3px solid var(--gold);
    transition: all 0.2s;
  }

  .col-card:hover {
    background: #f0e8d8;
    transform: translateX(3px);
  }

  .col-cat {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
    font-weight: 700;
  }

  .col-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--earth);
  }

  /* ─── VIDEO ─── */
  .video-section { background: var(--deep); }
  .video-section .section-title { color: var(--cream); }

  .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .video-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.25s;
  }

  .video-card:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-3px);
  }

  .video-thumb {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
  }

  .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(201,168,76,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
  }

  .video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }

  .play-icon {
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid var(--earth);
    margin-left: 3px;
  }

  .video-body {
    padding: 1rem;
  }

  .video-label {
    font-size: 0.62rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
  }

  .video-title {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.45;
  }

  /* ─── CTA / EMAIL LINE ─── */
  .cta-section {
    background: linear-gradient(135deg, var(--crimson) 0%, #5a0f0f 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '馬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Shippori Mincho B1', serif;
    font-size: 30rem;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    font-weight: 900;
  }

  .cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

  .cta-title {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.8rem;
  }

  .cta-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: all 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .cta-btn-email {
    background: var(--gold);
    color: var(--earth);
  }

  .cta-btn-line {
    background: #06c755;
    color: #fff;
  }

  .cta-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

  /* ─── SNS ─── */
  .sns-section {
    background: var(--cream);
    padding: 3rem 2rem;
  }

  .sns-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .sns-label {
    font-family: 'Shippori Mincho B1', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--earth);
    letter-spacing: 0.05em;
  }

  .sns-links { display: flex; gap: 0.8rem; }

  .sns-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid;
    border-radius: 2px;
    transition: all 0.2s;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .sns-x {
    color: #000;
    border-color: #000;
  }

  .sns-x:hover { background: #000; color: #fff; }

  .sns-ig {
    color: #e1306c;
    border-color: #e1306c;
  }

  .sns-ig:hover { background: #e1306c; color: #fff; }

  .sns-yt {
    color: #ff0000;
    border-color: #ff0000;
  }

  .sns-yt:hover { background: #ff0000; color: #fff; }

  /* ─── FOOTER ─── */
  footer {
    background: #08050200;
    background: var(--deep);
    color: rgba(255,255,255,0.5);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(201,168,76,0.2);
  }

  .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
  }

  .footer-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.25);
    margin-bottom: 3rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .footer-col-title {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

  .footer-link {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    transition: color 0.2s;
  }

  .footer-link:hover { color: rgba(255,255,255,0.75); }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .footer-policy-links {
    display: flex;
    gap: 1.5rem;
  }

  .footer-policy-links a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ─── ANNOUNCEMENT BAR ─── */
  .announce {
    background: var(--gold);
    color: var(--earth);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 700;
  }

  .announce a { color: var(--earth); }

  /* Thumb placeholder content */
  .thumb-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .thumb-img-label {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    color: rgba(255,255,255,0.15);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }

  /* responsive adjusts */
  @media (max-width: 1100px) {
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .article-card.featured { grid-row: auto; }
    .category-columns { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 900px) {
    :root { --header-h: 56px; }

    .header-inner {
      padding: 0 1rem;
      height: var(--header-h);
      gap: 1rem;
      position: relative;
      z-index: 1001;
      background: rgba(10, 7, 2, 0.92);
    }

    .logo {
      font-size: 1.65rem;
      min-width: 0;
    }

    .logo span {
      font-size: 0.55rem;
      letter-spacing: 0.12em;
    }

    .nav-toggle {
      display: inline-flex;
    }

    .nav-backdrop {
      display: block;
      position: fixed;
      top: var(--header-h);
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    #site-header.is-open .nav-backdrop {
      opacity: 1;
      pointer-events: auto;
    }

    /* Fixed relative to viewport (header must not use backdrop-filter) */
    #site-nav {
      position: fixed;
      top: var(--header-h);
      left: 0;
      right: 0;
      bottom: 0;
      flex-direction: column;
      align-items: stretch;
      flex: none;
      gap: 0;
      max-width: none;
      width: 100%;
      padding: 0.5rem 1rem 2rem;
      margin: 0;
      background: rgba(10, 7, 2, 0.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid rgba(201, 168, 76, 0.2);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      z-index: 1000;
      transform: translateX(100%);
      visibility: hidden;
      transition: transform 0.28s ease, visibility 0.28s;
    }

    #site-header.is-open #site-nav {
      transform: translateX(0);
      visibility: visible;
    }

    #site-nav a {
      padding: 0.95rem 0.6rem;
      font-size: 0.9rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      white-space: normal;
    }

    #site-nav a.nav-cta {
      margin-top: 0.75rem;
      text-align: center;
      border-bottom: none;
      border-radius: 2px;
    }
  }

  @media (max-width: 768px) {
    .articles-grid { grid-template-columns: 1fr; }
    .ranking-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .category-columns { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.8rem; }
    .hero-content { padding: 0 1.5rem; padding-top: var(--header-h); }
    .cta-btns { flex-direction: column; align-items: center; }
    .announce {
      font-size: 0.68rem;
      padding: 0.45rem 0.5rem;
      line-height: 1.35;
    }
  }

/* ─── Legal pages (body.umado-legal-page) — privacy-policy & terms ─── */
body.umado-legal-page {
  --legal-border: #e8dcc8;
  line-height: 1.9;
  padding-top: var(--header-h);
}

body.umado-legal-page .page-hero {
  background: var(--earth);
  padding: 4rem 2rem;
  border-bottom: 3px solid var(--gold);
}

body.umado-legal-page .page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

body.umado-legal-page .page-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

body.umado-legal-page .page-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 2.2rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

body.umado-legal-page .page-meta {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

body.umado-legal-page .breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--legal-border);
  padding: 0.7rem 2rem;
}

body.umado-legal-page .breadcrumb-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.72rem;
  color: var(--warm-gray);
}

body.umado-legal-page .breadcrumb a {
  color: var(--warm-gray);
  text-decoration: none;
  transition: color 0.2s;
}

body.umado-legal-page .breadcrumb a:hover {
  color: var(--gold);
}

body.umado-legal-page .breadcrumb-sep {
  color: #ccc;
}

body.umado-legal-page .content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 4rem;
  align-items: start;
}

body.umado-legal-page .toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: #fff;
  border: 1px solid var(--legal-border);
  border-top: 3px solid var(--gold);
  padding: 1.5rem;
}

body.umado-legal-page .toc-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

body.umado-legal-page .toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

body.umado-legal-page .toc-list li a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 0.4rem 0.5rem;
  border-radius: 1px;
  transition: all 0.15s;
}

body.umado-legal-page .toc-list li a:hover {
  color: var(--earth);
  background: var(--cream);
  padding-left: 0.9rem;
}

body.umado-legal-page article {
  min-width: 0;
}

body.umado-legal-page .intro-box {
  background: #fff;
  border-left: 3px solid var(--gold);
  padding: 1.3rem 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.85;
}

body.umado-legal-page .policy-section {
  margin-bottom: 3rem;
}

body.umado-legal-page .policy-section h2 {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--earth);
  padding: 0.7rem 1rem;
  background: #fff;
  border-left: 4px solid var(--gold);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

body.umado-legal-page .policy-section h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--earth);
  margin: 1.5rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--legal-border);
}

body.umado-legal-page .policy-section p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 0.9rem;
}

body.umado-legal-page .policy-section ul {
  list-style: none;
  margin: 0.5rem 0 1rem;
}

body.umado-legal-page .policy-section ul li {
  font-size: 0.86rem;
  color: var(--text-light);
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
  line-height: 1.75;
  border-bottom: 1px dashed #ede5d5;
}

body.umado-legal-page .policy-section ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1rem;
}

body.umado-legal-page .warning-box {
  background: #fff5f5;
  border: 1px solid rgba(139, 26, 26, 0.2);
  border-left: 4px solid var(--crimson);
  padding: 1rem 1.3rem;
  margin: 1rem 0;
  font-size: 0.84rem;
  color: var(--crimson);
  line-height: 1.75;
}

body.umado-legal-page .info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1rem 0;
}

body.umado-legal-page .info-table th {
  background: var(--earth);
  color: var(--gold);
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  width: 35%;
}

body.umado-legal-page .info-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--legal-border);
  color: var(--text-light);
  background: #fff;
  line-height: 1.7;
}

body.umado-legal-page .info-table tr:last-child td {
  border-bottom: none;
}

body.umado-legal-page .updated-notice {
  background: #fff;
  border: 1px solid var(--legal-border);
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 3rem;
}

body.umado-legal-page .updated-notice strong {
  color: var(--earth);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  body.umado-legal-page .content-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body.umado-legal-page .toc {
    position: static;
  }
}

