/* ========================================
   基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

.container {
    max-width: 480px;
    width: 100%;
    min-height: 100vh;
    background-image: url('/oshikatsu-character/img/bg-grid.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* ========================================
   画面共通
   ======================================== */
.screen {
    display: none;
    animation: fadeIn 0.4s ease;
    padding-top: 64px;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background-color: #F7C8F6;
    border-bottom: 4px solid #333;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 20px;
    width: 100%;
    height: 64px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    z-index: 1000;
}

.header-logo {
    width: 42px;
}

.logo-placeholder {
    margin-bottom: 24px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder .title-bg {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.logo-placeholder .title-text {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    height: auto;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   ハンバーガーメニューオーバーレイ
   ======================================== */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.menu-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    background: white;
    background-image: url('/oshikatsu-character/img/bg-grid.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
    border: 4px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 0 #333;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: none;
    border: none;
    font-size: 36px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    color: #E8B4E8;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    display: block;
    padding: 16px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    border: 4px solid #333;
    border-radius: 12px;
    box-shadow: 0 4px 0 #333;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
    background: #E8B4E8;
}

/* ========================================
   キャラクター一覧ページ
   ======================================== */
.characters-page {
    padding-top: 64px;
    padding-bottom: 64px;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px 30px;
}

.character-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    background-image: url('/oshikatsu-character/img/compatibility-card-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 4px solid #333;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #333;
}

.character-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 #333;
}

.character-image {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.character-name {
    font-size: 16px;
    font-weight: 900;
    color: #333;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
}

/* ========================================
   診断説明
   ======================================== */
.diagnosis-description {
    padding: 20px 30px;
    text-align: center;
}

.diagnosis-title {
    font-size: 18px;
    font-weight: 900;
    color: #333;
    margin-bottom: 12px;
}

.diagnosis-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* ========================================
   ステッカー風タイトルセクション
   ======================================== */
.sticker-section {
    padding: 20px 12px;
    margin: 0 auto 24px;
    text-align: center;
    width: 100%;
}

.sticker-section h2 {
    font-size: 20px;
    font-weight: 900;
    color: #333;
    margin-bottom: 12px;
    -webkit-text-stroke: 8px white;
    paint-order: stroke fill;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sticker-section h2::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-right: 4px;
    background-image: url('/oshikatsu-character/img/heart-pink.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.sticker-section p {
    text-align: left;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.8;
    color: #333;
    letter-spacing: 4px;
    margin: 0;
}

.sticker-section.text-center p {
    text-align: center;
}

/* ========================================
   進捗バー
   ======================================== */
.progress-container {
    padding: 0 20px 20px;
}

.progress-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    text-align: center;
}

.progress-bar-bg {
    width: 100%;
    height: 24px;
    background: #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    border: 4px solid #333;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: #E8B4E8;
    border-radius: 30px;
    transition: width 0.3s ease;
    width: 0%;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.2) 10px,
            rgba(255, 255, 255, 0.2) 20px);
    border-radius: 30px;
}

/* ========================================
   コンテンツエリア
   ======================================== */
.content {
    padding: 20px 30px 30px;
}

.intro-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* ========================================
   質問エリア
   ======================================== */
.question {
    margin-bottom: 40px;
}

.question-number {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.question-text {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.options {
    margin-bottom: 20px;
}

.option-label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 1.6;
    border: 3px solid #333;
}

.option-a {
    background: #F7C8F6;
}

.option-b {
    background: #C8E0F6;
}

/* ========================================
   スライダー
   ======================================== */
.slider-container {
    margin: 30px 0;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
}

.label-a {
    color: #f093fb;
}

.label-b {
    color: #4facfe;
}

.slider {
    width: 100%;
    height: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, #F7C8F6 0%, #D8D8D8 50%, #C8E0F6 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 15px;
    border: 3px solid #333;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    background-image: url('/oshikatsu-character/img/handle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.slider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    background-image: url('/oshikatsu-character/img/handle.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.slider-value-label {
    text-align: center;
    font-size: 13px;
    color: #666;
    font-weight: bold;
}

/* ========================================
   ナビゲーションボタン
   ======================================== */
.navigation {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 16px;
    border: 4px solid #333;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #333;
}

.btn-back {
    background: #F0F0F0;
    color: #333;
}

.btn-back:hover:not(:disabled) {
    background: #E5E5E5;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
}

.btn-next {
    background: #E8B4E8;
    color: #333;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-back:disabled {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   ローディング画面
   ======================================== */
.loading-content {
    text-align: center;
    padding: 80px 30px;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    border: 5px solid rgba(240, 147, 251, 0.3);
    border-top: 5px solid #f093fb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 16px;
    color: #666;
    font-weight: bold;
}

/* ========================================
   結果画面（旧スタイル - index.htmlで使用）
   ======================================== */
.result-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.result-type-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.result-type-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.result-content {
    padding: 8px;
}

/* ========================================
   結果画面（新スタイル - 個別結果ページ用）
   ======================================== */
.result-header-new {
    position: relative;
    width: 100%;
}

.result-header-new .result-bg {
    width: 100%;
    margin-top: 0px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.result-character-name {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 900;
    color: #333;
    -webkit-text-stroke: 10px white;
    paint-order: stroke fill;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    letter-spacing: 2px;
    margin: 0;
}

.result-character-image {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.result-character-image img {
    width: 150px;
    object-fit: contain;
}

.result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 20px;
    bottom: 100px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
}

.result-tags .tag {
    display: inline-block;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* キャラクター統合画像 */
.result-character-main {
    width: 100%;
    margin: 0;
    position: absolute;
    top: 0;
}

.character-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* コルクボード風カード */
.compatibility-board {
    position: relative;
    background: #F5E6D3;
    background-image: url('/oshikatsu-character/img/compatibility-card-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 4px solid #333;
    border-radius: 16px;
    padding: 40px 20px 20px;
    margin: 0 0px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, #E74C3C 0%, #C0392B 70%);
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
}

.board-content {
    position: relative;
}

.board-title {
    font-size: 20px;
    font-weight: 900;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    -webkit-text-stroke: 8px white;
    paint-order: stroke fill;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    letter-spacing: 1px;
}

/* 相性カード */
.compatibility-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto 16px;
    width: 100%;
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #333;
}

.compatibility-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
}

.compatibility-icon {
    width: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.compatibility-name {
    font-size: 18px;
    font-weight: 900;
    color: #333;
    margin: 0;
}

.compatibility-description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.result-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

.result-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}

.result-description {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.result-description p {
    margin-bottom: 15px;
}

.result-compatibility {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.result-compatibility h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.compatibility-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.compatibility-icon {
    font-size: 18px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.share-row {
    margin-top: 8px;
    display: flex;
    gap: 0px;
    justify-content: center;
}

.share-row .btn-share {
    flex: 1;
    max-width: 28%;
}

.btn-share {
    width: 80%;
    margin: 0 auto;
    padding: 14px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    transition: all 0.3s ease;
    border: 4px solid #333;
    cursor: pointer;
    box-shadow: 0 4px 0 #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.btn-share:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
}

.btn-share-x {
    background: #000000;
}

.btn-share-instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.btn-share-other {
    background: #808080;
    color: #fff;
}

/* ========================================
   ダイアログ（推し情報入力）
   ======================================== */
.dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dialog-overlay.active {
    display: flex;
}

.dialog-content {
    background: white;
    background-image: url('/oshikatsu-character/img/bg-grid.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
    border-radius: 20px;
    border: 4px solid #333;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 0 #333;
    animation: dialogFadeIn 0.3s ease;
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dialog-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.dialog-title::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('/oshikatsu-character/img/heart-pink.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.dialog-description {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: left;
}

.dialog-description small {
    font-size: 12px;
    color: #999;
}

.dialog-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 3px solid #333;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 0 #333;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E8B4E8;
    transform: translateY(1px);
    box-shadow: 0 1px 0 #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.dialog-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-dialog {
    flex: 1;
    padding: 14px;
    border: 4px solid #333;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #333;
}

.btn-skip {
    background: #F0F0F0;
    color: #333;
}

.btn-skip:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
}

.btn-submit {
    background: #E8B4E8;
    color: #333;
}

.btn-submit:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #333;
}

.under-going {
    width: 80%;
    margin: 24px auto 0;
    mix-blend-mode: multiply;
}


/* ========================================
   qunアプリ紹介セクション
   ======================================== */
.qun-promo {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #2c2c2c 0%, #000000 100%);
    border-radius: 16px;
    text-align: center;
}

.qun-promo-title {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    font-weight: 900;
    color: #333;
    margin-bottom: 12px;
    -webkit-text-stroke: 8px white;
    paint-order: stroke fill;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    letter-spacing: 1px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qun-promo-title::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-right: 4px;
    background-image: url('/oshikatsu-character/img/heart-pink.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.qun-logo {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.qun-logo-img {
    width: 30%;
    margin: 24px auto;
}

.qun-description {
    font-size: 14px;
    line-height: 1.8;
    color: white;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.qun-install-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-install img {
    width: 60%;
}

.btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.qun-promo-images {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.qun-promo-img {
    width: 48%;
    height: auto;
    border-radius: 8px;
}

.install-icon {
    font-size: 28px;
}

.install-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.install-text small {
    font-size: 11px;
    color: #999;
}

.install-text strong {
    font-size: 15px;
    color: #333;
}

/* ========================================
   固定qunボタン
   ======================================== */
.qun-float-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: rgba(51, 51, 51, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-family: 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', Meiryo, sans-serif;
}

.qun-float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.qun-float-logo {
    width: 40px;
    height: auto;
}

.qun-float-text {
    font-size: 11px;
    font-weight: 900;
    color: white;
    letter-spacing: 0.5px;
}