/* ===================== */
/* booth */
/* ===================== */
.uq-booth-archive {
    max-width: 1000px;
    margin: auto;
}

.uq-booth-filter-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: solid 1px #999;
}

.uq-booth-filter-wrapper:first-child {
    padding-top: 0;
}

.uq-booth-filter-wrapper:last-child {
    border-bottom: none;
}

.uq-booth-filter-label {
    font-size: 16px;
    font-weight: 700;
    min-width: 80px;
    color: #999;
}

.uq-booth-filter-btn {
    border-radius: 8px;
    border: solid 1px #999;
    background-color: #fff;
    color: #999;
    padding: 6px 12px;
    font-weight: 700;
}

.uq-booth-filter-btn:hover {
    background-color: #f7f7f7;
}

.uq-booth-filter-btn.is-active {
    background-color: #999;
    color: #fff;
    border: none;
    padding: 6px 13px;
}

.uq-booth-filter-btn.power-save {
    color: #4AB682;
    border: solid 1px #4AB682;
}

.uq-booth-filter-btn.power-save.is-active {
    background-color: #4AB682;
    color: #fff;
}

.uq-booth-filter-btn.power-earn {
    color: #EC7460;
    border: solid 1px #EC7460;
}

.uq-booth-filter-btn.power-earn.is-active {
    background-color: #EC7460;
    color: #fff;
}

.uq-booth-filter-btn.power-grow {
    color: #F2971B;
    border: solid 1px #F2971B;
}

.uq-booth-filter-btn.power-grow.is-active {
    background-color: #F2971B;
    color: #fff;
}

.uq-booth-filter-btn.power-it {
    color: #8D80BB;
    border: solid 1px #8D80BB;
}

.uq-booth-filter-btn.power-it.is-active {
    background-color: #8D80BB;
    color: #fff;
}

.uq-booth-filter-btn.power-libecity {
    color: #2F66A8;
    border: solid 1px #2F66A8;
}

.uq-booth-filter-btn.power-libecity.is-active {
    background-color: #2F66A8;
    color: #fff;
}

.uq-booth-filter-btn.category-general {
    color: #3EC688;
    border: solid 1px #3EC688;
}

.uq-booth-filter-btn.category-general.is-active {
    background-color: #3EC688;
    color: #fff;
}

.uq-booth-filter-btn.category-foods {
    color: #F99D21;
    border: solid 1px #F99D21;
}

.uq-booth-filter-btn.category-foods.is-active {
    background-color: #F99D21;
    color: #fff;
}

.uq-booth-filter-btn.category-marche {
    color: #ED79A2;
    border: solid 1px #ED79A2;
}

.uq-booth-filter-btn.category-marche.is-active {
    background-color: #ED79A2;
    color: #fff;
}

.uq-booth-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media screen and (max-width: 959px) {
    .uq-booth-filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

.uq-booth-single {
    max-width: 900px;
    margin: auto;
}

.uq-booth-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 64px;
}

.uq-booth-panel-item {
    width: calc((100% - 48px) / 3);
}

.uq-booth-panel-item > a {
    position: relative;
    display: block;
    width: 100%;
    transform: translate(-5px, -5px);
    transition: ease .3s;
    z-index: 20;
}

.uq-booth-panel-item > a::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border: solid 2px #ACABAB;
    right: -5px;
    bottom: -5px;
    background-color: #fff;
    z-index: -10;
    transition: ease .3s;
}

.uq-booth-panel-item > a:hover {
    transform: translate(0px, 0px);
}

.uq-booth-panel-item > a:hover::after {
    right: 0;
    bottom: 0;
}

.uq-booth-panel-item > a > img {
    width: 100%;
    display: block;
}

.uq-booth-archive .m-button-wrapper {
    width: fit-content;
}

@media screen and (min-width: 769px) {
    .uq-booth-archive .m-button-wrapper {
        margin: 1rem auto 0;
    }

    .uq-booth-archive .m-button {
        font-size: 20px;
        width: 220px;
        font-weight: 400;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 959px) {
    .uq-booth-panel {
        margin-top: 48px;
    }
}

@media screen and (max-width: 768px) {
    .uq-booth-panel-item {
        width: 100%;
    }

    .uq-booth-archive .m-button-wrapper {
        margin: 3rem auto 0;
    }
}

.uq-booth-thumbnail {
    text-align: center;
    background-color: rgba(153, 153, 153, .5);
    border-radius: 10px;
}

.uq-booth-thumbnail > img {
    width: 100%;
    max-width: 850px;
    margin: auto;
    display: block;
}

.uq-booth-information {
    margin-top: 24px;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, 1fr);
}

.uq-booth-information._col4 {
    grid-template-columns: repeat(4, 1fr);
}

.uq-booth-information._col3 {
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 768px) {
    .uq-booth-information {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .uq-booth-information-item:nth-child(1) {grid-area: 1 / 1 / 2 / 3;}
    .uq-booth-information-item:nth-child(2) {grid-area: 2 / 1 / 3 / 2;}
    .uq-booth-information-item:nth-child(3) {grid-area: 2 / 2 / 3 / 3;}
    .uq-booth-information-item:nth-child(4) {grid-area: 3 / 1 / 4 / 2;}
    .uq-booth-information-item:nth-child(5) {grid-area: 3 / 2 / 4 / 3;}

    .uq-booth-information._col3,
    .uq-booth-information._col4 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .uq-booth-information._col4 > .uq-booth-information-item:nth-child(1) {grid-area: 1 / 1 / 2 / 2;}
    .uq-booth-information._col4 > .uq-booth-information-item:nth-child(2) {grid-area: 1 / 2 / 2 / 3;}
    .uq-booth-information._col4 > .uq-booth-information-item:nth-child(3) {grid-area: 2 / 1 / 3 / 2;}
    .uq-booth-information._col4 > .uq-booth-information-item:nth-child(4) {grid-area: 2 / 2 / 3 / 3;}

    .uq-booth-information._col3 > .uq-booth-information-item:nth-child(1) {grid-area: 1 / 1 / 2 / 3;}
    .uq-booth-information._col3 > .uq-booth-information-item:nth-child(2) {grid-area: 2 / 1 / 3 / 2;}
    .uq-booth-information._col3 > .uq-booth-information-item:nth-child(3) {grid-area: 2 / 2 / 3 / 3;}
}

.uq-booth-information-item {
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    border: solid 1px #999999;
    padding: 8px 0;
    background-color: #999999;
}

.uq-booth-information-item__title > span {
    background: #ffffff;
    display: block;
    margin: 0 8px;
    padding: 5px;
    border-radius: 8px;
}

.uq-booth-information-item__title > span > b {
    position: relative;
    padding: 4px 4px 4px 30px;
    border-radius: 12px;
    font-size: 18px;
}

.uq-booth-information-item__title > span > b::before {
    position: absolute;
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 23px;
    height: 23px;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.uq-booth-information-item__title._categories > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_category.svg');
}

.uq-booth-information-item__title._number > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_booth.svg');
}

.uq-booth-information-item__title._reservation > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_reservation.svg');
}

.uq-booth-information-item__title._consultation > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_time.svg');
}

.uq-booth-information-item__title._boothcategories > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_category2.png');
}

.uq-booth-information-item__title._format > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_format.svg');
}

.uq-booth-information-item__title._fee > span > b::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_fee.png');
}

.uq-booth-information-item__text {
    padding: 12px 0;
    font-size: 16px;
}

.uq-booth-box {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 24px;
    padding: 12px;
    background-color: #999999;
}

.uq-booth-box-title {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    background-color: #fff;
    border-radius: 12px;
    padding: 8px;
    color: #999999;
}

.uq-booth-box-title > span {
    position: relative;
    padding-left: 28px;
}

.uq-booth-box-title > span::before {
    position: absolute;
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 23px;
    height: 23px;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.uq-booth-box-title._description > span::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_description.svg');
}

.uq-booth-box-title._recommend > span::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_recommend.svg');
}

.uq-booth-box-title._prepare > span::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_prepare.svg');
}

.uq-booth-box-title._member > span::before {
    background-image: url('../../../assets/img/booth/icon/img_icon_member.png');
    width: 25px;
    height: 15px;
}

.uq-booth-box-contents {
    margin-top: 12px;
    font-weight: 400;
    font-size: 16px;
    font-family: "M PLUS 2", sans-serif;
    padding-inline: 16px;
    color: #666;
}

.uq-booth-box-contents h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.uq-booth-box-contents p {
    font-size: 16px;
    margin-bottom: 12px;
}

.uq-booth-box-contents > p > img {
    width: 80%;
}

.uq-booth-box-contents > p:has(> img) {
    text-align: center;
}

.uq-booth-box-contents b,
.uq-booth-box-contents strong {
    font-weight: 700;
}

.uq-booth-box-contents p > strong > a ,
.uq-booth-box-contents p > a > strong {
	font-size: 20px;
	margin-left: 5px;
}

.uq-booth-box-contents p a {
	transition: ease .3s opacity;
}

.uq-booth-box-contents p a:hover {
	opacity: .6;
}

@media screen and (max-width: 768px) {
    .uq-booth-box-title {
        font-size: 16px;
    }

    .uq-booth-information-item__text {
        font-size: 14px;
    }

    .uq-booth-box-contents {
        font-size: 14px;
    }

    .uq-booth-box-contents > p > img {
        width: 100%;
    }
    
    .uq-booth-box-contents b,
    .uq-booth-box-contents strong {
        font-weight: 700;
    }
}

.uq-booth-box-list > li {
    position: relative;
    margin-top: 8px;
    padding-left: 24px;
    color: #666;
    font-size: 16px;
}

.uq-booth-box-list > li > .icon {
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url('../../../assets/img/booth/icon/img_icon_sprout.svg');
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    width: 20px;
    height: 16px;
    top: 6px;
    left: 0;
    margin: auto;
}

.uq-booth-box-list > li:first-child {
    margin-top: 0;
}

.uq-booth-box-list > li > .fas {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 4px;
    width: 16px;
    height: 16px;
    border: solid 1px #999999;
}

.uq-booth-box-list > li > .fas::before {
    color: #fff;
    width: 14px;
    height: 14px;
    display: block;
    background-color: #999999;
}

.uq-booth-box .wp-block-columns {
    margin-top: 24px;
    justify-content: center;
    flex-wrap: nowrap !important;
    gap: 24px !important;
}

.uq-booth-box .wp-block-column > p {
    margin-bottom: 0;
}

.uq-booth-box .wp-block-columns img {
    width: 100%;
}

@media screen and (min-width: 769px) {
    .uq-booth-box .wp-block-column {
        max-width: calc(100% / 3);
    }
}

@media screen and (max-width: 768px) {
    .uq-booth-box .wp-block-columns {
        flex-direction: column;
    }
    
    .uq-booth-box-list > li {
        font-size: 16px;
    }
}

/* 貯める力 */
main.power-save .uq-booth-thumbnail {
    background-color: rgba(62, 198, 136, .5);
}

main.power-save .uq-booth-box {
    background-color: rgba(227, 243, 231, .55);
}

main.power-save .uq-booth-box-title > span {
    color: #178B55;
}

main.power-save .uq-booth-box-list > li > .fas {
    border: solid 1px #178B55;
}

main.power-save .uq-booth-box-list > li > .fas::before {
    background-color: #178B55;
}

main.power-save .uq-booth-information-item {
    border: solid 1px #e3f3e7;
    background-color: rgba(227, 243, 231, .55);
}

main.power-save .uq-booth-information-item__title > span > b {
    color: #3ec688;
    font-weight: 400;
    font-size: 18px;
}

/* 稼ぐ力 */
main.power-earn .uq-booth-thumbnail {
    background-color: rgba(236, 117, 99, .5);
}

main.power-earn .uq-booth-box {
    background-color: rgba(255, 228, 220, .55);
}

main.power-earn .uq-booth-box-title > span {
    color: #EC7460;
}

main.power-earn .uq-booth-box-list > li > .fas {
    border: solid 1px #EC7460;
}

main.power-earn .uq-booth-box-list > li > .fas::before {
    background-color: #EC7460;
}

main.power-earn .uq-booth-information-item {
    border: solid 1px #ffe4dc;
    background-color: rgba(255, 228, 220, .55);
}

main.power-earn .uq-booth-information-item__title > span > b {
    color: #ec7563;
    font-weight: 400;
}

/* 増やす力 */
main.power-grow .uq-booth-thumbnail {
    background-color: rgba(249, 157, 33, .5);
}

main.power-grow .uq-booth-box {
    background-color: rgba(255, 238, 207, .55);
}

main.power-grow .uq-booth-box-title > span {
    color: #F2971B;
}

main.power-grow .uq-booth-box-list > li > .fas {
    border: solid 1px #F2971B;
}

main.power-grow .uq-booth-box-list > li > .fas::before {
    background-color: #F2971B;
}

main.power-grow .uq-booth-information-item {
    border: solid 1px #ffeecf;
    background-color: rgba(255, 238, 207, .55);
}

main.power-grow .uq-booth-information-item__title > span > b {
    color: #f99d21;
    font-weight: 400;
}

/* ITスキル */
main.power-it .uq-booth-thumbnail {
    background-color: rgba(164, 121, 237, .5);
}

main.power-it .uq-booth-box {
    background-color: rgba(237, 226, 255, .55);
}

main.power-it .uq-booth-box-title > span {
    color: #8D80BB;
}

main.power-it .uq-booth-box-list > li > .fas {
    border: solid 1px #8D80BB;
}

main.power-it .uq-booth-box-list > li > .fas::before {
    background-color: #8D80BB;
}

main.power-it .uq-booth-information-item {
    border: solid 1px #ede2ff;
    background-color: rgba(237, 226, 255, .55);
}

main.power-it .uq-booth-information-item__title > span > b {
    color: #a479ed;
    font-weight: 400;
}

/* リベ大コンテンツ */
main.power-libecity .uq-booth-thumbnail {
    background-color: rgba(47, 102, 168, .5);
}

main.power-libecity .uq-booth-box {
    background-color: rgba(224, 235, 247, .55);
}

main.power-libecity .uq-booth-box-title > span {
    color: #2F66A8;
}

main.power-libecity .uq-booth-box-list > li > .fas {
    border: solid 1px #2F66A8;
}

main.power-libecity .uq-booth-box-list > li > .fas::before {
    background-color: #2F66A8;
}

main.power-libecity .uq-booth-information-item {
    border: solid 1px #e0ebf7;
    background-color: rgba(224, 235, 247, .55);
}

main.power-libecity .uq-booth-information-item__title > span > b {
    color: #2f66a8;
    font-weight: 400;
}

/* 税金 */
main.power-tax .uq-booth-thumbnail {
    background-color: rgba(57, 73, 96, .5);
}

main.power-tax .uq-booth-box {
    background-color: rgba(227, 230, 234, .55);
}

main.power-tax .uq-booth-box-title > span {
    color: #394960;
}

main.power-tax .uq-booth-box-list > li > .fas {
    border: solid 1px #394960;
}

main.power-tax .uq-booth-box-list > li > .fas::before {
    background-color: #394960;
}

main.power-tax .uq-booth-information-item {
    border: solid 1px #e0ebf7;
    background-color: rgba(227, 230, 234, .55);
}

main.power-tax .uq-booth-information-item__title > span > b {
    color: #394960;
    font-weight: 400;
}

/* 親子向け */
main.power-family .uq-booth-thumbnail {
    background-color: rgba(237, 119, 160, .5);
}

main.power-family .uq-booth-box {
    background-color: rgba(255, 236, 242, .55);
}

main.power-family .uq-booth-box-title > span {
    color: #394960;
}

main.power-family .uq-booth-box-list > li > .fas {
    border: solid 1px #FFECF2;
}

main.power-family .uq-booth-box-list > li > .fas::before {
    background-color: #FFECF2;
}

main.power-family .uq-booth-information-item {
    border: solid 1px #FFECF2;
    background-color: rgba(255, 236, 242, .55);
}

main.power-family .uq-booth-information-item__title > span > b {
    color: #394960;
    font-weight: 400;
}

/* ===================== */
/* boothgeneral */
/* ===================== */

/* 一般 */
main.category-general .uq-booth-thumbnail {
    background-color: rgba(62, 198, 136, .5);
}

main.category-general .uq-booth-box {
    background-color: rgba(227, 243, 231, .55);
}

main.category-general .uq-booth-box-title > span {
    color: #3EC688;
}

main.category-general .uq-booth-box-list > li > .fas {
    border: solid 1px #3EC688;
}

main.category-general .uq-booth-box-list > li > .fas::before {
    background-color: #3EC688;
}

main.category-general .uq-booth-information-item {
    border: solid 1px #E3F3E7;
    background-color: rgba(227, 243, 231, .55);
}

main.category-general .uq-booth-information-item__title > span > b {
    color: #3EC688;
    font-weight: 400;
}

/* 飲食 */
main.category-foods .uq-booth-thumbnail {
    background-color: rgba(249, 157, 33, .5);
}

main.category-foods .uq-booth-box {
    background-color: rgba(255, 238, 207, .55);
}

main.category-foods .uq-booth-box-title > span {
    color: #F99D21;
}

main.category-foods .uq-booth-box-list > li > .fas {
    border: solid 1px #F99D21;
}

main.category-foods .uq-booth-box-list > li > .fas::before {
    background-color: #F99D21;
}

main.category-foods .uq-booth-information-item {
    border: solid 1px #FFEECF;
    background-color: rgba(255, 238, 207, .55);
}

main.category-foods .uq-booth-information-item__title > span > b {
    color: #F99D21;
    font-weight: 400;
}

/* マルシェ */
main.category-marche .uq-booth-thumbnail {
    background-color: rgba(237, 121, 162, .5);
}

main.category-marche .uq-booth-box {
    background-color: rgba(255, 225, 236, .55);
}

main.category-marche .uq-booth-box-title > span {
    color: #ED79A2;
}

main.category-marche .uq-booth-box-list > li > .fas {
    border: solid 1px #ED79A2;
}

main.category-marche .uq-booth-box-list > li > .fas::before {
    background-color: #ED79A2;
}

main.category-marche .uq-booth-information-item {
    border: solid 1px #FFE1EC;
    background-color: rgba(255, 225, 236, .55);
}

main.category-marche .uq-booth-information-item__title > span > b {
    color: #ED79A2;
    font-weight: 400;
}


.is-visible-pc {
    display: flex;
}

.is-visible-pc-sp {
    display: flex;
}

/* SP時 */
@media (max-width: 768px) {
    .is-visible-pc {
        display: none;
    }
}

.wp-block-columns.has-2-columns.last_big {
    justify-content: flex-start;
}
.wp-block-columns.has-2-columns.last_big > .wp-block-column {
    max-width: unset;
}

@media (min-width: 769px) {
    .wp-block-columns.has-2-columns.last_big > .wp-block-column:first-child {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .wp-block-columns.has-2-columns.last_big {
        flex-direction: row;
    }
    .wp-block-columns.has-2-columns.last_big > .wp-block-column:first-child {
        max-width: 85px;
    }
}

/* 一般ブースメンバー検索機能 */
.uq-booth-search {
    display: flex;
    justify-content: center;
    margin: 3rem auto 0;
    gap: 8px;
}

.uq-booth-search__input {
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
    border: solid 1px #999;
    background-color: #fff;
    color: #333;
    padding: 6px 12px;
}

.uq-booth-search__button {
    border-radius: 4px;
    border: solid 1px #999;
	padding: 6px 12px;
}

.uq-booth-search__reset {
    border-radius: 4px;
    border: solid 1px #999;
    background-color: #f7f7f7;
    color: #333;
    padding: 6px 12px;
	font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

.uq-booth-search-count {
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .uq-booth-search {
        max-width: 500px;
		flex-wrap: wrap;
        align-items: flex-end;
    	justify-content: flex-end;
    }
}

.uq-booth-member-group {
	margin-top: 16px;
}

.uq-booth-member-group:first-child {
	margin-top: 0;
}

.uq-booth-member-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.uq-booth-member > span {
	position: relative;
	padding-right: 6px;
}

.uq-booth-member > span::after {
	content: ",";
	display: block;
	position: absolute;
	right: 0;
	inset-block: 0;
	margin: auto;
}

.uq-booth-member:last-child > span::after {
	display: none;
}

