/* 共通リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #003366;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header img.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

section {
    margin-bottom: 40px;
}

h1, h2, h3 {
    color: #003366;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 10px;
    text-align: left;
}

footer {
    background-color: #f5f5f5;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #003366;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* FAQ用 */
.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    cursor: pointer;
    background-color: #e6f0ff;
    padding: 10px;
}

.faq-item p {
    padding: 10px;
    display: none;
    background-color: #f9f9f9;
}

.faq-item.active p {
    display: block;
}

.contact-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.contact-form .required {
  color: #d00;
}
