/* 検索画面モーダル
**********************/
.section-search {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--white);
    color: var(--text-primary-color);
    transition: ease .4s;
    z-index: 999;
    font-weight: 700;
    overflow-y: auto;
}

.section-search.active {
    right: 0;
}

.section-search__mask.active {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
    transition: ease .4s;
}

.section-search .menu-close {
    background-color: var(--bg-sub-color);
    padding: 12px 5%;
    margin-bottom: 10px;
}

.section-search .menu-close .close-btn {
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
    padding-left: 20px;
}

.section-search .menu-close .close-btn::before {
    top: 50%;
    left: 0;
    width: 12px;
    height: 16px;
    background-color: var(--primary-color);
    transform: translateY(-50%) rotate(180deg);
}

@media screen and (min-width: 769px) {
    .section-search {
        width: 40vw;
    }
}

/* 検索画面
**********************/
.section-search {
    margin-bottom: 60px;
    padding-bottom: 50px;
}

.search-section-list {
    border-bottom: 1px solid var(--text-quaternary-color);
    margin-bottom: 20px;
}

.search-section-list li+li {
    margin-top: 2px;
}

.sub-section {
    width: 100%;
}

.sub-section__title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    font-size: 16px;
    font-weight: 700;
    background-color: var(--primary-secondary-color);
    width: 100%;
}

.sub-section .trigger span {
    background-color: var(--primary-color);
}

.sub-section .trigger.is-open span {
    transform: translateY(-50%) rotate(270deg);
}

.change-area a {
    position: relative;
    display: block;
    padding: 4px 20px 4px 12px;
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.change-area a::before {
    top: 50%;
    right: 8px;
    width: 8px;
    height: 14px;
    transform: translateY(-50%);
}

.sub-section__content.js-acd-content {
    display: none;
}

.chkbox-list {
    width: 100%;
}

.chkbox-list li {
    display: flex;
    align-items: center;
    padding: 14px 10%;
}

.chkbox-list li+li {
    border-top: 1px solid var(--text-quaternary-color);
}

.chkbox-list .checkbox {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-color: var(--text-quaternary-color);
    -webkit-mask-image: url('../images/svg/square-check.svg');
    mask-image: url('../images/svg/square-check.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    cursor: pointer;
}

.chkbox-list input[type="checkbox"] {
    display: none;
}

.chkbox-list input[type="checkbox"]:checked+.checkbox {
    background-color: var(--conversion-color);
}

.chkbox-list a {
    text-decoration: none;
    color: #707070;
}

.chkbox-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.serach-fixedBar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px 10%;
    background-color: var(--bg-sub-color);
}

.serach-fixedBar button {
    width: 100%;
    height: 100%;
    text-align: center;
}

.serach-fixedBar .reset {
    background-color: var(--white);
    border: 2px solid var(--chart-line-color);
    color: var(--text-secondary-color);
    width: 35%;
    max-width: 130px;
    height: 38px;
    font-size: 13px;
    border-radius: 25px;
}

.serach-fixedBar .search {
    background-color: var(--conversion-color);
    box-shadow: 0px 4px 0px 0px var(--conversion-dark-color);
    color: var(--white);
    width: 65%;
    height: 45px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 9px;
}

.js-fixed-bottom {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: ease 0s;
    visibility: hidden;
    opacity: 0;
}

.js-fixed-bottom.active {
    transition: .3s ease;
    transition-delay: .3s;
    visibility: visible;
    opacity: 1;
}

@media screen and (min-width: 769px) {
    .js-fixed-bottom {
        width: 40vw;
    }
}

/* 検索結果
**********************/
.search-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 20px 5%;
    font-size: 12px;
}

.search-result>h2 {
    align-self: flex-start;
}

.search-result .result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.search-result .result p {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.search-result .result .num {
    font-size: 21px;
    font-weight: 700;
    color: var(--conversion-color);
}

.search-result .result .search-link button {
    padding: 8px 15px 8px 40px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.search-result .result .search-link::before {
    content: "";
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    -webkit-mask-image: url(../images/svg/ico_search.svg);
    mask-image: url(../images/svg/ico_search.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* 検索結果：結果なし
**********************/
.no-result {
    background-color: var(--primary-bg-color);
    padding: 25px 0 40px;
}

.no-result>.wrapper {
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 25px;
    text-align: center;
    line-height: 1.5;
    font-size: 14px;
    width: 90%;
    margin: 0 auto;
}

.no-result li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-result>ul>li+li {
    margin-top: 20px;
}

/* 検索結果：店舗
**********************/
.store-list {
    background-color: var(--primary-bg-color);
    padding: 25px 0 40px;
}

.store-list>li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-list>li+li {
    margin-top: 20px;
}

.store-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 25px;
}

.store-card .name {
    font-weight: 700;
    color: var(--primary-color);
}

.store-card .type {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.store-card .type li {
    color: var(--text-secondary-color);
    border: 1px solid var(--chart-line-color);
    border-radius: 5px;
    padding: 5px 7px;
    font-size: 11px;
}

.store-card .photo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.store-card .photo li {
    width: 100%;
    aspect-ratio: 1 / 1.3;
}

.store-card .photo li img,
.store-card .photo li video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.store-card .info dl {
    display: grid;
    grid-template-columns: 72px auto;
    grid-template-rows: repeat(3, auto);
    font-size: 12px;
    color: var(--text-secondary-color);
}

.store-card .info dl>dd {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.store-card .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
}

.store-card .btn .official {
    border: 2px solid var(--conversion-color);
    background-color: var(--white);
    color: var(--conversion-color);
    height: 39px;
    width: 40%;
    border-radius: 9px;
}

.store-card .btn .official a {
    width: 100%;
}

.store-card .btn .detail {
    position: relative;
    background-color: var(--conversion-color);
    box-shadow: 0px 4px 0px 0px var(--conversion-dark-color);
    color: var(--white);
    height: 35px;
    width: 60%;
    border-radius: 9px;
}

.store-card .btn .detail::before {
    right: 12px;
    width: 10px;
    height: 14px;
    background-color: var(--white);
}

/* Shimmer
**********************/
.shimmer {
    position: relative;
    overflow: hidden;
    background-color: #e0e0e0;
    border-radius: 2px;
}

.name.shimmer {
    height: 1.5rem;
}

.type.shimmer {
    height: 1.75rem;
}

.info>.shimmer {
    height: 1rem;
}

.shimmer::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    height: 100%;
    width: 150%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.5s infinite;
}

/* アニメーションの定義 */
@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 100%;
    }
}