@charset "UTF-8"; 

.item-detail {
    width: min(900px, calc(100% - 40px));
    margin: 50px auto 90px;
}

.made-to-order {
    margin-bottom: 70px;
    padding: 48px 55px 52px;
    border: 1px solid #cbd4df;
    text-align: center;
}

.made-to-order h1 {
    margin: 0;
    color: var(--navy);
    font-family: "Noto Serif JP", serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: .15em;
}

.made-to-order__decoration {
    width: 144px;
    height: 15px;
    margin: 17px auto 23px;
    background: url("../img/m_special.png") center / contain no-repeat;
}

section#itemDetail-wrap .made-to-order p {
    margin: 0;
    line-height: 2.5;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.made-to-order__links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 36px;
}

.made-to-order__links a {
    position: relative;
    width: 320px;
    padding: 13px 32px;
    border-radius: 4px;
    color: #fff;
    background: var(--navy);
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: .2s;
}

.made-to-order__links a:hover {
    opacity: .8;
}

.made-to-order__links a::after {
    content: "›";
    position: absolute;
    right: 20px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
}

.detail-section {
    margin-top: 56px;
    font-size: 16px;
}

.detail-section h2 {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 24px;
    color: var(--navy);
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .08em;
}

.detail-section h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d6dbe1;
}

section#itemDetail-wrap .detail-section p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 190%;
}

.description table {
    width: 100%;
    border-collapse: collapse;
}

.description th,.description td {
    border: 1px solid #cbd4df;
}

.material-table th {
    width: 150px;
    color: var(--navy);
    background: #eef1f5;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.05em;
}

.material-table td {
    padding: 15px 24px;
    line-height: 1.75;
}

section#itemDetail-wrap .detail-section .note {
    margin-top: 20px !important;
    color: #777;
    font-size: 14px;
}

.spec-table th {
    width: 150px;
    padding: 15px;
    color: var(--navy);
    background: #eef1f5;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.spec-table td {
    padding: 15px 24px;
}

.spec-table small {
    color: #999;
}

.detail-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-section li {
    position: relative;
    padding-left: 15px;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 190%;
}

.detail-section li::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D7DDE6;
}

.text-link {
    color: #527da8 !important;
    text-decoration: underline !IMPORTANT;
    text-underline-offset: 3px;
}

.note--indent {
    margin: 8px 0 0 18px !important;
}

@media (max-width: 768px) {
    article#Detail #main-column .detail-section p {
        font-size: 14px;
    }
    article#Detail #main-column .detail-section p.note{
    font-size: 12px;
}

    article#Detail #main-column .note--indent {
        margin: 4px 0 0 16px !important;
    }

    article#Detail #main-column .item-detail {
        width: calc(100% - 32px);
        margin: 24px auto 60px;
    }

    article#Detail #main-column .made-to-order {
        margin-bottom: 50px;
        padding: 34px 18px 30px;
    }

    article#Detail #main-column .made-to-order h1 {
        font-size: 26px;
    }

    article#Detail #main-column .made-to-order p br {
        display: none;
    }

    article#Detail #main-column .made-to-order__links {
        flex-direction: column;
        gap: 12px;
        margin-top: 26px;
    }

    article#Detail #main-column .made-to-order__links a {
        width: 100%;
        padding: 16px 28px;
        font-size: 14px;
    }

    article#Detail #main-column .detail-section {
        margin-top: 42px;
        letter-spacing: .01em;
    }

    article#Detail #main-column .detail-section h2 {
        gap: 14px;
        margin-bottom: 18px;
        font-size: 20px;
    }

    article#Detail #main-column .material-table th {
        width: 25%;
        padding: 10px 6px;
        font-size: 16px;
    }

    article#Detail #main-column .spec-table th {
        width: 25%;
        padding: 10px 6px;
        font-size: 14px;
    }

    article#Detail #main-column .material-table td, .spec-table td {
        padding: 11px 12px;
        font-size: 14px;
    }

    article#Detail #main-column .material-table td {
        font-size: 14px;
        line-height: 1.65;
    }

    article#Detail #main-column .detail-section li {
        letter-spacing: .01em;
        font-size: 14px;
    }

    article#Detail #main-column .made-to-order p {
        line-height: 1.9;
        font-size: 14px;
    }

    article#Detail #main-column .spec-table small {
        display: block;
        line-height: 150%;
        margin: 5px 0 0;
    }
    .made-to-order__links a::after{
    line-height: 100%;
}
}
