@charset "utf-8";
/*共通設定*/
/*終わり*/  


/*<section class="under-fv">*/
.under-fv {
    background-image: url(../img/news/fv.png);
    height: calc(50vh - 80px);
}
/*終わり*/


/*<section class="archive">*/
.cate-btn-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sp-only { 
    display: none; 
}

.cate-btn {
    padding: 4px 24px;
    border-radius: 8px;
    border: solid 2px #81CBC7;
    color: #81CBC7;
    transition: 0.2s;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cate-btn:hover {
    cursor: pointer;
    opacity: 0.8;
    background-color: #81CBC7;
    color: #fff;
}

.cate-btn.selected {
    background-color: #81CBC7;
    color: #fff;
}

.archive-wrap {
    margin-top: 64px;
}

.archive-area {
    display: none;
}

.archive-area.show {
    display: block;
}

.archive-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.archive-con {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.archive-thumb-wrap {
    max-width: 240px;
    width: 100%;
    height: 160px;
}

.archive-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.archive-txt-wrap {
    width: calc(100% - 280px);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.archive-date {
    font-size: 14px;
}

.archive-cate {
    background-color: #81CBC7;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    padding: 0 8px;
}

.archive-title {
    padding-right: 24px;
}

.archive-arrow {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    position: absolute;
    top: 45%;
    right: 16px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 0.5em;
    height: 0.5em;
    transform: translateX(-25%) rotate(45deg);
}

.archive-arrow::before,
.archive-arrow::after {
    content: '';
    position: absolute;
    background-color: #81CBC7;
    border-radius: 0.1em;
}

.archive-arrow::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0.1em;
}

.archive-arrow::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.1em;
}

.next-prev {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.prev-news,
.next-news {
    position: relative;
    background-color: #81CBC7;
    color: #fff;
    max-width: 160px;
    width: 100%;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    transition: 0.2s;
}

.prev-news:hover,
.next-news:hover {
    cursor: pointer;
    opacity: 0.8;
}

.prev-arrow,
.next-arrow {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    width: 0.5em;
    height: 0.5em;
}

.prev-arrow {
    transform: translateX(-25%) rotate(-135deg);
    left: 16px;
}

.next-arrow {
    transform: translateX(-25%) rotate(45deg);
    right: 16px;
}

.prev-arrow::before,
.prev-arrow::after,
.next-arrow::before,
.next-arrow::after {
    content: '';
    position: absolute;
    background-color: #fff;
    border-radius: 0.1em;
}

.prev-arrow::before,
.next-arrow::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0.1em;
}

.prev-arrow::after,
.next-arrow::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.1em;
}

.cta {
    padding-top: 40px;
}
/*終わり*/


/*タブレット*/
@media (max-width: 1024px) {  
/*共通設定*/
/*終わり*/  


/*<section class="under-fv">*/
    .under-fv {
        height: calc(40vh - 80px);
    }
/*終わり*/
}
  
  
/*スマホ*/
@media (max-width: 599px) {
/*共通設定*/
/*終わり*/ 


/*<section class="archive">*/
    .archive {
        padding-bottom: clamp(40px, 80vw / 5.99, 80px);
    }

    .cate-select-wrap {
        text-align: center;
    }

    .cate-select-wrap select {
        width: 80%;
        padding: 4px 8px;
        border-radius: 8px;
        border: solid 2px #81CBC7;
        color: #19A199;
        transition: 0.2s;
        font-size: 16px;
        font-family: "Noto Sans JP", sans-serif;
    }

    .pc-only { 
        display: none; 
    }

    .sp-only { 
        display: block; 
    }

    .archive-wrap {
        margin-top: clamp(40px, 64vw / 5.99, 64px);
    }

    .archive-con {
        flex-direction: column;
        gap: 16px;
    }

    .archive-thumb-wrap {
        max-width: none;
        height: clamp(160px, 240vw / 5.99, 240px);
    }

    .archive-txt-wrap {
        width: 100%;
    }

    .archive-title {
        padding-right: 0;
    }

    .archive-arrow {
        display: none;
    }

    .next-prev {
        margin-top: clamp(48px, 80vw / 5.99, 80px);
        gap: 16px;
    }
/*終わり*/ 
}
