/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .logo img {
    height: 50px;
}

header .logo span {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

/* ナビゲーションメニュー */
header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

header nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

/* ホームセクション */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #0000ff; /* 青色背景 */
    color: #fff;
    text-align: center;
}

#home h1 {
    font-size: 48px; /* 大きいフォントサイズ */
    font-weight: bold; /* ボールド */
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.2); /* 半透明背景 */
    padding: 15px;
    border-radius: 8px;
    display: inline-block;
}

#home p.highlight-text {
    font-size: 1.25rem; /* 通常のフォントサイズ */
    font-weight: bold;
    text-align: center;
    max-width: 800px; /* 折り返し防止用の最大幅 */
    margin: 0 auto; /* 水平中央揃え */
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2); /* 半透明背景 */
    border-radius: 8px; /* 角丸 */
}

/* サービス紹介セクション */
#services h2.under-construction-message {
    text-align: center;
    color: red;
    font-size: 1.5rem;
    margin-top: 10px;
}

.services-container {
    display: flex;
    gap: 20px;
    justify-content: space-around;
    margin: 20px 0;
}

.service {
    flex: 1;
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

.service img {
    max-width: 100%;
    height: auto;
}

.service:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 経営コンサルティング背景 */
.service:nth-child(1) {
    background-color: #eaf6ff; /* 背景色 */
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.contact-form label {
    font-size: 14px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* 「制作中」のメッセージスタイル */
.under-construction-message {
    text-align: center;
    color: red;
    font-size: 1.5rem;
    margin-top: 10px;
}

/* 背景と全体のスタイル */
#policy-links {
    background-color: #f5f5f5; /* 背景色をwhitesmokeに設定 */
    padding: 20px 0; /* 上下に余白を追加 */
    text-align: center;
}

/* リンクリストのスタイル */
#policy-links ul {
    list-style: none; /* リストマーカーを非表示 */
    margin: 0; /* 外側の余白をリセット */
    padding: 0; /* 内側の余白をリセット */
    display: flex; /* リンクを横並びに配置 */
    justify-content: center; /* リンクを中央揃え */
    gap: 20px; /* リンク間の余白を設定 */
}

/* 各リンクのスタイル */
#policy-links ul li a {
    text-decoration: none; /* 下線を削除 */
    color: #333; /* テキストの色を設定 */
    font-size: 14px; /* テキストサイズを調整 */
    font-weight: 500; /* 適度な太さを設定 */
    transition: color 0.3s ease; /* ホバー時のアニメーション */
}

/* ホバー時のスタイル */
#policy-links ul li a:hover {
    color: #007bff; /* ホバー時に色を変更 (アクセントカラー) */
}

/* フッター */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #000080; /* navy */
    color: #fff !important; /* 優先度を高める */
}

/* === 役員申込フォーム専用 === */
.container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.description {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
}

.form-group input {
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.form-group input::placeholder {
  color: #aaa;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #218838;
}

.error {
  background: #ffe0e0;
  color: #900;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.success {
  background: #e6ffec;
  color: #156a2c;
  padding: 14px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
}

/* 改良された申込フォームデザイン */
.form-box {
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  margin: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.centered-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.form-row input {
  padding: 12px;
  font-size: 16px;
  background-color: #eaf4ff;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.form-row input:focus {
  border-color: #007bff;
  outline: none;
}

.form-submit {
  text-align: center;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  font-size: 18px;
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* 管理画面：申込一覧（役員用） */
.admin-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    border: 1px solid #ccc;
    text-align: left;
}

.admin-table th {
    background-color: #006400;
    color: #fff;
}

.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.btn-approve {
    background-color: #007bff;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.btn-approve:hover {
    background-color: #0056b3;
}

