/* _content/kasu_uso/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-v34swg9x5g] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-v34swg9x5g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/kasu_uso/Components/Pages/Home.razor.rz.scp.css */
/* 既存のスタイルはそのまま */

div[b-lso5uxtzf4] {
    display: flex;
    justify-content: left;
    align-items: center;
}

/* サービスアイコン群を左上に配置 */
.service-icons[b-lso5uxtzf4] {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ハンバーガーメニューボタン（デスクトップでは非表示） */
.hamburger-button[b-lso5uxtzf4] {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger-button:hover[b-lso5uxtzf4] {
    transform: scale(1.1);
}

.hamburger-line[b-lso5uxtzf4] {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* メニュー項目のコンテナ */
.menu-items[b-lso5uxtzf4] {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.serviceico[b-lso5uxtzf4] {
    width: 32px;
    padding: 16px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.serviceico:hover[b-lso5uxtzf4] {
    transform: scale(1.2);
}

.clipboard-button[b-lso5uxtzf4] {
    outline: none !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.clipboard-button:focus[b-lso5uxtzf4] {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.clipboard-button:active[b-lso5uxtzf4] {
    outline: none !important;
    border: none !important;
}

/* 共通ユーティリティ */
.center-absolute[b-lso5uxtzf4] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.flex-center[b-lso5uxtzf4] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* GitHubリンク */
.github-link[b-lso5uxtzf4] {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 1000;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 16px;
    background: #010409;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.github-link:hover[b-lso5uxtzf4] {
    transform: scale(1.05);
}

/* メインコンテナ */
.container[b-lso5uxtzf4] {
    position: relative;
    height: 89vh;
}

/* レスポンス表示 */
.response-container[b-lso5uxtzf4] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: auto;
    padding: 20px;
    max-width: 80%;
}

/* 入力エリア */
.input-container[b-lso5uxtzf4] {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    width: auto;
}

/* iOS Safari対応 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .input-container[b-lso5uxtzf4] {
        padding-bottom: env(safe-area-inset-bottom);
    }
    .season-selector[b-lso5uxtzf4] {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* メッセージ入力 */
.message-input[b-lso5uxtzf4] {
    width: 60vh;
    min-width: 80%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.message-input:focus[b-lso5uxtzf4] {
    outline: none;
    border-color: #007bff;
}

/* 送信ボタン */
.send-button[b-lso5uxtzf4] {
    margin-left: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.send-button:hover[b-lso5uxtzf4] {
    background-color: rgba(0, 123, 255, 0.1);
}

/* ローディングアニメーション */
.spinner[b-lso5uxtzf4] {
    animation: spin-b-lso5uxtzf4 1s linear infinite;
}

@keyframes spin-b-lso5uxtzf4 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 季節セレクタ */
.season-selector[b-lso5uxtzf4] {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.season-label[b-lso5uxtzf4] {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.month-select[b-lso5uxtzf4] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
    min-width: 80px;
}

.month-select:focus[b-lso5uxtzf4] {
    outline: none;
    border-color: #007bff;
}

/* チェックマークアニメーション */
.checkmark-animation[b-lso5uxtzf4] {
    animation: checkmark-bounce-b-lso5uxtzf4 0.3s ease-out;
    color: #4CAF50;
}

@keyframes checkmark-bounce-b-lso5uxtzf4 {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* モバイル用ハンバーガーメニュー */
    .hamburger-button[b-lso5uxtzf4] {
        display: flex;
    }
    
    .menu-items[b-lso5uxtzf4] {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        gap: 20px;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .menu-items.menu-open[b-lso5uxtzf4] {
        left: 0;
    }
    
    .menu-items .serviceico[b-lso5uxtzf4] {
        width: 48px;
        padding: 12px;
        margin: 8px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .service-icons[b-lso5uxtzf4] {
        top: 8px;
        left: 8px;
        gap: 4px;
    }
    
    .response-container[b-lso5uxtzf4] {
        width: 90%;
        max-width: 90%;
        padding: 16px;
    }
    
    .github-link[b-lso5uxtzf4] {
        top: 8px;
        right: 8px;
        font-size: 14px;
        padding: 6px;
    }
}

@media (max-width: 540px) {
    .input-container[b-lso5uxtzf4] {
        width: 100%;
        justify-content: center;
        padding: 0 16px;
    }
    
    .message-input[b-lso5uxtzf4] {
        width: 100%;
        min-width: auto;
    }
    
    /* さらに小さいスクリーンでの調整 */
    .hamburger-button[b-lso5uxtzf4] {
        width: 28px;
        height: 20px;
    }
    
    .menu-items[b-lso5uxtzf4] {
        width: 200px;
        padding-top: 60px;
        gap: 16px;
    }
    
    .menu-items .serviceico[b-lso5uxtzf4] {
        width: 40px;
        padding: 10px;
    }
    
    /* 季節セレクタは横並びを維持 */
    .season-selector[b-lso5uxtzf4] {
        bottom: 16px;
        padding: 0 16px;
        gap: 8px;
        justify-content: center;
    }
    
    .season-label[b-lso5uxtzf4] {
        font-size: 12px;
    }
    
    .month-select[b-lso5uxtzf4] {
        font-size: 12px;
        padding: 6px;
        min-width: 60px;
    }
}

/* さらに小さいスクリーン用（320px以下） */
@media (max-width: 320px) {
    .season-selector[b-lso5uxtzf4] {
        gap: 4px;
        padding: 0 8px;
    }
    
    .season-label[b-lso5uxtzf4] {
        font-size: 11px;
    }
    
    .month-select[b-lso5uxtzf4] {
        font-size: 11px;
        padding: 4px;
        min-width: 50px;
    }
}

/* デスクトップ表示の確保 */
@media (min-width: 769px) {
    .hamburger-button[b-lso5uxtzf4] {
        display: none !important;
    }
    
    .menu-items[b-lso5uxtzf4] {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        padding-top: 0;
        box-shadow: none;
        left: auto;
        z-index: auto;
    }
    
    .menu-items .serviceico[b-lso5uxtzf4] {
        background: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }
}

/* メニューオーバーレイ（モバイル用） */
@media (max-width: 768px) {
    .menu-items.menu-open[b-lso5uxtzf4]::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }
}
