/*===========まとめのためのcss========*/
.box-010 {
    position: relative;
    max-width: 900px;
    margin: 1.5em auto;
    padding: 2.5em 1.5em 1.5em;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    background-color: #e0efff;
    color: #333333;
}

.box-010 span {
    position: absolute;
    top: -15px;
	left: 40px;
    transform: translateX(-.3em) rotate(-5deg);
    padding: .5em 2em;
    border-right: 2px dotted rgb(0 0 0 / 10%);
    border-left: 2px dotted rgb(0 0 0 / 10%);
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: rgb(255 255 255 / 40%);
    font-weight: 600;
}

.box-010 p {
    margin: 0;
}



.box-021 {
    position: relative;
    max-width: 80%;
    margin: 1em auto;
    padding: 1em;
    border: 4px solid #b1dd8c;
    border-radius: 3px;
    color: #333;
}

.box-021::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -1em;
    left: -1em;
    width: 2em;
    height: 2em;
    border-radius: 3px;
    background-color: #b1dd8c;
    color: #fff;
    font-weight: 600;
    content: attr(data-number);
}


/*=====方眼紙======*/
.box-003 {
    max-width: 920px;
    margin: 0 auto;
    padding: 1em 1.5em;
    box-shadow: 0 4px 4px rgb(0 0 0 / 5%), 0 2px 3px -2px rgb(0 0 0 / 1%);
    background-image: linear-gradient(transparent calc(100% - 1px), #e6edf3 50%, #e6edf3), linear-gradient(90deg, transparent calc(100% - 1px), #e6edf3 50%, #e6edf3);
    background-size: 15px 15px;
    background-repeat: repeat;
    background-color: #f9fee4;
    color: #333333;
}



/*========グラフQ2========*/
.pie-chart-004 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-chart-004 > div {
    width: 300px;
    height: 300px;
    margin: 0;
    border-radius: 50%;
    background-image: conic-gradient(#74a7fe 67.9%, #cce8b5 67.9% 78.6%, #f4a4c0 78.6% 85.7%, #f4efa4 85.7% 92.8%, #b3b0b1 92.8% 100%);
}

.pie-chart-004 li {
    display: flex;
    list-style-type: none;
    align-items: center;
    font-size: .8em;
	margin-left: 30px;
}

.pie-chart-004 li::before {
    display: inline-block;
    width: 1.5em;
    height: .8em;
    margin-right: 5px;
    content: '';
}

.pie-chart-004 li:nth-child(1)::before {
    background-color: #74a7fe;
}

.pie-chart-004 li:nth-child(2)::before {
    background-color: #cce8b5;
}

.pie-chart-004 li:nth-child(3)::before {
    background-color: #f4a4c0;
}

.pie-chart-004 li:nth-child(4)::before {
    background-color: #f4efa4
}

.pie-chart-004 li:nth-child(5)::before {
    background-color: #b3b0b1
}

.pie-chart-004 span {
    margin-right: 10px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .pie-chart-004 {
        justify-content: center;
        align-items: center;
    }
    
    .pie-chart-004 > div {
        width: 100px;
        height: 100px;
        margin: 0;
        border-radius: 50%;
        background-image: conic-gradient(#74a7fe 65.2%, #cce8b5 65.2% 95.6%, #f4a4c0 95.6% 100%);
    }
    
    .pie-chart-004 li {
        list-style-type: none;
        align-items: center;
        font-size: .8em;
        margin-left: 30px;
    }
    
    .pie-chart-004 li::before {
        display: inline-block;
        width: 1.5em;
        height: .8em;
        margin-right: 5px;
        content: '';
    }
    
    .pie-chart-004 li:nth-child(1)::before {
        background-color: #74a7fe;
    }
    
    .pie-chart-004 li:nth-child(2)::before {
        background-color: #cce8b5;
    }
    
    .pie-chart-004 li:nth-child(3)::before {
        background-color: #f4a4c0;
    }
    
    .pie-chart-004 span {
        margin-right: 10px;
        font-weight: 600;
    }
  }