/* =========================================================
   コンテナ全体
========================================================= */
.spot-area-container {
    width: 100%;
    margin: 0 auto;
    padding-left: 180px;
    padding-right: 180px;
}

.spot-breadcrumb {
    text-align: right;
    font-size: 12px;
    color: #888888;
    font-weight: 500;
    margin-top: 93px;
    margin-right: 16px;
}

/* =========================================================
   タイトル
========================================================= */
.spot-area-title {
    font-size: 48px;
    font-weight: 700;
    color: #7FB2F1;
    text-align: center;
    margin-top: 58px;
    margin-bottom: 64px;
}

.spot-area-title span {
    display: inline;
}

/* =========================================================
   検索ボックス
========================================================= */
.spot-area-search-wrap {
    text-align: center;
    margin-bottom: 79px;
}

.spot-area-search-box {
    display: inline-flex;
    align-items: center;
}

.spot-area-search-input {
    width: 378px;
    height: 59px;
    font-size: 18px;
    font-weight: 700;
    border: 1px solid #646464;
    border-radius: 10px 0 0 10px;
    padding-left: 20px;
}

.spot-area-search-input::placeholder {
    color: #C7C7C7;
    text-align: left;
}

.spot-area-search-btn {
    width: 113px;
    height: 59px;
    background: #2B9B7D;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

/* =========================================================
   ドロップダウン + カテゴリメニュー
========================================================= */
.spot-area-select-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F4F4F4;
    height: 64px;
    padding-left: 180px;
    padding-right: 180px;
}

.spot-area-select-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.spot-area-select-label {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    white-space: nowrap;
}

.spot-area-select {
    width: 148px;
    height: 40px;
    padding: 0 40px 0 12px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #CBCBCB;
    border-radius: 4px;
    background: #FFFFFF;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23646464' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding-left: 16px;
    padding-right: 40px;
    background-position: right 16px center;
}

.spot-area-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 400;
}

.spot-area-category span {
    cursor: pointer;
    white-space: nowrap;
}

.spot-area-category span:not(:last-child)::after {
    content: "　／　";
}

.spot-area-category a {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 12px;
    color: #222222;
    text-decoration: none;
}

.spot-area-category a.active {
    color: #7FB2F1;
    font-weight: 700;
}

.spot-count-top {
    margin-top: 60px;
    font-size: 17px;
    color: #222222;
    font-weight: 700;
}

.spot-count-top-number {
    font-size: 32px;
    color: #7FB2F1;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}

/* =========================================================
   施設カード一覧
========================================================= */
.spot-list {
    display: grid;
    grid-template-columns: repeat(3, 380px);
    justify-content: space-between;
    gap: 40px 40px;
    margin-top: 40px;
}

.spot-card {
    width: 380px;
    padding: 0 0 20px 0;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
}

.spot-card-img-wrap {
    position: relative;
}

.spot-card-img {
    display: block;
    width: 380px;
    height: 284px;
    object-fit: cover;
}

.spot-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #7FB2F1;
    color: #FFFFFF;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 5;
    margin: 0;
}

.spot-card-more {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 20px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #2B9B7D;
    z-index: 10;
    padding-right: 0;
}

.spot-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin-top: 16px;
}

.spot-card-address {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin-top: 10px;
    position: relative;
    padding-left: 18px;
}

.spot-card-address::before {
    content: url('data:image/svg+xml,%3Csvg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23EB8E22" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M21 10c0 6-9 13-9 13s-9-7-9-13a9 9 0 1118 0z"/%3E%3Ccircle cx="12" cy="10" r="3"/%3E%3C/svg%3E');
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.spot-card-desc {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin-top: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
   下部件数 + ナビ
========================================================= */
.spot-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 200px;
    margin-bottom: 38px;
    width: 100%;
}

.spot-count-bottom {
    margin: 0;
    font-size: 18px;
    color: #222222;
    font-weight: 700;
}

.spot-count-bottom-number {
    font-size: 51px;
    color: #7FB2F1;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}

.spot-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.spot-bottom-nav .dot {
    width: 8px;
    height: 8px;
    background: #2B9B7D;
    border-radius: 50%;
}

.bottom-nav-text {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    white-space: nowrap;
}

.nav-link {
    color: #2B9B7D;
    text-decoration: none;
    font-weight: 700;
}

.nav-link:hover {
    text-decoration: underline;
}

.disabled-nav {
    color: #C7C7C7;
    font-weight: 700;
}

/* =========================================================
   カテゴリトグル（SP用）
========================================================= */
.category-toggle-btn,
.sp-category-menu {
    display: none;
}

/* =========================================================
   PC（1025px以上）
========================================================= */
@media (min-width: 1025px) {
    .spot-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        justify-content: center;
        margin-top: 40px;
        padding-left: 0;
        padding-right: 0;
    }

    .spot-card {
        width: 100%;
        max-width: 360px;
    }

    .spot-card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 380 / 284;
        object-fit: cover;
    }

    .spot-area-category:not(.sp-category-menu) a:not(:last-child)::after {
        content: "　／";
        color: #222222;
    }
}

/* =========================================================
   タブレット（769px〜1024px）
========================================================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .spot-area-container {
        padding-left: 64px;
        padding-right: 64px;
    }

    .spot-area-title {
        font-size: 36px;
        margin-top: 40px;
        margin-bottom: 48px;
    }

    .spot-area-search-input {
        width: 280px;
        height: 50px;
        font-size: 16px;
    }

    .spot-area-search-btn {
        width: 100px;
        height: 50px;
        font-size: 16px;
    }

    .spot-area-select-row {
        padding-left: 64px;
        padding-right: 64px;
        gap: 12px;
    }

    .spot-area-category {
        font-size: 15px;
    }

    .spot-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 30px;
        justify-content: center;
    }

    .spot-card {
        width: 100%;
        max-width: 360px;
    }

    .spot-card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 380 / 284;
        object-fit: cover;
    }

    .spot-bottom-row {
        flex-direction: row;
        justify-content: space-between;
        margin-top: 60px;
    }

    .spot-count-bottom-number {
        font-size: 40px;
    }

    .bottom-nav-text {
        font-size: 16px;
    }
}

/* =========================================================
   スマホ（〜768px）
========================================================= */
@media (max-width: 768px) {
    .spot-area-container {
        padding-left: 32px;
        padding-right: 32px;
        text-align: center;
    }

    .spot-breadcrumb {
        text-align: center;
        font-size: 12px;
        margin-top: 30px;
    }

    .spot-area-title {
        font-size: 24px;
        line-height: 1.3;
        text-align: center;
    }

    .spot-area-title span {
        display: block;
    }

    .title-line1 {
        margin-bottom: 8px;
    }

    .spot-area-search-box {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        height: 46px;
        gap: 0;
    }

    .spot-area-search-input {
        width: calc(100% - 113px);
        max-width: none;
        border-radius: 10px 0 0 10px;
        font-size: 12px;
    }

    .spot-area-search-btn {
        width: 113px;
        max-width: none;
        border-radius: 0 10px 10px 0;
        font-size: 16px;
    }

    .spot-area-select-row {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .spot-area-select-label {
        display: none;
    }

    .spot-area-select {
        flex: 1;
    }

    .category-toggle-btn {
        flex: 0 0 auto;
        width: 166px;
        height: 40px;
        background: #FFFFFF;
        color: #7FB2F1;
        font-size: 13px;
        font-weight: 700;
        border: 1px solid #7FB2F1;
        border-radius: 20px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin-left: auto;
    }

    .spot-area-select-row .spot-area-category {
        display: none !important;
    }

    .spot-area-category {
        margin-left: 32px;
        margin-right: 32px;
        display: none;
        flex-direction: column;
        font-size: 16px;
        gap: 12px;
        padding: 16px;
        background: #F4F4F4;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .spot-area-category span:not(:last-child)::after {
        content: "";
    }

    .sp-category-menu {
        margin-left: 32px;
        margin-right: 32px;
        display: none;
        flex-direction: column;
        gap: 12px;
        background: #F4F4F4;
        padding: 16px;
        border-radius: 8px;
        margin-top: 12px;
    }

    .sp-category-menu.open {
        display: flex;
    }

    .sp-category-menu a {
        display: block;
        width: 100%;
        padding: 10px 14px;
        background: #FFFFFF;
        border: 1px solid #7FB2F1;
        border-radius: 6px;
        color: #7FB2F1;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
    }

    .spot-list {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 20px;
    }

    .spot-card {
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid #CCCCCC;
    }

    .spot-card-img-wrap {
        position: relative;
        width: 100%;
    }

    .spot-card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
        display: block;
    }

    .spot-card-tag {
        z-index: 2;
    }

    .spot-card-title,
    .spot-card-address,
    .spot-card-desc {
        text-align: left;
    }

    .spot-card-title {
        font-size: 20px;
    }

    .spot-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 80px;
    }

    .spot-count-bottom-number {
        font-size: 32px;
    }

    .spot-bottom-nav {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 0;
        padding-right: 0;
    }

    .spot-bottom-nav .dot {
        font-size: 20px;
        color: #7FB2F1;
    }

    .bottom-nav-text {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
        padding: 0 16px;
    }

    .bottom-nav-text .nav-link:first-child,
    .bottom-nav-text .disabled-nav:first-child {
        margin-right: auto;
    }

    .bottom-nav-text .nav-link:last-child,
    .bottom-nav-text .disabled-nav:last-child {
        margin-left: auto;
    }

    .bottom-nav-text .page-count {
        margin: 0 auto;
        white-space: nowrap;
    }
}
