/**
 * 特集エディター / お知らせエディター スタイル
 */

/* ==================== 外注ナビゲーション ==================== */
.editor-nav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
}

.editor-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.editor-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.editor-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.editor-nav-label svg {
    opacity: 0.8;
}

.editor-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.editor-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
}

.editor-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.editor-nav-link.is-active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.editor-nav-link svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .editor-nav-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    .editor-nav-label {
        display: none;
    }
    
    .editor-nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .editor-nav-link {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .editor-nav-link span {
        display: none;
    }
    
    .editor-nav-link svg {
        width: 20px;
        height: 20px;
    }
}

/* ==================== ベース ==================== */
.feature-editor-page,
.news-editor-page {
    padding: 40px 0 80px;
    background: #f8f8f8;
    min-height: 60vh;
}

.feature-editor-page .container,
.news-editor-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== ログイン画面 ==================== */
.feature-editor-login,
.news-editor-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.editor-login-box {
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.editor-login-header {
    margin-bottom: 32px;
}

.editor-login-header svg {
    color: #333;
    margin-bottom: 16px;
}

.editor-login-header h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.editor-login-header p {
    color: #666;
    font-size: 0.875rem;
}

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

.editor-login-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.editor-error {
    background: #fee;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

/* ==================== ヘッダー ==================== */
.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.editor-header-left,
.editor-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.editor-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.editor-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ==================== アラート ==================== */
.editor-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.editor-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* ==================== 一覧 ==================== */
.editor-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.editor-list-header {
    display: grid;
    grid-template-columns: 60px 1fr 120px 100px 120px 100px;
    gap: 16px;
    padding: 16px 20px;
    background: #f5f5f5;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editor-list-item {
    display: grid;
    grid-template-columns: 60px 1fr 120px 100px 120px 100px;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.editor-list-item:last-child {
    border-bottom: none;
}

.editor-list-item:hover {
    background: #fafafa;
}

.col-thumb img,
.col-thumb .no-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.col-thumb .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
}

/* お知らせ一覧用グリッド（カラム数が少ない） */
.news-editor-page .editor-list-header,
.news-editor-page .editor-list-item {
    grid-template-columns: 1fr 100px 120px 100px;
}

.col-title .item-title {
    font-weight: 500;
    color: #333;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-title .item-title:hover {
    color: #000;
    text-decoration: underline;
}

.col-category {
    font-size: 0.875rem;
    color: #666;
}

.col-date {
    font-size: 0.875rem;
    color: #888;
}

.col-actions {
    display: flex;
    gap: 8px;
}

/* ステータスバッジ */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-publish {
    background: #e3f2fd;
    color: #1976d2;
}

.status-draft {
    background: #fff3e0;
    color: #f57c00;
}

.status-pending {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* 空の状態 */
.editor-empty {
    padding: 80px 40px;
    text-align: center;
    color: #666;
}

.editor-empty svg {
    color: #ccc;
    margin-bottom: 16px;
}

.editor-empty p {
    margin-bottom: 24px;
    font-size: 1rem;
}

/* ==================== 編集フォーム ==================== */
.editor-form {
    /* Form wrapper */
}

.editor-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.editor-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.editor-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.editor-sidebar .section-title {
    font-size: 0.875rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
}

/* フォーム要素 */
.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-label .required {
    color: #e53935;
}

.editor-form input[type="text"],
.editor-form input[type="password"],
.editor-form textarea,
.editor-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.editor-form input:focus,
.editor-form textarea:focus,
.editor-form select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* サムネイルアップロード */
.thumbnail-upload {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.thumbnail-preview {
    width: 200px;
    height: 150px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-preview:hover {
    border-color: #999;
}

.thumbnail-preview.has-image {
    border-style: solid;
    border-color: #ddd;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-preview .remove-thumbnail {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 0.875rem;
}

.upload-placeholder svg {
    color: #ccc;
}

.form-hint {
    margin: 0 0 8px;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* タグチェックボックス */
.tag-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.tag-checkbox input {
    width: 16px;
    height: 16px;
}

.tag-checkbox span {
    font-size: 0.875rem;
}

/* ==================== ブロックエディター ==================== */
.block-editor {
    /* Wrapper */
}

.blocks-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    min-height: 100px;
}

/* ブロックアイテム */
.block-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.block-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.block-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.block-type-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block-format-buttons {
    display: flex;
    gap: 4px;
    margin-left: auto;
    margin-right: 16px;
}

.format-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.format-btn:hover {
    background: #f0f0f0;
}

.block-actions {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.block-action {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.block-action:hover {
    background: #e0e0e0;
    color: #333;
}

.block-action.block-delete:hover {
    background: #ffebee;
    color: #c62828;
}

.block-content {
    padding: 16px;
}

/* 見出しブロック */
.heading-controls {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.heading-level {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    padding: 12px 14px;
    font-weight: 600;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.heading-input {
    flex: 1 1 auto !important;
    min-width: 0;
    width: calc(100% - 92px) !important;
    font-weight: 600;
    padding: 12px 14px;
    font-size: 1rem;
}

/* 見出し: インラインセレクト用 */
.block-select-inline {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    padding: 8px 10px;
    font-weight: 600;
    flex-shrink: 0 !important;
}

.block-input-inline {
    flex: 1 1 auto !important;
    min-width: 0;
    font-weight: 600;
    padding: 8px 12px;
}

.block-content > input + select,
.block-content > select + input {
    display: inline-flex;
}

/* ブロックコンテンツのフレックス対応 */
[data-type="heading"] .block-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* テキストブロック */
.text-input {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.input-hint {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #999;
}

/* 画像ブロック */
.image-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    margin-bottom: 12px;
}

.image-upload-area:hover {
    border-color: #999;
    background: #fafafa;
}

.image-upload-area.has-image {
    padding: 0;
    border-style: solid;
}

.image-upload-area .image-preview {
    max-width: 100%;
    max-height: 300px;
    display: block;
    margin: 0 auto;
}

.image-upload-area .remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.caption-input {
    font-size: 0.9rem;
    color: #666;
}

/* ギャラリーブロック */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.gallery-image-item {
    position: relative;
    aspect-ratio: 1;
}

.gallery-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.gallery-image-item .remove-gallery-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

/* 店舗ブロック */
.shop-select-area .btn {
    width: 100%;
    justify-content: center;
    padding: 20px;
}

.selected-shop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
}

.selected-shop-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.selected-shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-shop-thumb .no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #eee;
    font-size: 24px;
}

.selected-shop-info {
    flex: 1;
}

.selected-shop-name {
    font-weight: 500;
}

.selected-shop .remove-shop {
    width: 28px;
    height: 28px;
    background: #eee;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}

/* 引用ブロック */
.quote-content {
    position: relative;
    padding-left: 30px;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 24px;
    color: #ddd;
}

.quote-text {
    font-style: italic;
    margin-bottom: 10px;
}

.quote-cite {
    font-size: 0.875rem;
}

/* ボックスブロック */
.box-type-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.box-type-selector label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.box-type-option {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
}

.box-type-option.info {
    background: #e3f2fd;
}

.box-type-option.warning {
    background: #fff3e0;
}

.box-content.info {
    border-left: 4px solid #1976d2;
}

.box-content.warning {
    border-left: 4px solid #f57c00;
}

.box-title {
    margin-bottom: 10px;
    font-weight: 600;
}

/* テーブルブロック */
.table-caption {
    margin-bottom: 12px;
    font-weight: 500;
}

.table-editor {
    overflow-x: auto;
}

.table-editor table {
    width: 100%;
    border-collapse: collapse;
}

.table-editor th,
.table-editor td {
    padding: 4px;
    position: relative;
}

.table-editor th input,
.table-editor td input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.table-editor th input {
    background: #f5f5f5;
    font-weight: 600;
}

.table-editor .remove-col,
.table-editor .remove-row {
    width: 20px;
    height: 20px;
    background: #eee;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.table-editor .row-actions {
    width: 30px;
    vertical-align: middle;
}

/* リストブロック */
.list-type-selector {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.list-type-selector label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.list-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.list-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-item-handle {
    cursor: grab;
    color: #999;
    font-size: 12px;
}

.list-item-row input {
    flex: 1;
}

.remove-list-item {
    width: 26px;
    height: 26px;
    background: #eee;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

.remove-list-item:hover {
    background: #ffebee;
    color: #c62828;
}

/* ブロック追加エリア */
.add-block-area {
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.add-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.add-block-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 80px;
}

.add-block-btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.add-block-btn span {
    font-size: 0.75rem;
}

/* ==================== 店舗選択モーダル ==================== */
.shop-select-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.shop-select-modal.active {
    display: block;
}

.shop-select-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.shop-select-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop-select-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.shop-select-modal .modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.shop-select-modal .modal-close {
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.shop-select-modal .modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shop-search {
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}

.shop-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
}

.shop-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px;
}

.shop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.shop-item:hover {
    background: #f5f5f5;
}

.shop-item-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.shop-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-item-thumb .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #eee;
    font-size: 20px;
}

.shop-item-info {
    flex: 1;
}

.shop-item-name {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
}

.shop-item-cat {
    font-size: 0.8rem;
    color: #666;
}

/* ==================== プレビュー ==================== */
.preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.preview-badge {
    background: #ff9800;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.preview-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 埋め込み店舗カード */
.embedded-shop-card {
    margin: 24px 0;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

.embedded-shop-card:hover {
    transform: translateY(-2px);
}

.shop-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.shop-card-image {
    width: 150px;
    height: 120px;
    flex-shrink: 0;
}

.shop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-card-body {
    padding: 16px 20px;
    flex: 1;
}

.shop-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 8px 0;
}

.shop-card-address {
    font-size: 0.85rem;
    color: #666;
}

/* ==================== ボタン ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: #333;
    color: #fff;
}

.btn-primary:hover {
    background: #000;
}

.btn-outline {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.btn-outline:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.btn-danger {
    background: #fff;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.btn-danger:hover {
    background: #ffebee;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==================== レスポンシブ ==================== */
@media (max-width: 900px) {
    .editor-layout {
        grid-template-columns: 1fr;
    }
    
    .editor-sidebar {
        position: static;
    }
    
    .editor-list-header {
        display: none;
    }
    
    .editor-list-item {
        grid-template-columns: 50px 1fr;
        gap: 12px;
    }
    
    .col-category,
    .col-date {
        display: none;
    }
    
    .col-status {
        grid-column: 2;
        grid-row: 2;
    }
    
    .col-actions {
        grid-column: 2;
        grid-row: 3;
    }
}

@media (max-width: 600px) {
    .feature-editor-page {
        padding: 20px 0 60px;
    }
    
    .editor-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .editor-header-right {
        width: 100%;
        justify-content: flex-end;
    }
    
    .editor-section {
        padding: 16px;
    }
    
    .thumbnail-upload {
        flex-direction: column;
    }
    
    .thumbnail-preview {
        width: 100%;
    }
    
    .heading-controls {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .heading-level {
        width: 100% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
    
    .heading-input {
        width: 100% !important;
    }
    
    [data-type="heading"] .block-content {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .block-select-inline {
        width: 100% !important;
        min-width: unset !important;
        max-width: unset !important;
    }
    
    .add-block-btn {
        min-width: 60px;
        padding: 10px;
    }
    
    .add-block-btn span {
        font-size: 0.65rem;
    }
    
    .preview-content {
        padding: 20px;
    }
    
    .shop-card-link {
        flex-direction: column;
    }
    
    .shop-card-image {
        width: 100%;
        height: 150px;
    }
}
