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

html {
    scroll-behavior: smooth
}

body {
    font-family: "Yu Gothic", "Meiryo", sans-serif;
    color: #202226;
    background: #fff;
    line-height: 1.85
}

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

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

button {
    font: inherit;
    color: inherit
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    color: #fff;
    transition: .3s
}

.site-header.scrolled,
.site-header.menu-open {
    background: #202226;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px)
}

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

.logo img{
    height:100px;
    width:auto;
    display:block;
}

.logo,
.company-name{
    font-family: 'Yuji Syuku', serif;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.logo span {
    font-size: 14px;
    margin-right: 3px;
    font-weight: 700
}

.global-nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 700
}

.global-nav a {
    position: relative;
    white-space: nowrap
}

.global-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: .3s
}

.global-nav a:hover:after {
    width: 100%
}

.menu-button {
    display: none;
    background: none;
    border: 1px solid currentColor;
    color: inherit;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 660px;
    background: url("../images/hero-factory.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .48), rgba(0, 0, 0, .16))
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 24%;
    background: linear-gradient(transparent, rgba(0, 0, 0, .42))
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 840px
}

.eyebrow {
    font-size: 14px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #d6d6d6;
    margin-bottom: 18px
}

.eyebrow.dark {
    color: #666
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.18;
    letter-spacing: .04em;
    margin-bottom: 26px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .24)
}

.hero-lead {
    font-size: 18px;
    max-width: 740px
}

.hero-actions,
.contact-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 42px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 800;
    transition: .3s
}

.btn.primary {
    background: #30343a;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18)
}

.btn.primary:hover {
    background: #555b63;
    transform: translateY(-2px)
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-2px)
}

.scroll-sign {
    position: absolute;
    right: 6%;
    bottom: 38px;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    writing-mode: vertical-rl
}

.scroll-sign:after {
    content: "";
    display: block;
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, .65);
    margin: 14px auto 0
}

.section {
    padding: 105px 8%
}

.section-title {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: end;
    gap: 20px;
    margin-bottom: 44px
}

.section-title.center {
    display: block;
    text-align: center
}

.section-title p {
    color: #777;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.35
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 62px;
    max-width: 1120px;
    margin: auto
}

.intro .section-title {
    display: block;
    margin-bottom: 0
}

.intro-text {
    font-size: 17px
}

.intro-text p+p {
    margin-top: 20px
}

.service-section,
.works-section,
.process-section {
    background: #f5f6f7
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1180px;
    margin: auto
}

.service-card {
    background: #fff;
    padding: 34px 28px;
    min-height: 230px;
    border: 1px solid #e4e4e4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .04);
    transition: .3s
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .09)
}

.service-card span {
    display: block;
    color: #9aa0a8;
    font-size: 13px;
    letter-spacing: .18em;
    margin-bottom: 18px;
    font-weight: 800
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 14px
}

.strength-section {
    background: #202226;
    color: #fff
}

.strength-section .section-title p {
    color: #adb3bb
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1100px;
    margin: auto;
    background: rgba(255, 255, 255, .18)
}

.strength-grid article {
    background: #202226;
    padding: 38px 32px
}

.strength-grid h3 {
    font-size: 23px;
    margin-bottom: 14px
}

.strength-grid p {
    color: #d7dbe0
}

.feature-list {
    max-width: 1100px;
    margin: auto
}

.feature-item {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 72px
}

.feature-item:last-child {
    margin-bottom: 0
}

.feature-item.reverse {
    grid-template-columns: 1.05fr .95fr
}

.feature-item.reverse img {
    order: 2
}

.feature-item img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .16)
}

.feature-body h3 {
    font-size: 28px;
    margin-bottom: 18px
}

.feature-body p {
    font-size: 16px
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1050px;
    margin: 0 auto 34px
}

.works-grid figure {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08)
}

.works-grid button {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left
}

.works-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: .5s
}

.works-grid figure:hover img {
    transform: scale(1.06)
}

.works-grid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 18px 16px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(transparent, rgba(0, 0, 0, .76))
}

.works-text {
    max-width: 780px;
    margin: auto;
    text-align: center
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1120px;
    margin: auto;
    list-style: none
}

.process-list li {
    background: #fff;
    border: 1px solid #e4e4e4;
    padding: 30px 24px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .04)
}

.process-list span {
    display: block;
    color: #9aa0a8;
    font-size: 13px;
    letter-spacing: .2em;
    margin-bottom: 16px;
    font-weight: 800
}

.process-list strong {
    display: block;
    font-size: 21px;
    margin-bottom: 10px
}

.process-list p {
    font-size: 14px
}

.video-section {
    background: #111;
    color: #fff
}

.video-section .section-title p {
    color: #bbb
}

.video-wrap {
    max-width: 920px;
    margin: auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4)
}

.video-wrap video {
    width: 100%;
    display: block;
    background: #000
}

.contact-section {
    background: linear-gradient(135deg, #f5f6f7, #fff)
}

.contact-box {
    max-width: 960px;
    margin: auto;
    text-align: center;
    background: #fff;
    padding: 72px 48px;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .08)
}

.contact-box h2 {
    font-size: 40px;
    margin-bottom: 18px
}

.contact-actions {
    justify-content: center;
    margin-top: 34px
}

.company-table {
    width: 100%;
    max-width: 720px;
    margin: 42px auto 0;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px
}

.company-table th,
.company-table td {
    border-bottom: 1px solid #e5e5e5;
    padding: 14px 10px;
    vertical-align: top
}

.company-table th {
    width: 150px;
    color: #555
}

.note {
    font-size: 13px;
    color: #777;
    margin-top: 20px
}

.site-footer {
    background: #202226;
    color: #fff;
    text-align: center;
    padding: 38px 6%
}

.site-footer nav {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: #cfd3d8;
    font-size: 14px
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease
}

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

.fade-in {
    animation: fadeIn 1.1s ease both
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 28px
}

.lightbox.open {
    display: flex
}

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 10px
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 26px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #111
}

@media(max-width:1050px) {
    .global-nav {
        gap: 18px
    }

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

    .process-list {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:960px) {
    .global-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, .98);
        color: #111;
        flex-direction: column;
        padding: 24px 8%;
        gap: 18px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .08)
    }

    .global-nav.open {
        display: flex
    }

    .menu-button {
        display: block
    }

    .intro,
    .feature-item,
    .feature-item.reverse {
        display: block
    }

    .feature-item img,
    .feature-item.reverse img {
        order: 0;
        margin-bottom: 28px;
        height: 260px
    }

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

    .strength-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:640px) {
    .site-header {
        height: 68px;
        padding: 0 5%
    }

    .logo {
        font-size: 18px
    }

    .logo img{
        height:70px;
    }

    .logo span {
        font-size: 12px
    }

    .global-nav {
        top: 68px
    }

    .hero {
        min-height: 620px;
        padding: 0 6%
    }

    .hero-lead {
        font-size: 16px
    }

    .hero-actions {
        width: 100%
    }

    .btn {
        width: 100%
    }

    .section {
        padding: 72px 6%
    }

    .section-title {
        display: block
    }

    .service-grid,
    .works-grid,
    .process-list {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: auto
    }

    .works-grid img {
        height: 190px
    }

    .contact-box {
        padding: 48px 24px
    }

    .contact-box h2 {
        font-size: 32px
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 10px 4px
    }

    .company-table th {
        border-bottom: 0;
        padding-bottom: 0
    }

    .company-table td {
        padding-top: 4px
    }

    .scroll-sign {
        display: none
    }
}