body {
    background-color: #FADEB6;
}

.campaign__list__wrap {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    /* 折り返し */
    gap: 0px;
    /* 任意：余白 */
}

* {
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .campaign__list__wrap>details {
        flex: 0 0 100%;
    }

    .outline-box {
        padding: 0 5%;
    }
}

.main_section {
    width: 100%;
}

.accordion-search-wrap {
    padding: 8px 0;
}

.accordion-search {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    border: 1px solid #B62C81;
    border-radius: 10px;
    font-size: 14px;
}

.accordion-search-empty {
    margin: 8px 0 0;
    font-size: 12px;
    opacity: 0.7;
}

.campaign__list__wrap .accordion {
    width: 100%;
}


/* お気に入り店舗登録ボタン */
.store-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    border: #ddd solid 1px;
    padding: 20px !important;
    border-radius: 10px;
    background-color: #fff;
    width: 94%;
    margin: 0 auto;
}

.store-wrap div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0px;
    align-items: center;
    width: 100%;
    padding: 0;

}

.store-wrap p {
    text-align: left;
    color: #000000;
}

.store-wrap img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #ddd;
}



button {
    background-color: #B62C81;
    color: #fff !important;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 99px;
    border: 0;
    cursor: pointer;
}

.fs_small li {
    width: 100%;
    display: block;
}

.fs_small li a {
    display: block;
}


@media (max-width: 640px) {
    .store-wrap {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        box-sizing: border-box;
        border: #ddd solid 1px;
        padding: 20px !important;
        border-radius: 10px;
        max-height: inherit;
    }

    .store-wrap>div {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;
        align-items: center;
        width: 100%;
    }

    .store-wrap button {
        width: 100%;
        box-sizing: border-box;
        justify-self: stretch;
    }

    .campaign__list__wrap ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        list-style: none;
        padding: 0 10px;
        margin: 0;
    }

}



/* 屋号選択ボタン */
/* 屋号フィルター */
.brand-filter {
    margin: 16px 0 20px;
    padding: 16px;
    background: #fff7fc;
    border-radius: 12px;
}

.brand-filter-title {
    margin: 0 0 12px;
    color: #B62C81;
    font-weight: bold;
    font-size: 110%;
}

.brand-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

.brand-filter-list label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #B62C81;
    border-radius: 999px;
    background: #fff;
    color: #B62C81;
    font-weight: bold;
    cursor: pointer;
}

.brand-filter-list input[type="radio"] {
    accent-color: #B62C81;
}

.brand-filter-list label:has(input[type="radio"]:checked) {
    background: #B62C81;
    color: #fff;
}



/* ランダムボタン */
.random-store-box {
    margin: 32px 0;
    text-align: center;
}

.random-store-box button {
    background: #B62C81;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 120%;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 0 #8f1f63;
}

.random-store-box button:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8f1f63;
}

/* 都道府県セレクト */
.store-search-wrap {
    padding: 24px 3%;
    border-radius: 14px;
    background: #fff;
    border: 4px solid #B62C81;
    margin: 0 auto 32px;
}

.select-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.select-row label {
    display: grid;
    gap: 8px;
    color: #B62C81;
    font-weight: bold;
}

.select-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #B62C81;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
}

.select-guide {
    margin: 16px 0;
    text-align: center;
    color: #666;
}

@media (max-width: 640px) {


    .select-row {
        grid-template-columns: 1fr;
    }
}

#campaign__list {
    position: relative;
}

.loading-local {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    place-items: center;
    color: #B62C81;
    font-weight: bold;
    font-size: 18px;
}


/* 現在地から探す */

.nearby-store-list-wrap {
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
}

.nearby-store-list {
    list-style: none;
    padding: 0 5% 100px;
    margin: 0 auto;
}

.nearby-store-list-link {
    background-color: #fff;
    border-radius: 10px;
    border: solid #B62C81 4px;
    padding: 20px 40px;
    color: #B62C81;
    font-weight: bold;
    width: 100%;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    font-size: 250%;
}

@media screen and (max-width: 640px) {
    .nearby-store-list-link {
        font-size: 190%;
        padding: 16px 20px;
    }
}


h1 img {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}


.nearby-store-list li {
    margin-bottom: 2rem;
}

main {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

main {
    background-color: #FADEB6;
    padding-bottom: 100px;
}

main.top h3 {
    background-color: #EA5B18;
    border-radius: 0;
}

main.chikaku-wrap {
    padding-top: 50px;
}

.nearstore-name {
    display: block !important;
}

.store-register-btn {
    border-radius: 99px;
    padding: 10px 30px;
    background-color: #B62C81;
    color: #fff;
    font-weight: bold;
}

.store-distance {
    font-size: 90%;
    color: #666;
}

.back-wrap {
    text-align: center;
    font-size: 150%;

}

.back-wrap a {
    display: inline-block;
    margin: 0 auto;
    border-bottom: 1px solid #B62C81;
    color: #B62C81;
}

#header {
    margin-bottom: 0;
}

.nearby-store-list-link {
    position: relative;
    display: block;
    text-align: center;
}

/* 現在地・ナビゲーション矢印 */
.nearby-store-list-link::after {
    content: "";
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: #B62C81;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
}

.nearby-title {
    font-weight: bold;
    font-size: 180%;
    line-height: 1.6;
    margin-bottom: 50px;
}

.nearby-title span {
    display: block;
    font-size: 0.7em;
}

/* =========================================
   市町村選択後：店舗絞り込み検索
========================================= */

.store-filter-wrap {
    width: 100%;
    margin: 28px 0 24px;
}

/* 検索窓のラベル */
.store-filter-label {
    display: block;
    margin: 0 0 8px;
    color: #c02679;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
}

/* 検索窓 */
.store-filter-input {
    display: block;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 44px 0 16px;
    border: 1px solid #c02679;
    border-radius: 10px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 検索窓フォーカス時 */
.store-filter-input:focus {
    border-color: #c02679;
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 38, 121, 0.12);
}

/* placeholder */
.store-filter-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* 検索窓右側の虫眼鏡アイコン */
.store-filter-wrap {
    position: relative;
    margin: 0 auto;
    width: 94%;
}

.store-filter-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 42px;
    width: 14px;
    height: 14px;
    border: 2px solid #c02679;
    border-radius: 50%;
    pointer-events: none;
}

.store-filter-wrap::before {
    content: "";
    position: absolute;
    right: 12px;
    top: 56px;
    width: 8px;
    height: 2px;
    background-color: #c02679;
    transform: rotate(45deg);
    pointer-events: none;
}

/* 表示店舗数 */
.store-result-count {
    margin: 12px 0 0;
    color: #333;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}

/* 該当なし表示 */
.store-filter-empty {
    margin: 24px 0;
    padding: 18px 12px;
    border-radius: 10px;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    text-align: center;
    width: 94%;
    margin: 0 auto;
}

main.top h3.strong {
    padding: 0;
    background: none;
    margin-bottom: 0px;
}

.select-guide-inner {
    margin: 16px 0 0;
    text-align: center;
    color: #666;
}

.store-select-prompt {
    margin: 16px 0 0;
    text-align: center;
    color: #666;
    font-size: 20px;
    line-height: 1.95;
}

@media (max-width: 640px) {
    .store-select-prompt {
        font-size: 16px;
        line-height: 1.75;
    }
}



.store-search-guide {
    margin-bottom: 2rem;
}

#selectedStoreList {
    margin: 0 auto 50px;
}