﻿:root {
    --color-brand: #cb0220;
    --color-brand-dark: #9f0018;
    --color-text: #241c19;
    --color-muted: #6b625e;
    --color-bg: #fff;
    --color-paper: #f8f6f1;
    --color-border: #ddd7d1;
    --font-heading: "Shippori Mincho", "Yu Mincho", "YuMincho", serif;
    --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --font-en: "Libre Caslon Display", Georgia, serif;
    --container: 1200px;
    --container-reading: 860px;
    --gutter: 40px;
    --space-section-lg: 120px;
    --space-section-md: 96px;
    --space-section-sm: 64px;
    --header-height: 92px;
    --transition: 220ms ease
}

@media(max-width: 767px) {
    :root {
        --gutter: 20px;
        --space-section-lg: 72px;
        --space-section-md: 64px;
        --space-section-sm: 48px;
        --header-height: 68px
    }
}

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

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%
}

body,
h1,
h2,
h3,
p,
ul {
    margin: 0
}

ul {
    padding: 0;
    list-style: none
}

img,
svg {
    display: block;
    max-width: 100%
}

button,
a {
    font: inherit
}

button {
    margin: 0
}

html {
    min-width: 320px;
    background: var(--color-bg)
}

body {
    min-width: 320px;
    overflow-x: clip;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: url("../../images/bg-paper.webp");
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: .04em
}

body.is-menu-open {
    overflow: hidden
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em
}

button,
a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

:focus-visible {
    outline: 3px solid rgba(203, 2, 32, .35);
    outline-offset: 3px
}

.u-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.l-main {
    min-height: calc(100svh - var(--header-height))
}

@media(max-width: 767px) {
    body {
        background-attachment: scroll
    }
}

.c-en {
    font-family: var(--font-en);
    letter-spacing: .08em
}

.c-page-heading {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .12em
}

.c-page-heading__en {
    display: block;
    margin-bottom: 10px;
    color: var(--color-brand);
    font-family: var(--font-en);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: .18em;
    text-transform: uppercase
}

.l-container,
.l-container--reading {
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--gutter)
}

.l-container {
    max-width: calc(var(--container) + var(--gutter)*2)
}

.l-container--reading {
    max-width: calc(var(--container-reading) + var(--gutter)*2)
}

.l-section {
    padding-block: var(--space-section-md)
}

.l-section--large {
    padding-block: var(--space-section-lg)
}

.l-section--small {
    padding-block: var(--space-section-sm)
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, .97)
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: var(--header-height);
    gap: 28px
}

.site-header__logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    width: 210px;
    min-height: 44px
}

.site-header__logo img {
    width: 100%;
    height: auto
}

.site-header__nav {
    margin-left: auto
}

.site-header__nav-list {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px)
}

.site-header__nav-link {
    position: relative;
    display: grid;
    min-height: 44px;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap
}

.site-header__nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 1px;
    background: var(--color-brand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition)
}

.site-header__nav-link:hover::after,
.site-header__nav-link[aria-current=page]::after {
    transform: scaleX(1);
    transform-origin: left
}

.site-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px
}

.site-header__reset {
    min-height: 44px;
    padding: 8px 15px;
    color: var(--color-brand);
    border: 1px solid currentColor;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    transition: color var(--transition), background-color var(--transition)
}

.site-header__reset:hover {
    color: #fff;
    background: var(--color-brand)
}

.site-header__menu-button {
    display: none;
    width: 48px;
    min-height: 44px;
    padding: 9px;
    border: 0;
    background: rgba(0, 0, 0, 0);
    cursor: pointer
}

.site-header__menu-icon,
.site-header__menu-icon::before,
.site-header__menu-icon::after {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--color-text);
    transition: transform var(--transition), opacity var(--transition)
}

.site-header__menu-icon {
    position: relative;
    margin-inline: auto
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
    content: "";
    position: absolute;
    left: 0
}

.site-header__menu-icon::before {
    top: -8px
}

.site-header__menu-icon::after {
    top: 8px
}

.site-header__menu-button[aria-expanded=true] .site-header__menu-icon {
    background: rgba(0, 0, 0, 0)
}

.site-header__menu-button[aria-expanded=true] .site-header__menu-icon::before {
    transform: translateY(8px) rotate(45deg)
}

.site-header__menu-button[aria-expanded=true] .site-header__menu-icon::after {
    transform: translateY(-8px) rotate(-45deg)
}

@media(max-width: 1100px) {
    .site-header__logo {
        width: 178px
    }

    .site-header__inner {
        gap: 18px
    }

    .site-header__nav-list {
        gap: 14px
    }

    .site-header__nav-link {
        font-size: 14px
    }
}

@media(max-width: 900px) {
    .site-header__inner {
        gap: 8px
    }

    .site-header__logo {
        width: min(132px, 36vw)
    }

    .site-header__actions {
        margin-left: auto
    }

    .site-header__reset {
        padding-inline: 8px;
        font-size: 14px
    }

    .site-header__menu-button {
        display: block
    }

    .site-header__nav {
        position: fixed;
        z-index: -1;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        visibility: hidden;
        overflow-y: auto;
        margin: 0;
        padding: 22px var(--gutter) 48px;
        background: rgba(248, 246, 241, .99);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition)
    }

    .site-header__nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0)
    }

    .site-header__nav-list {
        display: block;
        border-top: 1px solid var(--color-border)
    }

    .site-header__nav-item {
        border-bottom: 1px solid var(--color-border)
    }

    .site-header__nav-link {
        justify-content: start;
        min-height: 60px;
        padding-inline: 4px;
        font-size: 16px
    }

    .site-header__nav-link::after {
        right: auto;
        bottom: 12px;
        width: 32px
    }
}

@media(max-width: 390px) {
    .site-header__logo {
        width: 108px
    }

    .site-header__reset {
        padding-inline: 6px;
        font-size: 14px
    }

    .site-header__menu-button {
        width: 44px;
        padding-inline: 7px
    }
}

.site-footer {
    padding-block: 64px 32px;
    color: #fff;
    background: var(--color-text)
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    align-items: start;
    gap: 48px
}

.site-footer__logo {
    display: inline-flex;
    width: min(240px, 100%);
    min-height: 44px;
    align-items: center
}

.site-footer__logo img {
    width: 100%;
    height: auto
}

.site-footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 24px
}

.site-footer__nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 14px;
    text-decoration: none
}

.site-footer__nav-link:hover {
    text-decoration: underline
}

.site-footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 14px;
    line-height: 1.8
}

.site-footer__disclaimer {
    margin-top: 4px
}

@media(max-width: 767px) {
    .site-footer {
        padding-block: 48px 24px
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .site-footer__logo {
        width: 190px
    }

    .site-footer__nav-list {
        justify-content: flex-start;
        gap: 0 20px
    }

    .site-footer__bottom {
        margin-top: 28px
    }
}

.c-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 28px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 2px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), border-color var(--transition)
}

.c-button--primary {
    color: #fff;
    background: var(--color-brand)
}

.c-button--primary:hover {
    background: var(--color-brand-dark)
}

.c-button--secondary {
    color: var(--color-brand);
    border-color: var(--color-brand);
    background: rgba(0, 0, 0, 0)
}

.c-button--secondary:hover {
    color: #fff;
    background: var(--color-brand)
}

.c-button--text {
    min-height: 44px;
    padding-inline: 0;
    color: var(--color-text);
    border-bottom-color: var(--color-brand)
}

.c-button--text:hover {
    color: var(--color-brand)
}

.hero-slider {
    position: relative;
    min-height: min(760px, 100svh - var(--header-height));
    overflow: hidden;
    color: #fff;
    background: var(--color-text)
}

.hero-slider__viewport,
.hero-slider__slide,
.hero-slider__slide img,
.hero-slider__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.hero-slider__slide {
    visibility: hidden;
    opacity: 0;
    transition: opacity 700ms ease, visibility 700ms ease
}

.hero-slider__slide.is-active {
    visibility: visible;
    opacity: 1
}

.hero-slider__slide img {
    object-fit: cover;
    object-position: center
}

.hero-slider__slide:nth-child(5) img {
    object-position: 62% center
}

.hero-slider__shade {
    background: linear-gradient(90deg, rgba(21, 15, 12, 0.65), rgba(21, 15, 12, 0.08) 68%), linear-gradient(0deg, rgba(21, 15, 12, 0.38), transparent 45%)
}

.hero-slider__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: min(760px, 100svh - var(--header-height));
    flex-direction: column;
    justify-content: center
}

.hero-slider__en {
    margin-bottom: 18px;
    font-size: 15px;
    letter-spacing: .2em
}

.hero-slider__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 70px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .14em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28)
}

.hero-slider__controls {
    position: absolute;
    z-index: 3;
    right: var(--gutter);
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 8px
}

.hero-slider__arrow,
.hero-slider__toggle,
.hero-slider__pagination button {
    min-width: 44px;
    min-height: 44px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    background: rgba(36, 28, 25, .42);
    cursor: pointer
}

.hero-slider__arrow,
.hero-slider__toggle {
    font-size: 16px
}

.hero-slider__pagination {
    display: flex;
    gap: 4px
}

.hero-slider__pagination button {
    position: relative;
    min-width: 32px;
    border-color: rgba(0, 0, 0, 0)
}

.hero-slider__pagination button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, .55);
    transform: translate(-50%, -50%)
}

.hero-slider__pagination button.is-active::after {
    background: #fff
}

@media(prefers-reduced-motion: reduce) {
    .hero-slider__slide {
        transition: none
    }
}

@media(max-width: 767px) {

    .hero-slider,
    .hero-slider__content {
        min-height: 560px
    }

    .hero-slider__shade {
        background: linear-gradient(0deg, rgba(21, 15, 12, 0.64), rgba(21, 15, 12, 0.05) 72%)
    }

    .hero-slider__content {
        justify-content: flex-end;
        padding-bottom: 122px
    }

    .hero-slider__title {
        font-size: clamp(30px, 9vw, 40px);
        letter-spacing: .08em
    }

    .hero-slider__controls {
        right: 20px;
        bottom: 24px;
        left: 20px;
        justify-content: center
    }

    .hero-slider__pagination button {
        min-width: 25px
    }

    .hero-slider__slide:nth-child(2) img {
        object-position: 45% center
    }

    .hero-slider__slide:nth-child(5) img {
        object-position: 67% center
    }
}

.c-document-page {
    color: #f1e9e5;
    padding-block: var(--space-section-lg);
    background: linear-gradient(rgba(10, 7, 8, 0.94), rgba(18, 8, 10, 0.97)), url("../../images/old-document-paper.webp") center top/cover fixed
}

.c-document {
    padding: clamp(32px, 6vw, 72px);
    border: 1px solid rgba(203, 2, 32, .38);
    background: rgba(18, 13, 14, .9);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .42)
}

.c-document__eyebrow {
    color: var(--color-brand);
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.c-document__title {
    margin-top: 10px;
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .1em
}

.c-document__lead {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(83, 62, 43, .25)
}

.c-document__section {
    margin-top: clamp(52px, 8vw, 88px)
}

.c-document__heading {
    margin-bottom: 24px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 500;
    letter-spacing: .08em
}

.c-document__classical {
    padding: clamp(24px, 4vw, 40px);
    color: #f3dadd;
    border-block: 1px solid rgba(203, 2, 32, .48);
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.8vw, 28px);
    line-height: 2
}

.c-document__translation {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--color-brand)
}

.c-document__note {
    margin-top: 24px;
    padding: 20px;
    border-left: 2px solid var(--color-brand);
    background: rgba(203, 2, 32, .08)
}

.c-document__note--quiet {
    color: #c2b8b5;
    border-left: 0;
    background: rgba(255, 255, 255, .035);
    font-size: 14px
}

.c-document__actions {
    margin-top: 36px;
    text-align: center
}

.c-record-table-wrap {
    overflow-x: auto;
    margin-top: 28px
}

.c-record-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, .025)
}

.c-record-table th,
.c-record-table td {
    padding: 16px 14px;
    border: 1px solid rgba(241, 233, 229, .2);
    text-align: left;
    vertical-align: top
}

.c-record-table th {
    background: rgba(203, 2, 32, .1);
    font-family: var(--font-heading);
    font-weight: 600
}

.c-record-table tr.is-emphasis {
    color: #fff;
    background: rgba(203, 2, 32, .16);
    box-shadow: inset 4px 0 var(--color-brand)
}

.c-record-table__redacted {
    font-family: monospace;
    letter-spacing: .08em;
    white-space: nowrap
}

.c-role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.c-role-card {
    padding: 24px;
    border-top: 2px solid var(--color-brand);
    background: rgba(255, 255, 255, .04)
}

.c-role-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500
}

@media(max-width: 767px) {
    .c-document {
        padding-inline: 20px
    }

    .c-role-grid {
        grid-template-columns: 1fr
    }

    .c-record-table {
        min-width: 660px
    }
}

html.is-modal-open,
html.is-modal-open body {
    overflow: hidden
}

.c-modal[hidden] {
    display: none
}

.c-modal {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center
}

.c-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 3, 4, .9);
    backdrop-filter: blur(3px)
}

.c-modal__dialog {
    position: relative;
    width: min(860px, 100%);
    max-height: calc(100svh - 40px);
    overflow-y: auto;
    padding: clamp(28px, 5vw, 56px);
    color: #fff;
    border: 1px solid rgba(255, 190, 197, .35);
    background: linear-gradient(145deg, #710417, #38030c 72%);
    box-shadow: 0 22px 90px rgba(0, 0, 0, .68), 0 0 42px rgba(203, 2, 32, .2);
    animation: record-modal-open 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both
}

.c-modal__dialog--dark {
    color: #fff;
    border-color: rgba(255, 190, 197, .35);
    background: linear-gradient(145deg, #710417, #38030c 72%)
}

.c-modal__close {
    position: sticky;
    z-index: 2;
    top: 0;
    display: grid;
    width: 44px;
    min-height: 44px;
    margin: 0 0 4px auto;
    place-items: center;
    color: inherit;
    border: 1px solid currentColor;
    background: inherit;
    cursor: pointer;
    font-size: 22px
}

.c-modal__title {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    letter-spacing: .08em
}

.c-modal__body p+p {
    margin-top: 18px
}

.c-modal__records {
    display: grid;
    gap: 18px;
    margin-block: 24px
}

.c-modal__record {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(0, 0, 0, .15)
}

.c-modal__dialog--dark .c-modal__record {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(0, 0, 0, .15)
}

.c-modal__record strong {
    display: block;
    margin-bottom: 8px;
    color: #ffb1bd;
    font-family: var(--font-heading);
    font-size: 20px
}

.c-modal__actions {
    margin-top: 28px;
    text-align: center
}

@keyframes record-modal-open {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: scale(0.96) translateY(18px)
    }

    55% {
        filter: blur(1px);
        transform: scale(1.01) translateY(-2px)
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1) translateY(0)
    }
}

@media(prefers-reduced-motion: reduce) {
    .c-modal__dialog {
        animation: none
    }
}

@media(max-width: 767px) {
    .c-modal {
        padding: 10px
    }

    .c-modal__dialog {
        max-height: calc(100svh - 20px);
        padding: 20px
    }
}

.page-intro {
    display: grid;
    min-height: clamp(300px, 34vw, 440px);
    place-items: center;
    padding-block: var(--space-section-lg);
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(48, 4, 10, 0.64), rgba(20, 10, 10, 0.72)), url("../../images/hero-slide-01.webp") center/cover no-repeat
}

.page-intro .c-page-heading__en {
    color: #fff
}

.page-intro__lead {
    max-width: 680px;
    margin: 22px auto 0
}

.page-intro__mark {
    width: 46px;
    height: auto;
    margin: 0 auto 24px
}

.page-intro__rule {
    width: 1px;
    height: 48px;
    margin: 28px auto 0;
    background: rgba(255, 255, 255, .82)
}

@media(max-width: 767px) {
    .page-intro {
        min-height: 300px
    }
}

.c-section-paper {
    background-color: var(--color-paper);
    background-image: url("../../images/seigaiha-01.webp"), url("../../images/seigaiha-02.webp");
    background-position: left top, right bottom;
    background-repeat: no-repeat
}

.c-section-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--color-brand);
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: .16em;
    text-transform: uppercase
}

.c-section-kicker::before {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    background: url("../../images/shrine-symbol.webp") center/contain no-repeat;
    content: ""
}

:where(.c-section-lead--center, .worship__intro) .c-section-kicker {
    flex-direction: column;
    gap: 8px;
    justify-content: center
}

:where(.c-section-lead--center, .worship__intro) .c-section-kicker::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px
}

.c-section-heading {
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .1em
}

.c-subheading {
    margin: 0 0 24px;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.6
}

.c-subheading span {
    font-family: var(--font-body);
    font-size: 14px;
    letter-spacing: .08em
}

.c-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: clamp(48px, 7vw, 96px)
}

.c-split--reverse {
    grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr)
}

.c-split--reverse .c-split__media {
    order: 2
}

.c-split__media img {
    width: 100%;
    height: auto
}

.c-split__body p+p {
    margin-top: 16px
}

.c-split__body .c-button {
    margin-top: 30px
}

.c-benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px
}

.c-benefit-list li {
    padding: 8px 18px;
    border-left: 2px solid var(--color-brand);
    background: #fff;
    font-family: var(--font-heading)
}

.c-feature {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    align-items: stretch;
    padding: 0;
    background: var(--color-paper)
}

.c-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 6vw, 80px)
}

.c-feature__body .c-button {
    align-self: flex-start;
    margin-top: 30px
}

.c-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.c-feature__media--illustration img {
    object-fit: contain
}

.c-feature--dark {
    color: #fff;
    background: var(--color-text)
}

.c-section-lead {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: end;
    gap: clamp(32px, 7vw, 96px);
    margin-bottom: 52px
}

.c-section-lead .c-section-heading {
    margin-bottom: 0
}

.c-section-lead--center {
    display: block;
    text-align: center
}

.c-section-lead--center p {
    max-width: 680px;
    margin: 18px auto 0
}

.c-image-pair {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
    gap: 24px
}

.c-image-pair img {
    width: 100%;
    height: auto
}

.c-image-pair figure {
    margin: 0
}

.c-image-pair figcaption {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 14px
}

.c-section-action {
    margin-top: 36px;
    text-align: center
}

.c-wide-image {
    width: 100%;
    height: auto
}

.c-deity {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 0.8fr);
    align-items: center;
    justify-content: center;
    gap: clamp(48px, 8vw, 110px)
}

.c-deity__image {
    max-width: 500px;
    padding: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-paper)
}

.c-deity__image img {
    width: 100%;
    height: auto
}

.c-benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border)
}

.c-benefit-cards li {
    display: grid;
    min-height: 150px;
    place-content: center;
    gap: 10px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center
}

.c-benefit-cards span {
    color: var(--color-brand);
    font-family: var(--font-en)
}

.c-benefit-cards strong {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500
}

.c-link-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 52px;
    border-block: 1px solid var(--color-border)
}

.c-link-panel .c-section-heading {
    margin-bottom: 12px
}

.c-link-panel__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 12px
}

.c-archive {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px)
}

.c-archive__body p+p {
    margin-top: 16px
}

.c-archive__media img {
    width: 100%;
    height: auto
}

.ema-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 28px
}

.ema-gallery__item {
    margin: 0
}

.ema-gallery__item--featured {
    grid-column: 1/-1;
    width: calc(50% - 14px);
    margin-inline: auto
}

.ema-gallery__image {
    overflow: hidden;
    background: #e9e4da;
    aspect-ratio: 4/3
}

.ema-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.ema-gallery figcaption {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    text-align: center
}

.worship {
    text-align: center
}

.worship__intro {
    margin-bottom: 44px
}

.worship__guidance {
    margin-top: -14px;
    color: var(--color-muted)
}

.worship__image {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-paper);
    aspect-ratio: 4/3
}

.worship__image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.worship__bell {
    position: absolute;
    top: 47%;
    left: 50%;
    width: clamp(64px, 10vw, 112px);
    height: clamp(82px, 13vw, 148px);
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    transform: translate(-50%, -50%)
}

.worship__bell:hover {
    border-color: rgba(255, 255, 255, .8);
    background: rgba(203, 2, 32, .08)
}

.worship__message {
    margin-top: 30px;
    padding: 28px;
    background: var(--color-paper);
    font-family: var(--font-heading);
    font-size: 20px
}

.c-reading p+p {
    margin-top: 20px
}

.visit-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.visit-gallery figure {
    margin: 0;
    background: #fff
}

.visit-gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover
}

.visit-gallery figcaption {
    display: grid;
    gap: 8px;
    padding: 20px
}

.visit-gallery strong {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500
}

.visit-gallery span {
    color: var(--color-muted);
    font-size: 14px
}

@media(max-width: 767px) {
    .c-section-heading {
        margin-bottom: 22px
    }

    .c-split,
    .c-split--reverse,
    .c-feature,
    .c-section-lead,
    .c-deity,
    .c-archive {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .c-split--reverse .c-split__media {
        order: 0
    }

    .c-feature__body {
        padding: 40px 24px
    }

    .c-feature__media {
        order: -1
    }

    .c-section-lead {
        align-items: start;
        margin-bottom: 34px
    }

    .c-image-pair {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .c-deity__image {
        width: min(100%, 440px);
        margin-inline: auto
    }

    .c-benefit-cards {
        grid-template-columns: 1fr
    }

    .c-benefit-cards li {
        min-height: 104px
    }

    .c-link-panel {
        display: block;
        padding-block: 40px
    }

    .c-link-panel__actions {
        margin-top: 28px
    }

    .ema-gallery {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .ema-gallery__item--featured {
        grid-column: auto;
        width: 100%
    }

    .worship__intro br {
        display: none
    }

    .worship__bell {
        width: 68px;
        height: 88px
    }

    .visit-gallery {
        grid-template-columns: 1fr
    }
}

.ema-gallery__item--featured {
    position: relative
}

.ema-gallery__image[data-ema-normal] {
    transition: opacity 900ms ease
}

.ema-gallery__image[data-ema-normal][hidden] {
    display: block;
    opacity: 0
}

.ema-gallery__link {
    position: absolute;
    inset: 0 0 auto;
    display: block;
    color: inherit;
    opacity: 1;
    text-decoration: none;
    transition: opacity 900ms ease
}

.ema-gallery__link[hidden] {
    display: block;
    opacity: 0;
    pointer-events: none
}

.ema-gallery__link:hover .ema-gallery__image,
.ema-gallery__link:focus-visible .ema-gallery__image {
    outline: 2px solid var(--color-brand);
    outline-offset: 4px
}

.c-deity__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1122/1402
}

.c-deity__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center
}

.c-deity__image::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 5px), radial-gradient(circle at 35% 30%, rgba(203, 2, 32, 0.18), transparent 42%);
    content: ""
}

.c-deity__image.is-glitching {
    animation: deity-shift 460ms steps(2)
}

.c-deity__image.is-glitching::after {
    animation: deity-noise 460ms steps(3)
}

.c-deity__trigger {
    position: absolute;
    inset: 18px;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, 0);
    cursor: pointer
}

.c-deity__trigger[hidden] {
    display: none
}

.c-deity__trigger:focus-visible {
    outline-offset: -4px
}

.c-archive__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3
}

.c-archive__media>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.archive-hotspot {
    position: absolute;
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0);
    background: rgba(0, 0, 0, 0);
    cursor: pointer;
    transform: translate(-50%, -50%)
}

.archive-hotspot[hidden] {
    display: none
}

.archive-hotspot:hover,
.archive-hotspot:focus-visible {
    border-color: rgba(255, 255, 255, .9);
    background: rgba(203, 2, 32, .16)
}

.archive-hotspot__number {
    display: none
}

.archive-hotspot--1 {
    left: 51%;
    top: 64%;
    width: 26%;
    height: 10%
}

.archive-hotspot--2 {
    left: 75.7%;
    top: 67.2%;
    width: 27.5%;
    height: 11%
}

.archive-hotspot--3 {
    left: 35.1%;
    top: 72.2%;
    width: 34.5%;
    height: 14%
}

.archive-hotspot--4 {
    left: 65.6%;
    top: 78%;
    width: 38%;
    height: 17%
}

.archive-progress {
    margin-top: 18px;
    color: var(--color-muted);
    font-size: 14px
}

.records-panel[hidden] {
    display: none
}

.records-panel {
    padding-block: var(--space-section-lg);
    color: #e9e1db;
    background: #1b1716
}

.records-panel__intro {
    max-width: 720px
}

.records-panel__intro .c-section-kicker {
    color: #df8391
}

.records-panel__section {
    margin-top: clamp(60px, 9vw, 108px);
    padding-top: 36px;
    border-top: 1px solid rgba(233, 225, 219, .22)
}

.records-panel__number {
    color: #df8391;
    font-family: var(--font-en);
    letter-spacing: .16em
}

.records-panel__heading {
    margin: 8px 0 24px;
    font-family: var(--font-heading);
    font-size: clamp(27px, 4vw, 44px);
    font-weight: 500
}

.records-panel__images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px
}

.records-panel__images img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain
}

.records-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    margin-block: 30px
}

.records-flow li {
    position: relative;
    min-height: 96px;
    padding: 18px 14px;
    border: 1px solid rgba(233, 225, 219, .24)
}

.records-flow li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -22px;
    content: "→"
}

.records-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px
}

.records-status li {
    padding: 20px;
    border-left: 2px solid var(--color-brand);
    background: rgba(255, 255, 255, .05)
}

.records-panel__warning {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid rgba(203, 2, 32, .5)
}

.records-panel__cta {
    margin-top: 38px;
    text-align: center
}

.records-panel__cta .c-button:disabled {
    color: #b6aba5;
    border-color: #6a5d57;
    background: rgba(0, 0, 0, 0);
    cursor: not-allowed
}

.records-panel__pending {
    margin-top: 12px;
    color: #b6aba5;
    font-size: 14px
}

@keyframes deity-shift {

    0%,
    100% {
        transform: translate(0);
        filter: none
    }

    20% {
        transform: translate(-7px, 2px);
        filter: contrast(1.35) saturate(0.55)
    }

    45% {
        transform: translate(6px, -3px);
        filter: contrast(1.6) saturate(0.35)
    }

    70% {
        transform: translate(-3px, 1px);
        filter: contrast(1.25)
    }
}

@keyframes deity-noise {
    0% {
        opacity: 0;
        transform: translateY(-8%)
    }

    30% {
        opacity: .85;
        transform: translateY(5%)
    }

    65% {
        opacity: .55;
        transform: translateY(-2%)
    }

    100% {
        opacity: 0;
        transform: translateY(9%)
    }
}

@media(prefers-reduced-motion: reduce) {

    .ema-gallery__image[data-ema-normal],
    .ema-gallery__link {
        transition: none
    }

    .c-deity__image.is-glitching,
    .c-deity__image.is-glitching::after {
        animation: none
    }
}

@media(max-width: 767px) {

    .records-panel__images,
    .records-status {
        grid-template-columns: 1fr
    }

    .records-flow {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .records-flow li {
        min-height: 0
    }

    .records-flow li:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -17px;
        transform: rotate(90deg)
    }
}

.truth-body {
    color: #e9e1db;
    background: #100d0d;
    background-image: none
}

.truth-body .site-header {
    color: var(--color-text);
    border-bottom-color: var(--color-border);
    background: rgba(255, 255, 255, .97)
}

.truth-page {
    color: #e9e1db;
    background: #100d0d;
    font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
    font-size: 16px
}

.truth-page[hidden] {
    display: none
}

.truth-hero {
    padding: clamp(72px, 11vw, 144px) 0 clamp(64px, 9vw, 112px);
    border-bottom: 1px solid rgba(233, 225, 219, .2)
}

.truth-hero__label,
.truth-section__number {
    margin-bottom: 12px;
    color: #df8391;
    font-family: var(--font-en);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.truth-hero h1 {
    margin: 0;
    font-family: inherit;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 500;
    line-height: 1.4
}

.truth-hero__meta {
    margin-top: 28px;
    color: #bdb1aa;
    font-size: 14px
}

.truth-section {
    padding-block: clamp(72px, 10vw, 128px);
    border-bottom: 1px solid rgba(233, 225, 219, .17)
}

.truth-section__heading {
    margin: 0 0 32px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.45
}

.truth-section__body p+p {
    margin-top: 1.5em
}

.truth-section strong,
.truth-accent {
    color: #ff536c
}

.truth-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px
}

.truth-images img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(233, 225, 219, .14);
    filter: saturate(0.72) contrast(1.08)
}

.truth-images--single {
    grid-template-columns: 1fr
}

.truth-images--single img {
    width: 100%
}

.truth-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 38px;
    padding: 24px 24px 24px 48px;
    border: 1px solid rgba(203, 2, 32, .5);
    background: #1b1515
}

.truth-records {
    display: grid;
    gap: 12px;
    margin-top: 38px
}

.truth-records li {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) 1.2fr;
    gap: 20px;
    padding: 18px 20px;
    border-left: 2px solid #cb0220;
    background: #1b1515
}

.truth-records span:first-child {
    color: #bdb1aa
}

.truth-table-wrap {
    margin: 40px 0 48px;
    overflow-x: auto
}

.truth-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #1b1515
}

.truth-table th,
.truth-table td {
    padding: 16px;
    border: 1px solid rgba(233, 225, 219, .18);
    text-align: left;
    vertical-align: top
}

.truth-table th {
    color: #df8391;
    font-weight: 500
}

.truth-note {
    margin-top: 32px;
    color: #c9bdb6;
    font-size: 14px
}

.truth-ending {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    display: grid;
    align-items: center;
    padding-block: clamp(90px, 14vw, 180px);
    overflow: hidden
}

.truth-ending::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: url("../../images/ending-ledger.webp") center/cover no-repeat;
    content: ""
}

.truth-ending::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(rgba(16, 13, 13, 0.82), rgba(16, 13, 13, 0.96));
    content: ""
}

.truth-ending__panel {
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid rgba(203, 2, 32, .68);
    background: rgba(16, 13, 13, .88);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5)
}

.truth-ending__image {
    height: auto;
    margin-bottom: 36px;
    opacity: .76
}

.truth-ending__record {
    display: grid;
    gap: 10px;
    margin-top: 30px
}

.truth-ending__record div {
    display: grid;
    grid-template-columns: 11em 1fr;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(233, 225, 219, .14)
}

.truth-ending__record dt {
    color: #bdb1aa
}

.truth-ending__record dd {
    margin: 0;
    color: #fff
}

.truth-ending__conclusion {
    margin-top: 52px;
    color: #ff536c;
    font-size: clamp(23px, 4vw, 38px);
    line-height: 1.6
}

.truth-ending__final {
    margin-top: 24px;
    color: #fff
}

.truth-share {
    padding-block: 64px 88px;
    text-align: center
}

.truth-share__actions {
    display: grid;
    justify-items: center;
    gap: 16px
}

.truth-share .c-button {
    color: #fff;
    border-color: #cb0220;
    font-family: inherit
}

.truth-share .c-button:hover {
    background: #cb0220
}

@media(max-width: 767px) {
    .truth-images {
        grid-template-columns: 1fr
    }

    .truth-records li,
    .truth-ending__record div {
        grid-template-columns: 1fr;
        gap: 3px
    }

    .truth-ending {
        min-height: auto
    }
}

@media(prefers-reduced-motion: no-preference) {
    .truth-page {
        animation: truth-reveal 900ms ease both
    }
}

@keyframes truth-reveal {
    from {
        opacity: 0;
        filter: contrast(1.5) brightness(0.5)
    }

    to {
        opacity: 1;
        filter: none
    }
}