/**
 * PROJECT: [サイト名]
 * ---------------------------------------
 * [PREFIX RULES]
 * mu-c- : Components (汎用パーツ)
 * mu-p- : Project (固有セクション)
 * mu-u- : Utility (微調整)
 * ---------------------------------------
 * INDEX:
 * 1.0 Variables & Global
 * 2.0 Components (mu-c-)
 * 3.0 Sections (mu-p-)
 * 4.0 Decorative Styles
 * 5.0 Utility (mu-u-)
 */

/* Query Loop Card Hover Animation */
.mu-p-hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.mu-p-hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

/* ==========================================================================
1.0 Variables & Global
========================================================================== */

/*パンくずリスト*/
.unitone-breadcrumbs__item a {
    text-decoration: none;
}

/* タブデザイン */
.unitone-tab__label {
    font-size: 15px;
}

.unitone-tab-bar .unitone-tab:nth-child(2)[aria-selected=true] {
    background-color: var(--wp--preset--color--custom-accent-1);
}

/* ==========================================================================
2.0 Components
========================================================================== */

/* 見出し4 */
.mu-h4-maru {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.mu-h4-maru::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    background: var(--wp--preset--color--unitone-accent);
}

/* ステップデザイン */
.step-badge {
    width: 100px;
    height: 100px;
    background-color: var(--wp--preset--color--unitone-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    line-height: 1.1;
}

.step-badge--orange {
    background-color: var(--wp--preset--color--custom-accent-1);
}

.step-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.step-number {
    font-size: 36px;
    letter-spacing: 0;
    font-weight: bold;
}

@media screen and (max-width:1024px) {
    .step-badge {
        width: 70px;
        height: 70px;
        border-radius: 50%;
    }

    .step-label {
        font-size: 12px;
    }

    .step-number {
        font-size: 18px;
        line-height: 1;
    }
}

/* 吹き出しつきボタン */
.mu-guide-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    margin-top: 0;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.mu-guide-btn .mu-balloon {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    border: 1px solid #F15600;
    font-size: 0.7rem;
    color: #333333;
    padding: 6px 24px;
    border-radius: 50px;
    margin-bottom: -5px;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mu-guide-btn .mu-balloon::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 9px 8px 0 8px;
    border-color: #F15600 transparent transparent transparent;
}

.mu-guide-btn .mu-balloon::after {
    content: "";
    position: absolute;
    bottom: -7.5px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 8px 7px 0 7px;
    border-color: #ffffff transparent transparent transparent;
}

.mu-guide-btn .mu-main-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #DF5A13;
    color: #ffffff !important;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    width: 100%;
    box-shadow: var(--wp--preset--shadow--unitone-natural);
    transition: all 0.2s;
}

.mu-guide-btn:hover .mu-main-text {
    background-color: #F19364;
}

/* アコーディオン質問ボックス */
.muro-accordion {
    --primary-color: #B6D97F;
    --primary-color-orange: #FAAA1F;
    --font-maru: "Zen Maru Gothic", sans-serif;
}

.muro-accordion .unitone-accordion__summary {
    background-color: #FFFFFF;
    border-radius: 100px;
    border: 1px solid #333;
}

.muro-accordion[open] .unitone-accordion__summary {
    background-color: var(--primary-color);
}

.muro-accordion--orange[open] .unitone-accordion__summary {
    background-color: var(--primary-color-orange);
}

.muro-accordion .unitone-accordion__summary-content,
.muro-accordion .unitone-accordion__summary-inner {
    display: flex;
    align-items: center;
}

.muro-accordion .unitone-accordion__summary-content {
    justify-content: center;
}

.muro-accordion .unitone-accordion__q,
.muro-accordion .unitone-accordion__a {
    background: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.muro-accordion--orange .unitone-accordion__q,
.muro-accordion--orange .unitone-accordion__a {
    background: var(--primary-color-orange);
}

.muro-accordion[open] .unitone-accordion__q {
    background: #fff;
    color: #333;
}

.muro-accordion .unitone-accordion__a {
    color: #fff;
}

.muro-accordion .unitone-accordion__q-text,
.muro-accordion .unitone-accordion__a-text {
    font-family: var(--font-maru);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    padding-bottom: 3px;
    font-style: normal;
}

.muro-accordion .unitone-accordion__a-text {
    -webkit-text-stroke: 2px #333;
    text-stroke: 2px #333;
    paint-order: stroke;
}

.muro-accordion .unitone-accordion__detail {
    color: #fff;
}

.muro-accordion .unitone-accordion__icon {
    margin: 0;
}

.unitone-accordion__summary-content,
.unitone-accordion__summary-inner,
.unitone-accordion__content {
    gap: 1.5rem;
}

:root .unitone-accordion__icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

:root .unitone-accordion__icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

:root .unitone-accordion__icon svg polyline,
:root .unitone-accordion__icon svg line,
:root .unitone-accordion__icon svg path {
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

    .muro-accordion .unitone-accordion__q,
    .muro-accordion .unitone-accordion__a {
        width: 24px;
        height: 24px;
    }

    .muro-accordion .unitone-accordion__q-text,
    .muro-accordion .unitone-accordion__a-text {
        font-size: 1rem;
        line-height: 1;
        padding-bottom: 3px;
        font-style: normal;
    }

    .unitone-accordion__summary-content,
    .unitone-accordion__summary-inner,
    .unitone-accordion__content {
        gap: 1rem;
    }

    :root .unitone-accordion__icon {
        width: 10px;
        height: 10px;
    }

    :root .unitone-accordion__icon svg polyline,
    :root .unitone-accordion__icon svg line,
    :root .unitone-accordion__icon svg path {
        stroke-width: 3px;
    }
}

/* 横線見出し */
.muro-horizontal-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.muro-horizontal-line::before,
.muro-horizontal-line::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: var(--wp--preset--color--unitone-accent);
    border-radius: 2px;
}

.muro-horizontal-line--2::before,
.muro-horizontal-line--2::after {
    height: 1px;
    background-color: #C5DC9B;
}

/* しずく型バッチ */
.drop-badge {
    width: 80px;
    height: 80px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    position: absolute;
    top: -40px;
    left: -40px;
    z-index: 1;
}

.drop-bage--green {
    background-color: var(--wp--preset--color--unitone-accent);
}

.drop-bage--light-green {
    background-color: #86C130;
}

.drop-content {
    transform: rotate(45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-family: sans-serif;
    line-height: 1.1;
}

.drop-label {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.drop-number {
    font-size: 26px;
    font-weight: 800;
    margin-top: -2px;
}

@media screen and (max-width:768px) {
    .drop-badge {
        width: 50px;
        height: 50px;
        margin: 10px;
        top: -20px;
        left: -20px;
        z-index: 1;
    }

    .drop-label {
        font-size: 8px;
    }

    .drop-number {
        font-size: 16px;
        margin-top: -1px;
    }
}

/* お問い合わせフォーム */
:root {
    /* 必須ラベルの背景色 */
    --smf-required-lavel-color: #FF681D;
    /* 送信ボタンの背景色 */
    --smf-send-btn-color: #1176d4;
    /* 画面の背景色 */
    --smf-window-backgroud-color: #ffffff;
    /* 通常の文字色 */
    --smf-normal-text-color: #333333;
}

.smf-form--letter .smf-item__col--label {
    gap: 0.5rem;
}

.smf-item__description {
    background: var(--smf-required-lavel-color);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 0.3rem;
    color: var(--smf-window-backgroud-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0;
    white-space: nowrap;
}

.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control,
.smf-form .smf-select-control__control,
.smf-form .smf-select-control__control option,
.smf-select-control__toggle,
.smf-form .smf-checkbox-control__control {
    box-shadow: none;
    border: 2px solid #FAF9F6;
    border-radius: 10px;
}

.smf-form .smf-checkbox-control__control {
    box-shadow: none;
    border: 1px solid #333;
    border-radius: 3px;
}

.smf-action .smf-button-control__control[data-action="complete"],
.smf-action .smf-button-control__control[data-action="confirm"] {
    background-image: none;
    background-color: var(--wp--preset--color--unitone-accent);
    color: var(--smf-window-backgroud-color);
    border-color: transparent;
    border-radius: 100px;
    letter-spacing: 0.2rem;
    font-weight: 500;
    min-width: 300px;
    transition: 0.1s;
}

.smf-action .smf-button-control__control[data-action="complete"]:hover,
.smf-action .smf-button-control__control[data-action="confirm"]:hover {
    background-color: #5bbf5d;
}

.smf-action .smf-button-control__control[data-action="back"] {
    background-color: transparent;
    background-image: none;
    border: none;
    text-decoration: underline;
    text-decoration-color: var(--smf-normal-text-color);
    letter-spacing: 0.2rem;
    font-weight: 500;
}

.smf-form--letter .smf-item__col--label {
    display: flex;
    align-items: center;
}

.smf-form .smf-checkbox-control,
.smf-form .smf-radio-button-control {
    align-items: center;
}

.smf-form .smf-checkbox-control__control,
.smf-form .smf-radio-button-control__control {
    margin-top: 0;
}

/* リキャプチャの非表示 */
.grecaptcha-badge {
    visibility: hidden;
}


/* 関連記事カードレイアウト */
.mu-c-yarpp-container {
    margin-top: 0;
}

.mu-c-yarpp-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 1px solid var(--wp--preset--color--unitone-accent);
    padding-bottom: 0.5rem;
}

.mu-c-yarpp-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    transition: 0.2s;
}

.mu-c-yarpp-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.mu-c-yarpp-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.mu-c-yarpp-card__thumbnail {
    margin: 16px 16px 0 16px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: transparent;
    border-radius: 4px;
}

.mu-c-yarpp-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.mu-c-yarpp-card__noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #aaa;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
}

.mu-c-yarpp-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mu-c-yarpp-card__title {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.5;
    color: #333;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mu-c-yarpp-card__date {
    font-size: 14px;
    color: #999;
    margin-top: 16px;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .mu-c-yarpp-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
3.0 Sections
========================================================================== */

/* TOPページの成約事例のカード配置 */
@media (min-width: 769px) {
    .muro-grid-unevenness li:nth-child(2) {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width:1024px) {
    .muro-grid-unevenness {
        gap: 80px !important;
        grid-template-columns: 1fr !important;
    }
}

/* 曲線セクション */
.muro-curved-section {
    padding-top: 80px;
    text-align: center;
}

.muro-curved-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 110%;
    height: 80px;
    background: #eff6ef;
    border-radius: 50% 50% 0 0;
    transform: translateX(-50%);
}

/* TOPページの装飾 */
.muro-left-circle ::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -25px;
    width: 80px;
    height: 80px;
    border: 1px solid #fff;
    border-radius: 50%;
    z-index: 100;
}

/* TOPページの対応エリア装飾 */
.muro-area-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.muro-area-heading::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    background: radial-gradient(circle at center, #fff 25%, var(--wp--preset--color--custom-accent-1) 26%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

/* 見出し下の横線 */
.muro-line--90 {
    height: 2px;
    width: 90px;
    border-radius: 2px;
}

/* マイクロコピー */
.muro-micro {
    display: inline-block;
    position: relative;
    padding: 0 25px;
}

.muro-micro::before,
.muro-micro::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
}

.muro-micro::before {
    left: 0;
    background-image: url('https://iekura.murotaproduct.com/wp-content/uploads/2026/01/micro-left.png');
}

.muro-micro::after {
    right: 0;
    background-image: url('https://iekura.murotaproduct.com/wp-content/uploads/2026/01/micro-right.png');
}

/* リストスタイル */
.muro-list {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
}

.muro-list li {
    margin-bottom: 12px;
    margin-left: 0px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
    font-weight: 500;
}

.muro-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-color: var(--wp--preset--color--unitone-accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.muro-list-orange li::before {
    background-color: var(--wp--preset--color--custom-accent-1);
}

/* タグの前にシャープを追加 */
.sharp-tag {
    color: transparent;
    font-size: 0;
}

/* リンク（タグ名）だけを再表示し、前に # をつける */
.sharp-tag a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin-right: 10px;
    margin-top: 10px;
    transition: 0.2s;
    background-color: #fff;
    padding: 5px 15px;
    display: inline-block;
    border-radius: 100px;
}

.sharp-tag a::before {
    content: "#";
    margin-right: 2px;
}

.sharp-tag a:hover {
    opacity: 0.8;
}

.sharp-tag--side a {
    padding: 0;
    font-size: 16px;
    margin-top: 0;
}

.term-lend-successful-case .taxonomy-successful-case-genre,
.term-sell-successful-case .taxonomy-successful-case-genre {
    background-color: var(--wp--preset--color--custom-accent-3);
    border-radius: 3px;
}

.term-borrow-successful-case .taxonomy-successful-case-genre,
.term-buy-successful-case .taxonomy-successful-case-genre {
    background-color: var(--wp--preset--color--custom-accent-1);
    border-radius: 3px;
}

.taxonomy-successful-case-genre a {
    padding: 0.2rem 0.6rem;
    text-decoration: none;
    color: #fff;
}

/* カテゴリーバッジの色分け（成約事例） */
/* カテゴリーバッジの共通スタイル */
.taxonomy-successful-case-genre,
.taxonomy-property-genre,
.taxonomy-contract-status {
    border-radius: 4px;
}

.taxonomy-successful-case-genre a,
.taxonomy-property-genre a,
.taxonomy-contract-status a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #fff;
}

/* カテゴリーバッジの色分け */
/* オレンジ色 成約事例（貸りました・買いました）、物件情報（売買） */
.term-borrow-successful-case .taxonomy-successful-case-genre,
.term-buy-successful-case .taxonomy-successful-case-genre,
.term-property-sale .taxonomy-property-genre {
    background-color: var(--wp--preset--color--custom-accent-1) !important;
}

/* 緑色 成約事例（貸しました・売りました）、物件情報（賃貸） */
.term-sell-successful-case .taxonomy-successful-case-genre,
.term-lend-successful-case .taxonomy-successful-case-genre,
.term-property-rental .taxonomy-property-genre,
.property-rental .taxonomy-property-genre {
    background-color: var(--wp--preset--color--unitone-accent);
}

/* 物件情報アーカイブに価格単位をつける */
.property-genre-property-sale .property-room-price:not(.is-negotiable)::after,
.term-property-sale .property-table .property-room-price:not(.is-negotiable)::after {
    content: "万円";
}

.property-genre-property-rental .property-room-price:not(.is-negotiable)::after,
.term-property-rental .property-table .property-room-price:not(.is-negotiable)::after {
    content: "万円/月";
}

/* 物件情報アーカイブのバッチ色 */
.mu-p-property-roop-badge a[href*="rental"] {
    background-color: var(--wp--preset--color--custom-accent-1);
}

.mu-p-property-roop-badge a[href*="sale"] {
    background-color: var(--wp--preset--color--unitone-accent);
}

.mu-p-casestudy-archive-sidebar a {
    text-decoration: none;
    padding: 0;
}

.mu-p-casestudy-archive-sidebar .taxonomy-successful-case-genre,
.mu-p-casestudy-archive-sidebar .taxonomy-property-genre {
    background-color: transparent;
}

/* 見出し下の横線 */
.mu-p-underline {
    position: relative;
    margin-bottom: 20px !important;
}

.mu-p-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    height: 3px;
    width: 180px;
    border-radius: 2px;
}

.mu-p-underline--green::after {
    background-color: var(--wp--preset--color--unitone-accent);
}

.mu-p-underline--orange::after {
    background-color: var(--wp--preset--color--custom-accent-1);
}

/* ==========================================================================
4.0 Decorative Styles
========================================================================== */

/* 付箋デザイン */
.is-style-sme-post-it-narrow {
    box-shadow: none;
}

.is-style-sme-post-it-narrow.green-post-it::after {
    background: var(--wp--preset--color--unitone-accent);
}

.is-style-sme-post-it-narrow.orange-post-it::after {
    background: var(--wp--preset--color--custom-accent-1);
}

/* 水平線タイトル */
.mu-line-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    gap: 0.5rem;
}

.mu-line-title::before,
.mu-line-title::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #F15600;
    min-width: 1.5rem;
    max-width: 2.5rem;
}

/*モーダル*/
.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #f9f9f9;
}

.wp-block-navigation__responsive-container-close {
    background-color: var(--wp--preset--color--unitone-accent);
    border-radius: 100%;
    padding: 3px;
}

.wp-block-navigation__responsive-container-close {
    color: #ffffff;
}

/* 現在地のナビゲーションに横線を表示 */
.wp-block-navigation-item__content[aria-current="page"] {
    position: relative;
    text-decoration: none;
}

.wp-block-navigation-item__content[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--wp--preset--color--custom-accent-3);
    border-radius: 2px;
}


/* ==========================================================================
5.0 Utility
========================================================================== */

/* 下層ページタイトル */
.mu-low-title {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

/* Googleマップ*/
.gmap_iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media screen and (max-width:700px) {
    .muro-sp-center {
        justify-content: center !important;
    }
}

@media screen and (max-width:1024px) {
    .muro-top-layer-sp {
        --unitone--grid-row: 1 / -1 !important;
    }
}

.mu-u-font-size-xl {
    font-size: 24px;
}

@media screen and (max-width:700px) {
    .mu-u-sp-frame {
        aspect-ratio: 16 / 9 !important;
    }
}

/* ==========================================================================
6.0 Blocks Custom
========================================================================== */

/* ページ送り（パジネーション） */
.wp-block-query-pagination-numbers {
    gap: 10px;
}

.wp-block-query-pagination-numbers>* {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px !important;
    min-height: 40px !important;
    background-color: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
}

/* アクティブな数値 */
.wp-block-query-pagination-numbers>.current {
    background-color: var(--wp--preset--color--custom-accent-3);
    color: #fff;
}

/* ホバー時のスタイル */
.wp-block-query-pagination-numbers>a:hover {
    background-color: #f0f0f0;
}

/* 三点リーダー（...）は背景と丸を解除 */
.wp-block-query-pagination-numbers>.dots {
    background-color: transparent;
    border-radius: 0;
    width: auto;
    min-width: auto !important;
}

@media screen and (max-width: 700px) {
    .wp-block-query-pagination-numbers>* {
        width: 32px;
        height: 32px;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 14px;
    }
}