:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-steel-blue: #4682B4;
    --color-steel-blue-light: #5B9BD5;
    --color-steel-blue-dark: #36648B;
    --color-battleship-gray: #4A5568;
    --color-battleship-gray-dark: #2D3748;
    --color-battleship-gray-light: #718096;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #E0E0E0;
    --color-gray-300: #BDBDBD;
    --color-gray-700: #424242;
    --color-gray-800: #1A1A1A;
    --color-gray-900: #0D0D0D;
    
    --font-family: 'Noto Sans JP', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --header-height: 80px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Skip loading screen if within cooldown period */
html.skip-loading .loading-screen {
    display: none;
}

html.skip-loading body {
    overflow: auto !important;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-logo {
    margin-bottom: var(--spacing-lg);
    animation: logoFadeIn 1s ease;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-logo img {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(70, 130, 180, 0.5));
}

.loading-counter {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-steel-blue);
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 30px rgba(70, 130, 180, 0.6),
        2px 2px 0 rgba(0, 0, 0, 0.5);
    font-family: 'Impact', 'Arial Black', sans-serif;
    line-height: 1;
}

.loading-percent {
    font-size: 3.5rem;
    color: var(--color-steel-blue-light);
    font-weight: 900;
}

/* Grid Background for Loading */
.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(70, 130, 180, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 130, 180, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Rivets Pattern for Loading */
.loading-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(70, 130, 180, 0.1) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

/* Dot Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(70, 130, 180, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
    margin-right: auto;
}

.logo a {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition-base);
    color: var(--color-black);
}

.logo a:hover {
    color: var(--color-steel-blue);
}

.nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-list {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.5rem 0;
    color: var(--color-black);
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-steel-blue);
    transition: var(--transition-base);
}

.nav-list a:hover::before {
    width: 100%;
}

.nav-contact-btn {
    padding: 0.8rem 2rem;
    background: var(--color-steel-blue);
    color: var(--color-white);
    border-radius: 0;
    transition: var(--transition-base);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    display: inline-block;
    text-decoration: none;
    margin-left: var(--spacing-md);
}

.nav-contact-btn:hover {
    background: var(--color-steel-blue-light);
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.4);
}

/* Header Social */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: var(--spacing-md);
    margin-right: 0;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    transition: var(--transition-base);
}

.header-social a svg {
    width: 32px;
    height: 32px;
    color: var(--color-black);
}

.header-social a:hover {
    transform: translateY(-2px) scale(1.05);
}

.header-social a:hover svg {
    color: var(--color-steel-blue);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-black);
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: var(--transition-slow);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    padding: var(--spacing-lg) var(--spacing-md);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateX(-20px);
    transition: var(--transition-base);
}

.mobile-menu.active .mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    padding: var(--spacing-sm) 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-color: #C5C5C5;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 0.3;
    animation: zoomIn 6s ease-out forwards;
    z-index: 2;
}

.hero-slide.prev {
    opacity: 0.3;
    z-index: 1;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 3;
}

.hero-grid {
    display: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    animation: heroFadeIn 1.5s ease;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: var(--color-black);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    font-weight: 400;
    color: var(--color-black);
    max-width: 800px;
    margin: 0;
    line-height: 2;
    text-align: left;
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-black);
    z-index: 10;
    cursor: pointer;
    transition: var(--transition-base);
}

.hero-scroll:hover {
    transform: translateX(-50%) translateY(-5px);
}

.hero-scroll span {
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-black), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--color-steel-blue);
    animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
    0% { 
        transform: translateY(-30px); 
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(80px); 
        opacity: 0; 
    }
}

/* Section Common */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-md);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title-ja {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.section-title-en {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-steel-blue);
}

/* About Section */
.about {
    background: rgba(45, 55, 72, 0.8);
    position: relative;
    overflow: hidden;
}

/* Technical Grid Background */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(70, 130, 180, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 130, 180, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Rivets Pattern */
.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--color-battleship-gray-light) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.about .section-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.about .section-header {
    text-align: left;
    max-width: 1400px;
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
    position: relative;
}

.about .section-title-ja {
    display: inline-block;
    position: relative;
    padding-left: 2rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* Diagonal Cut Line Decoration */
.about .section-title-ja::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 8px;
    height: 120%;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-steel-blue-light));
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5);
}

/* Additional accent lines */
.about .section-title-ja::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.about .section-title-en {
    display: block;
    padding-left: 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-steel-blue-light);
}

.about-content-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.about-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    background: var(--color-battleship-gray);
    border: 2px solid var(--color-battleship-gray-light);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(70, 130, 180, 0.2);
}

/* Image frame rivets */
.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(70, 130, 180, 0.3);
    pointer-events: none;
    z-index: 2;
}

/* Corner rivets */
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: var(--color-steel-blue);
    border-radius: 50%;
    box-shadow: 
        calc(100% - 28px) 0 0 var(--color-steel-blue),
        0 calc(100% - 28px) 0 var(--color-steel-blue),
        calc(100% - 28px) calc(100% - 28px) 0 var(--color-steel-blue);
    pointer-events: none;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: contrast(1.1) brightness(0.95);
}

.about-image:hover img {
    transform: scale(1.05);
    filter: contrast(1.15) brightness(1);
}

.about-text {
    padding: var(--spacing-md);
    position: relative;
}

/* Metal plate effect */
.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--color-battleship-gray-light) 0%, 
        var(--color-steel-blue) 50%, 
        var(--color-battleship-gray-light) 100%
    );
    opacity: 0.5;
}

.about-description {
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

.about-cta {
    text-align: left;
}

/* Battleship-style button */
.about-cta .btn-outline {
    border-radius: 0;
    border: 2px solid var(--color-steel-blue);
    background: var(--color-battleship-gray);
    color: var(--color-white);
    padding: 1rem 3rem;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.about-cta .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(70, 130, 180, 0.3), transparent);
    transition: var(--transition-base);
}

.about-cta .btn-outline:hover {
    background: var(--color-steel-blue);
    border-color: var(--color-steel-blue-light);
    box-shadow: 
        0 0 30px rgba(70, 130, 180, 0.6),
        inset 0 0 20px rgba(70, 130, 180, 0.2);
    transform: translateY(-2px);
}

.about-cta .btn-outline:hover::before {
    left: 100%;
}

/* Service Section */
.service {
    background: rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
}

/* Technical Grid Background */
.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(70, 130, 180, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 130, 180, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Rivets Pattern */
.service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(70, 130, 180, 0.3) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.service .section-container {
    position: relative;
    z-index: 2;
}

.service .section-header {
    text-align: left;
    max-width: 1400px;
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
    position: relative;
}

.service .section-title-ja {
    display: inline-block;
    position: relative;
    padding-left: 2rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* Diagonal Cut Line Decoration */
.service .section-title-ja::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 8px;
    height: 120%;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-steel-blue-light));
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5);
}

/* Additional accent lines */
.service .section-title-ja::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.service .section-title-en {
    display: block;
    padding-left: 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-steel-blue-light);
}

.service-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    position: relative;
    padding: var(--spacing-lg);
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--color-battleship-gray);
    transition: var(--transition-base);
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

/* Metal plate effect with rivets */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-steel-blue-light));
    transition: var(--transition-slow);
    box-shadow: 0 0 15px rgba(70, 130, 180, 0.5);
}

/* Corner rivets */
.service-card::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 6px;
    height: 6px;
    background: var(--color-steel-blue);
    border-radius: 50%;
    box-shadow: 
        calc(100% - 40px) 0 0 var(--color-steel-blue),
        0 calc(100% - 40px) 0 var(--color-steel-blue),
        calc(100% - 40px) calc(100% - 40px) 0 var(--color-steel-blue),
        0 0 10px rgba(70, 130, 180, 0.5);
    pointer-events: none;
}

.service-card:hover {
    background: rgba(45, 55, 72, 0.9);
    border-color: var(--color-steel-blue);
    box-shadow: 
        0 15px 40px rgba(70, 130, 180, 0.3),
        inset 0 0 30px rgba(70, 130, 180, 0.1);
    transform: translateY(-5px);
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(70, 130, 180, 0.3);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(70, 130, 180, 0.5);
    letter-spacing: 0.05em;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

/* Title underline */
.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-steel-blue);
    box-shadow: 0 0 10px rgba(70, 130, 180, 0.5);
}

.service-description {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.service-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Battleship-style button for service section */
.service-cta .btn-outline {
    border-radius: 0;
    border: 2px solid var(--color-steel-blue);
    background: rgba(26, 26, 26, 0.9);
    color: var(--color-white);
    padding: 1rem 3rem;
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.service-cta .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(70, 130, 180, 0.3), transparent);
    transition: var(--transition-base);
}

.service-cta .btn-outline:hover {
    background: var(--color-steel-blue);
    border-color: var(--color-steel-blue-light);
    box-shadow: 
        0 0 30px rgba(70, 130, 180, 0.6),
        inset 0 0 20px rgba(70, 130, 180, 0.2);
    transform: translateY(-2px);
}

.service-cta .btn-outline:hover::before {
    left: 100%;
}

/* Strongs Section */
.strongs {
    background: rgba(13, 13, 13, 0.5);
    position: relative;
}

.strongs .section-header {
    text-align: left;
    max-width: 1400px;
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
    position: relative;
}

.strongs .section-title-ja {
    display: inline-block;
    position: relative;
    padding-left: 2rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* Diagonal Cut Line Decoration */
.strongs .section-title-ja::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 8px;
    height: 120%;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-steel-blue-light));
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.5);
}

/* Additional accent lines */
.strongs .section-title-ja::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.strongs .section-title-en {
    display: block;
    padding-left: 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-steel-blue-light);
}

.strongs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.strong-card {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(70, 130, 180, 0.3);
    transition: var(--transition-base);
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.strong-card:nth-child(1) { animation-delay: 0.2s; }
.strong-card:nth-child(2) { animation-delay: 0.3s; }
.strong-card:nth-child(3) { animation-delay: 0.4s; }
.strong-card:nth-child(4) { animation-delay: 0.5s; }

.strong-card:hover {
    background: rgba(45, 55, 72, 0.5);
    border-color: var(--color-steel-blue);
    box-shadow: 0 20px 40px rgba(70, 130, 180, 0.3);
    transform: translateY(-10px);
}

.strong-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.strong-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: contrast(1.1) brightness(0.9);
}

.strong-card:hover .strong-image img {
    transform: scale(1.1);
    filter: contrast(1.2) brightness(1);
}

.strong-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

/* Decorative line on left */
.strong-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-steel-blue), transparent);
}

.strong-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-steel-blue);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(70, 130, 180, 0.6);
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.strong-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    color: var(--color-white);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

/* Title decoration line */
.strong-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-steel-blue);
    box-shadow: 0 0 10px rgba(70, 130, 180, 0.5);
}

.strong-description {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
}

/* Recruit Section */
.recruit {
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* Technical Grid Background */
.recruit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(70, 130, 180, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 130, 180, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Rivets Pattern */
.recruit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(70, 130, 180, 0.15) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.recruit-background {
    display: none;
}

.recruit .section-container {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) var(--spacing-md);
}

.recruit .section-header {
    text-align: center;
    max-width: 1400px;
    margin: 0 auto var(--spacing-md);
    padding: 0;
    position: relative;
}

.recruit .section-title-ja {
    display: inline-block;
    position: relative;
    padding: 0 3rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
    color: var(--color-white);
}

/* Diagonal Cut Line Decoration - Left */
.recruit .section-title-ja::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) skewY(-15deg);
    width: 8px;
    height: 120%;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-steel-blue-light));
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.4);
}

/* Diagonal Cut Line Decoration - Right */
.recruit .section-title-ja::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) skewY(15deg);
    width: 8px;
    height: 120%;
    background: linear-gradient(180deg, var(--color-steel-blue), var(--color-steel-blue-light));
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.4);
}

.recruit .section-title-en {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-steel-blue);
}

.recruit-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--color-steel-blue);
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
    box-shadow: 
        0 20px 60px rgba(70, 130, 180, 0.3),
        inset 0 0 0 1px rgba(70, 130, 180, 0.1);
}

/* Corner rivets for recruit content box */
.recruit-content::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 10px;
    height: 10px;
    background: var(--color-steel-blue);
    border-radius: 50%;
    box-shadow: 
        calc(100% - 60px) 0 0 var(--color-steel-blue),
        0 calc(100% - 60px) 0 var(--color-steel-blue),
        calc(100% - 60px) calc(100% - 60px) 0 var(--color-steel-blue),
        0 0 15px rgba(70, 130, 180, 0.6);
    pointer-events: none;
    z-index: 3;
}

/* Top accent line */
.recruit-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-steel-blue), transparent);
    box-shadow: 0 0 15px rgba(70, 130, 180, 0.5);
}

.recruit-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
    color: var(--color-black);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

/* Title decoration line */
.recruit-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-steel-blue);
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.6);
}

.recruit-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    opacity: 0.9;
}

.recruit-cta {
    margin-top: var(--spacing-md);
}

/* Prominent CTA button */
.recruit-cta .btn-outline {
    border-radius: 0;
    border: 3px solid var(--color-steel-blue);
    background: var(--color-steel-blue);
    color: var(--color-white);
    padding: 1rem 3.5rem;
    position: relative;
    overflow: hidden;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: 
        0 10px 30px rgba(70, 130, 180, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.recruit-cta .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-base);
}

.recruit-cta .btn-outline:hover {
    background: var(--color-steel-blue-light);
    border-color: var(--color-steel-blue-light);
    box-shadow: 
        0 15px 50px rgba(70, 130, 180, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
}

.recruit-cta .btn-outline:hover::before {
    left: 100%;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--color-steel-blue);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

/* Technical Grid Background */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, rgba(70, 130, 180, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 130, 180, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Rivets Pattern */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(70, 130, 180, 0.2) 2px, transparent 2px);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid rgba(70, 130, 180, 0.3);
    position: relative;
}

/* Accent line on border */
.footer-top::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: var(--color-steel-blue);
    box-shadow: 0 0 10px rgba(70, 130, 180, 0.5);
}

/* Left: Company Info */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    position: relative;
}

.footer-company {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-address,
.footer-tel {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(70, 130, 180, 0.4);
    background: rgba(0, 0, 0, 0.3);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    transition: var(--transition-base);
}

.footer-social a svg {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-steel-blue);
    border-color: var(--color-steel-blue-light);
    box-shadow: 0 0 20px rgba(70, 130, 180, 0.6);
    transform: translateY(-3px);
}

.footer-social a:hover svg {
    color: var(--color-white);
}

/* Center: Logo */
.footer-logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    height: 160px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(70, 130, 180, 0.3));
    transition: var(--transition-base);
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(70, 130, 180, 0.6));
}

/* Right: Navigation */
.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-lg);
    position: relative;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    position: relative;
}

.footer-nav a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-base);
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-steel-blue);
    transition: var(--transition-base);
    box-shadow: 0 0 10px rgba(70, 130, 180, 0.5);
}

.footer-nav a:hover {
    color: var(--color-steel-blue-light);
}

.footer-nav a:hover::before {
    width: 100%;
}

/* Bottom: Copyright */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: var(--spacing-md);
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    font-weight: 300;
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-steel-blue);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--color-steel-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-steel-blue-light);
    border-color: var(--color-steel-blue-light);
    box-shadow: 0 0 30px rgba(70, 130, 180, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-steel-blue);
}

.btn-outline:hover {
    background: var(--color-steel-blue);
    color: var(--color-white);
    box-shadow: 0 0 30px rgba(70, 130, 180, 0.4);
    transform: translateY(-2px);
}

/* Utility Classes */
.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-2xl: 5rem;
    }
    
    .section-container {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .strongs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --spacing-2xl: 4rem;
        --header-height: 70px;
    }
    
    .nav {
        display: none;
    }
    
    .nav-contact-btn {
        display: none;
    }
    
    .header-social {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        height: 100svh;
    }
    
    .hero-container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title-main {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-subtitle br {
        display: none;
    }
    
    .about .section-header {
        padding: 0 var(--spacing-md);
    }
    
    .about-content-new {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image {
        height: 350px;
    }
    
    .about-text {
        padding: var(--spacing-md);
    }
    
    .about-cta .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .service .section-header {
        padding: 0 var(--spacing-md);
    }
    
    .service-grid {
        gap: var(--spacing-md);
    }
    
    .strongs .section-header {
        padding: 0 var(--spacing-md);
    }
    
    .strongs-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .strong-image {
        height: 250px;
    }
    
    .recruit .section-header {
        padding: 0 var(--spacing-md);
    }
    
    .recruit .section-title-ja {
        padding: 0 2rem;
    }
    
    .recruit-content {
        padding: var(--spacing-md);
    }
    
    .recruit-cta .btn-outline {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
        order: 2;
    }
    
    .footer-logo-wrapper {
        order: 1;
    }
    
    .footer-logo-img {
        height: 120px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-address,
    .footer-tel {
        font-size: 0.85rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-nav {
        order: 3;
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
        justify-content: center;
    }
    
    .footer-nav-column {
        align-items: center;
    }
    
    .footer-nav a {
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: var(--spacing-md);
    }
    
    .pc-only {
        display: none;
    }
    
    .sp-only {
        display: inline;
    }
}

@media (max-width: 480px) {
    .about-item {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* Scroll Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Bottom - Privacy Policy & Copyright */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-privacy:hover {
    color: var(--color-steel-blue);
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .footer-privacy,
    .footer-copyright {
        font-size: 0.8rem;
    }
}