.rmd-home {
    --rmd-red: #b90f25;
    --rmd-ink: #111111;
    --rmd-muted: #6e6a68;
    --rmd-paper: #f6f4f1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: var(--rmd-ink);
    background: #fff;
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.rmd-home *, .rmd-home *::before, .rmd-home *::after { box-sizing: border-box; }
.rmd-home a { color: inherit; text-decoration: none; }
.rmd-home-container { width: min(1360px, calc(100% - 80px)); margin: 0 auto; }
.rmd-home-eyebrow { margin: 0 0 20px; font: 700 15px/1.3 Georgia, "Times New Roman", serif; letter-spacing: .16em; }
.rmd-home-eyebrow--red { color: var(--rmd-red); font-family: inherit; font-size: 12px; }

.rmd-home-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: #120b0b;
    background-image: url('/wp-content/uploads/redmeteor-home-2026/joker-hero.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.rmd-home-hero__inner { width: min(1360px, calc(100% - 80px)); margin: 0 auto; padding: 80px 0; }
.rmd-home-hero h1 { max-width: 650px; margin: 0 0 28px; color: #fff; font: 500 clamp(42px, 4.5vw, 72px)/1.35 "Noto Serif SC", "Songti SC", "SimSun", serif; letter-spacing: .025em; }
.rmd-home-hero__copy { margin: 0 0 34px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 2; }
.rmd-home-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rmd-home-button { display: inline-flex; min-height: 54px; padding: 0 30px; align-items: center; justify-content: center; color: #fff !important; background: var(--rmd-red); font-weight: 700; letter-spacing: .04em; transition: background .2s ease, transform .2s ease; }
.rmd-home-button:hover, .rmd-home-button:focus-visible { color: #fff !important; background: #930b1d; transform: translateY(-2px); }
.rmd-home-text-link { padding: 12px 0 8px; color: #fff !important; border-bottom: 1px solid rgba(255,255,255,.6); }

.rmd-home-section { padding: 108px 0; }
.rmd-home-section__header { display: flex; justify-content: space-between; margin-bottom: 52px; }
.rmd-home-section__header h2, .rmd-home-shark h2, .rmd-home-craft h2 { margin: 0 0 12px; font: 500 clamp(34px, 3vw, 50px)/1.25 Georgia, "Noto Serif JP", serif; letter-spacing: .015em; }
.rmd-home-section__header h2 span { font: 500 18px/1.6 "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.rmd-home-section__header p { margin: 0; color: var(--rmd-muted); line-height: 1.8; }
.rmd-home-grid { display: grid; }
.rmd-home-grid--joker { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 34px; row-gap: 66px; }
.rmd-home-product { min-width: 0; }
.rmd-home-product__image { position: relative; display: flex; width: 100%; aspect-ratio: 1 / 1; align-items: center; justify-content: center; overflow: hidden; background: #fafafa; }
.rmd-home-product__image img { width: 100% !important; height: 100% !important; object-fit: contain; transition: transform .45s ease; }
.rmd-home-product__image:hover img { transform: scale(1.035); }
.rmd-home-product__meta { padding-top: 22px; }
.rmd-home-product h3 { min-height: 3.5em; margin: 0 0 10px; font-size: 15px; line-height: 1.75; font-weight: 600; }
.rmd-home-product h3 a:hover, .rmd-home-product h3 a:focus-visible { color: var(--rmd-red); }
.rmd-home-product__price { color: #3d3937; font-size: 17px; }
.rmd-home-product__price del { color: #8c8885; font-size: 14px; }
.rmd-home-product__price ins { text-decoration: none; }

.rmd-home-shark { background: var(--rmd-paper); }
.rmd-home-shark__layout { display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 2fr); gap: 64px; align-items: center; }
.rmd-home-shark h2 { font-size: clamp(32px, 2.7vw, 44px); }
.rmd-home-shark__intro p:not(.rmd-home-eyebrow) { margin: 0 0 30px; color: var(--rmd-muted); line-height: 1.9; }
.rmd-home-grid--shark { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.rmd-home-product--shark { padding: 0 36px; border-left: 1px solid #d8d2cc; }
.rmd-home-product--shark .rmd-home-product__image { background: transparent; }

.rmd-home-craft { padding: 96px 24px 104px; text-align: center; background: #fff; }
.rmd-home-craft span { display: block; width: 36px; height: 2px; margin: 20px auto 24px; background: var(--rmd-red); }
.rmd-home-craft > p:last-child { margin: 0; color: var(--rmd-muted); line-height: 2; }

@media (max-width: 1024px) {
    .rmd-home-container, .rmd-home-hero__inner { width: min(100% - 48px, 1360px); }
    .rmd-home-hero { min-height: 620px; background-position: 58% center; }
    .rmd-home-grid--joker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
    .rmd-home-shark__layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 767px) {
    .rmd-home-container, .rmd-home-hero__inner { width: calc(100% - 32px); }
    .rmd-home-hero { min-height: 660px; align-items: flex-end; background-position: 34% center; }
    .rmd-home-hero__inner { padding: 70px 0; }
    .rmd-home-hero h1 { font-size: 39px; }
    .rmd-home-hero__copy br { display: none; }
    .rmd-home-section { padding: 76px 0; }
    .rmd-home-section__header { margin-bottom: 36px; }
    .rmd-home-section__header h2 span { display: block; margin-top: 8px; }
    .rmd-home-grid--joker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 14px; }
    .rmd-home-product h3 { min-height: 0; font-size: 13px; }
    .rmd-home-product__price { font-size: 15px; }
    .rmd-home-grid--shark { grid-template-columns: 1fr; gap: 48px; }
    .rmd-home-product--shark { padding: 0; border: 0; }
    .rmd-home-craft { padding: 72px 20px 80px; }
    .rmd-home-craft > p:last-child br { display: none; }
}

@media (max-width: 420px) {
    .rmd-home-actions { gap: 18px; }
    .rmd-home-button { padding: 0 22px; }
}
