/* 基本スタイル */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* ヘッダー */
.header-image {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 220px; /* 明示的に高さを設定 */
    position: relative; /* 位置指定の基準点 */
}

.header-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-svg {
    width: 40%;
    max-width: 200px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* コンテナとフォーム */
.container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

select, input[type="email"], input[type="text"], input[type="date"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* ナビゲーション */
.nav {
    background-color: #2c3e50;
    padding: 10px 0;
    margin-bottom: 20px;
    border-radius: 8px;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #3498db;
}

.active {
    background-color: #3498db;
}

/* 見出し */
h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    color: #3498db;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* ボタン */
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #2980b9;
}

.back-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    background-color: #2980b9;
}

.cta-button {
    display: block;
    background-color: #3498db;
    color: white;
    text-align: center;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 30px auto;
    max-width: 300px;
    transition: background-color 0.3s;
}

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

/* アラート */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* エラーページ */
.error-code {
    font-size: 72px;
    color: #e74c3c;
    margin: 0;
}

.error-message {
    margin-bottom: 30px;
}

/* フォーム説明 */
.form-description {
    background-color: #e8f4fc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.form-description ul {
    margin: 10px 0;
    padding-left: 20px;
}

.form-description li {
    margin-bottom: 5px;
}

.form-description h3 {
    margin-top: 0;
    color: #2c3e50;
}

.helper-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* ビジョンページ要素 */
.vision-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

blockquote {
    background-color: #e8f4fc;
    border-left: 5px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-style: italic;
}

.value-point {
    background-color: #f5f5f5;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    position: relative;
}

.value-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* フッター */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 14px;
}

.last-updated {
    font-style: italic;
    color: #777;
    text-align: right;
    margin-top: 40px;
}

/* リスト */
ol {
    padding-left: 20px;
}

ol li {
    margin-bottom: 10px;
}

/* ユーティリティクラス */
.hidden {
    display: none;
}

.pink {
    color: #eb34d8;
}

.underline {
    background-color: yellow;
}

.callout {
    text-align: center;
}