.gold-calculator {
    margin-top: 6cqw;
    container-type: inline-size;
}

.gold-calculator__title {
    font-size: 7vw;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

.gold-calculator__title span {
    color: #e60012;
}

.gold-calculator__label {
    text-align: center;
    font-weight: 500;
    color: #000;
    display: block;
}

.gold-calculator__input {
    text-align: center;
}

.gold-calculator__input-wrapper {
    position: relative;
    width: 80%;
}

.gold-calculator__input-unit {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #000;
    pointer-events: none;
}

.w_unit {
    display: none;
}

.w_unit.active {
    display: block;
}

/* ==============================================
    PC表示用のスタイル (ここから追加・変更)
    ==============================================
    */
@media (min-width: 768px) {
    .gold-calculator__title {
        font-size: 2.25rem;
    }

    .gold-calculator__arrow-icon {
        width: 120px;
        height: 40px;
    }
}

#pm-calc-tool {
    margin: 0 5%;
    width: auto;
    padding: 4cqw;
}

#pm-calc-tool .purity-block,
#pm-calc-tool .weight-block {
    display: flex;
    width: 80cqw;
    margin: auto;
}

#pm-calc-tool .purity-block {
    margin-bottom: 6cqw;
}

#pm-calc-tool .pm-calc-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 3cqw;
    width: 20%;
}

#pm-calc-tool .pm-calc-result-box {
    border: var(--border-thin) solid var(--color-gray-dark);
    border-radius: var(--border-radius-m);
    overflow: hidden;
    display: flex;
    width: 80cqw;
    margin: 6cqw auto 4cqw;
}

#pm-calc-tool .pm-calc-result-text {
    color: #fff;
    background-color: var(--color-red);
    width: 38%;
    display: flex;
    padding: 2cqh 1cqw;
}

#pm-calc-tool .pm-calc-result-text p {
    margin: auto;
}

#pm-calc-tool .pm-calc-result {
    color: var(--color-red);
    background: #fff;
    width: 62%;
    text-align: center;
    padding: 2cqh 0;
}

#pm-calc-tool .pm-calc-select-box {
    padding: 4cqw 8cqw 4cqw 1.5cqw;
    border: var(--border-thin) solid var(--color-gray-dark);
    border-radius: var(--border-radius-m);
    box-sizing: border-box;
    width: 100%;
}

#pm-calc-tool .pm-calc-annotation {
    width: 80%;
    margin: auto;
}

#pm-calc-tool .speach-bubble {
    padding: 1cqh 2cqw;
    margin: auto;
}

#pm-calc-tool .pm-calc-type-select {
    position: relative;
    width: 80%;
}

#pm-calc-tool .toggle-gram-ounce {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    width: fit-content;
    margin: 8cqh auto 10px auto;
    border: 1px solid #ccc;
}

#pm-calc-tool .toggle-gram-ounce .w_tab {
    font-size: 14px;
    text-align: center;
    background: #e9e9e9;
    color: #545454;
    cursor: pointer;
    line-height: 1;
    padding: 0.75em 1.5em;
    white-space: nowrap;
    transition: background-color 0.2s;
}

#pm-calc-tool .toggle-gram-ounce .w_tab:first-child {
    border-right: 1px solid #ccc;
}

#pm-calc-tool .toggle-gram-ounce .w_tab.active {
    background: #e60012;
    color: #fff;
    border-color: #e60012;
}
