/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.8;
    color: #e8e8e8;
    background: #0d0d0d;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo h1 {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0d0d0d;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.1em;
}

.logo span {
    font-size: 16px;
    font-weight: 500;
    color: #e8e8e8;
    letter-spacing: 0.05em;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #e8e8e8;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.05em;
}

.nav a:hover {
    color: #d4af37;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e8e8e8;
    transition: all 0.3s ease;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(13, 13, 13, 0.4) 0%, 
        rgba(212, 175, 55, 0.1) 30%, 
        rgba(13, 13, 13, 0.4) 70%,
        rgba(184, 134, 11, 0.1) 100%),
        url('img/image_10.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(13, 13, 13, 0.6) 70%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #e8e8e8;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.08em;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    opacity: 0.95;
    letter-spacing: 0.05em;
}

/* 会社紹介 */
.intro {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #e8e8e8;
    position: relative;
    display: inline-block;
    letter-spacing: 0.08em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 2;
    max-width: 950px;
    margin: 0 auto;
    color: #c8c8c8;
    letter-spacing: 0.05em;
}

/* 採用情報 */
.recruit-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.recruit-intro {
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 80px;
    color: #c8c8c8;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.05em;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 100px;
}

.feature-item {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border-color: rgba(212, 175, 55, 0.5);
}

.feature-icon {
    color: #d4af37;
    margin-bottom: 25px;
}

.feature-item h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e8e8e8;
    letter-spacing: 0.05em;
}

.feature-item p {
    color: #c8c8c8;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* 求人情報テーブル */
.recruit-table {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.recruit-table h4 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #e8e8e8;
    text-align: center;
    letter-spacing: 0.08em;
}

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

.recruit-table th,
.recruit-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    vertical-align: top;
}

.recruit-table th {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0d0d0d;
    font-weight: 600;
    width: 180px;
    border-radius: 12px 0 0 12px;
    letter-spacing: 0.05em;
}

.recruit-table td {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 0 12px 12px 0;
    color: #c8c8c8;
    letter-spacing: 0.03em;
    line-height: 1.8;
}

/* 事業内容 */
.business {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 80px;
}

.business-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.business-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border-color: rgba(212, 175, 55, 0.5);
}

.business-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.business-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.business-item:hover .business-image::after {
    opacity: 0.8;
}

.electrical-work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%), url('img/image_3.png');
    background-size: cover;
    background-position: center;
}

.communication-work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%), url('img/image_2.png');
    background-size: cover;
    background-position: center;
}

.security-work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%), url('img/image_9.png');
    background-size: cover;
    background-position: center;
}

.power-work {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%), url('img/image_4.png');
    background-size: cover;
    background-position: center;
}

.business-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 30px 30px 20px;
    color: #e8e8e8;
    letter-spacing: 0.05em;
}

.business-item p {
    padding: 0 30px 30px;
    color: #c8c8c8;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* 会社概要 */
.company {
    padding: 120px 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
    align-items: start;
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.company-table th,
.company-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.company-table th {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0d0d0d;
    font-weight: 600;
    width: 160px;
    letter-spacing: 0.05em;
}

.company-table td {
    background: rgba(26, 26, 26, 0.8);
    color: #c8c8c8;
    letter-spacing: 0.03em;
    line-height: 1.8;
}

.company-map {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-container {
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

.map-info {
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #c8c8c8;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.map-info p {
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.map-info strong {
    color: #d4af37;
    font-weight: 600;
}

.map-info small {
    color: #999;
    font-size: 0.9rem;
}

/* お問い合わせ */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #0d0d0d;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="%23000" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 0;
}

.contact-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.08em;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-item strong {
    font-size: 1rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.contact-item span {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.contact-button {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    color: #e8e8e8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #d4af37;
    letter-spacing: 0.08em;
}

.footer-logo p {
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.8;
    letter-spacing: 0.03em;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0.6;
    letter-spacing: 0.03em;
}

/* モバイル専用改行 */
.mobile-br {
    display: none;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .mobile-br {
        display: inline;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: right 0.3s ease;
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .nav li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav.active li:nth-child(4) { transition-delay: 0.4s; }
    
    .nav a {
        font-size: 1.4rem;
        font-weight: 600;
        padding: 15px 0;
        display: block;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        border-bottom-color: #d4af37;
        transform: translateX(10px);
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .hamburger:hover {
        transform: scale(1.1);
    }
    
    .hamburger span {
        transition: all 0.3s ease;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* メニューオーバーレイ */
    .nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
    }
    
    .nav.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .company-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact h3 {
        font-size: 2.2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .recruit-table {
        padding: 30px;
    }
    
    .recruit-table th,
    .recruit-table td {
        padding: 18px 12px;
        font-size: 0.95rem;
    }
    
    .recruit-table th {
        width: 140px;
    }
    
    .intro,
    .recruit-section,
    .business,
    .company,
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .recruit-table {
        padding: 20px;
    }
    
    .recruit-table th,
    .recruit-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .recruit-table th {
        width: 110px;
    }
    
    .feature-item {
        padding: 40px 30px;
    }
    
    .business-item h4 {
        padding: 25px 25px 15px;
    }
    
    .business-item p {
        padding: 0 25px 25px;
    }
    
    .intro,
    .recruit-section,
    .business,
    .company,
    .contact {
        padding: 60px 0;
    }
    
    .intro-text,
    .recruit-intro {
        font-size: 1.1rem;
    }
    
    .contact h3 {
        font-size: 1.9rem;
    }
}

/* LiPlace広告 */
.liplace-ad {
    background: rgba(20, 20, 20, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    text-align: center;
}

.liplace-text {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.liplace-text a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.liplace-text a:hover {
    color: #b8860b;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .liplace-text {
        font-size: 0.8rem;
    }
}

