@charset "utf-8";
/**
 * RuinsHolic Theme - 16bit JRPG UI Style
 * 廃墟調査ホリック / ホリヤマワークス
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
    /* Window (JRPG dialogue box) */
    --rh-win-top: #3a6ee0;
    --rh-win-bottom: #1b3a96;
    --rh-win-edge: #0d1f52;

    /* Gold frame */
    --rh-gold: #ffd75e;
    --rh-gold-lite: #fff3bd;
    --rh-gold-dark: #a8741a;

    /* Page palette (bright / pop) */
    --rh-sky: #b6e6ff;
    --rh-sky-deep: #7fd0f5;
    --rh-grass: #7ed957;
    --rh-grass-deep: #3fa63a;
    --rh-sand: #ffefd0;
    --rh-cream: #fffaec;

    /* Accents */
    --rh-red: #ff5d5d;
    --rh-orange: #ff9b31;
    --rh-pink: #ff74b0;
    --rh-cyan: #3fd6d1;
    --rh-purple: #9a6bff;

    /* Text */
    --rh-ink: #21243d;
    --rh-ink-soft: #4d5273;
    --rh-on-win: #ffffff;
    --rh-on-win-soft: #cfe0ff;

    /* Structure */
    --rh-outline: #10132b;
    --rh-px: 4px;
    --rh-container: 1080px;
    --rh-header-max: 1360px;

    --rh-font: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --rh-font-dot: "DotGothic16", "MS Gothic", monospace;

    --rh-shadow-hard: 0 4px 0 var(--rh-outline);
    --rh-shadow-drop: 0 6px 0 rgba(16, 19, 43, 0.22);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.rh-body {
    margin: 0;
    font-family: var(--rh-font);
    font-size: 16px;
    line-height: 1.9;
    color: var(--rh-ink);
    background-color: var(--rh-sky);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.65) 0 3px, transparent 3px),
        radial-gradient(circle at 62% 8%, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px),
        linear-gradient(180deg, #cdf0ff 0%, #b6e6ff 45%, #e8f8ff 100%);
    background-size: 220px 220px, 160px 160px, 100% 100%;
    background-attachment: fixed;
    -webkit-font-smoothing: none;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

a {
    color: #1266b8;
    text-decoration: none;
    font-weight: 700;
}

a:hover {
    color: var(--rh-orange);
}

.rh-container {
    width: min(100% - 1.5rem, var(--rh-container));
    margin-inline: auto;
}

/* ヘッダー／HUD／フッターだけ広めにしてメニュー・列崩れを防ぐ */
.rh-header .rh-container,
.rh-hud .rh-container,
.rh-footer .rh-container {
    width: min(100% - 1.25rem, var(--rh-header-max));
}

.rh-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ==========================================================================
   3. JRPG window frame (core component)
   ========================================================================== */

.rh-window {
    position: relative;
    padding: 1.6rem 1.5rem;
    color: var(--rh-on-win);
    background:
        linear-gradient(180deg, var(--rh-win-top) 0%, var(--rh-win-bottom) 100%);
    border: var(--rh-px) solid var(--rh-outline);
    box-shadow:
        inset 0 0 0 2px var(--rh-gold),
        inset 0 0 0 4px var(--rh-win-edge),
        inset 0 3px 0 6px rgba(255, 255, 255, 0.12),
        var(--rh-shadow-drop);
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.75);
}

.rh-window::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--rh-gold), var(--rh-gold)),
        linear-gradient(var(--rh-gold), var(--rh-gold)),
        linear-gradient(var(--rh-gold), var(--rh-gold)),
        linear-gradient(var(--rh-gold), var(--rh-gold));
    background-size: 6px 6px;
    background-repeat: no-repeat;
    background-position:
        7px 7px,
        calc(100% - 7px) 7px,
        7px calc(100% - 7px),
        calc(100% - 7px) calc(100% - 7px);
}

/* Parchment variant — for long reading content */
.rh-scroll {
    position: relative;
    padding: 1.75rem 1.6rem;
    color: var(--rh-ink);
    background:
        repeating-linear-gradient(180deg, rgba(180, 130, 60, 0.05) 0 27px, rgba(180, 130, 60, 0.11) 27px 28px),
        linear-gradient(180deg, #fff8e6 0%, #ffeec9 100%);
    border: var(--rh-px) solid var(--rh-gold-dark);
    box-shadow:
        inset 0 0 0 2px #fff8e6,
        inset 0 0 22px rgba(168, 116, 26, 0.18),
        var(--rh-shadow-drop);
}

/* Window title tab */
.rh-window > .rh-window__title,
.rh-scroll > .rh-scroll__title {
    display: block;
    position: absolute;
    top: calc(-1 * (1.1rem + var(--rh-px)));
    left: 1.25rem;
    margin: 0;
    padding: 0.15rem 0.85rem;
    font-family: var(--rh-font-dot);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--rh-outline);
    background: var(--rh-gold);
    border: 3px solid var(--rh-outline);
    box-shadow: 0 3px 0 rgba(16, 19, 43, 0.3);
    text-shadow: none;
    white-space: nowrap;
}

/* ==========================================================================
   4. Buttons / command menu
   ========================================================================== */

.rh-btn {
    --btn-face: var(--rh-orange);
    --btn-shade: #c96a12;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    font-family: var(--rh-font-dot);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.55);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, var(--btn-face) 0%, var(--btn-shade) 100%);
    border: 3px solid var(--rh-outline);
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.35),
        0 5px 0 var(--rh-outline);
    cursor: pointer;
    transition: transform 0.08s steps(2), box-shadow 0.08s steps(2);
}

.rh-btn::before {
    /* 選択中メニューと同じ ▼ を右向きに */
    content: "\25BC";
    font-size: calc(0.95rem * 0.7);
    line-height: 1;
    color: var(--rh-gold);
    opacity: 0;
    transform: translateX(-4px) rotate(-90deg);
    transition: opacity 0.1s steps(2), transform 0.1s steps(2);
}

.rh-btn:hover {
    color: #fff;
}

.rh-btn:hover::before,
.rh-btn:focus-visible::before {
    opacity: 1;
    transform: translateX(0) rotate(-90deg);
}

.rh-btn:active {
    transform: translateY(5px);
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.35),
        0 0 0 var(--rh-outline);
}

.rh-btn--primary {
    --btn-face: var(--rh-orange);
    --btn-shade: #c96a12;
}

.rh-btn--line {
    --btn-face: #4fc76b;
    --btn-shade: #2c8a42;
}

.rh-btn--quest {
    --btn-face: #4a86ff;
    --btn-shade: #23509f;
}

.rh-btn--rare {
    --btn-face: var(--rh-pink);
    --btn-shade: #c93b78;
}

.rh-btn--lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.rh-btn__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

/* ==========================================================================
   5. Header — RPG command bar
   ========================================================================== */

.rh-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(180deg, #24468f 0%, #162c66 100%);
    border-bottom: var(--rh-px) solid var(--rh-outline);
    box-shadow: 0 4px 0 rgba(16, 19, 43, 0.25);
}

.rh-header::before {
    content: "";
    display: block;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--rh-gold) 0 8px, var(--rh-gold-dark) 8px 16px);
}

.rh-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.5rem 0;
    flex-wrap: nowrap;
}

.rh-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.rh-brand__logo {
    flex: 0 0 auto;
    line-height: 0;
}

.rh-brand__logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 160px;
}

.rh-brand__text {
    color: #fff;
    flex: 0 0 auto;
}

.rh-brand__name {
    display: block;
    font-family: var(--rh-font-dot);
    font-size: 0.98rem;
    line-height: 1.2;
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.8);
    white-space: nowrap;
}

.rh-brand__tag {
    display: block;
    margin: 0.15rem 0 0;
    font-size: 0.68rem;
    color: var(--rh-gold-lite);
    letter-spacing: 0.02em;
    line-height: 1.35;
    white-space: nowrap;
}

/* Command menu */
.rh-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
}

.rh-nav__list,
.rh-nav .rh-global-menu,
.rh-nav .bs-global-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto !important;
    max-width: 100%;
    position: static !important;
}

.rh-nav__list > li,
.rh-nav .rh-menu-item,
.rh-nav .bs-global-menu-item {
    display: block;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.rh-nav__list a,
.rh-nav .rh-menu-item > a,
.rh-nav .bs-global-menu-item > a {
    position: relative;
    display: block;
    padding: 0.3rem 0.45rem 0.3rem 1.35rem;
    font-family: var(--rh-font-dot);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
    text-decoration: none;
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.8);
    border: 2px solid transparent;
    white-space: nowrap;
}

.rh-nav__list a::before,
.rh-nav .rh-menu-item > a::before,
.rh-nav .bs-global-menu-item > a::before {
    /* 依頼の書 .rh-next と同じ ▼ を右向きに（字形・サイズを揃える） */
    content: "\25BC";
    position: absolute;
    left: 0.12rem;
    font-size: calc(0.95rem * 0.7); /* = .rh-hero__message .rh-next::after */
    line-height: 1;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    color: var(--rh-gold);
    opacity: 0;
}

.rh-nav__list a:hover,
.rh-nav__list a:focus-visible,
.rh-nav__list .current > a,
.rh-nav .rh-menu-item > a:hover,
.rh-nav .rh-menu-item > a:focus-visible,
.rh-nav .rh-menu-item.current > a,
.rh-nav .bs-global-menu-item > a:hover,
.rh-nav .bs-global-menu-item.current > a {
    color: var(--rh-gold-lite);
    border-color: var(--rh-gold);
    background: rgba(0, 0, 0, 0.28);
}

.rh-nav__list a:hover::before,
.rh-nav__list a:focus-visible::before,
.rh-nav__list .current > a::before,
.rh-nav .rh-menu-item > a:hover::before,
.rh-nav .rh-menu-item > a:focus-visible::before,
.rh-nav .rh-menu-item.current > a::before,
.rh-nav .bs-global-menu-item > a:hover::before,
.rh-nav .bs-global-menu-item.current > a::before {
    opacity: 1;
    animation: rh-blink 0.9s steps(1, end) infinite;
}

.rh-nav .rh-global-menu--sub,
.rh-nav .bs-global-menu-sub {
    display: none;
}

.rh-nav > .rh-btn {
    flex: 0 0 auto;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.rh-nav > .rh-btn .rh-btn__icon {
    width: 20px;
    height: 20px;
}

@keyframes rh-blink {
    50% { opacity: 0.15; }
}

.rh-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 9px 10px;
    background: linear-gradient(180deg, #ffc23d, #d1830f);
    border: 3px solid var(--rh-outline);
    box-shadow: 0 4px 0 var(--rh-outline);
    cursor: pointer;
}

.rh-nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--rh-outline);
}

/* ==========================================================================
   6. HUD status ribbon
   ========================================================================== */

.rh-hud {
    background: linear-gradient(180deg, #0f1f4d, #0a1636);
    border-bottom: 3px solid var(--rh-gold-dark);
}

.rh-hud__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 1.75rem;
    padding: 0.4rem 0;
    flex-wrap: wrap;
    font-family: var(--rh-font-dot);
    font-size: 0.78rem;
    color: var(--rh-gold-lite);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
}

.rh-hud__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.rh-hud__item b {
    color: #fff;
    font-weight: 400;
}

.rh-hud a {
    color: #fff;
    text-decoration: underline;
}

.rh-hud a:hover {
    color: var(--rh-gold);
}

@keyframes rh-bob {
    50% { transform: translateY(-3px); }
}

/* ==========================================================================
   7. Breadcrumb
   ========================================================================== */

.rh-breadcrumb {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 3px solid var(--rh-outline);
    font-family: var(--rh-font-dot);
    font-size: 0.78rem;
}

.rh-breadcrumb a {
    color: #1a4f9c;
}

.rh-breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==========================================================================
   8. Hero — title screen
   ========================================================================== */

.rh-hero {
    position: relative;
    border-bottom: var(--rh-px) solid var(--rh-outline);
    overflow: hidden;
    background: #0e2145;
}

.rh-hero__map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    filter: saturate(1.1);
}

.rh-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 22, 54, 0.15) 0%, rgba(10, 22, 54, 0.72) 78%, rgba(10, 22, 54, 0.9) 100%);
}

.rh-hero__scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 4px);
    mix-blend-mode: multiply;
}

.rh-hero__inner {
    position: relative;
    padding: 3.5rem 0 2.75rem;
}

.rh-hero__emblem {
    display: block;
    width: min(520px, 92%);
    height: auto;
    margin: 0 auto 0.45rem;
    filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.45));
    animation: rh-float 3.4s ease-in-out infinite;
}

.rh-hero__tagline {
    margin: 0 0 1.25rem;
    text-align: center;
    font-family: var(--rh-font-dot);
    font-size: clamp(0.95rem, 2.6vw, 1.2rem);
    line-height: 1.5;
    color: var(--rh-gold-lite);
    letter-spacing: 0.04em;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8);
}

@keyframes rh-float {
    50% { transform: translateY(-6px); }
}

.rh-hero__catch {
    margin: 0 0 1rem;
    text-align: center;
    font-family: var(--rh-font-dot);
    font-size: clamp(1.1rem, 3.4vw, 1.7rem);
    line-height: 1.6;
    color: var(--rh-gold-lite);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
}

.rh-hero__catch em {
    font-style: normal;
    color: #fff;
    background: linear-gradient(180deg, transparent 62%, var(--rh-red) 62%, var(--rh-red) 88%, transparent 88%);
}

.rh-hero__message {
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.rh-hero__message p {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    line-height: 1.95;
    color: var(--rh-on-win);
}

.rh-hero__message p:last-child {
    margin-bottom: 0;
}

.rh-hero__message .rh-next::after {
    content: "\25BC";
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.7em;
    color: var(--rh-gold);
    animation: rh-blink 0.8s steps(1, end) infinite;
}

.rh-hero__commands {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.rh-hero__party {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.rh-hero__party img {
    width: 96px;
    height: auto;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.4));
    animation: rh-bob 1.6s steps(2, end) infinite;
}

.rh-hero__party img:nth-child(2) { animation-delay: 0.2s; }
.rh-hero__party img:nth-child(3) { animation-delay: 0.4s; }

/* ==========================================================================
   9. Sections
   ========================================================================== */

.rh-section {
    padding: 3.25rem 0;
}

.rh-section--band {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
    border-block: 3px solid rgba(16, 19, 43, 0.12);
}

.rh-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 2rem;
    text-align: center;
    font-family: var(--rh-font-dot);
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    color: var(--rh-ink);
    text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(16, 19, 43, 0.15);
}

.rh-heading::before,
.rh-heading::after {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    background: var(--rh-gold);
    border: 3px solid var(--rh-outline);
    transform: rotate(45deg);
}

.rh-lead {
    max-width: 760px;
    margin: -1rem auto 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--rh-ink-soft);
}

/* ==========================================================================
   10. Skill cards (3 reasons)
   ========================================================================== */

.rh-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.rh-skill {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rh-skill__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
}

.rh-skill__icon {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    padding: 3px;
    background: rgba(0, 0, 0, 0.32);
    border: 2px solid var(--rh-gold);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.rh-skill__head > .rh-skill__name {
    margin: 0;
    font-family: var(--rh-font-dot);
    font-size: 1rem;
    line-height: 1.4;
    color: var(--rh-gold-lite);
}

.rh-skill__lv {
    display: block;
    font-size: 0.68rem;
    color: var(--rh-on-win-soft);
    letter-spacing: 0.06em;
}

.rh-skill > .rh-skill__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--rh-on-win);
}

/* Gauge (HP/MP style) */
.rh-gauge {
    margin-top: auto;
}

.rh-gauge__label {
    display: flex;
    justify-content: space-between;
    font-family: var(--rh-font-dot);
    font-size: 0.7rem;
    color: var(--rh-on-win-soft);
    margin-bottom: 0.25rem;
}

.rh-gauge__track {
    position: relative;
    height: 16px;
    background: #14183a;
    border: 3px solid var(--rh-outline);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.rh-gauge__fill {
    height: 100%;
    background: linear-gradient(180deg, #a6ffb6 0%, #4fd76a 45%, #1f9e42 100%);
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

/* スクロールで画面内に入ったときだけ伸びる */
.rh-gauge__fill.is-animated {
    animation: rh-gauge-fill 0.9s steps(18, end) forwards;
}

@keyframes rh-gauge-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.rh-gauge__fill--mp {
    background: linear-gradient(180deg, #b6e8ff 0%, #4fb9f5 45%, #1f6fc0 100%);
}

.rh-gauge__fill--exp {
    background: linear-gradient(180deg, #ffe6a0 0%, #ffc23d 45%, #d18a0f 100%);
}

.rh-gauge__track::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(0, 0, 0, 0.32) 7px 9px);
}

/* ==========================================================================
   11. Party roster
   ========================================================================== */

.rh-party {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.rh-member {
    text-align: center;
}

.rh-member__stage {
    display: grid;
    place-items: center;
    height: 156px;
    margin: -0.5rem 0 0.75rem;
    background:
        radial-gradient(ellipse 58px 12px at 50% 90%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 72%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 3px, transparent 3px 6px);
    background-repeat: no-repeat, repeat;
}

.rh-member__stage img {
    width: 120px;
    height: auto;
    animation: rh-bob 1.5s steps(2, end) infinite;
}

.rh-member > .rh-member__name {
    margin: 0 0 0.15rem;
    font-family: var(--rh-font-dot);
    font-size: 1rem;
    color: var(--rh-gold-lite);
}

.rh-member__job {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.05rem 0.6rem;
    font-family: var(--rh-font-dot);
    font-size: 0.68rem;
    color: var(--rh-outline);
    background: var(--rh-gold);
    text-shadow: none;
}

.rh-member > .rh-member__text {
    margin: 0 0 0.9rem;
    font-size: 0.86rem;
    text-align: left;
    color: var(--rh-on-win);
}

.rh-member__stats {
    display: grid;
    gap: 0.35rem;
    text-align: left;
}

/* ==========================================================================
   12. Quest board (flow)
   ========================================================================== */

.rh-window > .rh-quests {
    counter-reset: rhq;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}

.rh-quest {
    counter-increment: rhq;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rh-quest__no {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-family: var(--rh-font-dot);
    font-size: 1.15rem;
    color: var(--rh-outline);
    background: linear-gradient(180deg, var(--rh-gold-lite), var(--rh-gold));
    border: 3px solid var(--rh-outline);
    box-shadow: 0 4px 0 rgba(16, 19, 43, 0.35);
    text-shadow: none;
}

.rh-quest__no::before {
    content: counter(rhq);
}

.rh-quest__body {
    flex: 1 1 auto;
    min-width: 0;
}

.rh-quest__body > .rh-quest__name {
    margin: 0 0 0.35rem;
    font-family: var(--rh-font-dot);
    font-size: 1rem;
    color: var(--rh-gold-lite);
}

.rh-quest__body > .rh-quest__text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--rh-on-win);
}

/* ==========================================================================
   13. Monitor / rare quest callout
   ========================================================================== */

.rh-rare {
    position: relative;
    text-align: center;
    background: linear-gradient(180deg, #7b3fd6 0%, #4a1f9e 100%);
}

.rh-rare::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, #fff 0 1.5px, transparent 2px),
        radial-gradient(circle, var(--rh-gold) 0 1.5px, transparent 2px);
    background-size: 90px 70px, 130px 110px;
    background-position: 12px 18px, 60px 52px;
    opacity: 0.55;
    animation: rh-twinkle 2.4s steps(2, end) infinite;
}

@keyframes rh-twinkle {
    50% { opacity: 0.15; }
}

.rh-rare__ribbon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 1.1rem;
    font-family: var(--rh-font-dot);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--rh-outline);
    background: linear-gradient(180deg, #fff3bd, var(--rh-gold));
    border: 3px solid var(--rh-outline);
    box-shadow: 0 4px 0 rgba(16, 19, 43, 0.4);
    text-shadow: none;
    white-space: nowrap;
}

.rh-rare__chest {
    width: 78px;
    margin: 0.5rem auto 0.75rem;
    display: block;
    animation: rh-bob 1.5s steps(2, end) infinite;
}

.rh-rare > .rh-rare__title {
    margin: 0 0 0.9rem;
    font-family: var(--rh-font-dot);
    font-size: clamp(1.1rem, 3.2vw, 1.5rem);
    color: var(--rh-gold-lite);
}

.rh-rare > .rh-rare__text {
    max-width: 640px;
    margin: 0 auto 1.4rem;
    font-size: 0.93rem;
}

.rh-rare__text strong {
    color: var(--rh-gold);
}

/* ==========================================================================
   14. Content area (固定ページ本文)
   ========================================================================== */

.rh-main {
    min-height: 45vh;
}

.rh-content {
    padding: 2.5rem 0 3.5rem;
}

.rh-page {
    color: var(--rh-ink);
}

/* Page headings */
.rh-page h1,
.rh-content > h1 {
    position: relative;
    margin: 0 0 1.75rem;
    padding: 0.75rem 1rem 0.75rem 3.25rem;
    font-family: var(--rh-font-dot);
    font-size: clamp(1.2rem, 3.4vw, 1.6rem);
    color: #fff;
    background: linear-gradient(180deg, #3a6ee0, #1b3a96);
    border: var(--rh-px) solid var(--rh-outline);
    box-shadow:
        inset 0 0 0 2px var(--rh-gold),
        var(--rh-shadow-drop);
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.8);
}

.rh-page h1::before,
.rh-content > h1::before {
    content: "\25C6";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: var(--rh-gold);
}

.rh-page h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 2.75rem 0 1.1rem;
    padding: 0.4rem 0.9rem;
    font-family: var(--rh-font-dot);
    font-size: 1.1rem;
    color: var(--rh-outline);
    background: linear-gradient(180deg, #fff3bd, var(--rh-gold));
    border: 3px solid var(--rh-outline);
    box-shadow: 0 4px 0 rgba(16, 19, 43, 0.28);
}

.rh-page h2::before {
    content: "\25B6";
    font-size: 0.68em;
    color: #b3540f;
}

.rh-page h3 {
    margin: 1.9rem 0 0.7rem;
    padding-left: 0.85rem;
    font-family: var(--rh-font-dot);
    font-size: 1rem;
    color: #1b3a96;
    border-left: 6px solid var(--rh-orange);
}

.rh-page h4 {
    margin: 1.4rem 0 0.5rem;
    font-family: var(--rh-font-dot);
    font-size: 0.95rem;
    color: var(--rh-ink);
}

.rh-page p {
    margin: 0 0 1.15rem;
}

.rh-page ul,
.rh-page ol {
    margin: 0 0 1.35rem;
    padding-left: 1.35rem;
}

.rh-page li {
    margin-bottom: 0.4rem;
}

.rh-page ul {
    list-style: none;
    padding-left: 0;
}

.rh-page ul > li {
    position: relative;
    padding-left: 1.5rem;
}

.rh-page ul > li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.72em;
    width: 9px;
    height: 9px;
    background: var(--rh-orange);
    border: 2px solid var(--rh-outline);
    transform: rotate(45deg);
}

.rh-page .rh-window ul > li::before {
    left: 0;
    top: 0.28em;
    width: 22px;
    height: 22px;
    background: url("../img/coin.png") center / contain no-repeat;
    border: none;
    transform: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.rh-page .rh-window ul > li {
    padding-left: 2rem;
}

.rh-page .rh-window ol > li::marker {
    color: var(--rh-gold);
}

/* Tables — status / price list */
.rh-page table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.25rem 0 2rem;
    background: var(--rh-cream);
    border: var(--rh-px) solid var(--rh-outline);
    box-shadow: var(--rh-shadow-drop);
    font-size: 0.92rem;
}

.rh-page th,
.rh-page td {
    padding: 0.7rem 1rem;
    border-bottom: 2px solid rgba(16, 19, 43, 0.14);
    text-align: left;
    vertical-align: top;
}

/* 行見出しの th（項目名セル） */
.rh-page th {
    font-family: var(--rh-font-dot);
    font-size: 0.84rem;
    color: #1b3a96;
    background: rgba(127, 208, 245, 0.3);
    white-space: nowrap;
}

/* 表頭の th */
.rh-page thead th {
    color: #fff;
    background: linear-gradient(180deg, #3a6ee0, #1b3a96);
    border-bottom: 3px solid var(--rh-outline);
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.6);
}

.rh-page tbody tr:nth-child(even) td {
    background: rgba(127, 208, 245, 0.12);
}

.rh-page tr:last-child th,
.rh-page tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   15. Page components
   ========================================================================== */

/* Info window inside page */
.rh-note {
    position: relative;
    margin: 1.75rem 0;
    padding: 1.35rem 1.35rem 1.35rem 1.35rem;
    background: linear-gradient(180deg, #fff8e6, #ffeec9);
    border: 3px solid var(--rh-gold-dark);
    box-shadow: inset 0 0 0 2px #fffdf5, 0 5px 0 rgba(16, 19, 43, 0.2);
}

.rh-note--danger {
    background: linear-gradient(180deg, #ffeaea, #ffd6d6);
    border-color: #c23b3b;
    box-shadow: inset 0 0 0 2px #fff6f6, 0 5px 0 rgba(16, 19, 43, 0.2);
}

.rh-note--info {
    background: linear-gradient(180deg, #eaf6ff, #d3ecff);
    border-color: #2a68b5;
    box-shadow: inset 0 0 0 2px #f6fbff, 0 5px 0 rgba(16, 19, 43, 0.2);
}

.rh-note > :last-child {
    margin-bottom: 0;
}

.rh-note::after {
    content: "";
    display: block;
    clear: both;
}

.rh-note > .rh-note__title {
    margin: 0 0 0.6rem;
    font-family: var(--rh-font-dot);
    font-size: 0.95rem;
    color: #7a4a08;
}

.rh-note--danger .rh-note__title { color: #9e2020; }
.rh-note--info .rh-note__title { color: #17457f; }

/* Equipment grid */
.rh-equip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.85rem;
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
}

.rh-page .rh-equip > li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    margin: 0;
    background: var(--rh-cream);
    border: 3px solid var(--rh-outline);
    box-shadow: 0 4px 0 rgba(16, 19, 43, 0.22);
    font-size: 0.86rem;
    line-height: 1.5;
}

.rh-page .rh-equip > li::before {
    display: none;
}

.rh-equip__icon {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    padding: 2px;
    background: #e6eefc;
    border: 2px solid var(--rh-outline);
}

.rh-equip__name {
    font-family: var(--rh-font-dot);
    font-size: 0.82rem;
    display: block;
    color: #1b3a96;
}

/* Stat list */
.rh-stats {
    display: grid;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
}

.rh-page .rh-stats > li {
    margin: 0;
    padding: 0;
}

.rh-page .rh-stats > li::before {
    display: none;
}

.rh-stat__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--rh-font-dot);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

/* FAQ — villager dialogue */
.rh-faq {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.rh-faq details {
    background: linear-gradient(180deg, #3a6ee0, #1b3a96);
    border: var(--rh-px) solid var(--rh-outline);
    box-shadow: inset 0 0 0 2px var(--rh-gold), var(--rh-shadow-drop);
    color: #fff;
}

.rh-faq summary {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--rh-font-dot);
    font-size: 0.92rem;
    line-height: 1.6;
    text-shadow: 2px 2px 0 rgba(6, 10, 32, 0.7);
}

.rh-faq summary::-webkit-details-marker {
    display: none;
}

.rh-faq summary::before {
    content: "\25B6";
    flex: 0 0 auto;
    margin-top: 0.35em;
    font-size: 0.66em;
    color: var(--rh-gold);
    transition: transform 0.12s steps(2);
}

.rh-faq details[open] summary::before {
    transform: rotate(90deg);
}

.rh-faq summary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rh-faq__answer {
    padding: 0.15rem 1.1rem 1.15rem 2.35rem;
    font-size: 0.9rem;
    color: var(--rh-on-win);
}

.rh-faq__answer p {
    margin: 0;
    text-shadow: 1px 1px 0 rgba(6, 10, 32, 0.6);
}

/* Contact / save point */
.rh-save {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.75rem 0 2rem;
}

.rh-save__qr {
    text-align: center;
}

.rh-save__qr img {
    max-width: 190px;
    margin: 0.5rem auto;
    padding: 6px;
    background: #fff;
    border: 3px solid var(--rh-outline);
}

.rh-save__tel {
    display: inline-block;
    font-family: var(--rh-font-dot);
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--rh-gold-lite);
    text-shadow: 3px 3px 0 rgba(6, 10, 32, 0.8);
}

.rh-save__small {
    font-size: 0.8rem;
    color: var(--rh-on-win-soft);
}

/* Price / shop rows */
.rh-shop {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
}

.rh-page .rh-shop > li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0.8rem 1rem;
    background: var(--rh-cream);
    border: 3px solid var(--rh-outline);
    box-shadow: 0 4px 0 rgba(16, 19, 43, 0.22);
}

.rh-page .rh-shop > li::before {
    display: none;
}

.rh-shop__icon {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
}

.rh-shop__body {
    flex: 1 1 auto;
    min-width: 0;
}

.rh-shop__body > .rh-shop__name {
    display: block;
    font-family: var(--rh-font-dot);
    font-size: 0.9rem;
    color: #1b3a96;
}

.rh-shop__body > .rh-shop__desc {
    display: block;
    font-size: 0.84rem;
    color: var(--rh-ink-soft);
}

.rh-shop__price {
    flex: 0 0 auto;
    font-family: var(--rh-font-dot);
    font-size: 0.9rem;
    color: #b3540f;
    white-space: nowrap;
}

/* Call to action strip */
.rh-cta {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: 2.25rem 0 0.5rem;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.rh-footer {
    margin-top: 3rem;
    color: #fff;
    background: linear-gradient(180deg, #162c66 0%, #0b1738 100%);
    border-top: var(--rh-px) solid var(--rh-outline);
}

.rh-footer::before {
    content: "";
    display: block;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--rh-gold) 0 8px, var(--rh-gold-dark) 8px 16px);
}

.rh-footer__inner {
    padding: 2rem 0 1.35rem;
}

.rh-footer__grid {
    display: grid;
    grid-template-columns: minmax(200px, 0.9fr) minmax(280px, 1.3fr) minmax(180px, 0.85fr);
    gap: 1.25rem 1.75rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.rh-footer__grid > div {
    min-width: 0;
}

.rh-footer a {
    color: #bfe4ff;
}

.rh-footer a:hover {
    color: var(--rh-gold);
}

.rh-footer__heading {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.7rem;
    font-family: var(--rh-font-dot);
    font-size: 0.88rem;
    color: var(--rh-gold);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.65);
}

.rh-footer__heading::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--rh-gold);
    border: 2px solid var(--rh-outline);
    transform: rotate(45deg);
}

.rh-footer__logo {
    display: block;
    width: min(160px, 100%);
    height: auto;
    margin: 0 0 0.55rem;
}

.rh-footer__name {
    margin: 0 0 0.25rem;
    font-family: var(--rh-font-dot);
    font-size: 0.95rem;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.rh-footer__tag {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #c8d8f5;
}

.rh-footer__dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.7rem;
    row-gap: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.45;
    align-items: baseline;
}

.rh-footer__dl dt {
    margin: 0;
    font-family: var(--rh-font-dot);
    font-size: 0.72rem;
    color: var(--rh-cyan);
    white-space: nowrap;
}

.rh-footer__dl dt:first-child {
    margin-top: 0;
}

.rh-footer__dl dd {
    margin: 0;
    color: #eaf2ff;
    min-width: 0;
}

.rh-footer__tel {
    font-family: var(--rh-font-dot);
    font-size: 1.15rem;
    margin-right: 0.35rem;
}

.rh-footer__note {
    display: inline-block;
    font-size: 0.75rem;
    color: #9fb4dd;
}

.rh-footer__links,
.rh-footer .rh-global-menu,
.rh-footer .bs-global-menu {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    width: auto !important;
    max-width: 100%;
    position: static !important;
    font-size: 0.84rem;
}

.rh-footer__links > li,
.rh-footer .rh-menu-item,
.rh-footer .bs-global-menu-item {
    display: block;
    margin: 0 0 0.28rem;
    padding: 0;
}

.rh-footer__links a,
.rh-footer .rh-menu-item > a,
.rh-footer .bs-global-menu-item > a {
    display: inline;
    padding: 0;
    font-size: inherit;
    font-weight: 400;
    text-decoration: none;
    color: #bfe4ff;
}

.rh-footer__links a:hover,
.rh-footer .rh-menu-item > a:hover,
.rh-footer .bs-global-menu-item > a:hover {
    color: var(--rh-gold);
}

.rh-footer__links a::before,
.rh-footer .rh-menu-item > a::before,
.rh-footer .bs-global-menu-item > a::before {
    content: "\25B8 ";
    color: var(--rh-gold);
}

.rh-footer__copy {
    margin: 0;
    padding-top: 1.15rem;
    border-top: 2px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    font-family: var(--rh-font-dot);
    font-size: 0.72rem;
    color: #9fb4dd;
}

.rh-footer__copy a {
    color: var(--rh-gold-lite);
    text-decoration: none;
}

.rh-footer__copy a:hover,
.rh-footer__copy a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* Ground strip decoration */
.rh-ground {
    height: 26px;
    background:
        repeating-linear-gradient(90deg,
            var(--rh-grass) 0 12px,
            var(--rh-grass-deep) 12px 24px);
    border-top: 3px solid var(--rh-outline);
    border-bottom: 3px solid var(--rh-outline);
}

/* ==========================================================================
   17. 固定ページ本文内でのコンポーネント調整
   （本文のタグ指定よりコンポーネント指定を優先させる）
   ========================================================================== */

.rh-page .rh-equip,
.rh-page .rh-stats,
.rh-page .rh-shop {
    padding-left: 0;
    margin: 1.5rem 0 2rem;
}

.rh-page .rh-cta {
    margin: 2.25rem 0 0.5rem;
}

/* タイトルタブが上の要素に重ならないよう余白を確保 */
.rh-page > .rh-window,
.rh-page > .rh-scroll {
    margin: 2rem 0;
}

/* 見出しタグの装飾（▶・縦線）をコンポーネント側で打ち消す */
.rh-page .rh-window__title::before,
.rh-page .rh-scroll__title::before,
.rh-page .rh-member__name::before,
.rh-page .rh-quest__name::before {
    content: none;
    display: none;
}

.rh-page .rh-member__name,
.rh-page .rh-quest__name {
    padding-left: 0;
    border-left: none;
}

.rh-page .rh-gauge__label {
    color: var(--rh-ink-soft);
}

.rh-page .rh-window .rh-gauge__label {
    color: var(--rh-on-win-soft);
}

/* 装飾スプライト */
.rh-deco {
    display: block;
    margin: 0 auto 0.75rem;
    animation: rh-bob 1.8s steps(2, end) infinite;
}

.rh-deco--inline {
    float: right;
    margin: 0 0 0.5rem 1rem;
}

.rh-page .rh-quests > li {
    margin-bottom: 0;
}

.rh-page .rh-party {
    margin: 1.5rem 0 2rem;
}

/* ==========================================================================
   Mail form (BcMail)
   ========================================================================== */
.rh-mail__window > p {
    color: var(--rh-on-win);
    font-size: 1rem;
    line-height: 1.7;
}

.rh-mail__description {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    background: var(--rh-cream);
    border: 3px solid var(--rh-outline);
    color: var(--rh-ink);
    font-size: 1rem;
    line-height: 1.75;
    text-shadow: none;
}

.rh-mail__form {
    margin-top: 0.75rem;
    padding: 1rem 1.1rem 1.2rem;
    background: var(--rh-cream);
    border: 3px solid var(--rh-outline);
    box-shadow: var(--rh-shadow-drop);
    color: var(--rh-ink);
    text-shadow: none;
}

.rh-mail__form *,
.rh-mail-form-body,
.rh-mail-form-body th,
.rh-mail-form-body td,
.rh-mail-form-body label,
.rh-mail-form-body input,
.rh-mail-form-body select,
.rh-mail-form-body textarea,
.rh-mail-form-body .required,
.rh-mail-form-body .normal,
.rh-mail-form-body .bs-mail-description,
.rh-mail-form-body .bs-mail-attention,
.rh-mail-form-body .bs-mail-before-attachment,
.rh-mail-form-body .bs-mail-after-attachment,
.rh-mail-form-body .error-message,
.rh-mail-form-body .bs-error-message,
.rh-mail__captcha,
.rh-mail__captcha * {
    text-shadow: none;
}

.rh-mail-form-body {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    background: transparent;
    color: var(--rh-ink);
}

.rh-mail-form-body th,
.rh-mail-form-body td {
    vertical-align: top;
    padding: 1rem 0.85rem;
    border-bottom: 2px dashed rgba(16, 19, 43, 0.22);
    text-align: left;
    white-space: normal;
}

.rh-mail-form-body th {
    width: 32%;
    font-family: var(--rh-font-dot);
    font-size: 1.05rem;
    line-height: 1.5;
    color: #1b3a96;
    font-weight: normal;
}

.rh-mail-form-body td {
    color: var(--rh-ink);
    font-size: 1rem;
    line-height: 1.65;
}

.rh-mail-form-body .required,
.rh-mail-form-body .normal {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.12rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.4;
    vertical-align: middle;
}

.rh-mail-form-body .required {
    background: #c0392b;
    color: #fff;
}

.rh-mail-form-body .normal {
    background: #d7e3f8;
    color: #1b3a96;
}

.rh-mail-form-body .bs-mail-description,
.rh-mail-form-body .bs-mail-attention,
.rh-mail-form-body .bs-mail-before-attachment,
.rh-mail-form-body .bs-mail-after-attachment {
    display: block;
    margin: 0.35rem 0;
    color: #3a4663;
    font-size: 0.92rem;
    line-height: 1.6;
}

.rh-mail-form-body label {
    color: var(--rh-ink);
    font-size: 1rem;
    line-height: 1.7;
}

.rh-mail-form-body input[type="text"],
.rh-mail-form-body input[type="email"],
.rh-mail-form-body input[type="tel"],
.rh-mail-form-body input[type="number"],
.rh-mail-form-body input[type="password"],
.rh-mail-form-body input[type="file"],
.rh-mail-form-body select,
.rh-mail-form-body textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.8rem;
    border: 2px solid var(--rh-outline);
    background: #fff;
    color: var(--rh-ink);
    font-family: var(--rh-font-body);
    font-size: 1rem;
    line-height: 1.5;
}

.rh-mail-form-body input::placeholder,
.rh-mail-form-body textarea::placeholder {
    color: #667085;
    opacity: 1;
}

.rh-mail-form-body textarea {
    min-height: 9rem;
    resize: vertical;
}

.rh-mail-form-body input[type="radio"],
.rh-mail-form-body input[type="checkbox"] {
    margin-right: 0.4rem;
    transform: scale(1.15);
    vertical-align: middle;
}

.rh-mail-form-body .error-message,
.rh-mail-form-body .bs-error-message {
    display: block;
    margin-top: 0.4rem;
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 700;
}

.rh-mail__captcha {
    margin: 0 0 1.1rem;
    padding: 0.85rem 0.9rem;
    background: #fff;
    border: 2px solid var(--rh-outline);
    color: var(--rh-ink);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: none;
}

.rh-mail__captcha img {
    display: block;
    margin: 0.35rem 0 0.65rem;
    max-width: 100%;
    height: auto;
}

.rh-mail__captcha input[type="text"] {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    padding: 0.55rem 0.7rem;
    border: 2px solid var(--rh-outline);
    background: #fffdf6;
    color: var(--rh-ink);
    font-size: 1rem;
}

.rh-mail__submit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.rh-mail__submit .rh-btn,
.rh-mail__submit input[type="reset"] {
    cursor: pointer;
    font-size: 1rem;
}

.rh-window a,
.rh-faq__answer a {
    color: var(--rh-gold-lite);
    text-decoration: underline;
}

.rh-window a:hover,
.rh-faq__answer a:hover {
    color: #fff;
}

.rh-page .rh-window ul,
.rh-page .rh-window ol {
    margin-bottom: 0;
}

.rh-page .rh-window > :last-child,
.rh-page .rh-scroll > :last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   18. Utilities
   ========================================================================== */

.rh-center { text-align: center; }
.rh-mt0 { margin-top: 0; }
.rh-sparkle { color: var(--rh-gold); }

/* ==========================================================================
   18. Responsive
   ========================================================================== */

@media (max-width: 1200px) and (min-width: 1025px) {
    .rh-header .rh-btn--line {
        display: none;
    }
}

@media (max-width: 1024px) {
    .rh-header__inner {
        flex-wrap: wrap;
    }

    .rh-nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .rh-nav {
        display: none;
        order: 3;
        width: 100%;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 0.85rem 0 1rem;
        border-top: 3px solid var(--rh-gold-dark);
    }

    .rh-nav.is-open {
        display: flex;
    }

    .rh-nav__list,
    .rh-nav .rh-global-menu,
    .rh-nav .bs-global-menu {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 0.15rem;
        width: 100% !important;
    }

    .rh-nav__list a,
    .rh-nav .rh-menu-item > a,
    .rh-nav .bs-global-menu-item > a {
        border-color: rgba(255, 255, 255, 0.18);
        background: rgba(0, 0, 0, 0.2);
        white-space: normal;
        font-size: 0.86rem;
        padding: 0.45rem 0.7rem 0.45rem 1.55rem;
    }

    .rh-nav .rh-btn {
        justify-content: center;
    }

    .rh-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .rh-footer__menu {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .rh-brand__tag {
        font-size: 0.56rem;
    }

    .rh-hero__inner {
        padding: 2.25rem 0 2rem;
    }

    .rh-hero__party img {
        width: 76px;
    }

    .rh-window,
    .rh-scroll {
        padding: 1.4rem 1.05rem;
    }

    .rh-page h1,
    .rh-content > h1 {
        padding-left: 2.75rem;
    }

    .rh-page table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .rh-mail-form-body,
    .rh-mail-form-body tbody,
    .rh-mail-form-body tr,
    .rh-mail-form-body th,
    .rh-mail-form-body td {
        display: block;
        width: 100%;
        white-space: normal;
    }

    .rh-mail-form-body th {
        border-bottom: none;
        padding-bottom: 0.25rem;
    }

    .rh-mail-form-body td {
        padding-top: 0.25rem;
    }

    .rh-footer__grid {
        grid-template-columns: 1fr;
    }

    .rh-footer__menu {
        grid-column: auto;
    }

    .rh-footer__copy a {
        display: block;
        width: 100%;
        margin-top: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    /* アニメ無効時はゲージを最初から満タン表示 */
    .rh-gauge__fill {
        transform: none !important;
    }
}
