/* ========== 基本設定 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* ========== 固定アコーディオンメニュー ========== */
.fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.accordion-header {
    width: 100%;
}

.accordion-trigger {
    width: 100%;
    padding: 15px 20px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.accordion-trigger:hover {
    background-color: #3a3a3a;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #1a1a1a;
}

.accordion-content.active {
    /* max-height: 2000px; ← 削除またはコメントアウト（JS で動的制御するため） */
    transition: max-height 0.3s ease-in;
}

.accordion-content nav ul {
    list-style: none;
    padding: 10px 20px;
}

.accordion-content nav ul li {
    margin: 5px 0;
}

.accordion-content nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.accordion-content nav ul li a:hover {
    color: #00ccff;
}

/* ========== 本文アコーディオン ========== */
.content-accordion {
    padding: 20px;
    margin-top: 150px;
}

/* 本文内アコーディオン */
.accordion-item {
    margin: 10px 0;
}

.accordion-item .accordion-trigger {
    width: 100%;
    padding: 12px 20px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.accordion-item .accordion-trigger:hover {
    background-color: #3a3a3a;
}

.accordion-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #1a1a1a;
    padding: 0 20px;
    border-radius: 0 0 5px 5px;
}

.accordion-item .accordion-content.active {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
    padding: 15px 20px;
}

.accordion-item .accordion-content p {
    color: #cccccc;
}

/* ========== 50px スペーサー ========== */
.spacer-50 {
    height: 50px;
    clear: both;
}

/* ========== 提案サイトセクション ========== */
.site-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-section h2 {
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

/* 追加アコーディオンセクション（提案サイト3の下） */
.extra-accordion-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.extra-accordion-section .accordion-item {
    margin: 0;
}

/* ========== リンクボタン並列配置 ========== */
.link-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.link-btn {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    background-color: #0066cc;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.link-btn:hover {
    background-color: #0088ff;
}

/* ========== 画像設定（ヘッダー画像） ========== */
.header-image {
    width: 100%;
    text-align: center;
    margin-top: 60px;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* ========== 実験中バッジ（右上固定） ========== */
.experimental-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #FFD700;
    letter-spacing: 0.1em;
    z-index: 2000;
    pointer-events: none;
}

/* ========== リンク更新ボタン ========== */
.refresh-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.refresh-btn {
    padding: 12px 28px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.refresh-btn:hover {
    background-color: #3a3a3a;
    border-color: #00ccff;
    color: #00ccff;
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== サポートフォームセクション ========== */
.support-form-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    text-align: center;
}

.support-form-section h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.form-description {
    color: #cccccc;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.form-embed {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.form-embed iframe {
    border-radius: 8px;
    max-width: 100%;
}

.form-note {
    color: #888888;
    font-size: 0.85rem;
}

.form-note a {
    color: #00ccff;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ========== フッター（著作権表示） ========== */
.site-footer {
    text-align: center;
    padding: 30px 20px 50px;
    color: #666666;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

/* ========== 固定メニューによる余白調整 ========== */
main {
    padding-top: 20px;
}

/* ========== モバイル対応 ========== */
@media (max-width: 768px) {
    .experimental-badge {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.65rem;
    }
    
    .support-form-section {
        padding: 30px 16px 40px;
    }
    
    .form-embed iframe {
        height: 900px;
    }
    
    .header-image img {
        height: 250px;
    }
}