/**
 * Block Editor Specific Styles
 * エディタ専用の調整のみ。共通スタイルはeditor-style.cssが担当。
 */

/* Site Editor: Hero崩れ対策 */
.editor-styles-wrapper .hero {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    padding: 0;
}

.editor-styles-wrapper .hero-left {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
}

.editor-styles-wrapper .hero-left-inner {
    max-width: 560px;
    width: 100%;
}

.editor-styles-wrapper .hero .hero-heading {
    font-size: clamp(3rem, 5.2vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.editor-styles-wrapper .hero .hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 440px;
}

.editor-styles-wrapper .hero .popular-menu {
    transform: none;
    width: 100%;
    max-width: 420px;
    padding: 2rem 2.25rem;
    margin: 0;
}

.editor-styles-wrapper .hero .popular-menu-title {
    font-size: 0.95rem;
}

.editor-styles-wrapper .hero .popular-menu-list li,
.editor-styles-wrapper .hero .menu-item-name,
.editor-styles-wrapper .hero .menu-item-price {
    font-size: 1rem;
}

.editor-styles-wrapper .hero .btn-primary {
    opacity: 1;
    transform: none;
    animation: none;
}

/* Override WordPress constrained/flow layout on hero children in editor */
.editor-styles-wrapper .hero.is-layout-flow > *,
.editor-styles-wrapper .hero.is-layout-constrained > * {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
