@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600&display=swap');

:root {
    --color-bg: #050807;
    --color-bg-light: #0d1211;
    --color-gold: #d4af37;
    --color-gold-light: #f9e29b;
    --color-gold-dark: #8b6b23;
    --color-text: #f0ede5;
    --color-text-muted: #b0aa99;
    
    --font-heading: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
    --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
    --font-hand: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
    
    --spacing-section: 10rem;
    --card-bg: #0d1211;
    --glass-border: #4a3d16;
    --nav-height: 74px;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    background: #050807;
    color: var(--color-gold);
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--color-gold-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--color-bg); /* Pure solid background */
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: calc(var(--nav-height) + 24px);
}

body.loading {
    overflow: hidden;
}

/* Opening Overlay */
#opening-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s;
    overflow: hidden;
}

#opening-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration, 3s) infinite ease-in-out var(--delay, 0s);
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1); }
}

.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: rotateZ(45deg);
}

.shooting-star {
    position: absolute;
    height: 2px;
    background: linear-gradient(-45deg, #cfaa70, #cfaa7088, #cfaa7044, transparent);
    filter: drop-shadow(0 0 6px #cfaa70cc);
    animation: shoot var(--duration, 3s) infinite ease-in-out var(--delay, 0s);
    opacity: 0;
}

@keyframes shoot {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateX(300px); opacity: 0; }
    100% { transform: translateX(300px); opacity: 0; }
}

.logo-container {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo-container.show {
    opacity: 1;
    transform: scale(1);
}

.opening-logo {
    max-width: 300px;
    height: auto;
    display: block;
    mix-blend-mode: screen;
    filter: none;
}

#main-content {
    opacity: 0;
    transition: opacity 0.6s ease;
}

#main-content.visible {
    opacity: 1;
}

/* Header & Navigation */
.site-header {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: var(--nav-height);
    z-index: 1000;
    padding: 0 1.2rem;
    background: #050807f5;
    border-bottom: 1px solid #665322;
    box-shadow: 0 10px 30px #000b;
    backdrop-filter: blur(12px);
}

.site-header.scrolled {
    display: flex;
    background: #020403fa;
}

.nav-list {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    list-style: none;
    gap: 0;
    width: min(1400px, 100%);
    height: 100%;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0.55rem 0.45rem;
    border-left: 1px solid #d4af3724;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    line-height: 1.45;
    letter-spacing: 0;
    font-weight: 400;
    text-align: center;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 8px;
    height: 1px;
    background: var(--color-gold-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.nav-list li:last-child .nav-link {
    border-right: 1px solid #d4af3724;
}

.nav-link:hover {
    color: var(--color-gold-light);
    background: #d4af370e;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--color-gold);
}

.site-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    position: relative;
    z-index: 2;
}

.mobile-top-button {
    display: none;
}

.mobile-nav-list {
    display: none;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: var(--spacing-section);
}

.breadcrumbs {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.breadcrumbs .divider {
    color: var(--color-gold-dark);
    margin: 0 0.5rem;
    font-size: 0.6rem;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-gold-light);
    letter-spacing: 0.3em;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 10px #000;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    letter-spacing: 0.2em;
    font-weight: 300;
}

/* Ornament line */
.ornament {
    width: 150px;
    height: 1px;
    background: var(--color-gold);
    margin: 3rem auto;
    position: relative;
}

.ornament::after {
    content: '◇';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-gold);
    font-size: 12px;
    background-color: var(--color-bg);
    padding: 0 10px;
}

/* Sections */
.section {
    margin-bottom: var(--spacing-section);
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-height: none;
    height: auto;
    overflow: visible;
    margin-bottom: 2.5rem;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.section-image {
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    display: block;
    transition: transform 1.5s ease-out;
}

.image-wrapper:hover .section-image {
    transform: none;
}

.section-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    margin-bottom: 6rem;
    min-height: calc(100vh - var(--nav-height) - 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy,
.story-block {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.hero-copy p,
.story-block p,
.article-grid p,
.feature-list p,
.timeline-list p,
.faq-list p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 2.15;
    letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
}

.story-block.narrow {
    max-width: 720px;
    margin-top: 3rem;
}

.section-kicker {
    color: var(--color-gold);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1rem;
}

.story-section {
    padding-top: 1rem;
}

.story-section > .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.visual-section {
    margin-bottom: 6rem;
}

.jump-section {
    margin-bottom: 8rem;
}

.jump-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 3rem;
}

.jump-grid a {
    position: relative;
    display: flex;
    min-height: 142px;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 2.2rem;
    border: 1px solid #b7953c;
    background:
        linear-gradient(135deg, #082451 0%, #061535 52%, #02081a 100%);
    color: #fffaf0;
    text-decoration: none;
    letter-spacing: 0.12em;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.5;
    box-shadow: inset 0 0 0 4px #0000003d, 0 18px 42px #000;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.jump-grid a::before,
.jump-grid a::after {
    content: '';
    position: absolute;
    inset: 12px;
    pointer-events: none;
    z-index: 0;
}

.jump-grid a::before {
    border: 1px solid #d9c06a;
    box-shadow: inset 0 0 18px #d9c06a25;
}

.jump-grid a::after {
    background:
        radial-gradient(circle at 0 0, transparent 0 20px, #d9c06a 21px 22px, transparent 23px),
        radial-gradient(circle at 100% 0, transparent 0 20px, #d9c06a 21px 22px, transparent 23px),
        radial-gradient(circle at 0 100%, transparent 0 20px, #d9c06a 21px 22px, transparent 23px),
        radial-gradient(circle at 100% 100%, transparent 0 20px, #d9c06a 21px 22px, transparent 23px);
}

.jump-grid a span {
    position: relative;
    z-index: 2;
}

.jump-grid a:hover {
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
    transform: translateY(-5px);
    box-shadow: inset 0 0 0 4px #0000004a, 0 24px 60px #000, 0 0 28px #d4af3736;
}

/* Semantic sitemap presented as a mind map */
.sitemap-section {
    margin-bottom: 8rem;
}

.sitemap-mindmap {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.5rem 0 1rem;
}

.sitemap-root-node {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 3.5rem;
}

.sitemap-root-node::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 3.5rem;
    background: linear-gradient(var(--color-gold-light), var(--color-gold));
}

.sitemap-root-node a {
    display: grid;
    gap: 0.35rem;
    min-width: min(330px, 100%);
    padding: 1.25rem 2rem;
    border: 1px solid var(--color-gold-light);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.2), rgb(5 8 7 / 0.94));
    box-shadow: 0 16px 48px #0009, 0 0 28px rgb(212 175 55 / 0.15);
    color: #fffaf0;
    text-align: center;
    text-decoration: none;
}

.sitemap-root-node strong {
    color: var(--color-gold-light);
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    letter-spacing: 0.08em;
}

.sitemap-root-node small {
    color: var(--color-text-muted);
}

.sitemap-branches {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin: 0;
    padding: 3.5rem 0 0;
    list-style: none;
}

.sitemap-branches::before {
    content: '';
    position: absolute;
    top: 0;
    right: 16.666%;
    left: 16.666%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold) 8%, var(--color-gold) 92%, transparent);
}

.sitemap-branch {
    position: relative;
    min-width: 0;
}

.sitemap-branch::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 1px;
    height: 3.5rem;
    background: var(--color-gold);
}

.sitemap-branch h3 {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgb(212 175 55 / 0.55);
    background: #0b1511;
    color: var(--color-gold-light);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.sitemap-branch > ul {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 1.6rem 0 0;
    list-style: none;
}

.sitemap-branch > ul > li {
    position: relative;
    padding-top: 0.85rem;
}

.sitemap-branch > ul > li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 0.85rem;
    background: rgb(212 175 55 / 0.55);
}

.sitemap-branch a {
    display: grid;
    gap: 0.45rem;
    min-height: 104px;
    align-content: center;
    padding: 1.15rem;
    border: 1px solid rgb(212 175 55 / 0.32);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.07), rgb(5 8 7 / 0.84));
    color: #fffaf0;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.sitemap-branch a:hover,
.sitemap-branch a:focus-visible {
    transform: translateY(-4px);
    border-color: var(--color-gold-light);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.15), rgb(5 8 7 / 0.92));
}

.sitemap-branch a strong {
    color: var(--color-gold-light);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.6;
}

.sitemap-branch a small {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .sitemap-root-node {
        padding-bottom: 2rem;
    }

    .sitemap-root-node::after,
    .sitemap-branches::before,
    .sitemap-branch::before {
        display: none;
    }

    .sitemap-branches {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .sitemap-branch {
        padding-left: 1rem;
        border-left: 1px solid rgb(212 175 55 / 0.5);
    }
}

/* Smooth-anchor arrival and seasonal firework touch feedback */
.anchor-arrival {
    animation: anchorArrival 1.1s ease-out;
}

@keyframes anchorArrival {
    0% { box-shadow: 0 0 0 0 rgb(249 226 155 / 0); }
    35% { box-shadow: 0 0 0 2px rgb(249 226 155 / 0.65), 0 0 34px rgb(212 175 55 / 0.28); }
    100% { box-shadow: 0 0 0 12px rgb(249 226 155 / 0); }
}

.seasonal-firework {
    position: fixed;
    z-index: 10000;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.seasonal-firework::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 1px solid var(--color-gold-light);
    border-radius: 50%;
    animation: fireworkHalo 0.62s ease-out forwards;
}

.seasonal-firework i {
    position: absolute;
    left: -2px;
    top: -2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--particle-color);
    box-shadow: 0 0 7px var(--particle-color);
    animation: fireworkParticle 0.72s cubic-bezier(0.18, 0.7, 0.25, 1) var(--particle-delay) forwards;
}

@keyframes fireworkParticle {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    78% { opacity: 0.95; }
    100% { opacity: 0; transform: translate(var(--particle-x), var(--particle-y)) scale(0.2); }
}

@keyframes fireworkHalo {
    0% { opacity: 0.9; transform: scale(0.3); }
    100% { opacity: 0; transform: scale(4.5); }
}

.click-before-navigation {
    position: relative;
    z-index: 1;
    animation: clickBeforeNavigation 0.42s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes clickBeforeNavigation {
    0% { filter: brightness(1); transform: scale(1); }
    42% { filter: brightness(1.32); transform: scale(0.975); }
    100% { filter: brightness(1.08); transform: scale(1.01); }
}

@media (prefers-reduced-motion: reduce) {
    .anchor-arrival,
    .seasonal-firework,
    .seasonal-firework *,
    .click-before-navigation {
        animation: none !important;
    }
}

.page-card-menu {
    margin-top: 8rem;
}

.page-card-menu .section-title {
    margin-bottom: 0;
}

.article-grid,
.feature-list,
.timeline-list,
.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.article-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid article,
.feature-list article,
.timeline-list article,
.recommend-box,
.faq-list details,
.voice-grid blockquote {
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 4px;
}

.article-grid h3,
.feature-list h3,
.timeline-list h3,
.recommend-box h3 {
    color: var(--color-gold-light);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.image-text {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.compact-image {
    height: 420px;
    margin-bottom: 0;
}

.timeline-list {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-list article {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 1.5rem;
    align-items: start;
}

.timeline-list span {
    grid-row: span 2;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.recommend-box {
    max-width: 820px;
    margin: 3rem auto 0;
}

.recommend-box ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    padding-left: 1.2rem;
}

.voice-grid blockquote {
    color: var(--color-text);
    line-height: 1.9;
    letter-spacing: 0.08em;
    position: relative;
}

.voice-grid blockquote::before {
    content: '"';
    color: var(--color-gold);
    font-size: 2rem;
    line-height: 0;
    margin-right: 0.2rem;
}

.note {
    color: var(--color-gold-light) !important;
    font-size: 0.95rem !important;
}

.article-news {
    margin-top: 2.5rem;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-list details {
    padding: 0;
}

.faq-list summary {
    cursor: pointer;
    color: var(--color-gold-light);
    padding: 1.4rem 1.6rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.faq-list details p {
    padding: 0 1.6rem 1.6rem;
    margin-bottom: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-gold-light);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1rem;
    line-height: 2.2;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

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

/* Product Section */
.product-intro {
    margin-bottom: 4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.product-card {
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    background: var(--card-bg);
    box-shadow: 0 10px 30px #000;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-radius: 4px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 5px; right: 5px; bottom: 5px; left: 5px;
    border: 1px solid #1a1509;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold-dark);
}

.product-image-container {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: none;
}

.box-ornament {
    position: absolute;
    bottom: -15px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    border-top: 1px solid var(--color-gold);
    border-left: 1px solid var(--color-gold);
    pointer-events: none;
    transition: all 0.6s ease;
}

.product-card:hover .box-ornament {
    transform: translateX(-50%) rotate(225deg);
}

.product-details {
    text-align: center;
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-text);
    min-height: 3em;
    text-shadow: 0 2px 4px #000;
}

.product-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--color-gold-light);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 10px #000;
}

.currency {
    font-size: 1.2rem;
    margin-left: 0.2rem;
}

.cart-btn {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.8rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.cart-btn:hover {
    color: #000;
    background: var(--color-gold-light);
    box-shadow: 0 0 20px #d4af37;
    transform: translateY(-2px);
}

.cart-btn.active {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* --- Animations --- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.anim-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.anim-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

.anim-delay-1 { transition-delay: 0.2s; }
.anim-delay-2 { transition-delay: 0.4s; }

/* News Section */
.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid #1a1509;
    padding: 1.5rem 0;
    display: flex;
    gap: 2rem;
    align-items: baseline;
}

.news-date {
    font-size: 0.9rem;
    color: var(--color-gold);
    min-width: 100px;
}

.news-title {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title:hover {
    color: var(--color-gold-light);
}

/* Contact Section */
.contact-container {
    text-align: center;
    padding: 4rem;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
}

.contact-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--color-gold);
    color: #000;
}

/* Change 1 additions */
.home-wrapper {
    max-width: 1180px;
}

.home-hero {
    min-height: 42vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
}

.handwritten-panel {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-bottom: 8rem;
    border-radius: 4px;
    box-shadow: 0 20px 50px #000;
}

.handwritten-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(#0008, #0007), url('images/001.png') center / cover;
    filter: blur(4px) saturate(0.9) brightness(0.72);
    transform: scale(1.03);
}

.handwritten-copy {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 3rem;
    color: #fffaf0;
    font-family: var(--font-hand);
    font-size: 1.42rem;
    line-height: 2.15;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 14px #000;
}

.handwritten-copy p {
    margin-bottom: 1.2rem;
}

.typewriter-section {
    margin-top: -2rem;
}

.typewriter-paper,
.letter-paper {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem;
    color: #2b2319;
    background:
        linear-gradient(90deg, #f6e4d3 0 1px, transparent 1px) 4rem 0 / 1px 100% no-repeat,
        repeating-linear-gradient(#fff8ea, #fff8ea 35px, #eadbc3 36px);
    border-radius: 4px;
    box-shadow: 0 18px 45px #000;
    font-family: var(--font-hand);
}

.typewriter-text {
    min-height: 12em;
    font-size: 1.25rem;
    line-height: 2.05;
    letter-spacing: 0.04em;
    white-space: pre-wrap;
}

.typewriter-text::after {
    content: '';
    display: inline-block;
    width: 0.08em;
    height: 1.1em;
    margin-left: 0.12em;
    background: #2b2319;
    vertical-align: -0.15em;
    animation: caretBlink 0.8s steps(1) infinite;
}

@keyframes caretBlink {
    50% { opacity: 0; }
}

.watermelon-roadmap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 4rem;
}

.watermelon-roadmap::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #695c28, var(--color-gold), #276c39);
    z-index: -1;
}

.road-step {
    position: relative;
    padding: 6.2rem 1.3rem 1.6rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px 100px 12px 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(28px);
    animation: roadFade 0.9s ease forwards;
}

.road-step:nth-child(2) { animation-delay: 0.18s; }
.road-step:nth-child(3) { animation-delay: 0.36s; }
.road-step:nth-child(4) { animation-delay: 0.54s; }

@keyframes roadFade {
    to { opacity: 1; transform: translateY(0); }
}

.road-icon {
    position: absolute;
    top: 1.1rem;
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translateX(-50%);
}

.road-step.sprout .road-icon::before {
    content: '';
    position: absolute;
    inset: 20px 18px 2px;
    background: #5fb75f;
    border-radius: 50% 50% 4px 4px;
}

.road-step.sprout .road-icon::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    width: 36px;
    height: 25px;
    border-radius: 50% 0 50% 0;
    border: 2px solid #8bd680;
    transform: rotate(-18deg);
}

.road-step.leaf .road-icon,
.road-step.flower .road-icon {
    border-radius: 50% 0 50% 0;
    background: linear-gradient(135deg, #9edc8f, #3d8a45);
    transform: translateX(-50%) rotate(-18deg);
}

.road-step.flower .road-icon {
    background: radial-gradient(circle at center, #f9e29b 0 22%, #e8b6d3 23% 52%, transparent 53%);
    transform: translateX(-50%);
}

.road-step.fruit .road-icon {
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 34%, #fff8 0 10%, transparent 11%),
        repeating-linear-gradient(90deg, #1e8d46 0 7px, #0d6c37 7px 14px);
    border: 2px solid #86c46c;
}

.road-step h3,
.info-card h2 {
    color: var(--color-gold-light);
    font-size: 1.12rem;
    line-height: 1.7;
    letter-spacing: 0.08em;
    font-weight: 400;
    margin-bottom: 1rem;
}

.road-step p,
.info-card p,
.letter-paper p {
    color: var(--color-text-muted);
    line-height: 2;
    letter-spacing: 0.05em;
}

.letter-paper h2 {
    color: #4b321f;
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
    font-weight: 400;
}

.letter-paper p {
    color: #443524;
    font-size: 1.12rem;
}

.card-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.info-card {
    border: 1px solid var(--glass-border);
    background:
        linear-gradient(135deg, #ffffff08, transparent 42%),
        var(--card-bg);
    border-radius: 6px;
    padding: 2.2rem;
    min-height: 260px;
    box-shadow: 0 14px 34px #000;
    transition: transform 0.45s ease, border-color 0.45s ease, opacity 0.8s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold-dark);
}

.info-card.wide {
    grid-column: 1 / -1;
    min-height: auto;
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
}

.page-transition.is-closing,
.page-transition.is-opening {
    opacity: 1;
    visibility: visible;
}

.page-transition .crt-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 2px;
    background: #fffbe5;
    border-radius: 999px;
    box-shadow: 0 0 12px #fff, 0 0 32px #f9e29b, 0 0 58px #d4af37;
    transform: translate(-50%, -50%) scaleX(0);
    transform-origin: center;
    pointer-events: none;
}

.page-transition.is-closing .crt-line {
    animation: crtLineClose 0.34s cubic-bezier(0.72, 0, 0.24, 1) forwards;
}

.page-transition.is-opening .crt-line {
    animation: crtLineOpen 0.32s cubic-bezier(0.24, 0.72, 0.18, 1) forwards;
}

body.crt-closing #main-content,
body.crt-closing .site-header {
    animation: pageCollapse 0.34s cubic-bezier(0.72, 0, 0.24, 1) forwards;
    transform-origin: center;
}

body.crt-opening #main-content,
body.crt-opening .site-header {
    animation: pageExpand 0.32s cubic-bezier(0.24, 0.72, 0.18, 1) forwards;
    transform-origin: center;
}

@keyframes pageCollapse {
    0% { transform: scaleY(1); opacity: 1; filter: brightness(1); }
    72% { transform: scaleY(0.025); opacity: 0.92; filter: brightness(1.35); }
    100% { transform: scaleY(0.002); opacity: 0; filter: brightness(2); }
}

@keyframes pageExpand {
    0% { transform: scaleY(0.002); opacity: 0; filter: brightness(2); }
    34% { transform: scaleY(0.025); opacity: 0.88; filter: brightness(1.35); }
    100% { transform: scaleY(1); opacity: 1; filter: brightness(1); }
}

@keyframes crtLineClose {
    0% { transform: translate(-50%, -50%) scaleX(1); opacity: 0; }
    12% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scaleX(0); opacity: 1; }
}

@keyframes crtLineOpen {
    0% { transform: translate(-50%, -50%) scaleX(0); opacity: 1; }
    72% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scaleX(1); opacity: 0; }
}

/* Footer info */
.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    text-align: left;
    margin-bottom: 4rem;
    padding: 4rem 0;
    border-top: 1px solid #1a1509;
}

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-email {
    display: inline-block;
    margin-top: 0.65rem;
    color: var(--color-gold-light);
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
}

.email-note {
    display: block;
    margin-top: 0.35rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

/* Footers and SNS Banners */
.sns-banners {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    margin-top: 1rem;
}

.footer-social-text {
    display: none;
}

.footer-instagram-link {
    display: block;
    width: 120px;
    height: 120px;
    margin-top: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: #fff url('images/insta_image.jpg') center / contain no-repeat;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.footer-col a.footer-instagram-link {
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
}

.footer-instagram-link:hover,
.footer-instagram-link:focus-visible {
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.footer > p:last-of-type {
    display: inline-flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer > p:last-of-type::after {
    content: 'Web site Revision 2026.07.15';
    color: rgb(255 250 240 / 0.42);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.sns-banner-link {
    display: block;
    width: 150px;
    height: 45px;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease, filter 0.3s ease;
    border: 1px solid var(--glass-border);
}

.sns-banner-link:hover {
    transform: translateY(-5px);
}

.sns-banner-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns-banner-link[href*="instagram.com"] {
    display: block;
    width: 120px;
    height: 120px;
    background: #fff url('images/insta_image.jpg') center / contain no-repeat;
}

.sns-banner-link[href*="instagram.com"] img {
    display: none;
}

.sns-banners .sns-banner-link:not([href*="instagram.com"]) {
    display: none;
}

.about-instagram {
    margin-top: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.about-instagram p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.about-instagram a {
    display: inline-block;
    width: min(420px, 100%);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-instagram a:hover,
.about-instagram a:focus-visible {
    border-color: var(--color-gold-light);
    transform: translateY(-3px);
}

.about-instagram img {
    display: block;
    width: 100%;
    height: auto;
}

/* Scroll to Top Button */
#back-to-top {
    position: fixed;
    right: 24px;
    bottom: calc(var(--nav-height) + 24px);
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: #000;
    border: 1px solid var(--color-gold-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.25s ease;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px #000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-5px);
    background: var(--color-gold-light);
}

/* Page Specific Overrides */
.visible .anim-fade-up, .visible .anim-scale-in {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
        --spacing-section: 6rem;
    }

    .site-header {
        display: flex;
        position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: var(--nav-height);
        z-index: 1000;
        background: linear-gradient(180deg, #050807f2, #05080799);
        padding: 0 1rem;
        overflow: visible;
        justify-content: center;
        border-top: 0;
        border-bottom: 1px solid #4a3d164f;
        backdrop-filter: blur(8px);
    }

    .site-header.scrolled {
        display: flex;
        height: var(--nav-height);
        background: linear-gradient(180deg, #020403f7, #020403b8);
    }

    .nav-container {
        justify-content: space-between;
        max-width: none;
    }

    .desktop-nav-list {
        display: none;
    }

    .mobile-nav-list {
        display: grid;
    }

    .mobile-top-button {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--glass-border);
        border-radius: 4px;
        background: #050807;
        color: var(--color-gold-light);
        cursor: pointer;
        font: inherit;
    }

    .mobile-top-button::before {
        content: '';
        width: 11px;
        height: 11px;
        border-top: 1px solid currentColor;
        border-left: 1px solid currentColor;
        transform: translateY(3px) rotate(45deg);
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        flex: 0 0 auto;
    }

    .mobile-nav-list {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        min-width: 0;
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        padding: 0.35rem 1rem 1rem;
        background:
            linear-gradient(135deg, #061535f7, #020817f5 55%, #050807f7);
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .site-header.menu-open .mobile-nav-list {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list li {
        border-bottom: 1px solid #d9c06a25;
    }

    .nav-list li:last-child {
        border-bottom: 0;
    }

    .nav-list .nav-item-top {
        display: none;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        height: auto;
        border-left: 0;
        padding: 1rem 0.65rem;
        font-size: 0.9rem;
        letter-spacing: 0;
        white-space: nowrap;
        color: #fffaf0;
        text-align: left;
        overflow: visible;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link-arrow {
        flex: 0 0 auto;
        width: 1.5rem;
        color: var(--color-gold-light);
        font-size: 1rem;
        line-height: 1;
        text-align: right;
        transition: transform 0.25s ease;
    }

    .nav-link:hover .nav-link-arrow,
    .nav-link:focus-visible .nav-link-arrow {
        transform: translateX(4px);
    }

    #back-to-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
        font-size: 1.35rem;
    }

    .site-wrapper {
        padding: calc(var(--nav-height) + 2rem) 1.2rem 3rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 3rem;
        margin-bottom: 4rem;
    }

    .main-title {
        font-size: clamp(2rem, 10vw, 2.7rem);
        letter-spacing: 0.12em;
        overflow-wrap: anywhere;
    }

    .section-title {
        font-size: 1.45rem;
        letter-spacing: 0.08em;
    }

    .subtitle,
    .section-text,
    .hero-copy p,
    .story-block p,
    .article-grid p,
    .feature-list p,
    .timeline-list p,
    .faq-list p {
        font-size: 0.95rem;
        line-height: 2;
        letter-spacing: 0.03em;
    }

    .image-wrapper {
        height: 320px;
    }

    .jump-grid,
    .article-grid,
    .article-grid.three-col,
    .feature-list,
    .voice-grid,
    .image-text,
    .recommend-box ul,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .jump-grid {
        gap: 0.75rem;
    }

    .jump-grid a {
        min-height: 96px;
        padding: 1.2rem 1.4rem;
        font-size: 1rem;
    }

    .article-grid article,
    .feature-list article,
    .timeline-list article,
    .recommend-box,
    .faq-list summary,
    .voice-grid blockquote {
        padding: 1.4rem;
    }

    .timeline-list article {
        grid-template-columns: 1fr;
    }

    .timeline-list span {
        grid-row: auto;
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .compact-image {
        height: 300px;
    }

    .contact-container {
        padding: 2rem 1.2rem;
    }

    .home-hero {
        min-height: 34vh;
    }

    .handwritten-panel {
        min-height: 460px;
        margin-bottom: 5rem;
    }

    .handwritten-copy {
        padding: 1.4rem;
        font-size: 1.08rem;
        line-height: 2;
    }

    .typewriter-paper,
    .letter-paper {
        padding: 2rem 1.2rem 2rem 1.6rem;
        background:
            linear-gradient(90deg, #f6e4d3 0 1px, transparent 1px) 2.4rem 0 / 1px 100% no-repeat,
            repeating-linear-gradient(#fff8ea, #fff8ea 35px, #eadbc3 36px);
    }

    .typewriter-text,
    .letter-paper p {
        font-size: 1rem;
    }

    .watermelon-roadmap,
    .card-page-grid {
        grid-template-columns: 1fr;
    }

    .watermelon-roadmap::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: auto;
        transform: translateX(-50%);
        background: linear-gradient(#695c28, var(--color-gold), #276c39);
    }

    .road-step {
        border-radius: 58px 58px 10px 10px;
        padding: 5.8rem 1.2rem 1.5rem;
    }

    .info-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .footer-info {
        gap: 2rem;
        text-align: center;
    }

    .sns-banners {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .page-border { padding: 10px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .tax-voice-sky {
        grid-template-columns: 1fr !important;
        min-height: 0 !important;
    }

    .tax-voice-sky blockquote,
    .tax-voice-sky blockquote:nth-of-type(n) {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: min(230px, 100%) !important;
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
    }
}

/* Consolidated navigation and motion-led home page */
:root {
    --motion-blur: 0px;
    --motion-dim: 0.18;
}

.home-motion-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #050807;
    pointer-events: none;
}

.home-motion-background picture,
.home-motion-background img,
.home-motion-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-motion-background img {
    object-fit: cover;
    object-position: center;
    filter: blur(var(--motion-blur)) saturate(0.9) brightness(0.82);
    transform: scale(1.08);
    animation: none;
    transition: filter 0.18s linear;
    will-change: filter;
}

.home-motion-shade {
    background: linear-gradient(180deg, rgb(2 5 4 / 0.26), rgb(2 5 4 / var(--motion-dim)) 55%, #050807 100%);
    transition: background 0.18s linear;
}

@keyframes farmMotion {
    0% { transform: scale(1.08) translate3d(-1.5%, -0.5%, 0); }
    50% { transform: scale(1.14) translate3d(1%, 0.5%, 0); }
    100% { transform: scale(1.1) translate3d(1.5%, -1%, 0); }
}

#main-content,
.site-wrapper {
    background: transparent;
}

.home-wrapper {
    max-width: 1080px;
    padding-top: 0;
}

.home-hero {
    min-height: calc(100svh - var(--nav-height));
    margin-bottom: 0;
    align-items: center;
    position: relative;
}

.hero-eyebrow,
.section-kicker {
    color: var(--color-gold-light);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 1rem;
    text-align: center;
}

.home-title {
    color: #fff;
    font-size: 3.6rem;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
    text-shadow: 0 3px 22px #000;
}

.home-hero .subtitle {
    text-shadow: 0 2px 12px #000;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #f9e29b99;
    border-radius: 50%;
}

.hero-scroll span {
    width: 9px;
    height: 9px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: translateY(-2px) rotate(45deg);
    animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
    50% { transform: translateY(4px) rotate(45deg); }
}

.home-intro {
    max-width: 920px;
    margin: 0 auto 7rem;
    padding: 4rem 2rem;
    border-top: 1px solid #d4af3750;
    border-bottom: 1px solid #d4af3750;
    background: rgb(5 8 7 / 0.62);
    backdrop-filter: blur(1px);
}

.home-intro p {
    margin: 0 auto 1.3rem;
    color: #f6f2e8;
    font-size: 1.25rem;
    line-height: 2.1;
}

.home-intro p:last-child { margin-bottom: 0; }

.home-link-stack {
    display: grid;
    gap: 1rem;
    margin-bottom: 8rem;
    scroll-margin-top: 2rem;
}

.home-link-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 132px;
    padding: 1.5rem 2rem;
    border: 1px solid #d4af375c;
    border-radius: 4px;
    background: rgb(5 12 11 / 0.88);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
}

.home-link-card:hover,
.home-link-card:focus-visible {
    transform: translateX(10px);
    border-color: var(--color-gold-light);
    background: rgb(11 24 20 / 0.95);
}

.home-link-number {
    color: var(--color-gold);
    font-size: 0.76rem;
}

.home-link-copy {
    display: grid;
    gap: 0.45rem;
}

.home-link-copy strong {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
}

.home-link-copy small {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

.home-link-arrow {
    color: var(--color-gold-light);
    font-size: 1.4rem;
    transition: transform 0.35s ease;
}

.home-link-card:hover .home-link-arrow,
.home-link-card:focus-visible .home-link-arrow { transform: translateX(8px); }

.home-footer {
    padding: 2rem;
    background: rgb(5 8 7 / 0.82);
    backdrop-filter: blur(12px);
}

.merged-section {
    padding-top: 7rem;
    border-top: 1px solid #d4af3740;
}

.section-heading-block {
    max-width: 760px;
    margin: 0 auto 4rem;
}

@media (max-width: 768px) {
    .home-wrapper {
        padding-top: var(--nav-height);
    }

    .home-hero {
        min-height: calc(100svh - var(--nav-height));
    }

    .home-title {
        width: 100%;
        font-size: 1.7rem;
        line-height: 1.2;
        letter-spacing: 0;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .home-hero .subtitle {
        max-width: 290px;
        font-size: 0.88rem;
        line-height: 1.8;
    }

    .home-intro {
        margin-bottom: 4rem;
        padding: 2.2rem 1.1rem;
    }

    .home-intro p { font-size: 0.92rem; }

    .home-link-stack {
        gap: 0.7rem;
        margin-bottom: 5rem;
    }

    .home-link-card {
        grid-template-columns: 34px minmax(0, 1fr) 24px;
        min-height: 104px;
        padding: 1rem 0.9rem;
    }

    .home-link-card:hover { transform: translateX(4px); }

    .home-link-copy strong {
        font-size: 1.08rem;
        line-height: 1.5;
    }

    .home-link-copy small {
        font-size: 0.72rem;
        line-height: 1.6;
    }

    .home-link-arrow { font-size: 1rem; }

    .home-footer { padding: 1rem; }

    .merged-section {
        padding-top: 5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-motion-background img,
    .hero-scroll span {
        animation: none;
    }
}

/* 2026-07-05 editorial home sections */
.home-intro-lead {
    color: var(--color-gold-light) !important;
    font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
    font-weight: 500;
    line-height: 1.6 !important;
}

.home-story-list {
    position: relative;
    width: 100%;
    margin-bottom: 8rem;
    background: rgb(5 8 7 / 0.72);
    backdrop-filter: blur(14px);
}

.home-story {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7.5rem);
    width: min(calc(100% - 4rem), 1180px);
    min-height: 760px;
    margin: 0 auto;
    padding: 7rem 0;
    border-top: 1px solid rgb(212 175 55 / 0.28);
}

.home-story.is-reverse {
    grid-template-columns: minmax(340px, 1.1fr) minmax(0, 0.9fr);
}

.home-story-copy {
    position: relative;
    z-index: 1;
}

.home-story-number {
    margin: 0 0 1.4rem !important;
    color: var(--color-gold) !important;
    font-size: 0.76rem !important;
    letter-spacing: 0;
}

.home-story h2 {
    margin: 0 0 2.2rem;
    color: #fff;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.home-story-copy > p:not(.home-story-number) {
    margin: 0 0 1.3rem;
    color: #eeeae1;
    font-size: 1rem;
    line-height: 2.05;
}

.home-story-media {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: visible;
    aspect-ratio: auto;
    background: #101712;
}

.home-story-media::after {
    content: none;
}

.home-story-media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 720px;
    margin-inline: auto;
    object-fit: contain;
    border: 1px solid rgb(249 226 155 / 0.24);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.home-story:hover .home-story-media img {
    transform: none;
    filter: saturate(1.06);
}

.home-story-link {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    min-height: 48px;
    margin-top: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--color-gold);
    color: var(--color-gold-light);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.home-story-link:hover,
.home-story-link:focus-visible {
    gap: 1.7rem;
    color: #fff;
}

.home-story-list + .home-link-stack {
    margin-top: 0;
}

@media (max-width: 768px) {
    .home-story-list {
        margin-bottom: 5rem;
    }

    .home-story,
    .home-story.is-reverse {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        width: min(calc(100% - 1.5rem), 600px);
        min-height: 0;
        padding: 4.5rem 0;
    }

    .home-story-media {
        grid-row: 1;
        aspect-ratio: auto;
    }

    .home-story-copy {
        grid-row: 2;
    }

    .home-story h2 {
        margin-bottom: 1.5rem;
        font-size: clamp(1.55rem, 7vw, 2.1rem);
    }

    .home-story-copy > p:not(.home-story-number) {
        font-size: 0.94rem;
        line-height: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-story-media img,
    .home-story-link {
        transition: none;
    }
}

/* 2026-07-04 home visual and interaction update */
.home-motion-background img {
    object-position: center center;
    filter: blur(var(--motion-blur)) saturate(1.04) brightness(0.9);
    transform: scale(1.055);
    animation: none;
}

.home-motion-shade {
    background:
        linear-gradient(180deg, rgb(2 7 12 / 0.05) 0%, rgb(2 7 12 / 0.12) 58%, rgb(3 7 8 / var(--motion-dim)) 78%, #050807 100%);
}

body:not(.home-page) .home-motion-background img {
    filter: blur(12px) saturate(0.84) brightness(0.58);
}

body:not(.home-page) .home-motion-shade {
    background:
        linear-gradient(180deg, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.78) 52%, #050807 100%);
}

.home-wrapper {
    width: 100%;
    max-width: none;
    padding-inline: 0;
}

.home-hero {
    width: min(100%, 1600px);
    min-height: calc(100svh - var(--nav-height));
    margin-inline: auto;
    padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 5vw, 5rem);
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.home-title {
    display: grid;
    gap: 0;
    margin: 0;
    color: #fff;
    font-size: clamp(5rem, 11.5vw, 11rem);
    font-weight: 500;
    line-height: 0.83;
    letter-spacing: 0;
    white-space: normal;
    text-shadow: 0 3px 28px rgb(0 24 53 / 0.22);
}

.home-title span {
    display: block;
}

.home-hero .subtitle {
    position: absolute;
    left: clamp(1.4rem, 5.4vw, 5.4rem);
    bottom: clamp(5.6rem, 11vh, 8rem);
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.7vw, 2.4rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
    text-shadow: 0 2px 18px rgb(0 24 53 / 0.32);
}

.hero-scroll {
    right: clamp(1.3rem, 4vw, 4rem);
    bottom: 2rem;
}

.home-intro,
.home-link-stack,
.home-footer {
    width: min(calc(100% - 3rem), 1080px);
    margin-inline: auto;
}

.home-intro {
    scroll-margin-top: 3rem;
    margin-bottom: 3.5rem;
}

.home-link-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 74px;
    color: var(--color-gold-light);
    overflow: hidden;
}

.home-link-action span {
    position: absolute;
    right: 1.7rem;
    font-size: 0.72rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.28s ease, transform 0.35s ease;
}

.home-link-action b {
    font-size: 1.4rem;
    font-weight: 400;
    transition: transform 0.35s ease;
}

.home-link-card {
    grid-template-columns: 64px minmax(0, 1fr) 74px;
}

.home-link-card:hover .home-link-action span,
.home-link-card:focus-visible .home-link-action span {
    opacity: 1;
    transform: translateX(0);
}

.home-link-card:hover .home-link-action b,
.home-link-card:focus-visible .home-link-action b {
    transform: translateX(8px);
}

body.page-arriving #main-content,
body.page-arriving .site-header {
    animation: pageSoftFade 0.46s ease-out both;
}

@keyframes pageSoftFade {
    from { opacity: 0; filter: brightness(0.82); }
    to { opacity: 1; filter: brightness(1); }
}

@media (max-width: 768px) {
    .home-motion-background img {
        object-position: center center;
        transform: scaleX(-1) scale(1.06);
        animation: none;
    }

    .home-wrapper {
        padding-top: var(--nav-height);
    }

    .home-hero {
        min-height: calc(100svh - var(--nav-height));
        padding: 1.6rem 1rem;
    }

    .home-title {
        width: auto;
        margin-left: clamp(3.8rem, 18vw, 5rem);
        font-size: clamp(3.4rem, 15.8vw, 5rem);
        line-height: 0.98;
        white-space: normal;
    }

    .home-hero .subtitle {
        left: clamp(4.8rem, 22vw, 6.5rem);
        right: 0.9rem;
        bottom: 19vh;
        max-width: none;
        font-size: clamp(1rem, 4.5vw, 1.35rem);
        line-height: 1.55;
    }

    .hero-scroll {
        right: 1rem;
        bottom: 1.2rem;
    }

    .home-intro,
    .home-link-stack,
    .home-footer {
        width: min(calc(100% - 1.5rem), 1080px);
    }

    .home-link-card {
        grid-template-columns: 34px minmax(0, 1fr) 48px;
    }

    .home-link-action {
        width: 48px;
    }

    .home-link-action span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-motion-background img,
    body.page-arriving #main-content,
    body.page-arriving .site-header,
    .home-link-action span,
    .home-link-action b {
        animation: none;
        transition: none;
    }
}

/* 2026-07-09 visual article pages and furusato sales buttons */
.home-motion-background img {
    transform: none;
    animation: none;
    transition: filter 0.18s linear;
}

@media (max-width: 768px) {
    .home-motion-background img {
        transform: scaleX(-1);
        animation: none;
    }
}

.visual-story-list {
    display: grid;
    gap: clamp(4rem, 7vw, 7rem);
}

.hada-location-story {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3.25rem);
}

.hada-location-story .visual-story-copy {
    max-width: 820px;
}

.hada-location-map {
    margin: 0;
    padding: clamp(0.35rem, 1vw, 0.7rem);
    border: 1px solid rgb(212 175 55 / 0.35);
    background: rgb(255 255 255 / 0.96);
    box-shadow: 0 26px 70px rgb(0 0 0 / 0.42);
    overflow: hidden;
}

.hada-location-map img {
    display: block;
    width: 100%;
    height: auto;
}

.hada-kandan-story {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgb(212 175 55 / 0.32);
    border-radius: 6px;
    background: #f7f3e7;
    box-shadow: 0 28px 72px rgb(0 0 0 / 0.42);
}

.hada-kandan-frame {
    display: block;
    width: 100%;
    height: 1180px;
    border: 0;
    background: #f7f3e7;
}

@media (max-width: 760px) {
    .hada-kandan-frame {
        height: 1320px;
    }
}

.visual-story {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.visual-story.is-reverse {
    grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
}

.visual-story-copy {
    position: relative;
}

.visual-story-number {
    margin: 0 0 1rem;
    color: var(--color-gold);
    font-size: 0.76rem;
    letter-spacing: 0;
}

.visual-story h2,
.tax-hero-copy h2 {
    margin: 0 0 1.5rem;
    color: var(--color-gold-light);
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0;
}

.visual-story-copy p:not(.visual-story-number),
.tax-hero-copy p {
    margin-bottom: 1.15rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 2.05;
    letter-spacing: 0.04em;
}

.visual-story-media,
.tax-hero-image {
    position: relative;
    margin: 0;
    overflow: visible;
    background: #0a0f0d;
    box-shadow: 0 24px 60px rgb(0 0 0 / 0.36);
}

.visual-story-media {
    aspect-ratio: auto;
}

.tax-hero-image {
    aspect-ratio: 1 / 1;
}

.visual-story-media::after,
.tax-hero-image::after {
    content: none;
}

.visual-story-media img,
.tax-hero-image img,
.visual-mini-card img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 720px;
    margin-inline: auto;
    object-fit: contain;
    border: 1px solid rgb(249 226 155 / 0.28);
}

/* Optional photo captions: place <figcaption>...</figcaption> after the img. */
.home-story-media figcaption,
.visual-story-media figcaption,
.tax-hero-image figcaption,
.tax-overview-image figcaption {
    padding: 0.55rem 0.25rem 0;
    color: var(--color-text-muted);
    font-size: 0.76rem;
    line-height: 1.65;
    letter-spacing: 0.04em;
    text-align: left;
}

.home-story-media figcaption:empty,
.visual-story-media figcaption:empty,
.tax-hero-image figcaption:empty,
.tax-overview-image figcaption:empty {
    display: none;
}

.visual-story:hover .visual-story-media img,
.tax-hero:hover .tax-hero-image img,
.visual-mini-card:hover img {
    filter: saturate(1.08) brightness(1.04);
}

.tax-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding: clamp(1rem, 2vw, 2rem);
    border: 1px solid rgb(212 175 55 / 0.26);
    background: linear-gradient(135deg, rgb(255 255 255 / 0.04), rgb(5 8 7 / 0.82));
}

.tax-sites {
    padding: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgb(212 175 55 / 0.28);
    border-bottom: 1px solid rgb(212 175 55 / 0.28);
}

.purchase-shortcuts {
    max-width: 920px;
    margin: 0 auto clamp(4rem, 8vw, 7rem);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgb(212 175 55 / 0.42);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.12), rgb(5 8 7 / 0.82));
    text-align: center;
}

.purchase-shortcuts-title {
    margin: 0 0 1.4rem;
    color: #fffaf0;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    letter-spacing: 0.08em;
}

.purchase-shortcut-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.purchase-shortcut-buttons a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--color-gold);
    background: #08100d;
    color: var(--color-gold-light);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.purchase-shortcut-buttons a:hover,
.purchase-shortcut-buttons a:focus-visible {
    transform: translateY(-3px);
    border-color: var(--color-gold-light);
    background: #0d1814;
}

@media (max-width: 640px) {
    .purchase-shortcut-buttons {
        grid-template-columns: 1fr;
    }
}

/* Compact TOP topic note */
.home-topic-sticky {
    position: fixed;
    right: clamp(0.8rem, 2vw, 1.5rem);
    bottom: clamp(0.8rem, 2vw, 1.5rem);
    z-index: 80;
    width: min(290px, calc(100vw - 1.6rem));
    padding: 1.35rem 1.35rem 1.2rem;
    border: 1px solid rgb(126 111 56 / 0.35);
    border-radius: 2px;
    background: #eee6aa;
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.24);
    color: #3e3a27;
    transform: rotate(-0.7deg);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-topic-sticky::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    width: 72px;
    height: 15px;
    background: rgb(236 229 205 / 0.82);
    transform: translateX(-50%) rotate(1deg);
}

.home-topic-sticky.is-dismissed {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) rotate(-0.7deg);
}

.home-topic-close {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    background: transparent;
    color: #655f43;
    font: inherit;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.home-topic-label,
.home-topic-sticky .home-topic-date {
    margin: 0;
    color: #756d48;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.home-topic-sticky .home-topic-date {
    margin-top: 0.25rem;
}

.home-topic-sticky h2 {
    margin: 0.7rem 0 0.45rem;
    color: #34311f;
    font-size: 1.08rem;
    line-height: 1.5;
}

.home-topic-sticky > p:not(.home-topic-label):not(.home-topic-date) {
    margin: 0 0 0.75rem;
    color: #514c33;
    font-size: 0.82rem;
    line-height: 1.7;
}

.home-topic-sticky a {
    color: #3f5938;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.instagram-diary .instagram-media {
    min-width: 0 !important;
    margin: 1.5rem auto !important;
}

.diary-kicker {
    max-width: 980px;
    margin: 0 auto 1rem;
}

.notebook-section:has(.diary-book) {
    max-width: 1040px;
}

.diary-book {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    overflow: hidden;
    border: 1px solid #d2c7ac;
    border-radius: 5px 9px 9px 5px;
    background: #fffdf5;
    box-shadow: 0 26px 70px rgb(0 0 0 / 0.38), inset 0 0 30px rgb(112 91 53 / 0.08);
}

.diary-book::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 14px;
    background: linear-gradient(90deg, rgb(83 67 42 / 0.12), transparent 45%, rgb(83 67 42 / 0.1));
    transform: translateX(-50%);
    pointer-events: none;
}

.diary-page {
    --diary-rule: 2rem;
    min-width: 0;
    padding: 3rem clamp(1.5rem, 3vw, 2.8rem);
    color: #263b52;
    background-color: #fffdf5;
    background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--diary-rule) - 1px), rgb(159 194 221 / 0.22) calc(var(--diary-rule) - 1px) var(--diary-rule));
    background-position-y: 1rem;
}

.diary-page-copy {
    border-right: 1px solid rgb(121 103 70 / 0.18);
}

.diary-page h2 {
    margin: 0 0 1.5rem;
    color: #223a54;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    line-height: var(--diary-rule);
}

.diary-page-copy > p:not(.notebook-date) {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 2.05;
}

.diary-caption p {
    margin: 0 0 1rem;
    color: #263b52;
    font-size: 0.88rem;
    line-height: var(--diary-rule);
    letter-spacing: 0.025em;
}

.diary-entry[hidden] {
    display: none;
}

.diary-entries,
.diary-entry {
    overflow-anchor: none;
}

.diary-entry.is-active {
    animation: diary-page-turn 0.35s ease both;
}

.diary-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    max-width: 1040px;
    margin: 1.25rem auto 0;
}

.diary-nav {
    border: 0;
    background: transparent;
    color: var(--color-gold-light);
    font: inherit;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.diary-nav-older { text-align: left; }
.diary-nav-newer { text-align: right; }
.diary-nav:hover:not(:disabled) { color: #fff; transform: translateY(-1px); }
.diary-nav:disabled { opacity: 0.25; cursor: default; }

.diary-page-count {
    color: var(--color-text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

@keyframes diary-page-turn {
    from { opacity: 0; transform: perspective(900px) rotateY(2deg); }
    to { opacity: 1; transform: perspective(900px) rotateY(0); }
}

.diary-caption .diary-tags {
    margin-top: 1.4rem;
    color: #60758a;
    font-size: 0.76rem;
    line-height: 1.9;
}

.diary-sign {
    display: block;
    margin-top: 2rem;
    color: #7d8da0;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-align: right;
}

.diary-page-instagram .instagram-media {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
}

@media (max-width: 800px) {
    .diary-book {
        grid-template-columns: 1fr;
    }

    .diary-book::after {
        top: 50%;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 12px;
        background: linear-gradient(rgb(83 67 42 / 0.12), transparent 45%, rgb(83 67 42 / 0.1));
        transform: translateY(-50%);
    }

    .diary-page-copy {
        border-right: 0;
        border-bottom: 1px solid rgb(121 103 70 / 0.18);
    }

    .diary-nav span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
}

/* Soft cloud-shaped TOP topic */
.home-topic-sticky {
    isolation: isolate;
    width: min(320px, calc(100vw - 1.6rem));
    padding: 1.6rem 1.8rem 1.45rem;
    border-color: rgb(183 207 222 / 0.42);
    border-radius: 42px 54px 46px 58px;
    background: #f4f8f8;
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.18);
    transform: none;
}

.home-topic-sticky::before {
    top: -14px;
    left: 34px;
    z-index: 0;
    width: 88px;
    height: 42px;
    border-radius: 50%;
    background: #f4f8f8;
    transform: none;
}

.home-topic-sticky::after {
    content: '';
    position: absolute;
    right: 36px;
    bottom: -13px;
    z-index: 0;
    width: 34px;
    height: 28px;
    border-radius: 0 0 90% 0;
    background: #f4f8f8;
    transform: rotate(26deg);
}

.home-topic-sticky h2,
.home-topic-sticky p,
.home-topic-sticky a {
    position: relative;
    z-index: 1;
}

.home-topic-sticky .home-topic-close {
    z-index: 2;
}

.home-topic-sticky.is-dismissed {
    transform: translateY(12px) scale(0.97);
}

@media (max-width: 640px) {
    .home-topic-sticky {
        width: min(250px, calc(100vw - 1.4rem));
        padding: 1.35rem 1.4rem 1.2rem;
        border-radius: 34px 44px 38px 48px;
    }

    body:has(#home-topic) #back-to-top {
        right: auto;
        left: 12px;
    }
}

@media (max-width: 768px) {
    .howto-hatasuika-page .visual-story-copy {
        grid-row: 1;
    }

    .howto-hatasuika-page .visual-story-media {
        grid-row: 2;
    }
}

/* Disabled Farm Lab navigation preview */
.nav-item-lab {
    min-width: 116px;
}

.nav-link-lab {
    position: relative;
    width: 100%;
    min-height: 52px;
    overflow: hidden;
    border: 0;
    background: linear-gradient(rgb(22 25 24 / 0.08), rgb(22 25 24 / 0.28)), url('images/shinshuskyfarm-LAB.png') center / cover no-repeat;
    filter: grayscale(1);
    opacity: 0.58;
    color: #fff;
    cursor: not-allowed;
}

.nav-lab-stamp {
    position: relative;
    z-index: 2;
    padding: 0.14rem 0.42rem;
    border: 2px solid rgb(255 238 184 / 0.95);
    border-radius: 3px;
    color: #fff7d6;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    transform: rotate(8deg);
}

@media (max-width: 800px) {
    .notebook-section:has(.diary-book) {
        width: 100%;
        padding-inline: 0.65rem;
    }

    .diary-kicker {
        padding-inline: 0.25rem;
    }

    .diary-book {
        display: block;
        border-radius: 4px;
    }

    .diary-book::after {
        content: none;
    }

    .diary-page {
        --diary-rule: 1.9rem;
        padding: 2.4rem 1.15rem 2rem;
        background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--diary-rule) - 1px), rgb(159 194 221 / 0.14) calc(var(--diary-rule) - 1px) var(--diary-rule));
        background-position-y: 0.5rem;
    }

    .diary-page h2 {
        margin-bottom: 1.2rem;
        font-size: 1.28rem;
        line-height: var(--diary-rule);
    }

    .diary-caption p {
        margin-bottom: 0.95rem;
        font-size: 0.9rem;
        line-height: var(--diary-rule);
        letter-spacing: 0.01em;
    }

    .diary-caption .diary-tags {
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    .diary-page-instagram {
        padding: 1.5rem 0.65rem 1.75rem;
        background-image: none;
    }

    .diary-page-instagram .notebook-date {
        margin-left: 0.35rem;
    }

    .diary-page-instagram .instagram-media,
    .diary-page-instagram iframe {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .diary-pagination {
        gap: 0.5rem;
        padding-inline: 0.25rem;
    }

    .diary-nav {
        font-size: 0.74rem;
    }

    .diary-nav span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
    }

    .nav-item-lab {
        min-width: 0;
    }

    .nav-link-lab {
        min-height: 52px;
        border: 1px solid rgb(255 255 255 / 0.12);
        border-radius: 4px;
    }
}

@media (max-width: 768px) {
    .site-header,
    .site-header.scrolled {
        transition: transform 0.28s ease, background-color 0.25s ease, box-shadow 0.25s ease;
        will-change: transform;
    }

    .site-header.is-hidden-mobile,
    .site-header.scrolled.is-hidden-mobile {
        transform: translateY(calc(-100% - 2px));
    }
}

.tax-products {
    padding: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgb(212 175 55 / 0.28);
    border-bottom: 1px solid rgb(212 175 55 / 0.28);
}

.tax-overview {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1rem, 2vw, 2rem);
}

.tax-overview-heading {
    text-align: center;
}

.tax-overview-heading h2 {
    margin: 0.5rem 0 0;
    color: var(--color-gold-light);
    font-size: clamp(1.7rem, 3.5vw, 2.7rem);
    font-weight: 400;
}

.tax-overview-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(212 175 55 / 0.28);
}

.tax-overview-image img {
    display: block;
    width: 100%;
    max-height: 680px;
    height: auto;
    object-fit: contain;
}

.tax-size-help {
    margin: -1.8rem 0 1rem;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.8;
    text-align: center;
}

.tax-size-visual {
    position: relative;
    isolation: isolate;
    background: #050807;
}

.tax-size-base {
    transition: filter 0.42s ease, opacity 0.42s ease;
}

.tax-size-focus-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-height: none !important;
    height: 100% !important;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    filter: brightness(1.08) saturate(1.12) drop-shadow(0 0 18px rgb(249 226 155 / 0.32));
    transition: opacity 0.42s ease;
}

.tax-size-focus-layer.is-premium { clip-path: inset(0 74% 0 0); }
.tax-size-focus-layer.is-5l { clip-path: inset(0 48% 0 24%); }
.tax-size-focus-layer.is-4l { clip-path: inset(0 22% 0 49%); }
.tax-size-focus-layer.is-3l { clip-path: inset(0 0 0 74%); }

.tax-size-visual[data-active-size]:not([data-active-size=""]) .tax-size-base {
    filter: brightness(0.36) saturate(0.5);
}

.tax-size-visual[data-active-size="premium"] .tax-size-focus-layer.is-premium,
.tax-size-visual[data-active-size="5l"] .tax-size-focus-layer.is-5l,
.tax-size-visual[data-active-size="4l"] .tax-size-focus-layer.is-4l,
.tax-size-visual[data-active-size="3l"] .tax-size-focus-layer.is-3l {
    opacity: 1;
}

.tax-overview-copy {
    max-width: 820px;
    margin-inline: auto;
}

.tax-overview-copy p {
    color: var(--color-text-muted);
    line-height: 2.1;
}

.tax-recommend-list {
    display: grid;
    gap: 0.55rem;
    margin: 1.2rem 0 0;
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.tax-voices {
    padding: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid rgb(212 175 55 / 0.28);
    border-bottom: 1px solid rgb(212 175 55 / 0.28);
}

.tax-voice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.tax-voice-grid blockquote {
    margin: 0;
    padding: 1.5rem;
    border: 1px solid rgb(212 175 55 / 0.35);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.08), rgb(5 8 7 / 0.72));
    color: #fffaf0;
    line-height: 1.8;
}

.tax-voice-sky {
    position: relative;
    min-height: 620px;
    margin-top: 2.4rem;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.58);
    border-radius: clamp(18px, 4vw, 36px);
    background:
        radial-gradient(ellipse at 16% 18%, rgb(255 255 255 / 0.92) 0 6%, transparent 6.5%),
        radial-gradient(ellipse at 25% 20%, rgb(255 255 255 / 0.82) 0 8%, transparent 8.5%),
        radial-gradient(ellipse at 72% 28%, rgb(255 255 255 / 0.78) 0 7%, transparent 7.5%),
        radial-gradient(ellipse at 82% 26%, rgb(255 255 255 / 0.9) 0 9%, transparent 9.5%),
        linear-gradient(180deg, #4aaee3 0%, #8fd3f2 48%, #d9f3fb 100%);
    box-shadow: inset 0 -34px 80px rgb(255 255 255 / 0.18), 0 24px 64px rgb(0 0 0 / 0.34);
}

.tax-voice-sky::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 78%, rgb(255 255 255 / 0.28) 0 3px, transparent 4px),
        radial-gradient(circle at 88% 65%, rgb(255 255 255 / 0.34) 0 5px, transparent 6px),
        radial-gradient(circle at 46% 42%, rgb(255 255 255 / 0.25) 0 4px, transparent 5px);
    background-size: 150px 170px, 190px 210px, 230px 250px;
    pointer-events: none;
}

.tax-voice-sky blockquote {
    position: absolute;
    bottom: calc(var(--bubble-size) * -1.1);
    left: var(--bubble-left);
    z-index: 2;
    display: flex;
    width: var(--bubble-size);
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: clamp(1rem, 2.2vw, 1.55rem);
    border: 1px solid rgb(255 255 255 / 0.86);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 24%, rgb(255 255 255 / 0.92) 0 4%, transparent 5%),
        radial-gradient(circle at 38% 32%, rgb(255 255 255 / 0.5) 0 12%, transparent 30%),
        radial-gradient(circle at 62% 68%, rgb(109 202 255 / 0.2), rgb(255 255 255 / 0.36) 68%, rgb(255 255 255 / 0.18));
    box-shadow:
        inset -16px -18px 34px rgb(64 158 220 / 0.2),
        inset 12px 14px 28px rgb(255 255 255 / 0.48),
        0 15px 34px rgb(19 99 153 / 0.2);
    color: #123f5c;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(0.78rem, 1.25vw, 0.94rem);
    font-weight: 500;
    line-height: 1.85;
    text-align: center;
    text-shadow: 0 1px 0 rgb(255 255 255 / 0.75);
    white-space: pre-line;
    word-break: keep-all;
    overflow-wrap: normal;
    animation: taxVoiceBubbleFloat 16s linear infinite;
    animation-delay: var(--bubble-delay);
    will-change: transform, opacity;
}

.tax-voice-sky blockquote::before {
    content: '';
    position: absolute;
    top: 13%;
    left: 18%;
    width: 28%;
    height: 14%;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.62);
    filter: blur(2px);
    transform: rotate(-30deg);
}

.tax-voice-sky:hover blockquote {
    animation-play-state: paused;
}

@keyframes taxVoiceBubbleFloat {
    0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.82); }
    10% { opacity: 0.95; }
    45% { transform: translate3d(12px, -390px, 0) scale(1); }
    78% { opacity: 0.92; }
    100% { opacity: 0; transform: translate3d(-10px, -830px, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .tax-voice-sky {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        min-height: 0;
        padding: 1rem;
    }

    .tax-voice-sky blockquote {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        max-width: 230px;
        margin: auto;
        opacity: 1;
        animation: none;
        transform: none;
    }
}

.tax-voices-note {
    margin: 1.5rem 0 0;
    color: var(--color-text-muted);
    text-align: center;
}

.tax-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}

.tax-product-card {
    position: relative;
    display: grid;
    align-content: center;
    min-height: 190px;
    padding: 1.5rem 1rem;
    border: 1px solid rgb(212 175 55 / 0.42);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.1), rgb(5 8 7 / 0.72));
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
    appearance: none;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.tax-product-card:hover,
.tax-product-card:focus-visible,
.tax-product-card.is-size-active {
    z-index: 1;
    border-color: var(--color-gold-light);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.22), rgb(8 16 13 / 0.94));
    box-shadow: 0 14px 36px rgb(0 0 0 / 0.35), 0 0 22px rgb(212 175 55 / 0.18);
    transform: translateY(-5px);
}

.tax-product-card:focus-visible {
    outline: 2px solid var(--color-gold-light);
    outline-offset: 4px;
}

.tax-product-card h3 {
    margin: 0;
    color: var(--color-gold-light);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 500;
}

.tax-product-weight {
    margin: 0.8rem 0 0;
    color: #fffaf0;
    font-size: 1rem;
}

.tax-product-quantity {
    margin: 0.35rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.tax-product-card.is-premium {
    border-color: var(--color-gold);
    background: linear-gradient(145deg, rgb(249 226 155 / 0.2), rgb(8 16 13 / 0.9));
}

.tax-product-label {
    margin: 0 0 0.5rem;
    color: var(--color-gold);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

.tax-site-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.4rem;
}

.tax-sales-group {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    scroll-margin-top: 7rem;
}

.tax-sales-group + .tax-sales-group {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid rgb(212 175 55 / 0.24);
}

.tax-sales-kicker {
    margin: 0 0 0.45rem;
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-align: center;
}

.tax-sales-title {
    margin: 0;
    color: var(--color-gold-light);
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    font-weight: 400;
    text-align: center;
}

.tax-sales-description {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
    line-height: 2;
    text-align: center;
}

.tax-direct-buttons {
    max-width: 1065px;
    margin-inline: auto;
}

.tax-site-button {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
    min-height: 0;
    align-content: stretch;
    padding: 0;
    border: 1px solid var(--color-gold);
    background:
        linear-gradient(135deg, rgb(249 226 155 / 0.14), transparent 44%),
        #08100d;
    color: #fffaf0;
    text-align: left;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

.tax-site-button::after {
    content: '→';
    position: absolute;
    right: 1rem;
    bottom: 0.8rem;
    color: var(--color-gold-light);
}

.tax-site-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #020403;
}

.tax-preparing-badge {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    min-width: 7em;
    padding: 0.6rem 1.1rem;
    transform: translate(-50%, -50%) rotate(-7deg);
    border: 2px solid #fffaf0;
    background: rgb(5 8 7 / 0.9);
    box-shadow: 0 4px 18px #000b;
    color: #fffaf0;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-align: center;
}

.tax-site-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.tax-site-copy {
    display: grid;
    gap: 0.3rem;
    padding: 1rem 3rem 1.15rem 1.15rem;
}

.tax-site-copy strong {
    color: var(--color-gold-light);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

.tax-site-copy small {
    color: var(--color-text-muted);
    font-size: 0.76rem;
}

.tax-site-button:hover,
.tax-site-button:focus-visible {
    transform: translateY(-5px);
    border-color: var(--color-gold-light);
    background:
        linear-gradient(135deg, rgb(249 226 155 / 0.2), transparent 44%),
        #0d1814;
}

.tax-site-button:hover .tax-site-image img,
.tax-site-button:focus-visible .tax-site-image img {
    transform: none;
    filter: saturate(1.06) brightness(1.03);
}

.tax-site-button.is-preparing {
    cursor: default;
}

.tax-site-button.is-preparing:hover {
    transform: none;
    border-color: var(--color-gold);
}

.tax-site-button.is-preparing:hover .tax-site-image img {
    transform: none;
    filter: none;
}

.tax-site-button.is-preparing::after {
    content: none;
}

.tax-site-button.is-preparing .tax-site-image img {
    opacity: 0.58;
}

.visual-mini-grid {
    display: grid;
    gap: 1.2rem;
}

.visual-mini-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.2rem;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
}

.visual-mini-card img {
    aspect-ratio: auto;
    background: #0a0f0d;
}

.visual-mini-card h3 {
    margin-bottom: 0.7rem;
    color: var(--color-gold-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.visual-mini-card p {
    color: var(--color-text-muted);
    line-height: 2;
}

@media (max-width: 768px) {
    .visual-story,
    .visual-story.is-reverse,
    .tax-hero {
        grid-template-columns: 1fr;
        gap: 1.7rem;
    }

    .visual-story-media,
    .tax-hero-image {
        grid-row: 1;
        aspect-ratio: auto;
    }

    .visual-story-copy,
    .tax-hero-copy {
        grid-row: 2;
    }

    .visual-story-copy p:not(.visual-story-number),
    .tax-hero-copy p,
    .visual-mini-card p {
        font-size: 0.94rem;
        line-height: 2;
    }

    .tax-site-buttons {
        grid-template-columns: 1fr;
    }

    .tax-product-grid {
        grid-template-columns: 1fr;
    }

    .tax-voice-grid {
        grid-template-columns: 1fr;
    }

    .tax-voice-sky {
        min-height: 560px;
    }

    .tax-voice-sky blockquote {
        bottom: -190px;
        left: var(--bubble-mobile-left);
        width: min(var(--bubble-size), 58vw);
        padding: 1rem;
        font-size: 0.75rem;
    }

    .tax-product-card {
        min-height: 150px;
    }

    .tax-site-button {
        min-height: 0;
        text-align: left;
        padding-right: 0;
    }

    .visual-mini-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* 2026-07-11 notebook diary and Formrun contact */
.notebook-section {
    max-width: 860px;
    margin-inline: auto;
}

.notebook-page {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4rem) clamp(2.4rem, 7vw, 5.4rem);
    color: #1f3146;
    background:
        linear-gradient(90deg, transparent 0 3.4rem, #f2a3a3 3.4rem 3.48rem, transparent 3.48rem),
        repeating-linear-gradient(#fffdf5 0 2.45rem, #b9d7f2 2.52rem 2.58rem);
    border: 1px solid #d8cfb8;
    box-shadow: 0 24px 70px rgb(0 0 0 / 0.38);
}

.notebook-page::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 0.4rem;
    background:
        radial-gradient(circle, #c9c1ac 0 0.14rem, transparent 0.16rem) center top / 0.4rem 2.45rem repeat-y;
}

.notebook-date {
    margin: 0 0 1.6rem;
    color: #7d8da0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.notebook-page h2 {
    margin: 0 0 1.4rem;
    color: #223a54;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
}

.notebook-page p {
    margin-bottom: 1.1rem;
    color: #263b52;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 2.05;
    letter-spacing: 0.03em;
}

.formrun-container {
    max-width: 920px;
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 2rem);
}

.formrun-frame {
    display: block;
    width: 100%;
    min-height: 920px;
    border: 0;
    border-radius: 4px;
    background: #fff;
}

.formrun-direct-note {
    margin: 1.4rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.formrun-direct-note a {
    color: var(--color-gold-light);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.formrun-direct-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 1rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold-light);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.formrun-direct-button:hover,
.formrun-direct-button:focus-visible {
    background: var(--color-gold-light);
    color: #050807;
    transform: translateY(-2px);
}

.direct-email-contact {
    margin-top: 2.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
}

.direct-email-contact h2 {
    margin-bottom: 0.9rem;
    color: var(--color-gold-light);
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 500;
}

.direct-email-contact > p:not(.direct-email-address):not(.email-note) {
    color: var(--color-text-muted);
    line-height: 1.9;
}

.direct-email-address {
    margin-top: 1rem;
    color: var(--color-gold-light);
    font-size: clamp(1rem, 3vw, 1.3rem);
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .notebook-page {
        padding-left: 2.4rem;
        background:
            linear-gradient(90deg, transparent 0 2.05rem, #f2a3a3 2.05rem 2.12rem, transparent 2.12rem),
            repeating-linear-gradient(#fffdf5 0 2.3rem, #b9d7f2 2.37rem 2.43rem);
    }

    .notebook-page::before {
        left: 0.7rem;
    }

    .formrun-frame {
        min-height: 980px;
    }
}

/* Mobile navigation at the top of every page */
@media (max-width: 768px) {
    :root {
        --nav-height: 156px;
    }

    .site-header,
    .site-header.scrolled {
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        height: var(--nav-height);
        padding: 0;
        border-top: 0;
        border-bottom: 1px solid #665322;
        background: #050807f5;
        box-shadow: 0 10px 30px #000b;
    }

    .nav-container {
        justify-content: center;
        height: 100%;
    }

    .menu-toggle,
    .mobile-top-button,
    .desktop-nav-list {
        display: none !important;
    }

    .mobile-nav-list {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        height: 100%;
        max-height: none;
        padding: 0;
        overflow: visible;
        background: transparent;
        border-bottom: 0;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .site-header.menu-open .mobile-nav-list {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .mobile-nav-list .nav-item-top {
        display: block;
    }

    .mobile-nav-list li {
        min-width: 0;
        border-right: 1px solid #d4af3724;
        border-bottom: 1px solid #d4af3724;
    }

    .mobile-nav-list li:nth-last-child(-n + 3) {
        border-bottom: 0;
    }

    .mobile-nav-list .nav-link {
        display: flex;
        height: 100%;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        padding: 0.42rem 0.2rem;
        border-left: 0;
        color: var(--color-text-muted);
        font-size: clamp(0.58rem, 2.6vw, 0.72rem);
        line-height: 1.35;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mobile-nav-list .nav-link.active {
        color: var(--color-gold);
        background: #d4af3714;
    }

    .mobile-nav-list .nav-link-arrow {
        display: none;
    }

    .site-wrapper {
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 2rem;
    }

    .home-wrapper {
        padding-top: var(--nav-height) !important;
        padding-bottom: 2rem;
    }

    .home-hero {
        min-height: calc(100svh - var(--nav-height));
    }

    .hero-scroll {
        bottom: 1rem;
    }

    #back-to-top {
        bottom: calc(var(--nav-height) + 16px);
    }
}

/* 2026-07-12 align story images with copy starts */
@media (min-width: 769px) {
    .home-story,
    .visual-story,
    .tax-hero {
        align-items: start;
    }

    .home-story-copy,
    .visual-story-copy,
    .tax-hero-copy {
        align-self: start;
    }

    .home-story-media,
    .visual-story-media,
    .tax-hero-image {
        align-self: start;
    }
}

/* 2026-07-20 home conversion and trust updates */
.home-hero {
    min-height: calc(92svh - var(--nav-height));
}

.hero-conversion-panel {
    position: absolute;
    right: clamp(1.4rem, 5.4vw, 5.4rem);
    bottom: clamp(4.8rem, 8vh, 6.2rem);
    display: grid;
    gap: 0.9rem;
    width: min(440px, calc(100% - 2.8rem));
    padding: 1.1rem 1.15rem;
    border: 1px solid rgb(249 226 155 / 0.36);
    background: rgb(5 8 7 / 0.58);
    box-shadow: 0 18px 42px rgb(0 0 0 / 0.28);
    backdrop-filter: blur(5px);
}

.home-hero .home-hero-subtitle {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 720px;
    margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.7vw, 2.4rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
    text-shadow: 0 2px 18px rgb(0 24 53 / 0.32);
}

.hero-season-status {
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--color-gold-light);
    color: #fffaf0;
    padding-left: 0.85rem;
}

.hero-season-status strong {
    color: var(--color-gold-light);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-season-status span,
.hero-season-status small {
    color: #f2eee4;
    font-size: 0.88rem;
    line-height: 1.6;
}

.hero-season-status small {
    color: var(--color-text-muted);
}

.hero-actions,
.home-action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-button,
.home-action-card {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.25rem;
    border: 1px solid var(--color-gold);
    background: rgb(5 8 7 / 0.78);
    color: var(--color-gold-light);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.hero-button.is-primary {
    background: var(--color-gold-light);
    color: #050807;
}

.hero-button:hover,
.hero-button:focus-visible,
.home-action-card:hover,
.home-action-card:focus-visible {
    border-color: var(--color-gold-light);
    background: #fff6cf;
    color: #050807;
    transform: translateY(-2px);
}

.home-status-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.home-status-list li {
    display: grid;
    grid-template-columns: minmax(8.5rem, 0.34fr) minmax(0, 1fr);
    gap: 1rem;
    padding: 0.95rem 0;
    border-top: 1px solid rgb(212 175 55 / 0.26);
}

.home-status-list strong {
    color: var(--color-gold-light);
    font-weight: 500;
}

.home-status-list span {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.home-topic-section {
    width: min(calc(100% - 3rem), 960px);
    margin: 0 auto 6rem;
}

.home-topic-section .section-kicker {
    margin-bottom: 1.2rem;
    text-align: left;
}

.home-topic-letter {
    position: relative;
    padding: clamp(2.4rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.4rem, 5vw, 4rem) clamp(2.4rem, 6vw, 5rem);
    border: 1px solid #d8cfb8;
    background:
        linear-gradient(90deg, transparent 0 3.3rem, #f2a3a3 3.3rem 3.38rem, transparent 3.38rem),
        repeating-linear-gradient(#fffdf5 0 2.45rem, #b9d7f2 2.52rem 2.58rem);
    box-shadow: 0 24px 70px rgb(0 0 0 / 0.38);
    color: #263b52;
}

.home-topic-letter::before {
    content: '';
    position: absolute;
    left: 1.15rem;
    top: 1.2rem;
    bottom: 1.2rem;
    width: 0.4rem;
    background:
        radial-gradient(circle, #c9c1ac 0 0.14rem, transparent 0.16rem) center top / 0.4rem 2.45rem repeat-y;
}

.home-topic-date {
    margin: 0 0 1.3rem;
    color: #7d8da0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.home-topic-letter h2 {
    margin: 0 0 1.3rem;
    color: #223a54;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
}

.home-topic-letter p:not(.home-topic-date) {
    margin-bottom: 1.1rem;
    color: #263b52;
    font-size: clamp(1rem, 2.1vw, 1.12rem);
    line-height: 2.05;
    letter-spacing: 0.03em;
}

.home-topic-letter .home-status-list {
    gap: 0.35rem;
    margin-top: 1.3rem;
}

.home-topic-letter .home-status-list li {
    border-top-color: #b9d7f2;
}

.home-topic-letter .home-status-list strong {
    color: #1f4e75;
}

.home-topic-letter .home-status-list span {
    color: #263b52;
}

.home-topic-letter .home-story-link {
    color: #1f4e75;
    border-bottom-color: #1f4e75;
}

.home-topic-letter .home-story-link:hover,
.home-topic-letter .home-story-link:focus-visible {
    color: #050807;
}

.home-action-grid {
    margin-top: 1.5rem;
}

.home-action-card {
    display: grid;
    min-width: min(100%, 220px);
    justify-items: center;
    gap: 0.2rem;
}

.home-action-card strong {
    font-weight: 600;
}

.home-action-card small {
    color: inherit;
    opacity: 0.82;
}

@media (max-width: 768px) {
    .home-hero {
        min-height: calc(94svh - var(--nav-height));
        padding-bottom: 8.5rem;
    }

    .home-hero .home-hero-subtitle {
        max-width: none;
        margin: 1rem 0 0 clamp(3.8rem, 18vw, 5rem);
        font-size: clamp(1rem, 4.5vw, 1.35rem);
        line-height: 1.55;
    }

    .hero-conversion-panel {
        left: 1rem;
        right: 1rem;
        bottom: 3.3rem;
        gap: 0.75rem;
        width: auto;
        padding: 0.85rem;
    }

    .hero-season-status {
        padding: 0.75rem 0.85rem;
    }

    .hero-season-status strong,
    .hero-season-status span,
    .hero-season-status small {
        font-size: 0.78rem;
    }

    .hero-actions,
    .home-action-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-button,
    .home-action-card {
        width: 100%;
        min-height: 46px;
        padding: 0.7rem 0.9rem;
        font-size: 0.88rem;
    }

    .home-status-list li {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .home-topic-section {
        width: min(calc(100% - 1.5rem), 960px);
        margin-bottom: 4.5rem;
    }

    .home-topic-letter {
        padding-left: 2.4rem;
        background:
            linear-gradient(90deg, transparent 0 2.05rem, #f2a3a3 2.05rem 2.12rem, transparent 2.12rem),
            repeating-linear-gradient(#fffdf5 0 2.3rem, #b9d7f2 2.37rem 2.43rem);
    }

    .home-topic-letter::before {
        left: 0.7rem;
    }
}
