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

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.splash-logo {
    width: 300px;
    height: 45px;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    animation: splashFadeIn 1s ease-out 0.3s forwards;
}

.splash-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@keyframes splashFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.top-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    padding-left: 24px;
    transform: translateY(0);
    transition: transform 0.5s ease, background 0.5s ease;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header.header-white {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.header.header-white .nav-link {
    color: #333333;
}

.header.header-white .nav-link::after {
    background-color: #333333;
}

.header.header-white .btn-icon {
    fill: white;
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: inline-grid;
    grid-template-columns: max-content;
    grid-template-rows: max-content;
    align-items: start;
    justify-items: start;
    line-height: 0;
}

.logo {
    width: 240px;
    height: 36px;
    position: relative;
}

.logo-bg {
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    pointer-events: none;
}

.logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

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

.nav-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    padding: 0 16px;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
}

.btn-icon {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
    fill: white;
}

.btn-inventory {
    background-color: #c93915;
}

.btn-inventory:hover {
    background-color: #b03212;
}

.btn-contact {
    background-color: #3b4caa;
}

.btn-contact:hover {
    background-color: #2f3d8a;
}

/* Main Visual Styles */
.mv {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 800;
    background-color: #ffffff;
}

.mv-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.mv-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    opacity: 0;
    will-change: opacity, transform;
    pointer-events: none;
    animation: panLeft 30s linear infinite;
    animation-play-state: paused;
}

.mv-bg-image.active {
    opacity: 1;
    z-index: 2;
    animation-play-state: running;
}

.mv-bg-image:not(.active) {
    opacity: 0;
    z-index: 1;
    animation-play-state: paused;
}

@keyframes panLeft {
    0% {
        transform: translateX(0);
        object-position: left center;
    }
    100% {
        transform: translateX(-16.67%);
        object-position: right center;
    }
}

@keyframes panLeftWithFade {
    0% {
        transform: translateX(0);
        object-position: left center;
        opacity: 1;
    }
    75% {
        transform: translateX(-16.67%);
        object-position: right center;
        opacity: 1;
    }
    80% {
        transform: translateX(-16.67%);
        object-position: right center;
        opacity: 0;
    }
    85% {
        transform: translateX(0);
        object-position: left center;
        opacity: 0;
    }
    90% {
        transform: translateX(0);
        object-position: left center;
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        object-position: left center;
        opacity: 1;
    }
}

.mv-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 80%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 3;
}

.mv-content {
    position: absolute;
    left: 50%;
    top: 280px;
    transform: translateX(-50%);
    width: 840px;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    z-index: 5;
}

.mv-logo {
    width: 431px;
    height: 64px;
    position: relative;
    flex-shrink: 0;
}

.mv-logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.mv-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    text-align: center;
    line-height: 1;
    color: #ffffff;
}

.mv-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 1;
    color: #ffffff;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 2.8s forwards;
}

.mv-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.8px;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 3.1s forwards;
}

/* News Banner Styles */
.news-banner {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 640px;
    max-width: calc(100% - 40px);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px;
    box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.10);
    z-index: 10;
    margin: 0 auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.news-banner:hover {
    box-shadow: 2px 2px 12px 0 rgba(0, 0, 0, 0.15);
}

.news-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #3b4caa;
    flex-shrink: 0;
}

.news-content {
    display: flex;
    flex: 1 0 0;
    align-items: center;
    gap: 8px;
    min-width: 0;
    position: relative;
}

.news-item-wrapper {
    position: relative;
    flex: 1;
    min-height: 3.2em;
    height: auto;
    overflow: visible;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    min-width: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.news-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.news-date {
    font-size: 12px;
    line-height: 1.4;
    color: #979797;
    flex-shrink: 0;
    margin: 0;
    white-space: nowrap;
}

.news-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
}

.news-banner:hover .news-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333333;
    transform: scaleX(1);
    transform-origin: left;
    animation: underlineExpand 0.3s ease;
}

@keyframes underlineExpand {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.news-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: block;
}

/* Decorative Section Styles */
.decorative-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    background-color: #ffffff;
    overflow: visible;
    padding: 100px 0;
}

.decorative-circle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
    pointer-events: none;
}

.decorative-circle-1 {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 500px;
    height: 500px;
    max-width: 90vw;
    max-height: 90vw;
}

.decorative-circle-2 {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 460px;
    height: 460px;
    max-width: 83vw;
    max-height: 83vw;
}

.decorative-circle svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* SVGアニメーション */
.rotating-group-1 {
    transform-origin: 250px 250px;
    animation: rotateRing1 20s linear infinite;
}

.rotating-group-2 {
    transform-origin: 230px 230px;
    animation: rotateRing2 25s linear infinite reverse;
}

.animated-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-out forwards;
}

.path-blue-1 {
    animation: drawPath 3s ease-out 0s forwards, movePath 8s ease-in-out 3s infinite;
}

.path-blue-2 {
    animation: drawPath 3s ease-out 0.3s forwards, movePath 7s ease-in-out 3.3s infinite;
}

.path-blue-3 {
    animation: drawPath 3s ease-out 0.6s forwards, movePath 9s ease-in-out 3.6s infinite;
}

.path-blue-4 {
    animation: drawPath 3s ease-out 0.9s forwards, movePath 8.5s ease-in-out 3.9s infinite;
}

.path-pink-1 {
    animation: drawPath 3s ease-out 0.2s forwards, movePath 7.5s ease-in-out 3.2s infinite;
}

.path-pink-2 {
    animation: drawPath 3s ease-out 0.5s forwards, movePath 8.2s ease-in-out 3.5s infinite;
}

.path-pink-3 {
    animation: drawPath 3s ease-out 0.8s forwards, movePath 7.8s ease-in-out 3.8s infinite;
}

.path-pink-4 {
    animation: drawPath 3s ease-out 1.1s forwards, movePath 8.8s ease-in-out 4.1s infinite;
}

@keyframes rotateRing1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateRing2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes movePath {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(5px) translateY(-3px);
    }
    50% {
        transform: translateX(-3px) translateY(5px);
    }
    75% {
        transform: translateX(4px) translateY(3px);
    }
}

/* Scribble Circle Section Styles */
/* Business Section Styles */
.business-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 120px 0 0 0;
    overflow: visible;
}

.business-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.business-header {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    min-height: 800px;
    padding-bottom: 100px;
    width: 100%;
}

.business-title-vertical {
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    flex-shrink: 0;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.vertical-text {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: #333333;
    writing-mode: vertical-rl;
    text-orientation: upright;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.business-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

.business-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 2.4;
    color: #333333;
}

.business-text p {
    margin: 0;
}

.business-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 200px;
    height: 40px;
    border: 1px solid #333333;
    background-color: #ffffff;
    text-decoration: none;
    position: relative;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    overflow: visible;
}

.business-button span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #333333;
    transition: color 0.3s ease;
}

.business-button:hover {
    background-color: #f7f7f7;
    border-color: #333333;
}

.business-button:hover span {
    color: #333333;
}

.button-arrow {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.business-button:hover .button-arrow {
    transform: translateY(-50%) scale(4);
}

.button-arrow circle {
    fill: #C93915;
    transition: fill 0.3s ease;
}

.business-image-wrapper {
    position: absolute;
    left: 560px;
    top: 312px;
    width: 480px;
    height: 320px;
    overflow: hidden;
    mask-image: url('images/business-mask.svg');
    mask-size: 480px 320px;
    mask-position: 0 0;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('images/business-mask.svg');
    -webkit-mask-size: 480px 320px;
    -webkit-mask-position: 0 0;
    -webkit-mask-repeat: no-repeat;
}

.business-image {
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: panLeftWithFade 30s linear infinite;
}

.business-image-wrapper-2 {
    position: absolute;
    left: -88px;
    top: 480px;
    width: 300px;
    height: 200px;
    overflow: hidden;
    mask-image: url('images/business-mask-2.svg');
    mask-size: 300px 200px;
    mask-position: 0 0;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('images/business-mask-2.svg');
    -webkit-mask-size: 300px 200px;
    -webkit-mask-position: 0 0;
    -webkit-mask-repeat: no-repeat;
}

.business-image-2 {
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: panLeftWithFade 30s linear infinite;
}

/* Machine Records Section Styles */
.machine-records-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding: 0;
}

.machine-records-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.machine-records-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.4;
    color: #333333;
    margin: 0 24px 32px 24px;
    padding-top: 0;
}

.machine-records-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 0;
    margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
    max-width: 880px;
}

.machine-records-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 2.4;
    color: #333333;
    flex: 1;
    margin: 0;
}

.machine-records-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 200px;
    height: 40px;
    border: 1px solid #333333;
    background-color: #ffffff;
    text-decoration: none;
    position: relative;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    overflow: visible;
    flex-shrink: 0;
}

.machine-records-button span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #333333;
    transition: color 0.3s ease;
}

.machine-records-button:hover {
    background-color: #f7f7f7;
    border-color: #333333;
}

.machine-records-button:hover span {
    color: #333333;
}

.machine-records-button .button-arrow {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.machine-records-button:hover .button-arrow {
    transform: translateY(-50%) scale(4);
}

.machine-records-list-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    margin-top: 32px;
}

.machine-records-list-wrapper::-webkit-scrollbar {
    display: none;
}

.machine-records-list {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    width: max-content;
    padding-left: calc((100vw - 880px) / 2 + 24px);
    padding-right: calc((100vw - 880px) / 2 + 24px);
    min-width: calc(100% - 48px);
}

@media (max-width: 880px) {
    .machine-records-list {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.machine-records-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 0 24px;
}

.machine-records-control-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #333333;
    border-radius: 100px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.machine-records-control-btn:hover {
    background-color: #f7f7f7;
    border-color: #333333;
}

.machine-records-control-btn:active {
    background-color: #e8e8e8;
}

.machine-records-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.control-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* CT Section Styles */
.ct-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #051048;
    background-image: url('images/ct-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin-top: 120px;
}

.ct-container {
    position: relative;
    z-index: 1;
    width: 728px;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ct-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.ct-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0;
}

.ct-description {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.64px;
    color: #ffffff;
    margin: 0;
}

.ct-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 200px;
    height: 40px;
    border: 1px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    position: relative;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    overflow: visible;
    flex-shrink: 0;
}

.ct-button span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #ffffff;
    transition: color 0.3s ease;
}

.ct-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

.ct-button:hover span {
    color: #ffffff;
}

.ct-button .button-arrow {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.ct-button:hover .button-arrow {
    transform: translateY(-50%) scale(4);
}

.ct-button .button-arrow circle {
    fill: #C93915;
    transition: fill 0.3s ease;
}

@media (max-width: 768px) {
    .ct-section {
        height: auto;
    }

    .ct-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 48px 24px;
    }

    .ct-content {
        width: 100%;
    }

    .ct-title {
        font-size: 24px;
    }

    .ct-description {
        font-size: 14px;
    }

    .ct-button {
        width: 100%;
        max-width: 200px;
    }
}

.machine-records-list::-webkit-scrollbar {
    display: none;
}

.machine-records-list:active {
    cursor: grabbing;
}

.machine-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
}

.machine-image-wrapper {
    aspect-ratio: 179 / 179;
    background-color: #f0f2f7;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.machine-image {
    position: absolute;
    width: auto;
    height: auto;
    object-fit: contain;
}

.machine-image-wrapper-1 .machine-image {
    top: 50%;
    left: calc(50% + 0.5px);
    transform: translate(-50%, -50%);
    width: 233px;
    height: 213px;
}

.machine-image-wrapper-2 .machine-image {
    top: calc(50% + 0.5px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 195px;
}

.machine-image-wrapper-3 .machine-image {
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 176px;
    height: 235px;
}

.machine-image-wrapper-4 .machine-image {
    top: 14px;
    left: -139px;
    width: 373px;
    height: 210px;
}

.machine-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.machine-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
}

.machine-type {
    background-color: #f0f2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: #767d90;
    width: fit-content;
}

.machine-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: #333333;
    width: 100%;
}

.machine-manufacturer {
    flex-shrink: 0;
}

.machine-year {
    flex-shrink: 0;
}

.scribble-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    overflow: hidden;
}

.business-header .scribble-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vw;
    display: block;
    animation: rotateCircle 30s linear infinite;
    background-color: transparent;
    pointer-events: none;
    z-index: -1;
    margin: 0;
    padding: 0;
}

@keyframes rotateCircle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1280px) {
    .header {
        padding: 0;
        padding-left: 20px;
    }

    .nav {
        gap: 40px;
    }

    .nav-link {
        font-size: 14px;
        font-weight: 400;
    }

    .btn {
        padding: 0 12px;
        font-size: 14px;
    }

    .mv-title {
        font-family: 'Noto Serif JP', serif;
        font-weight: 600;
        font-size: 42px;
    }

    .mv-subtitle {
        font-family: 'Noto Serif JP', serif;
        font-weight: 500;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        min-height: 72px;
        flex-direction: column;
        padding: 12px 0 12px 16px;
        gap: 12px;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    .logo {
        width: 180px;
        height: 27px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 12px;
        height: auto;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
        font-weight: 400;
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
        height: auto;
    }

    .btn {
        height: 48px;
        font-size: 14px;
    }

    .mv-content {
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        gap: 32px;
    }

    .mv-logo {
        width: 280px;
        height: 42px;
    }

    .mv-title {
        font-family: 'Noto Serif JP', serif;
        font-weight: 600;
        font-size: 32px;
    }

    .mv-subtitle {
        font-family: 'Noto Serif JP', serif;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .news-banner {
        bottom: -24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .news-content {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mv-title {
        font-family: 'Noto Serif JP', serif;
        font-weight: 600;
        font-size: 24px;
    }

    .mv-subtitle {
        font-family: 'Noto Serif JP', serif;
        font-weight: 500;
        font-size: 14px;
    }

    .mv-logo {
        width: 200px;
        height: 30px;
    }
}

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

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

/* Footer Styles */
.footer {
    width: 100%;
    background-color: #ffffff;
    padding: 120px 48px;
}

.footer-container {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
}

.footer-header {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.footer-logo {
    height: 36px;
    width: 240px;
    position: relative;
    flex-shrink: 0;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.footer-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.footer-nav-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.footer-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333333;
    transition: width 0.3s ease;
}

.footer-nav-link:hover::after {
    width: 100%;
}

.footer-nav-link-icon {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-nav-icon {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.footer-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 2.4;
    color: #333333;
    margin: 0;
    flex: 1;
}

.footer-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.footer-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 200px;
    height: 40px;
    border: 1px solid #333333;
    background-color: #ffffff;
    position: relative;
    padding: 0 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    overflow: visible;
}

.footer-button span {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #333333;
    transition: color 0.3s ease;
}

.footer-button:hover {
    background-color: #f7f7f7;
    border-color: #333333;
}

.footer-button:hover span {
    color: #333333;
}

.footer-button .button-arrow {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.footer-button:hover .button-arrow {
    transform: translateY(-50%) scale(4);
}

.footer-button .button-arrow circle {
    fill: #C93915;
    transition: fill 0.3s ease;
}

.footer-sns-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-sns-icon:hover {
    opacity: 0.7;
}

.footer-sns-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.footer-copyright {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
    text-align: center;
    margin: 0;
    width: 100%;
}

@media (max-width: 880px) {
    .footer {
        padding: 120px 24px;
    }

    .footer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-text {
        width: 100%;
    }
}
