:root {
    --primary: #1a1a1a;
    --accent: #8b7355;
    --accent-light: #a08060;
    --white: #ffffff;
    --cream: #f7f5f0;
    --cream-dark: #ebe7df;
    --gray-100: #f5f3ef;
    --gray-200: #e8e4dc;
    --gray-300: #d4cfc4;
    --gray-400: #a09a8f;
    --gray-500: #6b6560;
    --gray-600: #4a4540;
    --gray-700: #3a3530;
    --gray-800: #2a2520;
    --gray-900: #1a1510;
    --sumi: #2c2c2c;
    --sumi-light: #4a4a4a
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: Noto Sans JP, system-ui, -apple-system, sans-serif;
    color: var(--sumi);
    background: var(--cream);
    line-height: 1.8;
    font-size: 15px
}

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

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f7f5f0f2;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.header--scrolled {
    box-shadow: 0 2px 20px #0000001a
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center
}

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

.logo-text {
    color: var(--sumi);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .1em;
    font-family: Georgia, serif;
    font-style: italic
}

.logo-sub {
    color: var(--gray-500);
    font-size: 10px;
    letter-spacing: .1em;
    margin-top: 2px;
    font-family: Noto Sans JP, sans-serif
}

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

.nav-links {
    display: flex;
    gap: 28px
}

.nav-link {
    color: var(--sumi);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .05em;
    transition: color .3s;
    font-family: Inter, sans-serif
}

.nav-link-sub {
    display: block;
    font-size: 10px;
    color: var(--gray-500);
    letter-spacing: .08em
}

.nav-link:hover {
    color: var(--accent)
}

.nav-contact {
    background: var(--sumi);
    color: var(--cream);
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    transition: all .3s;
    font-family: Inter, sans-serif;
    box-shadow: 0 4px 20px #8b735533
}

.nav-contact:hover {
    background: var(--sumi-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px #2c2c2c4d
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f7f5f0, #ebe7df, #e8e4dc);
    overflow: hidden;
    padding-top: 80px
}

.scene3d-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.hero-content-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    left: 50%;
    transform: translate(-50%);
    padding: 80px 40px;
    pointer-events: none
}

.hero-content-wrapper--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1
}

.hero-content--bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px
}

.hero-title--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.hero-desc--centered {
    text-align: center
}

.animated-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.logo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.logo-circle svg {
    width: 100%;
    height: 100%
}

.logo-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10
}

.logo-sumie-text {
    width: 80%;
    height: auto
}

.hero-content-wrapper>* {
    pointer-events: auto
}

.hero-content {
    position: relative
}

.hero-eyebrow {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 24px;
    font-family: Inter, sans-serif
}

.hero-title {
    color: var(--sumi);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 32px;
    letter-spacing: .02em
}

.hero-title-highlight {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(139, 115, 85, .4)
}

.hero-desc {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 2;
    margin-bottom: 40px
}

.hero-section-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 16px;
    font-family: Inter, sans-serif
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid var(--sumi);
    color: var(--sumi);
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .1em;
    font-family: Inter, sans-serif;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden
}

.hero-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s ease
}

.hero-btn:hover {
    background: var(--sumi);
    color: var(--cream)
}

.hero-btn:hover:before {
    left: 100%
}

.hero-btn-arrow {
    width: 24px;
    height: 1px;
    background: currentColor;
    position: relative
}

.hero-btn-arrow:after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    transform: rotate(45deg)
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end
}

.hero-big-text {
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--gray-400);
    letter-spacing: -.02em;
    line-height: .85;
    text-align: right;
    font-family: Georgia, serif;
    font-style: italic;
    -webkit-user-select: none;
    user-select: none
}

.section {
    padding: 140px 40px
}

.section-dark {
    background: linear-gradient(180deg, #2a2520, #1a1510);
    color: var(--cream);
    position: relative
}

.section-gray {
    background: var(--gray-100)
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto
}

.section-header {
    margin-bottom: 60px
}

.section-header:before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 24px
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: Inter, sans-serif
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: .02em
}

.section-desc {
    margin-top: 24px;
    color: var(--gray-500);
    max-width: 700px;
    line-height: 2
}

.section-dark .section-desc {
    color: var(--gray-400)
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    transition: gap .3s;
    font-family: Inter, sans-serif
}

.view-more:hover {
    gap: 20px
}

.view-more-arrow {
    width: 40px;
    height: 1px;
    background: currentColor;
    position: relative;
    transition: width .4s
}

.view-more:hover .view-more-arrow {
    width: 60px
}

.view-more-arrow:after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    transform: rotate(45deg)
}

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

.about-visual {
    position: relative
}

.about-big-text {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 900;
    background: linear-gradient(180deg, var(--gray-200) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -.02em;
    line-height: .85;
    font-family: Inter, sans-serif;
    opacity: .3
}

.about-content {
    padding: 40px 0
}

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

.service-card {
    background: var(--gray-900);
    padding: 40px 32px;
    position: relative;
    transition: all .3s;
    transform-style: preserve-3d
}

.service-card-label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 16px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .1em;
    font-family: Inter, sans-serif;
    box-shadow: 0 0 20px rgba(139, 115, 85, .35)
}

.service-card-en {
    color: var(--gray-600);
    font-size: 11px;
    letter-spacing: .1em;
    margin-top: 16px;
    font-family: Inter, sans-serif
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 16px;
    line-height: 1.6;
    white-space: pre-line
}

.service-card-desc {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 16px
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px
}

.service-card-features li {
    font-size: 12px;
    color: var(--gray-400);
    padding: 4px 0 4px 16px;
    position: relative
}

.service-card-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1px;
    background: var(--accent)
}

.service-card .view-more {
    color: var(--white)
}

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

.work-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all .3s;
    transform-style: preserve-3d
}

.work-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px
}

.work-card-content {
    padding: 24px
}

.work-card-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px
}

.work-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px
}

.work-card-result {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px
}

.work-card-result em {
    font-style: normal;
    font-size: 20px
}

.voice-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--gray-800)
}

.voice-slider::-webkit-scrollbar {
    height: 4px
}

.voice-slider::-webkit-scrollbar-track {
    background: var(--gray-800)
}

.voice-slider::-webkit-scrollbar-thumb {
    background: var(--accent)
}

.voice-card {
    flex: 0 0 400px;
    background: var(--gray-900);
    padding: 32px;
    scroll-snap-align: start;
    transition: all .3s
}

.voice-card-quote {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 24px
}

.voice-card-meta {
    display: flex;
    align-items: center;
    gap: 16px
}

.voice-card-avatar {
    width: 48px;
    height: 48px;
    background: var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px
}

.voice-card-info {
    flex: 1
}

.voice-card-company {
    font-size: 13px;
    color: var(--gray-400)
}

.voice-card-name {
    font-size: 14px;
    font-weight: 700
}

.voice-card-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px
}

.voice-card-tag {
    font-size: 11px;
    color: var(--gray-500);
    background: var(--gray-800);
    padding: 4px 10px;
    border-radius: 2px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all .3s;
    display: block
}

.blog-card-image {
    height: 140px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200))
}

.blog-card-content {
    padding: 20px
}

.blog-card-category {
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px
}

.blog-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.blog-card-date {
    font-size: 12px;
    color: var(--gray-400)
}

.cta {
    background: linear-gradient(135deg, #000, #0a0a0a 40%, #111);
    padding: 100px 40px;
    text-align: center;
    position: relative
}

.cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 115, 85, .1) 0%, transparent 70%);
    pointer-events: none
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.cta-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px
}

.cta-desc {
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 2
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white)
}

.cta-phone-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px
}

.cta-phone-number {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .02em;
    font-family: Inter, sans-serif
}

.cta-phone-time {
    font-size: 12px;
    color: var(--gray-400)
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--primary);
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    transition: all .3s;
    font-family: Inter, sans-serif;
    box-shadow: 0 4px 20px rgba(139, 115, 85, .3)
}

.cta-btn:hover {
    background: var(--accent-light)
}

.footer {
    background: var(--sumi);
    padding: 80px 40px 40px
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-800)
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.footer-logo-text {
    color: var(--cream);
    font-weight: 700;
    font-size: 20px;
    font-family: Georgia, serif;
    font-style: italic
}

.footer-company {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 2
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.footer-links-title {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: Inter, sans-serif
}

.footer-links-list {
    list-style: none
}

.footer-links-item {
    margin-bottom: 12px
}

.footer-links-item a {
    color: var(--gray-400);
    font-size: 14px;
    transition: color .3s
}

.footer-links-item a:hover {
    color: var(--accent)
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 12px
}

.footer-sns {
    display: flex;
    gap: 16px
}

.footer-sns a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all .3s;
    font-family: Inter, sans-serif;
    font-size: 12px
}

.footer-sns a:hover {
    background: var(--accent);
    color: var(--primary)
}

@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center
    }

    .hero-content-wrapper--centered {
        padding: 60px 20px
    }

    .hero-logo-container {
        flex: none
    }

    .animated-logo {
        transform: scale(.8)
    }

    .hero-visual {
        display: none
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .about {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .services-grid,
    .works-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
        height: 60px
    }

    .section {
        padding: 100px 20px
    }

    .hero-content-wrapper {
        padding: 60px 20px
    }

    .animated-logo {
        transform: scale(.6)
    }

    .hero-logo-container {
        margin-top: -40px;
        margin-bottom: -40px
    }

    .hero-title {
        font-size: clamp(24px, 6vw, 32px)
    }

    .services-grid,
    .works-grid,
    .blog-grid {
        grid-template-columns: 1fr
    }

    .voice-card {
        flex: 0 0 300px
    }

    .cta-contact {
        flex-direction: column;
        align-items: center
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center
    }
}

.hero:after,
.section-dark:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: .02;
    pointer-events: none;
    z-index: 0
}

@keyframes glow {

    0%,
    to {
        filter: drop-shadow(0 0 10px rgba(139, 115, 85, .3))
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(139, 115, 85, .45))
    }
}

.hero-title-highlight {
    animation: glow 3s ease-in-out infinite
}

.page {
    padding-top: 80px
}

.page-hero {
    background: linear-gradient(135deg, #f7f5f0, #ebe7df, #e8e4dc);
    padding: 120px 40px 100px;
    position: relative;
    overflow: hidden
}

.page-hero-small {
    padding: 100px 40px 80px
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.page-hero-eyebrow {
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 16px;
    font-family: Inter, sans-serif
}

.page-hero-title {
    color: var(--sumi);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    margin-bottom: 24px
}

.page-hero-desc {
    color: var(--gray-600);
    font-size: 16px;
    max-width: 600px
}

.page-hero-bg-text {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(100px, 20vw, 300px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px var(--gray-400);
    letter-spacing: -.02em;
    font-family: Georgia, serif;
    font-style: italic;
    opacity: .3;
    pointer-events: none
}

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

.info-table th,
.info-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top
}

.info-table th {
    width: 180px;
    font-weight: 700;
    background: var(--gray-100)
}

.vision-content {
    max-width: 800px
}

.vision-text {
    font-size: 18px;
    line-height: 2.2;
    color: var(--gray-300)
}

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

.value-card {
    background: var(--white);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: all .3s
}

.value-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(139, 115, 85, .12)
}

.value-number {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: Inter, sans-serif
}

.value-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px
}

.value-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.team-card {
    background: var(--white);
    padding: 32px;
    text-align: center;
    transition: all .3s
}

.team-card-avatar {
    width: 100px;
    height: 100px;
    background: var(--gray-200);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px
}

.team-card-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px
}

.team-card-role {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px
}

.team-card-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7
}

.service-detail {
    padding: 40px 0
}

.service-detail-header {
    margin-bottom: 48px
}

.service-detail-label {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .1em;
    font-family: Inter, sans-serif;
    margin-bottom: 16px
}

.service-detail-en {
    color: var(--gray-500);
    font-size: 12px;
    letter-spacing: .1em;
    margin-bottom: 12px;
    font-family: Inter, sans-serif
}

.service-detail-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    white-space: pre-line;
    line-height: 1.4;
    margin-bottom: 24px
}

.service-detail-desc {
    color: var(--gray-500);
    max-width: 700px;
    line-height: 2
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px
}

.service-features-title,
.service-flow-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block
}

.service-features-list {
    list-style: none
}

.service-features-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    border-bottom: 1px solid var(--gray-200)
}

.service-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700
}

.service-flow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.service-flow-step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    padding: 12px 20px;
    border-radius: 4px
}

.step-number {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700
}

.step-name {
    font-size: 14px;
    font-weight: 500
}

.service-cta {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200)
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    transition: all .3s;
    font-family: Inter, Noto Sans JP, sans-serif
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 115, 85, .35)
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 48px
}

.work-detail-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all .3s
}

.work-detail-card:hover {
    box-shadow: 0 20px 60px #00000014
}

.work-detail-image {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px
}

.work-detail-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--gray-300);
    font-family: Inter, sans-serif
}

.work-detail-content {
    padding: 40px 40px 40px 0
}

.work-detail-category {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px
}

.work-detail-client {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 12px
}

.work-detail-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px
}

.work-detail-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px
}

.work-detail-section h4 {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
    font-weight: 700
}

.work-detail-section p {
    font-size: 14px;
    line-height: 1.8
}

.work-detail-result {
    color: var(--accent);
    font-weight: 700
}

.work-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.work-tag {
    background: var(--gray-100);
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 2px
}

.voices-list {
    display: flex;
    flex-direction: column;
    gap: 32px
}

.voice-detail-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 40px;
    transition: all .3s
}

.voice-detail-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(139, 115, 85, .12)
}

.voice-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px
}

.voice-detail-avatar {
    width: 64px;
    height: 64px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px
}

.voice-detail-info {
    flex: 1
}

.voice-detail-company {
    font-size: 14px;
    color: var(--gray-500)
}

.voice-detail-name {
    font-size: 18px;
    font-weight: 700
}

.voice-detail-position {
    font-size: 13px;
    color: var(--gray-400)
}

.voice-detail-service {
    background: var(--accent);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px
}

.voice-detail-content {
    margin-bottom: 20px
}

.voice-detail-quote {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-700)
}

.voice-detail-tags {
    display: flex;
    gap: 8px
}

.voice-tag {
    background: var(--gray-100);
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 2px;
    color: var(--gray-600)
}

.blog-categories {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px
}

.blog-category-btn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s;
    border-radius: 4px
}

.blog-category-btn:hover,
.blog-category-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary)
}

.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.blog-page-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all .3s;
    display: block
}

.blog-page-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200))
}

.blog-page-card-content {
    padding: 24px
}

.blog-page-card-category {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px
}

.blog-page-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.blog-page-card-excerpt {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.blog-page-card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-400)
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary)
}

.pagination-next {
    width: auto;
    padding: 0 20px
}

.pagination-dots {
    color: var(--gray-400)
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px
}

.contact-info-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px
}

.contact-info-desc {
    color: var(--gray-500);
    line-height: 2;
    margin-bottom: 40px
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0
}

.contact-info-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px
}

.contact-info-value {
    font-size: 16px;
    font-weight: 700
}

.contact-info-note {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px
}

.contact-form {
    background: var(--gray-100);
    padding: 48px
}

.form-group {
    margin-bottom: 24px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px
}

.form-required {
    color: var(--accent);
    font-size: 12px;
    margin-left: 8px
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: 4px;
    transition: all .3s;
    font-family: inherit
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, .12)
}

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

.form-privacy {
    margin-bottom: 32px
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent)
}

.form-checkbox a {
    color: var(--accent);
    text-decoration: underline
}

.form-submit {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all .3s
}

.form-submit:hover {
    background: var(--accent-light)
}

.menu-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--sumi);
    position: absolute;
    left: 0;
    transition: all .3s
}

.menu-toggle.active span {
    background: var(--cream)
}

.menu-toggle span:nth-child(1) {
    top: 0
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%)
}

.menu-toggle span:nth-child(3) {
    bottom: 0
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg)
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg)
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 40px 40px;
        transition: right .3s;
        z-index: 999
    }

    .nav--open {
        right: 0
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%
    }

    .nav-link {
        display: block;
        padding: 20px 0;
        border-bottom: 1px solid var(--gray-700);
        font-size: 16px;
        color: var(--cream)
    }

    .nav-link:hover {
        color: var(--accent-light)
    }

    .nav-link-sub {
        display: block;
        margin-top: 4px;
        color: var(--gray-400)
    }

    .nav-contact {
        margin-top: 32px;
        text-align: center;
        width: 100%;
        background: var(--cream);
        color: var(--sumi)
    }

    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .work-detail-card {
        grid-template-columns: 1fr
    }

    .work-detail-image {
        min-height: 200px
    }

    .work-detail-content {
        padding: 32px
    }

    .work-detail-info {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .blog-page-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 20px 80px
    }

    .page-hero-bg-text {
        display: none
    }

    .values-grid,
    .team-grid,
    .blog-page-grid,
    .form-row {
        grid-template-columns: 1fr
    }

    .contact-form {
        padding: 32px 20px
    }

    .info-table th {
        display: block;
        width: 100%;
        padding: 12px 16px
    }

    .info-table td {
        display: block;
        padding: 16px
    }
}

.custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: background-color .2s, transform .1s;
    mix-blend-mode: difference
}

.custom-cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform .1s
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform-origin: left;
    z-index: 1001;
    box-shadow: 0 0 10px var(--accent)
}

.about-stats-section {
    padding: 60px 40px;
    background: var(--white)
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto
}

.about-stat {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    transition: all .3s;
    box-shadow: 0 4px 20px #0000000d
}

.about-stat:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(139, 115, 85, .18);
    transform: translateY(-5px)
}

.about-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    font-family: Inter, sans-serif;
    line-height: 1
}

.about-stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 12px;
    font-weight: 500
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .about-stat {
        padding: 24px
    }

    .about-stat-number {
        font-size: 36px
    }
}

.service-card-icon {
    font-size: 48px;
    margin: 24px 0 16px;
    display: block
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    transition: background .3s
}

.service-card,
.voice-card {
    position: relative;
    overflow: hidden
}

.voice-card-quote-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 48px;
    font-family: serif;
    color: var(--accent);
    line-height: 1
}

.voice-card-rating {
    margin-bottom: 16px;
    display: flex;
    gap: 4px
}

.work-card-number {
    font-size: 32px;
    font-weight: 900;
    font-family: Inter, sans-serif
}

.cta {
    position: relative;
    overflow: hidden
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none
}

.cta-btn,
.blog-card,
.blog-card-image {
    position: relative;
    overflow: hidden
}

.interactive {
    cursor: none
}

* {
    transition-timing-function: cubic-bezier(.25, .1, .25, 1)
}

::selection {
    background: var(--accent);
    color: var(--primary)
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--gray-900)
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light)
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    to {
        background-position: 200% 0
    }
}

.loading {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

@keyframes float {

    0%,
    to {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-20px) rotate(2deg)
    }
}

.floating {
    animation: float 4s ease-in-out infinite
}

@keyframes pulse {

    0%,
    to {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.05);
        opacity: .8
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%
    }

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

    to {
        background-position: 0% 50%
    }
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite
}

@media (max-width: 1024px) {

    .custom-cursor,
    .custom-cursor-dot {
        display: none
    }

    .interactive {
        cursor: pointer
    }
}

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

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

.metrics-section {
    padding: 100px 40px;
    background: var(--cream)
}

.metrics-section-inner {
    max-width: 1200px;
    margin: 0 auto
}

.metrics-content {
    display: flex;
    flex-direction: column;
    gap: 48px
}

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

.metrics-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--sumi);
    margin-bottom: 24px;
    line-height: 1.5
}

.metrics-text p {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-600);
    margin-bottom: 16px
}

.metrics-text .highlight {
    color: var(--accent);
    font-weight: 700
}

.metrics-flow {
    padding: 48px 60px;
    background: var(--cream-dark);
    border-radius: 12px;
    width: 100%
}

.metrics-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px
}

.metrics-flow-step-wrapper {
    display: flex;
    align-items: center;
    gap: 24px
}

.metrics-flow-step {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .3s
}

.metrics-flow-step--typical {
    background: transparent;
    border: 3px dashed var(--gray-400);
    color: var(--gray-500)
}

.metrics-flow-step--sumie {
    background: var(--accent);
    border: 3px solid var(--accent);
    color: var(--cream)
}

.metrics-flow-step-label {
    font-size: 16px;
    font-weight: 700;
    display: block
}

.metrics-flow-step-sublabel {
    font-size: 12px;
    opacity: .8;
    margin-top: 6px
}

.metrics-flow-arrow {
    font-size: 28px;
    color: var(--gray-400)
}

.metrics-flow-labels {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    gap: 40px
}

.metrics-flow-label {
    display: flex;
    align-items: center;
    gap: 12px
}

.metrics-flow-label--typical {
    color: var(--gray-500)
}

.metrics-flow-label--sumie {
    background: var(--accent);
    color: var(--cream);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700
}

.metrics-flow-label-line {
    width: 30px;
    height: 0;
    border-top: 3px dashed var(--gray-400)
}

@media (max-width: 1024px) {
    .metrics-flow-step {
        width: 110px;
        height: 110px
    }

    .metrics-flow-step-label {
        font-size: 13px
    }

    .metrics-flow-step-sublabel {
        font-size: 10px
    }

    .metrics-flow-steps,
    .metrics-flow-step-wrapper {
        gap: 16px
    }

    .metrics-flow-arrow {
        font-size: 20px
    }
}

@media (max-width: 768px) {
    .metrics-section {
        padding: 60px 20px
    }

    .metrics-text h3 {
        font-size: 20px
    }

    .metrics-text p {
        font-size: 14px;
        text-align: left
    }

    .metrics-flow {
        padding: 24px 16px
    }

    .metrics-flow-steps {
        flex-wrap: wrap;
        gap: 12px
    }

    .metrics-flow-step-wrapper {
        gap: 12px
    }

    .metrics-flow-step {
        width: 70px;
        height: 70px
    }

    .metrics-flow-step-label {
        font-size: 10px
    }

    .metrics-flow-step-sublabel {
        font-size: 8px
    }

    .metrics-flow-arrow {
        font-size: 16px
    }

    .metrics-flow-labels {
        flex-direction: column;
        gap: 12px
    }
}

.service-points {
    margin-top: 48px
}

.service-point {
    background: var(--cream);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s;
    border: 1px solid var(--gray-200)
}

.service-point:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px #8b73551a
}

.service-point--expanded {
    border-color: var(--accent)
}

.service-point-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px
}

.service-point-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0
}

.service-point-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--sumi);
    margin: 0;
    line-height: 1.5
}

.service-point-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: all .3s
}

.service-point--expanded .service-point-toggle {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--cream)
}

.service-point-content {
    padding: 0 24px;
    overflow: hidden
}

.service-point-content p {
    font-size: 14px;
    line-height: 2;
    color: var(--gray-600);
    white-space: pre-line;
    padding-bottom: 24px;
    margin: 0
}

.section-gray .service-point {
    background: #fff
}

@media (max-width: 768px) {
    .service-point-header {
        padding: 16px;
        gap: 12px
    }

    .service-point-number {
        width: 30px;
        height: 30px;
        font-size: 10px
    }

    .service-point-title {
        font-size: 14px
    }

    .service-point-content {
        padding: 0 16px
    }

    .service-point-content p {
        font-size: 13px
    }
}
/* ============================================================
   Sumie brush-up additions (2026-07)
   ============================================================ */

/* --- Hero readability: keep copy legible over the 3D scene --- */
.hero-content--bottom {
    position: relative;
    z-index: 3;
}

.hero-content--bottom:before {
    content: "";
    position: absolute;
    inset: -40px -80px -20px;
    background: radial-gradient(ellipse at center, rgba(247, 245, 240, .85) 0%, rgba(247, 245, 240, .55) 55%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

.hero-desc {
    color: var(--gray-700);
}

/* --- Scroll-reveal (replaces framer-motion whileInView) --- */
.rv {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.25, .46, .45, .94), transform .7s cubic-bezier(.25, .46, .45, .94);
    transition-delay: var(--rv-delay, 0s);
}

.rv--left { transform: translateX(-40px); }
.rv--right { transform: translateX(40px); }
.rv--scale { transform: scale(.9); }

.rv.rv-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
}

/* --- Page-hero title char animation --- */
.chars span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: charIn .55s cubic-bezier(.25, .46, .45, .94) forwards;
    animation-delay: var(--ch-delay, 0s);
}

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

/* --- About page stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: rgba(139, 115, 85, .05);
    border: 1px solid rgba(139, 115, 85, .2);
    border-radius: 8px;
    transition: transform .3s;
}

.stat-card:hover { transform: translateY(-8px); }

.stat-card-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    font-family: Inter, sans-serif;
    display: block;
}

.stat-card-label {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 8px;
    display: block;
}

/* --- Featured case (single real case layout) --- */
.case-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.case-metric {
    background: rgba(139, 115, 85, .06);
    border: 1px solid rgba(139, 115, 85, .18);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.case-metric-value {
    font-size: 40px;
    font-weight: 900;
    color: var(--accent);
    font-family: Inter, sans-serif;
    display: block;
    line-height: 1.2;
}

.case-metric-label {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
}

.case-metric-sub {
    display: block;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

@media (max-width: 640px) {
    .case-metrics { grid-template-columns: 1fr; }
}

/* --- Home works: featured case card --- */
.work-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
}

.work-card--featured .work-card-image { min-height: 260px; }

@media (max-width: 900px) {
    .work-card--featured { grid-template-columns: 1fr; }
}

/* --- Count-up numbers --- */
[data-count] { font-variant-numeric: tabular-nums; }

/* --- Contact form success --- */
.contact-success {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
}

.contact-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--cream);
    font-size: 32px;
    font-weight: 700;
}

/* --- Service point content (accordion) --- */
.service-point-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height .35s ease, opacity .35s ease;
}

.service-point--expanded .service-point-content {
    opacity: 1;
}

.service-point-content p { white-space: pre-line; }

/* --- Metrics flow arrows/labels (were inline) --- */
.metrics-flow-progress {
    height: 3px;
    border-radius: 2px;
    margin-top: 16px;
    background: var(--accent);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s ease .4s;
}

.rv-in .metrics-flow-progress, .rv-in.metrics-flow-progress { transform: scaleX(1); }

/* --- Work/voice progress underline --- */
.progress-line {
    height: 3px;
    border-radius: 2px;
    margin-top: 16px;
    background: var(--accent);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s ease .4s;
}

.rv-in .progress-line { transform: scaleX(1); }

/* --- Voice rating dots --- */
.rating-dots { display: flex; gap: 4px; margin-bottom: 16px; }
.rating-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- Page hero legal (privacy) --- */
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h3 { margin: 40px 0 12px; font-size: 18px; }
.legal-body p, .legal-body li { color: var(--gray-600); font-size: 14px; line-height: 2; }
.legal-body ul { padding-left: 20px; margin: 8px 0; }

/* --- Hero video background (龍 ink-painting) --- */
.hero--video {
    background: #dedad2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* light ink-wash veil so the copy stays readable over the whole loop */
.hero-video:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 55%, rgba(247, 245, 240, .55) 0%, rgba(247, 245, 240, .2) 55%, transparent 80%),
        linear-gradient(to bottom, rgba(247, 245, 240, .28), rgba(247, 245, 240, 0) 30%, rgba(247, 245, 240, 0) 75%, rgba(247, 245, 240, .5));
}

.hero-content--video {
    padding-bottom: 0;
}

.hero-content--video:before {
    inset: -60px -100px -50px;
    background: radial-gradient(ellipse at center, rgba(247, 245, 240, .8) 0%, rgba(247, 245, 240, .45) 55%, transparent 78%);
}

.hero-brandmark {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: clamp(56px, 9vw, 104px);
    font-weight: 400;
    color: var(--sumi);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: .01em;
}

@media (max-width: 768px) {
    .hero-brandmark { margin-bottom: 12px; }
}
