html :where(.has-border-color) {
    border-style: none;
}

html :where([style*=border-width]) {
    border-style: none;
}

.checkbox-text {
    font-size: clamp(12px, 0.9vw, 14px);
    color: #ffffff;
    display: inline-block;
    position: relative;
    text-decoration: none;
    margin-bottom: 1px;
}

.checkbox-text::after {
    font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
    position: absolute;
    content: '';
    bottom: -0.1px;
    left: 0;
    width: 0;
    height: 0.05vh;
    background: #00adb5;
    transition: all 0.3s ease 0s;
}

.checkbox-text:hover {
    cursor: pointer;
}

.checkbox-text:hover::after {
    width: 100%;
}

input[type=checkbox] {
    margin-left: 10px;
}

input[type=checkbox]:checked~.checkbox-text {
    box-shadow: 2.5px 2.5px 0.2px 0.1px #1c1c1c;
    padding: 0.5px 10px 0.5px 10px;
    font-weight: bold;
    border-radius: 5px;
}

input[type=checkbox].intel:checked~label>#intel_text,
input[type=checkbox].soc-1:checked~label>#soc-1_text,
input[type=checkbox].soc-2:checked~label>#soc-2_text {
    color: white;
    background-color: #595959;
    box-shadow: 2.5px 2.5px 0.2px 0.1px #1c1c1c;
    padding: 0.5px 10px 0.5px 10px;
    font-weight: bold;
    border-radius: 5px;
}

input[type=checkbox]:checked~.item3 {
    color: white;
    background-color: #2C5D6D;
}

input[type=checkbox]:checked~.item7 {
    color: white;
    background-color: #9F2D36;
}

input.buttonA {
    box-sizing: border-box;
    width: 100%;
    padding: 5px;
    font-size: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    background-color: #00adb5;
    box-shadow: 5px 5px 0.4px 0.2px #686868;
    border: 1px;
    border-radius: 2px;
    font-weight: bold;
}

input.buttonA:hover {
    cursor: pointer;
    background-color: #136262;
    color: white;
}

input.buttonB-Y {
    width: 100%;
    padding: 5px;
    margin: 0.5% 0.5% 2% 0.5%;
    font-size: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    background-color: #d6d614;
    box-shadow: 2.5px 2.5px 0.2px 0.1px #686868;
    border: 1px;
    border-radius: 5px;
    font-weight: bold;
}

input.buttonB-Y:hover {
    cursor: pointer;
    background-color: #afaf17;
    color: white;
}

input.buttonB-N {
    width: 100%;
    padding: 5px;
    margin: 0.5% 0.5% 2% 0.5%;
    font-size: clamp(0.5rem, 0.318rem + 0.91vw, 1rem);
    background-color: #00adb5;
    box-shadow: 2.5px 2.5px 0.2px 0.1px #686868;
    border: 1px;
    border-radius: 5px;
    font-weight: bold;
}

input.buttonB-N:hover {
    cursor: pointer;
    background-color: #136262;
    color: white;
}

.content {
    box-sizing: content-box;
    padding: 5px;
}

.content>p {
    font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0;
}

.term0 {
    order: -99999;
    box-sizing: border-box;
    box-shadow: 5px 5px 0.4px 0.2px #686868;
    align-items: center;
    width: 100%;
    margin: 5px 0px;
}

.term12 {
    display: none;
}

input.intel:checked~.term12 {
    display: block;
}

input#soc-1,
input#soc-2,
input#soc-1+label,
input#soc-2+label {
    display: none;
}

input.intel:checked~input#soc-1,
input.intel:checked~input#soc-1+label,
input.intel:checked~input#soc-2,
input.intel:checked~input#soc-2+label {
    display: inline;
}

.term3 {
    display: none;
}

input.intel:checked~input.soc-1:checked~.term3,
input.intel:checked~input.soc-2:checked~.term3 {
    display: block;
}

.xeon-sc,
.xeon-w,
.xeon-e,
.core {
    display: none;
}

input.intel:checked~input.soc-1:checked~.xeon-sc,
input.intel:checked~input.soc-2:checked~.xeon-sc,
input.intel:checked~input.soc-1:checked~.xeon-w,
input.intel:checked~input.soc-1:checked~.xeon-e,
input.intel:checked~input.soc-1:checked~.core {
    display: block
}

.term7 {
    display: block;
}

.remain_p {
    color: lightblue;
    font-weight: bold;
}

.term-title {
    background-color: #343434;
    border: #686868;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 2px;
}

.term-title>p {
    font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
    color: white;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0;
}

.menu {
    font-size: clamp(11px, 1.2vw, 14px);
    padding: 2px 8% 2px 8%;
    text-align: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.menu:hover {
    background-color: black;
    color: white;
}

.menu::before,
.menu::after {
    content: '';
    width: 14px;
    height: 3px;
    background: #ffd700;
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

.menu::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .5s;
}

.menu.is-active::after {
    transform: translateY(-50%) rotate(0);
}

.item {
    text-align: left;
    line-height: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition-duration: 0.4s;
}

.item.is-open {
    padding-top: 5px;
    line-height: normal;
    height: auto;
    opacity: 1;
}

.menu-sockets {
    background-color: #595959;
    color: white;
}

.menu-intelgen {
    background-color: #2C5D6D;
    color: white;
}

.menu-amdgen {
    background-color: #2C5D6D;
    color: white;
}

.menu-use {
    background-color: #A4E3F1;
    color: black;
}

.menu-gputype {
    background-color: #41612E;
    color: white;
}

.menu-size {
    background-color: #9F2D36;
    color: white;
}

.menu-stnum {
    background-color: #814A2C;
    color: white;
}

.menu-state {
    background-color: #B30000;
    color: white;
}