/* 施工実績（safe-guard.jp/works/）。ヘッダー・cta・follow・フッターは ../css/style.css（LPと同じ） */
.works-main {
    padding: 16px 16px 8px;
    background: #fff;
    color: #222;
    line-height: 1.7;
}
.works-main p {
    font-size: 15px;
    margin: 0 0 12px;
}
.works-bread {
    color: #777;
}
.works-main .works-bread {
    font-size: 12px;
}
.works-bread a,
.works-back a {
    color: #0059b3;
}
.works-h1 {
    font-size: 24px;
    margin: 4px 0 10px;
    padding-bottom: 8px;
    border-bottom: 3px solid #ff0000;
}
.works-h2 {
    font-size: 18px;
    margin: 28px 0 10px;
    padding: 6px 10px;
    background: #0059b3;
    color: #fff;
    border-radius: 4px;
}
.works-intro {
    font-weight: bold;
}
.works-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.works-tab {
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid #0059b3;
    border-radius: 999px;
    background: #fff;
    color: #0059b3;
    cursor: pointer;
}
.works-tab.is-active {
    background: #0059b3;
    color: #fff;
}
.works-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.works-card {
    margin: 0 0 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.works-card[hidden] {
    display: none;
}
.works-card a {
    display: flex;
    color: inherit;
    text-decoration: none;
}
.works-thumb {
    flex: 0 0 38%;
    aspect-ratio: 1 / 1;
    background: #eef3fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.works-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works-noimg {
    color: #0059b3;
    font-weight: bold;
}
.works-body {
    padding: 10px 12px;
    min-width: 0;
}
.works-main .works-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    margin: 0 0 6px;
}
.works-date {
    color: #777;
}
.works-chip {
    background: #eef3fa;
    color: #0059b3;
    border-radius: 999px;
    padding: 1px 8px;
}
.works-chip.pest {
    background: #ffecec;
    color: #d40000;
}
.works-title {
    font-size: 16px;
    margin: 0 0 4px;
    line-height: 1.4;
}
.works-main .works-lead {
    font-size: 13px;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.works-list.small .works-thumb {
    flex-basis: 30%;
}
.works-check {
    list-style: none;
    margin: 0;
    padding: 0;
}
.works-check li {
    position: relative;
    padding: 6px 0 6px 28px;
    border-bottom: 1px dashed #ddd;
    font-size: 15px;
}
.works-check li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    color: #ff0000;
    font-weight: bold;
}
.works-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.works-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}
.works-back {
    text-align: center;
    margin: 24px 0 8px;
}
