/* static/style.css （統合版） */

/* ── リセット＆ベース ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    overflow-x: hidden;
    /* 垂直方向のスクロールは許可 */
    overflow-y: auto;
    transition: background 0.3s ease, color 0.3s ease;
    /* デフォルトはライトテーマ相当 */
    padding-top: 64px;
}

/* ダークテーマ時はテキストを淡い灰色に */
body.dark-theme {
    color: #ddd;
}

/* ── particles.js 用キャンバス ── */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #141d26; /* ライトテーマ（青系パーティクル） */
    transition: background 0.3s ease;
}
body.dark-theme #particles-js {
    background: #0a0a14;
}

/* ── ヘッダー ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: rgba(20, 29, 38, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}
body.dark-theme .header {
    background: rgba(10, 10, 20, 0.8);
}

/* コンテナ（レスポンシブ対応） */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 5%;
}

/* ロゴ */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00acee; /* 変更 */
    transition: color 0.3s ease;
}
body.dark-theme .logo {
    color: #00acee; /* 変更 */
}

/* ── ハンバーガーメニュー ── */
.hamburger {
    display: inline-block;
    cursor: pointer;
    width: 40px;
    height: 30px;
    position: relative;
    z-index: 1001;
}
.hamburger span {
    display: block;
    position: absolute;
    left: 0;
    height: 5px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out, background-color 0.3s ease;
    z-index: 1002;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 24px; }
.hamburger.open span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
}
@media (min-width: 769px) {
    .hamburger {
        display: block !important;
    }
}
body:not(.dark-theme) .hamburger span {
    background-color: #fff;
}
body.dark-theme .hamburger span {
    background-color: #888;
}

/* ── ドロップダウンメニュー本体 ── */
.nav-list {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    /* ライト（デフォルト）テーマ時の背景 */
    background: #141d26;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease, max-height 0.4s ease, background 0.3s ease;
    z-index: 999;
}
/* ダークテーマ時の背景 */
body.dark-theme .nav-list {
    background: #0a0a14;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}
.nav-list.open {
    transform: translateY(0);
    max-height: 100vh;
}
.nav-list li {
    list-style: none;
    text-align: center;
    border: none;
    transition: transform 0.2s ease;
}
.nav-list li:hover {
    transform: scale(1.03);
}
.nav-list li a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease;
}
.nav-list li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.5rem;
    width: 0;
    height: 2px;
    background: #00acee; /* 変更 */
    transition: width 0.3s ease, left 0.3s ease, background 0.3s ease;
}
.nav-list li a:hover::after {
    width: 50%;
    left: 25%;
}
.nav-list li a:hover {
    color: #00acee; /* 変更 */
}
body.dark-theme .nav-list li a {
    color: #fff;
}
body.dark-theme .nav-list li a::after {
    background: #00acee;
}

/* ── テーマ切替スイッチ ── */
.theme-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.theme-item .switch {
    width: 60px;
    height: 34px;
    position: relative;
}
.theme-item .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.theme-item .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: background-color 0.3s ease;
}
.theme-item .slider::before {
    content: "";
    position: absolute;
    height: 28px;
    width: 28px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.theme-item input:not(:checked) + .slider::before {
    transform: translateX(3px);
    animation: bounce 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.theme-item input:checked + .slider {
    background-color: #000;
}
.theme-item input:checked + .slider::before {
    transform: translateX(28px);
    animation: bounce 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.theme-item .theme-label {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    transition: color 0.3s ease;
}
body.dark-theme .theme-item .theme-label {
    color: #888;
}
@keyframes bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ── ヒーローセクション ── */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    z-index: 1;
    padding: 15rem 1rem 0;
    margin-bottom: 1rem;
}
/* キャッチフレーズ上のロゴ */
.hero-logo {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #00acee; /* 変更 */
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
body.dark-theme .hero-logo {
    color: #00acee; /* 変更 */
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
/* キャッチフレーズ */
.catchphrase {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    /* 水色 → 青 の横方向グラデーション文字 */
    background: linear-gradient(90deg, #7dd3fc 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(37, 99, 235, 0.35);
    transition: background 0.3s ease, text-shadow 0.3s ease;
}
body.dark-theme .catchphrase {
    text-shadow: 0 0 22px rgba(37, 99, 235, 0.55);
}

/* サブテキスト */
.hero-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 1.8rem;
    color: #e5e9f0;
}
.hero-note {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: #cbd5f5;
}

/* 招待ボタン */
.hero-section .invite-button {
    width: 280px;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00acee; /* 変更 */
    border-radius: 999px;
    padding: 1rem 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
}
.hero-section .invite-button:hover {
    background-color: #00acee;
    border-color: #00acee;
    transform: translateY(-2px);
}
body.dark-theme .hero-section .invite-button {
    border-color: #00acee; /* 変更 */
}
body.dark-theme .hero-section .invite-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ── メインコンテンツ ── */
.main-content {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 1rem 5%;
    padding-bottom: 4rem;
    text-align: center;
}

/* ホーム専用の余白・レイアウト */
.main-content.main-home {
    padding-top: 2rem;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 4rem;
}

/* 統計表示：縦積みに変更 */
.stats-box {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    margin-top: 0rem;
    margin-bottom: 4rem;
}

.stats-item {
    width: min(100%, 420px);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00acee;
    border-radius: 0.9rem;
    padding: 1.8rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.stats-item:hover {
    transform: translateY(-2px);
}

.stats-label {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 0;
    line-height: 1.4;
    color: #ccc;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.stats-value {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    color: #00acee;
    transition: color 0.3s ease;
}

body.dark-theme .stats-item {
    border: 2px solid #00acee;
    background: rgba(0, 0, 0, 0.6);
}

body.dark-theme .stats-label {
    color: #fff;
}

body.dark-theme .stats-value {
    color: #00acee;
}

/* セクション見出し */
.section-title {
    font-size: 1.9rem;
    margin: 4rem 0 1.5rem;
    color: #fff; /* 変更 */
    text-align: center;
    position: relative;
    transition: color 0.3s ease;
}
.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    background: #00acee; /* 変更 */
    margin: 0.6rem auto 0;
    border-radius: 999px;
    transition: background 0.3s ease;
}
body.dark-theme .section-title {
    color: #fff !important;
}
body.dark-theme .section-title::after {
    background: #fff !important;
}

/* セクションリードテキスト */
.section-lead {
    font-size: 1.05rem;
    color: #e2e8f0;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
body.dark-theme .section-lead {
    color: #dbeafe;
}

/* ① 特徴・実績リスト（TOP 用） */
.feature-section {
    margin: 4rem 0;
}
.feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 0;
    margin-top: 0.5rem;
}
.top-feature-list li {
    width: clamp(240px, 45%, 360px);
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #00acee;
    border-radius: 0.9rem;
    padding: 1.5rem 1.8rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
    font-size: 1.05rem;
    color: #fff;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
}
.top-feature-list li:hover {
    transform: translateY(-3px);
    border-color: #88d0ff;
}
body.dark-theme .top-feature-list li {
    background: rgba(0, 0, 0, 0.6);
    border-color: #00acee;
}

/* ② 主な機能一覧（TOP 用） */
.function-section {
    margin: 5rem 0;
}
.function-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 0 auto 2rem;
    max-width: 980px;
}
.function-list li {
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #00acee;
    border-radius: 0.9rem;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
    font-size: 1rem;
    color: #00acee;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
}
.function-list li:hover {
    transform: translateY(-3px);
    border-color: #88d0ff;
}
body.dark-theme .function-list li {
    background: rgba(0, 0, 0, 0.6);
    border-color: #00acee;
    color: #00acee;
}
body.dark-theme .function-list li:hover {
    border-color: #00acee;
}

/* リンク行 */
.section-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.ghost-link {
    font-size: 0.95rem;
    color: #cbd5f5;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 255, 0.6);
    background: rgba(15, 23, 42, 0.5);
    transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}
.ghost-link:hover {
    background: #00acee;
    border-color: #00acee;
    color: #fff;
}

/* ③ 今後の展望・開発方針（TOP 用） */
.roadmap-section {
    margin: 6rem 0 4rem;
}
.roadmap-list {  
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
    margin: 0 auto 2rem;
    max-width: 700px;
}
.roadmap-list li {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #00acee;
    border-radius: 0.9rem;
    padding: 1.4rem 1.8rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
    font-size: 1.05rem;
    color: #00acee;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.3s ease, background 0.3s ease;
}
.roadmap-list li:hover {
    transform: translateY(-3px);
    border-color: #88d0ff;
}
body.dark-theme .roadmap-list li {
    background: rgba(0, 0, 0, 0.6);
    border-color: #00acee;
    color: #00acee;
}
body.dark-theme .roadmap-list li:hover {
    border-color: #00acee;
}

/* ④ サポート・お問い合わせ（TOP 用） */
.support-section {
    margin: 4rem 0 1rem;
}
.support-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    color: #fff;
    line-height: 1.6;
    text-align: center;
    transition: color 0.3s ease;
}
.support-section .support-link {
    color: #00acee;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}
.support-section .support-link:hover {
    color: #88d0ff;
}
.support-section .support-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 0.5rem;
    text-align: center;
    transition: color 0.3s ease;
}
body.dark-theme .support-section p {
    color: #fff !important;
}
body.dark-theme .support-section .support-link {
    color: #00acee;
}
body.dark-theme .support-section .support-note {
    color: #666;
}

/* ── フッターセクション用スタイル ── */
.footer {
    background: rgba(20, 29, 38, 0.85);
    color: #e0e0e0;
    padding: 2rem 5%;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, color 0.3s ease;
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-nav {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 1rem;
    padding: 0;
    width: 100%;
}
.footer-nav li {
    text-align: center;
    padding: 0.5rem 1rem;
    position: relative;
}
.footer-nav li:nth-child(3n+1),
.footer-nav li:nth-child(3n+2) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-nav li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    transition: color 0.3s ease;
}
.footer-nav li a:hover {
    color: #ffffff;
    text-decoration: underline;
}
body.dark-theme .footer {
    background: rgba(10, 10, 20, 0.9);
    color: #aaa;
}
body.dark-theme .footer-nav li a {
    color: #ccc;
}
body.dark-theme .footer-nav li a:hover {
    color: #fff;
}

/* ==============================================
   特定の機能ボタンだけ白文字にするためのクラス
   ============================================== */
.text-white {
    color: #fff !important;
}

/* ==============================================
   Responsive adjustments
   ============================================== */
/* Always show hamburger */
.hamburger {
    display: block !important;
}

/* ── Hero セクションのレスポンシブ調整 ── */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 8rem;
    }
    .hero-logo {
        font-size: 1.25rem;
    }
    .catchphrase {
        font-size: 1.6rem;
        margin: 1.2rem 0;
    }
    .hero-sub {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .invite-button {
        width: 220px;
        font-size: 1.05rem;
        padding: 0.75rem 1.5rem;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        padding-top: 12rem;
    }
    .hero-logo {
        font-size: 1.5rem;
    }
    .catchphrase {
        font-size: 2.1rem;
    }
    .invite-button {
        width: 240px;
        font-size: 1.125rem;
        padding: 0.9rem 1.8rem;
    }
}
@media (min-width: 1024px) {
    .hero-section {
        padding-top: 15rem;
    }
    .hero-logo {
        font-size: 2rem;
    }
    .catchphrase {
        font-size: 2.5rem;
    }
    .invite-button {
        width: 280px;
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
}

/* ── ナビゲーションリンクの見やすさ調整 ── */
.nav-list li a {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
}
@media (min-width: 769px) {
    .nav-list li a {
        font-size: 1.2rem;
    }
}

/* ── 統計表示のレイアウト調整 ── */
@media (min-width: 768px) {
    .stats-box {
        flex-direction: row;
        gap: 1.8rem;
        justify-content: center;
    }

    .stats-item {
        width: 320px;
        min-height: 190px;
    }
}

@media (min-width: 1024px) {
    .stats-item {
        width: 360px;
        min-height: 210px;
    }

    .stats-label {
        font-size: 1.6rem;
    }

    .stats-value {
        font-size: 3.2rem;
    }
}

@media (max-width: 767px) {
    .stats-item {
        width: min(100%, 420px);
        min-height: 160px;
        padding: 1.5rem 1.2rem;
    }

    .stats-label {
        font-size: 1.25rem;
    }

    .stats-value {
        font-size: 2.5rem;
    }
}

/* =========================================================
   static/commands.css 統合
   ========================================================= */

/* テーマアクセントカラーの変数定義 */
:root {
    --command-accent-color: #00acee;
    --command-text-color: #ddd;
}
body.dark-theme {
    --command-accent-color: #00acee;
    --command-text-color: #ddd;
}

/* グリッドレイアウト */
.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin-top: 2rem;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 丸みを帯びたカード */
.command-card {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 縦方向中央寄せ */
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.2rem;
    text-align: center;
    transition: transform 0.2s ease, background 0.3s ease;
    cursor: default;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
}

/* コマンド名 */
.command-card code {
    display: block;
    font-family: 'Noto Sans Mono', monospace;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    margin: 0 auto 0.6rem;
    color: var(--command-accent-color);
}

/* 説明文 */
.command-card p {
    font-size: 1rem;
    color: var(--command-text-color);
    margin: 0;
}

/* ホバーで浮き上がり */
.command-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* ダークテーマ対応 */
body.dark-theme .command-card {
    background: rgba(0, 0, 0, 0.4);
}
body.dark-theme .command-card:hover {
    background: rgba(255, 255, 255, 0.1);
}
body.dark-theme .command-card code {
    background: rgba(255, 255, 255, 0.1);
    color: var(--command-accent-color);
}
body.dark-theme .command-card p {
    color: var(--command-text-color);
}

/* =========================================================
   static/faq.css 統合
   ========================================================= */

/* FAQ 全体 */
.faq-page {
  padding: 2rem;
  background: none; /* パーティクルをクリアに見せる */
  animation: fadeIn 0.6s ease-out;
}

/* セクション幅を中央に */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

/* ガラス風カードデザイン */
.faq-item {
  background: rgba(255, 255, 255, 0.08); /* 透過ホワイトでクリーンに */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, border-color 0.3s ease;
  animation: fadeIn 0.6s ease-out;
}

/* ホバー時にリフト＆アクセント */
.faq-item:hover {
  transform: translateY(-5px);
  border-color: #00eaff; /* シアンのアクセント */
}

/* 見出しをクリーンなホワイト */
.faq-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 質問本文は淡いグレー */
.faq-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d0d0d0;
}

/* リンク下ラインエフェクト */
.faq-item a {
  position: relative;
  color: #00eaff;
  text-decoration: none;
}
.faq-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #00eaff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.faq-item a:hover::after {
  transform: scaleX(1);
}

/* フェードインアニメ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px);}  
  to   { opacity: 1; transform: translateY(0);}  
}

/* =========================================================
   static/features.css 統合
   ========================================================= */

/* 大分類の機能をカード状に並べる（features.html 用） */
.feature-item {
    background: rgba(20, 29, 38, 0.8);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    width: clamp(220px, 30%, 300px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.3s ease;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
}
.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #00acee;
}
.feature-item p {
    font-size: 1rem;
    color: #ddd;
    margin: 0;
}
.feature-item:hover {
    background: rgba(30, 40, 55, 0.9);
    transform: translateY(-4px);
}
body.dark-theme .feature-item {
    background: rgba(10, 15, 25, 0.8);
}
body.dark-theme .feature-item h3 {
    color: #00acee;
}
body.dark-theme .feature-item p {
    color: #ffffff;
}

/* 機能一覧タイトル */
.main-content h2 {
  font-size: 2.0rem;
  margin: 2rem 0 1.5rem;
  text-align: center;
  color: #ffffff;
}
  
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .feature-item {
      width: 45%;
    }
}
@media (max-width: 480px) {
    .feature-item {
      width: 100%;
    }
}

/* =========================================================
   static/members.css 統合
   ========================================================= */

/* メンバー一覧ページ用コンテナ */
.members-container {
    padding: 2rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

/* 各セクションを包むラッパー */
.member-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

/* 完全に独立した見出し（背景なし・白文字・中央寄せ） */
.member-title {
    display: inline-block;
    background: none;
    padding: 0.25rem 0.75rem;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.75rem;
    text-align: center;
}

/* セクション本体：画像は左端、テキストは中央寄せ */
.member-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00acee;
    border-radius: 0.5rem;
    padding: 1.5rem 1rem 1.5rem 4rem;
    margin: 0 auto;
    max-width: 100%;
}

/* メンバー画像：Flexアイテム化 */
.member-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* リスト全体を残り幅いっぱいに */
.member-section ul {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* リストアイテム（テキストとリンク共通スタイル） */
.member-section ul li {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}

/* リンクを持つリストアイテム */
.member-section ul li a {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #fff;
}
.member-section ul li a:hover {
    text-decoration: underline;
}

/* =========================================================
   static/partners.css 統合
   ========================================================= */

/* メインエリア（パートナー） */
.main-content {
  flex: 1;
  padding: 4rem 5%;
  background: transparent;
}

/* 提携・パートナー セクション */
.partner-section {
  max-width: 800px;
  margin: 2rem auto 4rem;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #00acee;
  border-radius: 0.75rem;
  padding: 2rem;
  color: #fff;
  text-align: center;
}

/* テキストとリンク */
.partner-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.partner-section .support-link {
  color: #00acee;
  font-weight: bold;
  text-decoration: none;
}
.partner-section .support-link:hover {
  color: #88d0ff;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .partner-section {
    padding: 1.5rem;
    margin: 2rem 1rem 3rem;
  }
}

/* =========================================================
   static/privacy.css 統合
   ========================================================= */

/* ── カラーテーマ ── */
:root {
  --bg-glass: rgba(20, 29, 38, 0.8);
  --text-primary: #e0e6f2;
  --text-secondary: #ffe7a3;
  --accent: #f5a623;
  --shadow: rgba(0, 0, 0, 0.65);
}

/* プライバシーポリシー用 本文コンテナ */
.main-content.privacy-content {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2.5rem 2rem;
  background: var(--bg-glass);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 1rem;
  box-shadow: 0 10px 20px var(--shadow);
  text-align: left;
}

/* タイトル（Privacy） */
.main-content.privacy-content h2 {
  font-size: 2.4rem;
  color: var(--accent);
  text-shadow: 0 2px 6px var(--shadow);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* セクション見出し */
.main-content.privacy-content h3 {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--accent);
  text-align: center;
}

/* リスト — マーカーと本文を一体化 */
.main-content.privacy-content ol,
.main-content.privacy-content ul {
  padding-inline-start: 0;
  list-style-position: inside;
  margin-block-start: 0;
  margin-block-end: 1.2rem;
}
.main-content.privacy-content li {
  margin-bottom: 0.6rem;
}
.main-content.privacy-content li::marker {
  color: var(--accent);
}

/* 段落 */
.main-content.privacy-content p {
  margin-bottom: 1.2rem;
}

/* リンク */
.main-content.privacy-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* コードブロックやプレフォーマット */
.main-content.privacy-content pre {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 0.8rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  color: var(--text-secondary);
}

/* ── ダークテーマ用オーバーライド ── */
body.dark-theme .main-content.privacy-content {
  background: rgba(10, 10, 20, 0.8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}
body.dark-theme .main-content.privacy-content h2 {
  color: var(--accent);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
body.dark-theme .main-content.privacy-content h3 {
  color: var(--text-secondary);
  border-left-color: var(--accent);
}
body.dark-theme .main-content.privacy-content a {
  color: var(--accent);
}
body.dark-theme .main-content.privacy-content pre {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}
body.dark-theme .main-content.privacy-content ol li::marker,
body.dark-theme .main-content.privacy-content ul li::marker {
  color: var(--accent);
}

/* =========================================================
   static/support.css 統合
   ========================================================= */

/* ページ全体を縦方向フレックスでレイアウト */
html, body {
  height: 100%;
}

/* メインコンテンツを伸長させてフッターを下に押し出す */
.main-content.support-content {
  flex: 1;
  padding-bottom: 2rem;
}

/* サポートページ用スタイル */
.support-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 0;
  margin-top: 2rem;
}
.support-item {
  width: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #00acee;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.support-item:hover {
  background-color: #5b6eae;
  transform: translateY(-2px);
}

/* ダークテーマ時の調整 */
body.dark-theme .nav-list .active {
  color: #00acee !important;
}
body.dark-theme .main-content.support-content h2 {
  color: #00acee;
}
body.dark-theme .support-item {
  border-color: #00acee;
  color: #fff;
}
body.dark-theme .support-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* サポート見出しを大きく */
.main-content.support-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* サポート説明文とのスペース調整 */
.main-content.support-content p {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

/* =========================================================
   static/terms.css 統合
   ========================================================= */

/* カラーテーマ（terms） */
:root {
  --bg-glass-terms: rgba(20, 29, 38, 0.8);
  --bg-glass-dark: rgba(10, 10, 20, 0.8);

  --text-primary: #e0e6f2;
  --text-secondary: #bed1f7;

  --accent: #00acee;

  --shadow: rgba(0, 0, 0, 0.65);
}

/* 本文コンテンツ（利用規約） */
.main-content.terms-content {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2.5rem 2rem;
  background: var(--bg-glass-terms);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 1rem;
  box-shadow: 0 10px 20px var(--shadow);
  text-align: left;
}

/* ダークテーマ時の本文コンテンツ背景 */
body.dark-theme .main-content.terms-content {
  background: var(--bg-glass-dark);
}

/* 利用規約のタイトル */
.main-content.terms-content h2 {
  font-size: 2.4rem;
  color: var(--accent);
  text-shadow: 0 2px 6px var(--shadow);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* セクション見出し */
.main-content.terms-content h3 {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--accent);
  text-align: center;
}

/* リスト（番号・箇条書き） */
.main-content.terms-content ol,
.main-content.terms-content ul {
  padding-inline-start: 0;
  list-style-position: inside;
  margin-block-start: 0;
  margin-block-end: 1.2rem;
}
.main-content.terms-content li {
  margin-bottom: 0.6rem;
}
.main-content.terms-content li::marker {
  color: var(--accent);
}

/* 段落 */
.main-content.terms-content p {
  margin-bottom: 1.2rem;
}

/* リンク */
.main-content.terms-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* コードブロック・プレフォーマット */
.main-content.terms-content pre {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 0.8rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  color: var(--text-secondary);
}

/* ダークテーマ時のコードブロック背景 */
body.dark-theme .main-content.terms-content pre {
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   static/updates.css 統合
   ========================================================= */

/* メインコンテンツ（更新情報ページ） */
.main-content.updates-content {
  padding: 2rem;
  background: none;
  animation: fadeIn 0.6s ease-out;
}

/* 更新セクション */
.update-section {
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* セクションタイトル */
.section-title.updates-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-align: center;
  position: relative;
}
.section-title.updates-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #00acee;
  margin: 0.5rem auto 1.5rem;
  border-radius: 2px;
}

/* 更新リスト */
.roadmap-list.updates-list {
  list-style: none;
  padding: 0;
}
.roadmap-list.updates-list li {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, border-color 0.3s ease;
  animation: fadeIn 0.6s ease-out;
  color: #333;
}

/* ダークテーマ時のリストテキスト */
body.dark-theme .roadmap-list.updates-list li {
  color: #ddd;
}

/* 最新アップデートは常に白 */
.roadmap-list.updates-list li:nth-child(1),
.roadmap-list.updates-list li:nth-child(2),
.roadmap-list.updates-list li:nth-child(3) {
  color: #fff !important;
}

/* ボタンの境界線 */
button,
.btn {
  border: 2px solid #00acee;
  background: transparent;
}

/* ホバー時のカードエフェクト */
.roadmap-list.updates-list li:hover {
  transform: translateY(-5px);
  border-color: #00eaff;
}

/* リスト項目のヘッダ */
.roadmap-list.updates-list li strong {
  display: block;
  font-size: 1.1rem;
  color: #00acee;
  margin-bottom: 0.5rem;
}

/* =========================================================
   static/user_search.css 相当 統合
   ========================================================= */

/* メインコンテンツ（ユーザー検索・統計ページ） */
.main-content.user-search-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 20px;
  text-align: center;
}
.page-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: #165a8f;
}
body.dark-theme .page-title {
  color: #8ab4f8;
}

/* 検索フォーム */
#searchForm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.input-id {
  width: 240px;
  padding: 10px 14px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #aaa;
}
.input-id:focus {
  outline: none;
  border-color: #165a8f;
}
.btn-search {
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 6px;
  background-color: #165a8f;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-search:hover {
  background-color: #2188c9;
}
body.dark-theme .input-id {
  background-color: #2a3b4e;
  color: #eee;
  border: 1px solid #555;
}
body.dark-theme .btn-search {
  background-color: #304560;
}
body.dark-theme .btn-search:hover {
  background-color: #42628a;
}

/* ローディング・エラー・データなしテキスト */
.loading-text,
.error-text,
.no-data-text {
  margin-top: 16px;
  font-size: 1rem;
}
.error-text {
  color: #d01919;
}
.no-data-text {
  color: #888;
}
body.dark-theme .error-text {
  color: #ff6b6b;
}
body.dark-theme .no-data-text {
  color: #aaa;
}

/* テーブル全体をレスポンシブ対応（横スクロール） */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 32px;
}

/* 統計テーブル・ヘッダー */
.stats-table,
.txn-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: #f8faff;
  color: #222;
  font-size: 1rem;
}
body.dark-theme .stats-table,
body.dark-theme .txn-table {
  background: #203047;
  color: #eee;
}

/* テーブルヘッダー */
.stats-table th,
.txn-table th {
  background: #165a8f;
  color: #fff;
  padding: 12px 16px;
  border: 1px solid #bbb;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
body.dark-theme .stats-table th,
body.dark-theme .txn-table th {
  background: #304560;
  border-color: #444;
}

/* テーブル本体のセル */
.stats-table td,
.txn-table td {
  border: 1px solid #bbb;
  padding: 10px 14px;
  background: #f4f8fb;
  color: #223;
  text-align: center;
}
body.dark-theme .stats-table td,
body.dark-theme .txn-table td {
  background: #283a53;
  color: #eee;
  border-color: #444;
}

/* 奇数・偶数行の背景色（履歴テーブルのみ） */
.txn-table tbody tr:nth-child(even) td {
  background: #e8eef7;
}
body.dark-theme .txn-table tbody tr:nth-child(even) td {
  background: #2a3b4e;
}

/* 行ホバー時（履歴テーブル） */
.txn-table tbody tr:hover td {
  background: #c9e1fa;
}
body.dark-theme .txn-table tbody tr:hover td {
  background: #3a4a64;
}

/* 損益表示用クラス */
.profit-pos {
  color: #1a7f37;
  font-weight: bold;
}
.profit-zero {
  color: #555;
}
.profit-neg {
  color: #d01919;
}

/* レスポンシブ調整（user_search） */
@media (max-width: 768px) {
  .main-content.user-search-content {
    padding: 3rem 16px;
  }
  .input-id {
    width: 180px;
  }
  .btn-search {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .stats-table th,
  .txn-table th {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
  .stats-table td,
  .txn-table td {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* =========================================================
   ▼ ここから index.html の既存新セクション用スタイル
   ========================================================= */

/* 改行制御 */
.br-pc {
  display: inline;
}
@media (max-width: 767px) {
  .br-pc {
    display: none;
  }
}

/* About セクション */
.about-section {
  margin: 3rem 0 4rem;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto;
}
.about-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.6rem 1.8rem;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}
.about-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e2e8f0;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.75);
  border-color: #00acee;
  background: rgba(15, 23, 42, 0.95);
}

/* Modules セクション */
.modules-section {
  margin: 4rem 0 5rem;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto;
}
.modules-card {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.95));
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 1.6rem 1.5rem 1.5rem;
  text-align: left;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.modules-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.modules-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.modules-card p {
  font-size: 0.95rem;
  color: #e5e7eb;
  line-height: 1.7;
}
.modules-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.8);
  border-color: #00acee;
}

/* Pricing セクション */
.pricing-section {
  margin: 4rem 0 5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 980px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 2.1rem 1.8rem 1.8rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
  text-align: left;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pricing-card:hover::before {
  opacity: 1;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.85);
  border-color: #00acee;
}
.pricing-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.7);
  background: rgba(15, 23, 42, 0.85);
}
.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #e5e7eb;
}
.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.pricing-feature-list li {
  font-size: 0.95rem;
  color: #e5e7eb;
  line-height: 1.7;
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.3rem;
}
.pricing-feature-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  top: 0;
}
.pricing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid #00acee;
  color: #0f172a;
  background: #e5f2ff;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.pricing-button:hover {
  background: #00acee;
  color: #fff;
  transform: translateY(-1px);
}
.pricing-button.secondary {
  background: #111827;
  color: #e5e7eb;
}
.pricing-button.secondary:hover {
  background: #00acee;
  color: #fff;
}
.pricing-button.ghost {
  background: transparent;
  color: #e5e7eb;
}
.pricing-button.ghost:hover {
  background: rgba(148, 163, 255, 0.1);
}

/* Performance セクション */
.performance-section {
  margin: 3rem 0 4rem;
}
.performance-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  max-width: 900px;
  margin: 0 auto;
}
.metric-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.6);
  padding: 1.6rem 1.8rem;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.metric-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.metric-number {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #22c55e;
}
.metric-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #e5e7eb;
}
.metric-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
}

/* Security セクション */
.security-section {
  margin: 4rem 0 4rem;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 900px;
  margin: 0 auto 1.4rem;
}
.security-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.5rem 1.7rem;
  text-align: left;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.security-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.security-card p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #e5e7eb;
}
.security-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
}
.security-note {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-bottom: 0.8rem;
}

/* Testimonial セクション */
.testimonial-section {
  margin: 4rem 0 4rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto;
}
.testimonial-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.6rem 1.8rem;
  text-align: left;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
  position: relative;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.6rem;
  left: 0.9rem;
  font-size: 2.2rem;
  color: rgba(148, 163, 255, 0.6);
}
.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e5e7eb;
  padding-left: 1.4rem;
}
.testimonial-name {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: #9ca3af;
}

/* FAQ Preview セクション */
.faq-preview-section {
  margin: 4rem 0 4rem;
}
.faq-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto 1.4rem;
}
.faq-preview-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.4rem 1.6rem;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}
.faq-preview-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.faq-preview-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}

/* CTA セクション */
.cta-section {
  margin: 4rem 0 3rem;
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.3rem 1.8rem 2.4rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.26), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(191, 219, 254, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  text-align: center;
}
.cta-inner h2 {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}
.cta-inner p {
  font-size: 1rem;
  line-height: 1.8;
  color: #e5e7eb;
  margin-bottom: 1.6rem;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  border-radius: 999px;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  color: #0f172a;
  background: #facc15;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(250, 204, 21, 0.5);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
  background: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(250, 204, 21, 0.6);
}
.cta-sub-links {
  margin-top: 1rem;
}
.cta-sub-links a {
  font-size: 0.95rem;
  color: #e5e7eb;
  text-decoration: underline;
}

/* ハンバーガーメニュー：縦スクロール対応（メニューが多いとき） */
.nav-list {
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================================
   ▼ ここから「さらに増やした」新セクション用スタイル
   ========================================================= */

/* 利用シーンセクション */
.usecase-section {
  margin: 4rem 0 4rem;
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  max-width: 980px;
  margin: 0 auto;
}
.usecase-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.5rem 1.6rem;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.usecase-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.usecase-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}
.usecase-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
}

/* 導入〜設定の流れセクション */
.flow-section {
  margin: 4rem 0 4rem;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  max-width: 860px;
  margin: 0 auto;
}
.flow-step {
  position: relative;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.6rem 1.6rem 1.4rem 1.6rem;
  text-align: left;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.flow-number {
  position: absolute;
  top: -0.9rem;
  left: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #00acee;
  color: #0b1120;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}
.flow-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  padding-top: 0.3rem;
}
.flow-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}
.flow-step:hover {
  transform: translateY(-4px);
  border-color: #00acee;
}

/* クイックリンクセクション */
.quick-links-section {
  margin: 4rem 0 5rem;
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  max-width: 960px;
  margin: 0 auto;
}
.quick-link-card {
  display: block;
  text-align: left;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.5);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  color: #e5e7eb;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.quick-link-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.quick-link-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}
.quick-link-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
  background: rgba(15, 23, 42, 0.96);
}

/* 最近のアップデート（ダイジェスト） */
.changelog-highlight-section {
  margin: 4rem 0 4rem;
}
.changelog-list {
  max-width: 800px;
  margin: 0 auto 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.changelog-item {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.6);
  padding: 1.3rem 1.6rem 1.4rem;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
}
.changelog-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.changelog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.changelog-date {
  opacity: 0.9;
}
.changelog-tag {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.6);
  font-size: 0.8rem;
}
.changelog-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}

/* 開発ヒストリー（タイムライン） */
.history-section {
  margin: 4rem 0 4rem;
}
.history-timeline {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 1.8rem;
  border-left: 1px solid rgba(148, 163, 255, 0.5);
}
.history-item {
  position: relative;
  margin-bottom: 1.7rem;
  padding-left: 0.4rem;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -0.55rem;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 2px solid #00acee;
  background: #0b1120;
}
.history-year {
  font-size: 0.95rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.1rem;
}
.history-body strong {
  font-size: 1rem;
}
.history-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}

/* 開発者について */
.developer-section {
  margin: 4rem 0 4rem;
}
.developer-inner {
  max-width: 840px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 255, 0.6);
  padding: 2rem 1.9rem 2.1rem;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}
.developer-main {
  font-size: 1rem;
  line-height: 1.9;
  color: #e5e7eb;
  margin-bottom: 1.2rem;
}
.developer-sub {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #e5e7eb;
}

/* モバイル向け微調整 */
@media (max-width: 767px) {
  .usecase-section,
  .flow-section,
  .quick-links-section,
  .changelog-highlight-section,
  .history-section,
  .developer-section {
    margin-left: 0;
    margin-right: 0;
  }
  .developer-inner {
    padding: 1.6rem 1.3rem 1.8rem;
  }
}

/* =========================================================
   ▼ レイアウト＆デザイン微調整（追記用）
   ========================================================= */

/* 全体の文字サイズと行間を少し広げて読みやすく */
body,
html {
  font-size: 16px;
  line-height: 1.8;
}

/* パーティクル背景をちょっとだけグラデーションでかっこよく */
#particles-js {
  background: radial-gradient(
      circle at 20% 0%,
      #1e293b 0,
      #020617 55%,
      #000000 100%
  );
}

/* ホーム全体の横幅を少し絞って中央寄せ（左右ではなく上下に余白を意識） */
.main-content.main-home {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Hero の下だけ少し広めにスペースを空ける */
.hero-section {
  margin-bottom: 6.5rem;
}

/* 各セクション同士の上下にもっとゆとりを持たせる */
.feature-section,
.function-section,
.roadmap-section,
.support-section,
.about-section,
.modules-section,
.pricing-section,
.performance-section,
.security-section,
.testimonial-section,
.faq-preview-section,
.cta-section,
.usecase-section,
.flow-section,
.quick-links-section,
.changelog-highlight-section,
.history-section,
.developer-section {
  margin-top: 10rem;
  margin-bottom: 10rem;
}


/* グリッド要素の詰まり感をなくす：カード同士の間隔を広げる */
.feature-list,
.function-list,
.about-grid,
.modules-grid,
.pricing-grid,
.performance-metrics,
.security-grid,
.testimonial-grid,
.faq-preview-grid,
.usecase-grid,
.flow-steps,
.quick-links-grid,
.changelog-list {
  gap: 2.2rem;
}

/* PCのときは横2列までに抑えて、1カードあたりをゆったり見せる */
@media (min-width: 1024px) {
  .about-grid,
  .modules-grid,
  .pricing-grid,
  .performance-mrics,
  .performance-metrics,
  .security-grid,
  .testimonial-grid,
  .faq-preview-grid,
  .usecase-grid,
  .flow-steps,
  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 各カードの内側余白も少し増やして、ぎゅうぎゅう感を減らす */
.about-card,
.modules-card,
.pricing-card,
.metric-card,
.security-card,
.testimonial-card,
.faq-preview-card,
.usecase-card,
.flow-step,
.quick-link-card,
.changelog-item,
.developer-inner {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* セクションタイトルの上下余白も少し広げる */
.section-title {
  margin-top: 3.5rem;
  margin-bottom: 2.2rem;
}

/* スマホ時は左右の余白を少しだけ詰めて、縦方向にスペースを意識 */
@media (max-width: 767px) {
  .main-content.main-home {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}/* =========================================================
   ▼ セクション見出し・テキストのスタイル調整＆アニメーション
   ========================================================= */

/* 1) セクションタイトル：シンプルでフラットに */
.section-title {
  font-size: 2rem;
  margin: 3.5rem auto 1.8rem;
  color: #e5e7eb;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #00acee,
    rgba(148, 163, 255, 0.7)
  );
  margin: 0.8rem auto 0;
  border-radius: 999px;
}

body.dark-theme .section-title {
  color: #f9fafb;
}

body.dark-theme .section-title::after {
  background: linear-gradient(
    90deg,
    #00acee,
    rgba(191, 219, 254, 0.9)
  );
}

/* 2) セクションリード：丸カードをやめて、素直なテキストに */
.section-lead {
  position: static;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  padding: 0 0.5rem;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: #cbd5f5;
}

.section-lead::before {
  content: none;
}

body.dark-theme .section-lead {
  color: #e5e7eb;
}

/* 3) 共通カードトーン：全部同じ「大人っぽいカード」に寄せる */
.about-card,
.modules-card,
.pricing-card,
.metric-card,
.security-card,
.testimonial-card,
.faq-preview-card,
.usecase-card,
.flow-step,
.quick-link-card,
.changelog-item,
.developer-inner,
.support-section {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.4);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.85);
}

/* ホバーしたときの動きも統一 */
.about-card:hover,
.modules-card:hover,
.pricing-card:hover,
.metric-card:hover,
.security-card:hover,
.testimonial-card:hover,
.faq-preview-card:hover,
.usecase-card:hover,
.flow-step:hover,
.quick-link-card:hover,
.changelog-item:hover {
  transform: translateY(-4px);
  border-color: #00acee;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.95);
}

/* Developer / Support 用の過剰な装飾をオフにしてスッキリさせる */
.developer-inner::before,
.developer-inner::after,
.support-section::before {
  content: none;
}

/* developer-inner の中身は読みやすさ優先に */
.developer-inner {
  position: relative;
  padding: 2rem 1.9rem 2.1rem;
}

.developer-main,
.developer-sub {
  font-size: 0.97rem;
  line-height: 1.9;
  color: #e5e7eb;
}

/* Support セクションも落ち着いたカードに */
.support-section {
  max-width: 860px;
  margin: 4rem auto 2.5rem;
  padding: 2rem 2.2rem 2.3rem;
  text-align: center;
}

.support-section p,
.support-section .support-note {
  text-align: center;
}

/* 4) 開発ヒストリー（タイムライン）の線と点を控えめに */
.history-timeline {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 1.6rem;
  border-left: 1px solid rgba(148, 163, 255, 0.5);
  box-shadow: none;
}

.history-item {
  position: relative;
  margin-bottom: 1.7rem;
  padding-left: 0.2rem;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -0.6rem;
  top: 0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #0b1120;
  box-shadow: 0 0 0 2px #00acee;
}

.history-year {
  font-size: 0.95rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.1rem;
}

.history-body strong {
  font-size: 1rem;
}

.history-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e5e7eb;
}

/* 5) ふわっとしたフェードアップアニメーションを全体に軽く */
@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero 周り */
.hero-logo,
.catchphrase,
.hero-sub,
.hero-note,
.hero-section .invite-button {
  animation: fadeUpSoft 0.7s ease-out both;
}

/* 各セクションタイトル＆リード */
.section-title,
.section-lead {
  animation: fadeUpSoft 0.7s ease-out both;
}

/* 各種カード類・テキストだけになりがちなセクション */
.about-card,
.modules-card,
.pricing-card,
.metric-card,
.security-card,
.testimonial-card,
.faq-preview-card,
.usecase-card,
.flow-step,
.quick-link-card,
.changelog-item,
.history-item,
.developer-inner,
.support-section {
  animation: fadeUpSoft 0.7s ease-out both;
}

/* 6) ホーム全体の横幅はすでに調整済みだが、念のため中央寄せを維持 */
.main-content.main-home {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* スマホ時の最小限の調整（タイトルがデカすぎないように） */
@media (max-width: 767px) {
  .section-title {
    font-size: 1.7rem;
    margin-top: 3rem;
    margin-bottom: 1.6rem;
  }
  .section-lead {
    font-size: 0.96rem;
  }
}
/* =========================================================
   導入事例 / サポート / コミュニティ 用スタイル
   ========================================================= */

/* 導入事例 */
.cases-section {
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.case-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.4);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.95);
  padding: 1.8rem 1.8rem 1.6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 1);
}

.case-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: #e5f0ff;
}

.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #cbd5f5;
  margin-bottom: 0.2rem;
}

.case-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  top: 0.1rem;
  color: #38bdf8;
}

/* サポート & 支援 */
.support-funding-section {
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
}

.support-funding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.support-card {
  position: relative;
  background: rgba(15, 23, 42, 0.93);
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 255, 0.4);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.98);
  padding: 2rem 1.9rem 1.8rem;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 1);
}

.support-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #e5f0ff;
}

.support-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
}

.support-badge-gold {
  border-color: rgba(250, 204, 21, 0.9);
  background: rgba(23, 23, 15, 0.95);
  color: #facc15;
}

.support-intro {
  font-size: 0.96rem;
  line-height: 1.9;
  color: #cbd5f5;
  margin-bottom: 0.8rem;
}

.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-list li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #d1ddff;
}

.support-list li strong {
  color: #e5f0ff;
}

.support-note {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #9ca3af;
  margin-top: 0.8rem;
}

/* コミュニティ & 関連リンク */
.community-section {
  margin-top: 4.5rem;
  margin-bottom: 4.5rem;
}

.community-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  max-width: 900px;
  margin: 0 auto;
}

.community-link-card {
  display: block;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.93);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 255, 0.4);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.95);
  padding: 1.7rem 1.6rem 1.6rem;
  color: #e5e7eb;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.community-link-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 1);
  background: rgba(15, 23, 42, 0.98);
}

.community-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.community-link-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #e5f0ff;
}

.community-link-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #cbd5f5;
}

/* モバイル調整 */
@media (max-width: 767px) {
  .support-funding-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid,
  .community-links-grid {
    gap: 1.6rem;
  }
}

/* =========================================================
   「まずやっておきたい設定」 Tips セクション
   ========================================================= */

/*
  想定HTML（例）
  <section class="tips-section" id="tips">
    <h2 class="section-title">まずやっておきたい設定</h2>
    <p class="section-lead">Unify BOT を導入した直後に ...</p>
    <div class="tips-grid">
      <div class="tips-card">
        <h3>ログチャンネルの作成と紐づけ</h3>
        <p>荒らし・削除・BAN などの履歴を ...</p>
      </div>
      ...
    </div>
  </section>
*/

.tips-section {
  position: relative;
  max-width: 960px;
  margin: 4.5rem auto;
  padding: 2.4rem 1.8rem 2.6rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(148, 163, 255, 0.55);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.20), transparent 55%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.24), transparent 60%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.tips-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.08) 1px,
    transparent 1px
  );
  background-size: 38px 38px;
  opacity: 0.5;
  pointer-events: none;
}

/* 中身を前面に */
.tips-section > * {
  position: relative;
  z-index: 1;
}

/* カードグリッド */
.tips-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  counter-reset: tips;
}

/* 各カード */
/* ★ 上の余白を増やして、左上に番号が来ても詰まらないように調整済み ★ */
.tips-card {
  position: relative;
  padding: 2.1rem 1.6rem 1.6rem 2.1rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 255, 0.6);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* 左側の縦ライン（青系グラデ） */
.tips-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #38bdf8, #6366f1);
}

/* 01 / 02 / 03 バッジ：右上 → 左上に移動済み */
.tips-card::after {
  counter-increment: tips;
  content: "0" counter(tips);
  position: absolute;
  left: 1.4rem;   /* ★ 左上に配置 */
  top: 0.9rem;    /* ★ 少し上に余裕 */
  right: auto;    /* 念のためリセット */
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: rgba(15, 23, 42, 0.96);
  color: #e0e7ff;
}

/* ホバーで少しだけ浮かせる */
.tips-card:hover {
  transform: translateY(-4px);
  border-color: #00acee;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 1);
}

.tips-card h3 {
  margin: 0 0 0.6rem 0.2rem;
  font-size: 1.05rem;
  color: #e5edff;
}

.tips-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #cbd5f5;
}

/* モバイル時の余白調整 */
@media (max-width: 767px) {
  .tips-section {
    margin: 3.5rem 1rem;
    padding: 1.8rem 1.3rem 2rem;
  }
}


/* =========================================================
   index レイアウト改善（空白・片寄り解消）
   指示範囲: index の見栄え調整のみ
   ========================================================= */

/* セクションごとのカードを同じ重心に寄せる */
.about-grid,
.pricing-grid,
.performance-metrics,
.security-grid,
.faq-preview-grid,
.support-funding-grid,
.community-links-grid,
.testimonial-grid,
.quick-links-grid,
.usecase-grid,
.modules-grid,
.flow-steps,
.cases-grid {
  align-items: stretch;
}

.about-card,
.pricing-card,
.metric-card,
.security-card,
.faq-preview-card,
.support-card,
.community-link-card,
.testimonial-card,
.quick-link-card,
.usecase-card,
.modules-card,
.flow-step,
.case-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 3枚構成のセクションは、PCでは「2枚 + 中央1枚」にして左右の余白を整える */
@media (min-width: 1024px) {
  .about-grid,
  .performance-metrics,
  .security-grid,
  .faq-preview-grid,
  .pricing-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    max-width: 1080px;
    gap: 1.8rem;
  }

  .about-grid > :nth-child(1),
  .about-grid > :nth-child(2),
  .performance-metrics > :nth-child(1),
  .performance-metrics > :nth-child(2),
  .security-grid > :nth-child(1),
  .security-grid > :nth-child(2),
  .faq-preview-grid > :nth-child(1),
  .faq-preview-grid > :nth-child(2),
  .pricing-grid > :nth-child(1),
  .pricing-grid > :nth-child(2) {
    grid-column: span 6;
  }

  .about-grid > :nth-child(3),
  .performance-metrics > :nth-child(3),
  .security-grid > :nth-child(3),
  .faq-preview-grid > :nth-child(3),
  .pricing-grid > :nth-child(3) {
    grid-column: 3 / span 8;
    max-width: none;
  }

  /* 2枚セクションは端まで伸ばしすぎず、中央に整列 */
  .support-funding-grid,
  .community-links-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    max-width: 1080px;
    gap: 1.8rem;
  }

  .support-funding-grid > *:nth-child(1),
  .community-links-grid > *:nth-child(1) {
    grid-column: 1 / span 6;
  }

  .support-funding-grid > *:nth-child(2),
  .community-links-grid > *:nth-child(2) {
    grid-column: 7 / span 6;
  }

  .community-links-grid > *:nth-child(3) {
    grid-column: 3 / span 8;
  }
}

/* 3枚カードに少しだけ差をつけて「置いただけ感」を消す */
.about-grid > *:nth-child(1),
.pricing-grid > *:nth-child(1),
.performance-metrics > *:nth-child(1),
.security-grid > *:nth-child(1),
.faq-preview-grid > *:nth-child(1) {
  background-image: linear-gradient(180deg, rgba(59, 130, 246, 0.10), rgba(15, 23, 42, 0.94));
}

.about-grid > *:nth-child(2),
.pricing-grid > *:nth-child(2),
.performance-metrics > *:nth-child(2),
.security-grid > *:nth-child(2),
.faq-preview-grid > *:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(99, 102, 241, 0.10), rgba(15, 23, 42, 0.94));
}

.about-grid > *:nth-child(3),
.pricing-grid > *:nth-child(3),
.performance-metrics > *:nth-child(3),
.security-grid > *:nth-child(3),
.faq-preview-grid > *:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.94));
}

/* 価格プランは中央を主役にして視線誘導 */
.pricing-grid .pricing-card.is-pro {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 22px 48px rgba(14, 165, 233, 0.18), 0 18px 40px rgba(15, 23, 42, 0.9);
}

@media (min-width: 1024px) {
  .pricing-grid .pricing-card.is-pro {
    transform: translateY(-14px);
  }

  .pricing-grid .pricing-card.is-pro:hover {
    transform: translateY(-18px);
  }
}

/* パフォーマンス数値カードは上下の重心を揃える */
.metric-card {
  min-height: 240px;
}

.metric-number {
  margin-top: auto;
}

.metric-text {
  margin-top: 0.6rem;
}

/* FAQ など短文カードの高さ不足によるガタつきを抑える */
.faq-preview-card,
.security-card,
.about-card {
  min-height: 220px;
}

.pricing-card {
  min-height: 100%;
}

/* スマホでは余白を詰めて自然に1列へ */
@media (max-width: 767px) {
  .about-grid,
  .pricing-grid,
  .performance-metrics,
  .security-grid,
  .faq-preview-grid,
  .support-funding-grid,
  .community-links-grid {
    gap: 1.2rem;
  }

  .about-card,
  .pricing-card,
  .metric-card,
  .security-card,
  .faq-preview-card,
  .support-card,
  .community-link-card {
    min-height: auto;
  }
}

/* =========================================================
   最終モバイル微調整：上部の邪魔な余白/漏れとフッター整理
   指示箇所のみ上書き
   ========================================================= */
@media (max-width: 767px) {
  body,
  html {
    padding-top: 56px;
  }

  .header {
    overflow: visible;
    background: rgba(10, 14, 24, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .header .container {
    min-height: 56px;
    padding: 0.55rem 0.9rem;
    gap: 0.65rem;
  }

  .logo {
    font-size: 1.05rem;
    line-height: 1.2;
    max-width: calc(100% - 52px);
  }

  .menu-wrapper {
    position: static;
  }

  .hamburger {
    width: 30px;
    height: 22px;
  }

  .hamburger span {
    height: 3px;
    border-radius: 999px;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    top: 18px;
  }

  .hamburger.open span:nth-child(1),
  .hamburger.open span:nth-child(3) {
    top: 9px;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 56px;
    left: 10px;
    right: 10px;
    width: auto;
    margin: 0;
    padding: 0.45rem;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 12, 24, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.dark-theme .nav-list {
    background: rgba(6, 8, 18, 0.98);
  }

  .nav-list.open {
    display: block;
    max-height: calc(100dvh - 68px);
    transform: none;
  }

  .nav-list li {
    text-align: left;
  }

  .nav-list li + li {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-list li a {
    min-height: 44px;
    padding: 0.82rem 0.9rem;
    border-radius: 10px;
    font-size: 0.94rem;
    line-height: 1.35;
    background: transparent;
  }

  .theme-item {
    align-items: flex-start;
    margin-top: 0.2rem;
    padding: 0.85rem 0.9rem 0.65rem;
    text-align: left;
  }

  .theme-item .theme-label {
    font-size: 0.84rem;
    text-align: left;
  }

  .hero-section {
    height: auto;
    min-height: calc(100dvh - 56px);
    padding: 2.75rem 1rem 2.25rem;
    justify-content: flex-start;
  }

  .hero-logo {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .catchphrase {
    font-size: clamp(2rem, 8.8vw, 2.55rem);
    line-height: 1.18;
    margin: 0 0 1rem;
  }

  .hero-sub {
    max-width: 92%;
    margin: 0 auto 1.4rem;
    padding: 0;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-section .invite-button {
    width: min(100%, 320px);
    padding: 0.9rem 1.4rem;
    font-size: 1.05rem;
  }

  .hero-note {
    margin-top: 0.7rem;
    padding: 0 0.25rem;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .footer {
    margin-top: 1.5rem;
    padding: 1.25rem 0.9rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
  }

  .footer .container.footer-inner {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    gap: 0.75rem;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .footer-nav li,
  .footer-nav li:nth-child(3n+1),
  .footer-nav li:nth-child(3n+2) {
    padding: 0;
    border-right: 0;
  }

  .footer-nav li a {
    justify-content: flex-start;
    min-height: 42px;
    padding: 0.78rem 0.95rem;
    border-radius: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
  }

  .footer p {
    margin-top: 0.05rem;
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

@media (max-width: 420px) {
  .hero-section {
    padding-top: 2.2rem;
  }

  .catchphrase {
    font-size: 1.85rem;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 0.94rem;
  }

  .hero-section .invite-button {
    width: 100%;
    max-width: 300px;
  }

  .nav-list {
    left: 8px;
    right: 8px;
    top: 54px;
    max-height: calc(100dvh - 64px);
  }

  .nav-list.open {
    max-height: calc(100dvh - 64px);
  }

  .footer-nav li a {
    font-size: 0.88rem;
  }
}

/* =========================================================
   会社ページ専用: ChatGPT風の左サイドバー
   ========================================================= */

body.has-chatgpt-business-sidebar {
  --cgpt-sidebar-width: 248px;
  --cgpt-sidebar-bg: rgba(17, 24, 39, 0.96);
  --cgpt-sidebar-border: rgba(148, 163, 184, 0.18);
  --cgpt-sidebar-text: #e5e7eb;
  --cgpt-sidebar-muted: #9ca3af;
  --cgpt-sidebar-hover: rgba(255, 255, 255, 0.08);
  --cgpt-sidebar-active: rgba(255, 255, 255, 0.12);
}

body.dark-theme.has-chatgpt-business-sidebar {
  --cgpt-sidebar-bg: rgba(8, 10, 18, 0.96);
  --cgpt-sidebar-border: rgba(148, 163, 184, 0.16);
  --cgpt-sidebar-text: #f3f4f6;
  --cgpt-sidebar-muted: #9ca3af;
  --cgpt-sidebar-hover: rgba(255, 255, 255, 0.08);
  --cgpt-sidebar-active: rgba(255, 255, 255, 0.14);
}

.chatgpt-business-shell {
  max-width: 1460px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.4rem 3rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.chatgpt-business-sidebar {
  position: sticky;
  top: 88px;
  width: var(--cgpt-sidebar-width);
  min-width: var(--cgpt-sidebar-width);
  max-height: calc(100vh - 104px);
  overflow: auto;
  padding: 0.8rem;
  border-radius: 18px;
  background: var(--cgpt-sidebar-bg);
  border: 1px solid var(--cgpt-sidebar-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.chatgpt-business-sidebar__top {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chatgpt-business-sidebar__eyebrow {
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--cgpt-sidebar-muted);
  text-transform: uppercase;
  padding: 0.2rem 0.55rem 0;
}

.chatgpt-business-sidebar__title {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--cgpt-sidebar-text);
  padding: 0 0.55rem;
}

.chatgpt-business-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chatgpt-business-sidebar__item,
.chatgpt-business-sidebar__link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.72rem 0.82rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--cgpt-sidebar-text);
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.35;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.chatgpt-business-sidebar__item::before,
.chatgpt-business-sidebar__link::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  flex: 0 0 auto;
}

.chatgpt-business-sidebar__item:hover,
.chatgpt-business-sidebar__link:hover {
  background: var(--cgpt-sidebar-hover);
  color: #ffffff;
  transform: translateX(2px);
}

.chatgpt-business-sidebar__item.is-active,
.chatgpt-business-sidebar__link.is-active {
  background: var(--cgpt-sidebar-active);
  color: #ffffff;
}

.chatgpt-business-sidebar__item.is-active::before,
.chatgpt-business-sidebar__link.is-active::before {
  background: #10a37f;
}

.chatgpt-business-sidebar__divider {
  margin: 0.75rem 0 0.4rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.chatgpt-business-sidebar__footer {
  margin-top: 0.7rem;
  padding: 0.85rem 0.82rem 0.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.chatgpt-business-sidebar__footer-label {
  font-size: 0.74rem;
  color: var(--cgpt-sidebar-muted);
  margin-bottom: 0.25rem;
}

.chatgpt-business-sidebar__footer-value {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cgpt-sidebar-text);
  word-break: break-word;
}

.chatgpt-business-content {
  min-width: 0;
  flex: 1 1 auto;
}

body.has-chatgpt-business-sidebar .main-content.economy-page,
body.has-chatgpt-business-sidebar .main-content.detail-page {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-top: 1.1rem;
}

body.has-chatgpt-business-sidebar .main-content.economy-page .section-nav,
body.has-chatgpt-business-sidebar .main-content.detail-page .section-nav {
  display: none !important;
}

body.has-chatgpt-business-sidebar .main-content.economy-page.business-dashboard-trimmed .economy-hero {
  display: none !important;
}

body.has-chatgpt-business-sidebar .main-content.economy-page .section-body,
body.has-chatgpt-business-sidebar .main-content.detail-page .section-body,
body.has-chatgpt-business-sidebar .main-content.detail-page .summary-grid,
body.has-chatgpt-business-sidebar .main-content.detail-page .detail-hero {
  width: 100%;
}

body.has-chatgpt-business-sidebar .main-content.detail-page .detail-hero,
body.has-chatgpt-business-sidebar .main-content.detail-page .summary-grid,
body.has-chatgpt-business-sidebar .main-content.economy-page .section-body {
  margin-top: 0;
}

body.has-chatgpt-business-sidebar .main-content.economy-page .hero-actions,
body.has-chatgpt-business-sidebar .main-content.detail-page .hero-actions {
  flex-wrap: wrap;
}

body.has-chatgpt-business-sidebar .main-content.detail-page .action-button,
body.has-chatgpt-business-sidebar .main-content.economy-page .hero-button,
body.has-chatgpt-business-sidebar .main-content.detail-page .hero-button {
  min-width: 140px;
}

body.has-chatgpt-business-sidebar .main-content.economy-page .section-title,
body.has-chatgpt-business-sidebar .main-content.detail-page .section-title {
  text-align: left;
}

body.has-chatgpt-business-sidebar .main-content.economy-page .section-title::after,
body.has-chatgpt-business-sidebar .main-content.detail-page .section-title::after {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1100px) {
  .chatgpt-business-shell {
    gap: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.has-chatgpt-business-sidebar {
    --cgpt-sidebar-width: 220px;
  }
}

@media (max-width: 900px) {
  .chatgpt-business-shell {
    display: block;
    padding-top: 0.8rem;
  }

  .chatgpt-business-sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: none;
    margin-bottom: 1rem;
  }

  .chatgpt-business-sidebar__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .chatgpt-business-sidebar__item,
  .chatgpt-business-sidebar__link {
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .chatgpt-business-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .chatgpt-business-sidebar {
    border-radius: 14px;
    padding: 0.7rem;
  }

  .chatgpt-business-sidebar__nav {
    grid-template-columns: 1fr;
  }

  .chatgpt-business-sidebar__title {
    font-size: 0.94rem;
  }

  .chatgpt-business-sidebar__item,
  .chatgpt-business-sidebar__link {
    font-size: 0.92rem;
    min-height: 44px;
    padding: 0.7rem 0.75rem;
  }
}


/* =========================================================
   モバイル最適化: 会社ページをスマホで見やすくする
   ========================================================= */
@media (max-width: 767px) {
  html,
  body {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  body {
    padding-top: 60px !important;
  }

  .header {
    background: rgba(15, 23, 42, 0.88) !important;
  }

  .container {
    padding: 0.78rem 1rem !important;
    gap: 0.75rem !important;
  }

  .logo {
    font-size: 1.08rem !important;
    max-width: calc(100vw - 88px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .hamburger {
    width: 36px !important;
    height: 28px !important;
  }

  .hamburger span {
    height: 4px !important;
  }

  .nav-list {
    border-radius: 0 0 16px 16px !important;
  }

  .nav-list li a {
    font-size: 1rem !important;
    padding: 1rem !important;
  }

  .main-content.main-home,
  body.has-chatgpt-business-sidebar .main-content.economy-page,
  body.has-chatgpt-business-sidebar .main-content.detail-page {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
    padding-top: 0.55rem !important;
  }

  .chatgpt-business-shell {
    display: block !important;
    padding: 0.72rem 0.75rem 1.6rem !important;
    gap: 0.85rem !important;
  }

  .chatgpt-business-sidebar {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    margin-bottom: 0.95rem !important;
    padding: 0.8rem !important;
    border-radius: 16px !important;
  }

  .chatgpt-business-sidebar__title {
    font-size: 1rem !important;
  }

  .chatgpt-business-sidebar__nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .chatgpt-business-sidebar__item,
  .chatgpt-business-sidebar__link {
    min-height: 52px !important;
    padding: 0.9rem 0.95rem !important;
    font-size: 1rem !important;
  }

  .chatgpt-business-sidebar__footer {
    margin-top: 0.6rem !important;
    padding: 0.8rem 0.9rem 0.55rem !important;
  }

  .hero-shell,
  .overview-grid,
  .stats-grid,
  .company-grid,
  .summary-grid,
  .info-grid,
  .rank-grid,
  .recruit-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .section-head,
  .company-footer,
  .hero-chip-row,
  .owner-meta,
  .pagination,
  .toolbar {
    gap: 0.7rem !important;
  }

  .hero-panel,
  .hero-side-card,
  .overview-card,
  .section-panel,
  .toolbar,
  .company-card,
  .recruit-card,
  .stats-card,
  .ranking-table-wrap,
  .empty-box,
  .detail-hero-card,
  .summary-card,
  .info-card,
  .rank-card,
  .table-wrap {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .hero-title,
  .section-title {
    font-size: clamp(1.45rem, 6.8vw, 2.05rem) !important;
    line-height: 1.28 !important;
  }

  .hero-text,
  .section-text,
  .hero-side-text,
  .ranking-note,
  .recruit-text,
  .company-desc,
  .company-role,
  .stats-status-text,
  .overview-label,
  .mini-label,
  .asset-label,
  .recruit-label {
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
  }

  .hero-button,
  .login-button,
  .detail-link,
  .tab-button,
  .action-button,
  .recruit-button,
  .page-button {
    width: 100% !important;
    min-height: 50px !important;
    padding: 0.92rem 1rem !important;
    justify-content: center !important;
  }

  .ranking-table-wrap,
  .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ranking-table,
  .transactions-table {
    min-width: 640px !important;
  }

  .ranking-table th,
  .ranking-table td,
  .transactions-table th,
  .transactions-table td {
    white-space: nowrap !important;
    padding: 0.76rem 0.72rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0.72rem 0.85rem !important;
  }

  .chatgpt-business-shell {
    padding: 0.65rem 0.65rem 1.4rem !important;
  }

  .hero-panel,
  .hero-side-card,
  .overview-card,
  .section-panel,
  .toolbar,
  .company-card,
  .recruit-card,
  .stats-card,
  .ranking-table-wrap,
  .empty-box,
  .detail-hero-card,
  .summary-card,
  .info-card,
  .rank-card,
  .table-wrap,
  .chatgpt-business-sidebar {
    padding: 0.9rem !important;
  }

  .hero-title,
  .section-title {
    font-size: clamp(1.32rem, 7vw, 1.8rem) !important;
  }

  .overview-value,
  .hero-side-value,
  .summary-value,
  .rank-value,
  .asset-value,
  .recruit-value {
    font-size: 1.25rem !important;
  }
}


/* =========================================================
   home-v2: index.html リデザイン
   ========================================================= */
.home-v2 {
  background:
    radial-gradient(circle at top, rgba(0, 172, 238, 0.18), transparent 30%),
    radial-gradient(circle at 50% 18%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, #111820 0%, #101720 48%, #0b1118 100%);
}

.home-v2 #particles-js {
  background:
    radial-gradient(circle at top, rgba(0, 172, 238, 0.18), transparent 30%),
    radial-gradient(circle at 50% 18%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, #111820 0%, #101720 48%, #0b1118 100%);
}

.home-v2 .main-home {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 5rem;
}

.home-v2 .header {
  background: rgba(12, 18, 26, 0.82);
  border-bottom: 1px solid rgba(0, 172, 238, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-v2 .logo {
  color: #00acee;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(0, 172, 238, 0.15);
}

.home-v2 .home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 64px);
  padding: 0 0 2rem;
}

.home-v2 .home-hero__inner {
  width: min(100%, 860px);
  margin: 0 auto;
  text-align: center;
}

.home-v2 .home-hero__brand {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #00acee;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.home-v2 .home-hero__badge,
.home-v2 .home-section__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 172, 238, 0.28);
  border-radius: 999px;
  background: rgba(10, 16, 24, 0.84);
  color: #9edfff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.04), 0 10px 22px rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-v2 .home-hero__title {
  margin: 0.95rem 0 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  font-weight: 800;
  background: linear-gradient(90deg, #d8f5ff 0%, #7dd3fc 16%, #00acee 48%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(37, 99, 235, 0.24);
}

.home-v2 .home-hero__text {
  max-width: 760px;
  margin: 1.2rem auto 0;
  color: #d6e3f5;
  font-size: 1.08rem;
  line-height: 1.85;
}

.home-v2 .home-hero__actions,
.home-v2 .home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.home-v2 .home-hero__actions--single {
  margin-top: 2rem;
}

.home-v2 .home-primary-button,
.home-v2 .home-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-v2 .home-primary-button {
  min-width: 240px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.56);
  border: 2px solid #00acee;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.08), 0 10px 30px rgba(0, 0, 0, 0.34);
}

.home-v2 .home-primary-button:hover {
  transform: translateY(-2px);
  background: rgba(0, 172, 238, 0.16);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.12), 0 16px 34px rgba(0, 0, 0, 0.38);
}

.home-v2 .home-secondary-button {
  color: #e7f7ff;
  background: rgba(10, 16, 24, 0.84);
  border: 1px solid rgba(0, 172, 238, 0.3);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.04);
}

.home-v2 .home-secondary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 172, 238, 0.58);
  background: rgba(17, 26, 37, 0.96);
}

.home-v2 .home-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: #88d9ff;
  text-decoration: none;
  font-weight: 600;
  padding: 0 0.35rem;
}

.home-v2 .home-text-link:hover {
  color: #d9f4ff;
}

.home-v2 .home-hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.home-v2 .home-hero__points li {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(10, 16, 24, 0.84);
  border: 1px solid rgba(0, 172, 238, 0.2);
  color: #dbeafe;
  font-size: 0.92rem;
}

.home-v2 .home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto;
}

.home-v2 .home-stat-card,
.home-v2 .home-guide-card,
.home-v2 .home-feature-card,
.home-v2 .home-flow-card,
.home-v2 .home-link-card,
.home-v2 .home-cta__inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 20, 29, 0.96) 0%, rgba(10, 15, 22, 0.94) 100%);
  border: 1px solid rgba(0, 172, 238, 0.2);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.04), 0 18px 40px rgba(0, 0, 0, 0.26);
}

.home-v2 .home-stat-card {
  padding: 1.5rem 1.3rem;
  text-align: center;
}

.home-v2 .home-stat-card__label {
  display: block;
  color: #8fb1ca;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.home-v2 .home-stat-card__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(180deg, #ecfeff 0%, #8fe5ff 42%, #39c7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-v2 .home-section {
  margin-top: 4.8rem;
}

.home-v2 .home-section--compact {
  margin-top: 4.2rem;
}

.home-v2 .home-section--narrow {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4.6rem;
}

.home-v2 .home-section__heading {
  text-align: center;
  margin-bottom: 1.8rem;
}

.home-v2 .home-section__title {
  margin: 0.85rem 0 0.7rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(90deg, #f8fbff 0%, #d8f5ff 14%, #93e5ff 52%, #58cbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-v2 .home-section__lead {
  max-width: 720px;
  margin: 0 auto;
  color: #bfd0e6;
  line-height: 1.8;
}

.home-v2 .home-guide-grid,
.home-v2 .home-feature-grid,
.home-v2 .home-link-grid,
.home-v2 .home-flow-grid {
  display: grid;
  gap: 1rem;
}

.home-v2 .home-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-v2 .home-feature-grid,
.home-v2 .home-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-v2 .home-flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-v2 .home-guide-card,
.home-v2 .home-feature-card,
.home-v2 .home-link-card,
.home-v2 .home-flow-card {
  padding: 1.45rem;
  text-decoration: none;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-v2 .home-guide-card:hover,
.home-v2 .home-feature-card:hover,
.home-v2 .home-link-card:hover,
.home-v2 .home-flow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 172, 238, 0.42);
  background: linear-gradient(180deg, rgba(16, 25, 37, 0.98) 0%, rgba(12, 19, 29, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.06), 0 24px 45px rgba(0, 0, 0, 0.32);
}

.home-v2 .home-guide-card__icon,
.home-v2 .home-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 172, 238, 0.22), rgba(37, 99, 235, 0.1));
  border: 1px solid rgba(0, 172, 238, 0.2);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.04);
  margin-bottom: 0.9rem;
  font-size: 1.5rem;
}

.home-v2 .home-guide-card h3,
.home-v2 .home-feature-card h3,
.home-v2 .home-link-card h3,
.home-v2 .home-flow-card h3,
.home-v2 .home-cta h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: #f8fafc;
}

.home-v2 .home-guide-card p,
.home-v2 .home-feature-card p,
.home-v2 .home-link-card p,
.home-v2 .home-flow-card p,
.home-v2 .home-cta p {
  margin: 0;
  color: #bfd0e6;
  line-height: 1.75;
  font-size: 0.96rem;
}

.home-v2 .home-link-card h3,
.home-v2 .home-flow-card h3 {
  color: #dff7ff;
}

.home-v2 .home-flow-card {
  padding-top: 1.25rem;
}

.home-v2 .home-flow-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  padding: 0 0.7rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8fe5ff;
  background: rgba(0, 172, 238, 0.08);
  border: 1px solid rgba(0, 172, 238, 0.2);
}

.home-v2 .home-cta {
  margin-top: 4.8rem;
}

.home-v2 .home-cta__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem;
  text-align: center;
}

.home-v2 .home-cta__inner::before,
.home-v2 .home-stat-card::before,
.home-v2 .home-guide-card::before,
.home-v2 .home-feature-card::before,
.home-v2 .home-flow-card::before,
.home-v2 .home-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 172, 238, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(125, 211, 252, 0.05), transparent 16%);
  pointer-events: none;
}

.home-v2 .home-stat-card::after,
.home-v2 .home-guide-card::after,
.home-v2 .home-feature-card::after,
.home-v2 .home-flow-card::after,
.home-v2 .home-link-card::after,
.home-v2 .home-cta__inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(125, 211, 252, 0.45) 50%, transparent 100%);
  pointer-events: none;
}

.home-v2 .footer {
  margin-top: 0;
  background: rgba(8, 13, 19, 0.94);
  border-top: 1px solid rgba(0, 172, 238, 0.12);
}

@media (max-width: 1023px) {
  .home-v2 .home-guide-grid,
  .home-v2 .home-feature-grid,
  .home-v2 .home-link-grid,
  .home-v2 .home-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-v2 .main-home {
    padding-top: 0;
  }

  .home-v2 .home-hero {
    min-height: calc(100svh - 64px);
    padding: 0 0 1.5rem;
  }

  .home-v2 .home-hero__title {
    font-size: 2.5rem;
  }

  .home-v2 .home-hero__brand {
    font-size: 1.2rem;
  }

  .home-v2 .home-hero__text {
    font-size: 0.98rem;
  }

  .home-v2 .home-stats,
  .home-v2 .home-guide-grid,
  .home-v2 .home-feature-grid,
  .home-v2 .home-link-grid,
  .home-v2 .home-flow-grid {
    grid-template-columns: 1fr;
  }

  .home-v2 .home-stat-card,
  .home-v2 .home-guide-card,
  .home-v2 .home-feature-card,
  .home-v2 .home-link-card,
  .home-v2 .home-flow-card,
  .home-v2 .home-cta__inner {
    border-radius: 20px;
  }

  .home-v2 .home-section {
    margin-top: 3.6rem;
  }
}

body.dark-theme.home-v2 {
  background:
    radial-gradient(circle at top, rgba(0, 172, 238, 0.12), transparent 30%),
    radial-gradient(circle at 50% 18%, rgba(37, 99, 235, 0.08), transparent 26%),
    linear-gradient(180deg, #090d13 0%, #0a1017 48%, #070b11 100%);
}

body.dark-theme.home-v2 #particles-js {
  background:
    radial-gradient(circle at top, rgba(0, 172, 238, 0.12), transparent 30%),
    radial-gradient(circle at 50% 18%, rgba(37, 99, 235, 0.08), transparent 26%),
    linear-gradient(180deg, #090d13 0%, #0a1017 48%, #070b11 100%);
}

body.dark-theme.home-v2 .header {
  background: rgba(7, 11, 17, 0.86);
}

body.dark-theme.home-v2 .home-stat-card,
body.dark-theme.home-v2 .home-guide-card,
body.dark-theme.home-v2 .home-feature-card,
body.dark-theme.home-v2 .home-flow-card,
body.dark-theme.home-v2 .home-link-card,
body.dark-theme.home-v2 .home-cta__inner {
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.98) 0%, rgba(6, 10, 15, 0.96) 100%);
}


/* =========================================================
   home-v2 追加調整: スマホ視認性 + 初期ダークテーマ
   ========================================================= */
.home-v2 {
  color-scheme: dark;
}

.home-v2 .home-guide-card,
.home-v2 .home-feature-card,
.home-v2 .home-link-card,
.home-v2 .home-flow-card {
  min-height: 100%;
}

@media (max-width: 767px) {
  .home-v2 .header {
    background: rgba(7, 11, 17, 0.92);
  }

  .home-v2 .header .container {
    min-height: 56px;
    padding: 0.65rem 0.95rem;
  }

  .home-v2 .logo {
    font-size: 1rem;
    max-width: calc(100vw - 84px);
  }

  .home-v2 .main-home {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
    padding-bottom: 4rem;
  }

  .home-v2 .home-hero {
    min-height: calc(100dvh - 56px);
    padding: 0 0 1rem;
  }

  .home-v2 .home-hero__inner {
    width: 100%;
    padding: 0 0.15rem;
  }

  .home-v2 .home-hero__brand {
    font-size: 1.02rem;
    letter-spacing: 0.1em;
  }

  .home-v2 .home-hero__title {
    margin-top: 0.75rem;
    font-size: clamp(2.05rem, 11vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .home-v2 .home-hero__actions--single {
    margin-top: 1.55rem;
  }

  .home-v2 .home-primary-button,
  .home-v2 .home-secondary-button {
    width: min(100%, 340px);
    min-width: 0;
    min-height: 52px;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
  }

  .home-v2 .home-stats {
    gap: 0.75rem;
    margin-top: 0.25rem;
  }

  .home-v2 .home-stat-card,
  .home-v2 .home-guide-card,
  .home-v2 .home-feature-card,
  .home-v2 .home-link-card,
  .home-v2 .home-flow-card,
  .home-v2 .home-cta__inner {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .home-v2 .home-stat-card__label {
    font-size: 0.88rem;
  }

  .home-v2 .home-stat-card__value {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .home-v2 .home-section {
    margin-top: 3.2rem;
  }

  .home-v2 .home-section--compact,
  .home-v2 .home-section--narrow,
  .home-v2 .home-cta {
    margin-top: 3.2rem;
  }

  .home-v2 .home-section__heading {
    margin-bottom: 1.15rem;
  }

  .home-v2 .home-section__eyebrow {
    min-height: 32px;
    padding: 0.3rem 0.8rem;
    font-size: 0.76rem;
  }

  .home-v2 .home-section__title {
    margin: 0.7rem 0 0.55rem;
    font-size: clamp(1.5rem, 7.6vw, 1.9rem);
    line-height: 1.25;
  }

  .home-v2 .home-section__lead,
  .home-v2 .home-guide-card p,
  .home-v2 .home-feature-card p,
  .home-v2 .home-link-card p,
  .home-v2 .home-flow-card p,
  .home-v2 .home-cta p {
    font-size: 0.93rem;
    line-height: 1.68;
  }

  .home-v2 .home-guide-card h3,
  .home-v2 .home-feature-card h3,
  .home-v2 .home-link-card h3,
  .home-v2 .home-flow-card h3,
  .home-v2 .home-cta h2 {
    font-size: 1.02rem;
    line-height: 1.4;
  }

  .home-v2 .home-guide-card__icon,
  .home-v2 .home-feature-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
  }

  .home-v2 .home-flow-card__number {
    min-width: 48px;
    min-height: 30px;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
  }

  .home-v2 .home-cta__actions {
    gap: 0.7rem;
    margin-top: 1.25rem;
  }

  .home-v2 .footer-nav {
    gap: 0.35rem 0.9rem;
  }
}

@media (max-width: 420px) {
  .home-v2 .main-home {
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
  }

  .home-v2 .home-hero__title {
    font-size: clamp(1.9rem, 12vw, 2.35rem);
  }

  .home-v2 .home-stat-card,
  .home-v2 .home-guide-card,
  .home-v2 .home-feature-card,
  .home-v2 .home-link-card,
  .home-v2 .home-flow-card,
  .home-v2 .home-cta__inner {
    padding: 1rem;
  }
}
