@charset "utf-8";
/* CSS Document */
/*--------------------------------------
ヘディング
---------------------------------------*/
.renovation {
    overflow-x: hidden;
}
.renovation-heading {
    padding: 90px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    display: flex
}

.renovation-heading .renovation-heading_lead {
    width: 48%;
    margin-right: 2%;
}

.renovation-heading .renovation-heading_lead .catch {
    font-size: 38px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 32px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

.renovation-heading .renovation-heading_lead .caption {
    font-size: 19px;
    width: 100%;
}

.renovation-heading .renovation-heading_img {
    width: 50%;
    display: flex;
    position: relative;
    justify-content: space-between;
}

.renovation-heading .renovation-heading_img > div {
    position: relative;
    width: 48%;
}

.renovation-heading .renovation-heading_img img {
    border-radius: 10px;
}

/* Before */
.renovation-heading .renovation-heading_img .ba_before::before {
    content: "Before";
    position: absolute;
    top: 5px;
    left: 5px;
    background: #1A283C;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 8px;
}

/* After */
.renovation-heading .renovation-heading_img .ba_after::before {
    content: "After";
    position: absolute;
    top: 5px;
    left: 5px;
    background: #F29904;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 8px;
}

@media screen and (max-width: 1024px) {
    .renovation-heading {
        padding: 70px 4% 20px 4%;
        position: relative;
        flex-direction: column;
    }

    .renovation-heading .renovation-heading_lead {
        width: 108%;
        margin-right: 0;
    }

    .renovation-heading .renovation-heading_lead .catch {
        font-size: 24px;
        letter-spacing: 6px;
        margin-bottom: 16px;
        width: 100%;
    }
    
    .renovation-heading .renovation-heading_lead .caption {
        font-size: 16px;
        width: 100%;
        margin-bottom: 8px;
    }

    .renovation-heading .renovation-heading_img {
        width: 100%;
    }
    .renovation-heading .renovation-heading_img .heading_img_01 {
        width: 100%;
    }
    .renovation-heading .renovation-heading_img .heading_img_02 {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .renovation-heading {
        padding: 40px 4% 0 4%;
        position: relative;
    }

    .renovation-heading .renovation-heading_lead .catch {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .renovation-heading .renovation-heading_lead .caption {
        font-size: 14px;
        width: 100%;
        margin-bottom: 8px;
    }

    .renovation-heading .renovation-heading_img::before {
        width: 92%;
        height: 15px;
        background-image: linear-gradient(90deg, rgba(242, 153, 4, 1), rgba(242, 153, 4, 0));
        top: inherit;
        left: 4%;
        bottom: -6%;
    }
    
}

/*--------------------------------------
リノベーション事業とは
---------------------------------------*/
.renovation-means {
    padding: 90px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    display: flex
}

.renovation-means .renovation-means_lead {
    width: 48%;
    margin-right: 2%;
}

.renovation-means .renovation-means_lead .catch {
    font-size: 26px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

.renovation-means .renovation-means_lead .caption p {
    font-size: 19px;
    width: 100%;
    text-align: justify;
    line-height: 1.6;
}

.renovation-means .renovation-means_lead .caption ul {
    margin-top: 16px;
    margin-left: 32px;
}

.renovation-means .renovation-means_lead .caption ul li {
    list-style: inherit;
}

.renovation-means .renovation-means_img {
    width: 50%;
    display: flex;
    position: relative;
    border-radius: 10px;
}

.renovation-means .renovation-means_img img {
    border-radius: 10px;
}

@media screen and (max-width: 1024px) {
    .renovation-means {
        padding: 24px 4%;
        flex-direction: column;
    }

    .renovation-means .renovation-means_lead {
        width: 100%;
        margin-right: 0;
    }

    .renovation-means .renovation-means_lead .catch {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .renovation-means .renovation-means_lead .caption p {
        font-size: 16px;
        width: 100%;
        margin-bottom: 8px;
    }

    .renovation-means .renovation-means_lead .caption ul {
        margin-bottom: 16px;
    }

    .renovation-means .renovation-means_lead .caption ul li {
        list-style: inherit;
    }

    .renovation-means .renovation-means_img {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .renovation-means .renovation-means_lead .catch {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .renovation-means .renovation-means_lead .caption p {
        font-size: 14px;
    }

    .renovation-means .renovation-means_lead .caption ul {
        margin-bottom: 16px;
        font-size: 14px;
        margin-left: 24px;
    }

    .renovation-means .renovation-means_lead .caption ul li {
        list-style: inherit;
    }
}

/*--------------------------------------
提供サービス
---------------------------------------*/
.renovation-service {
    padding: 90px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

.renovation-service .catch {
    font-size: 26px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

.renovation-service .service_list {
    display: flex;
    justify-content: space-between;
}

.renovation-service .service_list .service_list_item {
    padding: 16px;
    border: 1px solid #008D95;
    width: 32%;
    background-color: #F7F7F7;
}

.renovation-service .service_list .service_list_item .service_list_title {
    font-size: 19px;
    margin-bottom: 24px;
    font-weight: 500;
}

.renovation-service .service_list .service_list_item .service_list_title span {
    margin-right: 16px;
    display: inline-grid;
    place-items: center;
    width: 40px;
    aspect-ratio:1 / 1;
    background: #CAD9DB;
    color: #008D95;
    font-weight: bold;
}

.renovation-service .service_list .service_list_item ul {
    margin-left: 72px;
}

.renovation-service .service_list .service_list_item ul li {
    list-style: inherit;
}

@media screen and (max-width: 1024px) {
    .renovation-service {
        padding: 40px 4% 0 4%;
    }

    .renovation-service .catch {
        font-size: 24px;
        letter-spacing: 6px;
    }

    .renovation-service .service_list {
        flex-wrap: wrap;
    }

    .renovation-service .service_list .service_list_item {
        padding: 16px;
        width: 49%;
        margin-bottom: 2%;
    }

    .renovation-service .service_list .service_list_item .service_list_title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .renovation-service .service_list .service_list_item .service_list_title span {
        margin-right: 8px;
        width: 32px;
        font-size: 16px;
    }

    .renovation-service .service_list .service_list_item ul {
        margin-left: 62px;
    }

    .renovation-service .service_list .service_list_item ul li {
        list-style: inherit;
    }
}

@media screen and (max-width: 767px) {
    .renovation-service {
        padding: 24px 4% 0 4%;
    }

    .renovation-service .catch {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .renovation-service .service_list {
        flex-direction: column;
    }

    .renovation-service .service_list .service_list_item .service_list_title {
        font-size: 16px;
    }

    .renovation-service .service_list .service_list_item {
        padding: 16px;
        width: 100%;
        margin-bottom: 2%;
    }

    .renovation-service .service_list .service_list_item .service_list_title span {
        margin-right: 8px;
        width: 24px;
        font-size: 14px;
    }

    .renovation-service .service_list .service_list_item ul {
        margin-left: 48px;
    }

    .renovation-service .service_list .service_list_item ul li {
        font-size: 14px;
    }
}


/*--------------------------------------
施工事例（Before → After）
---------------------------------------*/

/*coming soon*/
.comingsoon {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
  height: 24vh;  
}

.comingsoon__text {
    font-size: 24px;
    color: #E4A131;
}

.renovation-case {
    padding: 90px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

.renovation-case .catch {
    font-size: 26px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

.renovation-case .case_list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.renovation-case .case_list .case_list_item {
    width: 32%;
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;;
}

.renovation-case .case_list .case_list_item .ba_img {
    display: flex;
    justify-content: space-between;
}

.renovation-case .case_list .case_list_item .ba_img > div {
    position: relative;
    width: 49.8%;
}

.renovation-case .case_list .case_list_item .ba_img img {
    width: 100%;
    display: block;
}

/* Before */
.renovation-case .case_list .case_list_item .ba_img .ba_before::before {
    content: "Before";
    position: absolute;
    top: 5px;
    left: 5px;
    background: #1A283C;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 8px;
}

/* After */
.renovation-case .case_list .case_list_item .ba_img .ba_after::before {
    content: "After";
    position: absolute;
    top: 5px;
    left: 5px;
    background: #F29904;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 8px;
}

.renovation-case .case_list .case_list_item .ba_text {
    padding: 16px;
}

.renovation-case .case_list .case_list_item .ba_text .ba_title {
    font-weight: 500;
    margin-bottom: 8px;
}

.renovation-case .case_list .case_list_item .ba_text .ba_caption {
    font-size: 16px;
}

.case_link_wrap {
    text-align: center;
}

.case_link {
    display: inline-block;
    padding: 16px 96px;
    background-color: #F29904;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    letter-spacing: 1px;
}

@media screen and (max-width: 1024px) {
    .renovation-case {
        padding: 48px 4%;
    }

    .renovation-case .catch {
        font-size: 24px;
        letter-spacing: 6px;
    }

    .renovation-case .case_list {
        flex-direction: column;
    }

    .renovation-case .case_list .case_list_item {
        width: 100%;
        margin-bottom: 16px;
    }
    .renovation-case .case_list .case_list_item:last-of-type {
        margin-bottom: 0;
    }

    .renovation-case .case_list .case_list_item .ba_img {
        display: flex;
        justify-content: space-between;
    }
}

@media screen and (max-width: 767px) {
    .renovation-case {
        padding: 40px 4%;
    }

    .renovation-case .catch {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .renovation-case .case_list .case_list_item .ba_text .ba_title {
        font-size: 16px;
    }

    .renovation-case .case_list .case_list_item .ba_text .ba_caption {
        font-size: 14px;
    }
}

/*--------------------------------------
当社リノベの強み
---------------------------------------*/
.renovation-features {
    padding: 90px 0 180px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    border-bottom: 2px solid #008D95;
}

.renovation-features .catch {
    font-size: 26px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
}

.renovation-features .features_list {
    display: flex;
    justify-content: space-between;
}

.renovation-features .features_list .features_list_item {
    padding: 16px;
    border: 1px solid #333;
    width: 32%;
    border-radius: 16px;
}

.renovation-features .features_list .features_list_item .features_list_title {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.renovation-features .features_list .features_list_item .features_list_title img {
    width: 32px;
    margin-right: 8px;
}

.renovation-features .features_list .features_list_item .features_list_title p {
    font-size: 19px;
    font-weight: 500;
}

@media screen and (max-width: 1024px) {
    .renovation-features {
        padding: 32px 4% 40px 4%;
    }

    .renovation-features .catch {
        font-size: 24px;
        letter-spacing: 6px;
        line-height: 1.6;
    }

    .renovation-features .features_list {
        flex-direction: column;
    }

    .renovation-features .features_list .features_list_item {
        width: 100%;
        margin-bottom: 16px;
    }

    .renovation-features .features_list .features_list_item .features_list_title {
        margin-bottom: 24px;
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 767px) {
    .renovation-features .catch {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .renovation-features .features_list .features_list_item .features_list_title {
        margin-bottom: 8px;
    }

    .renovation-features .features_list .features_list_item .features_list_title img {
        width: 24px;
        margin-right: 8px;
    }

    .renovation-features .features_list .features_list_item .features_list_title p {
        font-size: 16px;
    }

    .renovation-features .features_list .features_list_item .features_list_caption p {
        font-size: 14px;
    }


}

/*--------------------------------------
施工事例一覧
---------------------------------------*/
:root{
  --ba-accent:#008D95;
  --ba-radius:10px;
}
.ba-slider {
    position:relative;
    margin:0 auto;
    user-select: none;
}
.ba-viewport {
    overflow: hidden;
    /*border-radius: var(--ba-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);*/
}

/* スライドトラック */
.ba-track {
    display: flex;
    transition: transform .9s cubic-bezier(.22,.61,.36,1); /* ← ぬるっと動く */
    will-change: transform;
}

/* 2枚見せる＝各アイテムは横幅の50%固定 */
.ba-item {
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0;
    position: relative;
    height: min(70vh, 720px);
    background: #000;
}

.ba-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 左上ラベル（疑似要素） */
/*.ba-item::before {
    content: attr(data-label);
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font: 700 14px/1 "Noto Sans JP", system-ui, sans-serif;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: .02em;
}*/

/* 矢印 */
.ba-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
}

.ba-prev {
    left: 10px;
}

.ba-next {
    right: 10px;
}

.ba-nav:hover {
    background: rgba(0, 0, 0, .65);
}

/* ドット（ページ数 = アイテム数 - 1） */
.ba-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 14px 10px 0;
}

.ba-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #cfd8dc;
    cursor: pointer;
}

.ba-dots button[aria-selected="true"] {
    background: var(--ba-accent);
}

/* スクリーンリーダー専用非表示 */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ユーザーが“動きを減らす”設定ならアニメ無効 */
@media (prefers-reduced-motion: reduce) {
    .ba-track {
        transition: none !important;
    }
}

/* モバイルで1枚見せにしたい時（任意） */
/*
@media (max-width:640px) {
    .ba-item {
        flex-basis: 100%;
        max-width: 100%;
        height: min(80vh, 640px);
    }
}
*/

@media screen and (max-width: 1024px) {
  .ba-item {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto; 
  }

  .ba-item img {
    height: auto;
    object-fit: cover;
  }
}


/*--------------------------------------
事例一覧
---------------------------------------*/
.list-wrap {
    padding: 90px 0 180px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    border-bottom: 2px solid #008D95;
}

.list-wrap .catch {
    font-size: 26px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
    font-weight: bold;
    text-align: center;
}

.list-wrap .list-wrap_items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 常に左寄せ */
    gap: 35px; /* 要素間の余白をgapで管理 */
}

.list-wrap .list-wrap_item {
    flex: 0 0 calc((100% - 70px) / 3);/* gapを考慮して3分割 */
    box-sizing: border-box;
    background: #fff;
    padding: 16px;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.5), inset 0px -3px 6px -2px rgba(0, 0, 0, 0.3);
}

.list-wrap .list-wrap_item .list-wrap_item_img {
    margin-bottom: 8px;
}

@media screen and (max-width: 1024px) {
    .list-wrap {
        padding: 64px 4% 90px 4%;
    }

    .list-wrap .list-wrap_item {
        flex: 0 0 calc((100% - 35px) / 2); /* gap35pxを1つ分だけ引いて2分割 */
    }
}

@media screen and (max-width: 767px) {
    .list-wrap .list-wrap_item {
    flex: 0 0 100%;
    }
}





/*--------------------------------------
施工事例個別ページ
---------------------------------------*/
.example_mv {
    margin: 0 auto 32px auto;
    width: 100%;
    max-width: 1260px;
}

.example .gallery-wrap {
    width: 100%;
}

/*---------事例個別gallery-------*/
:root {
    --stage-height: 580px;
    --gap: 16px;
    --thumb-size: 152px;
    --panel: #161a22;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --duration: 380ms;
}

/* 図要素のデフォルト余白を除去 → 上端をピタッと揃える */
figure {
    margin: 0;
}

.gallery-wrap {
    padding: 56px 0 32px 0;
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
}

.gallery-wrap .example_title {
    font-size: 26px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #008D95;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
    font-weight: bold;
}

.gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--gap);
    align-items: start;
}

.gallery > * {
    min-height: 0;
}


/* =====================
    メインエリア
===================== */
.stage {
    position: relative;
    height: var(--stage-height);
    background: var(--panel);
    overflow: hidden;
}

.track {
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
    transform: translateX(0);
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.nav button {
    pointer-events: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.nav button:hover {
    background: rgba(0, 0, 0, .5);
}

.nav svg {
    width: 22px;
    height: 22px;
}

/* =====================
    サムネイル部分
===================== */
.thumbs-wrap {
    position: relative;
    height: var(--stage-height);
    width: var(--thumb-size);
    display: flex;
    flex-direction: column;
}

.thumbs-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.thumbs-nav .arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

.thumbs-nav .arrow:hover {
    background: rgba(0, 0, 0, .6);
}

.thumbs-viewport {
    flex: 1;
    overflow: hidden;
    height: 100%;
}

.thumbs-inner {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    transform: translateY(0);
    transition: transform var(--duration) var(--ease);
}

.thumb {
    width: var(--thumb-size);
    height: var(--thumb-size);
    overflow: hidden;
    flex: 0 0 auto;
    cursor: pointer;
    background: #10131a;
    border: none;
    border-radius: 0;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.5);
    transition: filter var(--duration) var(--ease);
}
.thumb.is-active img {
  filter: brightness(1);
}



/* ===== ページネーション ===== */
.pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;              /* 好みで微調整 */
  display: flex;
  justify-content: center;
  gap: 10px;
  pointer-events: none;      /* 親は透過 → 子ボタンのみ反応 */
}

.pagination .dot {
  pointer-events: auto;
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.pagination .dot:hover {
  background: rgba(255,255,255,.75);
}

.pagination .dot.is-active,
.pagination .dot[aria-current="true"] {
  background: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 0 2px rgba(0,0,0,.15) inset;
}


/* =====================
    メディア設定
===================== */
@media (prefers-reduced-motion: reduce) {
    .thumbs-inner {
        transition: none;
    }
}

@media screen and (max-width: 1024px) {
    .gallery-wrap {
        padding: 56px 4% 32px 4%;
        position: relative;
        width: 100%;
        max-width: 1260px;
        margin: 0 auto;
    }

    .gallery-wrap .example_title {
        font-size: 24px;
    }
}
@media screen and (max-width: 767px) {

}


/* =====================
  スマホ表示（～767px）
===================== */
@media screen and (max-width: 767px) {

    :root {
        /* スマホ時は高さを可変に（横幅優先） */
        --stage-height: auto;
    }

    .gallery-wrap {
        padding: 40px 4% 24px 4%;
    }

    .gallery-wrap .example_title {
        font-size: 18px;
    }

    /* メインとサムネを縦並びに */
    .gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* メインスライダーは横幅いっぱい */
    .stage {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9; /* 好みで調整 */
    }

    .slide {
        height: 100%;
    }

    .slide img {
        height: 100%;
        object-fit: cover;
    }

    /* サムネイルコンテナを下に＆横いっぱい */
    .thumbs-wrap {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 4px;
    }

    .thumbs-viewport {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    /* サムネイルを横並びに変更 */
    .thumbs-inner {
        flex-direction: row;
    }

    /* 7枚見切れるように 1列7分割 + gap を考慮 */
    .thumb {
        flex: 0 0 calc((100% - var(--gap) * 6) / 7);
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* サムネイルナビ矢印を左右に配置 */
    .thumbs-nav {
        top: 50%;
        bottom: auto;
        left: 0;
        right: 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        transform: translateY(-50%);
        pointer-events: none; /* 親は透過 */
    }

    .thumbs-nav .arrow {
        pointer-events: auto; /* ボタンはクリック可 */
    }
}


/* ============================
 事例個別個別のインフォメーション
===============================*/
.example-info {
    position: relative;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto 90px auto;
}

.example-info_heading {
    margin-bottom: 32px;
}

.example-info .example-info_heading h3 {
    margin-bottom: 16px;
}

.example-info .flex_item {
    display: flex;
    justify-content: space-between;
}

.example-info .flex_item .information {
    width: 50%;
}

.example-info .flex_item .information table {
  width: 100%;
  border-collapse: collapse;
}

.example-info .flex_item .information th,
.example-info .flex_item .information td {
  text-align: left;
  vertical-align: top;
  padding: 4px 0;
}

.example-info .flex_item .information th {
  width: 20%;
  font-weight: bold;
  color: #333;
}

.example-info .flex_item .information td {
  width: 80%;
  color: #555;
}

.example-info .flex_item .before-image {
    width: 50%;
    padding: 16px;
    background-color: #F4FBFC;
}

.example-info .flex_item .before-image h3 {
    line-height: 0;
    display: block;
}

.example-info .flex_item .before-image div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px; /* ← 上下左右すべて同じ */
    width: 100%;
}

.example-info .flex_item .before-image div img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* 画像を切らずに見せたいなら contain に変更 */
    aspect-ratio: 4 / 3; /* 横長比率に合わせて調整：ここ大事 */
}

/* 基本色は必要に応じて差し替えOK */
.comment {
  --accent: #008D95;       /* 左の飾りの色 */
  --accent-hi: #00b5bf;    /* グラデの明るい色（任意） */
  --title-bg: #f4fbfc;     /* タイトルの背景色 */
  --title-fg: #123;        /* 文字色 */
  margin-bottom: 24px;
}

.comment h4 {
  position: relative;
  margin: 0 0 10px;
  padding: 10px 14px 10px 18px;  /* 左を少し広めに */
  background: var(--title-bg);
  color: var(--title-fg);
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.35;
}

/* 左の飾り（縦バー） */
.comment h4::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;       /* top:0; right:auto; bottom:0; left:0; と同じ */
  width: 8px;              /* バーの太さ */
  background: linear-gradient(
    180deg,
    var(--accent-hi),
    var(--accent)
  );
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.03) inset; /* ほんのり質感 */
}

/* 文字の左に“タグ”っぽい小さな飾りを追加したい場合（任意） */
.comment h4::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: rgba(0,0,0,.08);
  border-radius: 2px;
}

.comment p {
    line-height: 1.6;
    font-size: 16px;
}

.comment ul {
    margin-left: 24px;
    margin-top: 8px;
}
.comment ul li {
    list-style: inherit;
    line-height: 1.2;
}

/* モバイルでの余白微調整 */
@media (max-width: 480px) {
  .comment h4 {
    padding: 9px 12px 9px 16px;
  }
  .comment h4::before { width: 6px; }
}

.comment .floor-info {
    display: flex;
    justify-content: space-between;
}

.comment .floor-info .floor_map {
    width: 65%;
    display: flex;
    justify-content: space-between;
}

.comment .floor-info .floor_map img {
    width: 48%;
}

@media screen and (max-width: 1024px) {
    .example-info {
        margin: 0 auto 72px auto;
        padding: 0 4%;
    }

    .example-info .flex_item {
        flex-direction: column-reverse;
    }

    .example-info .flex_item .information {
        width: 100%;
    }

    .example-info .flex_item .information table {
        margin-top: 24px;
        margin-bottom: 16px;
    }

    .example-info .flex_item .before-image {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .example-info .flex_item .before-image h3 {
        font-size: 16px;
    }

    .example-info .flex_item .information th,
    .example-info .flex_item .information td {
        text-align: left;
        vertical-align: top;
        padding: 4px 0;
        font-size: 14px;
    }

    .example-info .flex_item .information th {
        width: 30%;
        font-weight: bold;
        color: #333;
    }

    .example-info .flex_item .information td {
        width: 70%;
        color: #555;
    }

    .comment .floor-info {
        flex-direction: column;
    }

    .comment .floor-info .floor_map {
        width: 100%;
        flex-direction: column;
        margin-top: 24px;
    }

    .comment .floor-info .floor_map img {
        width: 100%;
    }

    .comment p {
        line-height: 1.4;
        font-size: 14px;
    }

    .comment ul {
        margin-left: 24px;
        margin-top: 8px;
    }
    .comment ul li {
        font-size: 14px;
    }
}

/* ============================
 ビフォーアフター体裁
===============================*/

/* section spacing */
.before-after{
  margin: 80px auto;
}

/* list wrapper */
.before-after_list {
  max-width: 1260px;
  margin: 0 auto;
  /*padding: 0 20px;*/
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 96px; /* items spacing */
}


/* 1 set */
.before-after_item{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr; /* Before small / After big */
  row-gap: 24px;     /* 上下だけ調整 */
  column-gap: 64px; /* 左右はそのまま */
  align-items: flex-start; /* ← Before is top-aligned */
}

.ba-title{
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .05em;
}

.ba-title::before{
  content: "";
  width: 4px;
  height: 1.2em;
  background: #222;
}

/* SP */
@media (max-width: 767px){
  .ba-title{
    font-size: 16px;
    margin-bottom: 8px;
  }
}


/* card base */
.ba-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;

  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}

/* images */
.ba-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* label */
.ba-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: .02em;
  z-index: 2;
}

/* --------
   Arrow (anchored to BEFORE, always centered to BEFORE height)
   -------- */
.ba-card.before {
  overflow: visible; /* allow arrow to protrude */
}

.ba-card.before .ba-arrow {
  position: absolute;
  top: 46%;
  right: -26px; /* adjust if you change gap */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 3;
}

.ba-card.before .ba-arrow::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #333; /* ▶ */
  opacity: .85;
}

/* optional: make "after" look more main */
.ba-card.after {
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

/* optional: slightly tone down before */
.ba-card.before img {
  filter: brightness(0.96) saturate(0.9);
}

/* =========================
   Responsive (SP)
   ========================= */
@media (max-width: 767px){

  .before-after {
    margin: 56px auto;
  }

  .before-after_list {
    gap: 42px;
    padding: 0 16px;
  }

  .before-after_item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* arrow becomes ▼ between cards */
  .ba-card.before {
    overflow: hidden; /* back to normal on SP */
  }

  .ba-card.before .ba-arrow {
    position: static;
    transform: none;
    margin: 10px auto 0;
  }

  .ba-card.before .ba-arrow::before {
    border-left: 0;
    border-top: 18px solid #333; /* ▼ */
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-bottom: 0;
    opacity: .85;
  }

  .ba-tag {
    font-size: 13px;
    padding: 6px 10px;
  }
}



/* ============================
 お客様の声動画
===============================*/
.voice-section {
    padding: 90px 0;
}

.voice-card {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.voice-card:hover {
  transform: translateY(-5px);
}

.video-box {
    width: 60%;
}

/*.video-box .video-frame iframe {
    width: 100%;
}*/

.voice-caption {
  flex: 1 1 50%;
  padding: 20px 30px;
}

.voice-caption h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #161616;
}

.voice-caption p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 1024px) {
    .voice-section {
        padding: 0 4%;
        margin-bottom: 64px;
    }
    .video-box {
        width: 60%;
    }

    .video-frame iframe {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .voice-card {
        flex-direction: column-reverse;
    }
    .video-box {
        width: 100%;
    }

    .voice-caption {
        padding: 8px 8px;
    }

    .voice-caption h3 {
        font-size: 18px;
    }

    .voice-caption p,
    .voice-caption span {
        font-size: 14px;
    }
}



