@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* TOP:施工事例 */
.home .latest-case-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 3.125em;
    flex-wrap: wrap;
    background-color: #fefaf7;
    padding: 40px 0;
}

.home .case-card {
    background-color: #fff;
    width: calc(33.333% - 3.125em);
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.home .case-thumb img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.home .case-content {
    padding: 16px;
    font-family: sans-serif;
    color: #460001;
    width: 100%;
}

.home .case-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.home .case-cat {
    margin-bottom: 10px;
}

.home .case-cat a {
    text-decoration: none;
}

.home .case-cat-label {
    display: inline-block;
    font-size: 8px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 10px;
    margin-right: 5px;
    background-color: #AE0205;
    color: #fff;
}

.home .case-meta {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.home .case-more {
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(60%);
}

.home .case-more a {
    display: inline-block;
    align-self: flex-end;
    margin-top: auto;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #460001;
    color: #fff;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.home .case-more a:hover {
    background-color: #AE0205;
}

@media screen and (max-width: 960px) {
    .home .case-card {
        width: 100%;
    }
}

/* 左上ヘッダー */

html[data-spmenu="closed"] #spheader_menu {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

html[data-spmenu="opened"] #spheader_menu {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

html[data-spmenu="closed"] #spheader_menu .p-spMenu__inner {
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

html[data-spmenu="opened"] #spheader_menu .p-spMenu__inner {
    transform: translateX(0);
    transition: transform 0.4s ease-out;
}

html[data-spmenu="closed"] #spheader_menu .c-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

html[data-spmenu="opened"] #spheader_menu .c-overlay {
    opacity: 0.6;
    pointer-events: auto;
    transition: opacity 0.4s ease;
}




#spheader_menu .p-spMenu__closeBtn {
    left: 0;
    height: var(--logo_size_sp);
    position: absolute;
    top: 0;
    width: var(--logo_size_sp);
    z-index: 1;
}

#spheader_menu .c-iconBtn {
    align-content: center;
    align-items: center;
    color: inherit;
    display: inline-flex;
    flex-wrap: wrap;
    height: 100%;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

#spheader_menu .c-plainBtn {
    appearance: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

#spheader_menu .p-spMenu__closeBtn .c-iconBtn__icon {
    font-size: 20px;
}

#spheader_menu .c-iconBtn__icon {
    display: block;
}

#spheader_menu .p-spMenu__body {
    position: relative;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    overflow-y: scroll;
    padding: 0 4vw 10vw;
}

#spheader_menu .c-widget__title.-spmenu {
    padding: .5em .75em;
    border-radius: var(--swl-radius--2, 0px);
}

#spheader_menu .-spmenu::after {
    position: absolute;
    content: "";
    width: 30%;
    height: 3px;
    background-color: #460001;
    bottom: -1.5px;
    left: 50%;
    transform: translatex(-50%);
}

#spheader_menu .p-spMenu__nav {
    margin-top: -1em;
    padding-bottom: .5em;
}

#spheader_menu .c-listMenu {
    text-align: center;
}

#spheader_menu .c-spnav {
    width: 60%;
    margin: 0 auto;
    display: block;
}

#sp_menu {
    display: none !important;
}

.case-archive-category-wrap {
    justify-content: center;
}

.case-category-buttons {
    display: flex;
    justify-content: center;
}

/* 施工事例アーカイブページのスタイル */

.case-archive-container-inner {
    padding: 8% 4% 0 4% !important;
}

.page_title_dot .swl-fz {
    font-size: 2.5rem;
}

.case-archive-container-inner .page_title_dot {
    text-align: center;
}

.case-archive-container-inner .is-style-section_ttl {
    margin-bottom: 4em;
}

.case-single-container {
    max-width: 1200px;
    margin: 0 auto;
    color: #460001;
}

/* タイトル */
.case-title {
    font-size: 1.875rem;
    margin-bottom: 30px;
    text-align: left;
    font-weight: bold;
}

.case-title-heading {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
    color: #333;
    font-size: 1.875rem;
}

/* カテゴリーボタン群 */
.case-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: left;
}

/* カテゴリーボタン */
.case-archive-category-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.case-cat-button {
    padding: 8px 16px;
    border-radius: 41px;
    background: #865859;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.case-cat-button.is-active {
    background: #AE0205;
}

.case-category-btn:hover {
    background-color: #460001;
}

/* 投稿一覧 */
.case-archive-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.case-card {
    display: flex;
    gap: 20px;
    align-items: center;
}

.case-card-thumb {
    text-align: center;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;

}

.case-card-thumb img {
    max-width: 200px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.case-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.case-card-date {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
}

.case-card-cat {
    margin-bottom: 8px;
}

.case-cat-badge {
    display: inline-block;
    background: #AE0205;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: 6px;
    text-decoration: none;
}

.case-card-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 0;
}

.case-card-title a {
    text-decoration: none !important;
}

/* ページネーション */
.case-pagination {
    text-align: center;
}

.case-pagination .page-numbers {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border: 1px solid #460001;
    border-radius: 50%;
    text-align: center;
    margin: 0 5px;
    font-weight: bold;
    color: #460001;
    text-decoration: none;
    transition: 0.3s ease;
}

.page-numbers:hover {
    background-color: #AE0205;
    color: #fff;
    border-color: #AE0205;
}

.page-numbers.current {
    background-color: #AE0205;
    color: #fff;
    border: none;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
    .case-archive-container-inner {
        padding: 13% 4% 0 4% !important;
    }

    .case-image-label {
        font-size: 14px;
    }

    .case-navigation {
        gap: 15px;
    }

    .case-pagination .page-numbers {
        width: 53px;
        height: 53px;
        line-height: 53px;
    }


    .case-cat-button {
        font-size: 10px;
    }

    .case-archive-posts {
        gap: 30px;
        grid-template-columns: 1fr;
    }

    .post-type-archive-voice .case-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .case-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-type-archive-voice .case-card-thumb {
        width: 30%;
    }


    .case-card-thumb img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .case-cat-badge {
        font-size: 8px;
    }

    .case-card-title {
        font-size: 1.125rem;
    }


    .case-single-container .p-blogParts {
        /* padding-left: 20px !important;
        padding-right: 20px !important; */
    }
}

@media (max-width: 700px) {
    .case-archive-container-inner {
        padding: 33% 4% 0 4% !important;
    }
}

/* 施工事例個別ページのスタイル */
.case-category-btn {
    background-color: #AE0205;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 41px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Before/After画像 */
.case-before-after {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.case-image-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}

/* ACF項目 */
.case-details {
    margin-bottom: 40px;
}

.case-detail-item {
    margin-bottom: 30px;
    padding: 20px 20px 0 20px;
}

.case-detail-highlight .case-detail-title {
    background-color: #460001;
    color: #ffffff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 16px;
}

.case-detail-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.case-detail-content {
    margin: 0;
    color: inherit;
    font-weight: 500;
}

.case-detail-highlight .case-detail-content {
    font-size: 14px;
}

/* リフォーム相談ボタン */
.case-request-button {
    text-align: center;
    margin-bottom: 40px;
    max-width: 294px;
    position: relative;
}

.case-request-button a::after {
    position: absolute;
    content: "リフォーム相談をする";
}

.paint_button_request_btn:hover {
    background-color: #660002;
    color: white;
}

/* 前後の記事リンク */
.case-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
}

.single-post .case-navigation {
    margin-top: 40px;

}

.case-nav-prev,
.case-nav-next {
    flex: 1;
    max-width: 48%;
}

.case-nav-prev {
    text-align: left;
}

.case-nav-next {
    text-align: right;
}

.case-nav-prev a,
.case-nav-next a {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.case-nav-prev a:hover,
.case-nav-next a:hover {
    color: #660002;
}

.case-single-container .w-beforeFooter {
    margin-top: 0;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
    .case-detail-item {
        padding-left: 0;
    }

    .case-detail-title {
        font-size: 1.125rem;
    }

    .case-detail-content {
        font-size: 1rem;
    }

    .case-image-wrapper {
        min-width: auto;
    }

}

/* 投稿内容 */
.voice-content-grid {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin: 0 auto 3em 0;
}

.voice-image {
    text-align: center;
}

.voice-image,
.voice-details {
    width: 48%;
}

.voice-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.voice-detail-item {
    margin-bottom: 20px;
}

.voice-detail-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.voice-detail-content {
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

.swell-block-button {
    margin: 0 atuo;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
    .voice-content-grid {
        flex-direction: column;
    }

    .voice-title {
        font-size: 1.25rem;
    }

    .voice-image,
    .voice-details {
        width: 100%;
    }
}


/* ブログアーカイブページのスタイル */
.blog-thumb img {
    width: 100%;
}


/* タイトル */
.blog-thumb {
    width: 100%;
    margin-bottom: 54px;
}

.blog-thumb-content {
    font-size: 1.125rem;
}

/* 自作ファイル用CSS_アーカイブ等 */

.case-single-container-inner {
    padding: 17% 7.14% 0 7.14%;
    color: #460001;
}


.case-contents {
    margin-bottom: 3em;
}

.case-single-container-inner .nav-icon-prev-title,
.case-single-container-inner .nav-icon-next-title {
    margin-bottom: 0 !important;
}