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

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
}

.logo h1 {
    font-size: 2rem;
}

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

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

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* フッター */
footer {
    padding: 1rem;
    background-color: #000;
    color: #fff;
    text-align: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 1rem;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

/* エラーメッセージ用セクション */
.error-message {
    text-align: center;
    padding: 5rem 2rem;
    background-color: #f9f9f9;
    color: #000;
}

.error-message h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.error-message p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.error-message a.cta-button {
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 2rem;
    display: inline-block;
}

.error-message a.cta-button:hover {
    background-color: #444;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    nav ul li {
        margin-left: 1rem;
    }
}




/* お問い合わせページ */
.contact-section {
    padding: 2rem;
    background-color: #f2f2f2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

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