@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

main {
    padding-top: 80px;
}

section {
    padding: 5rem 10%;
}

h1, h2 {
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

.feature-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item, .portfolio-item {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.feature-item:hover, .portfolio-item:hover {
    transform: translateY(-5px);
}

.feature-item .material-icons {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 1rem;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

form {
    display: grid;
    gap: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #3498db;
    color: #fff;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 1rem;
    }
}

.company-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
}

.info-text {
    flex: 1;
    min-width: 250px;
}

.info-text p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-text .material-icons {
    margin-right: 0.5rem;
    color: #3498db;
}

.map-container {
    flex: 2;
    min-width: 300px;
    height: 300px;
    margin-top: 1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .company-info {
        flex-direction: column;
    }

    .map-container {
        margin-top: 2rem;
    }
}

#home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('path/to/your/background-image.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.home-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

#home h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#home p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-secondary {
    background-color: transparent;
    border: 2px solid #fff;
}

.cta-secondary:hover {
    background-color: #fff;
    color: #333;
}

/* Animation */
@keyframes pop-in {
    0% {
        opacity: 0;
        transform: translateY(4rem) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.animate-pop-in {
    animation: pop-in 0.6s cubic-bezier(0, 0.9, 0.3, 1.2) forwards;
    opacity: 0;
}

.animate-pop-in:nth-child(1) {
    animation-delay: 0.6s;
}

.animate-pop-in:nth-child(2) {
    animation-delay: 0.9s;
}

.animate-pop-in:nth-child(3) {
    animation-delay: 1.2s;
}

@media (max-width: 768px) {
    #home h1 {
        font-size: 2.5rem;
    }

    #home p {
        font-size: 1.2rem;
    }

    .cta-container {
        flex-direction: column;
    }
}