@charset "UTF-8";

/*-------------------------------------------
valve
-------------------------------------------*/
.fix-items {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.fix-item {
    display: flex;
    justify-content: space-between;
}
.fix-item-box {
    max-width: 410px;
    width: 43%;
}

.fix-name {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.fix-name-text-box {
    margin-bottom: 10px;
}

.fix-img1 {
    width: 53%;
}
.fix-img1 img {
    max-width: 207px;
    margin: 0 auto;
}
.fix-img2 {
    width: 53%;
}
.fix-img2 img {
    max-width: 309px;
    margin: 0 auto;
}

#valve .fix-item-box {
    max-width: 460px;
    width: 50%;
}

#valve .valve-beginning {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

#valve .fix-item-itemization li {
    font-size: 16px;
    padding-left: 1em;
    text-indent: -1em;
}

#valve .fix-item-itemization .not-indent {
    padding-left: 0;
    text-indent: 0;
}

#valve .fix-item-itemization .annotation {
    font-size: 12px;
}

#valve .fix-sub-text {
    margin-bottom: 48px;
}

#valve .fix-emphasis-title {
    font-size: 18px;
    letter-spacing: .01em;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: bold;
}

#valve .fix-emphasis-title::first-letter {
    color: #0074BE;
}

#valve .fix-explanation-text p {
    line-height: 1.5;
    letter-spacing: .05em;
    text-align: justify;
}

#valve .valve-beginning-images {
    width: 52%;
    display: flex;
    gap: 35px;
    justify-content: center;
    text-align: center;
}

#valve .valve-beginning-image-left,
#valve .valve-beginning-image-right {
    width: 200px;
}

#valve .valve-beginning-image {
    object-fit: cover;
}

.valve-illustrated-container {
    margin-bottom: 120px;
}

#valve .valve-illustrated-wrap {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

#valve .valve-illustrated-item1 {
    width: 60%;
    max-width: 580px;
    aspect-ratio: 580/222;
}

#valve .valve-illustrated-item1-img {
    width: 100%;
    aspect-ratio: 580/222;
}

#valve .valve-illustrated-item2 {
    width: 36%;
    max-width: 350px;
}

#valve .valve-illustrated-item2-img1,
#valve .valve-illustrated-item2-img2 {
    display: flex;
    justify-content: end;
    align-items: end;
    background-image: url(../../../images/lineup/bestfix/valve-new.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 350/70;
}

#valve .valve-illustrated-item2-img2 {
    background-image: url(../../../images/lineup/bestfix/valve-old.jpg);
    margin-top: 10px;
}

#valve .valve-illustrated-name {
    font-size: 14px;
    margin-bottom: 5px;
}

#valve .valve-illustrated-tag {
    background-color: #231815;
    color: #FFFFFF;
    width: 45px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}

#valve .valve-graph-images {
    display: flex;
    border: solid 1px #231815;
    padding: 14px 15px 19px;
    justify-content: space-between;
    gap: 20px;
}

.valve-graph-box {
    display: flex;
    flex-direction: column;
}

#valve .valve-graph-reference {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

#valve .valve-source {
    display: flex;
    align-items: end;
    font-size: 13px;
    margin-top: 27px;
    margin-left: auto;
    margin-bottom: 21px;
    width: fit-content;
    flex: 1;
}

#valve .valve-graph-img1 {
    margin-top: 22px;
    margin-left: 20px;
    max-width: 400px;
}

#valve .valve-graph-img2 {
    margin-right: 25px;
    max-width: 435px;
}

#valve .valve-item-top-text .fix-main-text {
    font-size: 22px;
}
#valve .valve-item-top-text .fix-main-explanation {
    font-size: 17px;
}

#valve .valve-item-top-text {
    margin-bottom: 85px;
}

#valve .valve-beginning-image-box p {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
}

#valve span {
    display: inline-block;
}

#valve .selected-valve {
    color: #FFFFFF;
    background-color: #0074BE;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 1200px) {
    #valve .valve-beginning {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }

    #valve .valve-beginning-images {
        justify-content: center;
        width: 100%;
        order: 2;
        margin-bottom: 50px;
    }

    #valve .valve-beginning-image-left,
    #valve .valve-beginning-image-right {
        max-width: 200px;
        width: 100%;
    }

    #valve .valve-beginning-image-box:first-child p {
        padding: 0 7.5px;
    }

    #valve .valve-beginning .fix-name-text-box {
        order: 0;
    }

    #valve .valve-beginning .fix-sub-text {
        order: 1;
    }

    #valve .valve-beginning .fix-explanation-text {
        order: 3;
    }

    #valve .valve-beginning .fix-item-box {
        display: contents;
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 1000px) {
    .fix-item {
        display: flex;
        flex-direction: column;
        justify-content: initial;
        gap: 30px;
    }
    .fix-items {
        gap: 60px;
    }
    .fix-img1,
    .fix-img2 {
        width: 100%;
    }
    #valve .valve-illustrated-wrap {
        flex-direction: column;
        justify-content: center;
        align-items: initial;
        gap: 50px;
        margin-bottom: 40px;
    }

    #valve .valve-illustrated-item1 {
        width: 100%;
        max-width: 100%;
        aspect-ratio: initial;
    }

    #valve .valve-illustrated-item2 {
        width: 100%;
        max-width: 100%;
    }

    #valve .valve-illustrated-item2-img1,
    #valve .valve-illustrated-item2-img2 {
        max-width: 100%;
    }


    #valve .valve-graph-images {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 30px;
    }

    #valve .valve-graph-reference {
        margin-bottom: 10px;
    }

    #valve .valve-source {
        margin-top: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    #valve .valve-graph-img1 {
        margin-top: 0;
        margin-left: 0;
        margin-right: 35px;
    }

    #valve .valve-graph-img2 {
        margin-right: 0;
    }

    #valve .valve-item-top-text {
        margin-bottom: 40px;
    }
    #valve .fix-sub-text {
        margin-bottom: 10px;
    }

    #valve .valve-item-container .fix-item-box {
        max-width: 100%;
        width: 100%;
    }
    .fix-img2 img {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {

    #valve .fix-emphasis-title {
        font-size: 17px;
    }

    #valve .fix-item-itemization li {
        font-size: 14px;
    }

    .valve-illustrated-container {
        max-width: 600px;
        margin: 0 auto 40px;
    }

    #valve .valve-graph-reference,
    #valve .valve-source {
        font-size: 12px;
    }

    #valve .valve-item-top-text .fix-main-text {
        font-size: 18px;
        margin-bottom: 5px;
    }

    #valve .valve-item-top-text .fix-main-explanation {
        font-size: 16px;
    }

    #valve .fix-main-explanation {
        font-size: 16px;
    }
}