/* 全体 */
body {
    margin: 0;
    font-family: sans-serif;
    background: #fff;
    color: #333;
}

/* ヘッダー */
header {
    background: #1abc9c;
}

.logo {
    width: 250px;
    height: auto;
}

.nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    text-align: center;
    align-items: center;
    width: 75%;
    margin: 0;
}

.nav li {
    display: grid;
    place-items: center;
}

.nav a {
    margin-left: 15px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.nav a:hover {
    text-decoration: underline;
}

.nav div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* メイン */
main {
    padding: 20px;
}

/* フッター */
footer {
    background: #1abc9c;
    color: #fff;
    text-align: center;
    padding: 15px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.contact-description {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-left: 5px solid #00adb5;
    border-radius: 8px;
    line-height: 1.6;
}

/* フォーム全体 */
form {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 各入力ブロック */
form div {
    margin-bottom: 15px;
}

/* ラベル */
label {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

/* 入力欄 */
input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 14px;
    resize: none;
}

/* フォーカス時 */
input:focus, textarea:focus {
    outline: none;
    border-color: #00adb5;
}

/* 送信ボタン */
input[type="submit"] {
    background: #00adb5;
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

input[type="submit"]:hover {
    background: #00cfcf;
}