/* legacy-after.css — sources: after.css */


/* ===== after.css ===== */

.legacy-page-content #main {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.legacy-page-content h3.after-tag-line {
    text-align: center;
    margin: 110px 0 70px 0;
    font-size: var(--catch-text);
    font-family: var(--sans-serif);
}

.legacy-page-content .top-message {
    max-width: 690px;
    margin: 100px auto 80px auto;
    font-family: var(--sans-serif);
}


.legacy-page-content .top-message .tag-line {
    text-align: center;  
}

.legacy-page-content .top-message .text {
    font-weight: 400;
    line-height: 1.7;
}

.legacy-page-content .sub-message {
    display: flex;
    width: 100%;
    min-height: 410px;
}

.legacy-page-content .sub-message div:nth-child(1) {
    width: 45%;
}

.legacy-page-content .sub-message div:nth-child(2) {
    width: 55%;
    background-color: #DFE4E9;
    padding: 3% 9% 3% 3%;
}

.legacy-page-content .sub-message div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legacy-page-content .flex-box {
    width: 100%;
    min-height: 450px;
    display: flex;
    margin: 60px 0;
    font-family: var(--sans-serif);
    justify-content: center;
}

.legacy-page-content .flex-box div img {
    width: 100%;
    aspect-ratio: 16 / 9.8;
    object-fit: cover;
}

.legacy-page-content .row-reverse {
    flex-direction: row-reverse;
}

.legacy-page-content .flex-box div:nth-child(1) {
    width: 39%;
    height: 400px;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
}

.legacy-page-content .flex-box div:nth-child(2) {
    width: 49%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.legacy-page-content .flex-box:nth-child(odd) div:nth-child(2) {
    padding-left: 5%;
}

.legacy-page-content .flex-box:nth-child(even) div:nth-child(2) {
    padding-right: 5%;
}

.legacy-page-content .image-grid {
    width: 100%;
    min-height: 220px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 5px;
    padding: 3%;
}

.legacy-page-content .image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*AFTER */
.legacy-page-content .graph-container {
    padding-right: 25px;
    padding-left: 25px;
    position: relative;
    overflow-x: scroll;
}

.legacy-page-content .graph-container .graph {
    max-width: 1073px;
    margin: 0 auto;
    pointer-events: none;
}

@media only screen and (max-width: 640px) {
    .legacy-page-content .graph-container .graph {
        max-width: none;
        width: 633px;
    }
}

.legacy-page-content .graph-container .scroll-hint-icon {
    width: 130px;
    height: 85px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.legacy-page-content .graph-inner {
    width: 100%;
    display: flex;
    padding: 0 5%;
}



.legacy-page-content .graph-inner > div:nth-child(1) {
    width: 200px;
    padding-top: 30px;
}

.legacy-page-content .graph-inner > div:nth-child(2) {
    width: calc(100% - 200px);
    padding: 30px 0;
    border-bottom: 1px solid #787878;
}

.legacy-page-content .no-border {
    border-bottom: 0px!important;
}

.legacy-page-content .graph-inner .small-header {
    font-size : 18px;
    line-height : 30px;
    letter-spacing : 1.8px;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: 'Noto Serif JP', "A1明朝", "A1 Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.legacy-page-content .graph-inner .text {
    max-width: 450px;
}


.legacy-page-content .vertical-bar1, .legacy-page-content .vertical-bar2, .legacy-page-content .vertical-bar3, .legacy-page-content .vertical-bar-below {
    display: flex;
    padding: 20px 10px;
    position: absolute;
    top: 0;
}
.legacy-page-content .vertical-bar1 img, .legacy-page-content .vertical-bar2 img, .legacy-page-content .vertical-bar3 img {
    width: 18px;
}
.legacy-page-content .vertical-bar1:after, .legacy-page-content .vertical-bar2:after, .legacy-page-content .vertical-bar3:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 40px 0 40px;
    border-color: #E6E6F0 transparent transparent transparent;
    position: absolute;
    bottom:-20px;
    left:50%;
    transform: translate(-50%, 0);
}
.legacy-page-content .vertical-bar1 {
    height: 87%;
    right: 18%;
    background-color: #E6E6F0;
}
.legacy-page-content .vertical-bar1:after {
    border-color: #E6E6F0 transparent transparent transparent;

}

.legacy-page-content .vertical-bar2 {
    height: 87%;
    background-color: #C8C8D2;
    right: 11%;
}
.legacy-page-content .vertical-bar2:after {
    border-color: #C8C8D2 transparent transparent transparent;
}

.legacy-page-content .vertical-bar3 {
    height: 71%;
    background-color: #505064;
    right: 4%;
    z-index: 5;
}
.legacy-page-content .vertical-bar3:after {
    border-color: #505064 transparent transparent transparent;
    z-index: 5;
}

.legacy-page-content .vertical-bar-below {
    background-color: white;
    width: auto;
    top: 100%;
    right: 0;
    padding: 40px 10px;
    border-left: 2px solid #505064 ;
    border-right: 2px solid #505064 ;
    font-weight: 500;
}

.legacy-page-content .vertical-bar-below img {
    width: 16px;
    max-width: inherit;
}
.legacy-page-content .vertical-bar-below:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 40px 0 40px;
    border-color: #505064 transparent transparent transparent;
    position: absolute;
    bottom: -28px;
    left:50%;
    transform: translate(-50%, 0);
    z-index: -1!important;
}

.legacy-page-content .vertical-bar-below:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 35px 0 35px;
    border-color: white transparent transparent transparent;
    position: absolute;
    bottom: -25px;
    left:50%;
    transform: translate(-50%, 0);
    z-index: -1!important;
}

.legacy-page-content .num {
    text-combine-upright: all;
    text-align: center;
}




.legacy-page-content .period {
    min-width: 150px;
    display: inline-block;
    background-color: #1D3256;
    color: white;
    text-align: center;
    padding: 0.6em 2em;
}


.legacy-page-content .after-grid-container {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin: 30px auto;
    align-items: start;
}

.legacy-page-content .after-grid-container h4, .legacy-page-content .column-large h4 {
    font-family: var(--sans-serif);
    font-size : 18px;
    line-height : 30px;
}

.legacy-page-content .after-grid-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.38/1;
    object-fit: cover;
}

.legacy-page-content .column-large {
    max-width: 750px;
    margin: 60px auto;
}

.legacy-page-content .column-large img {
    width: 100%;
    aspect-ratio: 2.22/1;
    object-fit: cover;
}

.legacy-page-content .hr-line {
    width: 70%;
    margin: 60px auto;
    border-bottom: 1px #787878;

}

.legacy-page-content .full-width {
    width: 100%!important;
}

.legacy-page-content #main h3 {
    font-weight: 500;
}

.legacy-page-content #main h4 {
    margin: 24px 0;
    font-weight: 500;
}


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

    .legacy-page-content #main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .legacy-page-content .top-message {
        padding: 9%;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .legacy-page-content .sub-message {
        display: flex;
        width: 100%;
        flex-direction: column;
        min-height: auto;
    }

    

    .legacy-page-content .sub-message div:nth-child(1) {
        width: 100%;
        height: 250px;
        background-size: cover;
        background-position: center;
    }
    
    .legacy-page-content .sub-message div:nth-child(2) {
        width: 100%;
        background-color: #DFE4E9;
        padding: 3% 9% 3% 3%;
    }

    .legacy-page-content .flex-box {
        width: 100%;
        flex-direction: column;
        margin: 0;
        padding: 0;
        height: auto;
        flex-direction: column!important;
    }

    .legacy-page-content .flex-box > div {
        width: 100%;
        margin: 0;
       
    }

    .legacy-page-content .flex-box div:nth-child(1) {
        width: 100%;
        height: auto;
    }

    .legacy-page-content .flex-box div img {
        width: 90%;
        aspect-ratio: 16 / 9.8;
        object-fit: cover;
    }

    .legacy-page-content .flex-box div:nth-child(2) {
        width: 100%;
    }
    
    .legacy-page-content .flex-box:nth-child(odd) div:nth-child(2) {
        padding: 5%;
    }
    
    .legacy-page-content .flex-box:nth-child(even) div:nth-child(2) {
        padding: 5%;
    }
    

    .legacy-page-content .flex-box:nth-child(odd) div img {
        margin-right: 5%!important;
    }

    .legacy-page-content .flex-box:nth-child(even) div img {
        margin-left: 10%!important;
    }

    .legacy-page-content .graph-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .legacy-page-content .graph-inner > div:nth-child(1) {
        width: 100%;
    }
    
    .legacy-page-content .graph-inner > div:nth-child(2) {
        width: 100%;
        padding: 20px 0 30px;
        border-bottom: 1px solid black;
    }
    
    .legacy-page-content .graph-inner > div:nth-child(2) p {
        width: 68%;
    }
    .legacy-page-content .graph-inner .text {
        max-width: inherit;
    }

    .legacy-page-content .vertical-bar1 {
        right: 25%;
    }

    .legacy-page-content .vertical-bar2 {
        right: 15%;
    }

    .legacy-page-content .vertical-bar3 {
        right: 5%;
    }
    

    .legacy-page-content .after-grid-container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 30px;
        margin: 30px auto;
        padding: 0 5%;
    }

    .legacy-page-content .column-large h4, .legacy-page-content .column-large p {
        padding: 0 5%;
    }

    .legacy-page-content h3.after-tag-line {
        text-align: center;
        margin: 30px 0 70px 0;
    }

    
   
}

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

    .legacy-page-content #header h1 {
        font-size: 8.228vw !important;
    }

    .legacy-page-content .vertical-bar1, .legacy-page-content .vertical-bar2, .legacy-page-content .vertical-bar3, .legacy-page-content .vertical-bar-below {
        padding: 20px 3px;
    }
    .legacy-page-content .vertical-bar1:after, .legacy-page-content .vertical-bar2:after, .legacy-page-content .vertical-bar3:after, .legacy-page-content .vertical-bar-below:after, .legacy-page-content .vertical-bar-below:before {
        display: none;
    }

    .legacy-page-content .vertical-bar1 {
        right: 95px;
    }
    .legacy-page-content .vertical-bar2 {
        right: 60px;
    }
    .legacy-page-content .vertical-bar3 {
        right: 25px;
    }
    .legacy-page-content .vertical-bar-below {
        padding: 40px 3px;
        border-left: 1px solid #505064;
        border-right: 1px solid #505064;
        border-bottom: 1px solid #505064;
    }

    .legacy-page-content .graph-inner > div:nth-child(2) p {
        width: calc( 100% - 120px);
    }

    .legacy-page-content .after-grid-container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        margin: 30px auto;
    }
}

/* 定期点検で実施すること */
.legacy-page-content .after-inspection-wrap {
    background-color: #e6e6f0;
    padding: 120px 25px;
    margin-top: 120px;
    margin-bottom: 120px;
}
@media only screen and (max-width: 960px) {
    .legacy-page-content .after-inspection-wrap {
        padding: 60px 25px;
        margin-top: 60px;
        margin-bottom: 60px;
    }
}

.legacy-page-content .after-inspection-tit {
    text-align: center;
    font-size: var(--catch-text);
}

.legacy-page-content .after-inspection-box {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px 7.2%;
    max-width: 965px;
    margin-top: 90px;
    margin-inline: auto;
}

.legacy-page-content .after-inspection-box .box-01 {
    display: flex;
    flex-wrap: wrap;
    gap: 4.3%;
    width: 630px;
    height: max-content;
    background-color: #505064;
    padding: 20px 35px;
    position: relative;
}

@media only screen and (max-width: 960px) {
    .legacy-page-content .after-inspection-box .box-01 {
        width: 100%;
        padding-top: 0;
        padding-bottom: 30px;
    }
}

.legacy-page-content .after-inspection-box .box-01::before {
    content: '';
    display: block;
    width: calc(100% + 30px);
    height: 60px;
    background-color: #505064;
    clip-path: polygon(
        50% 0,
        100% 100%,
        0 100%
    );
    position: absolute;
    left: -15px;
    bottom: calc(100% - 1px);
}

.legacy-page-content .after-inspection-box .box-01 > li {
    padding: 25px;
}

.legacy-page-content .after-inspection-box .box-01 > li:first-child {
    width: 93px;
    padding: 25px 0;
}

.legacy-page-content .after-inspection-box .box-01 > li:nth-child(2) {
    background-color: #fff;
    width: 270px;
}

.legacy-page-content .after-inspection-box .box-01 > li:nth-child(3) {
    background-color: #c8c8d2;
    width: 140px;
}

.legacy-page-content .after-inspection-box .box-01 > li:first-child * {
    color: #fff;
}

@media only screen and (max-width: 960px) {
    .legacy-page-content .after-inspection-box .box-01 > li:first-child, .legacy-page-content .after-inspection-box .box-01 > li:nth-child(2), .legacy-page-content .after-inspection-box .box-01 > li:nth-child(3) {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
    }
    .legacy-page-content .after-inspection-box .box-01 > li + li {
        margin-top: 10px;
    }
    .legacy-page-content .after-inspection-box .box-01 > li:first-child {
        padding: 0;
    }
    .legacy-page-content .after-inspection-box .box-01 > li:nth-child(2) {
        margin-top: 20px;
    }
}

.legacy-page-content .after-inspection-box .box-01 .detail dt {
    font-size: 18px;
    font-family: var(--serif);
}

@media only screen and (max-width: 960px) {
    .legacy-page-content .after-inspection-box .box-01 .detail dt {
        text-align: center;
    }
}

.legacy-page-content .after-inspection-box .box-01 .detail dd {
    font-feature-settings: "palt";
    margin-top: 5px;
}

.legacy-page-content .after-inspection-box .box-02 {
    width: calc(100% - 7.2% - 630px);
}

@media only screen and (max-width: 960px) {
    .legacy-page-content .after-inspection-box .box-02 {
        width: 100%;
    }
}
