@charset 'UTF-8';

/*
GENERAL STYLING
================================================ */

body {
	color: #555;
}
p {
    line-height: 1.7;
}

main {
    padding-top: 10vh;
    /* color:var(--white); */
    /* color:#323E27; */
    /* color:#1E3D41; */
    color:var(--font);
}

h2.title {
    font-size: 1.5rem;
    line-height: 1.5;
    padding: 0 1rem;
}
h2.title::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
    background: #d0bea2;
    margin: 2rem 0 2.5rem;
}

section .wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Contents */
.brown-bg {
    /* background: #f8f6f2; */
    /* background:#BAD198; */
    /* background: #A6BF84; */
    background-color: var(--background2);
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 2rem;
}

.content.zeb-def{
    align-items: flex-start;
    /* background-color: var(--background2); */
}
.home-text {
    margin-bottom: 1rem;
}

.home-text .only {
    width:100%;
}

/* .home-chart {
    margin-left: 2vw;
} */

.flex-reverse .home-chart {
    margin: 0 2vw 0 0;
}
.home-chart p {
    text-align: center;
}
.zebImg {
    bottom: 20%;
}
.zebImg img {
    height: 12vh;
    margin:5vh;
}

/* 

thead {
    background-color: #4CAF50;
    color: #ffffff;
}

th, td {
    padding: 12px 15px;
    text-align: center;
}

td {
    color:#000000;
}

th {
    background-color: #388E3C;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

tbody tr:hover {
    background-color: #e0e0e0;
}

tfoot {
    background-color: #f2f2f2;
}

tfoot td {
    padding: 12px 15px;
    text-align: right;
    font-weight: bold;
} */

/* Styling for mobile devices */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    .zeb-def {
        display:flex;
        flex-flow: column;
        justify-content:space-between;
        .home-text {
            width: 100%;
            margin-bottom: 2rem;
            .zeb-kind-container {
                flex-direction: column;
                gap: 24px;
                align-items: center;
            }
            #zeb-full,
            #zeb-nearly,
            #zeb-ready,
            #zeb-oriented {
                width: 100%;
                min-width: 0;
                margin-bottom: 0;
            }
        }
        .home-chart {
            width: 100%;
            .zeb-container {
                flex-direction: column;
                align-items: center;
                padding:20px 10px;
                margin: 10px auto;
                .zeb-bar {
                    border-radius: 10px;
                    background-color: var(--grey-6);
                }
            }
        }
    }

    .content {
        flex-direction: column;
        align-items: flex-start;
    }

    .energy-rectangle,
    .arrow-rectangle {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    /* 
    .pc-size {
        display:none;
    }

    .sp-size {
        .title-container {
            max-width: 400px;
            width: 92vw;
            margin: 0 auto;
        }
    
        .title {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            background-color: var(--timberwolf);
            color: var(--east-bay-dark);
            padding: 15px 50px;
            margin: 10px 0;
            border-radius: 3px;
            font-size: 18px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            position: relative;
        }

        .title::before,
        .title::after{
            position:absolute;
            content:'';
            width: 15px;
            height: 2px;
            background-color: var(--black);
        }


        .title::before {
            top: 50%;
            left: 15px;
            transform:rotate(0deg);
        }
        
        .title::after {
            top: 50%;
            left: 15px;
            transform:rotate(90deg);
        }

        .title.active::after {
            transform:rotate(0deg);
            background-color: var(--white);
        }

        .table-container {
            display: none;
            margin: 10px 0;
        }

        .table {
            width: 100%;
            border-collapse: collapse;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .table td {
            padding: 10px;
            border: 1px solid #ddd;
            text-align: center;
            color: #333;
        }

        .table tr td:first-child {
            background-color: #f5f5f5;
            font-weight: bold;
        }

        .title.active {
            background-color: var(--east-bay-dark);
            color:var(--timberwolf);
        }

        .title.active + .table-container {
            display: block;
            animation: fadeIn 0.5s ease;
            .btn-container {
                display: flex;
                justify-content: center;
                margin: 10px 50px;
                border-radius: 3px;
                background-color: #555;
                height:40px;
                color:var(--white);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    } */

    #zeb-oriented {
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: nowrap !important;
    }

    /* #zeb-oriented 内の要素の幅調整 */
    #zeb-oriented > .arrow-rectangle {
        flex: 0 1 0% !important; /* flexプロパティを再調整 */
        min-width: 45px !important;
        /* width: 45px !important; を削除 */
    }

    #zeb-oriented > .energy-rectangle{
        flex: 0 1 0% !important; /* flexプロパティを再調整 */
        min-width: 60px !important;
    }

    #zeb-oriented > .arrows-container {
        flex: 0 0 auto !important;
        min-width: 70px !important;
        /* width: auto !important; を削除 */
    }

    #zeb-oriented > .oriented-text-group {
        flex: 1 !important;
        min-width: 90px !important; /* 幅を広げてテキストが見切れないように調整 */
        display: flex;
        flex-direction: column;
    }
    /* .oriented-text-group 内のpタグの調整 */
    .oriented-text-group > p.zeb-kind {
        width: auto;
    }
    .oriented-text-group > p.oriented-desp:first-of-type {
        position: relative;
        top: -10px;
        margin-right:0.5rem;
        width: fit-content;
        white-space: nowrap;
        left: -20px;
    }
    .oriented-text-group > p.oriented-desp:last-of-type {
       bottom:10px;
       margin-top:1rem;
       margin-right:0.5rem;
    }

    /* p.oriented-desp の最終調整（モバイル用） */
    p.oriented-desp {
        font-size: 0.6em !important;
        position: static;
        margin: 0;
        text-align: left;
        width: auto;
        max-width: 115%;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 4px;
    }
}

/*-- zeb chart --*/
.zeb-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--grey-1);
    /* border-radius: 2%; */
}

.zeb-item {
    text-align: center;
}

.zeb-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.zeb-bar {
    position: relative;
    background-color: var(--grey-6);
    height: 45px;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
}

.zeb-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease;
}

.full {
    width: 100%;
    background-color: #4CAF50;
}

.nearly {
    width: 75%;
    background-color: #4CAF50;
}

.ready {
    width: 50%;
    background-color: #4CAF50;
}

.oriented {
    width: 40%;
    background-color: #4CAF50;
}

.oriented2 {
    width: 30%;
    background-color: #4CAF50;
}

.zeb-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.zeb-item p {
    font-size: 16px;
    color: #555;
}

.zeb-definition footer {
    margin-top: 40px;
    text-align: center;
}

.zeb-definition footer a {
    color: #29432F;
    text-decoration: none;
}

.zeb-definition footer a:hover {
    text-decoration: underline;
}

/*-- zeb kind --*/
.zeb-kind-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
}

#zeb-full,
#zeb-nearly,
#zeb-ready,
#zeb-oriented {
    position: static;
    width: 45%;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background-color: var(--grey-1);
}

.energy-rectangle {
    width: 5vw;
    height: 40vh;
    background: #29432F;
    /* border-radius: 10px; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 1vw;
    margin-right: auto;
    display: block;
}

.energy-rectangle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.2;
    pointer-events: none;
}

.arrow-rectangle {
    width: 5vw;
    height: 40vh;
    /* border-radius: 10px; */
    position: relative;
    padding: 0;
    overflow: hidden;
    background: none;
    display: block;
    margin-left: 1vw;
    padding-left: 0.5vw;
}

.arrow-block {
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    width: 100%;
    background: transparent;
}

.arrow-block.block-saving {
    top: 0;
    height: 33.33%;
    justify-content: center;
}
.arrow-block.block-producing {
    top: 66.66%;
    height: 33.33%;
    justify-content: center;
}

.arrow-bg {
    position: absolute;
    left: 0;
    top: 66.66%;
    width: 100%;
    height: 33.34%;
    background: #29432F;
    border-radius: 0 0 10px 10px;
    z-index: 0;
}

.arrow-block .circle {
    margin: 0 5px 0 0;
    z-index: 1;
}
.arrow-block .arrow-label {
    color: #fff;
    font-weight: bold;
    margin-left: 8px;
    font-size: 1.1em;
    z-index: 1;
}

.arrow-section {
    align-items: center;
    margin-left: 0;
}

.arrow-section .circle {
    margin-top: 10px;
    margin-left: 20px;
}

.arrow-section .arrow-label {
    text-align:center;
}

/* .arrow-section:nth-child(1) {
    top: 0;
    height: 0;
    background-color: transparent;
}

.arrow-section:nth-child(2) {
    top: 50%;
    height: 0;
    background-color: transparent;
} */


/*----------*/
/* ZEB-FULL */
/*----------*/
#zeb-full .arrow-section:nth-child(1) {
    top: 0;
    height: 0;
    background-color: transparent;
}

#zeb-full .arrow-section:nth-child(2) {
    top: 50%;
    height: 0;
    background-color: transparent;
}

#zeb-full .arrow-section.animate:nth-child(1) {
    height: 50%;
}

#zeb-full .arrow-section.animate:nth-child(2) {
    height: 50%;
}

/*------------*/
/* Nearly-ZEB */
/*------------*/
#zeb-nearly .arrow-section:nth-child(1) {
    top: 0;
    height: 0;
    background-color: transparent;
}

#zeb-nearly .arrow-section:nth-child(2) {
    top: 50%;
    height: 0;
    background-color: transparent;
}

#zeb-nearly .arrow-section:nth-child(3) {
    top: 0%;
    height: 100%;
    background-color: transparent;
}

#zeb-nearly .arrow-section.animate:nth-child(1) {
    height: 50%;
}

#zeb-nearly .arrow-section.animate:nth-child(2) {
    height: 25%;
}

#zeb-nearly .arrow-section.animate:nth-child(3) {
    top: 75%;
    height: 25%;
    background-color: #29432F;
}

/*------------*/
/* ZEB-ready  */
/*------------*/
#zeb-ready .arrow-section:nth-child(1) {
    top: 0;
    height: 0;
    background-color: transparent;
}

#zeb-ready .arrow-section:nth-child(2) {
    top: 0%;
    height: 100%;
    background-color: transparent;
}

#zeb-ready .arrow-section.animate:nth-child(1) {
    height: 50%;
}

#zeb-ready .arrow-section.animate:nth-child(2) {
    top: 50%;
    height: 50%;
    background-color: #29432F;
}

/*---------------*/
/* ZEB-oriented  */
/*---------------*/
#zeb-oriented .oriented1 .arrow-section:nth-child(1) {
    top: 0;
    height: 0;
    background-color: transparent;
}

#zeb-oriented .oriented2 .arrow-section:nth-child(1) {
    top: 0;
    height: 0;
    background-color: transparent;
}


#zeb-oriented .oriented1 .arrow-section:nth-child(2) {
    /* top: 40%; */
    top: 0;
    height: 0;
    z-index: -1;
    background-color: #29432F;
}

#zeb-oriented .oriented2 .arrow-section:nth-child(2) {
    /* top: 30%; */
    top: 0;
    height: 0;
    z-index: -1;
    background-color: #29432F;
}

#zeb-oriented .oriented1 .arrow-section.animate:nth-child(1) {
    height: 40%;
}

#zeb-oriented .oriented2 .arrow-section.animate:nth-child(1) {
    height: 30%;
}

#zeb-oriented .oriented1 .arrow-section.animate:nth-child(2) {
    /* top: 40%; */
    height: 100%;
    background-color: #29432F;
}

#zeb-oriented .oriented2 .arrow-section.animate:nth-child(2) {
    /* top: 30%; */
    height: 100%;
    background-color: #29432F;
}

.arrow-rectangle.oriented1,
.arrow-rectangle.oriented2 {
    /* margin-left: 1vw; */
    /* padding-left: 0.5vw; */
}

.arrow {
    /* width: 70px; */
    height: 0;
    background-color: rgba(0, 0, 0, 0.8);
    transition: height 2s ease;
    margin: 0;
    padding: 0;
}

.arrow-label {
    color: #fff;
}

.arrow-rectangle .reduce-arrow {
    background-color: #A26407;
}

.arrow-rectangle .produce-arrow {
    background-color:#1E2981;
}

.arrow-rectangle:hover .reduce-arrow {
    height: 50%;
}

.arrow-rectangle:hover .produce-arrow {
    height: 50%;
}

.arrows-container {
    margin-left: 8px;
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    margin-right: 10px;
    text-align: center;
    line-height: 1;
}

.energy-saving {
    background-color: #A26407;
}

/* .energy-saving-2 {
    background-color: #DE9000;
} */

.energy-producing {
    background-color: #1E2981;
}

.reduce-arrow {
    background-color: #A26407;
}

/* .reduce-arrow-2 {
    background-color: #DE9000;
} */

.produce-arrow {
    background-color: #1E2981;
}

p.zeb-kind {
    right: 5vw;
    font-size: 1em;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5%;
    margin: 5px;
    text-align: center;
    width: clamp(1rem, 22vw, 6rem);
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
    /* .sp-size {
        display:none;
    }

    .table-container {
        width: 100%;
        max-width: 1200px;
        margin: auto;
    }
    
    table {
        width: 100%;
        border-collapse: collapse;
        background-color: #ffffff;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .table-container table:hover{
        cursor: pointer;
    }
 */
    .title {
        font-size: 1.875rem;
    }

    .flex-reverse {
        flex-direction: row-reverse;
    }

    .home-text {
        width: 70vw;
        margin-bottom: 2rem;
        p {
            padding:0 3rem;
        }
        p.zeb-kind {
            padding:0;
            
        }
    }
    
    .home-chart {
        width: 30vw;
    }

    .zeb-def {
        padding: 0 4rem;
        /* margin-bottom: 4rem; */
    }

    .zeb-kind-container {
        height: 100vh;
    }

    .zeb-container {
        padding: 0 2rem;
        margin: 0 auto;
        width:95%;
    }

    #zeb-products .table-container {
        padding: 0 4rem;
    }


    #zeb-full{
        top: 0px;
        left: 0px;
    }
    
    #zeb-nearly {
        left: 0;
    }
    
    #zeb-ready{
        top: 50vh;
        left: 0px;
    }
    
    #zeb-oriented{
        position: relative;
    }

    .zeb-detail {
        display: inline-block;
        padding: 10px 20px;
        font-size: 1rem;
        color: #fff;
        background-color:var(--east-bay-dark);
        border: none;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s ease, transform 0.3s ease;
        cursor: pointer;
    }

    .zeb-detail:hover {
        background-color:var(--blue);
        color:var(--timberwolf);
        transform: scale(1.05);
    }

    .zeb-detail:active {
        transform: scale(0.95);
    }

    /* thead {
        background-color: var(--black);
        color: #ffffff;
    }
    
    th, td {
        padding: 12px 15px;
        text-align: center;
    }
    
    td {
        color:#000000;
    }
    
    th {
        background-color: var(--black);
        opacity: 0.8;
        color:var(--white);
    }
    
    tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }
    
    tbody tr:hover {
        background-color: #e0e0e0;
    }
    
    tfoot {
        background-color: #f2f2f2;
    }
    
    tfoot td {
        padding: 12px 15px;
        text-align: right;
        font-weight: bold;
    }
    
    /* .oriented-text-groupにposition: relative;を追加 */
    .oriented-text-group {
        /* position: relative !important; を削除 */
    }

    /* p.oriented-desp PC画面用スタイル */
    .oriented-text-group > p.oriented-desp {
        position: absolute;
        right: 10px;
        font-size: 0.8em;
        color: #666;
        margin: 0;
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 4px;
        max-width: 200px;
        text-align: right;
        z-index: 1;
        top: auto; /* 明示的にautoに設定 */
        bottom: auto; /* 明示的にautoに設定 */
    }

    /* 最初のp.oriented-despを右上へ */
    .oriented-text-group > p.oriented-desp:first-of-type {
        top: 10px; 
        bottom: auto; /* 他のプロパティを上書きしないように明示 */
    }

    /* 2つ目のp.oriented-despを右下へ */
    .oriented-text-group > p.oriented-desp:last-of-type {
        bottom: 20px; 
        top: auto; /* 他のプロパティを上書きしないように明示 */
    }
}

/* 1. Font-size adjustment for .energy-rectangle-label */
@media (max-width: 1200px) {
  .energy-rectangle-label {
    font-size: 0.7rem;
  }
  .arrow-rectangle .arrow-label {
    font-size: 0.7rem;
  }
}
@media (min-width: 1201px) and (max-width: 1399px) {
  .energy-rectangle-label {
    font-size: 0.8rem;
  }
  .arrow-rectangle .arrow-label {
    font-size: 0.8rem;
  }
}
@media (min-width: 1401px) and (max-width: 1499px) {
    .energy-rectangle-label {
      font-size: 0.9rem;
    }
    .arrow-rectangle .arrow-label {
        font-size: 0.8rem;
      }
  }
@media (min-width: 1500px) {
  .energy-rectangle-label {
    font-size: 1.2rem;
  }
  .arrow-rectangle .arrow-label {
    font-size: 1rem;
  }
}

/* 2. Unify arrow widths for PC100% (screen width >= 1200px and < 1500px) */
@media (min-width: 1200px) and (max-width: 1499px) {
  .arrow,
  .reduce-arrow,
  .produce-arrow,
  .arrow-section.animate {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
  }
  .circle {
    width:40px;
    height:40px;
    font-size: 0.8rem;
  }
  p.zeb-kind {
    font-size: 0.9rem;
  }
}

/* arrow-section内のラベルを下部中央に配置 */
.arrow-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-left: 0;
  height: 100%;
}

.reduce-arrow,
.produce-arrow {
  position: relative;
  width: 100%;
  display: block;
  /* heightはJSで制御 */
  background-color: #A26407; /* もしくは #1E2981 */
}

.arrow-label {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  position: absolute;
  bottom: 0;
  z-index: 2;
  color: #fff;
}
 
/* ZEB実績セクションのスタイル */

.zeb-jisseki {
    margin: 2rem 0;
    width: 100%;
    padding: 0 3rem;
}

.zeb-jisseki .sub-title {
    font-size: 1.1rem;
    /* font-weight: bold; */
    margin-bottom: 0.5rem;
    padding: 0;
    color: var(--font);
}

#table-zeb-jisseki {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    border: 2px solid var(--font); /* 外枠を少し細い太線に */
}

#table-zeb-jisseki th,
#table-zeb-jisseki td {
    padding: 12px 15px;
    text-align: center;
    border: 1px dashed var(--font); /* セル間の細い線を点線に */
    color: var(--black);
}

#table-zeb-jisseki th {
    background-color: var(--background2);
    color: var(--font);
    font-weight: bold;
    border-bottom: 2px solid var(--font); /* ヘッダー下線を少し細い太線に */
}

#table-zeb-jisseki td {
    color: var(--font);
}

#table-zeb-jisseki tr:nth-child(even) {
    background-color: #fff;
}

#table-zeb-jisseki tr:hover {
    background-color: #f0f0f0;
}

/* 新築と既存/改修のラベルセルを縦中央寄せ */
#table-zeb-jisseki td[rowspan="4"] {
    border-right: 1px dashed var(--font); /* 細い線を点線に */
    vertical-align: middle;
}

/* 延床面積セルの下線を細い実線に (PC & Mobile) */
#table-zeb-jisseki td:nth-child(2),
#table-zeb-jisseki td:nth-child(5) {
    border-bottom: 1px dashed var(--font); /* 延床面積の下線を点線に */
}

/* ヘッダーの受注件数列（3列目）の右側の縦線を太く (PC & Mobile) */
#table-zeb-jisseki th:nth-child(3) {
    border-right: 2px solid var(--font); /* 少し細い太線に */
}

/* 受注件数列（js-countクラス）の右側の縦線を太く (PC & Mobile) */
#table-zeb-jisseki td.jisseki-cnt {
    border-right: 2px solid var(--font); /* 少し細い太線に */
}

/* モバイル対応 */
@media (max-width: 600px) {
    .zeb-jisseki {
        padding: 10px;
    }
    
    #table-zeb-jisseki {
        table-layout: fixed;
        font-size: 0.8em;
        border: 2px solid var(--font); /* 外枠を少し細い太線に */
    }
    
    #table-zeb-jisseki th,
    #table-zeb-jisseki td {
        padding: 5px 2px;
        white-space: normal; /* モバイルでは折り返しを許可 */
        border: 1px dashed var(--font); /* セル間の細い線を点線に */
    }

    /* 新築と既存/改修のラベル列のスタイル（モバイル用）*/
    #table-zeb-jisseki td[rowspan="4"] {
        width: 4em; /* 幅を狭く */
        min-width: 4em; /* 最小幅も設定 */
        white-space: normal;
        border-right: 1px dashed var(--font); /* 細い線を点線に */
    }

    /* ヘッダーの新築と既存/改修の列幅を合わせる */
    #table-zeb-jisseki th:nth-child(1),
    #table-zeb-jisseki th:nth-child(4) { /* Typo fixed */
        width: 4em; /* 幅を狭く */
        min-width: 4em; /* 最小幅も設定 */
        white-space: normal;
    }

    /* 受注件数列の幅を調整 (モバイル用) */
    #table-zeb-jisseki th:nth-child(3),
    #table-zeb-jisseki th:nth-child(6),
    #table-zeb-jisseki td.jisseki-cnt {
        width: 2em !important; /* 受注件数の幅を2文字分に調整 */
        min-width: 2em !important; /* 最小幅も設定 */
        text-align: center;
        padding: 5px 2px; /* パディング調整 */
        white-space: normal; /* テキストの折り返しを許可 */
    }

    /* 受注件数列（jisseki-cntクラス）の右側の縦線を太く (PC & Mobile) */
    #table-zeb-jisseki td.jisseki-cnt {
        border-right: 2px solid var(--font) !important; /* 少し細い太線に */
    }

    /* ヘッダーの下線 */
    #table-zeb-jisseki th {
        border-bottom: 2px solid var(--font); /* ヘッダー下線を少し細い太線に */
    }

     /* 延床面積の列の幅調整 - 改行を防ぐ */
     #table-zeb-jisseki td:nth-child(2),
     #table-zeb-jisseki td:nth-child(5) { /* Typo fixed */
         width: auto; /* 幅の指定をautoに戻す */
         white-space: nowrap; /* 改行を防ぐ */
         border-bottom: 1px dashed var(--font); /* 延床面積の下線を点線に */
     }

     /* ヘッダーの延床面積の列幅調整 */
     #table-zeb-jisseki th:nth-child(2),
     #table-zeb-jisseki th:nth-child(5) {
         width: auto; /* 幅の指定をautoに戻す */
         white-space: normal;
     }
}