:root {
    --bg-color: #0a0a0a;
    --surface-color: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #c9a227;
    --accent-hover: #e0b838;
    --border-color: #333;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --container-width: 1200px;
    --header-height: 70px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Custom Cursor - Desktop Only */
@media (min-width: 769px) {
    body {
        cursor: none;
    }

    .cursor-dot,
    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 9999;
        pointer-events: none;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--accent-color);
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }
}

@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
}

.nav-list a:hover {
    color: var(--text-primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

.btn-contact {
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--text-secondary);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(10, 10, 10, 0.9));
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reveal-text {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background-color: var(--accent-color);
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background-color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-lead {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.image-wrapper img {
    transition: transform 0.8s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--surface-color);
    padding: 2.5rem 1.8rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.card-icon {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1rem;
    transition: color 0.3s;
}

.service-card:hover .card-icon {
    color: rgba(201, 162, 39, 0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Works Section */
.works-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.work-item {
    group: work;
}

.work-image {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    position: relative;
}

.work-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.work-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Company Section */
.company-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.company-list {
    border-top: 1px solid var(--border-color);
}

.list-row {
    display: flex;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.list-row dt {
    width: 100px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.list-row dd {
    flex: 1;
    font-size: 0.9rem;
}

.company-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.company-map iframe {
    border-radius: 4px;
}

/* Contact Section */
.contact-inner {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--accent-color);
    color: #000;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    html {
        font-size: 13px;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    html {
        font-size: 12px;
    }

    .header {
        --header-height: 60px;
    }

    .logo {
        font-size: 1rem;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-lead {
        font-size: 1.3rem;
    }

    .about-stats {
        gap: 2rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .works-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .work-image img {
        height: 220px;
    }

    .company-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .company-map {
        min-height: 300px;
    }

    .list-row {
        flex-direction: column;
        gap: 0.3rem;
    }

    .list-row dt {
        width: 100%;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .container {
        padding: 0 1.2rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 11px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-lead {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }
}