/* ============================================
   AISTERA Corporate Site — style.css
   ============================================ */

:root {
    --c-black: #0a0a0c;
    --c-dark: #121216;
    --c-dark-2: #1a1a20;
    --c-ink: #1c1c22;
    --c-white: #f7f7f5;
    --c-paper: #efefec;
    --c-gray: #8b8b92;
    --c-gray-light: #c9c9cf;
    --c-line: rgba(255, 255, 255, 0.14);
    --c-line-dark: rgba(10, 10, 12, 0.12);
    --c-accent: #aeb6c8;
    --font-serif-en: "Cormorant Garamond", "EB Garamond", serif;
    --font-serif-jp: "Shippori Mincho", serif;
    --font-sans: "Noto Sans JP", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: var(--c-ink);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--c-ink);
    color: var(--c-white);
}

/* ---------- Layout ---------- */
.container {
    width: min(1160px, 92%);
    margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s;
}

.site-header.is-scrolled {
    background: rgba(10, 10, 12, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .container {
    width: min(1320px, 94%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--c-white);
}

.logo svg {
    width: 34px;
    height: 34px;
}

.logo .logo-text {
    font-family: var(--font-serif-en);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.42em;
    transform: translateY(1px);
}

.global-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.global-nav a.nav-link {
    position: relative;
    color: rgba(247, 247, 245, 0.85);
    font-family: var(--font-serif-en);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.18em;
    transition: color 0.3s;
}

.global-nav a.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--c-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease);
}

.global-nav a.nav-link:hover {
    color: var(--c-white);
}

.global-nav a.nav-link:hover::after,
.global-nav a.nav-link.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px;
    border: 1px solid rgba(247, 247, 245, 0.5);
    border-radius: 999px;
    color: var(--c-white);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    overflow: hidden;
    position: relative;
    transition: color 0.4s var(--ease), border-color 0.4s;
}

.btn-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--c-white);
    transform: translateY(101%);
    transition: transform 0.45s var(--ease);
    z-index: 0;
}

.btn-contact:hover {
    color: var(--c-black);
    border-color: var(--c-white);
}

.btn-contact:hover::before {
    transform: translateY(0);
}

.btn-contact span,
.btn-contact .arrow {
    position: relative;
    z-index: 1;
}

.arrow {
    font-family: var(--font-serif-en);
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
    z-index: 110;
}

.nav-toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--c-white);
    transition: 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) {
    top: 17px;
}

.nav-toggle span:nth-child(2) {
    top: 26px;
}

.nav-toggle.is-open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ---------- Hero (top) ---------- */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    background: var(--c-black);
    color: var(--c-white);
    overflow: hidden;
    display: flex;
    align-items: center;
}

#three-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1320px, 94%);
    margin-inline: auto;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-serif-en);
    font-weight: 500;
    font-size: clamp(44px, 7.2vw, 96px);
    line-height: 1.12;
    letter-spacing: 0.015em;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line > span {
    display: inline-block;
    transform: translateY(110%);
    animation: riseUp 1.4s var(--ease) forwards;
}

.hero-title .line:nth-child(2) > span {
    animation-delay: 0.15s;
}

@keyframes riseUp {
    to {
        transform: translateY(0);
    }
}

.hero-sub {
    margin-top: 28px;
    font-family: var(--font-serif-jp);
    font-size: clamp(15px, 1.8vw, 20px);
    letter-spacing: 0.3em;
    color: rgba(247, 247, 245, 0.9);
    opacity: 0;
    animation: fadeIn 1.6s 0.7s var(--ease) forwards;
}

.hero-desc {
    margin-top: 36px;
    max-width: 30em;
    font-size: 13.5px;
    line-height: 2.3;
    letter-spacing: 0.1em;
    color: rgba(247, 247, 245, 0.62);
    opacity: 0;
    animation: fadeIn 1.6s 1s var(--ease) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-side {
    position: absolute;
    left: 28px;
    bottom: 42px;
    z-index: 2;
    writing-mode: vertical-rl;
    font-family: var(--font-serif-en);
    font-size: 11px;
    letter-spacing: 0.5em;
    color: rgba(247, 247, 245, 0.4);
}

.scroll-indicator {
    position: absolute;
    right: 40px;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: rgba(247, 247, 245, 0.5);
    font-family: var(--font-serif-en);
    font-size: 11px;
    letter-spacing: 0.35em;
    writing-mode: vertical-rl;
}

.scroll-indicator::after {
    content: "";
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, rgba(247, 247, 245, 0.6), transparent);
    animation: scrollLine 2.2s var(--ease) infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ---------- Section primitives ---------- */
.section {
    padding: 130px 0;
    position: relative;
}

.section-label {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 56px;
}

.section-label .en {
    font-family: var(--font-serif-en);
    font-weight: 500;
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1;
    letter-spacing: 0.02em;
}

.section-label .jp {
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--c-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label .jp::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.heading-serif {
    font-family: var(--font-serif-jp);
    font-weight: 500;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.7;
    letter-spacing: 0.12em;
}

.text-block {
    font-size: 14px;
    line-height: 2.4;
    letter-spacing: 0.08em;
    color: #4c4c54;
}

.dark .text-block {
    color: rgba(247, 247, 245, 0.66);
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-serif-en);
    font-size: 15px;
    letter-spacing: 0.18em;
    padding-bottom: 8px;
    border-bottom: 1px solid currentColor;
    transition: gap 0.4s var(--ease), opacity 0.3s;
}

.btn-more:hover {
    gap: 26px;
    opacity: 0.6;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.24s;
}

.reveal-delay-3 {
    transition-delay: 0.36s;
}

/* ---------- Company section (top) ---------- */
.sec-company {
    background: var(--c-black);
    color: var(--c-white);
    overflow: hidden;
}

.sec-company .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.globe-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin-left: auto;
}

.globe-core {
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, #5e6470 0%, #2c2f38 38%, #101116 72%, #07070a 100%);
    box-shadow:
        inset -28px -24px 60px rgba(0, 0, 0, 0.8),
        0 0 90px rgba(160, 170, 195, 0.18);
}

.globe-core::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 18% 12% at 62% 38%, rgba(220, 226, 240, 0.5), transparent 70%),
        radial-gradient(ellipse 24% 14% at 40% 56%, rgba(190, 198, 215, 0.35), transparent 70%),
        radial-gradient(ellipse 14% 10% at 56% 66%, rgba(200, 206, 225, 0.3), transparent 70%);
    filter: blur(2px);
}

.globe-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(190, 198, 218, 0.18);
    animation: spinSlow 40s linear infinite;
}

.globe-ring.r2 {
    inset: -7%;
    border-color: rgba(190, 198, 218, 0.1);
    animation-duration: 65s;
    animation-direction: reverse;
}

.globe-ring::before {
    content: "";
    position: absolute;
    top: 12%;
    left: 80%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #dfe4f0;
    box-shadow: 0 0 12px 3px rgba(210, 218, 240, 0.7);
}

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

/* ---------- Service section (top) ---------- */
.sec-service {
    background: var(--c-paper);
}

.service-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    margin-bottom: 90px;
    align-items: center;
}

/* hub diagram */
.hub-diagram {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 320px;
}

.hub-core {
    flex: none;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff, #dfe0e6 60%, #c9cbd4);
    box-shadow: 0 18px 50px rgba(20, 20, 30, 0.18), inset 0 -8px 24px rgba(20, 20, 30, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 13px;
    letter-spacing: 0.1em;
    z-index: 2;
}

.hub-core .en {
    font-family: var(--font-serif-en);
    font-size: 17px;
    letter-spacing: 0.18em;
}

.hub-nodes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 56px;
    position: relative;
}

.hub-nodes::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 56px;
    height: 1px;
    background: rgba(20, 20, 30, 0.25);
}

.hub-node {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.12em;
    background: #fff;
    border: 1px solid rgba(20, 20, 30, 0.08);
    border-radius: 999px;
    padding: 9px 22px;
    width: fit-content;
    box-shadow: 0 6px 18px rgba(20, 20, 30, 0.06);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.hub-node:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 26px rgba(20, 20, 30, 0.12);
}

.hub-node::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-ink);
}

.hub-node:nth-child(odd) {
    margin-left: 24px;
}

/* service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(20, 20, 30, 0.07);
    padding: 44px 36px 40px;
    position: relative;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(20, 20, 30, 0.12);
}

.service-card .num {
    font-family: var(--font-serif-en);
    font-size: 44px;
    font-weight: 500;
    line-height: 1;
    color: #d4d5db;
    margin-bottom: 22px;
    transition: color 0.4s;
}

.service-card:hover .num {
    color: var(--c-ink);
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-card p {
    font-size: 13px;
    line-height: 2.2;
    color: #5a5a62;
    flex: 1;
}

.service-card .btn-more {
    margin-top: 28px;
    font-size: 13px;
}

/* ---------- AIZOO section ---------- */
.sec-aizoo {
    background: linear-gradient(180deg, var(--c-dark) 0%, var(--c-black) 100%);
    color: var(--c-white);
    overflow: hidden;
}

.aizoo-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.aizoo-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif-en);
    font-size: 30px;
    letter-spacing: 0.24em;
}

.aizoo-logo .mark {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(247, 247, 245, 0.5);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
}

.aizoo-tag {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--c-gray);
}

.sec-aizoo .grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: center;
    margin-top: 50px;
}

.aizoo-points {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.aizoo-point {
    display: flex;
    gap: 20px;
    padding: 22px 4px;
    border-top: 1px solid var(--c-line);
    font-size: 13.5px;
    line-height: 2;
    color: rgba(247, 247, 245, 0.78);
    align-items: baseline;
}

.aizoo-point:last-child {
    border-bottom: 1px solid var(--c-line);
}

.aizoo-point .n {
    font-family: var(--font-serif-en);
    font-size: 15px;
    letter-spacing: 0.1em;
    color: var(--c-gray);
    flex: none;
}

/* dashboard mock */
.dash {
    background: #15151a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    font-size: 10px;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.8s var(--ease);
}

.dash:hover {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.dash-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.dash-bar .ttl {
    margin-left: 10px;
    letter-spacing: 0.2em;
    color: rgba(247, 247, 245, 0.5);
    font-family: var(--font-serif-en);
    font-size: 11px;
}

.dash-body {
    display: grid;
    grid-template-columns: 64px 1fr 1fr;
    min-height: 280px;
}

.dash-side {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.dash-side i {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
}

.dash-side i.on {
    background: rgba(255, 255, 255, 0.3);
}

.dash-main {
    padding: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-kpi {
    display: flex;
    gap: 12px;
}

.dash-kpi div {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px;
    color: rgba(247, 247, 245, 0.7);
    letter-spacing: 0.08em;
}

.dash-kpi b {
    display: block;
    font-size: 17px;
    font-family: var(--font-serif-en);
    color: #fff;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.dash-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    min-height: 110px;
}

.dash-chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dash-right {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-right .row {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.dash-right .row::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.22);
    width: var(--w, 50%);
}

.dash-right .lbl {
    letter-spacing: 0.18em;
    color: rgba(247, 247, 245, 0.45);
    font-family: var(--font-serif-en);
    font-size: 10px;
    margin-bottom: 2px;
}

/* ---------- News section ---------- */
.sec-news {
    background: var(--c-white);
}

.sec-news .grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.news-list {
    border-top: 1px solid var(--c-line-dark);
}

.news-item {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 24px 8px;
    border-bottom: 1px solid var(--c-line-dark);
    transition: background 0.3s, padding-left 0.4s var(--ease);
}

.news-item:hover {
    background: rgba(10, 10, 12, 0.03);
    padding-left: 18px;
}

.news-item .date {
    font-family: var(--font-serif-en);
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--c-gray);
    flex: none;
    width: 92px;
}

.news-item .cat {
    flex: none;
    font-size: 10px;
    letter-spacing: 0.16em;
    border: 1px solid rgba(10, 10, 12, 0.3);
    padding: 4px 12px;
    min-width: 110px;
    text-align: center;
}

.news-item .title {
    font-size: 13.5px;
    letter-spacing: 0.06em;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item .arrow {
    color: var(--c-gray);
    transition: transform 0.4s var(--ease);
}

.news-item:hover .arrow {
    transform: translateX(6px);
}

/* ---------- Contact CTA ---------- */
.sec-contact-cta {
    position: relative;
    background: var(--c-black);
    color: var(--c-white);
    padding: 150px 0;
    overflow: hidden;
}

.cta-waves {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    pointer-events: none;
}

.sec-contact-cta .inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 52px;
    border: 1px solid rgba(247, 247, 245, 0.55);
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.18em;
    position: relative;
    overflow: hidden;
    transition: color 0.45s var(--ease);
}

.btn-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--c-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.btn-cta:hover {
    color: var(--c-black);
}

.btn-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-cta span,
.btn-cta .arrow {
    position: relative;
    z-index: 1;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-black);
    color: var(--c-white);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 90px 0 36px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 70px;
}

.footer-brand .logo {
    margin-bottom: 30px;
}

.footer-addr {
    font-size: 12px;
    line-height: 2.2;
    color: rgba(247, 247, 245, 0.55);
    font-style: normal;
}

.footer-col h4 {
    font-family: var(--font-serif-en);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.2em;
    margin-bottom: 22px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgba(247, 247, 245, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.footer-col a::after {
    content: "→";
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    color: var(--c-white);
}

.footer-col a:hover::after {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(247, 247, 245, 0.45);
}

/* ---------- Subpage hero ---------- */
.page-hero {
    position: relative;
    background: var(--c-black);
    color: var(--c-white);
    padding: 200px 0 110px;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 10%, rgba(120, 130, 160, 0.22), transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 100%, rgba(90, 98, 125, 0.16), transparent 60%);
}

.page-hero .stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 12% 24%, rgba(255, 255, 255, 0.8), transparent 50%),
        radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, 0.5), transparent 50%),
        radial-gradient(1.5px 1.5px at 44% 36%, rgba(255, 255, 255, 0.65), transparent 50%),
        radial-gradient(1px 1px at 58% 76%, rgba(255, 255, 255, 0.4), transparent 50%),
        radial-gradient(1px 1px at 70% 18%, rgba(255, 255, 255, 0.7), transparent 50%),
        radial-gradient(1.5px 1.5px at 84% 52%, rgba(255, 255, 255, 0.55), transparent 50%),
        radial-gradient(1px 1px at 92% 84%, rgba(255, 255, 255, 0.45), transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: rgba(247, 247, 245, 0.5);
    margin-bottom: 36px;
    font-family: var(--font-serif-en);
}

.breadcrumb a:hover {
    color: var(--c-white);
}

.page-hero .en {
    display: block;
    font-family: var(--font-serif-en);
    font-weight: 500;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.page-hero .jp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 0.26em;
    color: rgba(247, 247, 245, 0.65);
}

.page-hero .jp::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

/* ---------- Generic content blocks (subpages) ---------- */
.lead-block {
    max-width: 720px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.def-table {
    width: 100%;
    border-collapse: collapse;
}

.def-table th,
.def-table td {
    text-align: left;
    padding: 26px 12px;
    border-bottom: 1px solid var(--c-line-dark);
    font-weight: 400;
    vertical-align: top;
    font-size: 14px;
    line-height: 2;
}

.def-table th {
    width: 200px;
    letter-spacing: 0.18em;
    color: var(--c-gray);
    font-size: 12.5px;
    white-space: nowrap;
}

.philosophy-card {
    background: var(--c-dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 50px;
    position: relative;
}

.philosophy-card .ph-label {
    font-family: var(--font-serif-en);
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--c-gray);
    margin-bottom: 24px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    border-top: 1px solid var(--c-line);
    padding-top: 28px;
}

.value-item .v-num {
    font-family: var(--font-serif-en);
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--c-gray);
}

.value-item h4 {
    font-family: var(--font-serif-jp);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin: 14px 0 12px;
}

.value-item p {
    font-size: 13px;
    line-height: 2.2;
    color: rgba(247, 247, 245, 0.6);
}

/* service detail */
.service-detail {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    padding: 90px 0;
    border-bottom: 1px solid var(--c-line-dark);
    align-items: start;
}

.service-detail:last-of-type {
    border-bottom: 0;
}

.service-detail .num-big {
    font-family: var(--font-serif-en);
    font-size: 72px;
    line-height: 1;
    color: #d8d9df;
}

.service-detail h3 {
    font-family: var(--font-serif-jp);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 18px 0 8px;
    line-height: 1.8;
}

.service-detail .en-sub {
    font-family: var(--font-serif-en);
    font-size: 13px;
    letter-spacing: 0.24em;
    color: var(--c-gray);
}

.feature-list {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
}

.feature-list li {
    display: flex;
    gap: 18px;
    padding: 18px 4px;
    border-top: 1px solid var(--c-line-dark);
    font-size: 13.5px;
    line-height: 2;
}

.feature-list li:last-child {
    border-bottom: 1px solid var(--c-line-dark);
}

.feature-list li::before {
    content: "—";
    color: var(--c-gray);
    flex: none;
}

/* contact form */
.contact-form {
    max-width: 760px;
}

.form-row {
    margin-bottom: 38px;
}

.form-row label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}

.form-row label .req {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--c-ink);
    padding: 2px 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(10, 10, 12, 0.18);
    transition: border-color 0.3s, box-shadow 0.3s;
    color: var(--c-ink);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.form-row textarea {
    min-height: 180px;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--c-ink);
    box-shadow: 0 0 0 1px var(--c-ink);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 64px;
    background: var(--c-ink);
    color: var(--c-white);
    border: 1px solid var(--c-ink);
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.2em;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.4s var(--ease), color 0.4s;
}

.btn-submit:hover {
    background: transparent;
    color: var(--c-ink);
}

.form-done {
    display: none;
    padding: 50px;
    border: 1px solid var(--c-line-dark);
    text-align: center;
    line-height: 2.4;
}

.form-done.show {
    display: block;
}

.form-done .en {
    font-family: var(--font-serif-en);
    font-size: 28px;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

/* news page list */
.news-page-list .news-item .title {
    white-space: normal;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .global-nav {
        position: fixed;
        inset: 0;
        background: rgba(8, 8, 10, 0.96);
        backdrop-filter: blur(18px);
        flex-direction: column;
        justify-content: center;
        gap: 34px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s var(--ease);
        z-index: 105;
    }

    .global-nav.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .global-nav a.nav-link {
        font-size: 20px;
    }

    .sec-company .grid,
    .service-intro,
    .sec-aizoo .grid,
    .sec-news .grid,
    .split,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 44px;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .globe-visual {
        margin-inline: auto;
    }

    .section {
        padding: 90px 0;
    }

    .hero-side,
    .scroll-indicator {
        display: none;
    }

    .def-table th {
        width: 120px;
    }

    .news-item {
        flex-wrap: wrap;
        gap: 12px;
    }

    .news-item .title {
        flex-basis: 100%;
        white-space: normal;
    }

    .dash {
        transform: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}


.aizoo-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.sec-aizoo .dash {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    display: block;
    width: auto;
    height: 30px;
    object-fit: contain;
}

/* ==============================
   Privacy Policy
============================== */

.sec-privacy {
    background: #f7f7f5;
}

.privacy-lead {
    max-width: 920px;
    margin: 0 auto 56px;
}

.privacy-lead .text-block {
    max-width: none;
    margin: 0;
}

.privacy-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 64px 72px;
    background: #fff;
    border: 1px solid rgba(20, 24, 32, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.06);
}

.privacy-section {
    padding-bottom: 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid rgba(20, 24, 32, 0.08);
}

.privacy-section:last-of-type {
    margin-bottom: 0;
}

.privacy-section h2 {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 0.06em;
    color: #111;
}

.privacy-section p {
    margin: 0;
    font-size: 15px;
    line-height: 2.1;
    letter-spacing: 0.04em;
    color: #4b5563;
}

.privacy-section ul {
    margin: 18px 0 0;
    padding-left: 1.4em;
}

.privacy-section li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: #4b5563;
}

.privacy-section a {
    color: #0b4aa2;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.privacy-contact {
    margin-top: 20px;
    padding: 24px 28px;
    background: #f6f8fb;
    border-radius: 16px;
    border: 1px solid rgba(20, 24, 32, 0.06);
}

.privacy-date {
    margin: 44px 0 0;
    text-align: right;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #6b7280;
}

@media (max-width: 768px) {
    .privacy-lead {
        margin-bottom: 40px;
    }

    .privacy-content {
        padding: 38px 24px;
        border-radius: 18px;
    }

    .privacy-section {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .privacy-section h2 {
        font-size: 18px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 14px;
        line-height: 2;
    }

    .privacy-contact {
        padding: 20px;
    }

    .privacy-date {
        text-align: left;
    }
}
