/* ==========================================================================
   Bridge Flow - Motion and typography system v3
   Editorial typography, page-specific scenes, and lightweight interaction.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Brand system
   -------------------------------------------------------------------------- */
:root {
    --bf3-ink: #06101f;
    --bf3-ink-2: #0a1a31;
    --bf3-ink-3: #10294a;
    --bf3-paper: #f3f6f8;
    --bf3-paper-2: #e9eff4;
    --bf3-white: #fff;
    --bf3-aqua: #79e6df;
    --bf3-aqua-soft: #b9f5ef;
    --bf3-blue: #4c7fff;
    --bf3-gold: #e9b85d;
    --bf3-coral: #ff876d;
    --bf3-line-dark: rgba(7, 25, 49, 0.12);
    --bf3-line-light: rgba(255, 255, 255, 0.14);
    --bf3-display: "Sora", "Zen Kaku Gothic New", sans-serif;
    --bf3-jp: "Zen Kaku Gothic New", sans-serif;
    --bf3-serif: "Bodoni Moda", "Playfair Display", serif;
    --bf3-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --bf3-ease-snap: cubic-bezier(0.76, 0, 0.24, 1);
    --bf3-accent: var(--bf3-aqua);
    --bf3-accent-2: var(--bf3-blue);
    --font-en: var(--bf3-display);
    --font-serif: var(--bf3-serif);
    --font-jp: var(--bf3-jp);
}

body.bfv3.page-about {
    --bf3-accent: #75e5dd;
    --bf3-accent-2: #6686ff;
}

body.bfv3.page-services {
    --bf3-accent: #72dbeb;
    --bf3-accent-2: #537dff;
}

body.bfv3.page-subsidy {
    --bf3-accent: #f1bd61;
    --bf3-accent-2: #6b91ff;
}

body.bfv3.page-oa {
    --bf3-accent: #65b6ff;
    --bf3-accent-2: #ff8a67;
}

body.bfv3.page-software {
    --bf3-accent: #6df1c4;
    --bf3-accent-2: #6d8fff;
}

body.bfv3.page-news {
    --bf3-accent: #ffb267;
    --bf3-accent-2: #6bdce5;
}

body.bfv3.page-contact {
    --bf3-accent: #7be4d5;
    --bf3-accent-2: #e9b85d;
}

html.bfv3-enabled {
    scroll-behavior: smooth;
    scrollbar-color: var(--bf3-accent) var(--bf3-ink);
    scrollbar-width: thin;
}

html.bfv3-enabled::-webkit-scrollbar {
    width: 8px;
}

html.bfv3-enabled::-webkit-scrollbar-track {
    background: var(--bf3-ink);
}

html.bfv3-enabled::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--bf3-accent-2), var(--bf3-accent));
}

body.bfv3 {
    font-family: var(--bf3-jp);
    color: var(--bf3-ink);
    overflow-x: clip;
    background: var(--bf3-paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.bfv3 ::selection {
    color: var(--bf3-ink);
    background: var(--bf3-accent);
}

body.bfv3 h1,
body.bfv3 h2,
body.bfv3 h3,
body.bfv3 h4,
body.bfv3 .site-logo-text .main {
    font-family: var(--bf3-jp);
    font-feature-settings: "palt" 1;
}

body.bfv3 main.page-fade,
body.bfv3 .site-footer,
body.bfv3 .bfv3-next {
    position: relative;
    z-index: 2;
}

body.bfv3:not(.page-home) main.page-fade {
    padding-top: 0 !important;
}

body.bfv3 a,
body.bfv3 button,
body.bfv3 input,
body.bfv3 textarea,
body.bfv3 select {
    -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------------------------
   02. Ambient field
   -------------------------------------------------------------------------- */
.bfv3-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: var(--bf3-paper);
}

.page-home .bfv3-ambient {
    background: var(--bf3-ink);
}

.bfv3-ambient-grid {
    position: absolute;
    inset: -20%;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(8, 28, 53, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 28, 53, 0.05) 1px, transparent 1px);
    background-size: 72px 72px;
    transform: translate3d(
        0,
        calc(var(--bf-scroll-ratio, 0) * -90px),
        0
    );
}

.page-home .bfv3-ambient-grid {
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.bfv3-ambient-glow {
    position: absolute;
    width: min(60vw, 860px);
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    will-change: transform;
}

.bfv3-ambient-glow.glow-a {
    top: -25%;
    left: -12%;
    background: var(--bf3-accent);
    transform: translate3d(
        calc((var(--bf-pointer-x, 50vw) - 50vw) * 0.018),
        calc(var(--bf-scroll-ratio, 0) * 110px),
        0
    );
}

.bfv3-ambient-glow.glow-b {
    right: -18%;
    bottom: -28%;
    background: var(--bf3-accent-2);
    transform: translate3d(
        calc((var(--bf-pointer-x, 50vw) - 50vw) * -0.012),
        calc(var(--bf-scroll-ratio, 0) * -80px),
        0
    );
}

.bfv3-ambient-noise {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

/* --------------------------------------------------------------------------
   03. Loader
   -------------------------------------------------------------------------- */
.site-loader.bfv3-loader {
    position: fixed;
    inset: 0;
    z-index: 9800;
    display: grid;
    place-items: center;
    color: var(--bf3-white);
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.42s var(--bf3-ease),
        visibility 0.42s var(--bf3-ease);
    background:
        radial-gradient(circle at 70% 35%, color-mix(in srgb, var(--bf3-accent-2) 24%, transparent), transparent 34%),
        linear-gradient(145deg, #030a14, #091a32 58%, #06101f);
}

.site-loader.bfv3-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader.bfv3-loader::before {
    content: "";
    position: absolute;
    inset: -25%;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    animation: bf3LoaderGrid 5s linear infinite;
    -webkit-mask-image: radial-gradient(circle at center, #000, transparent 70%);
    mask-image: radial-gradient(circle at center, #000, transparent 70%);
}

.site-loader.bfv3-loader::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: 50%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--bf3-accent),
        rgba(255, 255, 255, 0.9),
        var(--bf3-accent-2),
        transparent
    );
    box-shadow: 0 0 34px var(--bf3-accent);
    animation: bf3LoaderScan 1.5s var(--bf3-ease-snap) infinite;
}

.site-loader.bfv3-loader .site-loader-inner {
    position: relative;
    z-index: 2;
    width: min(78vw, 520px);
    text-align: left;
}

.site-loader.bfv3-loader .site-loader-mark {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 24px 0 16px;
    font-family: var(--bf3-display);
    font-size: clamp(32px, 7vw, 76px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.06em;
}

.site-loader.bfv3-loader .site-loader-mark .sep {
    flex: 0 0 20%;
    height: 1px;
    margin: 0 20px;
    border-radius: 0;
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
    box-shadow: 0 0 16px var(--bf3-accent);
    animation: bf3LoaderPulse 1s ease-in-out infinite alternate;
}

.site-loader.bfv3-loader .site-loader-caption {
    font-family: var(--bf3-display);
    font-size: 10px;
    letter-spacing: 0.36em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.site-loader.bfv3-loader .site-loader-bar {
    width: 100%;
    height: 1px;
    margin-top: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.site-loader.bfv3-loader .site-loader-bar::after {
    width: 55%;
    background: linear-gradient(90deg, transparent, var(--bf3-accent), transparent);
    animation: bf3LoaderBar 1s linear infinite;
}

.bfv3-loader-meta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    font-family: var(--bf3-display);
    font-size: 9px;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.58);
}

.bfv3-loader-index {
    color: var(--bf3-accent);
}

.bfv3-loader-page {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bfv3-loader-page::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.bfv3-loader-status {
    animation: bf3StatusBlink 0.9s steps(1) infinite;
}

.bfv3-loader-rails {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.24fr;
    gap: 6px;
    margin-top: 14px;
}

.bfv3-loader-rails i {
    height: 3px;
    background: color-mix(in srgb, var(--bf3-accent) 60%, transparent);
    transform-origin: left;
    animation: bf3RailGrow 0.8s var(--bf3-ease) both;
}

.bfv3-loader-rails i:nth-child(2) {
    animation-delay: 0.12s;
    background: color-mix(in srgb, var(--bf3-accent-2) 66%, transparent);
}

.bfv3-loader-rails i:nth-child(3) {
    animation-delay: 0.24s;
    background: rgba(255, 255, 255, 0.35);
}

@keyframes bf3LoaderGrid {
    to { transform: translate3d(58px, 58px, 0); }
}

@keyframes bf3LoaderScan {
    0% { transform: translateY(-180px); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(180px); opacity: 0; }
}

@keyframes bf3LoaderPulse {
    to { opacity: 0.4; transform: scaleX(0.7); }
}

@keyframes bf3LoaderBar {
    from { transform: translateX(-110%); }
    to { transform: translateX(210%); }
}

@keyframes bf3StatusBlink {
    50% { opacity: 0.35; }
}

@keyframes bf3RailGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   04. Header and global typography
   -------------------------------------------------------------------------- */
body.bfv3 .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

body.bfv3 .site-logo-text .main {
    font-family: var(--bf3-display);
    font-weight: 500;
    letter-spacing: -0.025em;
}

body.bfv3 .site-logo-text .sub {
    font-family: var(--bf3-display);
    letter-spacing: 0.22em;
}

body.bfv3 .main-nav .nav-list li a {
    font-family: var(--bf3-display);
    font-weight: 500;
}

body.bfv3 .main-nav .nav-list li a .en {
    font-family: var(--bf3-serif);
    font-style: italic;
    text-transform: none;
}

body.bfv3 .section-label {
    font-family: var(--bf3-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: color-mix(in srgb, var(--bf3-accent-2) 76%, var(--bf3-ink));
}

body.bfv3 .section-label::before,
body.bfv3 .text-center .section-label::before,
body.bfv3 .text-center .section-label::after {
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
}

body.bfv3 .section-title,
body.bfv3 .bfv3-heading {
    font-family: var(--bf3-jp);
    font-size: clamp(34px, 5.2vw, 72px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

body.bfv3 .section-title .en,
body.bfv3 .bfv3-heading .en {
    margin-top: 15px;
    font-family: var(--bf3-serif);
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    color: color-mix(in srgb, var(--bf3-accent-2) 72%, var(--bf3-ink));
}

body.bfv3 .section-lead {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 2.05;
    letter-spacing: 0.035em;
    text-wrap: pretty;
}

body.bfv3 .btn,
body.bfv3 .bfv2-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0;
    font-family: var(--bf3-display);
    letter-spacing: 0.1em;
}

body.bfv3 .btn::after,
body.bfv3 .bfv2-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, 0.35) 48%,
        transparent 76%
    );
    transform: translateX(-130%);
    transition: transform 0.8s var(--bf3-ease);
}

body.bfv3 .btn:hover::after,
body.bfv3 .bfv2-btn:hover::after {
    transform: translateX(130%);
}

.bfv3-magnetic {
    will-change: translate;
    transition:
        translate 0.35s var(--bf3-ease),
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

/* --------------------------------------------------------------------------
   05. Cinematic subpage heroes
   -------------------------------------------------------------------------- */
body.bfv3:not(.page-home) .page-hero.bfv3-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(880px, 86svh);
    height: auto;
    padding: clamp(170px, 20vh, 230px) 0 105px;
    color: var(--bf3-white);
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 28%, color-mix(in srgb, var(--bf3-accent-2) 30%, transparent), transparent 28%),
        radial-gradient(circle at 15% 78%, color-mix(in srgb, var(--bf3-accent) 18%, transparent), transparent 32%),
        linear-gradient(140deg, #030b17 0%, #07172b 48%, #0d2745 100%);
}

body.bfv3:not(.page-home) .page-hero.bfv3-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.72;
    background:
        linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.08) 50%, transparent 50.1%),
        linear-gradient(0deg, transparent 49.9%, rgba(255, 255, 255, 0.07) 50%, transparent 50.1%);
    background-size: 120px 120px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
    mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
    transform: translate3d(
        0,
        calc(var(--bf-hero-progress, 0) * 52px),
        0
    );
}

body.bfv3:not(.page-home) .page-hero.bfv3-page-hero::after {
    content: attr(data-outline);
    position: absolute;
    z-index: 1;
    right: -0.055em;
    bottom: -0.16em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
    font-family: var(--bf3-display);
    font-size: clamp(110px, 19vw, 300px);
    font-weight: 700;
    line-height: 0.78;
    letter-spacing: -0.085em;
    white-space: nowrap;
    transform: translate3d(
        calc(var(--bf-hero-progress, 0) * -70px),
        calc(var(--bf-hero-progress, 0) * 44px),
        0
    );
}

body.bfv3:not(.page-home) .page-hero-content {
    position: relative;
    z-index: 5;
    width: min(100% - 80px, 1320px);
    max-width: none;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

body.bfv3:not(.page-home) .page-hero-en {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 22px;
    font-family: var(--bf3-serif);
    font-size: clamp(14px, 1.45vw, 20px);
    font-style: italic;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--bf3-accent);
    opacity: 0;
    transform: translateY(18px);
}

body.bfv3:not(.page-home) .page-hero-en::before {
    content: attr(data-number);
    width: 58px;
    height: 1px;
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
    box-shadow: 0 0 14px color-mix(in srgb, var(--bf3-accent) 55%, transparent);
}

body.bfv3:not(.page-home) .page-hero h1 {
    max-width: 1100px;
    margin: 0;
    font-family: var(--bf3-jp);
    font-size: clamp(58px, 9.3vw, 142px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.075em;
    color: var(--bf3-white);
    text-wrap: balance;
}

.bfv3-char {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 1.08em, 0) rotate(4deg);
    transform-origin: 0 100%;
    filter: blur(8px);
}

.bfv3-char.is-space {
    width: 0.3em;
}

.bfv3-ready:not(.bfv3-leaving) .bfv3-page-hero .page-hero-en {
    animation: bf3HeroLabel 0.8s 0.54s var(--bf3-ease) forwards;
}

.bfv3-ready:not(.bfv3-leaving) .bfv3-page-hero .bfv3-char {
    animation: bf3HeroCharacter 0.92s var(--bf3-ease) forwards;
    animation-delay: calc(0.66s + var(--char-index) * 48ms);
}

body.bfv3:not(.page-home) .page-hero-desc {
    max-width: 710px;
    margin: 34px 0 0;
    padding-left: 22px;
    border-left: 1px solid color-mix(in srgb, var(--bf3-accent) 70%, transparent);
    font-size: clamp(14px, 1.35vw, 17px);
    line-height: 2;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    opacity: 0;
    transform: translateY(24px);
}

.bfv3-ready:not(.bfv3-leaving) .bfv3-page-hero .page-hero-desc {
    animation: bf3HeroCopy 0.9s 1.02s var(--bf3-ease) forwards;
}

.bfv3-hero-meta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    width: min(100%, 850px);
    margin-top: 54px;
    font-family: var(--bf3-display);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.45);
    opacity: 0;
    transform: translateY(16px);
}

.bfv3-hero-meta span:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bfv3-hero-meta span:nth-child(2)::before,
.bfv3-hero-meta span:nth-child(2)::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.13);
}

.bfv3-ready:not(.bfv3-leaving) .bfv3-hero-meta {
    animation: bf3HeroCopy 0.9s 1.2s var(--bf3-ease) forwards;
}

.bfv3-page-scene,
.bfv3-page-scene > * {
    position: absolute;
    pointer-events: none;
}

.bfv3-page-scene {
    inset: 0;
    z-index: 2;
    overflow: hidden;
}

.bfv3-scene-grid {
    inset: -15%;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 54px 54px;
    transform: perspective(900px) rotateX(66deg) translate3d(
        calc(var(--bf-hero-progress, 0) * -18px),
        calc(18% + var(--bf-hero-progress, 0) * 80px),
        -80px
    );
    transform-origin: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, transparent 90%);
    mask-image: linear-gradient(180deg, transparent, #000 45%, transparent 90%);
}

.bfv3-scene-beam {
    top: -25%;
    right: 11%;
    width: 1px;
    height: 150%;
    opacity: 0.7;
    background: linear-gradient(
        transparent,
        var(--bf3-accent),
        rgba(255, 255, 255, 0.9),
        transparent
    );
    box-shadow: 0 0 35px var(--bf3-accent);
    transform: rotate(28deg) translateY(-18%);
    animation: bf3HeroBeam 5.2s ease-in-out infinite;
}

.bfv3-scene-orbit {
    right: 7%;
    top: 18%;
    width: min(35vw, 520px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate3d(
        calc(var(--bf-hero-progress, 0) * 28px),
        calc(var(--bf-hero-progress, 0) * -32px),
        0
    );
}

.bfv3-scene-orbit::before,
.bfv3-scene-orbit::after {
    content: "";
    position: absolute;
    inset: 14%;
    border: 1px dashed color-mix(in srgb, var(--bf3-accent) 45%, transparent);
    border-radius: inherit;
}

.bfv3-scene-orbit::after {
    inset: 34%;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.15);
}

.bfv3-scene-orbit i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px;
    border-radius: 50%;
    background: var(--bf3-accent);
    box-shadow: 0 0 22px var(--bf3-accent);
    animation: bf3Orbit 9s linear infinite;
}

.bfv3-scene-orbit i:nth-child(2) {
    width: 4px;
    height: 4px;
    animation-duration: 13s;
    animation-direction: reverse;
    animation-delay: -5s;
    background: var(--bf3-accent-2);
}

.bfv3-scene-orbit i:nth-child(3) {
    width: 3px;
    height: 3px;
    animation-duration: 17s;
    animation-delay: -8s;
    opacity: 0.6;
}

.bfv3-scene-orbit.orbit-b {
    top: auto;
    right: 24%;
    bottom: -32%;
    width: min(48vw, 680px);
    opacity: 0.38;
    animation: bf3OrbitBreath 5s ease-in-out infinite alternate;
}

.bfv3-scene-bridge {
    left: -4%;
    bottom: -5%;
    width: 108%;
    height: 64%;
    opacity: 0.56;
    overflow: visible;
    transform: translate3d(
        0,
        calc(var(--bf-hero-progress, 0) * 58px),
        0
    );
}

.bfv3-scene-bridge path,
.bfv3-scene-bridge line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}

.bfv3-scene-bridge .bridge-main {
    stroke: color-mix(in srgb, var(--bf3-accent) 65%, white);
    stroke-width: 1.6;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    animation: bf3DrawBridge 2.1s 0.38s var(--bf3-ease) forwards;
}

.bfv3-scene-bridge .bridge-echo {
    stroke-dasharray: 8 10;
    animation: bf3BridgeDash 16s linear infinite;
}

.bfv3-scene-bridge .flow-line {
    stroke: var(--bf3-accent-2);
    stroke-dasharray: 4 10;
    animation: bf3BridgeDash 8s linear infinite reverse;
}

.bfv3-scene-bridge circle {
    fill: var(--bf3-accent);
    filter: drop-shadow(0 0 8px var(--bf3-accent));
    animation: bf3NodePulse 2.2s ease-in-out infinite;
}

.bfv3-scene-signal {
    width: 9px;
    height: 9px;
    border: 1px solid var(--bf3-accent);
    border-radius: 50%;
}

.bfv3-scene-signal::before,
.bfv3-scene-signal::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid color-mix(in srgb, var(--bf3-accent) 55%, transparent);
    border-radius: inherit;
    animation: bf3Signal 2.4s ease-out infinite;
}

.bfv3-scene-signal::after {
    animation-delay: 0.8s;
}

.bfv3-scene-signal.signal-a {
    top: 24%;
    left: 8%;
}

.bfv3-scene-signal.signal-b {
    right: 16%;
    bottom: 22%;
}

.page-hero-decor,
.page-hero-particles {
    z-index: 3;
    opacity: 0.34;
    transform: translate3d(
        0,
        calc(var(--bf-hero-progress, 0) * 34px),
        0
    );
}

@keyframes bf3HeroLabel {
    to { opacity: 1; transform: none; }
}

@keyframes bf3HeroCharacter {
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes bf3HeroCopy {
    to { opacity: 1; transform: none; }
}

@keyframes bf3HeroBeam {
    0%, 100% { opacity: 0.15; transform: rotate(28deg) translateY(-24%); }
    50% { opacity: 0.85; transform: rotate(28deg) translateY(18%); }
}

@keyframes bf3Orbit {
    from { transform: rotate(0deg) translateX(clamp(110px, 16vw, 245px)) rotate(0deg); }
    to { transform: rotate(360deg) translateX(clamp(110px, 16vw, 245px)) rotate(-360deg); }
}

@keyframes bf3OrbitBreath {
    to { transform: scale(1.07); opacity: 0.55; }
}

@keyframes bf3DrawBridge {
    to { stroke-dashoffset: 0; }
}

@keyframes bf3BridgeDash {
    to { stroke-dashoffset: -360; }
}

@keyframes bf3NodePulse {
    50% { opacity: 0.35; transform: scale(1.7); }
}

@keyframes bf3Signal {
    to { inset: -34px; opacity: 0; }
}

/* Home refinements */
.bfv3-home-hero::after {
    content: attr(data-outline);
    position: absolute;
    left: -0.04em;
    bottom: -0.09em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);
    font-family: var(--bf3-display);
    font-size: clamp(120px, 20vw, 310px);
    font-weight: 700;
    line-height: 0.78;
    letter-spacing: -0.09em;
    white-space: nowrap;
    pointer-events: none;
    transform: translate3d(
        calc(var(--bf-hero-progress, 0) * -80px),
        calc(var(--bf-hero-progress, 0) * 36px),
        0
    );
}

.page-home .bfv2-hero-kicker,
.page-home .bfv2-hero-side,
.page-home .bfv2-hero-scroll {
    font-family: var(--bf3-display);
}

.page-home .bfv2-hero-title .line {
    font-family: var(--bf3-jp);
    font-weight: 700;
    letter-spacing: -0.065em;
}

.page-home .bfv2-hero-title .line.l3 {
    color: var(--bf3-aqua-soft);
}

/* Breadcrumb */
body.bfv3 .breadcrumb {
    position: relative;
    z-index: 4;
    border-bottom: 1px solid var(--bf3-line-dark);
    background: rgba(243, 246, 248, 0.88);
    backdrop-filter: blur(12px);
}

body.bfv3 .breadcrumb ul {
    font-family: var(--bf3-display);
    font-size: 10px;
    letter-spacing: 0.15em;
}

/* --------------------------------------------------------------------------
   06. Section storytelling
   -------------------------------------------------------------------------- */
.bfv3-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.bfv3-section > :not(.bfv3-section-chrome) {
    position: relative;
    z-index: 2;
}

.bfv3-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -30%;
    right: -18%;
    width: min(62vw, 900px);
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--bf3-accent) 15%, transparent),
        transparent 68%
    );
    transform: translate3d(
        0,
        calc((var(--bf-section-progress, 0) - 0.5) * 120px),
        0
    ) scale(0.84);
    transition: opacity 1.2s ease, transform 1.4s var(--bf3-ease);
}

.bfv3-section.bf-inview::before {
    opacity: 1;
    transform: translate3d(
        0,
        calc((var(--bf-section-progress, 0) - 0.5) * 120px),
        0
    ) scale(1);
}

.bfv3-section::after {
    content: attr(data-bf-word);
    position: absolute;
    z-index: 0;
    left: -0.045em;
    bottom: -0.19em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(7, 25, 49, 0.07);
    font-family: var(--bf3-display);
    font-size: clamp(100px, 16vw, 260px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
    white-space: nowrap;
    pointer-events: none;
    transform: translate3d(
        calc((var(--bf-section-progress, 0) - 0.5) * -80px),
        0,
        0
    );
}

.bfv3-section:is(
    .trust-section,
    .oa-flow-section,
    .cta-section,
    .bfv2-biz,
    .bfv2-web
)::after {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.08);
}

.bfv3-section-chrome {
    position: absolute;
    z-index: 3;
    top: 40px;
    left: max(24px, calc((100% - 1280px) / 2));
    right: max(24px, calc((100% - 1280px) / 2));
    display: flex;
    align-items: center;
    gap: 16px;
    pointer-events: none;
    opacity: 0.5;
}

.bfv3-section-code {
    font-family: var(--bf3-display);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: color-mix(in srgb, var(--bf3-accent-2) 70%, var(--bf3-ink));
}

.bfv3-section-axis {
    flex: 1;
    height: 1px;
    overflow: hidden;
    background: var(--bf3-line-dark);
    transform: scaleX(0);
    transform-origin: left;
}

.bf-inview .bfv3-section-axis {
    animation: bf3AxisGrow 1.4s 0.2s var(--bf3-ease) forwards;
}

@keyframes bf3AxisGrow {
    to { transform: scaleX(1); }
}

/* Varied reveals */
body.bfv3 [data-bf-reveal] {
    opacity: 0;
    filter: blur(5px);
    transition:
        opacity 0.95s var(--bf3-ease),
        transform 1.05s var(--bf3-ease),
        clip-path 1.15s var(--bf3-ease),
        filter 0.85s var(--bf3-ease);
    transition-delay: calc(var(--bf-reveal-order, 0) * 45ms);
    will-change: transform, opacity;
}

body.bfv3 [data-bf-reveal="rise"] {
    transform: translate3d(0, 68px, 0) rotate(1.2deg);
}

body.bfv3 [data-bf-reveal="clip"] {
    transform: translate3d(0, 28px, 0);
    clip-path: inset(0 0 100% 0);
}

body.bfv3 [data-bf-reveal="slide-left"] {
    transform: translate3d(-72px, 0, 0) rotate(-1.5deg);
}

body.bfv3 [data-bf-reveal="slide-right"] {
    transform: translate3d(72px, 0, 0) rotate(1.5deg);
}

body.bfv3 [data-bf-reveal="scale"] {
    transform: scale(0.9) translate3d(0, 32px, 0);
}

body.bfv3 [data-bf-reveal].is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    clip-path: inset(0 0 0 0);
}

/* Child staggering */
.bfv3-section.bf-inview :is(
    .mvv-grid,
    .why-grid,
    .trust-grid,
    .subsidy-types-grid,
    .support-grid,
    .oa-flow-grid,
    .feature-grid,
    .partner-grid
) > * {
    animation: bf3ChildIn 0.9s var(--bf3-ease) both;
    animation-delay: calc(0.12s + var(--bf-item-index, 0) * 85ms);
}

@keyframes bf3ChildIn {
    from {
        opacity: 0;
        transform: translate3d(0, 42px, 0) scale(0.96);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* --------------------------------------------------------------------------
   07. Cards and interactive depth
   -------------------------------------------------------------------------- */
.bfv3-card {
    --bf-rotate-x: 0deg;
    --bf-rotate-y: 0deg;
    position: relative;
    transform-style: preserve-3d;
    outline: 1px solid transparent;
    outline-offset: -1px;
    transition:
        transform 0.5s var(--bf3-ease),
        box-shadow 0.5s var(--bf3-ease),
        outline-color 0.4s ease,
        border-color 0.4s ease,
        background-color 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .bfv3-card:hover {
        transform:
            perspective(1400px)
            rotateX(var(--bf-rotate-x))
            rotateY(var(--bf-rotate-y))
            translate3d(0, -7px, 0);
        outline-color: color-mix(in srgb, var(--bf3-accent) 55%, transparent);
        box-shadow:
            0 30px 70px rgba(5, 20, 40, 0.15),
            0 0 0 1px color-mix(in srgb, var(--bf3-accent) 18%, transparent);
    }
}

body.bfv3 :is(.mvv-card, .why-item, .subsidy-type-card, .support-item, .feature-item, .partner-item) {
    border-radius: 0;
}

body.bfv3 :is(.mvv-card, .why-item, .subsidy-type-card, .support-item, .feature-item, .partner-item)::before {
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
}

/* --------------------------------------------------------------------------
   08. About page
   -------------------------------------------------------------------------- */
.page-about .message-section {
    background:
        radial-gradient(circle at 12% 30%, rgba(117, 229, 221, 0.12), transparent 25%),
        var(--bf3-white);
}

.page-about .message-grid {
    gap: clamp(54px, 8vw, 112px);
}

.page-about .message-visual-box {
    border-radius: 0;
    background:
        linear-gradient(145deg, rgba(102, 134, 255, 0.25), transparent 52%),
        #07162a;
    box-shadow:
        0 45px 100px rgba(6, 20, 40, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.page-about .message-visual-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at center, #000, transparent 76%);
    mask-image: radial-gradient(circle at center, #000, transparent 76%);
    animation: bf3AboutGrid 12s linear infinite;
}

.page-about .message-visual-box svg {
    z-index: 2;
    opacity: 0.78;
    transform: scale(1.08);
}

.page-about .message-visual-box svg path,
.page-about .message-visual-box svg line {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
}

.page-about .message-visual.is-visible svg path,
.page-about .message-visual.is-visible svg line {
    animation: bf3AboutDraw 2.4s 0.3s var(--bf3-ease) forwards;
}

.page-about .message-visual-box .visual-label {
    z-index: 3;
}

.page-about .message-content p {
    opacity: 0;
    transform: translateY(18px);
}

.page-about .message-content.is-visible p {
    animation: bf3ParagraphIn 0.8s var(--bf3-ease) forwards;
}

.page-about .message-content.is-visible p:nth-of-type(2) { animation-delay: 0.1s; }
.page-about .message-content.is-visible p:nth-of-type(3) { animation-delay: 0.2s; }
.page-about .message-content.is-visible p:nth-of-type(4) { animation-delay: 0.3s; }

.page-about .mvv-card {
    min-height: 390px;
    padding-top: 78px;
    border: 1px solid rgba(7, 25, 49, 0.08);
}

.page-about .mvv-label {
    position: absolute;
    right: -0.04em;
    bottom: -0.2em;
    margin: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(7, 25, 49, 0.1);
    font-family: var(--bf3-display);
    font-size: 210px;
    font-style: normal;
    line-height: 1;
    pointer-events: none;
}

.page-about .mvv-en {
    color: var(--bf3-accent-2);
}

.page-about .company-table {
    border-top: 1px solid var(--bf3-line-dark);
}

.page-about .company-table tr {
    opacity: 0;
    transform: translateX(-28px);
}

.page-about .company-table.is-visible tr {
    animation: bf3TableRow 0.72s var(--bf3-ease) forwards;
}

.page-about .company-table.is-visible tr:nth-child(2) { animation-delay: 0.06s; }
.page-about .company-table.is-visible tr:nth-child(3) { animation-delay: 0.12s; }
.page-about .company-table.is-visible tr:nth-child(4) { animation-delay: 0.18s; }
.page-about .company-table.is-visible tr:nth-child(5) { animation-delay: 0.24s; }
.page-about .company-table.is-visible tr:nth-child(6) { animation-delay: 0.30s; }
.page-about .company-table.is-visible tr:nth-child(7) { animation-delay: 0.36s; }
.page-about .company-table.is-visible tr:nth-child(8) { animation-delay: 0.42s; }
.page-about .company-table.is-visible tr:nth-child(9) { animation-delay: 0.48s; }
.page-about .company-table.is-visible tr:nth-child(10) { animation-delay: 0.54s; }

.page-about .timeline::before {
    background: linear-gradient(var(--bf3-accent-2), var(--bf3-accent));
    transform: scaleY(0);
    transform-origin: top;
}

.page-about .timeline-section.bf-inview .timeline::before {
    animation: bf3TimelineGrow 2.2s 0.25s var(--bf3-ease) forwards;
}

.page-about .timeline-item::before {
    background: var(--bf3-accent);
    border-color: var(--bf3-paper);
    box-shadow:
        0 0 0 1px var(--bf3-accent),
        0 0 24px color-mix(in srgb, var(--bf3-accent) 55%, transparent);
    animation: bf3TimelineNode 2.5s ease-in-out infinite;
}

.page-about .timeline-content {
    border-radius: 0;
    border-left: 1px solid var(--bf3-accent);
}

.page-about .access-info {
    background:
        radial-gradient(circle at 78% 18%, rgba(117, 229, 221, 0.18), transparent 34%),
        var(--bf3-ink);
}

@keyframes bf3AboutGrid {
    to { background-position: 42px 42px; }
}

@keyframes bf3AboutDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes bf3ParagraphIn {
    to { opacity: 1; transform: none; }
}

@keyframes bf3TableRow {
    to { opacity: 1; transform: none; }
}

@keyframes bf3TimelineGrow {
    to { transform: scaleY(1); }
}

@keyframes bf3TimelineNode {
    50% { box-shadow: 0 0 0 8px transparent, 0 0 32px var(--bf3-accent); }
}

/* --------------------------------------------------------------------------
   09. Services overview
   -------------------------------------------------------------------------- */
.page-services .services-list-section {
    background:
        linear-gradient(90deg, rgba(83, 125, 255, 0.055) 1px, transparent 1px),
        var(--bf3-white);
    background-size: 110px 100%;
}

.page-services .service-detail-card {
    position: relative;
    margin-bottom: clamp(72px, 10vw, 150px);
    min-height: 540px;
    border: 1px solid rgba(7, 25, 49, 0.09);
    box-shadow: 0 35px 90px rgba(5, 23, 45, 0.1);
}

.page-services .service-detail-card::before {
    content: attr(data-service);
    position: absolute;
    z-index: 4;
    top: -0.18em;
    right: 0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    font-family: var(--bf3-display);
    font-size: clamp(110px, 14vw, 190px);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.page-services .service-detail-visual {
    min-height: 500px;
    background:
        radial-gradient(circle at 70% 20%, rgba(114, 219, 235, 0.18), transparent 33%),
        linear-gradient(145deg, #03101f, #0b2445 62%, #173f70);
}

.page-services .service-detail-visual .sdv-grid {
    background-size: 38px 38px;
    animation: bf3ServiceGrid 16s linear infinite;
}

.page-services .service-detail-card.is-visible .sdv-art {
    animation: bf3ServiceArtIn 1.35s 0.18s var(--bf3-ease) both;
}

.page-services .service-detail-card.is-visible .sdv-layer-float {
    animation: bf3ServiceFloat 4s 1s ease-in-out infinite alternate;
}

.page-services .service-detail-card.is-visible .sdv-layer-front {
    animation: bf3ServiceFloat 5.5s 0.6s ease-in-out infinite alternate-reverse;
}

.page-services .service-detail-body {
    padding: clamp(48px, 6vw, 84px);
}

.page-services .service-detail-body h3 {
    font-size: clamp(30px, 3.7vw, 50px);
    letter-spacing: -0.035em;
}

.page-services .service-detail-num,
.page-services .service-detail-body .en {
    font-family: var(--bf3-display);
    color: var(--bf3-accent-2);
}

.page-services .service-detail-tags span {
    border: 1px solid rgba(7, 25, 49, 0.1);
    border-radius: 0;
    background: transparent;
}

.page-services .why-item {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(7, 25, 49, 0.08);
}

.page-services .why-num {
    font-family: var(--bf3-serif);
    color: var(--bf3-accent-2);
}

@keyframes bf3ServiceGrid {
    to { background-position: 76px 38px; }
}

@keyframes bf3ServiceArtIn {
    from { opacity: 0; transform: scale(0.84) rotate(-2deg); filter: blur(10px); }
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes bf3ServiceFloat {
    to { transform: translate3d(0, -8px, 0); }
}

/* --------------------------------------------------------------------------
   10. Subsidy page
   -------------------------------------------------------------------------- */
.page-subsidy .subsidy-intro-visual {
    border-radius: 0;
    background:
        radial-gradient(circle at 70% 25%, rgba(241, 189, 97, 0.24), transparent 30%),
        linear-gradient(145deg, #061323, #12325a);
    box-shadow: 0 40px 90px rgba(6, 23, 44, 0.2);
}

.page-subsidy .subsidy-intro-visual::before,
.page-subsidy .subsidy-intro-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: bf3SubsidyOrbit 10s linear infinite;
}

.page-subsidy .subsidy-intro-visual::before {
    width: 76%;
    aspect-ratio: 1;
    top: -38%;
    right: -12%;
}

.page-subsidy .subsidy-intro-visual::after {
    width: 44%;
    aspect-ratio: 1;
    left: -15%;
    bottom: -26%;
    animation-direction: reverse;
    animation-duration: 14s;
}

.page-subsidy .subsidy-intro-visual svg {
    z-index: 2;
    opacity: 0.78;
}

.page-subsidy .subsidy-intro-visual.is-visible svg {
    animation: bf3SubsidyVisual 1.4s 0.2s var(--bf3-ease) both;
}

.page-subsidy .subsidy-intro-badge {
    z-index: 3;
    border-radius: 0;
    background: var(--bf3-accent);
}

.page-subsidy .trust-section {
    background:
        radial-gradient(circle at 15% 40%, rgba(241, 189, 97, 0.18), transparent 35%),
        linear-gradient(135deg, #030b16, #081b33 60%, #102c4d);
}

.page-subsidy .trust-item {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.13);
    backdrop-filter: none;
}

.page-subsidy .trust-value {
    font-family: var(--bf3-serif);
    color: var(--bf3-accent);
    text-shadow: 0 0 28px rgba(241, 189, 97, 0.18);
}

.page-subsidy .trust-section.bf-inview .trust-value {
    animation: bf3MetricPulse 2.8s ease-in-out infinite;
}

.page-subsidy .subsidy-type-card {
    min-height: 280px;
    border: 1px solid rgba(7, 25, 49, 0.08);
    overflow: hidden;
}

.page-subsidy .subsidy-type-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 130px;
    height: 130px;
    border: 1px solid color-mix(in srgb, var(--bf3-accent) 50%, transparent);
    border-radius: 50%;
    transition: transform 0.7s var(--bf3-ease);
}

.page-subsidy .subsidy-type-card:hover::after {
    transform: scale(1.7);
}

.page-subsidy .subsidy-type-num .n {
    font-family: var(--bf3-serif);
    color: var(--bf3-accent);
}

.page-subsidy .support-item {
    min-height: 300px;
    border: 1px solid transparent;
}

.page-subsidy .support-icon {
    color: var(--bf3-accent);
    transition: transform 0.7s var(--bf3-ease);
}

.page-subsidy .support-item:hover .support-icon {
    transform: translateY(-8px) rotate(-4deg);
}

.page-subsidy .flow-list::before {
    content: "";
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(var(--bf3-accent-2), var(--bf3-accent));
    transform: scaleY(0);
    transform-origin: top;
}

.page-subsidy .flow-section.bf-inview .flow-list::before {
    animation: bf3TimelineGrow 2.5s 0.3s var(--bf3-ease) forwards;
}

.page-subsidy .flow-step:not(:last-child)::after {
    display: none;
}

.page-subsidy .flow-step-num {
    background: linear-gradient(145deg, var(--bf3-ink), #173d68);
    box-shadow:
        0 20px 45px rgba(7, 25, 49, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.page-subsidy .faq-item {
    position: relative;
}

.page-subsidy .faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--bf3-ease);
}

.page-subsidy .faq-item.is-open::before,
.page-subsidy .faq-item:hover::before {
    transform: scaleX(1);
}

@keyframes bf3SubsidyOrbit {
    to { transform: rotate(360deg); }
}

@keyframes bf3SubsidyVisual {
    from { opacity: 0; transform: scale(0.84) rotate(3deg); filter: blur(9px); }
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes bf3MetricPulse {
    50% { transform: translateY(-5px); opacity: 0.78; }
}

/* --------------------------------------------------------------------------
   11. OA and web page
   -------------------------------------------------------------------------- */
.page-oa .product-section {
    overflow: clip;
}

.page-oa .product-section::before {
    content: "";
    position: absolute;
    right: -12%;
    top: 10%;
    width: 44vw;
    aspect-ratio: 1;
    border: 1px solid rgba(101, 182, 255, 0.13);
    border-radius: 50%;
    transform: translate3d(
        0,
        calc((var(--bf-section-progress, 0) - 0.5) * -90px),
        0
    );
}

.page-oa .product-visual {
    border-radius: 0;
    background:
        radial-gradient(circle at 72% 28%, rgba(255, 138, 103, 0.18), transparent 31%),
        linear-gradient(145deg, #04111f, #0e3158 66%, #1d568a);
    box-shadow: 0 42px 95px rgba(4, 22, 43, 0.22);
}

.page-oa .product-visual::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    animation: bf3OaGrid 12s linear infinite;
}

.page-oa .product-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 12%;
    border-radius: 50%;
    border: 1px solid rgba(101, 182, 255, 0.25);
    background:
        conic-gradient(
            from 0deg,
            transparent 0 82%,
            rgba(101, 182, 255, 0.3) 92%,
            transparent 100%
        );
    animation: bf3Radar 7s linear infinite;
}

.page-oa .product-visual svg {
    z-index: 3;
    width: 48%;
    height: 48%;
    color: var(--bf3-accent);
    filter: drop-shadow(0 0 24px rgba(101, 182, 255, 0.35));
}

.page-oa .product-visual.is-visible svg {
    animation: bf3OaIcon 1.2s 0.18s var(--bf3-ease) both;
}

.page-oa .product-number {
    z-index: 4;
    font-family: var(--bf3-display);
    color: var(--bf3-accent);
}

.page-oa .product-content h3 {
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: -0.045em;
}

.page-oa .product-feature {
    border-left-color: var(--bf3-accent);
    border-radius: 0;
    box-shadow: none;
}

.page-oa .product-feature-icon {
    color: var(--bf3-accent-2);
}

.page-oa .product-content.is-visible .product-feature {
    animation: bf3FeatureIn 0.7s var(--bf3-ease) both;
}

.page-oa .product-content.is-visible .product-feature:nth-child(2) { animation-delay: 0.08s; }
.page-oa .product-content.is-visible .product-feature:nth-child(3) { animation-delay: 0.16s; }
.page-oa .product-content.is-visible .product-feature:nth-child(4) { animation-delay: 0.24s; }
.page-oa .product-content.is-visible .product-feature:nth-child(5) { animation-delay: 0.32s; }

.page-oa .oa-flow-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 138, 103, 0.13), transparent 30%),
        linear-gradient(145deg, #030b15, #0b2039);
}

.page-oa .oa-flow-item {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: none;
}

.page-oa .oa-flow-num {
    font-family: var(--bf3-serif);
    color: var(--bf3-accent);
}

@keyframes bf3OaGrid {
    to { background-position: 64px 32px; }
}

@keyframes bf3Radar {
    to { transform: rotate(360deg); }
}

@keyframes bf3OaIcon {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.68) rotate(-8deg);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 24px rgba(101, 182, 255, 0.35));
    }
}

@keyframes bf3FeatureIn {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   12. Software page
   -------------------------------------------------------------------------- */
.page-software .product-showcase {
    position: relative;
    overflow: clip;
}

.page-software .product-showcase:nth-of-type(even) {
    background:
        radial-gradient(circle at 82% 25%, rgba(109, 143, 255, 0.12), transparent 32%),
        #edf3f5 !important;
}

.page-software .product-showcase-visual {
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 25% 20%, rgba(109, 241, 196, 0.17), transparent 30%),
        linear-gradient(145deg, #020a13, #07192d 56%, #0d3151) !important;
    box-shadow: 0 42px 100px rgba(4, 20, 40, 0.24) !important;
}

.page-software .product-showcase-visual::before {
    opacity: 0.45 !important;
    background-image:
        linear-gradient(rgba(109, 241, 196, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 241, 196, 0.1) 1px, transparent 1px) !important;
    background-size: 34px 34px !important;
    animation: bf3SoftwareGrid 14s linear infinite;
}

.page-software .showcase-dashboard {
    position: relative;
    overflow: hidden;
    border-color: rgba(109, 241, 196, 0.22) !important;
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(109, 241, 196, 0.06) !important;
}

.page-software .showcase-dashboard::after {
    content: "";
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: -20%;
    height: 28%;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(109, 241, 196, 0.12), transparent);
    animation: bf3DashboardScan 4.2s ease-in-out infinite;
}

.page-software .showcase-stat {
    position: relative;
    overflow: hidden;
}

.page-software .showcase-stat::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bf3-accent), transparent);
    transform: translateX(-100%);
    animation: bf3StatSweep 3.6s ease-in-out infinite;
}

.page-software .product-showcase-visual.is-visible .showcase-chart path,
.page-software .product-showcase-visual.is-visible .showcase-chart polyline {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: bf3ChartDraw 2.2s 0.5s var(--bf3-ease) forwards;
}

.page-software .product-showcase-content h3 {
    font-family: var(--bf3-jp) !important;
    font-size: clamp(36px, 5vw, 68px) !important;
    letter-spacing: -0.055em !important;
}

.page-software .product-number-lg,
.page-software .en-label {
    font-family: var(--bf3-display) !important;
    color: color-mix(in srgb, var(--bf3-accent-2) 74%, var(--bf3-ink)) !important;
}

.page-software .product-tag {
    border-radius: 0 !important;
}

.page-software .challenge-column,
.page-software .feature-item,
.page-software .partner-item,
.page-software .flow-step {
    border-radius: 0 !important;
}

@keyframes bf3SoftwareGrid {
    to { background-position: 68px 34px; }
}

@keyframes bf3DashboardScan {
    0%, 100% { transform: translateY(-120%); opacity: 0; }
    20%, 70% { opacity: 1; }
    80% { transform: translateY(520%); opacity: 0; }
}

@keyframes bf3StatSweep {
    50%, 100% { transform: translateX(100%); }
}

@keyframes bf3ChartDraw {
    to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   13. News page
   -------------------------------------------------------------------------- */
.page-news .news-section {
    position: relative;
    background:
        linear-gradient(90deg, rgba(7, 25, 49, 0.035) 1px, transparent 1px),
        var(--bf3-white);
    background-size: 120px 100%;
}

.page-news .news-categories {
    gap: 8px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--bf3-line-dark);
}

.page-news .news-cat-btn {
    position: relative;
    border-radius: 0;
    border-color: rgba(7, 25, 49, 0.13);
    font-family: var(--bf3-display);
    font-size: 10px;
    overflow: hidden;
}

.page-news .news-cat-btn.active,
.page-news .news-cat-btn:hover {
    border-color: var(--bf3-ink);
    background: var(--bf3-ink);
}

.page-news .news-list {
    counter-reset: news;
}

.page-news .news-list article {
    position: relative;
    counter-increment: news;
    border-color: rgba(7, 25, 49, 0.12);
}

.page-news .news-list article::before {
    content: attr(data-news-index);
    position: absolute;
    left: -1.35em;
    top: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(7, 25, 49, 0.1);
    font-family: var(--bf3-display);
    font-size: 84px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.7s var(--bf3-ease);
}

.page-news .news-list article:hover::before,
.page-news .news-list article.bfv3-news-open::before {
    opacity: 1;
    transform: none;
}

.page-news .news-item-header {
    position: relative;
    min-height: 120px;
    padding-right: 28px;
    transition:
        padding 0.55s var(--bf3-ease),
        background-color 0.35s ease;
}

.page-news .news-item-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.65s var(--bf3-ease);
}

.page-news .news-item-header:hover::after,
.page-news article.bfv3-news-open .news-item-header::after {
    transform: scaleX(1);
}

.page-news .news-date {
    font-family: var(--bf3-serif);
    font-size: 18px;
    font-style: italic;
}

.page-news .news-title {
    font-family: var(--bf3-jp);
    font-size: clamp(15px, 1.45vw, 19px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.page-news .news-cat {
    border-radius: 0;
    font-family: var(--bf3-display);
}

.page-news .news-item-body-inner {
    animation: bf3NewsBody 0.58s var(--bf3-ease) both;
}

.page-news article.bfv3-news-open {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--bf3-accent) 7%, white),
        white
    );
}

@keyframes bf3NewsBody {
    from { opacity: 0; transform: translateY(-16px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* --------------------------------------------------------------------------
   14. Contact page
   -------------------------------------------------------------------------- */
.page-contact .contact-section {
    background:
        radial-gradient(circle at 12% 32%, rgba(123, 228, 213, 0.11), transparent 26%),
        var(--bf3-white);
}

.page-contact .contact-grid {
    gap: clamp(48px, 7vw, 96px);
}

.page-contact .contact-info-box {
    border-radius: 0;
    background:
        radial-gradient(circle at 80% 18%, rgba(123, 228, 213, 0.2), transparent 32%),
        linear-gradient(145deg, #030b16, #0a213b);
    box-shadow: 0 42px 95px rgba(5, 21, 40, 0.22);
}

.page-contact .contact-info-box::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(circle at center, #000, transparent 78%);
    mask-image: radial-gradient(circle at center, #000, transparent 78%);
    animation: bf3ContactGrid 14s linear infinite;
}

.page-contact .contact-info-box::after {
    content: "";
    position: absolute;
    right: 32px;
    top: 32px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bf3-accent);
    box-shadow: 0 0 18px var(--bf3-accent);
    animation: bf3ContactSignal 1.5s ease-in-out infinite;
}

.page-contact .contact-info-box .en,
.page-contact .contact-info-label,
.page-contact .contact-info-value .big {
    color: var(--bf3-accent);
}

.page-contact .contact-info-value .big {
    font-family: var(--bf3-serif);
}

.page-contact .form-group {
    position: relative;
}

.page-contact .form-group::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
    transition: right 0.55s var(--bf3-ease);
}

.page-contact .form-group:focus-within::after {
    right: 0;
}

.page-contact .form-group label {
    font-family: var(--bf3-display);
    font-size: 11px;
    letter-spacing: 0.08em;
    transition: color 0.3s ease, transform 0.4s var(--bf3-ease);
}

.page-contact .form-group:focus-within label,
.page-contact .form-group.has-value label {
    color: color-mix(in srgb, var(--bf3-accent-2) 80%, var(--bf3-ink));
    transform: translateX(5px);
}

.page-contact .form-group input,
.page-contact .form-group textarea,
.page-contact .form-group select {
    border: 0;
    border-bottom: 1px solid rgba(7, 25, 49, 0.16);
    border-radius: 0;
    background: rgba(233, 239, 244, 0.68);
    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s var(--bf3-ease);
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus,
.page-contact .form-group select:focus {
    border-color: transparent;
    box-shadow: 0 18px 45px rgba(7, 25, 49, 0.08);
    transform: translateY(-2px);
}

.page-contact .form-group label .required {
    border-radius: 0;
    background: var(--bf3-accent-2);
}

.page-contact .form-agreement {
    border: 1px solid rgba(7, 25, 49, 0.08);
    background: rgba(233, 239, 244, 0.64);
}

.page-contact .tv-panel {
    border-radius: 0;
    box-shadow: 0 40px 100px rgba(4, 20, 40, 0.2);
}

.page-contact .tv-panel-grid {
    animation: bf3ContactGrid 14s linear infinite;
}

.page-contact .tv-monitor-frame {
    position: relative;
    overflow: hidden;
}

.page-contact .tv-monitor-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    height: 30%;
    background: linear-gradient(transparent, rgba(123, 228, 213, 0.18), transparent);
    animation: bf3DashboardScan 4s ease-in-out infinite;
}

@keyframes bf3ContactGrid {
    to { background-position: 80px 40px; }
}

@keyframes bf3ContactSignal {
    50% { opacity: 0.35; transform: scale(1.7); }
}

/* --------------------------------------------------------------------------
   15. CTA sections
   -------------------------------------------------------------------------- */
body.bfv3 .cta-section {
    min-height: 620px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 72% 30%, color-mix(in srgb, var(--bf3-accent-2) 22%, transparent), transparent 28%),
        radial-gradient(circle at 18% 80%, color-mix(in srgb, var(--bf3-accent) 16%, transparent), transparent 32%),
        linear-gradient(145deg, #030a14, #0a1d35);
}

body.bfv3 .cta-section::after {
    content: "LET'S CONNECT";
    position: absolute;
    left: -0.06em;
    bottom: -0.16em;
    font-family: var(--bf3-display);
    font-size: clamp(100px, 16vw, 260px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

body.bfv3 .cta-title {
    font-size: clamp(34px, 5vw, 68px);
    letter-spacing: -0.045em;
}

body.bfv3 .cta-en {
    font-family: var(--bf3-serif);
    font-style: italic;
    color: var(--bf3-accent);
    text-transform: none;
}

/* --------------------------------------------------------------------------
   16. Next page portal
   -------------------------------------------------------------------------- */
.bfv3-next {
    min-height: min(720px, 74svh);
    color: var(--bf3-white);
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 45%, color-mix(in srgb, var(--bf3-accent-2) 26%, transparent), transparent 28%),
        linear-gradient(135deg, #020812, #07172a 54%, #102d4c);
}

.bfv3-next-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    padding: 80px max(32px, calc((100% - 1280px) / 2));
    color: inherit;
    text-decoration: none;
    isolation: isolate;
}

.bfv3-next-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.23;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 64px 64px;
    transition: opacity 0.5s ease, transform 1.2s var(--bf3-ease);
}

.bfv3-next-link:hover::before {
    opacity: 0.4;
    transform: scale(1.04);
}

.bfv3-next-kicker {
    font-family: var(--bf3-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.34em;
    color: var(--bf3-accent);
}

.bfv3-next-title {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    font-family: var(--bf3-jp);
    font-size: clamp(48px, 8.5vw, 128px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.07em;
    transition: transform 0.8s var(--bf3-ease);
}

.bfv3-next-link:hover .bfv3-next-title {
    transform: translateX(20px);
}

.bfv3-next-en {
    position: absolute;
    right: -0.04em;
    bottom: -0.12em;
    z-index: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
    font-family: var(--bf3-display);
    font-size: clamp(110px, 20vw, 330px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.09em;
    transition: transform 1s var(--bf3-ease), -webkit-text-stroke-color 0.5s ease;
}

.bfv3-next-link:hover .bfv3-next-en {
    transform: translateX(-30px);
    -webkit-text-stroke-color: color-mix(in srgb, var(--bf3-accent) 34%, transparent);
}

.bfv3-next-arrow {
    position: absolute;
    right: max(32px, calc((100% - 1280px) / 2));
    top: 50%;
    display: grid;
    place-items: center;
    width: clamp(74px, 9vw, 128px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-family: var(--bf3-display);
    font-size: clamp(28px, 4vw, 56px);
    color: var(--bf3-accent);
    transform: translateY(-50%);
    transition:
        color 0.45s ease,
        background-color 0.45s ease,
        border-color 0.45s ease,
        transform 0.65s var(--bf3-ease);
}

.bfv3-next-link:hover .bfv3-next-arrow {
    color: var(--bf3-ink);
    border-color: var(--bf3-accent);
    background: var(--bf3-accent);
    transform: translateY(-50%) rotate(45deg) scale(1.08);
}

.bfv3-next-track {
    position: absolute;
    left: max(32px, calc((100% - 1280px) / 2));
    right: max(32px, calc((100% - 1280px) / 2));
    bottom: 58px;
    display: grid;
    grid-template-columns: 1fr 0.42fr 0.16fr;
    gap: 8px;
}

.bfv3-next-track i {
    height: 2px;
    background: linear-gradient(90deg, var(--bf3-accent-2), var(--bf3-accent));
    transform-origin: left;
    transition: transform 0.9s var(--bf3-ease);
}

.bfv3-next-track i:nth-child(2) { opacity: 0.55; }
.bfv3-next-track i:nth-child(3) { opacity: 0.3; }

.bfv3-next-link:hover .bfv3-next-track i:nth-child(1) { transform: scaleX(0.55); }
.bfv3-next-link:hover .bfv3-next-track i:nth-child(2) { transform: scaleX(1.7); }
.bfv3-next-link:hover .bfv3-next-track i:nth-child(3) { transform: scaleX(2.8); }

/* --------------------------------------------------------------------------
   17. Page transition
   -------------------------------------------------------------------------- */
.bfv3-page-wipe {
    position: fixed;
    inset: 0;
    z-index: 9900;
    display: grid;
    place-items: center;
    pointer-events: none;
    color: var(--bf3-white);
    background:
        radial-gradient(circle at 65% 35%, color-mix(in srgb, var(--bf3-accent-2) 32%, transparent), transparent 28%),
        var(--bf3-ink);
    transform: translate3d(0, 102%, 0);
}

.bfv3-page-wipe::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 58px 58px;
}

.bfv3-wipe-word {
    position: relative;
    z-index: 2;
    font-family: var(--bf3-display);
    font-size: clamp(36px, 9vw, 128px);
    font-weight: 500;
    letter-spacing: -0.07em;
    opacity: 0;
    transform: translateY(40px);
}

.bfv3-wipe-line {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bf3-accent), transparent);
    transform: scaleX(0);
}

.bfv3-leaving .bfv3-page-wipe {
    animation: bf3WipeIn 0.52s var(--bf3-ease-snap) forwards;
}

.bfv3-leaving .bfv3-wipe-word {
    animation: bf3WipeWord 0.4s 0.12s var(--bf3-ease) forwards;
}

.bfv3-leaving .bfv3-wipe-line {
    animation: bf3WipeLine 0.4s 0.08s var(--bf3-ease) forwards;
}

@keyframes bf3WipeIn {
    to { transform: none; }
}

@keyframes bf3WipeWord {
    to { opacity: 1; transform: none; }
}

@keyframes bf3WipeLine {
    to { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   18. Cursor
   -------------------------------------------------------------------------- */
.bfv3-cursor {
    position: fixed;
    z-index: 9600;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bfv3-cursor.is-visible {
    opacity: 1;
}

.bfv3-cursor-ring,
.bfv3-cursor-dot {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.bfv3-cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid var(--bf3-accent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--bf3-accent) 25%, transparent);
    transition:
        width 0.35s var(--bf3-ease),
        height 0.35s var(--bf3-ease),
        background-color 0.35s ease,
        border-color 0.35s ease;
}

.bfv3-cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--bf3-accent);
}

.bfv3-cursor.is-active .bfv3-cursor-ring {
    width: 58px;
    height: 58px;
    border-color: color-mix(in srgb, var(--bf3-accent) 70%, white);
    background: color-mix(in srgb, var(--bf3-accent) 10%, transparent);
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    body.bfv3:not(.page-home) .page-hero.bfv3-page-hero {
        min-height: 760px;
    }

    .bfv3-scene-orbit {
        right: -8%;
        opacity: 0.68;
    }

    .bfv3-hero-meta {
        max-width: 720px;
    }

    .page-services .service-detail-card {
        min-height: auto;
    }

    .page-services .service-detail-visual {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .bfv3-ambient-grid {
        background-size: 46px 46px;
    }

    .site-loader.bfv3-loader .site-loader-inner {
        width: calc(100% - 48px);
    }

    .site-loader.bfv3-loader .site-loader-mark {
        font-size: clamp(30px, 12vw, 52px);
    }

    .bfv3-loader-meta {
        grid-template-columns: auto 1fr;
    }

    .bfv3-loader-status {
        display: none;
    }

    body.bfv3:not(.page-home) .page-hero.bfv3-page-hero {
        min-height: 670px;
        padding: 150px 0 82px;
    }

    body.bfv3:not(.page-home) .page-hero-content {
        width: calc(100% - 40px);
    }

    body.bfv3:not(.page-home) .page-hero h1 {
        font-size: clamp(50px, 16vw, 82px);
        letter-spacing: -0.065em;
    }

    body.bfv3:not(.page-home) .page-hero-desc {
        margin-top: 28px;
        padding-left: 16px;
        font-size: 14px;
    }

    .bfv3-hero-meta {
        grid-template-columns: auto 1fr;
        margin-top: 42px;
    }

    .bfv3-hero-meta span:last-child {
        display: none;
    }

    .bfv3-scene-orbit {
        top: 20%;
        right: -35%;
        width: 92vw;
        opacity: 0.52;
    }

    .bfv3-scene-orbit.orbit-b {
        display: none;
    }

    .bfv3-scene-bridge {
        left: -35%;
        width: 170%;
        height: 48%;
    }

    body.bfv3 .section-title,
    body.bfv3 .bfv3-heading {
        font-size: clamp(31px, 10.5vw, 48px);
        letter-spacing: -0.04em;
    }

    .bfv3-section-chrome {
        top: 24px;
        left: 20px;
        right: 20px;
    }

    .bfv3-section::after {
        font-size: clamp(76px, 28vw, 150px);
    }

    .page-about .mvv-card {
        min-height: 330px;
    }

    .page-about .mvv-label {
        font-size: 170px;
    }

    .page-subsidy .flow-list::before {
        left: 50%;
    }

    .page-services .service-detail-visual {
        min-height: 310px;
    }

    .page-services .service-detail-body {
        padding: 42px 26px;
    }

    .page-news .news-list article::before {
        display: none;
    }

    .page-news .news-item-header {
        min-height: 0;
        padding-right: 4px;
    }

    .bfv3-next {
        min-height: 560px;
    }

    .bfv3-next-link {
        padding: 72px 24px 110px;
        justify-content: flex-start;
    }

    .bfv3-next-title {
        margin-top: 26px;
        font-size: clamp(44px, 14vw, 78px);
    }

    .bfv3-next-en {
        font-size: clamp(100px, 34vw, 190px);
        bottom: -0.07em;
    }

    .bfv3-next-arrow {
        right: 24px;
        top: auto;
        bottom: 72px;
        width: 76px;
        transform: none;
    }

    .bfv3-next-link:hover .bfv3-next-arrow {
        transform: rotate(45deg) scale(1.06);
    }

    .bfv3-next-track {
        left: 24px;
        right: 124px;
        bottom: 46px;
    }

    .bfv3-cursor {
        display: none;
    }
}

@media (max-width: 480px) {
    body.bfv3:not(.page-home) .page-hero.bfv3-page-hero {
        min-height: 620px;
        padding-top: 132px;
    }

    body.bfv3:not(.page-home) .page-hero h1 {
        font-size: clamp(46px, 16vw, 68px);
    }

    .bfv3-hero-meta {
        font-size: 7px;
        letter-spacing: 0.18em;
    }

    body.bfv3:not(.page-home) .page-hero.bfv3-page-hero::after {
        font-size: 34vw;
    }

    .page-contact .form-submit-wrap .btn {
        min-width: 0;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   20. Reduced motion and print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html.bfv3-enabled {
        scroll-behavior: auto;
    }

    .bfv3-ambient-glow,
    .bfv3-scene-beam,
    .bfv3-scene-orbit,
    .bfv3-scene-signal,
    .bfv3-cursor,
    .bfv3-page-wipe {
        display: none !important;
    }

    .bfv3-char,
    .bfv3-page-hero .page-hero-en,
    .bfv3-page-hero .page-hero-desc,
    .bfv3-hero-meta,
    body.bfv3 [data-bf-reveal],
    .page-about .message-content p,
    .page-about .company-table tr {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }

    .bfv3-scene-bridge .bridge-main {
        stroke-dashoffset: 0;
    }

    .bfv3-section-axis,
    .page-about .timeline::before,
    .page-subsidy .flow-list::before {
        transform: none !important;
    }
}

@media print {
    .bfv3-ambient,
    .site-loader,
    .scroll-progress,
    .bfv3-cursor,
    .bfv3-page-wipe,
    .bfv3-next,
    .bfv3-page-scene,
    .bfv3-section-chrome {
        display: none !important;
    }

    body.bfv3,
    body.bfv3 main {
        background: #fff !important;
        color: #000 !important;
    }

    body.bfv3 [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
