
.job-type{
    max-width: 1024px;
    width: 60vw;
    display: flex;
    justify-content: space-between;
    margin: 5vw auto;
    a{
        border: solid 1px #ea553a;
        background-color: #ea553a;
        color: #fff;
        border-radius: 5vw;
        padding: 5px 60px;
        font-weight: bold;
        font-size: 1em;
    }
    /* a.active{
        background-color: #fff;
        color: #ea553a;
    } */
}

.business-h2{

    color: #ea553a;
    text-align: center;
    margin: 5vw 0;
}


.business-top-container {
    max-width: 1024px;
    width: 90vw;
    margin: 0 auto;
}
.business-top-container img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.business-achievements-container {
    width: 90vw;
    margin: 0 auto;
}

/* 440px以上の通常レイアウト */
.business-achievements-flex-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.business-achievements-card {
    width: 40vw;
    object-fit: cover;
    margin-bottom: 3vw;
    img {
        width: 100%;
    }
    .business-achievements-text {
        width: 100%;
        display: flex;
    }
    .business-achievements-text h3 {
        width: 30%;
        font-size: 1em;
        color: #ea553a;
        margin: 0 auto;
    }

    .business-achievements-text p {
        width: 70%;
        font-size: 0.8em;
        align-self: center;
        margin-bottom: 0;
        margin: 0 auto;
    }
}

.swiper{
    display: none;
}


.about-vision-container{
    width: 60%;
    margin: 0 auto;
    margin-top: 5vw;
    .about-vision-textbox {
      display: flex;
      flex-direction: column;
      align-items: center; /* 中央寄せ */
      border: #ea553a 2px solid;
      padding: 3vw;
      h3{
        color: #ea553a;
        margin-top: 0;
        font-size: 1.2em;
        font-weight: bold;
        text-align: center;
      }
      .underline {
        width: 50%; /* 下線の幅を50%に */
        height: 2px; /* 下線の太さ */
        background-color: #ea553a; /* 下線の色 */
        margin: 1vw auto; /* 中央配置 */
      }
      .about-vision-text-center {
        position: relative; /* 下線の配置用 */
        width: 100%; /* テキストの幅を100%に */
        .about-vision-text-center h3 {
          display: block; /* h3 をブロック要素に */
          margin-bottom: 10px; /* 下線との間隔 */
        }
      }
    }
    .about-vision-textbox:nth-child(-n+3){
        margin-bottom: 50px;
    }
}




/* 440px以下のSwiperスタイル */
@media screen and (max-width: 440px) {
    .business-achievements-flex-box {
        display: none;
    }

    .swiper {
        display: block;
        width: 100%;
        padding-bottom: 20px;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .business-achievements-card {
        width: 100vw;
    }
}

/* 440px以上の時はSwiperを非表示 */
@media screen and (min-width: 441px) {
    .swiper {
        display: none;
    }
}
