@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* SWELLのヘッダーバーを完全に非表示 */
.l-header__bar {
    display: none !important;
}


.nowrap {
    white-space: nowrap;
}



/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 50%);
    padding: 100px 20px 20px 20px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-sizing: border-box;
    z-index: 9990;
}

@media screen and (max-width: 960px) {


    .modal-container-img {
        padding: 100px 10px 10px 10px;
    }
}

/*モーダル本体の擬似要素の指定*/
.modal-container-img:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container-img.active {
    opacity: 1;
    visibility: visible;
}

/*モーダル枠の指定*/
.modal-body {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    /*max-width: 500px;*/
    width: 90%;
}

/*モーダルを閉じるボタンの指定*/
.modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 40px;
    right: -40px;
    width: 40px;
    height: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/*モーダル内のコンテンツの指定*/
.modal-content-img {
    background: #fff;
    text-align: left;
    padding: 10px;
}


/* ボタンの基本スタイル（白背景対策版） */
.prev_btn,
.next_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    /* 背景を「半透明の黒」に変更 */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    /* 強力な影をつけて、白い画像の上でも浮き立たせる */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(4px);
}

/* ホバー時の演出（さらにクッキリさせる） */
.prev_btn:hover,
.next_btn:hover {
    background: rgba(0, 0, 0, 0.8);
    /* ホバーでほぼ黒に */
    transform: translateY(-50%) scale(1.1);
    border-color: #fff;
}

/* 矢印自体に影をつける（FontAwesomeなどを使っている場合） */
.prev_btn i,
.next_btn i {
    text-shadow: 0 0 3px #000;
}

/* 位置の微調整 */
.prev_btn {
    left: 20px;
}

.next_btn {
    right: 20px;
}

/* スマホでは少し小さく、端に寄せる */
@media screen and (max-width: 768px) {

    .prev_btn,
    .next_btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev_btn {
        left: 10px;
    }

    .next_btn {
        right: 10px;
    }
}


/* カード全体（ダーク系の背景・ゴールド調の繊細な枠線） */
.memo-box {
    position: relative;
    display: block;
    background: linear-gradient(180deg, #1f212e 0%, #161722 100%);
    /* 深みのあるダークグラデーション */
    margin-bottom: 5px;
    border: 1px solid #4a4d6b;
    /* 薄い外枠 */
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(212, 175, 55, 0.15);
    /* ほのかな金色のインナーシャドウ */
    overflow: hidden;
    color: #c9cbdb;
    outline: 1px solid #c5a059;
    /* 内側のゴールドライン */
    padding: 5px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.7),
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        inset 0 0 4px rgba(197, 160, 89, 0.3);
    /* ゴールドの内光 */
}

/* 左側のタイトル部分 */
.bx_head {
    color: #c9cbdb;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* 右側の名前部分 */
.bx_name {
    color: #c5a059;
    /* 上品なゴールド色 */
    font-size: 11px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    border-bottom: #c5a059 1px solid;
}

.user_id {
    font-size: x-small;
    color: #c9cbdb;
    margin-left: 5px;
    opacity: 0.7;
}

.user_id_hitokoto {
    font-size: x-small;
    color: grey;
    margin-left: 5px;
    opacity: 0.7;
}

.bx_memo {
    white-space: pre-wrap;
    padding: 5px;
    font-size: small;
}

.bx_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 4px;
}

.tag-item {
    font-size: small;
    background: #2a2a2a;
    color: #c9cbdb;
    padding: 1px 6px;
    border-radius: 3px;
    cursor: pointer;
}

.bx_img_list {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    /* 改行を許可 */
    width: 100%;
    /* 120px * 2枚分に制限する */
    margin: 0 auto;
}

#wrap_imgpop {
    position: relative;
    text-align: center;
    max-width: 90vw;
}



#str_count {
    color: grey;
    font-size: small;
}

.limit-over {
    color: red;
}

.bx_mm_link {
    color: grey;
    padding: 5px;
    font-size: small;
    text-align: center;
}

.bx_date {
    color: grey;
    padding: 5px;
    font-size: small;
    text-align: left;
}

.btn_like {
    color: red;
    font-size: small;
    position: absolute;
    right: 0;
    cursor: pointer;
    margin-right: 5px;
}

.bx_footer {
    padding: 5px;
    font-size: small;
    /*text-align: left;*/
    display: flex;
    justify-content: space-between;
}

.link_comment {
    margin-left: auto;
}

/* コメントテキスト全般 */
.bx_comment {
    font-size: 12px;
    color: #d1d3e0;
    /* 可読性の高い薄いグレー */
    line-height: 1.5;
    /* white-space: pre-wrap; */
}

/* 投稿者名・右寄せ部分 */
.comment_name {
    text-align: right;
    font-size: 11px;
    color: #c5a059;
    /* FF14風ゴールド */
    margin-top: 4px;
    font-weight: bold;
}

/* FF14風ダーク吹き出し本体（青ベース） */
.fukidashi {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 18px 14px 18px;
    margin-top: 14px;
    color: #e3e8ee;
    font-family: "Cinzel", "Times New Roman", "メイリオ", serif;

    /* 深みのあるナイトブルー ＋ 中央上部からのサファイア光沢グラデーション */
    background:
        radial-gradient(ellipse at top, rgba(0, 119, 212, 0.45) 0%, rgba(6, 18, 38, 0.95) 80%),
        linear-gradient(180deg, #0f2540 0%, #050d1a 100%) !important;

    /* ゴールド枠線（青地でより映えるように調整） */
    border: 1px solid #7c6130;
    border-top: 1px solid #d4af37;
    border-radius: 2px;

    /* 青の発光感（マテリア・クリスタルイメージ）を強調したシャドウ */
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(197, 160, 89, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 16px rgba(0, 183, 255, 0.25);
    /* 鮮やかな青い内面発光 */

    isolation: isolate;

    /* 四隅のFF風ゴールド装飾アクセント */
    &::before,
    &::after {
        content: "";
        position: absolute;
        width: 6px;
        height: 6px;
        border: 1px solid #d4af37;
        pointer-events: none;
        z-index: 2;
    }

    /* 左上 */
    &::before {
        top: 3px;
        left: 3px;
        border-right: none;
        border-bottom: none;
    }

    /* 右下 */
    &::after {
        bottom: 3px;
        right: 3px;
        border-left: none;
        border-top: none;
    }

    /* -----------------------------------
     吹き出しの矢印（上部中央）
  ----------------------------------- */

    /* 矢印（外枠・ゴールド） */
    & .arrow-border {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        z-index: 1;
        width: 10px;
        height: 10px;
        box-sizing: border-box;
        background-color: #101622 !important;
        border-top: 1px solid #d4af37;
        border-left: 1px solid #d4af37;
        transform: translateX(-50%) rotate(45deg);
    }

    /* 矢印（内側塗りつぶし） */
    & .arrow-bg {
        content: "";
        position: absolute;
        top: -4px;
        left: 50%;
        z-index: 2;
        width: 10px;
        height: 10px;
        box-sizing: border-box;
        background: #101622 !important;
        transform: translateX(-50%) rotate(45deg);
    }
}








/* FF風タグボタン */
.tag-append-btn {
    background: linear-gradient(180deg, #1f293d 0%, #111827 100%) !important;
    border: 1px solid #4a5568 !important;
    border-radius: 3px !important;
    color: #d1d5db !important;
    font-size: 13px !important;
    padding: 5px 10px !important;
    cursor: pointer !important;
    outline: none !important;
    transition: all 0.2s ease-in-out !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* ホバー時（マウスを乗せた時）：青く光るエフェクト */
.tag-append-btn:hover {
    background: linear-gradient(180deg, #2b3952 0%, #1a2333 100%);
    border-color: #00b4d8;
    color: #ffffff;
    box-shadow:
        0 0 8px rgba(0, 180, 216, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* クリック時（押した瞬間） */
.tag-append-btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}


.badge-new {
    position: absolute;
    top: 0;
    right: 0;

    /* 深みのあるルビーレッドの縦グラデーション */
    background: linear-gradient(180deg, #b91c1c 0%, #7f1d1d 100%);

    /* ゴールド枠線（左と下のみで右上に綺麗に馴染ませる） */
    border-left: 1px solid #c5a059;
    border-bottom: 1px solid #c5a059;

    /* 薄い金色のテキストカラー */
    color: #f3e5ab;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-bottom-left-radius: 4px;
    z-index: 10;

    /* FF風のテキストシャドウと立体感のあるシャドウ */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    box-shadow:
        -2px 2px 6px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);

    font-family: "Cinzel", "Times New Roman", "Yu Mincho", "游明朝", serif;
}

.p-breadcrumb {
    background: rgba(13, 18, 29, 0.8) !important;
    border: 1px solid #4a5a73;
    padding: 8px 14px;
    border-radius: 3px;
}

/* リンク色（青白いシルバー） */
.p-breadcrumb a {
    color: #c9cbdb !important;
}

/* ホバー時（ゴールド） */
.p-breadcrumb a:hover {
    color: #c5a059 !important;
}

/* 現在地（薄いゴールド） */
.p-breadcrumb__item:last-child {
    color: #f3e5ab !important;
}




/* タグクラウド全体のラッパー */
.tag-cloud-wrapper {
    margin-top: 5px;
}

/* 開閉ボタン */
#btn_toggle_cloud,
#btn_toggle_subpanel {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: small;
    cursor: pointer;
    margin-bottom: 5px;
    transition: background 0.3s;
}

#btn_toggle_cloud:hover,
#btn_toggle_subpanel:hover {
    background: #444;
}

/* タグクラウド本体のコンテナ */
#tag-cloud-container {
    display: none;
    /* JSで制御 */
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    background: #1a1a1a;
    padding: 4px;
}

/* 各タグのアイテム（外枠） */
.tag-cloud-item {
    display: inline-block;
    margin: 4px;
}

/* タグボタンの基本スタイル */
.tag-search-btn.cloud-btn {
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-weight: bold;
    padding: 2px 2px;
}

/* ホバー時のちょっとした演出 */
.tag-search-btn.cloud-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* 件数表示の微調整 */
.tag-cloud-count {
    font-size: small;
    color: white;
    font-weight: normal;
}



















/* ==========================================================================
   FF Style Theme: General Container & Main Window
   ========================================================================== */
.ff-container {
    padding: 10px;
    box-sizing: border-box;
}

/* FF伝統の濃紺グラデーション & ゴールド2重フレーム */
.ff-main-window {
    background: linear-gradient(180deg, rgba(20, 32, 68, 0.95) 0%, rgba(8, 16, 36, 0.95) 60%, rgba(2, 6, 16, 0.98) 100%);
    border: 2px solid #e0c068;
    outline: 1px solid #483010;
    border-radius: 4px;
    padding: 20px;
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.25),
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.8);
    font-family: 'Times New Roman', 'Georgia', serif;
    color: #f0f0f0;
}

/* ==========================================================================
   Search Form Section (Command Menu)
   ========================================================================== */
.ff-form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(224, 192, 104, 0.3);
}

.ff-field {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ff-label {
    font-weight: bold;
    color: #e0c068;
    text-shadow: 1px 1px 2px #000, 0 0 5px rgba(220, 180, 80, 0.4);
    letter-spacing: 0.5px;
    font-size: 14px;
}

/* Select & Input Control */
.ff-select,
.ff-input {
    background: linear-gradient(180deg, #0a1224 0%, #020610 100%);
    border: 1px solid #88a8d8;
    border-radius: 3px;
    color: #ffffff;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 14px;
    text-shadow: 1px 1px 2px #000;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
    outline: none;
    transition: all 0.2s ease;
}

.ff-select:focus,
.ff-input:focus {
    border-color: #ffd700;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(255, 215, 0, 0.5);
}

.ff-select-wrapper {
    position: relative;
    display: inline-block;
}

.ff-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    cursor: pointer;
}

.ff-select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: #a0c0ff;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.ff-input::placeholder {
    color: #6078a0;
    font-style: italic;
}

/* メモ検索ボタン */
.ff-btn-confirmed {
    position: relative;
    background: linear-gradient(180deg, #2a4888 0%, #102048 50%, #081028 100%) !important;
    border: 1px solid #e0c068 !important;
    outline: 1px solid #201000;
    border-radius: 3px;
    color: #fff8d0 !important;
    padding: 6px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px #000, 0 0 4px rgba(255, 215, 0, 0.6);
    cursor: pointer;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ff-btn-confirmed:hover {
    background: linear-gradient(180deg, #3a60b0 0%, #183068 50%, #0c1838 100%) !important;
    border-color: #ffffff !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.6), 0 0 12px rgba(160, 192, 255, 0.8);
    transform: scale(1.03);
}

.ff-btn-confirmed:active {
    transform: scale(0.98);
}

/* ==========================================================================
   Tag Cloud Section (Inventory / Ability List)
   ========================================================================== */
.ff-cloud-wrapper {
    margin-top: 10px;
}

/* トグルボタン */
.ff-btn-toggle {
    background: rgba(10, 20, 45, 0.8);
    border: 1px solid #88a8d8;
    color: #e0c068;
    padding: 6px 14px;
    font-family: inherit;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ff-btn-toggle:hover {
    border-color: #ffd700;
    color: #fff;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* タグ配置グリッド */
.ff-cloud-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(136, 168, 216, 0.2);
}

/* タグボタンの標準スタイル */
.ff-window-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-family: inherit;
    font-size: 13px;
    background: linear-gradient(180deg, #182858 0%, #081028 50%, #000410 100%);
    border: 1px solid #7080a0;
    border-radius: 3px;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px #000;
    cursor: pointer;
    transition: all 0.15s ease-out;
    overflow: hidden;
}

.ff-window-btn:hover {
    border-color: #fff8d0;
    color: #ffffff;
    box-shadow: inset 0 0 8px rgba(255, 240, 180, 0.4), 0 0 10px rgba(160, 192, 255, 0.5);
    padding-left: 20px;
    /* 指が入るスキマ */
}

/* ランク別スペシャルスタイル (1位：金 / 2位：銀 / 3位：銅) */
.ff-rank-gold {
    background: linear-gradient(180deg, #5e4a00 0%, #2b2200 100%) !important;
    border-color: #ffd700 !important;
    color: #fff8d0 !important;
    box-shadow: inset 0 0 6px rgba(255, 215, 0, 0.4);
}

.ff-rank-silver {
    background: linear-gradient(180deg, #3a424a 0%, #1a2028 100%) !important;
    border-color: #d0d0d0 !important;
    color: #ffffff !important;
}

.ff-rank-bronze {
    background: linear-gradient(180deg, #4a2d18 0%, #241408 100%) !important;
    border-color: #cd7f32 !important;
    color: #f5d0b0 !important;
}

/* アイコンとテキストパーツ */
.ff-crown-icon {
    color: #ffd700;
    filter: drop-shadow(0 0 3px #ff9900);
}

.ff-hash {
    color: #a0c0ff;
    font-style: italic;
}

.ff-count {
    font-size: 0.85em;
    color: #88a8d8;
    font-family: monospace;
}

/* セレクトボックス内の選択肢 (option) の文字と背景を見えるように指定 */
.ff-select option {
    background-color: #081028 !important;
    /* ドロップダウンメニューの背景を暗い紺色に */
    color: #ffffff !important;
    /* 文字色を白に固定 */
    padding: 6px;
}

/* （参考）選択中の項目のホバー・アクティブ時の背景 */
.ff-select option:hover,
.ff-select option:focus,
.ff-select option:active,
.ff-select option:checked {
    background-color: #182858 !important;
    color: #ffd700 !important;
    /* 選択中はゴールド文字クポ！ */
}




/* FF風ボタン基本スタイル */
.ff-btn {
    display: inline-block;
    padding: 3px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 50%, #ffffff 100%);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7), inset 0 0 2px rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

/* 内側の青色グラデーションウィンドウ */
.ff-btn-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(180deg, #0a1b3a 0%, #020813 100%);
    border: 2px solid #5a7aa8;
    border-radius: 4px;
    box-shadow: inset 0 0 8px rgba(0, 100, 255, 0.3);
}

/* テキストとアイコンの共通装飾（文字色・影など） */
.ff-btn-text,
.ff-icon {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 3px #000000, -1px -1px 0 #000;
    letter-spacing: 0.08em;
}

/* テキストだけにフォントファミリーを適用 */
.ff-btn-text {
    font-family: "Georgia", "Times New Roman", "游明朝", serif;
}

/* アイコン専用のスタイル */
.ff-icon {
    color: #7ce8ff; /* カーソルやアクティブ要素をイメージした青緑色 */
    filter: drop-shadow(0 0 4px rgba(124, 232, 255, 0.6));
}


/* ホバー時の挙動（カーソル選択感） */
.ff-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 150, 255, 0.4);
}

.ff-btn:hover .ff-btn-inner {
    border-color: #ffffff;
    background: linear-gradient(180deg, #102a5c 0%, #051226 100%);
}

.ff-btn:hover .ff-icon {
    color: #ffffff;
    transform: scale(1.1);
}