/* ベース設定 */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ffd5;
}

nav ul {
    padding-right: 60px;
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

nav a:hover {
    color: #00ffd5;
}

/* Hero セクション */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1600267166115-d6b1b1c8b4c3') no-repeat center center/cover;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* フォームコンテナ */
.container {
    max-width: 1000px;
    margin: auto;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
    /* Adjusted to avoid header overlap */
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
    color: #000;
}

input,
textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    height: 150px;
}

button {
    background-color: #00ffd5;
    color: #000;
    border: none;
    padding: 12px 24px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 30px;
    transition: background 0.3s;
}

button:hover {
    background-color: #00bfa5;
}

#status {
    text-align: center;
    margin-top: 20px;
}

/* Mobile and Tablet responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    form {
        padding: 10px;
    }

    button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    form {
        padding: 10px;
    }

    button {
        width: 100%;
    }
}