@charset "UTF-8";

/* Reset & Variables */
:root {
    --bg-color: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #333333;
    --accent-gray: #E4E4E4;
    --silver: #C0C0C0;
    --font-en: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-logo: 'Cormorant Garamond', serif;
    --font-logo-jp: 'Shippori Mincho', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-jp);
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
}

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

/* Typography Utilities */
.section-eyecatch {
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--silver);
    margin-bottom: 2rem;
    font-weight: 400;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5vw;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}


.header.scrolled {
    padding: 1.2rem 5vw;
    border-bottom: 1px solid var(--accent-gray);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0.035em;
}

.logo a {
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
}

.nav-contact {
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    transition: opacity 0.4s ease;
    white-space: nowrap;
}

.nav-contact:hover {
    opacity: 0.5;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.nav>a,
.nav>.nav-dropdown {
    flex: 0 0 auto;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}





.dropdown-trigger {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    white-space: nowrap;
}

.dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.6rem;
    margin-top: -3px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.nav-dropdown.is-active .dropdown-trigger::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}


.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);

    background: #fff;
    border: 1px solid var(--accent-gray);
    border-radius: 12px;
    overflow: hidden;
    padding: 0.8rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-dropdown.is-active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}






.dropdown-content a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background: #f9f9f9;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5vw;
    background-image: linear-gradient(var(--accent-gray) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-gray) 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: center center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 80%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-eyecatch {
    margin-bottom: 3rem;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-family: var(--font-logo-jp);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 2.0;
    letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background-color: transparent;
    z-index: 2;
    overflow: hidden;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--silver);
    transform: translateY(-100%);
    animation: scrollDown 2.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Sections Configuration */
.about,
.value,
.contact {
    padding: 12rem 0;
}

.about {
    background-color: var(--bg-color);
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 2.0;
    letter-spacing: 0.03em;
}

.link-arrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-top: 3rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--text-primary);
    transition: opacity 0.4s ease;
}

.link-arrow:hover {
    opacity: 0.5;
}

.link-arrow span {
    margin-left: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.link-arrow:hover span {
    transform: translateX(5px);
}

/* Value Section */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3vw;
}

.card {
    border: 1px solid var(--accent-gray);
    padding: 4rem 2.5rem;
    background: var(--bg-color);
    transition: border-color 0.5s ease;
}

.card:hover {
    border-color: var(--text-primary);
}

.card-title {
    font-family: var(--font-en);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 2.0;
}

/* Contact Section */
.contact-desc {
    margin-bottom: 4rem;
    color: var(--text-secondary);
    line-height: 2.0;
}

.btn-outline {
    display: inline-block;
    font-family: var(--font-en);
    font-weight: 400;
    letter-spacing: 0.2em;
    padding: 1.4rem 5rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    transition: all 0.4s ease;
    background: var(--bg-color);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

/* Footer */
.footer {
    border-top: 1px solid var(--accent-gray);
    padding-top: 6rem;
    font-family: var(--font-en);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6rem;
}

.footer-logo {
    font-family: var(--font-logo);
    font-style: italic;
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: color 0.4s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    border-top: 1px solid var(--accent-gray);
    padding: 2.5rem 0;
    font-size: 0.75rem;
    color: var(--silver);
    letter-spacing: 0.15em;
}

/* Fade In Animation utilities */
.element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 768px) {

    .about,
    .value,
    .contact {
        padding: 8rem 0;
    }

    .grid {
        gap: 2rem;
    }

    .card {
        padding: 3rem 2rem;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =========================================================
 *  Geometric Motifs and Decorations
 * ========================================================= */

.geo-container {
    position: relative;
    overflow: hidden;
}

.about .container,
.value .container,
.contact .container {
    position: relative;
    z-index: 2;
}

.geo-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
}

/* Float Animations for quiet motion */
@keyframes float1 {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, 15px);
    }

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

@keyframes float2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-8px, -12px) rotate(2deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* -- Hero Decorations -- */
.geo-center-dial {
    width: 60vw;
    height: 60vw;
    border: 1px dashed rgba(192, 192, 192, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 3s ease 0.2s, opacity 3s ease 0.2s;
    opacity: 0;
}

.geo-center-dial.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: float1 30s ease-in-out infinite;
}

.geo-tl-lines {
    top: 10%;
    left: 5%;
    width: 60px;
    height: 120px;
    background-image: linear-gradient(90deg, rgba(192, 192, 192, 0.3) 1px, transparent 1px);
    background-size: 15px 100%;
    transform: translateY(-20px);
    transition: transform 2.5s ease 0.4s, opacity 2.5s ease 0.4s;
    opacity: 0;
}

.geo-tl-lines.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation: float2 25s ease-in-out infinite alternate;
}

.geo-br-grid {
    bottom: 5%;
    right: 5%;
    width: 150px;
    height: 150px;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(10deg) translateY(20px);
    transition: transform 2.5s ease 0.5s, opacity 2.5s ease 0.5s;
    opacity: 0;
}

.geo-br-grid.is-visible {
    opacity: 1;
    transform: rotate(10deg) translateY(0);
    animation: float2 28s ease-in-out infinite reverse;
}

.geo-circle-hero {
    width: 60vh;
    height: 60vh;
    border: 1px solid rgba(192, 192, 192, 0.25);
    border-radius: 50%;
    top: -15vh;
    right: -10vw;
    transform: scale(0.9);
    transition: transform 2.5s ease 0.4s, opacity 2.5s ease 0.4s;
}

.geo-circle-hero.is-visible {
    opacity: 1;
    transform: scale(1);
    animation: float1 22s ease-in-out infinite;
}

.geo-line-hero-1 {
    height: 1px;
    background-color: rgba(192, 192, 192, 0.4);
    top: 35%;
    left: 0;
    width: 0;
    transition: width 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s, opacity 2s ease;
}

.geo-line-hero-1.is-visible {
    width: 25vw;
    opacity: 1;
}

.geo-line-hero-2 {
    width: 1px;
    background-color: rgba(192, 192, 192, 0.4);
    bottom: 0;
    right: 20%;
    height: 0;
    transition: height 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s, opacity 2.5s ease;
}

.geo-line-hero-2.is-visible {
    height: 50vh;
    opacity: 1;
}

/* -- About Decorations -- */
.geo-rect-about {
    width: 300px;
    height: 400px;
    border: 1px solid rgba(192, 192, 192, 0.25);
    bottom: -100px;
    left: -50px;
    transform: translateY(40px) rotate(-5deg);
    transition: transform 2.5s ease 0.5s, opacity 2.5s ease 0.5s;
}

.geo-rect-about.is-visible {
    opacity: 1;
    transform: translateY(0) rotate(-5deg);
    animation: float2 28s ease-in-out infinite;
}

.geo-grid-about {
    top: 15%;
    right: 5%;
    width: 200px;
    height: 200px;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.2) 1px, transparent 1px);
    background-size: 25px 25px;
    transform: translateY(30px);
    transition: transform 2.5s ease 0.7s, opacity 2.5s ease 0.7s;
}

.geo-grid-about.is-visible {
    opacity: 1;
    transform: translateY(0);
    animation: float1 25s ease-in-out infinite reverse;
}

/* -- Value Decorations -- */
.geo-line-value {
    height: 1px;
    background-color: rgba(192, 192, 192, 0.4);
    top: 25%;
    right: 0;
    width: 0;
    transition: width 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s, opacity 2s ease;
}

.geo-line-value.is-visible {
    width: 20vw;
    opacity: 1;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

.footer-logo {
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.footer-links-main,
.footer-links-sub {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-group-title {
    font-family: var(--font-jp);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    transition: color 0.35s ease, opacity 0.35s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
    }
}

/* =========================================================
 *  Sub Pages (Common)
 * ========================================================= */
.page-main {
    padding-top: 100px;
    padding-bottom: 6rem;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.page-header {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 4rem;
    position: relative;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center;
}

.page-title {
    font-family: var(--font-jp);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Thin Geometric Motifs for Sub pages */
.geo-line-page {
    width: 1px;
    background-color: rgba(192, 192, 192, 0.3);
    top: 0;
    left: 15%;
    height: 0;
    transition: height 2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s, opacity 2s ease;
    opacity: 0;
}

.geo-line-page.is-visible {
    height: 100%;
    opacity: 1;
}

.geo-circle-page {
    width: 30vh;
    height: 30vh;
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 50%;
    bottom: -15vh;
    right: 5vw;
    transform: scale(0.9);
    transition: transform 2.5s ease 0.4s, opacity 2.5s ease 0.4s;
    opacity: 0;
}

.geo-circle-page.is-visible {
    opacity: 1;
    transform: scale(1);
    animation: float1 25s ease-in-out infinite alternate;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Document Format */
.doc-content h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--accent-gray);
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.doc-content p,
.doc-content ul,
.doc-content ol {
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.doc-content ul,
.doc-content ol {
    padding-left: 1.5rem;
}

.doc-content li {
    margin-bottom: 0.5rem;
}

/* Definition List format (Company) */
.company-dl {
    width: 100%;
    border-top: 1px solid var(--accent-gray);
}

.company-dl>div {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--accent-gray);
}

.company-dl dt {
    width: 30%;
    padding: 2rem 0;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.company-dl dd {
    width: 70%;
    padding: 2rem 0;
    color: var(--text-secondary);
    line-height: 2;
}

.company-dl.emphasize-dt dt {
    font-size: 1.15rem;
    font-weight: 600;
}

.company-dl.company-info-dl dt {
    font-size: 1.15rem;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .page-header {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .company-dl>div {
        flex-direction: column;
    }

    .company-dl dt,
    .company-dl dd {
        width: 100%;
        padding: 1rem 0;
    }

    .company-dl dt {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .company-dl dd {
        padding-top: 0;
    }
}

/* Habitom Page V2 (old scoped rules kept for compatibility) */
.page-habitom-v2 .page-main {
    background-color: #e5e7eb;
    padding-top: 100px;
}

.page-habitom-v2 .page-header {
    background: #e5e7eb;
    margin-bottom: 0;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.app-intro-container {
    padding: 6rem 0;
}

.app-block {
    background: #fff;
    padding: 5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.app-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.info-item {
    padding: 2.5rem;
    background: #fdfdfd;
    border: 1px solid var(--accent-gray);
    text-align: center;
}

.info-label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--silver);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-primary);
}

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

.premium-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--accent-gray);
    padding-bottom: 2rem;
}

.premium-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.premium-desc {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1.05rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: #fff;
    border: 1px solid var(--accent-gray);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    border-color: var(--text-primary);
}

.feature-num {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--silver);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .app-block {
        padding: 2.5rem;
    }

    .app-info-grid {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
 * Habitom Page - New Direction
 * ========================================================= */

@keyframes habitomBgShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes habitomFloatCardA {
    0% { transform: translate3d(0, 0, 0); }
    33% { transform: translate3d(18px, -28px, 0); }
    66% { transform: translate3d(-14px, -15px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes habitomFloatCardB {
    0% { transform: translate3d(0, 0, 0); }
    33% { transform: translate3d(-20px, -24px, 0); }
    66% { transform: translate3d(15px, -12px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes habitomFloatCardC {
    0% { transform: translate3d(0, 0, 0); }
    33% { transform: translate3d(15px, -16px, 0); }
    66% { transform: translate3d(-18px, 10px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes habitomDeviceFloat {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -32px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

@keyframes habitomPulse {
    0% { opacity: 0.15; transform: scale3d(1, 1, 1); }
    50% { opacity: 0.25; transform: scale3d(1.002, 1.002, 1); }
    100% { opacity: 0.15; transform: scale3d(1, 1, 1); }
}

@keyframes habitomBarGrow {
    0%, 100% { transform: scaleY(0.75); opacity: 0.55; }
    50% { transform: scaleY(1.25); opacity: 1; }
}

@keyframes habitomFloatSide {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(7px, -11px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Minimal Animations for Reduced Motion */
@keyframes habitomDeviceFloatMinimal {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -3px, 0); }
}
@keyframes habitomBarGrowMinimal {
    0%, 100% { transform: scaleY(0.98); opacity: 0.85; }
    50% { transform: scaleY(1.02); opacity: 1; }
}
@keyframes habitomFloatCardMinimalA {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(2px, -3px, 0); }
}
@keyframes habitomFloatCardMinimalB {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-2px, -2px, 0); }
}
@keyframes habitomFloatCardMinimalC {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(1px, -4px, 0); }
}

.page-habitom-v2 {
    background: #ffffff;
    color: #1a1a1a;
}







.page-habitom-v2 .header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}



.page-habitom-v2 .header.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.page-habitom-v2 .logo,
.page-habitom-v2 .nav-contact,
.page-habitom-v2 .dropdown-trigger {
    color: #1a1a1a;
}

.page-habitom-v2 .nav-contact:hover,
.page-habitom-v2 .dropdown-trigger:hover {
    opacity: 0.8;
}

.page-habitom-v2 .dropdown-content {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.page-habitom-v2 .dropdown-content a {
    color: #333333;
}

.page-habitom-v2 .dropdown-content a:hover {
    background: #f8f9ff;
    color: #1a1a1a;
}

.page-habitom-v2 .section-eyecatch {
    color: #94a3b8;
}

.page-habitom-v2 .habitom-main {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
    background: transparent;
    overflow: hidden;
}

/* Habitom Intro Visual */
.habitom-intro {
    width: 100%;
    position: relative;
    background-color: #fff;
    padding-top: 140px; /* Increased to lower the image position */
    overflow: hidden;
    z-index: 1;
}

.habitom-intro-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Side fades for natural blending */
.habitom-intro-inner::before,
.habitom-intro-inner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.habitom-intro-inner::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.habitom-intro-inner::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.habitom-intro-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 24px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    /* Side and Top fade only - removed bottom transparent part to keep text readable */
    mask-image: 
        linear-gradient(to bottom, transparent, black 8%, black 100%),
        linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: 
        linear-gradient(to bottom, transparent, black 8%, black 100%),
        linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
    -webkit-mask-composite: destination-in;
    -webkit-mask-composite: source-in;
}

/* Top/Bottom smooth blending */
.habitom-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, #fff 25%, rgba(255, 255, 255, 0) 100%);
    z-index: 4;
    pointer-events: none;
}

.habitom-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Further reduced to keep text readable */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 4;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .habitom-intro {
        padding-top: 100px;
    }
    .habitom-intro-inner {
        padding: 0 10px;
    }
    .habitom-intro-img {
        border-radius: 12px;
        mask-image: 
            linear-gradient(to bottom, transparent, black 5%, black 100%),
            linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: 
            linear-gradient(to bottom, transparent, black 5%, black 100%),
            linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
    .habitom-intro::before {
        height: 100px;
    }
    .habitom-intro::after {
        height: 40px;
    }
}

.habitom-hero {
    position: relative;
    min-height: 100vh;
    padding: 100px 0 110px;
    overflow: hidden;
}

.habitom-ambient {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}





.habitom-ambient-1 {
    width: 280px;
    height: 280px;
    left: -60px;
    top: 100px;
    background: radial-gradient(circle, rgba(54, 165, 255, 0.03) 0%, rgba(54, 165, 255, 0) 70%);
}

.habitom-ambient-2 {
    width: 320px;
    height: 320px;
    right: -60px;
    top: 40px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, rgba(139, 92, 246, 0) 70%);
}


.habitom-ambient-3 {
    width: 380px;
    height: 380px;
    bottom: -100px;
    right: 20%;
    background: radial-gradient(circle, rgba(0, 235, 190, 0.02) 0%, rgba(0, 235, 190, 0) 70%);
}


.habitom-grid-line {
    position: absolute;
    background: rgba(0, 0, 0, 0.03);
    pointer-events: none;
}

.habitom-grid-line-1 {
    width: 1px;
    height: 72%;
    left: 16%;
    top: 14%;
}

.habitom-grid-line-2 {
    width: 42%;
    height: 1px;
    right: 0;
    top: 28%;
}

.habitom-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.habitom-copy {
    max-width: 620px;
}

.habitom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    color: #64748b;
    margin-bottom: 1.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.habitom-hero-title {
    font-size: clamp(2.6rem, 5.4vw, 5rem);
    line-height: 1.2;
    letter-spacing: 0.03em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.75rem;
}

.habitom-hero-desc {
    color: #475569;
    font-size: 1.02rem;
    line-height: 2.1;
    letter-spacing: 0.02em;
    max-width: 580px;
}

.habitom-chip-row {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.habitom-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #334155;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}


.habitom-visual {
    position: relative;
    min-height: 640px;
    z-index: 1;
}

.habitom-visual::before,
.habitom-visual::after {
    content: '';
    position: absolute;
    top: 15%;
    width: 450px;
    height: 550px;
    background: radial-gradient(ellipse at center, rgba(147, 197, 253, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.habitom-visual::before {
    left: -120px;
    transform-origin: right center;
}

.habitom-visual::after {
    right: -120px;
    transform-origin: left center;
}

@keyframes wingBreath {
    0% {
        opacity: 0.2;
        transform: scale(0.98);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

.habitom-device {
    position: relative;
    z-index: 5;
    width: min(100%, 500px);
    margin-left: auto;
    padding: 1.15rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid #1a1a1a;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    animation: habitomDeviceFloat 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    will-change: transform;
}




@media screen and (max-width: 1024px) {

}








.habitom-device-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0.9rem 1rem;
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    color: #64748b;
}

.habitom-device-body {
    border-radius: 24px;
    padding: 1.2rem;
    background: #fdfdfe;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.habitom-mini-card {
    border-radius: 22px;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    text-align: center;
}

.habitom-mini-card-large {
    margin-bottom: 1rem;
}

.mini-label {
    font-family: var(--font-en);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: #94a3b8;
    margin-bottom: 0.7rem;
}

.habitom-mini-card strong {
    display: inline-block;
    font-size: 2.15rem;
    line-height: 1.1;
    color: #1e293b;
    margin-bottom: 0.55rem;
    font-weight: 600;
}

.habitom-device-grid .habitom-mini-card strong {
    width: 1ch;
    overflow: hidden;
    text-indent: -1.02ch;
    vertical-align: baseline;
}

.habitom-mini-card em {
    display: block;
    font-style: normal;
    color: #94a3b8;
    font-size: 0.88rem;
}

.mini-bars {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 70px;
    margin-top: 0.6rem;
}

.mini-bars span {
    display: block;
    width: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #93c5fd, #c7d2fe);
    transform-origin: bottom;
    animation: habitomBarGrow 5s cubic-bezier(0.6, 0.05, 0.4, 0.95) infinite;
    will-change: transform;
}

.mini-bars span:nth-child(1) {
    height: 28px;
    animation-delay: 0s;
}

.mini-bars span:nth-child(2) {
    height: 56px;
    animation-delay: 0.6s;
}

.mini-bars span:nth-child(3) {
    height: 38px;
    animation-delay: 1.2s;
}

.mini-bars span:nth-child(4) {
    height: 65px;
    animation-delay: 1.8s;
}

.mini-bars span:nth-child(5) {
    height: 44px;
    animation-delay: 2.4s;
}

.mini-bars span:nth-child(6) {
    height: 58px;
    animation-delay: 3s;
}

.habitom-device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.habitom-insight {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.02);
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.9;
}

.insight-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7dd3fc, #a5f3fc);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.habitom-float-card {
    position: absolute;
    z-index: 6;
    width: 195px;
    padding: 1.2rem 1.4rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    will-change: transform;
}





.habitom-float-card span {
    display: block;
    font-size: 0;
    width: 22px;
    height: 22px;
    margin-bottom: 0.8rem;
    position: relative;
    color: transparent;
}

.habitom-float-card span::before,
.habitom-float-card span::after {
    content: '';
    position: absolute;
    background-color: #94a3b8;
    opacity: 0.6;
}

/* 分析アイコン - 3本バー */
.card-a span::before {
    bottom: 2px;
    left: 2px;
    width: 3px;
    height: 8px;
    box-shadow: 6px 0 0 #94a3b8, 12px 0 0 #94a3b8;
    background-color: #94a3b8;
}

.card-a span::after {
    bottom: 2px;
    left: 8px;
    width: 3px;
    height: 12px;
    background-color: #94a3b8;
}

/* 継続アイコン - 円弧 */
.card-b span::before {
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #94a3b8;
    background-color: transparent;
}

.card-b span::after {
    top: 0;
    left: 10px;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
}

/* 記録アイコン - メモ */
.card-c span::before {
    top: 2px;
    left: 2px;
    width: 14px;
    height: 16px;
    border: 1.5px solid #94a3b8;
    border-radius: 2px;
    background-color: transparent;
}

.card-c span::after {
    top: 6px;
    left: 6px;
    width: 6px;
    height: 1.5px;
    box-shadow: 0 4px 0 #94a3b8;
}

.habitom-float-card strong {
    display: block;
    font-size: 1.05rem;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.habitom-float-card p {
    font-size: 0.84rem;
    line-height: 1.7;
    color: #64748b;
}

.card-a {
    left: 0;
    top: 70px;
    animation: habitomFloatCardA 11s ease-in-out infinite;
}

.card-b {
    right: 10px;
    top: 110px;
    animation: habitomFloatCardB 13s ease-in-out infinite;
}

.card-c {
    left: -20px;
    top: 340px;
    animation: habitomFloatCardC 15s ease-in-out infinite;
}

.habitom-overview,
.habitom-premium,
.habitom-flow {
    position: relative;
    padding: 3rem 0 7rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.habitom-overview-panel,
.habitom-flow-panel {
    position: relative;
    border-radius: 36px;
    padding: 3rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}





.habitom-section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.6rem;
}

.habitom-section-head.align-left {
    text-align: left;
    max-width: 100%;
    margin-bottom: 2rem;
}

.habitom-section-title {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.habitom-section-desc {
    color: #475569;
    line-height: 2;
    font-size: 1rem;
}

.habitom-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.habitom-meta-card {
    padding: 1.6rem 1.4rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.habitom-meta-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.05);
}

.habitom-meta-label {
    display: block;
    font-family: var(--font-en);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #94a3b8;
    margin-bottom: 0.7rem;
}

.habitom-meta-value {
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.8;
}

.habitom-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.habitom-feature-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.habitom-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(95, 203, 255, 0.14), rgba(133, 109, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.habitom-feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.06);
}

.habitom-feature-card:hover::before {
    opacity: 1;
}

.page-habitom-v2 .habitom-feature-num {
    display: none;
}

.habitom-feature-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-weight: 600;
    margin-top: 0.4rem;
}

.habitom-feature-card p {
    position: relative;
    z-index: 1;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.95;
}

.habitom-flow-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}

.habitom-step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.habitom-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.habitom-step:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.05);
}

.habitom-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0;
    position: relative;
}

.habitom-step span::before,
.habitom-step span::after {
    content: '';
    position: absolute;
    background-color: #94a3b8;
}

/* 記録アイコン - ペン/チェック */
.habitom-step:nth-child(1) span::before {
    width: 10px;
    height: 1.5px;
    transform: rotate(45deg);
    top: 22px;
    left: 17px;
}

.habitom-step:nth-child(1) span::after {
    width: 5px;
    height: 1.5px;
    transform: rotate(-45deg);
    top: 24px;
    left: 14px;
}

/* 傾向アイコン - 折れ線 */
.habitom-step:nth-child(2) span::before {
    width: 14px;
    height: 1.5px;
    transform: rotate(-30deg);
}

.habitom-step:nth-child(2) span::after {
    width: 8px;
    height: 1.5px;
    transform: rotate(45deg);
    top: 24px;
    left: 15px;
}

/* 整えるアイコン - ドット/スライダー */
.habitom-step:nth-child(3) span::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 10px 0 0 #94a3b8, -10px 0 0 #94a3b8;
}

.habitom-step h3 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.habitom-step p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.9;
}

.page-habitom-v2 .footer {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

.page-habitom-v2 .footer-logo,
.page-habitom-v2 .footer-group-title {
    color: #1a1a1a;
}

.page-habitom-v2 .footer-links a {
    color: #64748b;
}

.page-habitom-v2 .footer-links a:hover {
    color: #1a1a1a;
}

.page-habitom-v2 .footer-copy {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    color: #94a3b8;
}

@media screen and (max-width: 1100px) {
    .habitom-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .habitom-copy {
        max-width: 100%;
    }

    .habitom-visual {
        min-height: 620px;
    }

    .habitom-device {
        margin: 0 auto;
    }

    .habitom-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .habitom-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .habitom-flow-panel {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .page-habitom-v2 .header {
        padding: 1.4rem 5vw;
    }

    .habitom-hero {
        padding: 80px 0 80px;
        min-height: auto;
    }

    .habitom-hero-title {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .habitom-badge {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .habitom-hero-desc {
        font-size: 0.95rem;
        line-height: 1.95;
    }

    .habitom-visual {
        min-height: 560px;
    }

    .habitom-visual::before,
    .habitom-visual::after {
        width: 300px;
        height: 400px;
        top: 10%;
    }

    .habitom-visual::before {
        left: -80px;
    }

    .habitom-visual::after {
        right: -80px;
    }

    .habitom-device {
        width: 100%;
        padding: 0.9rem;
        animation: habitomDeviceFloat 9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    }

    .habitom-device-grid {
        grid-template-columns: 1fr;
    }

    .mini-bars span {
        animation: habitomBarGrow 4s cubic-bezier(0.6, 0.05, 0.4, 0.95) infinite;
    }

    .habitom-float-card {
        width: 160px;
        padding: 0.95rem;
    }

    .card-a {
        left: 0;
        top: 30px;
        animation: habitomFloatCardA 11s ease-in-out infinite !important;
    }

    .card-b {
        right: 0;
        top: 90px;
        animation: habitomFloatCardB 13s ease-in-out infinite !important;
    }

    .card-c {
        left: -5px;
        top: 300px;
        animation: habitomFloatCardC 15s ease-in-out infinite !important;
    }

    .habitom-overview,
    .habitom-premium,
    .habitom-flow {
        padding: 2rem 0 5rem;
    }

    .habitom-overview-panel,
    .habitom-flow-panel {
        padding: 2rem 1.3rem;
        border-radius: 28px;
    }

    .habitom-section-title {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }

    .habitom-meta-grid,
    .habitom-feature-grid {
        grid-template-columns: 1fr;
    }

    .habitom-step {
        grid-template-columns: 56px 1fr;
        padding: 1.2rem;
    }

    .habitom-step span {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .habitom-grid-line-1,
    .habitom-grid-line-2 {
        display: none;
    }
}


/* Logo Font Fix: Ensure the header logo consistently uses system serif italic (Georgia stack) */
.header .logo,
.header .logo a {
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: 0.035em !important;
}

/* Habitom Bottom Visual */
.habitom-bottom-visual {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background-color: var(--bg-color);
}

.habitom-bottom-visual-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    justify-content: flex-start;
}

.habitom-bottom-image-wrapper {
    position: relative;
    display: inline-block;
}

.habitom-bottom-policy-link {
    position: absolute;
    right: 15px;
    bottom: 20px;
    font-size: 0.75rem;
    color: #A0A0A0;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    transition: color 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.habitom-bottom-policy-link:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.habitom-bottom-image {
    width: 420px;
    height: auto;
    border-radius: 16px;
    margin-left: 20px;
}

@media screen and (max-width: 1024px) {
    .habitom-bottom-image {
        width: 320px;
    }
}

@media screen and (max-width: 768px) {
    .habitom-bottom-policy-link {
        right: 12px;
        bottom: 12px;
        font-size: 0.65rem;
    }
    .habitom-bottom-image {
        width: 240px;
        margin-left: 10px;
    }
}

/* Habitom Privacy Policy Page Specific Styles */
.page-habitom-privacy,
.page-habitom-privacy .page-main,
.page-habitom-privacy .page-content,
.page-habitom-privacy .doc-content {
    background: #ffffff !important;
}

.page-habitom-privacy .page-header {
    background-color: #ffffff !important;
}

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

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }

    .page-habitom-v2 {
        animation: none !important;
    }

    .habitom-ambient {
        animation: none !important;
    }

    .habitom-device {
        animation: habitomDeviceFloatMinimal 10s ease-in-out infinite !important;
    }

    .mini-bars span {
        animation: habitomBarGrowMinimal 8s ease-in-out infinite !important;
    }

    .card-a {
        animation: habitomFloatCardMinimalA 12s ease-in-out infinite !important;
    }

    .card-b {
        animation: habitomFloatCardMinimalB 14s ease-in-out infinite !important;
    }

    .card-c {
        animation: habitomFloatCardMinimalC 16s ease-in-out infinite !important;
    }
}

/* =========================================================
 *  Animal Shutter Specific Styles (Cinematic Narrative Redesign)
 * ========================================================= */
.page-animal-shutter {
    background-color: #0b0705;
    color: #F3DFD3;
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
}

/* Header/Footer Resets for AS */
.page-animal-shutter .header { background-color: rgba(11, 7, 5, 0.85); border-bottom-color: rgba(255, 138, 42, 0.1); backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-animal-shutter .header.scrolled { border-bottom-color: rgba(255, 138, 42, 0.3); }
.page-animal-shutter .logo a, .page-animal-shutter .nav-contact, .page-animal-shutter .dropdown-trigger { color: #F3DFD3; }
.page-animal-shutter .dropdown-content { background: #150c07; border-color: #332820; }
.page-animal-shutter .dropdown-content a { color: #C6C6C7; }
.page-animal-shutter .dropdown-content a:hover { background: #0b0705; color: #FF8A2A; }
.page-animal-shutter .footer { border-top-color: rgba(255,138,42,0.15); background-color: #0b0705; }
.page-animal-shutter .footer-logo, .page-animal-shutter .footer-group-title { color: #F3DFD3; }
.page-animal-shutter .footer-links a, .page-animal-shutter .footer-copy { color: #C6C6C7; }
.page-animal-shutter .footer-links a:hover { color: #FF8A2A; }
.page-animal-shutter .footer-copy { border-top-color: rgba(255,138,42,0.15); }

/* Typography */
.page-animal-shutter .as-font-accent { font-family: 'Space Grotesk', sans-serif; }

/* Buttons */
.page-animal-shutter .as-btn-primary {
    display: inline-block;
    background-color: #FF8A2A;
    color: #0b0705;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
    letter-spacing: 0.05em;
}
.page-animal-shutter .as-btn-primary:hover {
    background-color: #FFB786;
    transform: translateY(-2px);
}
.page-animal-shutter .as-btn-secondary {
    display: inline-block;
    border: 1px solid rgba(255, 138, 42, 0.4);
    color: #F3DFD3;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    letter-spacing: 0.05em;
}
.page-animal-shutter .as-btn-secondary:hover {
    background-color: rgba(255, 138, 42, 0.1);
}

/* 1. Hero & Video Narrative Layout */
.page-animal-shutter .as-hero-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 140px 5vw 2rem;
    box-sizing: border-box;
    text-align: center;
}
.page-animal-shutter .as-hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    flex-shrink: 0;
}
.page-animal-shutter .as-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 1rem;
    color: #FFF;
    letter-spacing: -0.02em;
}
.page-animal-shutter .as-hero-copy {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #FF8A2A;
    margin-bottom: 1rem;
}
.page-animal-shutter .as-hero-desc {
    color: #c6c6c7;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.page-animal-shutter .as-hero-visual-wrapper {
    flex-grow: 1;
    width: 100%;
    max-width: 800px;
    max-height: 55vh;
    aspect-ratio: 16/9;
    background: #150c07;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,138,42,0.1);
}
.page-animal-shutter .as-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

.page-animal-shutter .as-hero-video-mobile {
    display: none;
}
.page-animal-shutter .as-hero-video-desktop {
    display: block;
}
.page-animal-shutter .as-video-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0705;
    box-shadow: inset 0 0 0 1px rgba(255,138,42,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.page-animal-shutter .as-video-fallback::before {
    content: "";
    width: 200px;
    height: 280px;
    border: 1px solid rgba(255,138,42,0.15);
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(255,138,42,0.08) 0%, #0b0705 100%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.page-animal-shutter .as-video-fallback::after {
    content: "...";
    position: absolute;
    margin-top: 180px;
    background: #FFF;
    color: #050301;
    padding: 0.8rem 1.5rem;
    border-radius: 20px 20px 20px 4px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    letter-spacing: 0.1em;
}

/* 2. Scroll Story Section */
.page-animal-shutter .as-story-section {
    position: relative;
    width: 100%;
}
.page-animal-shutter .as-sticky-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0b0705;
    z-index: 1;
}

/* Video Narrative Overlays */
.page-animal-shutter .as-video-story-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.page-animal-shutter .as-video-story-item {
    position: absolute;
    bottom: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    width: 90%;
    max-width: 400px;
}
.page-animal-shutter .as-story-section[data-active-state="1"] .as-video-story-item[data-video-step="1"],
.page-animal-shutter .as-story-section[data-active-state="2"] .as-video-story-item[data-video-step="2"],
.page-animal-shutter .as-story-section[data-active-state="3"] .as-video-story-item[data-video-step="3"] {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Re-triggerable Entry Animation */
.page-animal-shutter .as-video-story-item.is-bubble-entering .as-vs-bubble {
    will-change: transform, opacity;
    animation: asBubbleEnter 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    opacity: 1 !important;
}
.page-animal-shutter .as-video-story-item.is-bubble-entering .as-vs-desc {
    will-change: transform, opacity;
    animation: asDescEntry 620ms cubic-bezier(0.2, 0.8, 0.2, 1) 90ms both;
    opacity: 1 !important;
}

@keyframes asBubbleEnter {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes asDescEntry {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-animal-shutter .as-vs-bubble {
    background: #FFF;
    color: #050301;
    padding: 0.8rem 1.5rem;
    border-radius: 24px 24px 24px 6px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom: 0.8rem;
    opacity: 0; /* Hidden by default */
}
.page-animal-shutter .as-vs-desc {
    color: #FFF;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 500;
    opacity: 0; /* Hidden by default */
}

/* Scroll Chapters */
.page-animal-shutter .as-chapters {
    position: relative;
    z-index: 2;
    padding-top: 50vh;
    padding-bottom: 50vh;
    pointer-events: none;
}
.page-animal-shutter .as-chapter {
    height: 100svh;
}

/* Overlays Desktop Adjustment */
@media screen and (min-width: 768px) {
    .page-animal-shutter .as-video-story-item {
        right: 5%;
        bottom: 10%;
        align-items: flex-end;
    }
    .page-animal-shutter .as-vs-bubble {
        border-radius: 24px 24px 6px 24px;
    }
}

/* 3. Mid Statement */
.page-animal-shutter .as-statement-section {
    padding: 20rem 5vw;
    text-align: center;
    background-color: #050301;
}
.page-animal-shutter .as-statement-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-family: 'Shippori Mincho', serif;
    font-weight: 400;
    color: #FF8A2A;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* 3.5. Daily Photo Section */
.page-animal-shutter .as-daily-photo-section {
    padding: 0 5vw 10rem;
    background-color: #050301;
}

.page-animal-shutter .as-daily-photo-sequence {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.page-animal-shutter .as-daily-photo-row {
    width: 100%;
    display: flex;
    min-height: 150vh; /* Provide scroll space for sticky effect */
    align-items: flex-start;
}

.page-animal-shutter .as-daily-photo-row.is-left {
    justify-content: flex-start;
}

.page-animal-shutter .as-daily-photo-row.is-right {
    justify-content: flex-end;
}

.page-animal-shutter .as-daily-photo-card {
    width: 100%;
    max-width: 440px;
    position: sticky;
    top: 25vh; /* Land at comfortable height */
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 5;
}

.page-animal-shutter .as-daily-photo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-animal-shutter .as-daily-photo-bubble {
    position: absolute;
    bottom: 12%;
    left: -25px; /* Moved to left side as requested */
    right: auto;
    background: #FFF;
    color: #050301;
    padding: 0.8rem 1.4rem;
    border-radius: 24px 24px 24px 6px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    white-space: nowrap;
    z-index: 10;
    
    /* Child animation state - Now scroll linked via CSS variables */
    opacity: var(--daily-bubble-opacity, 0);
    transform: translateY(var(--daily-bubble-y, 20px)) scale(var(--daily-bubble-scale, 0.94));
    will-change: opacity, transform;
}

/* Row specific bubble positions */
.page-animal-shutter .as-daily-photo-row.is-left .as-daily-photo-bubble {
    left: -25px;
    right: auto;
    border-radius: 24px 24px 24px 6px;
}

.page-animal-shutter .as-daily-photo-row.is-right .as-daily-photo-bubble {
    left: auto;
    right: -25px;
    border-radius: 24px 24px 6px 24px;
}

@media screen and (max-width: 768px) {
    .page-animal-shutter .as-daily-photo-section {
        padding-bottom: 5rem;
    }
    .page-animal-shutter .as-daily-photo-row {
        min-height: 180vh; /* Increased spacing on mobile for better focus and smoother reveal */
        justify-content: center !important;
    }
    .page-animal-shutter .as-daily-photo-card {
        top: 20vh;
        max-width: 85%;
    }
    .page-animal-shutter .as-daily-photo-row.is-left .as-daily-photo-bubble {
        left: -10px;
        right: auto;
        bottom: 8%;
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    .page-animal-shutter .as-daily-photo-row.is-right .as-daily-photo-bubble {
        left: auto;
        right: -10px;
        bottom: 8%;
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
}

/* 4. Philosophy */
.page-animal-shutter .as-philosophy-section {
    padding: 10rem 5vw;
    background-color: #0b0705;
}
.page-animal-shutter .as-philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.page-animal-shutter .as-philosophy-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    line-height: 1.4;
}
.page-animal-shutter .as-philosophy-desc {
    font-size: 1.1rem;
    color: #c6c6c7;
    line-height: 2;
}

/* 5. Final CTA */
.page-animal-shutter .as-cta-section {
    padding: 15rem 5vw;
    text-align: center;
    background-color: #0b0705;
    border-top: 1px solid rgba(255,138,42,0.1);
}
.page-animal-shutter .as-cta-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: #FFF;
}
.page-animal-shutter .as-cta-desc {
    font-size: 1.2rem;
    color: #c6c6c7;
    margin-bottom: 3rem;
}

/* Reveal Utilities */
.page-animal-shutter .animal-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.page-animal-shutter .animal-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .page-animal-shutter .as-sticky-stage {
        align-items: flex-start;
        overflow: visible;
    }

    .page-animal-shutter .as-statement-section {
        padding: 12rem 5vw;
    }
    
    .page-animal-shutter .as-hero-layout {
        padding-top: 142px;
        padding-bottom: 0.75rem;
        justify-content: flex-start;
        height: 100%;
        min-height: 100svh;
    }

    .page-animal-shutter .as-hero-content {
        margin-bottom: 0.6rem;
    }

    .page-animal-shutter .as-hero-title {
        font-size: clamp(2.1rem, 11vw, 3.0rem);
        margin-bottom: 0.5rem;
    }

    .page-animal-shutter .as-hero-copy {
        margin-bottom: 0.45rem;
    }

    .page-animal-shutter .as-hero-desc {
        margin-bottom: 0.9rem;
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .page-animal-shutter .as-hero-actions {
        margin-top: 0.75rem;
        margin-bottom: 1.75rem;
    }

    .page-animal-shutter .as-btn-primary {
        padding: 0.9rem 2rem;
        font-size: 0.85rem;
    }

    .page-animal-shutter .as-hero-visual-wrapper {
        display: block;
        position: relative;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: clamp(180px, 32svh, 300px);
        min-height: 180px;
        max-height: 32svh;
        aspect-ratio: auto;
        background: #150c07;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 12px 28px rgba(0,0,0,0.45);
    }

    .page-animal-shutter .as-hero-visual-wrapper.animal-reveal,
    .page-animal-shutter .as-hero-visual-wrapper.animal-reveal.is-visible {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .page-animal-shutter .as-hero-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        object-fit: cover;
        z-index: 3;
    }

    .page-animal-shutter .as-hero-video-desktop {
        display: none !important;
    }
    .page-animal-shutter .as-hero-video-mobile {
        display: block !important;
    }

    .page-animal-shutter .as-video-fallback {
        z-index: 1;
    }

    .page-animal-shutter .as-video-story-layer {
        z-index: 4;
    }

    .page-animal-shutter .as-video-story-item {
        bottom: 5%;
        width: 92%;
        opacity: var(--bubble-opacity, 0) !important;
        transform: translateY(var(--bubble-translate, 28px)) scale(var(--bubble-scale, 0.96)) !important;
        transition: none !important;
        will-change: opacity, transform;
    }
    
    .page-animal-shutter .as-story-section[data-active-state="1"] .as-video-story-item[data-video-step="1"],
    .page-animal-shutter .as-story-section[data-active-state="2"] .as-video-story-item[data-video-step="2"],
    .page-animal-shutter .as-story-section[data-active-state="3"] .as-video-story-item[data-video-step="3"] {
        opacity: var(--bubble-opacity, 0) !important;
        transform: translateY(var(--bubble-translate, 28px)) scale(var(--bubble-scale, 0.96)) !important;
    }

    .page-animal-shutter .as-vs-bubble,
    .page-animal-shutter .as-vs-desc {
        opacity: 1 !important;
    }

    .page-animal-shutter .as-vs-bubble {
        white-space: normal;
        text-align: center;
    }

    /* Disable animations on mobile for scroll-linked control */
    .page-animal-shutter .as-video-story-item.is-bubble-entering .as-vs-bubble,
    .page-animal-shutter .as-video-story-item.is-bubble-entering .as-vs-desc {
        animation: none !important;
    }

    @keyframes asBubbleEnterMobile {
        0% {
            opacity: 0;
            transform: translateY(22px) scale(0.94);
        }
        60% {
            opacity: 1;
            transform: translateY(4px) scale(1);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes asDescEntryMobile {
        0% {
            opacity: 0;
            transform: translateY(16px);
        }
        65% {
            opacity: 1;
            transform: translateY(3px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .page-animal-shutter * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* =========================================================
 *  Animal Shutter Legal Pages
 * ========================================================= */
.as-legal-main {
    padding-top: 140px;
    padding-bottom: 8rem;
    background-color: #0b0705;
    min-height: 100vh;
}
.as-legal-hero {
    margin-bottom: 5rem;
    text-align: center;
}
.as-legal-title {
    font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #FF8A2A;
    margin-bottom: 1rem;
}
.as-legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5vw;
}
.as-legal-body {
    color: #C6C6C7;
    line-height: 1.8;
}
.as-legal-body h2 {
    font-size: 1.3rem;
    color: #F3DFD3;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #FF8A2A;
    padding-left: 1.2rem;
}
.as-legal-body p {
    margin-bottom: 1.5rem;
}
.as-legal-links {
    margin-top: 6rem;
    text-align: center;
    border-top: 1px solid rgba(255, 138, 42, 0.1);
    padding-top: 4rem;
}

/* Footer Legal Links for AS Index */
.as-footer-legal-links {
    text-align: center;
    padding: 4rem 0 6rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    background-color: #0b0705;
}
.as-footer-legal-links a {
    color: #C6C6C7;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}
.as-footer-legal-links a:hover {
    color: #FF8A2A;
}

@media screen and (max-width: 768px) {
    .as-legal-main {
        padding-top: 120px;
        padding-bottom: 5rem;
    }
    .as-footer-legal-links {
        padding: 3rem 0 5rem;
        gap: 1.5rem;
        font-size: 0.75rem;
    }
}

/* --- Animal Shutter Legal Pages (Scoped Implementation) --- */
.page-animal-shutter .as-legal-main {
    padding-top: 160px;
    padding-bottom: 10rem;
    background-color: #0b0705;
    min-height: 100vh;
}
.page-animal-shutter .as-legal-hero {
    margin-bottom: 6rem;
    text-align: center;
    padding: 0 5vw;
}
.page-animal-shutter .as-legal-title {
    font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    color: #FFF;
    margin-bottom: 1rem;
}
.page-animal-shutter .as-legal-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    color: #FF8A2A;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.page-animal-shutter .as-legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 5vw;
}
.page-animal-shutter .as-legal-body {
    color: #C6C6C7;
    line-height: 2.0;
    font-size: 1rem;
}
.page-animal-shutter .as-legal-body h2 {
    font-size: 1.4rem;
    color: #F3DFD3;
    margin-top: 4.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #FF8A2A;
    padding-left: 1.5rem;
    font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif;
}
.page-animal-shutter .as-legal-body p {
    margin-bottom: 2rem;
    white-space: pre-wrap;
}
.page-animal-shutter .as-legal-body ol {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}
.page-animal-shutter .as-legal-body li {
    margin-bottom: 1rem;
}
.page-animal-shutter .as-legal-back-nav {
    margin-top: 8rem;
    text-align: center;
    border-top: 1px solid rgba(255, 138, 42, 0.1);
    padding-top: 4rem;
}
.page-animal-shutter .as-legal-back-nav a {
    color: #FF8A2A;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}
.page-animal-shutter .as-legal-back-nav a:hover {
    opacity: 0.7;
}

/* Footer Legal Links for AS Index */
.page-animal-shutter .as-footer-legal-links {
    text-align: center;
    padding: 4rem 0 6rem;
    background-color: #0b0705;
    border-top: 1px solid rgba(255, 138, 42, 0.05);
}
.page-animal-shutter .as-footer-legal-links a {
    font-size: 0.75rem;
    color: #C6C6C7;
    margin: 0 1.5rem;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    display: inline-block;
}
.page-animal-shutter .as-footer-legal-links a:hover {
    color: #FF8A2A;
}

@media screen and (max-width: 768px) {
    .page-animal-shutter .as-legal-main {
        padding-top: 120px;
    }
    .page-animal-shutter .as-footer-legal-links {
        padding: 3rem 0 5rem;
    }
    .page-animal-shutter .as-footer-legal-links a {
        margin: 0.5rem 1rem;
    }
}

/* First05 LP */
.page-first {
    background: #ffffff;
    color: #0a0a0a;
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    overflow-x: hidden;
}

.page-first .header {
    background-color: rgba(255, 255, 255, 0.94);
}

.page-first .first-main {
    background: #ffffff;
    overflow: hidden;
}

.page-first .ft-section {
    position: relative;
    min-height: 92vh;
    padding: clamp(7rem, 11vw, 11rem) 6vw;
    display: grid;
    align-items: center;
    overflow: hidden;
}

.page-first .ft-continue,
.page-first .ft-auto,
.page-first .ft-record,
.page-first .ft-quiet,
.page-first .ft-final {
    content-visibility: auto;
    contain-intrinsic-size: 820px;
}

.page-first [data-first-reveal] {
    opacity: 0;
    transform: translateY(52px);
    transition:
        opacity 1.05s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.05s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first [data-first-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-kicker {
    margin: 0 0 1.5rem;
    color: rgba(10, 10, 10, 0.48);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.page-first .ft-focus-zone .ft-kicker {
    color: rgba(255, 255, 255, 0.5);
}

.page-first h1,
.page-first h2,
.page-first p {
    margin-top: 0;
}

.page-first .ft-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: clamp(3rem, 8vw, 8rem);
    padding-top: clamp(8rem, 12vw, 12rem);
}

.page-first .ft-hero-copy {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.85s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-hero.is-visible .ft-hero-copy {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-hero h1 {
    color: #050505;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(6rem, 14vw, 13rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.82;
    margin-bottom: 2rem;
}

.page-first .ft-lead {
    color: #111111;
    font-size: clamp(1.55rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 1.2rem;
}

.page-first .ft-text,
.page-first .ft-copy-block p,
.page-first .ft-focus-content p {
    color: #646b70;
    font-size: clamp(1rem, 1.32vw, 1.13rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 2.05;
}

.page-first .ft-timer-panel {
    justify-self: center;
    width: min(100%, 420px);
    min-height: 520px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(10, 10, 10, 0.16);
    border-bottom: 1px solid rgba(10, 10, 10, 0.16);
    opacity: 0;
    transform: translateY(48px);
    transition:
        opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.12s,
        transform 0.9s cubic-bezier(0.19, 1, 0.22, 1) 0.12s;
}

.page-first .ft-hero.is-visible .ft-timer-panel {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-timer-label {
    color: rgba(10, 10, 10, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.page-first .ft-timer-panel strong {
    color: #050505;
    font-family: 'Inter', sans-serif;
    font-size: clamp(4.2rem, 9vw, 8.4rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 0.95;
}

.page-first .ft-timer-panel.is-timer-running strong {
    text-shadow: 0 0 18px rgba(120, 150, 170, 0.28);
    transform: translateY(-2px);
}

.page-first .ft-timer-panel.is-timer-complete strong {
    color: rgba(10, 10, 10, 0.62);
}

.page-first .ft-start-button,
.page-first .ft-button {
    border: 0;
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 2rem;
    border-radius: 999px;
    color: #ffffff;
    background: #080808;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    transition:
        background-color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.page-first .ft-start-button:hover {
    transform: translateY(-1px);
}

.page-first .ft-start-button:disabled {
    cursor: default;
    opacity: 0.82;
    transform: none;
}

.page-first .ft-timer-panel.is-timer-running .ft-start-button {
    background: #1c1c1c;
}

.page-first .ft-timer-panel.is-timer-complete .ft-start-button {
    background: rgba(10, 10, 10, 0.58);
}

.page-first .ft-timer-panel small {
    color: rgba(10, 10, 10, 0.5);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.page-first .ft-focus-zone {
    min-height: 100vh;
    color: #ffffff;
    background: #050505;
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
}

.page-first .ft-focus-word {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(5.8rem, 18vw, 17rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.8;
    opacity: 0;
    transform: translateY(44px);
    transition:
        opacity 0.85s ease,
        transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-focus-zone.is-visible .ft-focus-word {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-focus-content {
    width: min(780px, 100%);
    margin: 4rem auto 0;
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.85s ease 0.08s,
        transform 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.08s;
}

.page-first .ft-focus-zone.is-visible .ft-focus-content {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-focus-content h2,
.page-first .ft-focus-content p {
    color: #ffffff;
}

.page-first .ft-focus-content h2,
.page-first .ft-copy-block h2 {
    font-size: clamp(2.3rem, 5.2vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin-bottom: 2rem;
}

.page-first .ft-focus-line {
    position: relative;
    width: min(900px, 100%);
    margin: 4.4rem auto 0;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1.3rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 3vw, 2.6rem);
    font-weight: 700;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease 0.18s,
        transform 0.75s cubic-bezier(0.19, 1, 0.22, 1) 0.18s;
}

.page-first .ft-focus-line i {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.52);
    transform: scaleX(0.16);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) 0.22s;
}

.page-first .ft-focus-line b {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    transform: translateX(-34vw);
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) 0.26s;
}

.page-first .ft-focus-zone.is-visible .ft-focus-line {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-focus-zone.is-visible .ft-focus-line i {
    transform: scaleX(1);
}

.page-first .ft-focus-zone.is-visible .ft-focus-line b {
    transform: translateX(0);
}

.page-first .ft-continue,
.page-first .ft-auto,
.page-first .ft-record,
.page-first .ft-quiet,
.page-first .ft-final {
    background: #ffffff;
}

.page-first .ft-copy-block {
    width: min(860px, 100%);
    margin: 0 auto;
}

.page-first .ft-big-steps,
.page-first .ft-sequence {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.2rem, 4vw, 4.2rem);
    margin-top: clamp(3.5rem, 7vw, 6rem);
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.page-first .ft-big-steps {
    --flow-progress: 0;
    --flow-light-x: -72%;
    --flow-light-y: -72%;
}

.page-first .ft-sequence {
    --auto-progress: 0;
    --auto-light-x: -72%;
    --auto-light-y: -72%;
}

.page-first .ft-big-steps::before,
.page-first .ft-sequence::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(10, 10, 10, 0.24);
    opacity: 0;
    transform: scaleX(0.28);
    transform-origin: left center;
    transition:
        opacity 0.75s ease,
        transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-big-steps::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 34%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 150, 170, 0.12), rgba(10, 10, 10, 0.42), rgba(120, 150, 170, 0.12), transparent);
    opacity: 0;
    transform: translateX(-120%) scaleX(0.35);
    transform-origin: left center;
    transition:
        opacity 0.45s ease 0.22s,
        transform 1.55s cubic-bezier(0.19, 1, 0.22, 1) 0.22s;
}

.page-first .ft-flow-light,
.page-first .ft-auto-light {
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    z-index: 2;
    height: 17px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    transform: translateZ(0);
    transition: opacity 0.35s ease 0.32s;
}

.page-first .ft-flow-light::before,
.page-first .ft-auto-light::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 50%, rgba(245, 250, 255, 0.98) 0 3%, rgba(120, 170, 210, 0.72) 8%, rgba(40, 70, 90, 0.5) 16%, transparent 27%),
        linear-gradient(90deg, transparent 0%, transparent 16%, rgba(120, 170, 210, 0.48) 27%, rgba(40, 70, 90, 0.56) 34%, rgba(120, 170, 210, 0.48) 41%, transparent 54%, transparent 100%);
    filter: drop-shadow(0 0 10px rgba(120, 170, 210, 0.32));
    transform: translate3d(var(--flow-light-x), 0, 0);
    transition: transform 0.08s linear;
}

.page-first .ft-auto-light::before {
    transform: translate3d(var(--auto-light-x), 0, 0);
}

.page-first .ft-continue.is-visible .ft-flow-light {
    opacity: 1;
}

.page-first .ft-auto.is-visible .ft-auto-light {
    opacity: 1;
}

.page-first .ft-big-steps span,
.page-first .ft-sequence span {
    position: relative;
    display: block;
    min-width: 0;
    padding-top: 1.6rem;
    opacity: 0;
    transform: translateY(42px);
    transition:
        opacity 0.8s ease,
        transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-big-steps span:nth-of-type(1) {
    grid-column: 1;
}

.page-first .ft-big-steps span:nth-of-type(2) {
    grid-column: 2;
}

.page-first .ft-big-steps span:nth-of-type(3) {
    grid-column: 3;
}

.page-first .ft-sequence span:nth-of-type(1) {
    grid-column: 1;
}

.page-first .ft-sequence span:nth-of-type(2) {
    grid-column: 2;
}

.page-first .ft-sequence span:nth-of-type(3) {
    grid-column: 3;
}

.page-first .ft-big-steps span::before,
.page-first .ft-sequence span::before {
    content: '';
    position: absolute;
    left: 0;
    top: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #080808;
    transition:
        box-shadow 0.5s ease,
        background-color 0.5s ease;
}

.page-first .ft-big-steps em {
    display: block;
    margin-bottom: 0.85rem;
    color: rgba(10, 10, 10, 0.42);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.page-first .ft-big-steps strong,
.page-first .ft-sequence strong {
    display: block;
    color: #050505;
    font-size: clamp(3rem, 6vw, 6.3rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.9;
    white-space: nowrap;
    transform: translateY(0);
    transition:
        color 0.45s ease,
        text-shadow 0.45s ease,
        transform 0.35s ease;
}

.page-first .ft-continue[data-flow-step="1"] .ft-big-steps span:nth-of-type(1) strong,
.page-first .ft-continue[data-flow-step="2"] .ft-big-steps span:nth-of-type(2) strong,
.page-first .ft-continue[data-flow-step="3"] .ft-big-steps span:nth-of-type(3) strong,
.page-first .ft-auto[data-auto-step="1"] .ft-sequence span:nth-of-type(1) strong,
.page-first .ft-auto[data-auto-step="2"] .ft-sequence span:nth-of-type(2) strong,
.page-first .ft-auto[data-auto-step="3"] .ft-sequence span:nth-of-type(3) strong {
    color: #000000;
    text-shadow: 0 0 18px rgba(120, 170, 210, 0.34);
    transform: translateY(-6px);
}

.page-first .ft-sequence strong {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.page-first .ft-sequence small {
    display: block;
    margin-top: 1rem;
    color: rgba(10, 10, 10, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-first .ft-continue.is-visible .ft-big-steps::before,
.page-first .ft-auto.is-visible .ft-sequence::before {
    opacity: 1;
    transform: scaleX(1);
}

.page-first .ft-continue.is-visible .ft-big-steps::after {
    opacity: 1;
    transform: translateX(292%) scaleX(1);
}

.page-first .ft-continue.is-visible .ft-big-steps span,
.page-first .ft-auto.is-visible .ft-sequence span {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-continue.is-visible .ft-big-steps span:nth-of-type(2),
.page-first .ft-auto.is-visible .ft-sequence span:nth-of-type(2) {
    transition-delay: 0.12s;
}

.page-first .ft-continue.is-visible .ft-big-steps span:nth-of-type(2)::before {
    transition-delay: 0.18s;
}

.page-first .ft-continue.is-visible .ft-big-steps span:nth-of-type(3),
.page-first .ft-auto.is-visible .ft-sequence span:nth-of-type(3) {
    transition-delay: 0.24s;
}

.page-first .ft-continue.is-visible .ft-big-steps span::before {
    box-shadow: 0 0 0 5px rgba(135, 165, 185, 0.1), 0 0 20px rgba(120, 150, 170, 0.28);
}

.page-first .ft-continue.is-visible .ft-big-steps span:nth-of-type(3)::before {
    transition-delay: 0.36s;
}

.page-first .ft-auto {
    grid-template-columns: minmax(0, 1fr);
}

.page-first .ft-record {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.page-first .ft-record-bars {
    --record-progress: 0;
    align-self: center;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: clamp(0.8rem, 1.55vw, 1.35rem);
    height: min(36vw, 340px);
    width: min(560px, 100%);
    padding: 1.6rem 0 2.7rem;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    border-bottom: 1px solid rgba(10, 10, 10, 0.34);
    background:
        repeating-linear-gradient(
            to top,
            transparent 0,
            transparent calc(25% - 1px),
            rgba(10, 10, 10, 0.055) calc(25% - 1px),
            rgba(10, 10, 10, 0.055) 25%
        );
}

.page-first .ft-record-bars span {
    position: relative;
    display: block;
    height: 100%;
    opacity: clamp(0.46, calc(0.46 + (var(--record-progress) * 0.54)), 1);
    transition:
        opacity 0.45s ease;
}

.page-first .ft-record-bars span:nth-child(1) { --bar-delay: 0.02; --bar-speed: 1.85; }
.page-first .ft-record-bars span:nth-child(2) { --bar-delay: 0.1; --bar-speed: 1.65; }
.page-first .ft-record-bars span:nth-child(3) { --bar-delay: 0.06; --bar-speed: 1.45; }
.page-first .ft-record-bars span:nth-child(4) { --bar-delay: 0.16; --bar-speed: 1.72; }
.page-first .ft-record-bars span:nth-child(5) { --bar-delay: 0.12; --bar-speed: 1.48; }
.page-first .ft-record-bars span:nth-child(6) { --bar-delay: 0.22; --bar-speed: 1.82; }
.page-first .ft-record-bars span:nth-child(7) { --bar-delay: 0.18; --bar-speed: 1.6; }

.page-first .ft-record-bars span::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 3px;
    height: calc(var(--bar-mobile, var(--bar-value)) * 100%);
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.68), rgba(10, 10, 10, 0.42));
    opacity: clamp(0.42, calc(0.42 + (var(--bar-progress, 0) * 0.58)), 1);
    transform: translateX(-50%) scaleY(var(--bar-progress, 0.08));
    transform-origin: bottom center;
    transition:
        opacity 0.18s linear,
        transform 0.12s linear,
        background-color 0.35s ease;
}

.page-first .ft-record-bars span:nth-child(6)::before,
.page-first .ft-record-bars span:nth-child(7)::before {
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.78), rgba(10, 10, 10, 0.5));
    box-shadow: 0 0 14px rgba(120, 150, 170, 0.14);
}

.page-first .ft-record-bars em {
    position: absolute;
    left: 50%;
    bottom: -2rem;
    color: rgba(10, 10, 10, 0.58);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    transform: translateX(-50%);
}

.page-first .ft-record-numbers,
.page-first .ft-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3rem;
    border-top: 1px solid rgba(10, 10, 10, 0.16);
    border-bottom: 1px solid rgba(10, 10, 10, 0.16);
}

.page-first .ft-record-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-first .ft-record-numbers span,
.page-first .ft-principles li {
    padding: 1.25rem 1.1rem;
    color: rgba(10, 10, 10, 0.74);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-record-numbers span + span,
.page-first .ft-principles li + li {
    border-left: 1px solid rgba(10, 10, 10, 0.13);
}

.page-first .ft-record-numbers em {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(10, 10, 10, 0.46);
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-style: normal;
    text-transform: uppercase;
}

.page-first .ft-record-numbers strong {
    color: #080808;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.page-first .ft-record.is-visible .ft-record-numbers span,
.page-first .ft-quiet.is-visible .ft-principles li {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-record.is-visible .ft-record-numbers span:nth-child(2),
.page-first .ft-quiet.is-visible .ft-principles li:nth-child(2) {
    transition-delay: 0.1s;
}

.page-first .ft-quiet.is-visible .ft-principles li:nth-child(3) {
    transition-delay: 0.2s;
}

.page-first .ft-quiet::before {
    content: '';
    position: absolute;
    left: 8vw;
    right: 8vw;
    bottom: 16%;
    height: 1px;
    background: rgba(10, 10, 10, 0.16);
    opacity: 0;
    transform: scaleX(1.3);
    transition:
        opacity 0.75s ease,
        transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-quiet.is-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

.page-first .ft-final {
    text-align: center;
}

.page-first .ft-final-time {
    margin: 0 0 1.4rem;
    color: #080808;
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-first .ft-final.is-visible .ft-final-time {
    opacity: 1;
    transform: translateY(0);
}

.page-first .ft-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2.4rem;
}

.page-first .ft-link {
    color: #555552;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.page-first .ft-link:hover {
    opacity: 0.58;
}

.page-first .ft-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin: 2.2rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.page-first .ft-legal-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #666660;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.page-first .ft-legal-links a:hover {
    color: #080808;
    opacity: 0.72;
}

.page-first-legal .first-legal-main {
    min-height: 100vh;
    padding: 12rem 6vw 7rem;
    background:
        linear-gradient(180deg, rgba(247, 247, 244, 0.95), #ffffff 18rem),
        #ffffff;
}

.page-first-legal .first-legal-article {
    width: min(880px, 100%);
    margin: 0 auto;
    color: #151515;
}

.page-first-legal .first-legal-kicker {
    margin: 0 0 1.2rem;
    color: #777771;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.page-first-legal .first-legal-article h1 {
    margin: 0;
    color: #080808;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.22;
}

.page-first-legal .first-legal-date {
    margin: 1.6rem 0 4.2rem;
    color: #696965;
    font-size: 0.95rem;
    font-weight: 500;
}

.page-first-legal .first-legal-article > p,
.page-first-legal .first-legal-article section p,
.page-first-legal .first-legal-article li {
    color: #343431;
    font-size: clamp(0.98rem, 1.7vw, 1.06rem);
    font-weight: 400;
    line-height: 2;
}

.page-first-legal .first-legal-article > p {
    max-width: 760px;
    margin: 2rem 0 4rem;
}

.page-first-legal .first-legal-article section {
    padding: 2.2rem 0;
    border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.page-first-legal .first-legal-article section:last-of-type {
    border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}

.page-first-legal .first-legal-article h2 {
    margin: 0 0 1.1rem;
    color: #080808;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.45;
}

.page-first-legal .first-legal-article section p {
    margin: 0 0 1rem;
}

.page-first-legal .first-legal-article section p:last-child {
    margin-bottom: 0;
}

.page-first-legal .first-legal-article ul {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.page-first-legal .first-legal-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    margin-top: 3rem;
}

.page-first-legal .first-legal-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #080808;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-bottom: 1px solid rgba(10, 10, 10, 0.28);
    transition:
        border-color 0.25s ease,
        opacity 0.25s ease;
}

.page-first-legal .first-legal-nav a:hover {
    border-color: rgba(10, 10, 10, 0.72);
    opacity: 0.68;
}

.page-first .footer {
    position: relative;
    z-index: 2;
    background: #ffffff;
}

@media screen and (max-width: 900px) {
    .page-first .ft-section {
        min-height: auto;
        padding: 8rem 6vw;
    }

    .page-first .ft-hero,
    .page-first .ft-record {
        grid-template-columns: 1fr;
    }

    .page-first .ft-timer-panel {
        justify-self: stretch;
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .page-first .ft-section {
        padding: 6.4rem 5vw;
    }

    .page-first .ft-hero {
        padding-top: 8rem;
        gap: 3rem;
    }

    .page-first .ft-hero h1 {
        font-size: clamp(5rem, 25vw, 7rem);
    }

    .page-first .ft-lead {
        font-size: 1.42rem;
    }

    .page-first .ft-timer-panel {
        min-height: 360px;
    }

    .page-first .ft-timer-panel strong {
        font-size: clamp(4.2rem, 19vw, 5.8rem);
    }

    .page-first .ft-focus-word {
        font-size: clamp(5rem, 24vw, 8rem);
    }

    .page-first .ft-focus-line,
    .page-first .ft-big-steps,
    .page-first .ft-sequence {
        grid-template-columns: 1fr;
    }

    .page-first .ft-big-steps span:nth-of-type(1),
    .page-first .ft-big-steps span:nth-of-type(2),
    .page-first .ft-big-steps span:nth-of-type(3) {
        grid-column: 1;
    }

    .page-first .ft-sequence span:nth-of-type(1),
    .page-first .ft-sequence span:nth-of-type(2),
    .page-first .ft-sequence span:nth-of-type(3) {
        grid-column: 1;
    }

    .page-first .ft-focus-line {
        gap: 1.5rem;
    }

    .page-first .ft-focus-line i,
    .page-first .ft-big-steps::before,
    .page-first .ft-sequence::before {
        transform-origin: top center;
    }

    .page-first .ft-focus-line i {
        width: 1px;
        height: 72px;
        justify-self: start;
        transform: scaleY(0.16);
    }

    .page-first .ft-focus-zone.is-visible .ft-focus-line i {
        transform: scaleY(1);
    }

    .page-first .ft-focus-line b {
        transform: translateY(-72px);
    }

    .page-first .ft-focus-zone.is-visible .ft-focus-line b {
        transform: translateY(0);
    }

    .page-first .ft-big-steps,
    .page-first .ft-sequence {
        gap: 2rem;
    }

    .page-first .ft-big-steps::before,
    .page-first .ft-sequence::before {
        left: 4px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 1px;
        height: auto;
        transform: scaleY(0.28);
    }

    .page-first .ft-big-steps::after {
        left: 4px;
        top: 0;
        width: 1px;
        height: 34%;
        background: linear-gradient(180deg, transparent, rgba(120, 150, 170, 0.18), rgba(10, 10, 10, 0.5), rgba(120, 150, 170, 0.18), transparent);
        transform: translateY(-115%) scaleY(0.42);
        transform-origin: top center;
    }

    .page-first .ft-flow-light,
    .page-first .ft-auto-light {
        left: 4px;
        right: auto;
        top: 0;
        width: 18px;
        height: 100%;
        transform: translateX(-50%);
    }

    .page-first .ft-flow-light::before,
    .page-first .ft-auto-light::before {
        background:
            radial-gradient(circle at 50% 50%, rgba(245, 250, 255, 0.98) 0 3%, rgba(120, 170, 210, 0.74) 8%, rgba(40, 70, 90, 0.54) 16%, transparent 28%),
            linear-gradient(180deg, transparent 0%, transparent 16%, rgba(120, 170, 210, 0.52) 27%, rgba(40, 70, 90, 0.58) 34%, rgba(120, 170, 210, 0.52) 41%, transparent 54%, transparent 100%);
        transform: translate3d(0, var(--flow-light-y), 0);
    }

    .page-first .ft-auto-light::before {
        transform: translate3d(0, var(--auto-light-y), 0);
    }

    .page-first .ft-continue.is-visible .ft-big-steps::before,
    .page-first .ft-auto.is-visible .ft-sequence::before {
        transform: scaleY(1);
    }

    .page-first .ft-continue.is-visible .ft-big-steps::after {
        transform: translateY(292%) scaleY(1);
    }

    .page-first .ft-continue.is-visible .ft-flow-light {
        opacity: 1;
    }

    .page-first .ft-auto.is-visible .ft-auto-light {
        opacity: 1;
    }

    .page-first .ft-big-steps span,
    .page-first .ft-sequence span {
        padding: 0 0 0.4rem 2rem;
    }

    .page-first .ft-big-steps span::before,
    .page-first .ft-sequence span::before {
        top: 0.4rem;
    }

    .page-first .ft-big-steps strong {
        font-size: clamp(3.2rem, 15vw, 4.7rem);
    }

    .page-first .ft-sequence strong {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .page-first .ft-record-bars {
        height: 240px;
        width: 100%;
    }

    .page-first .ft-record-bars span:nth-child(1) { --bar-mobile: .45; }
    .page-first .ft-record-bars span:nth-child(2) { --bar-mobile: .62; }
    .page-first .ft-record-bars span:nth-child(3) { --bar-mobile: .5; }
    .page-first .ft-record-bars span:nth-child(4) { --bar-mobile: .78; }
    .page-first .ft-record-bars span:nth-child(5) { --bar-mobile: .58; }
    .page-first .ft-record-bars span:nth-child(6) { --bar-mobile: .86; }
    .page-first .ft-record-bars span:nth-child(7) { --bar-mobile: .72; }

    .page-first .ft-record-bars span::before {
        width: 3px;
        background: linear-gradient(180deg, rgba(8, 8, 8, 0.74), rgba(10, 10, 10, 0.5));
    }

    .page-first .ft-record-numbers,
    .page-first .ft-principles {
        grid-template-columns: 1fr;
    }

    .page-first .ft-record-numbers span + span,
    .page-first .ft-principles li + li {
        border-left: 0;
        border-top: 1px solid rgba(10, 10, 10, 0.13);
    }

    .page-first .ft-actions {
        flex-direction: column;
        gap: 0;
    }

    .page-first .ft-legal-links {
        margin-top: 1.8rem;
        gap: 0.4rem 1.1rem;
    }

    .page-first-legal .first-legal-main {
        padding: 9rem 5vw 5.5rem;
    }

    .page-first-legal .first-legal-date {
        margin-bottom: 3rem;
    }

    .page-first-legal .first-legal-article > p {
        margin: 1.5rem 0 3rem;
    }

    .page-first-legal .first-legal-article section {
        padding: 1.7rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-first [data-first-reveal],
    .page-first .ft-hero-copy,
    .page-first .ft-timer-panel,
    .page-first .ft-timer-panel strong,
    .page-first .ft-start-button,
    .page-first .ft-focus-word,
    .page-first .ft-focus-content,
    .page-first .ft-focus-line,
    .page-first .ft-focus-line i,
    .page-first .ft-focus-line b,
    .page-first .ft-big-steps::before,
    .page-first .ft-big-steps::after,
    .page-first .ft-flow-light,
    .page-first .ft-flow-light::before,
    .page-first .ft-auto-light,
    .page-first .ft-auto-light::before,
    .page-first .ft-big-steps span,
    .page-first .ft-big-steps strong,
    .page-first .ft-sequence::before,
    .page-first .ft-sequence span,
    .page-first .ft-record-bars span,
    .page-first .ft-record-bars span::before,
    .page-first .ft-record-numbers span,
    .page-first .ft-quiet::before,
    .page-first .ft-principles li,
    .page-first .ft-final-time {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .page-first .ft-big-steps::after {
        opacity: 0 !important;
    }

    .page-first .ft-flow-light {
        opacity: 0 !important;
    }

    .page-first .ft-auto-light {
        opacity: 0 !important;
    }

    .page-first .ft-flow-light::before,
    .page-first .ft-auto-light::before {
        transform: none !important;
        transition: none !important;
    }

    .page-first .ft-record-bars span::before {
        transform: translateX(-50%) scaleY(1) !important;
    }
}
