@charset "UTF-8";
/***************************************
 *
 * データで見るYMKページ用
 *
 ***************************************/

:root {
    --first_color: #fb73a3;
    --second_color: #6cd8d8;
    --third_color: #fbbf4c;
    --gray1_color: #979797;
    --gray2_color: #cecece;

    --filter_first_color: invert(74%) sepia(19%) saturate(5535%) hue-rotate(296deg) brightness(96%) contrast(106%);
    --filter_second_color: invert(89%) sepia(22%) saturate(844%) hue-rotate(125deg) brightness(86%) contrast(97%);
    --filter_third_color: invert(83%) sepia(67%) saturate(731%) hue-rotate(319deg) brightness(101%) contrast(97%);
    --filter_gray1_color: invert(67%) sepia(0%) saturate(1142%) hue-rotate(144deg) brightness(90%) contrast(86%);

img {
    display: block;
}

br.pc {
    display: block;
}
br.m {
    display: none;
}

@media (max-width: 767px) {
    br.pc {
        display: none;
    }
    br.m {
        display: block;
    }

}


/***************************************
 * アニメーション
 ***************************************/
.animation1 {
    opacity: 0;
}
.animation1.animated {
    opacity: 1;
}

.animation1 [data-effect] {
    opacity: 0;
}
.animation1 [data-effect].animated {
    opacity: 1;
}

@keyframes smoothText {
  from {
	transition: .5s ease-in-out;
	transform: translate3d(0,100%,0) skewY(12deg);
	transform-origin: left;
  }

  to {
    transform: translate3d(0,0,0) skewY(0);
  }
}
@keyframes fadeInUpS {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.smoothText {
	overflow: hidden;
}

.smoothText > span:first-child {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
	display: block;
	animation-name: smoothText;
}




img.rank {
	visibility: hidden;
	opacity: 0.0;
	transform: scale(2.0);
	transition:all 0.5s ease-in;
}

img.rank.animated {
	visibility: visible;
	opacity: 1.0;
	transform: scale(1.0);
}

.fadeInUpS {
  animation-name: fadeInUpS;
}


/***************************************
 * css
 ***************************************/

#main {
    background: #f7f7f7;
    font-family: "Noto Sans JP", sans-serif;
}

#main > h1:first-child {
    background-image: url(../images/data/data_h1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
}
#main > h1:first-child:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: #000;
    opacity: 0.7;
}

#main > h1 > span {
    position: relative;
    z-index: 1;
}


.about_text {
    text-align: center;
    margin-bottom: 80px;
}
.about_text .catch {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 50px;
}

.about_text p {
    line-height: 2;
}

@media (max-width: 767px) {

    .about_text .catch {
        font-size: 24px;
    }

    .about_text p {
        text-align: left;
    }

}

.numbers_area {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}
.numbers_area .box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 20px;
    overflow: hidden;
}

.numbers_area .box > .inner {
    display: grid;
    gap: 20px;
    opacity: 0;
}
.numbers_area .box.animated > .inner {
    opacity: 1;
}

.numbers_area .box h2 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin: 0;
}
.numbers_area .box h2 > span {

}
.numbers_area .box h2 > span:nth-child(1) {
    letter-spacing: 1px;
    font-size: 120%;
}
.numbers_area .box h2 > span:nth-child(2) {
    font-size: 100%;
}

@media (max-width: 767px) {

    .numbers_area .box {
        padding: 30px 20px;
    }

    .numbers_area .box h2 {
        flex-wrap: wrap;
    }

}


table.table1 {
    font-size: 15px;
    white-space: nowrap;
    line-height: 1.3;
    margin: auto;
}
table.table1 tr {
    border-bottom: 1px dashed #ccc;    
}

table.table1 tr th,
table.table1 tr td {

    padding: 10px 15px;
}

table.table1 tr:first-child > * {
    font-weight: bold;
    font-size: 24px;
}
table.table1 tr:first-child > * {
    font-weight: bold;
    font-size: 24px;
}

table.table1 tr:nth-child(2) > *,
table.table1 tr:nth-child(3) > * {
    font-weight: 600;
    font-size: 18px;
}


img.no1 {
    height: 30px;
    width: auto;
    margin: auto;
}
img.no2 {
    height: 25px;
    width: auto;
    margin: auto;
}
img.no3 {
    height: 20px;
    width: auto;
    margin: auto;
}

span.num {
    font-size: 150%;
    margin-right: 0.2em;
}


table.table2 {
    font-size: 15px;
    white-space: nowrap;
    line-height: 1.3;
}
table.table2 tr th,
table.table2 tr td {
    padding: 10px 15px;
}
table.table2 tr:first-child > * {
    font-weight: bold;
    font-size: 24px;
}
table.table2 tr:first-child > * {
    font-weight: bold;
    font-size: 24px;
}

table.table2 tr:nth-child(2) > *,
table.table2 tr:nth-child(3) > * {
    font-weight: 600;
    font-size: 18px;
}

table.table2 tr td:nth-child(2) {
    border-right: 1px dashed #ccc;
}


/***************************************
 * box位置
 ***************************************/

.numbers_area.area1 {
    grid-template-columns: calc(60% - 15px) calc(40% - 15px);
    grid-template-rows: auto auto;
}
.numbers_area.area1 .agemap {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.numbers_area.area1 .ageave {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.numbers_area.area1 .gender {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}



@media (max-width: 1029px) {

    .numbers_area.area1 {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }

    .numbers_area.area1 .agemap {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .numbers_area.area1 .ageave {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .numbers_area.area1 .gender {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
}

.numbers_area.area2 {
    grid-template-columns: calc(40% - 15px) calc(60% - 15px);
    grid-template-rows: auto auto;
}
.numbers_area.area2 .formerjob {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
.numbers_area.area2 .length {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.numbers_area.area2 .lengthave {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 1029px) {

    .numbers_area.area2 {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }

    .numbers_area.area2 .formerjob {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .numbers_area.area2 .length {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .numbers_area.area2 .lengthave {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

}


.numbers_area.area3 {
    grid-template-columns: calc(45% - 15px) calc(55% - 15px);
    grid-template-rows: auto auto;
}
.numbers_area.area3 .department {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.numbers_area.area3 .marriage {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.numbers_area.area3 .child {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 1029px) {

    .numbers_area.area3 {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }

    .numbers_area.area3 .department {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .numbers_area.area3 .marriage {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .numbers_area.area3 .child {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

}


.numbers_area.area4 {
    grid-template-columns: calc(28% - 30px) calc(30% - 30px) 42%;
    grid-template-rows: auto auto;
}
.numbers_area.area4 .recruit {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}
.numbers_area.area4 .blood {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.numbers_area.area4 .area {
    grid-column: 1 / 3;
    grid-row: 2 / 2;
}
.numbers_area.area4 .favorite {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}


@media (max-width: 1029px) {

   .numbers_area.area4 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .numbers_area.area4 .recruit {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .numbers_area.area4 .blood {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    .numbers_area.area4 .area {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }
    .numbers_area.area4 .favorite {
        grid-column: 1 / 3;
        grid-row:3 / 4;
    }
}

@media (max-width: 767px) {

    .numbers_area.area4 {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto auto;
    }

    .numbers_area.area4 .recruit {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .numbers_area.area4 .blood {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .numbers_area.area4 .area {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .numbers_area.area4 .favorite {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }
}

/***************************************
 * 項目別調整
 ***************************************/
/* 年齢分布 */
.agemap > .inner {
    grid-template-columns: 220px auto;
    grid-template-rows: auto auto;
    gap: 20px;
}
.agemap h2 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.agemap .chart {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin: auto;
    display: grid;
    place-content: center;
    position: relative;
    width: 220px;
}

.agemap .chart > span {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    scale: 0;
    opacity: 1;
    transition: scale 1s;
    transform-origin: left;
    transform: translate(-50%, -50%);
}
.agemap .chart > span.no1 {
    top: 29%;
    left: 73%;
    font-size: 26px;
}
.agemap .chart > span.no2 {
    top: 78%;
    left: 42%;
    font-size: 24px;
}
.agemap .chart > span.no3 {
    top: 40%;
    left: 20%;
}
.agemap .chart > span.no4 {
    top: -10px;
    left: 20%;
    color: var(--gray1_color);
    font-size: 80%;
}
.agemap .chart > span.no5 {
    top: -5%;
    left: 43%;
    color: var(--gray1_color);
    font-size: 80%;
}
.agemap .data_list {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 1029px) {

    .agemap > .inner {
        grid-template-columns: auto auto;
    }

}

@media (max-width: 767px) {

    .agemap > .inner {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }
    .agemap h2 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .agemap .chart {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .agemap .data_list {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .agemap .chart {
        margin-top: 50px;
    }

}


/* 平均年齢 */
.numbers_area .box.ageave > .inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 10px;
}
.ageave h2 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}
.ageave .chart {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.ageave .chart img {
    height: 60px;
    width: auto;
    margin: auto;
}
.ageave .data_list {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

@media (max-width: 1029px) {

    .numbers_area .box.ageave > .inner {
        grid-template-columns: auto auto;
        width: 380px;
        margin: auto;
    }

}

@media (max-width: 767px) {

    .numbers_area .box.ageave > .inner {
        width: 100%;
    }
    .ageave .chart img {
        height: 50px;
    }
    .ageave .data_list {
        font-size: 35px;
    }


}


/* 男女比率 */
.numbers_area .box.gender > .inner {
    gap: 10px;
}
.gender .data_list {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}
.gender .data_list .text {
    display: flex;
    align-items: baseline;
    text-align: center;
    gap: 30px;
    line-height: 1.3;
}
.gender .data_list .text .left {
    position: relative;
}
.gender .data_list .text .left:after {
    content: ":";
    position: absolute;
    right: -20px;
    top: 40px;
    font-size: 40px;
    transform: translateY(-50%);
}
.gender .data_list .text .main_data {
    font-weight: bold;
    display: flex;
    align-items: baseline;
}
.gender .data_list .text .left .main_data {
    font-size: 40px;
}
.gender .data_list .text .right .main_data {
    font-size: 30px;
}

.gender .data_list img {
    width: 40px;
}

.gender .data_list .text .sub_data {
    font-size: 20px;
}

@media (max-width: 767px) {

    .gender .data_list img {
        width: 30px;
    }

    .gender .data_list .text .left .main_data {
        font-size: 30px;
    }
    .gender .data_list .text .right .main_data {
        font-size: 25px;
    }
    .gender .data_list .text .sub_data {
        font-size: 16px;
    }

    .gender .data_list .text .left:after {
        top: 27px;
    }


}


/* 前職 */

.formerjob .data_list table.table1:nth-child(1) tr:nth-child(1) td:nth-child(2) {
    color: var(--first_color);
}
.formerjob .data_list table.table1:nth-child(1) tr:nth-child(2) td:nth-child(2) {
    color: var(--second_color);
}
.formerjob .data_list table.table1:nth-child(1) tr:nth-child(3) td:nth-child(2) {
    color: var(--third_color);
}

.formerjob .data_list table.table1 img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin: auto;
}
.formerjob .data_list table.table1:nth-child(1) tr:nth-child(1) img {
    width: 50px;
    height: 50px;
}
.formerjob .data_list table.table1:nth-child(1) tr:nth-child(2) img,
.formerjob .data_list table.table1:nth-child(1) tr:nth-child(3) img {
    width: 40px;
    height: 40px;
}

@media (max-width: 1029px) {
    .formerjob .data_list table.table1 {
        width: auto;
        margin: auto;
    }

}


/* 勤続年数割合 */
.length .data_list .length_image {
    display: flex;
}
.length .data_list .length_image img {
    width: auto;
    margin: 0 5px;
    height: 50px;
}



.length .data_list table.table2 tr:nth-child(1) td:nth-child(2) {
    color: var(--first_color);
}
.length .data_list table.table2 tr:nth-child(2) td:nth-child(2) {
    color: var(--second_color);
}
.length .data_list table.table2 tr:nth-child(3) td:nth-child(2) {
    color: var(--third_color);
}



@media (max-width: 1029px) {
    .length .data_list table.table2 {
        width: auto;
        margin: auto;
    }

}

@media (max-width: 767px) {

    .length .data_list table.table2 {
        width: 100%;
    }

    .length .data_list table.table2 tr {
        display: grid;
        grid-template-columns: 60px auto 70px;
        grid-template-rows: auto auto;
        border-bottom: 1px dashed #ccc;
        padding: 15px;
        gap: 15px 0;
    }
    .length .data_list table.table2 tr td {
        padding: 0;
    }

    .length .data_list table.table2 tr > td:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        padding: 0;
        display: grid;
        align-items: center;
        justify-content: start;
    }
    .length .data_list table.table2 tr > td:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        border: none;
    }
    .length .data_list table.table2 tr > td:nth-child(3) {
        grid-column: 2 / 4;
        grid-row: 2 / 3;
    }
    .length .data_list table.table2 tr > td:nth-child(4) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .length .data_list .length_image img {
        height: 30px;
    }

}


/* 平均勤続年数 */
.lengthave > .inner {
    gap: 10px;
}

.lengthave .title {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.lengthave .title h2 + span {
    font-weight: bold;
    font-size: 20px;
}


.lengthave .title .sougyou {
    font-weight: bold;
    font-size: 150%;
    line-height: 1.5em;
    letter-spacing: 1px;
}


.lengthave .data_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.lengthave .image {
    display: grid;
    place-content: center;
}

.lengthave .image img {
    height: 60px;
    width: auto;
}


.lengthave .data_list .text {
    display: flex;
    align-items: baseline;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

@media (max-width: 767px) {

    .lengthave .title {
        flex-wrap: wrap;
    }

    .lengthave .data_list .text {
        font-size: 35px;
    }

}

/* 部署比率 */
.wide_band_chart {
    display: flex;
    height: 150px;
}

.wide_band_chart > .wide_band {
    width: 0;
    transition: width 2s;
    display: grid;
    place-content: center;
    color: #fff;
    font-weight: bold;
    transition-delay: 3s;
}
.wide_band_chart > .wide_band.no1 {
    background: var(--first_color);
}
.wide_band_chart > .wide_band.no2 {
    background: var(--second_color);
}
.wide_band_chart > .wide_band.no3 {
    background: var(--third_color);
}
.wide_band_chart > .wide_band.no4 {
    background: var(--gray1_color);
}

.wide_band_chart > .wide_band > .inner {
    display: grid;
    opacity: 0;
    transition: opacity 1s;
}

.wide_band_chart > .wide_band img {
    width: 40px;
    height: 40px;
    margin: 0px auto 10px;
    opacity: 0.3;
    filter: invert(100%) sepia(99%) saturate(15%) hue-rotate(174deg) brightness(104%) contrast(101%);
}
.wide_band_chart > .wide_band .name {
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.wide_band_chart > .wide_band .text {
    text-align: center;
}
.wide_band_chart > .wide_band.no1 > .inner {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 0 10px;
}
.wide_band_chart > .wide_band.no1 img {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    width: auto;
    height: 45px;

}
.wide_band_chart > .wide_band.no1 .name {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    font-size: 28px;
}
.wide_band_chart > .wide_band.no1 .text {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-size: 35px;
    line-height: 1;
}

@media (max-width: 767px) {
    .wide_band_chart {
        height: auto;
        flex-direction: column;
        width: 80%;
        margin-left: 0;
        margin-right: auto;
    }
    .wide_band_chart > .wide_band {
        position: relative;
        color: #000;
        height: 50px;
    }
    .wide_band_chart > .wide_band > .inner {
        display: flex;
        align-items: baseline;
        position: absolute;
        left: calc(100% + 10px);
        white-space: nowrap;
        gap: 0 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .wide_band_chart > .wide_band.no1 > .inner {

    }
    .wide_band_chart > .wide_band.no2 > .inner {

    }
    .wide_band_chart > .wide_band.no3 > .inner {

    }
    .wide_band_chart > .wide_band.no4 > .inner {
 
    }
    .wide_band_chart > .wide_band .name {
        writing-mode: horizontal-tb;
    }
    .wide_band_chart > .wide_band.no1 .name {
    
    }
    .wide_band_chart > .wide_band.no2 .name {
    
    }
    .wide_band_chart > .wide_band.no3 .name {
    
    }
    .wide_band_chart > .wide_band.no4 .name {
    
    }

    .wide_band_chart > .wide_band img {
        display: none;
    }
    .wide_band_chart > .wide_band.no1 img {
        filter: var(--filter_first_color);
    }
    .wide_band_chart > .wide_band.no2 img {
        filter: var(--filter_second_color);
    }
    .wide_band_chart > .wide_band.no3 img {
        filter: var(--filter_third_color);
    }
    .wide_band_chart > .wide_band.no4 img {
        filter: var(--filter_gray1_color);
    }

    .wide_band_chart > .wide_band .name {
        font-size: 18px;
    }
    .wide_band_chart > .wide_band .text {
        font-size: 20px;
    }

    .wide_band_chart > .wide_band.no1 .name {
        font-size: 22px;
    }
    .wide_band_chart > .wide_band.no1 .text {
        font-size: 25px;
    }
}



/* 結婚率 */
.marriage .data_list {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.marriage .data_list .text {
    text-align: center;
    line-height: 1.2;
}

.marriage .data_list .text:nth-child(3) {
   font-size: 120%; 
}
.marriage .data_list .text > div:nth-child(1) {
    font-weight: bold;
    font-size: 120%;
}
.marriage .data_list .text:nth-child(1) > div:nth-child(1) {
    color: var(--second_color);
}
.marriage .data_list .text:nth-child(3) > div:nth-child(1) {
    color: var(--first_color);
}
.marriage .data_list .text > div:nth-child(2) {
    font-weight: bold;
    font-size: 120%;
}
.marriage .data_list .text > div:nth-child(3) {
    margin-top: 5px;
}

.marriage .data_list .chart {
    position: relative;
    z-index: 0;
}

.marriage .data_list .chart > canvas {
    position: relative;
    z-index: 0;
    width: 180px!important;
    height: 180px!important;
}


.marriage .data_list .chart > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

@media (max-width: 767px) {

    .marriage .data_list {
        grid-template-columns: 1fr 120px 1fr;
    }

    .marriage .data_list .chart > canvas {
        width: 120px!important;
        height: 120px!important;
    }
    .marriage .data_list .chart > img {
        width: 60px;
        height: 60px;
    }

}



/* 子供の人数 */
.child .chart .data {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.child .chart .bar_list {
    gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.child .chart .data {
    font-weight: bold;
    text-align: center;
}
.child .chart .data:nth-child(1) {
    font-size: 25px;
    color: var(--first_color);
}
.child .chart .data:nth-child(2) {
    font-size: 20px;
    color: var(--second_color);
}
.child .chart .data:nth-child(3) {
    font-size: 20px;
    color: var(--third_color);
}
.child .chart .data .text > div:nth-child(2) {
    color: #000;
}

.child .chart .data img {
    width: 100px;
    height: 50px;
    object-fit: contain;
    object-position: center bottom;
    margin-inline: auto;
}

.child .chart .data .band {
    height: 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.child .chart .data .band .band_color{
    transition: height 1s;
    height: 0;
    width: 100%;
    transition-delay: 4s;
}
.child .chart .data:nth-child(1) .band .band_color {
    background: var(--first_color);
}
.child .chart .data:nth-child(2) .band .band_color {
    background: var(--second_color);
}
.child .chart .data:nth-child(3) .band .band_color {
    background: var(--third_color);
}
.child .chart .data:nth-child(4) .band .band_color {
    background: var(--gray1_color);
}

@media (max-width: 767px) {

    .child .chart .data {
        width: 100%;
    }

    .child .chart .data:nth-child(1) {
        font-size: 20px;
    }
    .child .chart .data:nth-child(2) {
        font-size: 18px;
    }
    .child .chart .data:nth-child(3) {
        font-size: 16px;
    }

    .child .chart .data .title {
        height: 30px;
        line-height: 30px;
    }

    .child .chart .data .title > span {
        display: none;
    }

    .child .chart .data .count {
        height: 45px;
        line-height: 45px;
    }


    .child .chart .data img {
        width: 50px;
        height: 50px;
    }

}


/* 新卒・中途比率 */
.numbers_area.area4 .recruit {
    padding: 30px 20px;
}
.recruit .data_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.recruit .data_list > div {
    text-align: center;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
}
.recruit .data_list > div img {
    margin-inline: auto;
    margin-top: auto;
    margin-bottom: 10px;
}
.recruit .data_list > .recruit1 img {
    width: 40px;
}
.recruit .data_list > .recruit2 img {
    width: 60px;
}
.recruit .data_list > div > div:nth-child(2) {
    font-weight: bold;
}

.recruit .data_list > .recruit1 > div:nth-child(2) {
    color: var(--first_color);
}
.recruit .data_list > .recruit2 > div:nth-child(2) {
    color: var(--second_color);
}

.recruit .data_list > div > div:nth-child(3) {
    font-weight: bold;
    white-space: nowrap;
    line-height: 50px;
}
.recruit .data_list > .recruit1 > div:nth-child(3) {
    font-size: 130%;
}
.recruit .data_list > .recruit2 > div:nth-child(3) {
    font-size: 150%;
}

@media (max-width: 1029px) {

    .numbers_area.area4 .recruit {
        padding: 30px 40px;
    }

}
@media (max-width: 767px) {

    .recruit .data_list > .recruit1 img {
        width: 35px;
    }
    .recruit .data_list > .recruit2 img {
        width: 50px;
    }

}


/* 血液型 */
.numbers_area.area4 .blood {
    padding: 30px 20px;
}

@media (max-width: 1029px) {

    .numbers_area.area4 .blood {
        padding: 30px 40px;
    }

}


/* 地域 */
.numbers_area.area4 .area {
    padding: 30px 20px;
}

.area > .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.area h2 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.area .chart {
    width: 250px;
    display: grid;
    place-content: center;
}
.area .chart > img {
    width: 100%;
    height: auto;
}
.area .data_list {
    width: 100%;
}
.area .data_list .table1 {
    width: 100%;
}
.area table.table1 tr th,
.area table.table1 tr td {
    padding: 10px;
}

.area table.table1 tr:first-child > * {
    font-size: 20px;
}
.area table.table1 tr:nth-child(2) > *,
.area table.table1 tr:nth-child(3) > * {
    font-size: 18px;
}

@media (max-width: 1029px) {
    .numbers_area.area4 .area {
        padding: 30px 40px;
    }

    .area > .inner {
        grid-template-columns: auto auto;
    }

    .area .chart {
        margin: auto;
    }

    .area .data_list .table1 {
        width: auto;
    }
}

@media (max-width: 767px) {
    .numbers_area.area4 .area {
        padding: 30px 20px;
    }

    .area > .inner {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
    }

    .area h2 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .area .chart {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
    .area .data_list {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
}


/* マイブーム */
.numbers_area.area4 .favorite {
    padding: 30px 20px;
}

.numbers_area .box.favorite > .inner {
    gap: 40px;
}

.favorite .data_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
}

.favorite .table3 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.favorite .table3 .data {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    gap: 5px;
    border-right: 1px dashed #ccc;
    text-align: center;
    padding: 0 10px;
}

.favorite .table3 .data:last-child {
    border: none;
}

.favorite .table3 .data > div:nth-child(1) {
    margin-bottom: 10px;
}

.favorite .table3 .data > div:nth-child(1) img {
    width: auto;
    height: 50px;
    object-fit: contain;
    margin-inline: auto;
}

.favorite .table3 .data > div:nth-child(2) {
    margin-bottom: 10px;
    display: grid;
    place-content: center;;
}


.favorite .table3 .data > div:nth-child(3) {
    font-weight: bold;
    white-space: nowrap;
    font-size: 20px;
}
.favorite .table3 .data:nth-child(1) > div:nth-child(3) {
    font-size: 22px;
}
.favorite .table3 .data > div:nth-child(4) {
    font-weight: bold;
    line-height: 40px;
}
.favorite .table3 .data:nth-child(1) > div:nth-child(4) {
    font-size: 150%;
}

.favorite .table4 > .data {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px dashed #ccc;
}
.favorite .table4 > .data > div {
    padding: 15px 10px;
}

@media (max-width: 1029px) {
    .numbers_area.area4 .favorite {
        padding: 30px 40px;
    }
}

@media (max-width: 767px) {
    .numbers_area.area4 .favorite {
        padding: 30px 20px;
    }

    .numbers_area .box.favorite > .inner {
        gap: 20px;
    }

    .favorite .data_list {
        gap: 20px;
    }

    .favorite .table3 {
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
        width: 100%;
    }
    .favorite .table3 .data {
        grid-template-columns: 80px 50px auto;
        grid-template-rows: auto auto;
        grid-row: auto;
        border-bottom: 1px dashed #ccc;
        border-right: none;
        gap: 0 15px;
        padding: 15px 10px;
        text-align: left;
    }
    .favorite .table3 .data > div:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
        display: grid;
        place-content: center;
        margin: 0;
    }
    .favorite .table3 .data > div:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        margin: 0;
    }
    .favorite .table3 .data > div:nth-child(3) {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }
    .favorite .table3 .data > div:nth-child(4) {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .favorite .table3 .data > div:nth-child(1) img {
        margin: 0;
        height: 50px;
        width: 50px;
    }
    .favorite .table3 .data:nth-child(1) > div:nth-child(1) img {
        margin: 0;
        height: 80px;
        width: 80px;
    }
    .favorite .table3 .data:nth-child(2) > div:nth-child(1) img {
        margin: 0;
        height: 60px;
        width: 60px;
    }
    
    .favorite .table3 .data:nth-child(3) > div:nth-child(1) img {
        margin: 0;
        height: 40px;
        width: 40px;
    }

    .favorite .table3 .data > div:nth-child(3) {
        font-size: 18px;
    }

    .favorite .table3 .data:nth-child(1) > div:nth-child(3) {
        font-size: 20px;
    }

    .favorite .table4 {
        font-size: 14px;
    }
    .favorite .table4 > .data > div {
        padding: 10px 5px;
    }
}


/***************************************
 * 1200px以上
 ***************************************/
/*
 @media (min-width: 1200px) {

    .wrap {
        width: 90vw;
    }

    .about_text .catch {
        font-size: max(2.5vw, 30px);
    }

    .about_text p {
        font-size: max(1vw, 16px);
    }

    .numbers_area {
        gap: 3vw 2vw;
        margin-bottom: 3vw;
    }
    .numbers_area .box {
        padding: 40px;
    }

    .numbers_area .box > .inner {
        gap: 40px;
    }

    .numbers_area .box h2 {
        font-size: 1.8vw;
    }

    table.table1 {
        font-size: 1.1vw;
    }
    table.table1 tr:first-child > * {
       font-size: 180%;
    }
    table.table1 tr:nth-child(2) > *,
    table.table1 tr:nth-child(3) > * {
        font-size: 150%;
    }

    img.no1 {
        height: 2em;
    }
    img.no2 {
        height: 2em;
    }
    img.no3 {
        height: 1.5em;
    }

    table.table2 {
        font-size: 1.1vw;
        margin: auto;
    }
    table.table2 tr:first-child > * {
        font-size: 200%;
    }
    table.table2 tr:nth-child(2) > *,
    table.table2 tr:nth-child(3) > * {
        font-size: 150%;
    }

    table.table2 tr > td:nth-child(1) {
        padding: 10px 0;
    }


    .table4 {
        font-size: 1.2vw;
    }

    .agemap > .inner {
        grid-template-columns: 1fr 1fr;
    }
    .agemap .chart {
        width: 100%;
        aspect-ratio: 1;
        position: relative;
    }
    .agemap .chart > canvas {
        width: 100%!important;
        height: auto!important;
        position: absolute;
        top: 0;
        left: 0;
    }

    .agemap .chart > span.label {
        transform: translate(-50%, -50%);
        scale: 0;
        opacity: 1;
        transition: scale 1s;
        transform-origin: left;
    }

    .agemap .chart > span.no1 {
        top: 29%;
        left: 71%;
        font-size: 2.5vw;
    }
    .agemap .chart > span.no2 {
        top: 78%;
        left: 46%;
        font-size: 2.2vw;
    }
    .agemap .chart > span.no3 {
        top: 42%;
        left: 23%;
        font-size: 2vw;
    }
    .agemap .chart > span.no4 {
        top: 0;
        left: 28%;
        font-size: 1vw;
    }
    .agemap .chart > span.no5 {
        top: -5%;
        left: 44%;
        font-size: 1vw;
    }

    .ageave .chart img {
        width: 65%;
        height: auto;
    }
    .ageave .data_list {
        height: auto;
        font-size: 3vw;
        display: flex;
        align-items: center;
    }


    .gender .data_list {
        gap: 5%;
    }

    .gender .data_list .text .left .main_data {
        font-size: 3vw;
    }  
    .gender .data_list .text .sub_data {
        font-size: 1vw;
    }

    .gender .data_list .text .right .main_data{
        font-size: 2vw;
    }
    .gender .data_list .text .left:after {
        font-size: 3vw;
        top: 50%;
    }
    .gender .data_list img {
        width: 3vw;
    }

    .formerjob .data_list table.table1:nth-child(1) tr:nth-child(1) img {
        width: 3em;
        height: 2em;
    }
    .formerjob .data_list table.table1:nth-child(1) tr:nth-child(2) img,
    .formerjob .data_list table.table1:nth-child(1) tr:nth-child(3) img {
        height: 2em;
        width: 2em;
    }


    .length .data_list .length_image img {
        height: 1.8em;
    }



    .lengthave .title h2 + span {
        font-size: 1.5vw;
    }
    .lengthave .data_list .text {
        font-size: 3vw;
    }
    .lengthave .title .sougyou {
        font-size: 3vw;
    }

    .lengthave .image img {
        height: 6em;
    }

    .department .wide_band_chart {
        height: 15vw;
    }

    .department .wide_band_chart > .wide_band .name {
        font-size: 1.7vw;
    }
    .department .wide_band_chart > .wide_band .text {
        font-size: 1.7vw;
    }
    .department .wide_band_chart > .wide_band img {
        width: 2.5vw;
        height: 2.5vw;
    }

    .department .wide_band_chart > .wide_band.no1 .name {
        font-size: 2vw;
    }
    .department .wide_band_chart > .wide_band.no1 .text {
        font-size: 3vw;
    }
    .department .wide_band_chart > .wide_band.no1 img {
        height: 3vw;
        width: auto;
    }


    .marriage .data_list .text {
        font-size: 1.5vw;
    }
    .marriage .data_list .text:nth-child(3) {
        font-size: 2vw;
    }

    .child .chart .data:nth-child(1) {
        font-size: 2vw;
    }
    .child .chart .data:nth-child(2) {
        font-size: 1.8vw;
    }
    .child .chart .data:nth-child(3) {
        font-size: 1.5vw;
    }
    .child .chart .data:nth-child(4) {
        font-size: 1.5vw;
    }


    .recruit .data_list > div {
        font-size: 1.5vw;
    }

    .area > .inner {
        grid-template-columns: auto auto;
    }

    .area table.table1 tr:first-child > * {
        font-size: 2vw;
    }
    .area table.table1 tr:nth-child(2) > *,
    .area table.table1 tr:nth-child(3) > * {
        font-size: 1.8vw;
    }

    .area .chart {
        width: 100%;
    }


    .favorite .table3 .data {
        font-size: 1.5vw;
    }
    .favorite .table3 .data > div:nth-child(1) {
        margin-bottom: 1em;
    }
    .favorite .table3 .data > div:nth-child(1) img {
        height: 4em;
    }
    .favorite .table3 .data > div:nth-child(3) {
        font-size: 100%;
    }
    .favorite .table3 .data > div:nth-child(4) {
        font-size: 130%;
    }
    .favorite .table3 .data:nth-child(1) > div:nth-child(3) {
        font-size: 100%;
        margin-bottom: 30px;
    }
}
*/