@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
*/

/*
 * 光和工務店：PCヘッダー
 * SWELLの標準ヘッダー構造を維持し、子テーマ側で配置のみ調整。
 */
@media (min-width: 960px) {
    .l-header.-parallel-bottom .l-header__inner {
        display: grid;
        grid-template-columns: minmax(280px, 1fr) minmax(600px, 1.5fr);
        align-items: center;
        max-width: 1180px;
        margin-inline: auto;
        padding: 12px 24px 0;
    }

    .l-header.-parallel-bottom .l-header__logo {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        padding: 16px 0;
        text-align: left;
    }

    .l-header.-parallel-bottom .l-header__logo .c-headLogo.-txt {
        justify-content: flex-start;
    }

    .l-header.-parallel-bottom .l-header__logo .c-catchphrase {
        margin-top: 8px;
        line-height: 1.6;
    }

    .l-header.-parallel-bottom .w-header {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        margin: 0;
        justify-content: flex-end;
    }

    .l-header.-parallel-bottom .w-header__inner {
        width: min(100%, 650px);
    }

    .l-header.-parallel-bottom .w-header .wp-block-columns {
        display: grid;
        grid-template-columns: minmax(210px, 1.3fr) minmax(140px, 1fr) minmax(140px, 1fr);
        gap: 16px;
        align-items: center;
        margin: 0;
    }

    .l-header.-parallel-bottom .w-header .wp-block-column {
        width: auto;
        min-width: 0;
        margin: 0;
    }

    .l-header.-parallel-bottom .w-header p {
        margin: 0;
    }

    .l-header.-parallel-bottom .w-header p:first-child {
        font-size: 26px !important;
        white-space: nowrap;
    }

    .l-header.-parallel-bottom .kouwa-header-phone__number {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        color: #26374c;
        line-height: 1 !important;
    }

    .l-header.-parallel-bottom .kouwa-header-phone__number .icon-phone {
        color: #35a853;
        font-size: 23px;
    }

    .l-header.-parallel-bottom .kouwa-header-phone__hours {
        margin-top: 7px !important;
        color: #3e4650;
        font-weight: 600;
        letter-spacing: .04em;
    }

    .l-header.-parallel-bottom .w-header .swell-block-button {
        margin: 0;
    }

    .l-header.-parallel-bottom .w-header .swell-block-button__link {
        min-width: 0;
        padding-inline: 18px;
        white-space: nowrap;
    }

    .l-header.-parallel-bottom .l-header__gnav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: calc(100vw - var(--swl-scrollbar_width, 0px));
        margin-left: calc(50% - 50vw);
    }

    .l-header.-parallel-bottom .l-header__gnav .c-gnav {
        width: min(100%, 1180px);
        margin-inline: auto;
    }

    .l-header.-parallel-bottom .l-header__gnav .c-gnav > li {
        flex: 1 1 0;
        border-left: 1px solid rgba(255, 255, 255, .72);
    }

    .l-header.-parallel-bottom .l-header__gnav .c-gnav > li:last-child {
        border-right: 1px solid rgba(255, 255, 255, .72);
    }

    .l-header.-parallel-bottom .l-header__gnav .c-gnav > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        height: 58px;
        padding: 0 10px;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
    }
}

/* =========================================================
 * 施工事例アーカイブ
 * ======================================================= */
#body_wrap.category-works #content {
    display: block;
    width: 100%;
    max-width: none;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
}

#body_wrap.category-works #sidebar {
    display: none;
}

#body_wrap.category-works .kouwa-works-archive.l-mainContent {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.kouwa-works-archive {
    --works-green: #72bf91;
    --works-green-dark: #285f50;
    --works-green-soft: #eff9f4;
    --works-border: #d7e9df;
    --works-orange: #f28c28;
    color: #2d3733;
}

.kouwa-works-archive__hero {
    position: relative;
    display: grid;
    min-height: 240px;
    place-items: center;
    overflow: hidden;
    background-image: linear-gradient(100deg, rgba(23, 67, 59, .82), rgba(39, 91, 79, .5)), var(--kouwa-works-hero), linear-gradient(135deg, #6f9489, #9db4ad);
    background-position: center;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.kouwa-works-archive__hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background: rgba(255, 255, 255, .55);
    content: "";
}

.kouwa-works-archive__hero-inner {
    position: relative;
    z-index: 1;
    width: min(92%, 1040px);
}

.kouwa-works-archive__eyebrow,
.kouwa-works-archive__section-label {
    margin: 0 0 14px !important;
    color: var(--works-green-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .22em;
}

.kouwa-works-archive__eyebrow {
    color: #fff;
}

.kouwa-works-archive__hero h1 {
    margin: 0 !important;
    color: #fff;
    font-size: 34px;
    line-height: 1.25;
}

.kouwa-works-archive__lead {
    margin: 22px 0 0 !important;
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 600;
}

.kouwa-works-archive__body {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 88px 0 96px;
}

.kouwa-works-archive__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 42px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--works-border);
}

.kouwa-works-archive__intro > div {
    max-width: 720px;
}

.kouwa-works-archive__intro h2,
.kouwa-works-archive__cta h2 {
    margin: 0 0 18px !important;
    color: var(--works-green-dark);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.4;
}

.kouwa-works-archive__intro p:not(.kouwa-works-archive__section-label),
.kouwa-works-archive__cta p:not(.kouwa-works-archive__section-label) {
    margin: 0 !important;
    line-height: 2;
}

.kouwa-works-archive__count {
    flex: 0 0 auto;
    margin: 0 !important;
    color: var(--works-green-dark);
    text-align: center;
}

.kouwa-works-archive__count strong {
    display: block;
    font-size: 54px;
    line-height: 1;
}

.kouwa-works-archive__count span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.kouwa-works-archive__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 44px;
}

.kouwa-works-archive__filters a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border: 1px solid var(--works-border);
    border-radius: 999px;
    background: #fff;
    color: var(--works-green-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.kouwa-works-archive__filters a:hover,
.kouwa-works-archive__filters .is-current {
    border-color: var(--works-green);
    background: var(--works-green);
    color: #fff;
}

.kouwa-works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
}

.kouwa-works-card {
    overflow: hidden;
    margin: 0 !important;
    border: 1px solid var(--works-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(32, 75, 64, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.kouwa-works-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(32, 75, 64, .14);
}

.kouwa-works-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}

.kouwa-works-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    background: var(--works-green-soft);
}

.kouwa-works-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.kouwa-works-card:hover .kouwa-works-card__media img {
    transform: scale(1.035);
}

.kouwa-works-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #86a69c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
}

.kouwa-works-card__category {
    position: absolute;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(114, 191, 145, .94);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.kouwa-works-card__content {
    display: flex;
    min-height: 142px;
    flex-direction: column;
    padding: 22px 22px 20px;
}

.kouwa-works-card__content h2 {
    margin: 0 0 22px !important;
    color: #29342f;
    font-size: 19px;
    line-height: 1.6;
}

.kouwa-works-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf3ef;
    color: var(--works-green-dark);
    font-size: 13px;
    font-weight: 700;
}

.kouwa-works-card__more b {
    color: var(--works-green);
    font-size: 18px;
}

.kouwa-works-pagination {
    margin-top: 58px;
}

.kouwa-works-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.kouwa-works-pagination .page-numbers {
    display: grid;
    min-width: 44px;
    height: 44px;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--works-border);
    border-radius: 8px;
    background: #fff;
    color: var(--works-green-dark);
    text-decoration: none;
}

.kouwa-works-pagination .current,
.kouwa-works-pagination a:hover {
    border-color: var(--works-green);
    background: var(--works-green);
    color: #fff;
}

.kouwa-works-archive__empty {
    padding: 70px 20px;
    background: var(--works-green-soft);
    text-align: center;
}

.kouwa-works-archive__cta {
    padding: 80px 24px 86px;
    background: var(--works-green-soft);
    text-align: center;
}

.kouwa-works-archive__cta-inner {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.kouwa-works-archive__cta-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.kouwa-works-archive__cta-buttons a {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--works-green);
    border-radius: 999px;
    box-shadow: 0 7px 0 rgba(48, 112, 93, .2), 0 10px 20px rgba(44, 92, 79, .1);
    font-weight: 800;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease;
}

.kouwa-works-archive__cta-buttons a:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(48, 112, 93, .2), 0 7px 15px rgba(44, 92, 79, .1);
}

.kouwa-works-archive__cta-buttons .-phone {
    background: #fff;
    color: var(--works-green-dark);
}

.kouwa-works-archive__cta-buttons .-line {
    border-color: #06c755;
    background: #06c755;
    color: #fff;
}

.kouwa-works-archive__cta-buttons .-form {
    border-color: var(--works-orange);
    background: var(--works-orange);
    color: #fff;
}

@media (max-width: 959px) {
    .kouwa-works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 599px) {
    .kouwa-works-archive__hero {
        min-height: 190px;
    }

    .kouwa-works-archive__hero h1 {
        font-size: 30px;
    }

    .kouwa-works-archive__lead {
        line-height: 1.8;
    }

    .kouwa-works-archive__body {
        width: min(100% - 28px, 1180px);
        padding: 58px 0 68px;
    }

    .kouwa-works-archive__intro {
        display: block;
        margin-bottom: 30px;
        padding-bottom: 26px;
    }

    .kouwa-works-archive__count {
        margin-top: 26px !important;
        text-align: left;
    }

    .kouwa-works-archive__count strong {
        display: inline;
        margin-right: 10px;
        font-size: 38px;
    }

    .kouwa-works-archive__count span {
        display: inline;
    }

    .kouwa-works-archive__filters {
        justify-content: flex-start;
        margin-bottom: 30px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .kouwa-works-archive__filters::-webkit-scrollbar {
        display: none;
    }

    .kouwa-works-archive__filters a {
        flex: 0 0 auto;
    }

    .kouwa-works-grid,
    .kouwa-works-archive__cta-buttons {
        grid-template-columns: 1fr;
    }

    .kouwa-works-card__content {
        min-height: 126px;
    }

    .kouwa-works-archive__cta {
        padding: 62px 20px 72px;
    }

    .kouwa-works-archive__cta-buttons {
        gap: 16px;
    }
}

/* 補助金ページ：CTAボタンと補足情報の間隔 */
.kouwa-subsidy-cta-buttons + p {
    margin-top: 24px !important;
}

/* 補助金ページ：相談から工事までの流れ */
.kouwa-subsidy-flow-grid {
    align-items: stretch;
}

.kouwa-subsidy-flow-grid > .wp-block-column {
    position: relative;
}

.kouwa-subsidy-flow-grid > .wp-block-column:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -14px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #73bd91;
    border-right: 2px solid #73bd91;
    content: "";
    transform: translate(50%, -50%) rotate(45deg);
}

@media (min-width: 782px) {
    .kouwa-subsidy-flow-grid {
        position: relative;
        left: 50%;
        width: min(1120px, calc(100vw - 48px));
        max-width: none;
        transform: translateX(-50%);
    }
}

@media (max-width: 781px) {
    .kouwa-subsidy-flow-grid > .wp-block-column:not(:last-child) {
        margin-bottom: 24px;
    }

    .kouwa-subsidy-flow-grid > .wp-block-column:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -17px;
        left: 50%;
        transform: translate(-50%, 50%) rotate(135deg);
    }
}

@media (min-width: 960px) and (max-width: 1120px) {
    .l-header.-parallel-bottom .l-header__inner {
        grid-template-columns: minmax(240px, 0.8fr) minmax(560px, 1.4fr);
        padding-inline: 20px;
    }

    .l-header.-parallel-bottom .w-header .wp-block-columns {
        grid-template-columns: minmax(190px, 1.2fr) minmax(130px, 1fr) minmax(130px, 1fr);
        gap: 10px;
    }

    .l-header.-parallel-bottom .w-header p:first-child {
        font-size: 22px !important;
    }

    .l-header.-parallel-bottom .kouwa-header-phone__number .icon-phone {
        font-size: 20px;
    }

    .l-header.-parallel-bottom .l-header__gnav .c-gnav > li > a {
        font-size: 14px;
    }
}

/*
 * 光和工務店：サービスカード
 * 見出しが2行になっても、同一行のカードの高さと本文位置を揃える。
 */
.kouwa-service-grid {
    align-items: stretch !important;
}

.kouwa-service-grid > .wp-block-column {
    display: flex;
}

.kouwa-service-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 226px;
}

.kouwa-service-card > .wp-block-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2em;
    margin-top: 0;
}

@media (max-width: 959px) {
    .kouwa-lead-heading {
        font-size: 21px !important;
        line-height: 1.55;
        letter-spacing: 0;
    }

    .kouwa-lead-heading > span {
        white-space: nowrap;
    }

    .kouwa-service-card {
        min-height: 0;
    }

    .kouwa-service-card > .wp-block-heading {
        min-height: 0;
    }
}


/*
 * 施工事例：背景の全幅化・記事下部の余白調整
 */
.single-post .kouwa-work-full-bg {
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    position: relative;
    width: 100vw;
}

.single-post .kouwa-work-detail-list {
    margin: 24px auto 18px;
    max-width: 620px;
}

.single-post .p-pnLinks {
    display: none;
}

.single-post .p-articleFoot {
    margin-bottom: 0;
}

.single-post .l-articleBottom__section.-related {
    margin-top: 2.5em;
}

@media (max-width: 767px) {
    .single-post .kouwa-work-detail-list {
        margin-top: 18px;
    }

    .single-post .l-articleBottom__section.-related {
        margin-top: 2em;
    }
}

/*
 * 光和工務店：施工事例投稿の共通CTA
 */
.kouwa-works-cta {
    margin: 64px 0 8px;
    padding: 42px clamp(20px, 4vw, 54px);
    background: #eef8f2;
    text-align: center;
}

.kouwa-works-cta h2 {
    margin: 0 0 22px;
    padding: 20px 16px;
    border-top: 3px double #58b879;
    border-bottom: 3px double #58b879;
    background: #76c392;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.4;
}

.kouwa-works-cta p {
    margin: 0 0 30px;
    line-height: 1.9;
}

.kouwa-works-cta__buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.kouwa-works-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.kouwa-works-cta__button.-phone {
    border: 1px solid #58b879;
    background: #fff;
    color: #3d8b68 !important;
    box-shadow: 0 5px 0 #8fcaaa, 0 9px 16px rgba(55, 94, 78, .15);
}

.kouwa-works-cta__button.-line {
    background: #06c755;
    box-shadow: 0 5px 0 #049e44, 0 9px 16px rgba(6, 129, 61, .18);
}

.kouwa-works-cta__button.-form {
    background: #ef8b32;
    box-shadow: 0 5px 0 #bd6924, 0 9px 16px rgba(174, 91, 28, .18);
}

.kouwa-works-cta__button:hover {
    transform: translateY(1px);
}

.kouwa-works-cta__button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 rgba(55, 94, 78, .55), 0 3px 7px rgba(55, 94, 78, .12);
}

@media (max-width: 767px) {
    .kouwa-works-cta {
        margin-top: 44px;
        padding: 28px 16px 32px;
    }

    .kouwa-works-cta h2 {
        font-size: 23px;
    }

    .kouwa-works-cta__buttons {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 960px) {
    .kouwa-sp-break {
        display: none;
    }
}

/*
 * 光和工務店：Google口コミ表示イメージ
 */
.kouwa-review-grid {
    align-items: stretch !important;
}

.kouwa-review-grid > .wp-block-column {
    display: flex;
}

.kouwa-review-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    box-shadow: 0 8px 24px rgba(28, 58, 37, .07);
}

.kouwa-review-card > p:last-child {
    margin-top: auto;
}

@media (max-width: 959px) {
    .kouwa-google-reviews h2 {
        font-size: 24px;
    }
}

/*
 * スマホ固定フッター：電話とお問い合わせを色分け
 */
@media (max-width: 959px) {
    #fix_bottom_menu {
        box-sizing: border-box;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        background-color: #58b879;
    }

    #fix_bottom_menu .menu_list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        width: 100%;
        height: 58px;
        margin: 0;
        padding: 0;
    }

    #fix_bottom_menu .menu_list > li {
        display: flex;
        width: auto;
        min-width: 0;
        height: 58px;
        margin: 0;
        padding: 0;
    }

    #fix_bottom_menu .menu_list > li > a {
        box-sizing: border-box;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 3px 8px;
    }

    #fix_bottom_menu .menu_list > li > a > i,
    #fix_bottom_menu .menu_list > li > a > span {
        flex: 0 0 auto;
    }

    #fix_bottom_menu .menu_list > li > a {
        background-color: #06c755;
        color: #fff;
    }

    #fix_bottom_menu .menu_list > li > a > i {
        font-size: 22px;
    }

    #fix_bottom_menu .menu_list > li > a > span {
        margin-top: 3px;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .04em;
    }
}

/*
 * お問い合わせページ：案内カードと連絡方法の整列
 */
.kouwa-contact-methods > .wp-block-column,
.kouwa-contact-method,
.kouwa-contact-method > .wp-block-group__inner-container {
    height: 100%;
}

.kouwa-contact-methods {
    align-items: stretch;
}

.kouwa-contact-methods > .wp-block-column {
    display: flex;
}

.kouwa-contact-method {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: 100%;
}

.kouwa-contact-method > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
}

.kouwa-contact-method .swell-block-button {
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
}

.kouwa-contact-method .swell-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 54px;
}

@media (min-width: 782px) {
    .kouwa-contact-methods {
        position: relative;
        left: 50%;
        width: min(1120px, calc(100vw - 48px));
        max-width: none;
        transform: translateX(-50%);
    }
}

.kouwa-contact-form-box .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    margin-top: 8px;
}

.kouwa-contact-form-box .wpcf7-radio .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.kouwa-contact-form-box .wpcf7-radio label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    white-space: nowrap;
}

.kouwa-contact-form-box input[type="radio"] {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 600px) {
    .kouwa-contact-form-box .wpcf7-radio {
        gap: 10px 20px;
    }
}

/*
 * トップページ：カード高さ・サービス・施工事例・会社概要
 */
.kouwa-home-trust .wp-block-columns,
.kouwa-home-service-row {
    align-items: stretch;
}

.kouwa-home-trust .wp-block-column,
.kouwa-home-service-row > .wp-block-column {
    display: flex;
}

.kouwa-home-trust .wp-block-column > .wp-block-group,
.kouwa-home-service-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.kouwa-home-trust .wp-block-column > .wp-block-group > .wp-block-group__inner-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}

.kouwa-home-service-card {
    overflow: hidden;
}

.kouwa-home-service-card > .wp-block-group__inner-container {
    height: 100%;
}

.kouwa-home-service-image {
    margin: 0 !important;
    overflow: hidden;
    border-radius: 8px;
}

.kouwa-home-service-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.kouwa-home-service-card h3 {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    font-size: 18px;
    line-height: 1.45;
}

.kouwa-home-service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.kouwa-home-section-button {
    margin-top: 24px;
}

.kouwa-home-works-scroll .p-postList {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 4px 2px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.kouwa-home-works-scroll .p-postList__item {
    flex: 0 0 min(340px, 78vw) !important;
    max-width: min(340px, 78vw) !important;
    width: auto !important;
    margin: 0 !important;
    scroll-snap-align: start;
}

.kouwa-home-works-scroll .p-postList__link {
    height: 100%;
}

.kouwa-home-works-scroll .p-postList__thumb {
    overflow: hidden;
    border-radius: 10px;
}

.kouwa-home-works-scroll {
    position: relative;
}

/* TOPページ：店舗・事業所の施工事例（1件表示カルーセル） */
.kouwa-store-works-carousel {
    position: relative;
    min-width: 0;
}

.kouwa-store-works-carousel .p-postList {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: 100%;
    margin: 0;
    padding: 0 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.kouwa-store-works-carousel .p-postList::-webkit-scrollbar {
    display: none;
}

.kouwa-store-works-carousel .p-postList__item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    scroll-snap-align: start;
}

.kouwa-store-works-carousel .p-postList__link {
    height: 100%;
}

.kouwa-store-works-carousel .p-postList__thumb {
    overflow: hidden;
    border-radius: 8px;
}

.kouwa-store-works-carousel .kouwa-works-slider__controls {
    margin-top: 8px;
}

.kouwa-store-works-carousel .kouwa-works-slider__button {
    width: 42px;
    height: 42px;
    font-size: 28px;
}

@media (min-width: 782px) {
    .kouwa-home-works-scroll {
        left: 50%;
        width: min(1400px, calc(100vw - 48px));
        max-width: none;
        transform: translateX(-50%);
    }
}

.kouwa-works-slider__controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.kouwa-works-slider__button {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid #73c194;
    border-radius: 50%;
    background: #fff;
    color: #429d6b;
    box-shadow: 0 3px 8px rgba(37, 89, 61, .14);
    font: 700 32px/1 sans-serif;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}

.kouwa-works-slider__button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #f2fbf6;
}

.kouwa-works-slider__button:disabled {
    opacity: .3;
    cursor: default;
}

.kouwa-home-company-content {
    box-sizing: border-box;
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
}

.kouwa-home-company-content h3:first-child {
    margin-top: 0;
}

.kouwa-home-company-table table {
    width: 100%;
}

.kouwa-home-company-table th {
    width: 28%;
}

.kouwa-home-reason-grid,
.kouwa-home-flow-grid {
    align-items: stretch;
}

.kouwa-home-reason-grid > .wp-block-column,
.kouwa-home-flow-grid > .wp-block-column {
    display: flex;
}

.kouwa-home-flow-grid > .wp-block-column {
    position: relative;
}

.kouwa-home-flow-grid > .wp-block-column:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: auto;
    left: calc(100% + 12px);
    width: 9px;
    height: 9px;
    border-top: 3px solid #76ad9b;
    border-right: 3px solid #76ad9b;
    content: "";
    transform: translate(-50%, -50%) rotate(45deg);
}

.kouwa-home-reason-card,
.kouwa-home-flow-card {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

.kouwa-home-reason-card > .wp-block-group__inner-container,
.kouwa-home-flow-card > .wp-block-group__inner-container {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
}

.kouwa-home-reason-card h3,
.kouwa-home-flow-card h3 {
    margin: 0;
}

@media (min-width: 782px) {
    .kouwa-home-flow-card h3 {
        font-size: 18px;
        line-height: 1.45;
    }
}

.kouwa-home-company-greeting,
.kouwa-home-company-profile {
    box-sizing: border-box;
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
}

.kouwa-home-company-greeting h3,
.kouwa-home-company-profile h3 {
    text-align: center;
}

@media (min-width: 782px) {
    .kouwa-home-trust .wp-block-columns {
        position: relative;
        left: 50%;
        width: min(1120px, calc(100vw - 48px));
        max-width: none;
        transform: translateX(-50%);
    }

    .kouwa-home-service-row {
        position: relative;
        left: 50%;
        width: min(1120px, calc(100vw - 48px));
        max-width: none;
        transform: translateX(-50%);
    }

    .kouwa-home-trust .wp-block-column:last-child strong,
    .kouwa-home-trust .wp-block-column:last-child p:first-child {
        white-space: nowrap;
    }

    .kouwa-home-service-card {
        height: 250px;
    }

    .kouwa-home-service-image img {
        height: 172px;
        aspect-ratio: auto;
    }
}

@media (max-width: 781px) {
    .kouwa-home-service-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .wp-block-columns.kouwa-home-service-row:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        margin-bottom: 0;
    }

    .wp-block-columns.kouwa-home-service-row + .wp-block-columns.kouwa-home-service-row:not(.is-not-stacked-on-mobile) > .wp-block-column:last-child {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .kouwa-home-service-card {
        min-height: 76px;
        padding: 0 !important;
        border-radius: 9px !important;
    }

    .kouwa-home-service-card > .wp-block-group__inner-container {
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }

    .kouwa-home-service-image {
        display: none;
    }

    .kouwa-home-service-card h3 {
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        width: 100%;
        min-height: 76px;
        margin: 0 !important;
        font-size: 15px;
        line-height: 1.4;
    }

    .kouwa-home-service-card h3 a {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        padding: 12px 9px;
        text-align: center;
    }

    .kouwa-home-service-row:first-of-type > .wp-block-column:first-child .kouwa-home-service-card {
        border-color: #ef8b32 !important;
        background-color: #fff4e8 !important;
    }

    .kouwa-home-service-row:first-of-type > .wp-block-column:first-child .kouwa-home-service-card h3 a {
        color: #b85d16;
    }

    .kouwa-home-works-scroll .p-postList {
        gap: 14px;
    }

    .kouwa-home-company-content {
        padding: 20px !important;
    }

    .kouwa-home-company-greeting,
    .kouwa-home-company-profile {
        padding: 20px !important;
    }

    .kouwa-home-flow-grid > .wp-block-column:not(:last-child) {
        margin-bottom: 24px;
    }

    .kouwa-home-flow-grid > .wp-block-column:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -17px;
        left: 50%;
        transform: translate(-50%, 50%) rotate(135deg);
    }
}

/* TOPページ：サービス横スクロール（最終上書き） */
.wp-block-columns.kouwa-home-service-scroll {
    position: relative;
    left: 50%;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 18px !important;
    width: min(1180px, calc(100vw - 40px));
    max-width: none;
    margin: 22px 0 0 !important;
    padding: 2px 2px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: thin;
    transform: translateX(-50%);
    -webkit-overflow-scrolling: touch;
}

.wp-block-columns.kouwa-home-service-scroll > .wp-block-column {
    display: flex;
    flex: 0 0 min(300px, 76vw) !important;
    width: min(300px, 76vw) !important;
    margin: 0 !important;
    scroll-snap-align: start;
}

.kouwa-home-service-scroll .kouwa-home-service-card {
    min-height: 270px;
}

.kouwa-home-service-scroll .kouwa-home-service-image {
    display: block;
}

@media (max-width: 781px) {
    .wp-block-columns.kouwa-home-service-scroll {
        left: 50%;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        width: calc(100vw - 24px);
        padding-bottom: 14px;
    }

    .wp-block-columns.kouwa-home-service-scroll.is-not-stacked-on-mobile > .wp-block-column {
        flex: 0 0 min(278px, 78vw) !important;
        width: min(278px, 78vw) !important;
    }

    .kouwa-home-service-scroll .kouwa-home-service-card {
        min-height: 0;
        padding: 10px 10px 14px !important;
    }

    .kouwa-home-service-scroll .kouwa-home-service-card > .wp-block-group__inner-container {
        display: block;
    }

    .kouwa-home-service-scroll .kouwa-home-service-image {
        display: block;
    }

    .kouwa-home-service-scroll .kouwa-home-service-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .kouwa-home-service-scroll .kouwa-home-service-card h3 {
        display: block;
        min-height: 0;
        margin-top: 12px !important;
        font-size: 16px;
    }

    .kouwa-home-service-scroll .kouwa-home-service-card h3 a {
        display: block;
        padding: 0;
    }
}

/* 施工事例では公開日・更新日を表示しない */
.single-post .c-postTitle__date,
.single-post .p-articleHead .c-postTimes,
.single-post .p-articleMetas .c-postTimes,
.single-post .p-postList__times,
.single-post .p-postList__date,
.top .kouwa-home-works-scroll .p-postList__times,
.top .kouwa-store-works-carousel .p-postList__times {
	display: none !important;
}

/* FVポイントは白い円形素材を保ち、文字色だけを濃くして可読性を確保する */
.top #main_visual .kouwa-fv-point {
	color: #216b52 !important;
	text-shadow: 0 1px 1px rgba(255, 255, 255, .75) !important;
}

/* =========================================================
 * TOPファーストビュー：コピーを画像から分離してレスポンシブ化
 * ======================================================= */
.top #main_visual,
.top #main_visual .p-mainVisual__inner,
.top #main_visual .p-mainVisual__slide {
    height: clamp(600px, 47vw, 720px) !important;
}

.top #main_visual .p-mainVisual__slide {
    position: relative;
    overflow: hidden;
    background-color: #f4f0e4;
    background-image:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, .72) 0 1px, transparent 2px),
        radial-gradient(circle at 76% 32%, rgba(92, 151, 102, .08) 0 1px, transparent 2px),
        repeating-linear-gradient(18deg, rgba(134, 117, 82, .035) 0 1px, transparent 1px 8px),
        linear-gradient(115deg, #f8f5ea 0%, #f3efe1 58%, #ebe4d3 100%);
    background-size: 48px 48px, 64px 64px, auto, auto;
}

.top #main_visual .p-mainVisual__imgLayer,
.top #main_visual .p-mainVisual__slide > noscript {
    display: none !important;
}

.top #main_visual .kouwa-fv-art {
    position: absolute;
    z-index: 1;
    right: -3%;
    bottom: -4%;
    width: min(64vw, 920px);
    pointer-events: none;
}

.top #main_visual .kouwa-fv-art img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(75, 57, 30, .14));
}

.top #main_visual .p-mainVisual__textLayer {
    position: relative;
    z-index: 2;
    display: flex;
    box-sizing: border-box;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 34px max(32px, calc((100vw - 1180px) / 2));
    color: #26312d !important;
    text-align: left !important;
    text-shadow: none !important;
}

.top #main_visual .p-mainVisual__slideTitle {
    width: min(720px, 61%);
    margin: 0;
}

.top #main_visual .kouwa-fv-copy__lead {
    display: inline-block;
    margin: 0 0 14px;
    padding-bottom: 5px;
    border-bottom: 2px solid #58b879;
    font-size: clamp(16px, 1.55vw, 22px);
    font-weight: 800;
    letter-spacing: .04em;
}

.top #main_visual .kouwa-fv-copy h1 {
    margin: 0;
    color: #26312d;
    font-size: clamp(36px, 3.45vw, 53px);
    font-weight: 900;
    line-height: 1.32;
    letter-spacing: .025em;
}

.top #main_visual .kouwa-fv-copy__sub {
    width: min(640px, 100%);
    margin: 18px 0 0;
    color: #35413c;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 650;
    line-height: 1.8;
}

.top #main_visual .kouwa-fv-copy__sub span {
    color: #e5a700;
    font-size: 1.1em;
    font-weight: 900;
}

.top #main_visual .kouwa-fv-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(690px, 100%);
    margin-top: 20px;
}

.top #main_visual .kouwa-fv-point {
    display: flex;
    box-sizing: border-box;
    min-height: 88px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 9px;
    border: 2px solid #58b879;
    border-radius: 14px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 6px 18px rgba(34, 96, 66, .1);
    color: #216b52 !important;
    font-size: clamp(12px, 1vw, 15px);
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
    text-shadow: none !important;
}

.top #main_visual .kouwa-fv-point b {
    display: block;
    margin-bottom: 3px;
    color: #2d5e4c;
    font-size: 10px;
    letter-spacing: .12em;
}

.top #main_visual .p-mainVisual__slideBtn {
    width: min(360px, 100%);
    margin: 20px 0 0;
}

.top #main_visual .p-mainVisual__slideBtn .c-mvBtn__btn {
    width: 100%;
    min-width: 0;
    padding: 14px 24px;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 6px 0 #c76a18, 0 10px 22px rgba(91, 55, 24, .18);
    font-weight: 800;
}

@media (max-width: 959px) {
    .top #main_visual,
    .top #main_visual .p-mainVisual__inner,
    .top #main_visual .p-mainVisual__slide {
        height: min(205vw, 920px) !important;
        min-height: 760px;
        max-height: 920px;
    }

    .top #main_visual .p-mainVisual__textLayer {
        justify-content: flex-start;
        padding: 28px 18px 32px;
    }

    .top #main_visual .p-mainVisual__slideTitle {
        width: 100%;
    }

    .top #main_visual .kouwa-fv-copy__lead {
        margin-bottom: 11px;
        font-size: clamp(14px, 4vw, 18px);
    }

    .top #main_visual .kouwa-fv-copy h1 {
        font-size: clamp(26px, 7.1vw, 34px);
        line-height: 1.34;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .top #main_visual .kouwa-fv-copy__sub {
        margin-top: 13px;
        font-size: 13px;
        line-height: 1.65;
    }

    .top #main_visual .kouwa-fv-pc-break {
        display: none;
    }

    .top #main_visual .kouwa-fv-points {
        grid-template-columns: 1fr;
        gap: 7px;
        width: min(100%, 410px);
        margin-top: 14px;
    }

    .top #main_visual .kouwa-fv-point {
        min-height: 0;
        padding: 7px 12px;
        border-width: 1px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 1.35;
    }

    .top #main_visual .kouwa-fv-point br {
        display: none;
    }

    .top #main_visual .kouwa-fv-point b {
        margin-bottom: 1px;
        font-size: 9px;
    }

    .top #main_visual .p-mainVisual__slideBtn {
        width: min(100%, 410px);
        margin-top: 13px;
    }

    .top #main_visual .p-mainVisual__slideBtn .c-mvBtn__btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .top #main_visual .kouwa-fv-art {
        right: -21%;
        bottom: -1%;
        width: 134%;
        max-width: none;
        opacity: .96;
    }

    /* SWELL標準はスクロール後に表示するが、LINE相談は常時固定する */
    #fix_bottom_menu {
        bottom: 0 !important;
    }
}

/* =========================================================
 * 施工事例：Before / After比較スライダー
 * ======================================================= */
.kouwa-before-after {
    --kouwa-ba-position: 50%;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 160px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8f1ec;
    isolation: isolate;
}

.kouwa-before-after__image {
    position: absolute;
    inset: 0;
}

.kouwa-before-after__image.-before {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--kouwa-ba-position)) 0 0);
}

.kouwa-before-after__image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}

.kouwa-before-after__label {
    position: absolute;
    z-index: 4;
    top: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(31, 55, 47, .78);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .1em;
    pointer-events: none;
}

.kouwa-before-after__label.-before {
    left: 10px;
}

.kouwa-before-after__label.-after {
    right: 10px;
    background: rgba(77, 159, 112, .9);
}

.kouwa-before-after__divider {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: var(--kouwa-ba-position);
    width: 3px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 0 10px rgba(0, 0, 0, .28);
    pointer-events: none;
    transform: translateX(-50%);
}

.kouwa-before-after__divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: #58b879;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    font: 800 18px/1 sans-serif;
    transform: translate(-50%, -50%);
}

.kouwa-before-after__range {
    position: absolute;
    z-index: 6;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: ew-resize;
    touch-action: none;
}

.kouwa-before-after:focus-within {
    outline: 3px solid rgba(88, 184, 121, .45);
    outline-offset: -3px;
}

.kouwa-works-card__category {
    z-index: 7;
    top: auto;
    right: auto;
    bottom: 10px;
    left: 10px;
}

.kouwa-works-card:hover .kouwa-before-after img {
    transform: none;
}

.kouwa-home-works-scroll .p-postList__thumb .kouwa-before-after,
.kouwa-store-works-carousel .p-postList__thumb .kouwa-before-after {
    width: 100%;
    height: 100%;
}

/* 施工事例詳細：比較スライダーと施工前後のポイント */
.single-post .post_content {
    margin-top: 28px;
}

.single-post .post_content > .swell-block-fullWide:first-child {
    padding-top: 24px !important;
}

.single-post .post_content > .swell-block-fullWide:first-child h2:first-child {
    margin-bottom: 24px;
}

.single-post .kouwa-work-comparison {
    width: min(860px, 100%);
    margin: 20px auto 8px;
}

.single-post .kouwa-work-comparison > .kouwa-before-after {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(30, 82, 61, .14);
}

.single-post .kouwa-work-comparison__notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.single-post .kouwa-work-comparison__note {
    padding: 20px 22px;
    border: 1px solid #d8e9df;
    border-radius: 12px;
    background: #fff;
}

.single-post .kouwa-work-comparison__note > span {
    display: inline-block;
    margin-bottom: 4px;
    color: #4d9f70;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.single-post .kouwa-work-comparison__note h3 {
    margin: 0 0 8px;
    color: #275f4c;
    font-size: 20px;
}

.single-post .kouwa-work-comparison__note p {
    margin: 0;
    line-height: 1.85;
}

.single-post .kouwa-work-extra-photos {
    width: min(920px, 100%);
    margin: 54px auto 8px;
}

.single-post .kouwa-work-extra-photos > h2 {
    margin: 0 0 26px;
    color: #275f4c;
    text-align: center;
}

.single-post .kouwa-work-extra-photos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.single-post .kouwa-work-extra-photos__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #eef5f1;
    box-shadow: 0 8px 24px rgba(30, 82, 61, .1);
}

.single-post .kouwa-work-extra-photos__item.-wide {
    grid-column: 1 / -1;
}

.single-post .kouwa-work-extra-photos__item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.single-post .kouwa-work-extra-photos__item.-wide img {
    aspect-ratio: 77 / 50;
}

.single-post .kouwa-work-extra-photos.-landscape .kouwa-work-extra-photos__item img {
    aspect-ratio: 4 / 3;
}

.single-post .kouwa-work-extra-photos.-mixed .kouwa-work-extra-photos__item.-landscape-photo img {
    aspect-ratio: 4 / 3;
}

.single-post .kouwa-work-extra-photos__label {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(39, 95, 76, .9);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
}

.single-post .kouwa-work-extra-photos__label.-after {
    right: 14px;
    left: auto;
    background: rgba(87, 185, 123, .95);
}

@media (max-width: 599px) {
    .single-post .post_content {
        margin-top: 18px;
    }

    .single-post .post_content > .swell-block-fullWide:first-child {
        padding-top: 16px !important;
    }

    .single-post .post_content > .swell-block-fullWide:first-child h2:first-child {
        margin-bottom: 18px;
    }

    .single-post .kouwa-work-comparison {
        margin-top: 14px;
    }

    .single-post .kouwa-work-comparison > .kouwa-before-after {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .single-post .kouwa-work-comparison__notes {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 15px;
    }

    .single-post .kouwa-work-comparison__note {
        padding: 16px;
    }

    .single-post .kouwa-work-comparison__note h3 {
        font-size: 18px;
    }

    .single-post .kouwa-work-extra-photos {
        margin-top: 38px;
    }

    .single-post .kouwa-work-extra-photos > h2 {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .single-post .kouwa-work-extra-photos__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .single-post .kouwa-work-extra-photos__item.-wide {
        grid-column: auto;
    }
}

/* 長い4項目をPC・スマホともカード内へ収める */
.kouwa-home-reason-card h3 {
    font-size: clamp(14px, 1.25vw, 18px);
    line-height: 1.55;
}

@media (max-width: 599px) {
    .kouwa-before-after__divider span {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .kouwa-before-after__label {
        top: 8px;
        padding: 4px 7px;
        font-size: 8px;
    }
}

/* =========================================================
 * トップ：よくあるご相談
 * ======================================================= */
.kouwa-home-consultation__label {
    margin: 0;
    color: #4d9f70;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.kouwa-home-consultation__title {
    margin: 18px 0 28px;
    color: #244c36;
    font-size: clamp(25px, 2.35vw, 36px);
    line-height: 1.45;
}

.kouwa-home-consultation__cards {
    align-items: stretch;
    gap: 24px;
}

.kouwa-home-consultation__cards > .wp-block-column,
.kouwa-home-consultation__card,
.kouwa-home-consultation__card > .wp-block-group__inner-container {
    height: 100%;
}

.kouwa-home-consultation__card {
    box-sizing: border-box;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid #d7eadf;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 0%, #f3faf6 100%);
    box-shadow: 0 12px 30px rgba(33, 107, 82, .09);
}

.kouwa-home-consultation__card h3 {
    margin: 0 0 22px;
    padding-bottom: 15px;
    border-bottom: 3px solid #58b879;
    color: #216b52;
    font-size: clamp(19px, 1.7vw, 25px);
    line-height: 1.45;
}

.kouwa-home-consultation__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kouwa-home-consultation__card li {
    position: relative;
    margin: 0;
    padding: 14px 8px 14px 32px;
    border-bottom: 1px solid #e2eee7;
    color: #2b483a;
    font-weight: 700;
    line-height: 1.75;
}

.kouwa-home-consultation__card li:last-child {
    border-bottom: 0;
}

.kouwa-home-consultation__card li::before {
    position: absolute;
    top: 17px;
    left: 3px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: #58b879;
    color: #fff;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

/* トップ：お問い合わせ3導線 */
.top #contact .wp-block-columns {
    align-items: stretch;
}

.top #contact .wp-block-column,
.top #contact .swell-block-button {
    height: 100%;
}

.top #contact .swell-block-button__link {
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    padding: 16px 14px;
}

.kouwa-contact-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.35;
}

.kouwa-contact-action small {
    font-size: 12px;
    font-weight: 700;
}

.kouwa-contact-action strong {
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 900;
}

.kouwa-contact-action em {
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

@media (max-width: 781px) {
    .kouwa-home-consultation__cards {
        gap: 16px;
    }

    .kouwa-home-consultation__card {
        padding: 22px 18px;
    }

    .kouwa-home-consultation__card li {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 14px;
    }

    .kouwa-home-consultation__card li::before {
        top: 15px;
    }

    .top #contact .swell-block-button__link {
        min-height: 92px;
    }

    .kouwa-contact-action small {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    #fix_bottom_menu .menu_list > li > a > span {
        font-size: clamp(10px, 3vw, 12px);
        letter-spacing: 0;
        white-space: nowrap;
    }
}
