@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Regular.woff2') format('woff2'),
        url('fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Bold.woff2') format('woff2'),
        url('fonts/OpenSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
* {
    box-sizing:border-box;
}
body {
    margin:0;
    padding:0;
    font-family: Arial;
    font-family: 'Open Sans';
    color:#fff;

}
p {
      line-height: 1.3;  
}
main {
    width:100%;
    max-width:1000px;
    margin:auto;
    margin-top:50px;
    background: #002f86;
    padding-top:40px;
    padding-bottom:40px;
    margin-bottom:50px;
}
#test-wrap {
    width:100%;
    max-width:750px;
    margin:auto;
    margin-top:50px;
    background: #fff;
    color:#000;
}
.inner {
    padding:20px 70px;
}
.c-row,.c-row-n {
    display: flex;
    _background: #f6f6f6;
}
.c-left {
    flex-basis: 40%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    display: flex;
    align-items: flex-start;

    font-weight: bold;
    padding-left:4%;
}
.c-legend {
    flex-basis: 60%;
    display: flex;
    justify-content: space-between;
   _justify-content: center;
}
@media only screen and (min-width: 750px) {
    .c-legend span:nth-child(1) {
            transform: translateX(28px);
    }
        .c-legend span:nth-child(2) {
            transform: translateX(18px);
    }
           .c-legend span:nth-child(3) {
            transform: translateX(5px);
    }
           .c-legend span:nth-child(4) {
            transform: translateX(-5px);
    }
}
@media only screen and (max-width: 400px) { 
    .c-legend  {
      font-size:13px;  
    }
}
.c-right {
    flex-basis: 60%;
    display: flex;
}
.c-right span {
    display: block;
    width:12.5%;
    height:auto;
    border: 1px solid #000;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
}
.l-num span {
    border:none;
    text-align: center;
}
.l-num span {
    font-weight:bold;
    height:auto;
    aspect-ratio: unset;
    margin-bottom: 10px;
    margin-top:10px;
}
.c-legend span {
    font-weight: bold;
}
.inner-click {
    background:#002f86;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    width:50%;
    height:50%;
}
.row5 {
    display:none;
}
#first5 {
    display:block;
}
#butt {
    margin:30px auto 0 auto;
    background:#000;
    width: fit-content;
    padding: 10px 31px;
    font-size:18px;
    color:#fff;
    border-radius: 5px;
    cursor: pointer;
}
#calc {
    display:none;
}
#result {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin:auto;
    font-size: 25px;
    margin-top: 30px;
}
#result h3 {
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 27px;

}
.typ-row {
    display:flex;
    gap:20px;
    padding:4px 10px;
    border-radius: 5px;
    margin-bottom:3px;
    justify-content: center;
            color:#fff;
    background: #002f86;
}
.typ-value {
    font-weight:bold;

}
.max-typ {
    color:#fff;
    background: #002f86;
}
#test-wrap {
    padding:20px;
}

@media only screen and (max-width: 600px) {
    .c-row, .c-row-n {
        margin-bottom: 10px;
        flex-direction: column;
    }
    .c-row-n {
        margin-bottom:0;
    }
    .c-left {
        margin-bottom: 6px;
        padding-left:0;
    }
}
.c-right span:nth-child(4) {
    margin-right:5px;
}
h1,h2,h3,h4 {
    text-align: center;
    color:#fff;
    font-family:'Times New Roman';
    margin: 0;
    padding-left:20px;
    padding-right:20px;
}
h2,h3 {
    font-size: 59px;
     hyphens: auto;
}
h3 {
    margin-bottom: 30px;
}
.cyan {
    color:#0097b1;
}
.sep {
    height:90px;
    width:100%;
    background:#0097b1;

}
.m-top {
    margin-top:30px;
}
#result h3 {
    color:#000;
    font-size: 30px;
    font-family: Arial;
}
.more {
  background:#fff;
color:#000;
width: fit-content;
max-width:100%;
min-width:fit-content;
padding:10px 20px;
border-radius:5px;
cursor:pointer;
  white-space: nowrap;
}
#form-wrap {
  display:none; 
}
#form-wrap p{
    text-align: center;
    font-size:22px;
}
@media only screen and (max-width: 800px) {  
    .inner {
        padding-left:20px;
        padding-right:20px;
    }
}
@media only screen and (max-width: 550px) {
h2, h3 {
    font-size: 36px;
}
}
.D-Typ,.I-Typ,.S-Typ,.C-Typ {
   display:none;
   margin-top:30px;
}