/* =========================================================
   Tile Deck
   ========================================================= */
.sg-tiledeck {
    padding: 0 0 70px;
}

/* -------------------------
   common
------------------------- */
.sg-tiledeck .sgtd-bar-title {
    background: #719bad;
    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-tiledeck .sgtd-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: #4b6672;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, .35);
    margin: 0 0 40px;
    padding-bottom: 5px;
}

.sg-tiledeck .sgtd-subtaitle p {
    margin: 0;
}

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

.sg-tiledeck .sgtd-section {
    margin: 0 0 70px;
}

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

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

.sg-tiledeck .sgtd-btn-wrap {
    text-align: center;
    margin: 0;
}

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


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

.sg-tiledeck .sgtd-intro-figure {
    margin-bottom: 20px;
    overflow: hidden;
}

.sg-tiledeck .sgtd-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-tiledeck .sgtd-lead-text {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.9;
    margin: 0;
}

/* -------------------------
   目次
------------------------- */
.sg-tiledeck .sgtd-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-tiledeck .sgtd-sec-lead {
    text-align: left;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #4b6672;
    margin: 0;
    padding-top: 5px;
}

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

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

.sg-tiledeck .sgtd-toc-list li::marker {
    color: #4b6672;
}

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

.sg-tiledeck .sgtd-toc-list a:hover,
.sg-tiledeck .sgtd-toc-list a:focus {
    opacity: 0.5;
}

/* -------------------------
   material
------------------------- */
.sg-tiledeck .sgtd-material-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.sg-tiledeck .sgtd-material-figure img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.sg-tiledeck .sgtd-material-body {
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

.sg-tiledeck .sgtd-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-tiledeck .sgtd-material-body p {
    margin: 0;
}

/* -------------------------
   type
------------------------- */
.sg-tiledeck .sgtd-type-grid {
    display: grid;
    gap: 30px;
}

.sg-tiledeck .sgtd-type-card {
    display: grid;    
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.sg-tiledeck .sgtd-type-card figure {
    overflow: hidden;
}

.sg-tiledeck .sgtd-type-card img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.sg-tiledeck .sgtd-type-body {
    text-align: center;
    line-height: 1.9;
    margin: 0 0 50px;
}

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

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

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

.sg-tiledeck .sgtd-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-tiledeck .sgtd-point-card p {
    line-height: 1.9;
    margin: 0;
}

/* -------------------------
   price
------------------------- */
.sg-tiledeck .sgtd-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-tiledeck .sgtd-price-item {
    width: fit-content;
    margin: 0 auto;
}

.sg-tiledeck .sgtd-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;
    margin: 0;
}

.sg-tiledeck .sgtd-price-text p {
    margin: 0;
}

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

.sg-tiledeck .sgtd-case-figure img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

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

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

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

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

.sg-tiledeck .sgtd-item > summary::-webkit-details-marker {
    display: none;
}

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

.sg-tiledeck .sgtd-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-tiledeck .sgtd-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-tiledeck .sgtd-ico {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-block;
    justify-self: end;
}

.sg-tiledeck .sgtd-ico::before,
.sg-tiledeck .sgtd-ico::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: #4b6672;
    transform: translate(-50%, -50%);
}

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

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

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

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

.sg-tiledeck .sgtd-a p {
    line-height: 1.9;
    margin: 0;
}

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

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

    .sg-tiledeck .sgtd-qmark {
        width: 34px;
        height: 34px;
        font-size: 26px;
    }

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

    .sg-tiledeck .sgtd-ico {
        width: 34px;
        height: 34px;
    }

    .sg-tiledeck .sgtd-a {
        padding: 16px 18px;
    }
}

/* -------------------------
   flow
------------------------- */
.sg-tiledeck .sgtd-flow {
    padding-bottom: 70px;
}

.sg-tiledeck .sgtd-flow-list {
    display: grid;
    gap: 50px;
}

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

.sg-tiledeck .sgtd-flow-figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

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

.sg-tiledeck .sgtd-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-tiledeck .sgtd-flow-body {
    padding: 10px 0 0;
}

.sg-tiledeck .sgtd-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-tiledeck .sgtd-flow-body p {
    line-height: 1.9;
    margin: 0;
}

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

.sg-tiledeck .sgtd-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-tiledeck .sgtd-flow-list {
        gap: 40px;
    }

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

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

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

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

    .sg-tiledeck .sgtd-flow-note {
        margin-top: 50px;
    }
}

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

    .sg-tiledeck .sgtd-flow-list {
        gap: 34px;
    }

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

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

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

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

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

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


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

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

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

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

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

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

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

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

    .sg-tiledeck .sgtd-product {
        padding-bottom: 26px;
    }

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

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

    .sg-tiledeck .sgtd-cta-btn {
        width: 100%;
    }
}