/* =========================================================
   Weed
   ========================================================= */
.sg-weed {
    padding: 0 0 70px;
}

/* -------------------------
   common
------------------------- */
.sg-weed img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sg-weed figure {
    margin: 0;
}

.sg-weed .sgwe-section {
    margin: 0 0 70px;
}

.sg-weed .sgwe-section-lead {
    margin: 24px auto 30px;
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 2;
}

.sg-weed .sgwe-bar-title {
    background: #8b9f5c;
    color: #fff;
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.4;
    letter-spacing: .14em;
    margin: 0 0 40px;
    padding: 10px 20px;
}

.sg-weed .sgwe-sub-title {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .08em;
    color: #596c42;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    margin: 0 0 40px;
    padding-bottom: 5px;
}

.sg-weed .sgwe-btn-wrap {
    text-align: center;
    margin: 28px 0 0;
}

.sg-weed .sgwe-button-wrap {
    text-align: center;
    margin: 0;
}

.sg-weed .sgwe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    letter-spacing: .06em;
    line-height: 1.5;
    color: #fff;
    background: #596c42;
    padding: 15px 20px;
}

.sg-weed .sgwe-btn:hover,
.sg-weed .sgwe-btn:focus {
    opacity: .5;
}

/* -------------------------
   hero
------------------------- */
.sg-weed .sgwe-hero {
    max-width: 100%;
    text-align: center;
    margin: 0 0 30px;
}

.sg-weed .sgwe-hero-figure {
    max-width: 100%;
    margin: 0 0 30px;
}

.sg-weed .sgwe-hero-figure img {
    width: 100%;
}

.sg-weed .sgwe-lead {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    line-height: 1.9;
    letter-spacing: .03em;
    margin: 0;
}

/* -------------------------
   目次
------------------------- */
.sg-weed .sgwe-toc {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: start;
    gap: 30px;
    max-width: 500px;
    box-sizing: border-box;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    border: 1px solid rgba(0, 0, 0, .35);
    margin: 0 auto 70px;
    padding: 20px 40px;
}

.sg-weed .sgwe-sec-lead {
    text-align: left;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #596c42;
    margin: 0;
    line-height: 1.5;
}

.sg-weed .sgwe-toc-list {
    margin: 0;
    padding: 0 0 0 1.4em;
}

.sg-weed .sgwe-toc-list li {
    margin: 0;
    padding: 5px 0;
}

.sg-weed .sgwe-toc-list li::marker {
    color: #596c42;
}

.sg-weed .sgwe-toc-list a {
    display: block;
    text-decoration: none;
    color: #000;
    line-height: 1.7;
}

.sg-weed .sgwe-toc-list a:hover,
.sg-weed .sgwe-toc-list a:focus {
    opacity: 0.5;
}

@media (max-width: 767px) {
    .sg-weed .sgwe-toc {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 20px 24px;
        margin-bottom: 50px;
    }

    .sg-weed .sgwe-sec-lead {
        font-size: 20px;
    }
}

/* -------------------------
   judg
------------------------- */
.sg-weed .sgwe-judg-figure {
    max-width: 100%;
    margin: 0;
}

.sg-weed .sgwe-judg-figure img {
    width: 100%;
}

/* -------------------------
   result
------------------------- */
.sg-weed .sgwe-result-list {
    display: grid;
    gap: 80px;
}

.sg-weed .sgwe-result-card {
    padding: 0;
}

.sg-weed .sgwe-result-lead {
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    line-height: 1.9;
    margin: 0 auto 30px;
}

.sg-weed .sgwe-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 30px;
}

.sg-weed .sgwe-photo-grid img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.sg-weed .sgwe-detail-row {
    border: 1px solid rgba(0, 0, 0, .35);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
    margin: 30px 0 60px;
    padding: 30px 40px;
}

.sg-weed .sgwe-detail-row h4,
.sg-weed .sgwe-before-after h4 {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .08em;
    color: #596c42;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    margin: 0 0 20px;
    padding-bottom: 5px;
}

.sg-weed .sgwe-detail-row-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 20px;
}

.sg-weed .sgwe-detail-row-inner figure {
    margin: 0;
}

.sg-weed .sgwe-detail-row-inner img {
    width: 100%;
    height: auto;
    display: block;
}

.sg-weed .sgwe-detail-row-inner p {
    line-height: 1.9;
    letter-spacing: .08em;
    margin: 0;
}

/* before after */
.sg-weed .sgwe-before-after {
    margin: 0 0 60px;
    padding: 0 40px;
}

.sg-weed .sgwe-before-after-body {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.sg-weed .sgwe-before-after-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    position: relative;
}

.sg-weed .sgwe-before-after-images figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.sg-weed .sgwe-before-after-images img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

/* 画像上のラベル */
.sg-weed .sgwe-before-after-images figure:first-child::before {
    content: "＜ 工事前";
}

.sg-weed .sgwe-before-after-images figure:nth-child(2)::before {
    content: "工事後 ＞";
}

.sg-weed .sgwe-before-after-images figure:first-child::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: auto;
    text-align: left;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    line-height: 1;
    letter-spacing: .08em;
    color: #fff;
    background: rgba(91, 58, 31, .7);
    padding: 15px 10px;
}

.sg-weed .sgwe-before-after-images figure:nth-child(2)::before {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: auto;
    text-align: right;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    line-height: 1;
    letter-spacing: .08em;
    color: #fff;
    background: rgba(91, 58, 31, .7);
    padding: 15px 10px;
}

/* 中央の白い仕切り */
.sg-weed .sgwe-before-after-images::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 22px;
    height: 72px;
    background: #fff;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.sg-weed .sgwe-before-after-body p {
    line-height: 1.9;
    letter-spacing: .08em;
    margin: 0;
}

/* -------------------------
   responsive
------------------------- */
@media (max-width: 900px) {
    .sg-weed .sgwe-detail-row {
        padding: 24px 22px;
    }

    .sg-weed .sgwe-detail-row-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0 0;
    }

    .sg-weed .sgwe-before-after-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .sg-weed .sgwe-detail-row {
        margin-bottom: 44px;
        padding: 20px 16px;
        border-radius: 8px;
    }

    .sg-weed .sgwe-detail-row h4,
    .sg-weed .sgwe-before-after h4 {
        font-size: 22px;
    }

    .sg-weed .sgwe-detail-row-inner p,
    .sg-weed .sgwe-before-after-body p {
        font-size: 17px;
        line-height: 1.9;
        letter-spacing: .04em;
    }

    .sg-weed .sgwe-before-after-images {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sg-weed .sgwe-before-after-images::after {
        display: none;
    }
}

/* -------------------------
   material table
------------------------- */
.sg-weed .sgwe-table-wrap {
    overflow-x: auto;
}

.sg-weed .sgwe-material-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    border: 1px solid rgba(0, 0, 0, .35);
    background: #fff;
}

.sg-weed .sgwe-material-table th,
.sg-weed .sgwe-material-table td {
    vertical-align: middle;
    line-height: 1.8;
    border: 1px solid rgba(0, 0, 0, .35);
    padding: 15px 20px;
}

.sg-weed .sgwe-material-table thead th {
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    background: #f0f6da;
}

.sg-weed .sgwe-material-table tbody th {
    width: 200px;
    background: #f0f6da;
    text-align: center;
    font-weight: 500;
}

.sg-weed .sgwe-material-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sg-weed .sgwe-material-name {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
}

.sg-weed .sgwe-material-table tbody th img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: 0;
    flex: 0 0 50px;
}

.sg-weed .sgwe-material-table ul {
    padding-left: 1.2em;
    margin: 0;
}

.sg-weed .sgwe-material-table li {
    margin: 2px 0;
}

.sg-weed .sgwe-note {
    line-height: 1.8;
    margin: 18px 0 0;
}

/* -------------------------
   diy
------------------------- */
.sg-weed .sgwe-diy-list {
    display: grid;
    gap: 50px;
}

.sg-weed .sgwe-diy-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: center;
}

.sg-weed .sgwe-diy-card figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sg-weed .sgwe-diy-body h3 {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .04em;
    margin: 0 0 10px;
}

.sg-weed .sgwe-diy-body p {
    line-height: 1.9;
    margin: 0;
}

/* -------------------------
   combo
------------------------- */
.sg-weed .sgwe-combo-list {
    display: grid;
    gap: 50px;
}

.sg-weed .sgwe-combo-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    align-items: start;
}

.sg-weed .sgwe-combo-figure {
    overflow: hidden;
}

.sg-weed .sgwe-combo-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sg-weed .sgwe-combo-body {
    display: grid;
    gap: 30px;
    margin-top: 20px;
}

.sg-weed .sgwe-combo-body h3 {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
    margin: 0;
}

.sg-weed .sgwe-combo-body p {
    line-height: 1.9;
    margin: 0;
}

.sg-weed .sgwe-combo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: fit-content;
    min-width: 320px;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    color: #fff;
    background: #596c42;
    padding: 15px 20px;
}

.sg-weed .sgwe-combo-button:hover,
.sg-weed .sgwe-combo-button:focus {
    opacity: .85;
}


/* -------------------------
   responsive
------------------------- */
@media (max-width: 900px) {

    .sg-weed .sgwe-section,
    .sg-weed .sgwe-hero {
        max-width: 100%;
    }

    .sg-weed .sgwe-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 640px;
    }

    .sg-weed .sgwe-detail-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sg-weed .sgwe-before-after-body {
        grid-template-columns: 1fr;
    }

    .sg-weed .sgwe-diy-card {
        grid-template-columns: 1fr;
    }

    .sg-weed .sgwe-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .sg-weed {
        padding-bottom: 50px;
    }

    .sg-weed .sgwe-pagehead {
        padding: 30px 0 24px;
    }

    .sg-weed .sgwe-pagehead h1::after {
        width: 140%;
    }

    .sg-weed .sgwe-section {
        margin-top: 48px;
    }

    .sg-weed .sgwe-bar-title {
        margin-bottom: 26px;
        padding: 8px 10px;
    }

    .sg-weed .sgwe-lead,
    .sg-weed .sgwe-result-lead,
    .sg-weed .sgwe-section-lead {
        text-align: left;
    }

    .sg-weed .sgwe-photo-grid {
        grid-template-columns: 1fr;
    }

    .sg-weed .sgwe-result-list {
        gap: 56px;
    }

    .sg-weed .sgwe-result-card {
        padding-bottom: 50px;
    }

    .sg-weed .sgwe-material-table {
        min-width: 700px;
        font-size: 15px;
    }

    .sg-weed .sgwe-related-grid {
        grid-template-columns: 1fr;
    }

    .sg-weed .sgwe-btn {
        width: 100%;
        min-width: 0;
    }
}