@charset "utf-8";
#two-colum-area {
    width: 100%;
    height: 100%;
    padding-top: var(--header-height);
    padding-top: calc(var(--header-height) + 60px);
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 120px;
    .two-colum-container {
        display: grid;
        grid-template: "heading heading" auto "sidebar main" auto / 25% 75%;
        max-width: 1300px;
        width: 100%;
        height: auto;
        margin: auto;
        #page-heading {
            grid-area: heading;
        }
        #sidebar {
            grid-area: sidebar;
        }
        #archive-area,
        .single-area {
            grid-area: main;
        }
    }
}

@media screen and (max-width: 900px) {
    #two-colum-area {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
        padding-top: calc(var(--header-height) + 20px);
        .two-colum-container {
            grid-template: "heading heading" auto "main main" auto "sidebar sidebar" auto / 25% 75%;
            max-width: 420px;
            width: 100%;
            #page-heading {
                grid-area: heading;
            }
            #sidebar {
                grid-area: sidebar;
            }
            #archive-area,
            .single-area {
                grid-area: main;
            }
        }
    }
}

#sidebar {
    position: relative;
    width: 100%;
    padding-right: 40px;
}

.category-area {
    margin-top: 10px;
}

.category-area h3 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 5px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.category-list li {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    padding-left: 20px;
    transition: opacity .3s ease;
    color: var(--blue-color);
}

.category-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    width: 5px;
    height: 8px;
    aspect-ratio: 1/1;
    background-color: var(--blue-color);
}

.tag-area {
    margin-top: 80px;
}

.tag-area h3 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 5px;
}

.tag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.tag-list li {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    padding-left: 20px;
    color: var(--blue-color);
    transition: opacity .3s ease;
}

.tag-list li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    width: 5px;
    height: 8px;
    aspect-ratio: 1/1;
    background-color: var(--blue-color);
}

@media screen and (min-width: 900px) {
    #sidebar .back-btn a:hover {
        color: #fff;
        font-weight: 300;
    }
    #sidebar .back-btn a:hover::before {
        width: 100%;
    }
    .category-list li:hover,
    .tag-list li:hover {
        opacity: .6;
    }
}

@media screen and (max-width: 900px) {
    #sidebar {
        padding-right: 0;
    }
    .sidebat-container {
        position: relative;
        top: auto;
        left: auto;
    }
    .category-area {
        margin-top: 60px;
    }
    .category-area h3 {
        font-size: 20px;
    }
    .category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 11px;
        list-style: none;
    }
    .category-list li {
        font-size: 14px;
        padding: 4px 15px;
        text-wrap: nowrap;
        transform: translateX(0);
    }
    .tag-area {
        margin-top: 40px;
    }
    .tag-area h3 {
        font-size: 20px;
    }
    .tag-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 11px;
    }
    .tag-list li {
        font-size: 14px;
        text-wrap: nowrap;
        padding-left: 15px;
    }
}

.archive-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.6;
}

.archive-list {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 0;
    margin: 30px auto 0 auto;
    .archive-item {
        width: 48%;
        height: auto;
        box-shadow: 0 0 12px #00000030;
        background-color: #fff;
        .archive-link {
            position: relative;
            padding: 60px 30px 30px 30px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            .label {
                display: block;
                position: absolute;
                top: 0;
                left: 30px;
                font-size: 16px;
                font-weight: 500;
                color: #fff;
                padding: 10px 20px;
                background-color: var(--blue-color);
            }
            h3 {
                font-size: 26px;
                font-weight: 700;
            }
            .archive-content {
                width: 100%;
                height: auto;
                display: flex;
                justify-content: space-between;
                align-items: start;
                img {
                    width: 48%;
                    height: fit-content;
                    aspect-ratio: 2.6 / 1.7;
                    object-fit: cover;
                }
                .textarea {
                    width: 48%;
                    height: auto;
                    p {
                        font-size: 16px;
                        line-height: 1.8;
                        font-weight: 500;
                        color: var(--blue-color);
                    }
                    dl {
                        margin-top: 10px;
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        div {
                            width: 100%;
                            height: auto;
                            display: flex;
                            flex-direction: row;
                            align-items: start;
                            gap: 3px;
                            font-size: 16px;
                            line-height: 1.6;
                            &.area-box {
                                flex-direction: column;
                            }
                            dt {
                                font-weight: 700;
                            }
                            dd {
                                font-weight: 400;
                            }
                        }
                    }
                }
            }
        }
    }
}

.nav-links {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    .page-numbers {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: auto;
        aspect-ratio: 1/1;
        border: 1px solid var(--light-blue-color);
        color: var(--light-blue-color);
        font-size: 18px;
        line-height: 1;
        &.current {
            background-color: var(--light-blue-color);
            color: #fff;
        }
        &.prev,
        &.next {
            display: none;
        }
    }
}

@media screen and (max-width: 1024px) {
    .archive-title {
        font-size: 28px;
    }
    .archive-list {
        gap: 30px 0;
        margin: 30px auto 0 auto;
        .archive-item {
            width: 100%;
            .archive-link {
                padding: 40px 20px 20px 20px;
                gap: 20px;
                .label {
                    left: 20px;
                    font-size: 14px;
                    padding: 6px 10px;
                }
                h3 {
                    font-size: 18px;
                }
                .archive-content {
                    flex-direction: column;
                    gap: 10px;
                    img {
                        width: 100%;
                    }
                    .textarea {
                        width: 100%;
                        p {
                            font-size: 15px;
                        }
                        dl {
                            div {
                                font-size: 15px;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .archive-title-sp {
        display: block;
        font-size: 35px;
        margin-bottom: 25px;
    }
    .archive-list {
        gap: 30px 0;
    }
    .archive-list li {
        width: 100%;
    }
    .article-detail .article-category {
        font-size: 13px;
        padding: 2px 20px;
    }
    .article-detail time {
        font-size: 14px;
    }
    .archive-list li h2 {
        font-size: 22px;
        margin-top: 10px;
    }
    .archive-list li p {
        font-size: 15px;
        line-height: 23px;
    }
    .article-tag-list {
        gap: 8px;
        margin-top: 10px;
    }
    .article-tag-list li {
        width: auto;
    }
    .article-table div {
        border-radius: 10px;
    }
    .article-table div dt {
        padding: 2px 10px;
    }
    .article-table div dd {
        padding: 2px 10px;
    }
}


/* signle-area */

.single-heading {
    display: flex;
    flex-direction: column;
    .single-title {
        font-size: 40px;
        font-weight: 700;
        line-height: 1.6;
    }
    .single-subtitle {
        font-size: 24px;
        font-weight: 500;
        line-height: 1.8;
    }
}

.img-gallery {
    width: 100%;
    height: auto;
    .thumbnails {
        width: 100%;
        height: fit-content;
        margin-top: 30px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        gap: 8px;
        border-radius: 8px;
        overflow: hidden;
        .thumbnail {
            width: 100%;
            overflow: hidden;
            aspect-ratio: 1 / 1;
            cursor: pointer;
            &:nth-of-type(1) {
                grid-area: 1 / 1 / 3 / 3;
            }
            &:nth-of-type(2) {
                grid-area: 1 / 3 / 2 / 4;
            }
            &:nth-of-type(3) {
                grid-area: 1 / 4 / 2 / 5;
            }
            &:nth-of-type(4) {
                grid-area: 2 / 3 / 3 / 4;
            }
            &:nth-of-type(5) {
                grid-area: 2 / 4 / 3 / 5;
            }
            &:nth-of-type(n + 6) {
                display: none;
            }
            &:hover {
                img {
                    transform: scale(1.05);
                }
            }
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: 0.15s;
            }
        }
    }
}

.modal {
    z-index: 99999;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s;
    &.is-active {
        opacity: 1;
        pointer-events: auto;
    }
    .close {
        position: absolute;
        top: 3vw;
        right: 3vw;
        z-index: 1;
        border: none;
        background-color: transparent;
        cursor: pointer;
        &::before {
            content: '×';
            font-size: 3rem;
            color: #fff;
        }
    }
    .background {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        border: none;
        background-color: #000;
        opacity: 0.7;
        cursor: pointer;
    }
    .modal-body {
        max-width: 1000px;
        width: 80%;
        height: 80%;
        padding: 40px;
        .splide {
            width: 100%;
            height: 100%;
            .splide__track {
                position: relative;
                width: 100%;
                height: 100%;
                .splide__slide {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }
            }
            .splide__arrows {
                z-index: 5;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 100%;
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                .splide__arrow--prev,
                .splide__arrow--next {
                    position: relative;
                    width: 36px;
                    height: auto;
                    aspect-ratio: 1/1;
                    border-radius: 5rem;
                    background-color: #fff;
                    &::before {
                        content: '';
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        font-size: 16px;
                        font-weight: 700;
                        width: 10px;
                        height: 10px;
                        border-top: 2.5px solid var(--black-color);
                        border-right: 2.5px solid var(--black-color);
                    }
                    svg {
                        display: none;
                    }
                }
                .splide__arrow--prev {
                    transform: translateX(-150%);
                    &::before {
                        transform: translate(-35%, -50%) rotate(-135deg);
                    }
                }
                .splide__arrow--next {
                    transform: translateX(150%);
                    &::before {
                        transform: translate(-65%, -50%) rotate(45deg);
                    }
                }
            }
            .signle-pagenation {
                transition: all .3s ease;
                &.is-active {
                    background-color: var(--blue-color);
                }
            }
        }
    }
}

.single-detail-area {
    width: 100%;
    height: auto;
    margin-top: 70px;
    h2 {
        font-size: 30px;
        font-weight: 700;
        line-height: 1.6;
    }
    .single-detail {
        margin-top: 30px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 0;
        .sd-item {
            width: 50%;
            height: auto;
            display: flex;
            flex-direction: row;
            gap: 8px;
            font-size: 20px;
            line-height: 1.6;
            dt {
                width: 110px;
                font-weight: 700;
            }
            dd {
                width: calc(100% - 110px);
                font-weight: 500;
            }
        }
        .sd-map {
            width: 100%;
            height: auto;
            display: flex;
            flex-direction: row;
            gap: 8px;
            font-size: 20px;
            line-height: 1.6;
            dt {
                width: 110px;
                font-weight: 700;
            }
            dd {
                width: calc(100% - 110px);
                iframe {
                    width: 100%;
                    height: auto;
                    aspect-ratio: 16 / 9;
                    object-fit: cover;
                }
            }
        }
    }
}

.single-price-area {
    width: 100%;
    height: auto;
    margin-top: 70px;
    h2 {
        font-size: 30px;
        font-weight: 700;
        line-height: 1.6;
    }
    .table-scroll-area {
        display: contents;
        width: 100%;
        height: auto;
        overflow: scroll;
    }
    .single-table {
        margin-top: 30px;
        width: 100%;
        height: auto;
        border-spacing: 5px;
        border-collapse: separate;
        text-align: center;
        thead {
            .thead-item {
                background-color: var(--blue-color);
                color: #fff;
                font-weight: normal;
                font-size: 20px;
                font-weight: 700;
                width: 33%;
                text-align: center;
                padding: 10px;
            }
        }
        tbody {
            td {
                font-size: 20px;
                font-weight: 500;
                padding: 10px;
            }
        }
    }
}

.single-other {
    width: 100%;
    height: auto;
    margin-top: 70px;
    h2 {
        font-size: 30px;
        font-weight: 700;
        line-height: 1.6;
    }
    .so-content {
        margin-top: 30px;
        width: 100%;
        height: auto;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.8;
    }
}

.single-youtube {
    width: 100%;
    height: auto;
    margin-top: 70px;
    h2 {
        font-size: 30px;
        font-weight: 700;
        line-height: 1.6;
    }
    .sy-content {
        margin-top: 30px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        .sy-iframe {
            width: 35%;
            height: auto;
            iframe {
                width: 100%;
                height: auto;
                aspect-ratio: 16 / 9;
                border-radius: 12px;
            }
        }
        .sy-detail {
            width: 62%;
            height: auto;
            img {
                width: 150px;
                height: auto;
            }
            .sy-txt {
                margin-top: 20px;
                font-size: 20px;
                font-weight: 500;
                line-height: 1.8;
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .single-heading {
        .single-title {
            font-size: 26px;
        }
        .single-subtitle {
            font-size: 18px;
        }
    }
    .img-gallery {
        .thumbnails {
            grid-template-rows: auto;
            .thumbnail {
                &:nth-of-type(1) {
                    grid-area: 1 / 1 / 2 / 5;
                    width: 100%;
                    height: auto;
                    aspect-ratio: 16/9;
                }
                &:nth-of-type(2) {
                    grid-area: 2 / 1 / 3 / 2;
                }
                &:nth-of-type(3) {
                    grid-area: 2 / 2 / 3 / 3;
                }
                &:nth-of-type(4) {
                    grid-area: 2 / 3 / 3 / 4;
                }
                &:nth-of-type(5) {
                    grid-area: 2 / 4 / 3 / 5;
                }
                &:hover {
                    img {
                        transform: scale(1.05);
                    }
                }
            }
        }
    }
    .modal {
        .modal-body {
            width: 95%;
            height: auto;
            padding: 20px;
            .splide {
                .splide__arrows {
                    .splide__arrow--prev,
                    .splide__arrow--next {
                        width: 28px;
                        &::before {
                            width: 8px;
                            height: 8px;
                            border-top: 2px solid var(--black-color);
                            border-right: 2px solid var(--black-color);
                        }
                    }
                    .splide__arrow--prev {
                        transform: translateX(-50%);
                        &::before {
                            transform: translate(-35%, -50%) rotate(-135deg);
                        }
                    }
                    .splide__arrow--next {
                        transform: translateX(50%);
                        &::before {
                            transform: translate(-65%, -50%) rotate(45deg);
                        }
                    }
                }
            }
        }
    }
    .single-detail-area {
        margin-top: 50px;
        h2 {
            font-size: 20px;
        }
        .single-detail {
            margin-top: 18px;
            gap: 14px 0;
            justify-content: space-between;
            .sd-item {
                width: 49%;
                flex-direction: column;
                gap: 2px;
                font-size: 14px;
                dt {
                    width: 100%;
                }
                dd {
                    width: 100%;
                }
            }
            .sd-map {
                width: 100%;
                flex-direction: column;
                gap: 6px;
                font-size: 16px;
                dt {
                    width: 100%;
                }
                dd {
                    width: 100%;
                }
            }
        }
    }
    .single-price-area {
        margin-top: 40px;
        h2 {
            font-size: 20px;
        }
        .table-scroll-area {
            display: block;
        }
        .single-table {
            margin-top: 18px;
            width: 700px;
            border-spacing: 5px;
            thead {
                .thead-item {
                    font-size: 16px;
                    padding: 8px;
                }
            }
            tbody {
                td {
                    font-size: 16px;
                    padding: 8px;
                }
            }
        }
    }
    .single-other {
        margin-top: 40px;
        h2 {
            font-size: 20px;
        }
        .so-content {
            margin-top: 18px;
            font-size: 16px;
        }
    }
    .single-youtube {
        margin-top: 40px;
        h2 {
            font-size: 20px;
        }
        .sy-content {
            margin-top: 18px;
            flex-direction: column;
            .sy-iframe {
                width: 100%;
            }
            .sy-detail {
                width: 100%;
                img {
                    margin-top: 10px;
                    width: 130px;
                    height: auto;
                }
                .sy-txt {
                    margin-top: 10px;
                    font-size: 16px;
                }
            }
        }
    }
}