/* =========================================
   POCHI-KUJI 下層ページ用 レトロCSS（更新版）
   Version: 1.2.0
   対象: プライスプラン、システム、FAQ等の下層ページ
   ========================================= */

/* ===== 下層ページ専用：不要な要素を非表示 ===== */
/* PRESS STARTボタンを非表示 */
.press-start {
    display: none !important;
}

/* Windows95ポップアップを非表示 */
.win95-popup {
    display: none !important;
}

/* welcomePopupを非表示 */
#welcomePopup {
    display: none !important;
}

.subpage-section {
    background: #0a0a0a !important;
    color: #00ff00 !important;
    padding: 4rem 1rem;
    position: relative;
}

/* 共通セクションタイトル */
.subpage-section .section-title,
.price .section-title,
.option .section-title,
.convenient-section .section-title {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    text-align: center;
    color: #00ffff !important;
    font-size: 2rem !important;
    margin: 3rem 0;
    text-shadow: 
        3px 3px 0 #ff00ff,
        6px 6px 0 #ffff00,
        9px 9px 30px rgba(0,255,255,1) !important;
}

/* ===== プライスプランページ専用 ===== */
.price {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
    position: relative;
    overflow: visible; /* hiddenからvisibleに変更 */
}

.price_container {
    max-width: 1200px;
    margin: 0 auto;
}

/* trial-badge修正 */
.trial-badge {
    position: fixed !important;
    right: 20px !important;
    top: 250px !important;
    z-index: 1000 !important;
    background: linear-gradient(45deg, #ffff00, #ff00ff, #00ffff) !important;
    border: 4px solid #fff !important;
    border-radius: 15px !important;
    padding: 1.2rem !important;
    cursor: pointer !important;
    animation: trial-bounce 2s infinite !important;
    box-shadow: 
        0 0 30px rgba(255,255,0,0.8), 
        5px 5px 0 #000,
        0 0 50px rgba(255,0,255,0.5) !important;
}

.trial-badge a {
    text-decoration: none !important;
}

.trial-text {
    text-align: center !important;
}

.trial-text strong {
    display: block !important;
    font-size: 1rem !important;
    color: #000 !important;
    text-shadow: 
        1px 1px 0 #fff,
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff !important;
    margin-bottom: 0.5rem !important;
    font-weight: bold !important;
    font-family: 'DotGothic16', sans-serif !important;
}

.trial-text p {
    font-size: 0.7rem !important;
    color: #000 !important;
    margin: 0.5rem 0 !important;
    font-weight: bold !important;
    text-shadow: 
        1px 1px 0 #fff,
        -1px -1px 0 #fff !important;
}

.arrow-down {
    margin-top: 0.3rem;
}

.arrow-down img {
    filter: brightness(0) !important;
    width: 20px !important;
    height: 20px !important;
    animation: arrow-bounce 1s infinite !important;
}

@keyframes trial-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ===== ① 料金カード修正 - 3つ全て表示（完全版） ===== */

/* メインコンテナ - 確実に3つ横並びにする */
.price-cards {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 20px !important;
    margin: 3rem auto !important;
    max-width: 1200px !important;
    flex-wrap: nowrap !important; /* 折り返さない */
    padding: 0 1rem !important;
}

/* 各カードを確実に表示 */
.price-card {
    background: linear-gradient(135deg, rgba(26, 0, 51, 0.98) 0%, rgba(51, 0, 102, 0.98) 100%) !important;
    border: 3px solid #00ffff !important;
    padding: 1.5rem 1rem !important;
    position: relative !important;
    transition: all 0.3s !important;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5) !important;
    min-height: 450px !important;
    
    /* Flexアイテムとして確実に表示 */
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 calc(33.333% - 20px) !important; /* 3分の1の幅 */
    max-width: 360px !important;
    min-width: 280px !important;
    
    /* WOWアニメーションの影響を防ぐ */
    visibility: visible !important;
    opacity: 1 !important;
}

/* 各カードを個別に確実に表示 */
.price-cards .price-card:nth-child(1),
.price-cards .price-card:nth-child(2),
.price-cards .price-card:nth-child(3) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* カードの順序を調整 - 12ヶ月プランを中央に */
.price-cards .price-card:nth-child(1) { 
    order: 1 !important; /* 3ヶ月 */
} 
.price-cards .price-card:nth-child(2) { 
    order: 2 !important; /* 12ヶ月（中央） */
} 
.price-cards .price-card:nth-child(3) { 
    order: 3 !important; /* 1ヶ月 */
}

/* 4つ目以降のカードがある場合は非表示 */
.price-cards .price-card:nth-child(n+4) {
    display: none !important;
}

.price-card:hover {
    transform: scale(1.08) translateY(-10px) !important;
    border-color: #ffff00 !important;
    box-shadow: 
        0 0 40px rgba(255, 255, 0, 0.8),
        inset 0 0 30px rgba(255, 255, 0, 0.2) !important;
    z-index: 20 !important;
}

.price-card.recommended {
    border-color: #ffff00 !important;
    border-width: 4px !important;
    box-shadow: 
        0 0 40px rgba(255, 255, 0, 0.8),
        inset 0 0 25px rgba(255, 0, 102, 0.3) !important;
    transform: scale(1.05) !important;
    z-index: 10 !important;
}

.price-card.recommended:hover {
    transform: scale(1.1) translateY(-10px) !important;
}

/* タイトル部分 */
.price-card .title {
    font-family: 'DotGothic16', 'Press Start 2P', cursive !important;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem !important;
    padding: 0.8rem;
    border-radius: 5px;
    font-weight: bold;
}

.price-card .title.orange {
    background: linear-gradient(135deg, #ff6600 0%, #ff9900 100%) !important;
    color: #fff !important;
    text-shadow: 2px 2px 0 #000;
    border: 2px solid #ffff00 !important;
}

.price-card .title.blue {
    background: linear-gradient(135deg, #0066ff 0%, #00ccff 100%) !important;
    color: #fff !important;
    text-shadow: 2px 2px 0 #000;
    border: 2px solid #00ffff !important;
}

/* リスト項目 */
.price-card ul {
    list-style: none;
    padding: 0;
    flex: 1;
}

.price-card li {
    margin: 1rem 0;
    padding: 0.8rem 0.5rem;
    border-bottom: 1px dashed rgba(0, 255, 0, 0.3);
    min-height: 60px;
}

.price-card li:last-child {
    border-bottom: none;
}

.price-card li span {
    color: #00ff00 !important;
    font-size: 0.8rem !important;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.price-card li span#small {
    font-size: 0.7rem !important;
}

.price-card li strong {
    color: #ffff00 !important;
    font-family: 'DotGothic16', monospace !important;
    font-size: 1.4rem !important;
    text-shadow: 2px 2px 0 #000;
    display: block;
    text-align: right;
    line-height: 1.3;
}

/* 価格の数字と単位 */
.price-card .price-number {
    font-size: 1.4rem !important;
    color: #ffff00 !important;
}

.price-card .price-unit {
    font-size: 0.9rem !important;
    color: #ffff00 !important;
    margin-left: 0.2rem;
}

.price-card .price-prefix {
    font-size: 0.8rem !important;
    color: #ff00ff !important;
    margin-right: 0.3rem;
}

.price-card li strong.highlight {
    color: #ff00ff !important;
    font-size: 1.5rem !important;
    animation: price-glow 2s ease-in-out infinite;
}

.price-card li strong.highlight .price-number {
    color: #ff00ff !important;
    font-size: 1.5rem !important;
}

.price-card li strong.highlight .price-unit {
    color: #ff00ff !important;
}

/* 割引表示 */
.price-card .discount {
    text-align: right;
    margin-top: 0.5rem;
}

.price-card .discount del {
    color: #999 !important;
    font-size: 0.9rem !important;
    display: block;
    margin-bottom: 0.3rem;
}

.price-card .discount strong {
    color: #00ff00 !important;
    font-size: 1.6rem !important;
}

.price-card .discount strong .price-number {
    color: #00ff00 !important;
    font-size: 1.6rem !important;
}

@keyframes price-glow {
    0%, 100% { text-shadow: 1px 1px 0 #000, 0 0 10px #ff00ff; }
    50% { text-shadow: 1px 1px 0 #000, 0 0 20px #ff00ff, 0 0 30px #ffff00; }
}

/* バッジ */
.price-card .badge {
    position: absolute;
    top: -20px;
    right: 20px;
    animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* 料金のポイントボックス */
.option-box {
    background: linear-gradient(135deg, #000033 0%, #003366 100%) !important;
    border: 3px solid #ffff00 !important;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 
        0 0 30px rgba(255, 255, 0, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.2);
}

.option-content {
    text-align: center;
}

.option-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.option-title .icon {
    font-size: 2rem;
    animation: icon-spin 3s linear infinite;
}

@keyframes icon-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.option-title .title-text {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    color: #ffff00 !important;
    font-size: 1.2rem !important;
    text-shadow: 2px 2px 0 #000;
}

.option-description {
    color: #00ff00 !important;
    font-size: 1rem !important;
    line-height: 1.8;
    text-shadow: 1px 1px 0 #000;
}

.option-description .note {
    display: block;
    margin-top: 1rem;
    color: #ff9900 !important;
    font-size: 0.9rem;
    animation: blink 2s infinite;
}

/* ===== オプションセクション ===== */
.option {
    background: #16213e !important;
    padding: 4rem 1rem;
    border-top: 4px solid #ff00ff;
    border-bottom: 4px solid #ff00ff;
}

.option_container {
    max-width: 1200px;
    margin: 0 auto;
}

.option_title {
    display: none; /* 画像を非表示 */
}

.option_content {
    color: #00ff00 !important;
    font-size: 1.1rem !important;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border: 2px solid #00ffff;
    border-radius: 10px;
    margin: 2rem 0;
    text-shadow: 1px 1px 0 #000;
}

/* ===== ③ オプション画像を非表示 ===== */
.option_images {
    display: none !important;
}

/* 比較図のスタイル（JSで挿入される要素用） */
.option-comparison {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,0,51,0.9) 100%);
    border: 3px solid #00ffff;
    border-radius: 15px;
    max-width: 1000px;
    box-shadow: 0 0 30px rgba(0,255,255,0.5);
}

.comparison-left,
.comparison-right {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%);
    border: 2px solid #ffff00;
    padding: 2rem;
    text-align: center;
    position: relative;
    border-radius: 10px;
}

.comparison-left {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
}

.comparison-right {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0,255,0,0.5);
}

.comparison-left h3,
.comparison-right h3 {
    font-family: 'DotGothic16', 'Press Start 2P', cursive !important;
    color: #ffff00 !important;
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 #000;
}

.comparison-arrow {
    text-align: center;
}

/* ===== 便利機能セクション ===== */
.convenient-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0033 100%) !important;
    padding: 4rem 1rem;
    position: relative;
}

.convenient-section .title_img {
    display: none; /* 画像タイトルを非表示 */
}

/* タイトルをテキストで表示 */
.convenient-section::before {
    content: "🎮 便利機能一覧 🎮";
    display: block;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    text-align: center;
    color: #ffff00 !important;
    font-size: 2rem !important;
    margin-bottom: 3rem;
    text-shadow: 
        3px 3px 0 #ff00ff,
        6px 6px 0 #00ffff,
        9px 9px 30px rgba(255,255,0,1) !important;
}

/* ===== ② convenient-gridレイアウト修正 ===== */
.convenient-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.convenient-four {
    grid-template-columns: repeat(2, 1fr);
}

.convenient-grid-container {
    grid-template-columns: repeat(3, 1fr);
}

.convenient-box {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%) !important;
    border: 3px solid #00ffff !important;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.convenient-box::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.convenient-box:hover::before {
    top: -50%;
    left: -50%;
}

.convenient-box:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ffff00 !important;
    box-shadow: 
        0 0 40px rgba(255, 255, 0, 0.8),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
}

.box-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* 元の画像を非表示 */
.box-title img {
    display: none !important;
}

/* 絵文字アイコンを追加 */
.box-title::before {
    content: "⭐";
    font-size: 2.5rem;
    display: inline-block;
    animation: emoji-bounce 2s ease-in-out infinite;
}

/* 各機能に対応する絵文字 */
.convenient-grid .convenient-box:nth-child(1) .box-title::before { content: "🎯"; }
.convenient-grid .convenient-box:nth-child(2) .box-title::before { content: "📋"; }
.convenient-grid-container .convenient-box:nth-child(1) .box-title::before { content: "💬"; }
.convenient-grid-container .convenient-box:nth-child(2) .box-title::before { content: "🌍"; }
.convenient-grid-container .convenient-box:nth-child(3) .box-title::before { content: "🎁"; }

/* convenient-fourの中の入れ子グリッド対応 */
.convenient-four > .convenient-grid:first-child .convenient-box:nth-child(1) .box-title::before { content: "🎯"; }
.convenient-four > .convenient-grid:first-child .convenient-box:nth-child(2) .box-title::before { content: "📋"; }
.convenient-four > .convenient-grid:last-child .convenient-box:nth-child(1) .box-title::before { content: "🎯"; }
.convenient-four > .convenient-grid:last-child .convenient-box:nth-child(2) .box-title::before { content: "🌐"; }

@keyframes emoji-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes icon-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.box-title h6 {
    color: #ff00ff !important;
    font-size: 0.8rem !important;
    margin: 0;
}

.box-title h3 {
    color: #ffff00 !important;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 0.9rem !important;
    margin: 0;
    text-shadow: 1px 1px 0 #000;
}

.convenient-box p {
    color: #00ff00 !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}

/* ===== ボタングループ ===== */
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.button-group .btn {
    position: relative;
    padding: 1.2rem 2.5rem !important;
    background: linear-gradient(180deg, #ff0066 0%, #990033 100%) !important;
    color: #fff !important;
    text-decoration: none;
    border: 4px solid #ffff00 !important;
    border-radius: 10px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 8px 0 #990033,
        0 8px 30px rgba(255, 0, 102, 0.5);
    transform: translateY(0);
    transition: all 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    white-space: nowrap;
}

.button-group .btn.download {
    background: linear-gradient(180deg, #00ff66 0%, #009933 100%) !important;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 8px 0 #009933,
        0 8px 30px rgba(0, 255, 102, 0.5);
}

.button-group .btn.contact {
    background: linear-gradient(180deg, #00ffff 0%, #0099cc 100%) !important;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 8px 0 #0099cc,
        0 8px 30px rgba(0, 255, 255, 0.5);
}

.button-group .btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 12px 0 #990033,
        0 12px 40px rgba(255, 0, 102, 0.8);
}

.button-group .btn:active {
    transform: translateY(4px);
    box-shadow: 
        inset 0 -4px 0 rgba(0, 0, 0, 0.3),
        0 4px 0 #990033,
        0 4px 20px rgba(255, 0, 102, 0.5);
}

.button-group .btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ===== アニメーション定義 ===== */
@keyframes arrow-pulse {
    0%, 100% { transform: scale(1) translateX(0); }
    50% { transform: scale(1.2) translateX(10px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 1024px) {
    .price-cards {
        gap: 15px !important;
    }
    
    .price-card {
        flex: 1 1 calc(33.333% - 15px) !important;
        min-width: 250px !important;
    }
}

@media (max-width: 768px) {
    /* 料金カードを縦並びに */
    .price-cards {
        flex-direction: column !important;
        align-items: center !important;
        max-width: 400px;
        margin: 2rem auto;
    }
    
    .price-card {
        flex: 1 1 100% !important;
        max-width: 400px !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
        min-height: auto;
    }
    
    .price-card.recommended {
        transform: scale(1) !important; /* モバイルでは拡大しない */
    }
    
    /* trial-badgeを非表示 */
    .trial-badge {
        display: none !important;
    }
    
    /* ボタンは横並びを維持 */
    .button-group {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100%;
        padding: 0 1rem;
    }
    
    .button-group .btn {
        padding: 1rem !important;
        font-size: 0.7rem !important;
        flex: 1;
        max-width: 200px;
    }
    
    .button-group .btn img {
        width: 16px;
        height: 16px;
        margin-left: 0.3rem;
    }
    
    /* オプション比較図を縦並びに */
    .option-comparison {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1.5rem 1rem !important;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    /* convenient-gridを1列に */
    .convenient-four,
    .convenient-grid-container {
        grid-template-columns: 1fr !important;
    }
    
    .subpage-section .section-title,
    .price .section-title,
    .option .section-title,
    .convenient-section::before {
        font-size: 1.3rem !important;
    }
}

/* ===== システムページ専用スタイル ===== */
.system {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
    position: relative;
    overflow: visible;
}

.system_container {
    max-width: 1200px;
    margin: 0 auto;
}

/* システムページのh2を大幅改善 */
.system .section-title {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    text-align: center;
    color: #ffff00 !important; /* 黄色で見やすく */
    font-size: 2.5rem !important;
    margin: 4rem 0;
    padding: 1.5rem;
    text-shadow: 
        3px 3px 0 #ff00ff,
        5px 5px 0 #00ffff,
        7px 7px 20px rgba(255,255,0,0.8) !important;
    background: linear-gradient(135deg, rgba(255,0,102,0.1) 0%, rgba(0,255,255,0.1) 100%);
    border: 3px solid #ffff00;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* h2の装飾アイコン */
.system .section-title::before,
.system .section-title::after {
    content: "⚙️";
    position: absolute;
    font-size: 2rem;
    animation: title-icon-spin 3s linear infinite;
}

.system .section-title::before {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.system .section-title::after {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    animation-direction: reverse;
}

@keyframes title-icon-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* システムページのtrial-badgeを見やすく */
.system .trial-badge {
    position: fixed !important;
    right: 20px !important;
    top: 200px !important;
    z-index: 1000 !important;
    background: linear-gradient(45deg, #00ff00, #ffff00, #ff00ff) !important;
    border: 5px solid #fff !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    cursor: pointer !important;
    animation: trial-pulse 2s infinite !important;
    box-shadow: 
        0 0 40px rgba(0,255,0,0.9), 
        5px 5px 0 #000,
        0 0 60px rgba(255,255,0,0.6) !important;
    transition: all 0.3s;
}

.system .trial-badge:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 60px rgba(0,255,0,1), 
        8px 8px 0 #000,
        0 0 80px rgba(255,255,0,0.8) !important;
}

@keyframes trial-pulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: translateY(-5px) scale(1.05);
        filter: brightness(1.2);
    }
}

/* システムページのグリッドレイアウト */
.system .convenient-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.system .convenient-four {
    grid-template-columns: repeat(3, 1fr);
}

/* システムページの機能ボックス */
.system .convenient-box {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%) !important;
    border: 3px solid #00ffff !important;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.system .convenient-box:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ffff00 !important;
    box-shadow: 
        0 0 40px rgba(255, 255, 0, 0.8),
        inset 0 0 30px rgba(0, 255, 255, 0.2);
    z-index: 10;
}

/* システムページのcard_iconを絵文字に置き換え */
.system .card_icon {
    text-align: center;
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system .card_icon img {
    display: none !important;
}

.system .card_icon::after {
    content: "⚙️";
    font-size: 3rem;
    display: inline-block;
    animation: system-icon-float 3s ease-in-out infinite;
}

/* 各機能に対応する絵文字 */
.system .convenient-box:nth-child(1) .card_icon::after { content: "🎯"; }
.system .convenient-box:nth-child(2) .card_icon::after { content: "⚡"; }
.system .convenient-box:nth-child(3) .card_icon::after { content: "📊"; }
.system .convenient-box:nth-child(4) .card_icon::after { content: "📝"; }
.system .convenient-box:nth-child(5) .card_icon::after { content: "🎮"; }
.system .convenient-box:nth-child(6) .card_icon::after { content: "📁"; }

@keyframes system-icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-5deg); }
}

/* システムページのh3を見やすく改善 */
.system .convenient-box h3 {
    color: #ffff00 !important;
    font-family: 'DotGothic16', 'Press Start 2P', cursive !important;
    font-size: 1.1rem !important;
    margin: 0 0 1.5rem 0;
    text-align: center;
    text-shadow: 
        2px 2px 0 #000,
        3px 3px 5px rgba(255, 255, 0, 0.5) !important;
    line-height: 1.4;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 0, 102, 0.2) 0%, rgba(255, 255, 0, 0.1) 100%);
    border-radius: 5px;
    border-bottom: 2px solid #ff00ff;
}

.system .convenient-box:hover h3 {
    color: #00ffff !important;
    text-shadow: 
        2px 2px 0 #000,
        3px 3px 10px rgba(0, 255, 255, 0.8) !important;
    border-bottom-color: #00ffff;
}

.system .convenient-box p {
    color: #00ff00 !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
    flex: 1;
}

/* システムページのボタングループを大幅改善 */
.system .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 4rem auto;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,0,51,0.8) 100%);
    border: 3px solid #00ffff;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.system .button-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,255,255,0.2), 
        transparent
    );
    animation: button-bg-sweep 3s linear infinite;
}

@keyframes button-bg-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.system .button-group .btn {
    position: relative;
    padding: 1.5rem 3rem !important;
    background: linear-gradient(180deg, #ff0066 0%, #990033 100%) !important;
    color: #fff !important;
    text-decoration: none;
    border: 5px solid #ffff00 !important;
    border-radius: 15px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #990033,
        0 10px 40px rgba(255, 0, 102, 0.6);
    transform: translateY(0);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.system .button-group .btn.download {
    background: linear-gradient(180deg, #00ff00 0%, #009900 100%) !important;
    border-color: #00ffff !important;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #009900,
        0 10px 40px rgba(0, 255, 0, 0.6);
}

.system .button-group .btn.contact {
    background: linear-gradient(180deg, #00ffff 0%, #0066cc 100%) !important;
    border-color: #ffff00 !important;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #0066cc,
        0 10px 40px rgba(0, 255, 255, 0.6);
}

.system .button-group .btn:hover {
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.2);
}

.system .button-group .btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* ===== FAQページ専用スタイル ===== */
.faq {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
    position: relative;
    overflow: visible;
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FAQページ専用スタイル ===== */
.faq {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
    position: relative;
    overflow: visible;
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FAQページ専用スタイル ===== */
.faq {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
    position: relative;
    overflow: visible;
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* FAQページのh2を大幅改善 */
.faq .section-title {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    text-align: center;
    color: #ffff00 !important;
    font-size: 2.5rem !important;
    margin: 4rem 0;
    padding: 1.5rem;
    text-shadow: 
        3px 3px 0 #ff00ff,
        5px 5px 0 #00ffff,
        7px 7px 20px rgba(255,255,0,0.8) !important;
    background: linear-gradient(135deg, rgba(255,0,102,0.1) 0%, rgba(0,255,255,0.1) 100%);
    border: 3px solid #ffff00;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* h2の装飾アイコン */
.faq .section-title::before,
.faq .section-title::after {
    content: "❓";
    position: absolute;
    font-size: 2rem;
    animation: faq-icon-bounce 2s ease-in-out infinite;
}

.faq .section-title::before {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq .section-title::after {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

@keyframes faq-icon-bounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

/* FAQのtrial-badgeを改善 */
.faq .trial-badge {
    position: fixed !important;
    right: 20px !important;
    top: 200px !important;
    z-index: 1000 !important;
    background: linear-gradient(45deg, #00ffff, #ffff00, #ff00ff) !important;
    border: 5px solid #fff !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    cursor: pointer !important;
    animation: faq-badge-pulse 2s infinite !important;
    box-shadow: 
        0 0 40px rgba(0,255,255,0.9), 
        5px 5px 0 #000,
        0 0 60px rgba(255,0,255,0.6) !important;
    transition: all 0.3s;
}

.faq .trial-badge:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 
        0 0 60px rgba(0,255,255,1), 
        8px 8px 0 #000,
        0 0 80px rgba(255,0,255,0.8) !important;
}

@keyframes faq-badge-pulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: translateY(-5px) scale(1.05);
        filter: brightness(1.2);
    }
}

/* FAQリスト */
.faq .list-none {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
}

/* アコーディオンボックス */
.faq .box-accordion {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%) !important;
    border: 3px solid #00ffff !important;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0,255,255,0.3),
        inset 0 0 20px rgba(0,0,0,0.5);
}

.faq .box-accordion::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,255,255,0.2), 
        transparent
    );
    transition: all 0.5s;
}

.faq .box-accordion:hover::before {
    left: 100%;
}

.faq .box-accordion:hover {
    transform: translateX(10px);
    border-color: #ffff00 !important;
    box-shadow: 
        0 0 40px rgba(255,255,0,0.8),
        inset 0 0 30px rgba(255,0,255,0.2);
}

/* FAQ質問部分 (h4) */
.faq .box-accordion .ttl {
    color: #ffff00 !important;
    font-family: 'DotGothic16', sans-serif !important;
    font-size: 1.1rem !important;
    padding: 1.5rem 2rem 1.5rem 4rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: block;
    text-shadow: 2px 2px 0 #000;
    background: linear-gradient(135deg, rgba(255,0,102,0.1) 0%, transparent 100%);
    transition: all 0.3s;
    line-height: 1.6;
}

.faq .box-accordion .ttl:hover {
    background: linear-gradient(135deg, rgba(255,255,0,0.2) 0%, rgba(255,0,255,0.1) 100%);
}

/* Q.アイコンを追加 */
.faq .box-accordion .ttl::before {
    content: "Q.";
    color: #ff00ff !important;
    font-family: 'Press Start 2P', cursive !important;
    font-size: 1.2rem !important;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 2px 2px 0 #000;
}

/* FAQ回答部分 */
.faq .box-accordion .inner {
    padding: 0 2rem 2rem 2rem;
    margin-top: 0 !important;
    animation: faq-slide-down 0.3s ease-out;
}

@keyframes faq-slide-down {
    0% { 
        opacity: 0;
        transform: translateY(-20px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

.faq .box-accordion .inner p {
    color: #00ff00 !important;
    font-size: 1rem !important;
    line-height: 1.8;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
    position: relative;
    padding-left: 3rem;
}

/* A.アイコンを追加 */
.faq .box-accordion .inner p::before {
    content: "A.";
    color: #00ffff !important;
    font-family: 'Press Start 2P', cursive !important;
    font-size: 1rem !important;
    position: absolute;
    left: 0;
    top: 0;
    text-shadow: 2px 2px 0 #000;
}

/* FAQページのボタングループ */
.faq .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 4rem auto;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,0,51,0.8) 100%);
    border: 3px solid #00ffff;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.faq .button-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,255,255,0.2), 
        transparent
    );
    animation: faq-bg-sweep 3s linear infinite;
}

@keyframes faq-bg-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.faq .button-group .btn {
    position: relative;
    padding: 1.5rem 3rem !important;
    background: linear-gradient(180deg, #ff0066 0%, #990033 100%) !important;
    color: #fff !important;
    text-decoration: none;
    border: 5px solid #ffff00 !important;
    border-radius: 15px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #990033,
        0 10px 40px rgba(255, 0, 102, 0.6);
    transform: translateY(0);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.faq .button-group .btn.download {
    background: linear-gradient(180deg, #00ff00 0%, #009900 100%) !important;
    border-color: #00ffff !important;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #009900,
        0 10px 40px rgba(0, 255, 0, 0.6);
}

.faq .button-group .btn.contact {
    background: linear-gradient(180deg, #00ffff 0%, #0066cc 100%) !important;
    border-color: #ffff00 !important;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #0066cc,
        0 10px 40px rgba(0, 255, 255, 0.6);
}

.faq .button-group .btn:hover {
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.2);
}

.faq .button-group .btn:active {
    transform: translateY(2px);
    filter: brightness(0.9);
}

.faq .button-group .btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 1024px) {
    .price-cards {
        gap: 15px !important;
    }
    
    .price-card {
        flex: 1 1 calc(33.333% - 15px) !important;
        min-width: 250px !important;
    }
}

/* ===== ダウンロードページ専用スタイル ===== */
.downloading-section {
    background: #0a0a0a !important;
    padding: 6rem 1rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.downloading-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ロゴ */
.downloading-content .logo {
    margin-bottom: 3rem;
}

.downloading-content .logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

/* h2相当のテキスト（pタグ）をh2風に改善 */
.downloading-content p {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    color: #ffff00 !important;
    font-size: 2.5rem !important;
    margin: 3rem 0;
    padding: 1.5rem;
    text-shadow: 
        3px 3px 0 #ff00ff,
        5px 5px 0 #00ffff,
        7px 7px 20px rgba(255,255,0,0.8) !important;
    background: linear-gradient(135deg, rgba(255,0,102,0.1) 0%, rgba(0,255,255,0.1) 100%);
    border: 3px solid #ffff00;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    animation: download-title-glow 3s ease-in-out infinite;
}

@keyframes download-title-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255,255,0,0.5);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255,255,0,0.8), 0 0 60px rgba(0,255,255,0.5);
    }
}

/* ダウンロードボタン */
.downloading-content .button-group {
    margin-top: 3rem;
}

.downloading-content .btn.download {
    position: relative;
    padding: 1.5rem 3rem !important;
    background: linear-gradient(180deg, #00ff00 0%, #009900 100%) !important;
    color: #fff !important;
    text-decoration: none;
    border: 5px solid #ffff00 !important;
    border-radius: 15px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #009900,
        0 10px 40px rgba(0, 255, 0, 0.6);
    transform: translateY(0);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    white-space: nowrap;
    animation: download-btn-pulse 2s ease-in-out infinite;
}

@keyframes download-btn-pulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
    }
    50% { 
        transform: translateY(-3px) scale(1.05);
    }
}

.downloading-content .btn.download:hover {
    transform: translateY(-6px) scale(1.1);
    filter: brightness(1.2);
    animation: none;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 15px 0 #009900,
        0 15px 60px rgba(0, 255, 0, 0.8);
}

.downloading-content .btn.download:active {
    transform: translateY(2px);
    box-shadow: 
        inset 0 -5px 0 rgba(0, 0, 0, 0.4),
        0 5px 0 #009900,
        0 5px 20px rgba(0, 255, 0, 0.6);
}

.downloading-content .btn.download img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .downloading-content p {
        font-size: 1.5rem !important;
        padding: 1rem;
    }
    
    .downloading-content .btn.download {
        padding: 1.2rem 2rem !important;
        font-size: 0.8rem !important;
    }
    
    .downloading-content .btn.download img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 400px) {
    .downloading-content p {
        font-size: 1.2rem !important;
    }
    
    .downloading-content .btn.download {
        padding: 1rem 1.5rem !important;
        font-size: 0.7rem !important;
    }

}

/* ===== コンタクトページ専用スタイル ===== */
.contact {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
}

.contact .container {
    max-width: 800px;
    margin: 0 auto;
}

/* コンタクトページのh2 */
.contact .section-title {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    text-align: center;
    color: #ffff00 !important;
    font-size: 2.5rem !important;
    margin: 4rem 0 !important;
    padding: 1.5rem !important;
    text-shadow: 
        3px 3px 0 #ff00ff,
        5px 5px 0 #00ffff,
        7px 7px 20px rgba(255,255,0,0.8) !important;
    background: linear-gradient(135deg, rgba(255,0,102,0.1) 0%, rgba(0,255,255,0.1) 100%) !important;
    border: 3px solid #ffff00 !important;
    border-radius: 10px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 既存の::before, ::afterを上書き */
.contact .section-title::before {
    content: "📧" !important;
    font-size: 2rem !important;
    position: absolute !important;
    left: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-weight: normal !important;
    animation: contact-icon-bounce 2s ease-in-out infinite !important;
}

.contact .section-title::after {
    content: "📧" !important;
    font-size: 2rem !important;
    position: absolute !important;
    right: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    bottom: auto !important;
    left: auto !important;
    animation: contact-icon-bounce 2s ease-in-out infinite !important;
    animation-delay: 0.5s !important;
}

@keyframes contact-icon-bounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.2); }
}

/* ===== カンパニーページ専用スタイル ===== */
.transaction {
    background: #0a0a0a !important;
    padding: 4rem 1rem;
}

/* カンパニーページのh2（文字化けしてる部分も修正） */
.transaction .section-title {
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    text-align: center;
    color: #ffff00 !important;
    font-size: 2.5rem !important;
    margin: 4rem 0 !important;
    padding: 1.5rem !important;
    text-shadow: 
        3px 3px 0 #ff00ff,
        5px 5px 0 #00ffff,
        7px 7px 20px rgba(255,255,0,0.8) !important;
    background: linear-gradient(135deg, rgba(255,0,102,0.1) 0%, rgba(0,255,255,0.1) 100%) !important;
    border: 3px solid #ffff00 !important;
    border-radius: 10px !important;
    position: relative !important;
    overflow: hidden !important;
}

.transaction .section-title::before {
    content: "🏢" !important;
    font-size: 2rem !important;
    position: absolute !important;
    left: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    animation: company-icon-spin 3s linear infinite !important;
}

.transaction .section-title::after {
    content: "🏢" !important;
    font-size: 2rem !important;
    position: absolute !important;
    right: 2rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    animation: company-icon-spin 3s linear infinite !important;
    animation-direction: reverse !important;
}

@keyframes company-icon-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* カンパニーページのボタングループ */
.transaction .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 4rem auto;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,0,51,0.8) 100%);
    border: 3px solid #00ffff;
    border-radius: 15px;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.transaction .button-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,255,255,0.2), 
        transparent
    );
    animation: button-bg-sweep 3s linear infinite;
}

.transaction .button-group .btn {
    position: relative;
    padding: 1.5rem 3rem !important;
    background: linear-gradient(180deg, #ff0066 0%, #990033 100%) !important;
    color: #fff !important;
    text-decoration: none;
    border: 5px solid #ffff00 !important;
    border-radius: 15px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #990033,
        0 10px 40px rgba(255, 0, 102, 0.6);
    transform: translateY(0);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.transaction .button-group .btn.download {
    background: linear-gradient(180deg, #00ff00 0%, #009900 100%) !important;
    border-color: #00ffff !important;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #009900,
        0 10px 40px rgba(0, 255, 0, 0.6);
}

.transaction .button-group .btn.contact {
    background: linear-gradient(180deg, #00ffff 0%, #0066cc 100%) !important;
    border-color: #ffff00 !important;
    box-shadow: 
        inset 0 -10px 0 rgba(0, 0, 0, 0.4),
        0 10px 0 #0066cc,
        0 10px 40px rgba(0, 255, 255, 0.6);
}

.transaction .button-group .btn:hover {
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.2);
}

.transaction .button-group .btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
    .contact .section-title,
    .transaction .section-title {
        font-size: 1.5rem !important;
        padding: 1rem !important;
    }
    
    .contact .section-title::before,
    .contact .section-title::after,
    .transaction .section-title::before,
    .transaction .section-title::after {
        display: none !important;
    }
    
    .transaction .button-group {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    
    .transaction .button-group .btn {
        padding: 1rem 1.5rem !important;
        font-size: 0.7rem !important;
    }
}

/* ===== カンパニーページ 会社情報テーブル ===== */
.transaction .s-width {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%) !important;
    border: 3px solid #00ffff !important;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 
        0 0 30px rgba(0,255,255,0.5),
        inset 0 0 20px rgba(0,0,0,0.5);
}

.transaction .row {
    display: flex;
    border-bottom: 2px dashed rgba(0,255,255,0.3);
    padding: 1.5rem 0;
    transition: all 0.3s;
}

.transaction .row:last-child {
    border-bottom: none;
}

.transaction .row:hover {
    background: rgba(255,255,0,0.1);
    transform: translateX(5px);
}

.transaction .label {
    color: #ff00ff !important;
    font-family: 'DotGothic16', sans-serif !important;
    font-size: 1rem !important;
    font-weight: bold;
    min-width: 150px;
    text-shadow: 2px 2px 0 #000;
    padding-right: 2rem;
}

.transaction .value {
    color: #00ff00 !important;  /* 緑色 */
    font-size: 1rem !important;
    line-height: 1.6;
    text-shadow: 1px 1px 0 #000;
    flex: 1;
}

.transaction .value * {
    color: #00ff00 !important;  /* 子要素もすべて緑色 */
}

.transaction .value span {
    color: #00ff00 !important;  /* spanも緑色 */
    font-weight: bold;
}

.transaction .value p {
    color: #00ff00 !important;  /* pタグも緑色 */
    margin: 0;
}

/* 画像部分 */
.transaction .transaction-img {
    margin: 3rem 0;
}

.transaction .transaction-img .m-width {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.transaction .transaction-img img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border: 3px solid #ffff00;
    border-radius: 10px;
    box-shadow: 
        0 0 20px rgba(255,255,0,0.5),
        5px 5px 0 #000;
    transition: all 0.3s;
}

.transaction .transaction-img img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 
        0 0 40px rgba(255,255,0,0.8),
        8px 8px 0 #000;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .transaction .row {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .transaction .label {
        margin-bottom: 0.5rem;
        padding-right: 0;
    }
    
    .transaction .transaction-img .m-width {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== ダウンロード（フォーム付き）ページ専用スタイル ===== */
.contact .dl {
    margin-top: 3rem;
}

.contact .dl-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%) !important;
    border: 3px solid #00ffff !important;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 
        0 0 30px rgba(0,255,255,0.5),
        inset 0 0 20px rgba(0,0,0,0.5);
}

/* 左側：資料画像部分 */
.contact .dl-plan {
    flex: 0 0 300px;
    text-align: center;
}

.contact .dl-plan h2 {
    color: #ffff00 !important;
    font-family: 'DotGothic16', sans-serif !important;
    font-size: 1.3rem !important;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0 #000;
}

.contact .dl-plan h2 span {
    background: linear-gradient(45deg, #00ff00, #ffff00) !important;
    color: #000 !important;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    margin-right: 0.5rem;
    font-weight: bold;
    animation: free-badge-pulse 2s ease-in-out infinite;
}

@keyframes free-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.contact .dl-plan img {
    max-width: 100%;
    height: auto;
    border: 3px solid #ffff00;
    border-radius: 10px;
    box-shadow: 
        0 0 20px rgba(255,255,0,0.5),
        5px 5px 0 #000;
    transition: all 0.3s;
}

.contact .dl-plan img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 
        0 0 40px rgba(255,255,0,0.8),
        8px 8px 0 #000;
}

/* 右側：フォーム部分 */
.contact .right-section {
    flex: 1;
}

.contact .right-section form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact .right-section label {
    color: #ffff00 !important;
    font-family: 'DotGothic16', sans-serif !important;
    font-size: 1rem !important;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    display: block;
    margin-bottom: 0.5rem;
}

.contact .right-section label .required {
    background: #ff00ff !important;
    color: #fff !important;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    animation: required-blink 3s ease-in-out infinite;
}

.contact .right-section label .optional {
    background: #666 !important;
    color: #fff !important;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

@keyframes required-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.contact .right-section input[type="text"],
.contact .right-section input[type="email"],
.contact .right-section input[type="url"],
.contact .right-section input[type="tel"],
.contact .right-section select,
.contact .right-section textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid #00ff00 !important;
    color: #00ff00 !important;
    font-family: 'DotGothic16', monospace !important;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

.contact .right-section input::placeholder,
.contact .right-section textarea::placeholder {
    color: rgba(0, 255, 0, 0.5) !important;
}

.contact .right-section input:focus,
.contact .right-section select:focus,
.contact .right-section textarea:focus {
    outline: none;
    border-color: #ffff00 !important;
    box-shadow: 
        0 0 20px rgba(255, 255, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 0, 0.1);
    background: rgba(0, 0, 0, 0.7) !important;
}

.contact .right-section select {
    cursor: pointer;
}

.contact .right-section select option {
    background: #1a0033 !important;
    color: #00ff00 !important;
}

.contact .right-section textarea {
    min-height: 120px;
    resize: vertical;
}

/* 送信ボタン */
.contact .right-section button[type="submit"] {
    padding: 1.2rem 2rem;
    background: linear-gradient(180deg, #ff0066 0%, #990033 100%) !important;
    color: #fff !important;
    border: 4px solid #ffff00 !important;
    border-radius: 10px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 8px 0 #990033,
        0 8px 30px rgba(255, 0, 102, 0.5);
    transform: translateY(0);
    transition: all 0.1s;
    animation: submit-pulse 3s ease-in-out infinite;
}

@keyframes submit-pulse {
    0%, 100% { 
        box-shadow: 
            inset 0 -8px 0 rgba(0, 0, 0, 0.3),
            0 8px 0 #990033,
            0 8px 30px rgba(255, 0, 102, 0.5);
    }
    50% { 
        box-shadow: 
            inset 0 -8px 0 rgba(0, 0, 0, 0.3),
            0 8px 0 #990033,
            0 8px 50px rgba(255, 0, 102, 0.8);
    }
}

.contact .right-section button[type="submit"]:hover {
    transform: translateY(-4px);
    animation: none;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 12px 0 #990033,
        0 12px 40px rgba(255, 0, 102, 0.8);
}

.contact .right-section button[type="submit"]:active {
    transform: translateY(4px);
    box-shadow: 
        inset 0 -4px 0 rgba(0, 0, 0, 0.3),
        0 4px 0 #990033,
        0 4px 20px rgba(255, 0, 102, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .contact .dl-inner {
        flex-direction: column;
        padding: 2rem;
    }
    
    .contact .dl-plan {
        flex: none;
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .contact .dl-inner {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .contact .right-section button[type="submit"] {
        font-size: 0.8rem !important;
        padding: 1rem 1.5rem;
    }
}

/* ===== コンタクトページ フォーム追加スタイル ===== */
.contact .input_area {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%) !important;
    border: 3px solid #00ffff !important;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 
        0 0 30px rgba(0,255,255,0.5),
        inset 0 0 20px rgba(0,0,0,0.5);
}

.contact dl {
    margin: 0;
    padding: 0;
}

.contact dl dt {
    color: #ffff00 !important;
    font-family: 'DotGothic16', sans-serif !important;
    font-size: 1rem !important;
    margin: 1.5rem 0 0.5rem 0;
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

.contact dl dt:first-child {
    margin-top: 0;
}

.contact dl dt span {
    background: #ff00ff !important;
    color: #fff !important;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.contact dl dt span.grey {
    background: #666 !important;
}

.contact dl dd {
    margin: 0 0 1.5rem 0;
}

.contact input[type="text"],
.contact input[type="email"],
.contact input[type="url"],
.contact input[type="tel"],
.contact select,
.contact textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid #00ff00 !important;
    color: #00ff00 !important;
    font-family: 'DotGothic16', monospace !important;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

.contact input.middle {
    max-width: 500px;
}

.contact .select {
    position: relative;
    max-width: 500px;
}

.contact .select.select01 {
    width: 100%;
}

.contact .select select {
    width: 100%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
}

.contact .select::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff00;
    pointer-events: none;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: rgba(0, 255, 0, 0.5) !important;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
    outline: none;
    border-color: #ffff00 !important;
    box-shadow: 
        0 0 20px rgba(255, 255, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 0, 0.1);
    background: rgba(0, 0, 0, 0.7) !important;
}

.contact select option {
    background: #1a0033 !important;
    color: #00ff00 !important;
}

.contact textarea {
    min-height: 120px;
    resize: vertical;
    max-width: 100%;
}

.contact dd p {
    color: #00ffff !important;
    font-size: 0.85rem !important;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.contact dd p a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

.contact dd p a:hover {
    color: #ff00ff !important;
}

/* 送信ボタン */
.contact button[type="submit"] {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
    display: block;
    padding: 1.2rem 2rem;
    background: linear-gradient(180deg, #ff0066 0%, #990033 100%) !important;
    color: #fff !important;
    border: 4px solid #ffff00 !important;
    border-radius: 10px;
    font-family: 'Press Start 2P', 'DotGothic16', cursive !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 8px 0 #990033,
        0 8px 30px rgba(255, 0, 102, 0.5);
    transform: translateY(0);
    transition: all 0.1s;
    animation: submit-pulse 3s ease-in-out infinite;
}

@keyframes submit-pulse {
    0%, 100% { 
        box-shadow: 
            inset 0 -8px 0 rgba(0, 0, 0, 0.3),
            0 8px 0 #990033,
            0 8px 30px rgba(255, 0, 102, 0.5);
    }
    50% { 
        box-shadow: 
            inset 0 -8px 0 rgba(0, 0, 0, 0.3),
            0 8px 0 #990033,
            0 8px 50px rgba(255, 0, 102, 0.8);
    }
}

.contact button[type="submit"]:hover {
    transform: translateY(-4px);
    animation: none;
    box-shadow: 
        inset 0 -8px 0 rgba(0, 0, 0, 0.3),
        0 12px 0 #990033,
        0 12px 40px rgba(255, 0, 102, 0.8);
}

.contact button[type="submit"]:active {
    transform: translateY(4px);
    box-shadow: 
        inset 0 -4px 0 rgba(0, 0, 0, 0.3),
        0 4px 0 #990033,
        0 4px 20px rgba(255, 0, 102, 0.5);
}

/* ローダー */
.contact .loader {
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact .input_area {
        padding: 1.5rem;
    }
    
    .contact input[type="text"],
    .contact input[type="email"],
    .contact input[type="url"],
    .contact input[type="tel"],
    .contact select,
    .contact textarea {
        font-size: 16px; /* iOSのズーム防止 */
    }
    
    .contact button[type="submit"] {
        font-size: 0.7rem !important;
        padding: 1rem 1.5rem;
    }
    
    .contact dd p br.sp-none {
        display: none;
    }
}

@media (max-width: 400px) {
    .contact .input_area {
        padding: 1rem;
    }
    
    .contact dl dt {
        font-size: 0.9rem !important;
    }
    
    .contact dl dt span {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}
/* ===== 既存のコードの最後 ===== */
@media (max-width: 400px) {
    .contact .input_area {
        padding: 1rem;
    }
    
    .contact dl dt {
        font-size: 0.9rem !important;
    }
    
    .contact dl dt span {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

/* ===== ここから新しく追加 ===== */
/* コンタクトフォームのレスポンシブ修正 */

/* 基本的なコンテナの最大幅を制限 */
.contact .container {
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* フォーム要素の幅を確実に制限 */
.contact .input_area {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* 入力フィールドの幅調整 */
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="url"],
.contact input[type="tel"],
.contact select,
.contact textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.8rem !important;
    margin: 0 !important;
}

/* selectボックスの修正 */
.contact .select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.contact .select select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* dl要素の調整 */
.contact dl {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact dl dd {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.5rem 0;
}

/* プレースホルダーテキストの調整 */
.contact input::placeholder,
.contact textarea::placeholder {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* PC画面での最大幅制限 */
@media (min-width: 769px) {
    .contact .container {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .contact input.middle,
    .contact .select.middle {
        max-width: 500px;
    }
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .contact .container {
        padding: 0 2rem;
    }
}

/* スマートフォン対応の強化 */
@media (max-width: 768px) {
    .contact .input_area {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .contact input[type="text"],
    .contact input[type="email"],
    .contact input[type="url"],
    .contact input[type="tel"],
    .contact select,
    .contact textarea {
        font-size: 16px !important; /* iOSズーム防止 */
        padding: 1rem !important;
    }
}

/* 超小画面対応 */
@media (max-width: 400px) {
    .contact .container {
        padding: 0 0.5rem;
    }
    
    .contact .input_area {
        padding: 0.8rem;
    }
    
    .contact dl dt {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
}

/* セレクトボックスの背景色を黒に変更 */

/* 既存のスタイルを上書きして黒背景に */
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="url"],
.contact input[type="tel"],
.contact select,
.contact textarea {
    background: #000000 !important; /* 黒背景 */
    background-color: #000000 !important;
}

/* セレクトボックス専用の追加スタイル */
.contact select {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #00ff00 !important;
    border: 2px solid #00ff00 !important;
}

/* オプション項目の背景も黒に */
.contact select option {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #00ff00 !important;
}

/* フォーカス時も黒を維持 */
.contact select:focus {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: #ffff00 !important;
}

/* より具体的な指定 */
.contact .select select,
.contact .select.select01 select {
    background: #000000 !important;
    background-color: #000000 !important;
}

/* ブラウザ固有のスタイルリセット */
.contact select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none !important;
}