/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth;}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff; //contact.css
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.25);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 30px;
    font-weight: 500;
}

.logo a:hover {
    color: #f0f0f0;
    text-decoration: none;
}

header nav ul {
    display: flex;
    gap: 63px;
    list-style: none;
}

header nav a {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
}

header nav a:hover {
    color: #f0f0f0;
    text-decoration: none;
}



main:before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url('../images/background.jpg') top no-repeat;
    background-size: cover;
}

.main {
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: top;
    min-height: 100vh;
    background-attachment: fixed;
    //position: fixed;
}

.bg {
    background: url('../images/background.jpg');
	background-size: cover;
	background-attachment: fixed;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -100;
}

.interval {
  height:96px;
  background-color: rgba(0, 0, 0, 0.25);
}


/* Footer */
footer {
    background-color: #444;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer nav {
    margin-bottom: 20px;
}

footer nav ul {
    display: flex;
    justify-content: center;
    gap: 63px;
    list-style: none;
}

footer nav a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

footer nav a:hover {
    color: #f0f0f0;
    text-decoration: none;
}

.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    
    .nosp {
        display: none;
    }
    
    /* Header */
    
    
    .logo {
        font-size: 24px;
    }
    
    
    .header-inner {
        padding: 24px 20px;
    }
    
    header nav a {
        font-size: 16px;
    }
    
    header nav ul {
        gap: 15px;
        font-size: 14px;
    }
    
    /* Main Copy Section */
    .contact-btn {
        padding: 12px 100px;
    }

    /* Works Grid */
    .works-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }


    /* Company Section */
    .company-info {
        margin: 0 20px 40px;
        padding: 20px;
    }

    .company-info dl {
        grid-template-columns: 1fr;
        gap: 5px;
        text-align: center;
    }

    .company-info dt {
        text-align: center;
        padding-right: 0;
        margin-top: 15px;
    }

    .company-info dd {
        text-align: center;
    }

    /* Footer */
    footer nav ul {
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 20px;
        font-size: 14px;
    }
}