@charset "UTF-8";
/* ------------------------------------------------------
 * archive
 * ------------------------------------------------------ */

/* ------------------------------------------------------
 * heading
 * ------------------------------------------------------ */

 /* title*/
.c-archive-description {
    position: relative;
    margin: 20px auto 0;
    padding: 10px;
    background: var(--color-washi);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

/* 絞込検索 */
.c-filter-title {
    text-align: center;
    font-size: 1.15rem;
}

.c-filter-menu {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.c-dropdown {
    position: relative;
}

.c-dropdown__btn {
    position: relative;
    width: 100%;
    min-width: 240px;
    min-height: 50px;
    padding: 10px 15px;
    background-color: var(--color-white);
    border: 1px solid var(--color_border);
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
}

.c-dropdown__btn::after {
    content: '\e910';
    position: absolute;
    right: 15px;
    font-family: icomoon;
}

.c-dropdown__content {
    display: none;
    position: relative;
    width: 100%;
    margin-top: 10px;
    padding: 25px;
    background-color: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.c-dropdown__content-title {
    text-align: center;
}

.c-dropdown__content label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.c-dropdown.open .c-dropdown__btn {
    background: #333;
    border-color: transparent;
    color: var(--color-white);
}

.c-dropdown.open .c-dropdown__content {
    display: block;
}

.c-dropdown__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--color-light-gray2);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;  
    line-height: 1;
}

.c-dropdown__close-btn:hover {
    color: #000;
}

.c-keyword__input[type=text] {
    min-width: 320px;
    width: 100%;
    min-height: 50px;
    padding: 10px 15px;
    background-color: var(--color-white);
    border: 1px solid var(--color_border);
    border-radius: 25px;    
    font-size: 1rem;
}

.c-search {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 280px;
    margin: 30px auto 0;
}

.c-search__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    background: #333;
    border-radius: 25px;
    color: var(--color-white);
}

.c-reset-filters {
    text-align: center;;
}

.c-search__reset {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-size: .9rem;
}

.c-dropdown__area {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 460px;
    overflow-x: scroll;
}

.c-dropdown__area-map {
    position: relative;
    max-width: 530px;
    width: 100%;
}

.c-dropdown__area-map::before {
    z-index: -1;
    content:'';
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background:#efefef;
    border-radius: 15px;
}

.c-dropdown__area-name {
    width: 100%;
}

.c-dropdown__area-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 30px;
}

.c-dropdown__area-name .filter-button {
    padding: 3px 15px;
    background: var(--color-white);
    border-radius: 20px;
    font-weight: bold;
}

.filter-button.fukui-area.active {background: #d4717c;}
.filter-button.okuetsu-area.active {background: #5757a5;}
.filter-button.awara-sakai-area.active {background: #d58157;}
.filter-button.tannan-area.active {background: #8eb454;}
.filter-button.wakasaji-area.active {background: #65afbe;}

.filter-button.active {
    border: 1px solid transparent;
    color: var(--color-white);
    transition:.5s;
}

.c-dropdown__area-name dt:nth-child(n+2) {
    margin-top: 1rem;
}

.c-dropdown__area-name dd {
    margin-top: 0.5rem;
}

.c-dropdown__area-name p {
    font-size: .9rem;
    font-weight: 400;
}

.child-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 0 15px;
    margin-left: 20px;
}

.parent-term label {
    font-weight: bold;
}

.child-terms label {
    font-weight: 400;
}

/**/
.area-map__path {
    fill:var(--color-light-gray);
    stroke: var(--color-white);
    stroke-width: 2px;
}

.area-map__link.selected .area-map__path {transition: .5s;}
.area-map__link.selected .area-map__path--okuetsu {fill: #9d9dcd;}
.area-map__link.selected .area-map__path--awara-sakai {fill: #eba582;}
.area-map__link.selected .area-map__path--fukui {fill: #e38f99;}
.area-map__link.selected .area-map__path--tannan {fill: #bbd594;}
.area-map__link.selected .area-map__path--wakasaji {fill: #8ec1cb;}

.area-map__link.selected .area-map__label--okuetsu {fill: #5757a5;}
.area-map__link.selected .area-map__label--awara-sakai {fill: #d58157;}
.area-map__link.selected .area-map__label--fukui {fill: #d4717c;}
.area-map__link.selected .area-map__label--tannan {fill: #8eb454;}
.area-map__link.selected .area-map__label--wakasaji {fill: #65afbe;}

.area-map__label-text,
.area-map__link.selected .area-map__label-text {fill: var(--color-white);}

/**/
.c-date-filter__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.c-date-filter__input {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.c-date-filter__input label {
    margin-bottom: 0;
}

/* filter-list */
.c-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
    padding: 10px;
    border: 1px solid gray;
    background: var(--color-white);
}

.c-filter-item {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.c-filter-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width:15px;
    height: 15px;
    padding: 15px;
    background: #333;
    border-radius: 50%;
    color: var(--color-white);
}


/* result */
.c-result {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2rem;
}

.c-result-count {
    text-align: center;
    line-height: 1.6;
}

.c-result-count span {
    margin-right: 5px;
    font-size: 2.4rem;
}

/* result-button */
.c-result-sort,
.c-result-style {
    display: flex;
    gap: 5px;
    align-items: center;
}

.c-result-style {
    display: none;
}

.sort-link-button,
.view-switch-button {
    display: inline-block;
    padding: 5px 15px;
    margin: 0 0 0 ;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 1rem;
    cursor: pointer;
}

.sort-link-button:hover,
.view-switch-button:hover {
    background-color: #333;
    color: var(--color-white);
    border-color: #333;
}

.sort-link-button.active,
.view-switch-button.active {
    background-color: #333;
    color: var(--color-white);
    border-color: #333;
}

/* result-list */
.p-postList.list-view {
    flex-direction: column;
}

#c-result-list.list-view .c-result-list__item {
    display: flex;
    width: 100%;
}

/* post */
.p-postList.-type-card {
    margin-top: 2rem;
}

.p-postList__item {
    position: relative;
}

.p-postCard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* event*/
.c-linkButton.-ghost {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 9999px;
    background-color: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.c-linkButton.-ghost:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

/* favorite(page-favorite.php) */
.p-share {
    max-width: 720px;
    margin: 40px auto;
    padding: 32px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.p-share__title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.p-share__sns {
    margin-bottom: 32px;
}

.p-share__snsList {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.p-share__snsItem {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--color-white);
}

.p-share__snsItem img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.p-share__url textarea {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    background: var(--color-white);
}

.p-share__buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.p-share__buttons .c-button {
    background: #e5e5e5;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.p-share__buttons .c-button:hover {
    background: #d4d4d4;
}


/* ------------------------------------------------------
 * 600px
 * ------------------------------------------------------ */
@media screen and (min-width:600px) { 
    .p-share {
        padding: 48px;
    }
}

/* ------------------------------------------------------
 * 960px
 * ------------------------------------------------------ */
@media screen and (min-width:960px) { 

    /* title*/
    .p-archiveContent::before {
        padding-top: calc(80 / 1280 * 100%);
        background-image: url(../../images/common/bg_wave_washi.svg);
    }

    /* 絞込検索 */
    .c-filter-menu {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 20px;
    }

    .c-dropdown {
        position: initial;
    }

    .c-dropdown__content {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 95vw;
        max-width: calc(var(--container_size, 0px) + var(--swl-pad_container, 0px)*2);
        padding: 60px 40px;
    }

    .c-dropdown__area {
        flex-wrap: wrap;
        flex-direction: row;
        max-height: initial;
        overflow-x: auto;
    }

    .c-dropdown__area-map {
        max-width: 530px;
        width: 40%;
    }

    .c-dropdown__area-name {
        width: 60%;
        padding-left: 20px;
    }

    .c-dropdown__area-list {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 20px;
    }

    .parent-term {
        width: calc(20% - 20px);
    }

    .c-date-filter__wrapper {
        flex-direction: row;
        gap: 2rem;
    }

    /* result */
    .c-result {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;;
        gap: 30px;
    }

    .c-result-count {
        margin-right: auto;
    }

    .c-result__label {
        margin-right: 10px;
    }

}