.page-br-pc {
    display: block;
}

.page-br-sp {
    display: none;
}

@media screen and (max-width: 600px) {
    .page-br-pc {
        display: none;
    }
    
    .page-br-sp {
        display: block;
    }
}

.p-testimonials {
    margin-bottom: 40px;
}

.page-recruit__fv--top {
    margin-bottom: 49px;
}

.page-recruit__textbox {
    padding: 0;
}

.page-recruit__section-inner--testimonial {
    align-items: flex-start;
}

@media screen and (max-width: 600px) {
    .page-recruit__section-inner--testimonial {
        align-items: center;
        row-gap: 40px;
    }
}

.page-recruit__section-title--testimonial {
    line-height: 1.5;
}

.page-recruit__image {
    position: relative;
}

.p-testimonials__image-text1 {
    position: absolute;
    top: 61%;
    left: 2.76%;
    background-color: white;
    color: #004491;
    font-family: 'Noto Serif JP', serif;
    font-size: min(40px, 2.778vw);
    font-weight: bold;
    line-height: 1.6;
    padding: 0 10px;
}

.p-testimonials__image-text1--small {
    font-size: min(32px, 2.222vw);
}

.p-testimonials__image-text2 {
    position: absolute;
    top: 75.89%;
    left: 2.76%;
    background-color: white;
    color: #004491;
    font-family: 'Noto Serif JP', serif;
    font-size: min(40px, 2.778vw);
    font-weight: bold;
    line-height: 1.6;
    padding: 0 10px;
}

.p-testimonials__image-text2--big {
    font-size: min(64px, 4.444vw);
}

@media screen and (max-width: 768px) {
    .p-testimonials__image-text1 {
        position: absolute;
        top: 56%;
        left: 2.76%;
        font-size: 20px;
        padding: 0 10px;
    }
    
    .p-testimonials__image-text1--small {
        font-size: 18px;
    }
    
    .p-testimonials__image-text2 {
        position: absolute;
        top: 75%;
        left: 2.76%;
        font-size: 20px;
        padding: 0 10px;
    }
    
    .p-testimonials__image-text2--big {
        font-size: 26px;
    }
}

.p-testimonials__row-container {
    max-width: 1120px;
    max-width: 1143px;
    margin: 0 auto;
    padding: 0;
}
  
.p-testimonials__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

@media screen and (max-width: 768px) {
    .p-testimonials__row {
        width: 80%;
        margin: 0 auto;
    }
}
  
.p-testimonials__item {
    width: 358px;
    margin: 0 11px;
    display: flex;
    flex-direction: column;
}
  
.p-testimonials__item-image {
    width: 100%;
    height: auto;
    position: relative;
}

.p-testimonials__item-image-text-wrap {
    position: absolute;
    bottom: 18px;
    left: 18px;   
}

.p-testimonials__item-image-title {
    color: #004491;
    background-color: white;
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 1.6;
    padding: 0 8px;
    width: fit-content;
}

.p-testimonials__item-image-text {
    color: white;
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
}

.p-testimonials__item-textbox {
    width: 100%;
    height: auto;
    background-color: #E0F2FF;
    padding: 20px;
    flex-grow: 1;
}

.p-testimonials__item-textbox-title {
    color: #004491;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.p-testimonials__item-textbox-text {
    font-size: 14px;
    line-height: 1.9;
}


/* スマートフォン対応 */
@media screen and (max-width: 768px) {
    .p-testimonials__row {
      flex-direction: column;
      align-items: center;
    }
    
    .p-testimonials__item {
      width: 100%;
      margin: 0;
    }

    .p-testimonials__item-image-title {
        font-size: 5.867vw;
    }

    .p-testimonials__item-image-text {
        font-size: 4.267vw;
    }

    .p-testimonials__item-textbox-title {
        font-size: 4.8vw;
    }

    .p-testimonials__item-textbox-text {
        font-size: 3.733vw;
    }
}

.page-recruit__section-title {
    font-weight: bold;
}

.page-recruit__section-title--testimonial-highlight {
    display: inline-block;
    background-color: #004491;
    color: #fff;
    padding: 0 3px;
}

.page-recruit__section-text--testimonial {
    padding: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 600px) {
    .section-inner--testimonial {
        padding: 0;
    }
    
}
