@charset "UTF-8";
/* CSS Document */
.common_head{
    margin-bottom: 10rem;
}
.wrapper{
    background-color: #F7F8F8;
    padding: 8rem 0;
}
.wrapper .inner{
    width: min(86%,1400px);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem 0;
}
.category_container{
    background-color: #fff;
    border-radius: 3rem;
    border: solid 1rem #F2F2F2;
    padding: min(5rem,55px) 4rem;
}
.category_container:nth-child(1),
.category_container:nth-child(2){
    width: calc(50% - 2%);
}
.category_container:nth-child(3),
.category_container:nth-child(4),
.category_container:nth-child(5){
    width: calc(33.333% - 2%);
}
.category_container:nth-child(6){
    width: 100%;
}
.category_container h3{
    text-align: center;
    font-size: clamp(20px,2.7rem,24px);
    font-weight: 600;
    padding-bottom: 3.5rem;
    line-height: 1;
}
.category_container .column{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.category_container:nth-child(1) .column{
    gap: 15px;
}
.data_number{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3.5rem;
}
.data_number .number{
    font-weight: 700;
    font-size: clamp(30px,6.2rem,64px);
    color: #2680EB;
    line-height: 1;
    padding-right: 6px;
}
.data_number .unit{
    font-weight: 600;
    font-size: clamp(14px,3.2rem,45px);
    line-height: 1.4;
}
.category_container:nth-child(1) .image{
    width: min(100%,280px);
    margin: 0 auto;
}
.category_container:nth-child(2) .image{
    width: min(100%,380px);
    margin: 0 auto;
    padding-top: 3rem;
}
.category_container:nth-child(3) .image,
.category_container:nth-child(5) .image{
    padding-top: 2rem;
}
.category_container:nth-child(4) .box{
    text-align: center;
}
.category_container:nth-child(4) .data_number{
    gap: 15%;
}
.category_container:nth-child(4) .gender{
    font-size: clamp(14px,2rem,21px);
    font-weight: 600;
    padding-bottom: 1.4rem;
    display: inline-block;
    line-height: 1;
}
.category_container:nth-child(4) .data_number .number{
    font-size: clamp(30px,5.4rem,64px);
}
.category_container:nth-child(4) .box.female .number{
    color: #F923B2;
}
.category_container:nth-child(4) .data_number .unit{
    font-size: clamp(14px,3rem,45px);
}
.graph_circle{
    display: block;
    margin: 0 auto;
    width: 200px;
}
.graph_circle svg{
    position: relative;
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 200px;
    transform: rotate(-90deg);
}
.graph_circle svg circle{
    position: relative;
    fill: none;
    stroke-width: 60;
    stroke: #FF20B4;
    stroke-dasharray: 376.8;
    stroke-dashoffset: 0;
    stroke-linecap: butt;
    z-index: 1;
}
.graph_circle svg circle.male{
    stroke-dasharray: 376.8;
    stroke-dashoffset: 376.8;
    stroke: #2680EB;
    z-index: 2;
}
/*.graph_circle svg circle.female{
    stroke-dasharray: 628; 
    stroke-dashoffset: 20;
    stroke: #FF20B4;
    z-index: 3;
}*/
.graph_circle svg circle.male.appear{
    animation: circleAnim 1.2s forwards 0.1s;
}
@keyframes circleAnim {
  0% {
    stroke-dashoffset: 376.8;
  }
  100%,
  to {
    stroke-dashoffset: 75.36;
  }
}
.category_container:nth-child(6) h3{
    padding-bottom: 5rem;
}
.graph_bar ul{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4rem;
    width: min(100%,800px);
    margin: 0 auto;
}
.graph_bar ul li{
    width: calc(16.666% - 3.333%);
    text-align: center;
    position: relative;
    padding-top: calc(3.1rem + 10px);
}
.graph_bar .bar_container{
    margin-bottom: 2rem;
    width: 100%;
    height: 500px;
    -webkit-animation: graphAnim 2.5s forwards;
    animation: graphAnim 2.5s forwards;
    background: linear-gradient(105deg, #FA80B4 5%, #FF00A4 90%, #FF0095);
    border-radius: 5px 5px 0 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    position: relative;
    transform: scaleY(0);
    transform-origin: bottom;
}
.graph_bar ul li:nth-child(1) .bar_container{
    height: calc(500px * 0.148);
}
.graph_bar ul li:nth-child(2) .bar_container{
    height: calc(500px * 0.13);
}
.graph_bar ul li:nth-child(3) .bar_container{
    height: calc(500px * 0.248);
}
.graph_bar ul li:nth-child(4) .bar_container{
    height: calc(500px * 0.343);
}
.graph_bar ul li:nth-child(5) .bar_container{
    height: calc(500px * 0.111);
}
.graph_bar ul li:nth-child(6) .bar_container{
    height: calc(500px * 0.02);
}
.graph_bar .bar_container.appear{
    animation: barAnim 0.6s forwards 0.05s;
}
@keyframes barAnim {
  0% {
    transform: scaleY(0);
  }
  100%,
  to {
    transform: scaleY(1);
  }
}
.graph_bar .percentage{
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}
.graph_bar .percentage .number{
    font-weight: 700;
    color: #2680EB;
    font-size: clamp(18px,3.1rem,30px);
    line-height: 1;
    display: block;
    padding-right: 2px;
}
.graph_bar .percentage .unit{
    font-weight: 600;
    font-size: clamp(14px,1.9rem,18px);
    line-height: 1.4;
}
.graph_bar .age{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.graph_bar .age .number{
    font-weight: 700;
    color: #F923B2;
    font-size: clamp(18px,3.8rem,40px);
    line-height: 1;
    display: block;
    padding-right: 2px;
}
.graph_bar .age .unit{
    font-weight: 600;
    font-size: clamp(14px,2.4rem,20px);
    line-height: 1.4;
}


@media print, screen and (max-width: 1023px){
    .wrapper .inner{
        display: block;
        width: min(100%,700px);
    }
    .category_container{
        width: 100%!important;
        margin-bottom: 35px;
        padding: 6rem;
    }
    .category_container:nth-child(3) .image,
    .category_container:nth-child(5) .image{
        width: min(100%,320px);
        margin: 0 auto;
    }
    .category_container:nth-child(6) h3{
        margin-bottom: 6rem;
    }
    .graph_bar ul{
        width: min(100%,700px);
    }
}


@media print, screen and (max-width: 768px){
    .common_head{
        margin-bottom: 14rem;
    }
    .wrapper{
        padding: 10rem 5rem;
    }
    .category_container{
        border: solid 8px #F2F2F2;
        margin-bottom: 5rem;
    }
    .category_container h3{
        font-size: clamp(16px,3.8rem,22px);
        padding-bottom: 5rem;
    }
    .data_number{
        padding-bottom: 5rem;
    }
    .data_number .number{
        font-size: clamp(22px,8.8rem,50px);
    }
    .data_number .unit{
        font-size: clamp(14px,3.8rem,22px);
        line-height: 1.7;
    }
    .category_container:nth-child(1) .column{
        gap: 10px;
    }
    .category_container:nth-child(2) .image{
        padding-top: 0;
    }
    .category_container:nth-child(3) .image,
    .category_container:nth-child(5) .image{
        padding-top: 0;
    }
    .category_container:nth-child(4) .data_number{
        gap: 10rem;
    }
    .category_container:nth-child(4) .gender{
        font-size: clamp(14px,3.8rem,22px);
        padding-bottom: 15px;
    }
    .category_container:nth-child(4) .data_number .number{
        font-size: clamp(22px,8.6rem,50px);
    }
    .category_container:nth-child(4) .data_number .unit{
        font-size: clamp(14px,3.6rem,22px);
    }
    .graph_bar ul{
        gap: 2rem;
        justify-content: space-between;
    }
    .graph_bar .percentage .number{
        font-size: clamp(16px,3.8rem,22px);
    }
    .graph_bar .percentage .unit{
        font-size: clamp(15px,3rem,18px);
    }
    .graph_bar .age .number{
        font-size: clamp(16px,3.8rem,24px);
    }
    .graph_bar .age .unit{
        font-size: clamp(15px,3rem,18px);
    }    
}


@media print, screen and (max-width: 760px){
    .category_container:nth-child(6){
        padding: 6rem 5rem;
    }
    .category_container:nth-child(6) h3{
        padding-bottom: 7rem;
        margin-bottom: 0;
    }
    .graph_bar ul{
        display: block;
    }
    .graph_bar ul li{
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: row-reverse;
        width: 100%;
        padding-top: 0;
        height: 8rem;
        margin-bottom: 3rem;
    }
    .graph_bar ul li:last-child{
        margin-bottom: 0;
    }
    .graph_bar .bar_container{
        border-radius: 0 5px 5px 0;
        transform-origin: left;
        height: 100%!important;
        width: 80%;
        margin-bottom: 0;
    }
    .graph_bar ul li:nth-child(1) .bar_container{
        width: calc(100% * (14.8/80));
    }
    .graph_bar ul li:nth-child(2) .bar_container{
        width: calc(100% * (13/80));
    }
    .graph_bar ul li:nth-child(3) .bar_container{
        width: calc(100% * (24.8/80));
    }
    .graph_bar ul li:nth-child(4) .bar_container{
        width: calc(100% * (34.3/80));
    }
    .graph_bar ul li:nth-child(5) .bar_container{
        width: calc(100% * (11.1/80));
    }
    .graph_bar ul li:nth-child(6) .bar_container{
        width: calc(100% * (2/80));
    }
    .graph_bar .percentage{
        width: auto;
        top: 50%;
        transform: translateY(-50%);
        left: auto;
        right: 0;    
    }
    .graph_bar .percentage .number{
        font-size: clamp(16px,4.6rem,23px);
        padding-right: 4px;
    }
    .graph_bar .age{
        width: 20%;
        justify-content: flex-start;
    }
    .graph_bar .age .number{
        font-size: clamp(16px,4.6rem,23px);
    }
    @keyframes barAnim {
      0% {
        transform: scaleX(0);
      }
      100%,
      to {
        transform: scaleX(1);
      }
    }
}