/* =========================================================
   Wood Deck
   ========================================================= */
.sg-wooddeck {
    padding: 0 0 70px;
}

/* -------------------------
   common
------------------------- */
.sg-wooddeck .sgwd-bar-title {
    background: #816e5a;
    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-wooddeck .sgwd-subtitle {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .08em;
    color: #504336;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    margin: 0 0 40px;
    padding-bottom: 5px;
}

.sg-wooddeck .sgwd-subtaitle p {
    margin: 0;
}

.sg-wooddeck img {
    display: block;
    width: 100%;
}

.sg-wooddeck .sgwd-section {
    margin: 0 0 70px;
}

.sg-wooddeck .sgwd-section-lead {
    display: block;
    text-align: center;
    margin: 0 0 40px;
}

.sg-wooddeck .sgwd-section-lead p {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.9;
    margin: 0;
}

.sg-wooddeck .sgwd-btn-wrap {
    text-align: center;
    margin: 0;
}

.sg-wooddeck .sgwd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    letter-spacing: .06em;
    line-height: 1.5;
    color: #fff;
    background: #504336;
    padding: 15px 20px;
}


/* -------------------------
   intro
------------------------- */
.sg-wooddeck .sgwd-intro {
    display: block;
    margin: 0 0 50px;
}

.sg-wooddeck .sgwd-intro-figure {
    margin-bottom: 20px;
    overflow: hidden;
}

.sg-wooddeck .sgwd-lead-copy {
    text-align: center;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: clamp(20px, 3.1vw, 26px);
    line-height: 1.6;
    letter-spacing: .08em;
    margin: 0 0 20px;
}

.sg-wooddeck .sgwd-lead-text {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.9;
    margin: 0;
}

/* -------------------------
   目次
------------------------- */
.sg-wooddeck .sgwd-toc {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: start;
    gap: 30px;
    max-width: 900px;
    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-wooddeck .sgwd-sec-lead {
    text-align: left;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #504336;
    margin: 0;
    padding-top: 5px;
}

.sg-wooddeck .sgwd-toc-list {
    columns: 2;
    column-gap: 30px;
    margin: 0;
    padding: 0 25px;
}

.sg-wooddeck .sgwd-toc-list li {
    break-inside: avoid;
    text-decoration: none;
    margin: 0;
    padding: 5px 0;
}

.sg-wooddeck .sgwd-toc-list li::marker {
    color: #504336;
}

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

.sg-wooddeck .sgwd-toc-list a:hover,
.sg-wooddeck .sgwd-toc-list a:focus {
    opacity: 0.5;
}

/* -------------------------
   material
------------------------- */
.sg-wooddeck .sgwd-material-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.sg-wooddeck .sgwd-material-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sg-wooddeck .sgwd-material-body {
    display: grid;
    gap: 20px;
    padding: 10px;
}

.sg-wooddeck .sgwd-material-body h3 {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.95;
    margin: 0;
}

.sg-wooddeck .sgwd-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.sg-wooddeck .sgwd-check-list li {
    position: relative;
    line-height: 1.9;
    margin: 0;
    padding-left: 1.2em;
}

.sg-wooddeck .sgwd-check-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
}

/* -------------------------
   forte
------------------------- */
.sg-wooddeck .sgwd-forte-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 30px;
}

.sg-wooddeck .sgwd-forte-card {
    display: grid;
    gap: 14px;
}

.sg-wooddeck .sgwd-forte-card figure {
    overflow: hidden;
}

.sg-wooddeck .sgwd-forte-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sg-wooddeck .sgwd-forte-text {
    text-align: center;
    line-height: 1.9;
    margin: 0 0 50px;
}

/* -------------------------
   points
------------------------- */
.sg-wooddeck .sgwd-point-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.sg-wooddeck .sgwd-point-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.sg-wooddeck .sgwd-point-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sg-wooddeck .sgwd-point-card h3 {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.95;
    margin: 0 0 20px;
}

.sg-wooddeck .sgwd-point-card p {
    line-height: 1.9;
    margin: 0;
}

/* -------------------------
   後悔
------------------------- */
.sg-wooddeck .sgwd-failure-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: center;
    margin: 0 0 30px;
}

.sg-wooddeck .sgwd-failure-card {    
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, .35);
    background: rgba(129, 110, 90, .2);
    min-height: 200px;
    margin: 0;
    padding: auto 10px;
}

.sg-wooddeck .sgwd-failure-body {
    width: 100%;
}

.sg-wooddeck .sgwd-failure-body p {
    font-size: 22px;
    line-height: 1.9;
    margin: 0;
}

/* -------------------------
   price
------------------------- */
.sg-wooddeck .sgwd-price-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, .35);
    background: rgba(129, 110, 90, .2);
    margin: 0 0 30px;
    padding: 20px 0;
}

.sg-wooddeck .sgwd-price-item {
    width: fit-content;
    margin: 0 auto;
}

.sg-wooddeck .sgwd-price-item p {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.9;
    letter-spacing: .08em;
}

.sg-wooddeck .sgwd-price-subtext p {
    margin: 0;
}

/* -------------------------
   case
------------------------- */
.sg-wooddeck .sgwd-case {
    margin: 0 0 70px;
}
.sg-wooddeck .sgwd-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0 0 30px;
}

.sg-wooddeck .sgwd-case-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.sg-wooddeck .sgwd-case-text p {
    line-height: 1.9;
    margin: 0 0 30px;
}

/* -------------------------
   FAQ
------------------------- */
/* アコーディオン全体 */
.sg-wooddeck .sgwd-acc {
    display: grid;
    gap: 30px;
}

/* 1項目（枠） */
.sg-wooddeck .sgwd-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .35);
}

/* summary のデフォルトマーカーを消す */
.sg-wooddeck .sgwd-item > summary {
    list-style: none;
}

.sg-wooddeck .sgwd-item > summary::-webkit-details-marker {
    display: none;
}

/* 質問行 */
.sg-wooddeck .sgwd-q {
    cursor: pointer;
    display: grid;
    grid-template-columns: 45px 1fr 45px;
    align-items: end;
    column-gap: 10px;
    user-select: none;
    padding: 15px 20px;
}

.sg-wooddeck .sgwd-qmark {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 600;
    font-size: 35px;
    letter-spacing: .06em;
}

.sg-wooddeck .sgwd-qtext {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.7;
    padding-bottom: 5px;
}

/* ＋ / － アイコン（CSSで描画） */
.sg-wooddeck .sgwd-ico {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-block;
    justify-self: end;
}

.sg-wooddeck .sgwd-ico::before,
.sg-wooddeck .sgwd-ico::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #474b42;
    transform: translate(-50%, -50%);
}

.sg-wooddeck .sgwd-ico::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* open のときは「－」にする */
.sg-wooddeck details[open] .sgwd-ico::after {
    opacity: 0;
}

.sg-wooddeck details[open] .sgwd-q {
    border-bottom: 1px solid rgba(0, 0, 0, .35);
}

/* 回答 */
.sg-wooddeck .sgwd-a {
    padding: 20px 30px;
}

.sg-wooddeck .sgwd-a p {
    line-height: 1.9;
    margin: 0;
}

/* SP */
@media (max-width: 600px) {
    .sg-wooddeck .sgwd-acc {
        gap: 18px;
    }

    .sg-wooddeck .sgwd-q {
        grid-template-columns: 34px 1fr 34px;
        column-gap: 8px;
        padding: 12px 14px;
    }

    .sg-wooddeck .sgwd-qmark {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

    .sg-wooddeck .sgwd-qtext {
        font-size: 17px;
        line-height: 1.6;
        padding-bottom: 2px;
    }

    .sg-wooddeck .sgwd-ico {
        width: 34px;
        height: 34px;
    }

    .sg-wooddeck .sgwd-a {
        padding: 16px 18px;
    }
}

/* -------------------------
   flow
------------------------- */
.sg-wooddeck .sgwd-flow {
    padding-bottom: 70px;
}

.sg-wooddeck .sgwd-flow-list {
    display: grid;
    gap: 50px;
}

.sg-wooddeck .sgwd-flow-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
}

.sg-wooddeck .sgwd-flow-figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.sg-wooddeck .sgwd-flow-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.sg-wooddeck .sgwd-flow-step {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, .92);
    border: 4px solid rgba(255, 255, 255, .92);
    box-shadow: 0 0 0 1px rgba(140, 140, 140, .45) inset;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 28px;
    line-height: 1.05;
    color: #8f8a84;
    letter-spacing: .02em;
    text-align: center;
    margin: 0;
}

.sg-wooddeck .sgwd-flow-body {
    padding: 10px 0 0;
}

.sg-wooddeck .sgwd-flow-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;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    padding-bottom: 5px;
    margin: 0 0 20px;
}

.sg-wooddeck .sgwd-flow-body p {
    line-height: 1.9;
    margin: 0;
}

.sg-wooddeck .sgwd-flow-note {
    text-align: center;
    margin-top: 70px;
}

.sg-wooddeck .sgwd-flow-note p {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.9;
    margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .sg-wooddeck .sgwd-flow-list {
        gap: 40px;
    }

    .sg-wooddeck .sgwd-flow-item {
        grid-template-columns: 300px 1fr;
        gap: 24px;
    }

    .sg-wooddeck .sgwd-flow-step {
        width: 70px;
        height: 70px;
        font-size: 22px;
        left: 10px;
        top: 10px;
    }

    .sg-wooddeck .sgwd-flow-body h3 {
        margin-bottom: 14px;
        padding-bottom: 12px;
        font-size: clamp(24px, 3vw, 34px);
    }

    .sg-wooddeck .sgwd-flow-body p {
        font-size: 16px;
        line-height: 1.9;
    }

    .sg-wooddeck .sgwd-flow-note {
        margin-top: 50px;
    }
}

/* SP */
@media (max-width: 600px) {
    .sg-wooddeck .sgwd-flow {
        padding-bottom: 50px;
    }

    .sg-wooddeck .sgwd-flow-list {
        gap: 34px;
    }

    .sg-wooddeck .sgwd-flow-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sg-wooddeck .sgwd-flow-step {
        width: 64px;
        height: 64px;
        font-size: 20px;
        left: 10px;
        top: 10px;
    }

    .sg-wooddeck .sgwd-flow-body h3 {
        font-size: 28px;
        line-height: 1.5;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .sg-wooddeck .sgwd-flow-body p {
        font-size: 15px;
        line-height: 1.9;
    }

    .sg-wooddeck .sgwd-flow-note {
        margin-top: 40px;
        text-align: left;
    }

    .sg-wooddeck .sgwd-flow-note p {
        font-size: 15px;
        line-height: 1.9;
    }
}


/* -------------------------
   responsive
------------------------- */
@media (max-width: 900px) {
    .sg-wooddeck {
        padding-bottom: 44px;
    }

    .sg-wooddeck section+section {
        margin-top: 44px;
    }

    .sg-wooddeck .sgwd-about-grid,
    .sg-wooddeck .sgwd-product-grid,
    .sg-wooddeck .sgwd-cta-box {
        grid-template-columns: 1fr;
    }

    .sg-wooddeck .sgwd-forte-grid,
    .sg-wooddeck .sgwd-point-cards,
    .sg-wooddeck .sgwd-material-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-wooddeck .sgwd-product-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .sg-wooddeck .sgwd-pagehead {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .sg-wooddeck .sgwd-bar-title {
        margin-bottom: 18px;
        padding: 9px 12px;
        font-size: 18px;
    }

    .sg-wooddeck .sgwd-forte-grid,
    .sg-wooddeck .sgwd-point-cards,
    .sg-wooddeck .sgwd-material-box,
    .sg-wooddeck .sgwd-product-images {
        grid-template-columns: 1fr;
    }

    .sg-wooddeck .sgwd-product {
        padding-bottom: 26px;
    }

    .sg-wooddeck .sgwd-material-item,
    .sg-wooddeck .sgwd-point-card,
    .sg-wooddeck .sgwd-cta-box {
        padding: 18px;
    }

    .sg-wooddeck .sgwd-forte-card h3,
    .sg-wooddeck .sgwd-point-card h3,
    .sg-wooddeck .sgwd-material-item h3 {
        font-size: 18px;
    }

    .sg-wooddeck .sgwd-cta-btn {
        width: 100%;
    }
}