/* ========================================
   ユーティリティクラス（汎用スタイル）
   ======================================== */

/* 色設定 */
.--text-blue {
    color: #1C7AE8;
}

.--bg-blue {
    background: #E0EFFF;
}

.--bg-gradient {
    background: #238FD7;
}

/* フレックスレイアウト */
.--flex {
    display: flex;
}

.--flex-row-reverse {
    flex-direction: row-reverse;
}

.--flex-wrap {
    flex-wrap: wrap;
}

.--justify-center {
    justify-content: center;
}

@media screen and (max-width:500px) {
    .--justify-sp-normal {
        justify-content: normal;
    }
}

/* ギャップ */
.--gap-16 {
    gap: 16px;
}

.--gap-20 {
    gap: 20px;
}

.--gap-28 {
    gap: 28px;
}

.--gap-30 {
    gap: 30px;
}

.--gap-36 {
    gap: 36px;
}

.--gap-40 {
    gap: 40px;
}

.--gap-48 {
    gap: 48px;
}

.--gap-y-24 {
    row-gap: 24px;
}

@media screen and (max-width:500px) {
    .--gap-sp-28 {
        gap: 28px;
    }
}

/* マージン */
.--ml-48 {
    margin-left: 48px;
}

.--mr-48 {
    margin-right: 48px;
}

@media screen and (max-width:500px) {
    .--mr-sp-16 {
        margin-right: 16px;
    }

    .--ml-sp-16 {
        margin-left: 16px;
    }

    .--px-sp-16 {
        padding: 0 16px;
    }

    .--px-sp-24 {
        padding: 0 24px;
    }
}

/* フォント関連 */
.--text-14 {
    font-size: 14px;
}

.--text-20 {
    font-size: 20px;
}

.--text-24 {
    font-size: 24px;
}

.--text-28 {
    font-size: 28px;
}

@media screen and (max-width:500px) {
    .--text-sp-10 {
        font-size: 10px;
    }

    .--text-sp-14 {
        font-size: 14px;
    }

    .--text-sp-16 {
        font-size: 16px;
    }

    .--text-sp-18 {
        font-size: 18px;
    }

    .--text-sp-20 {
        font-size: 20px;
    }
}

.--font-bold {
    font-weight: 600;
}

.--underline {
    text-decoration-line: underline;
}

/* 行間設定 */
.--leading-44 {
    line-height: 44px;
}

@media screen and (max-width:500px) {
    .--leading-sp-normal {
        line-height: normal;
    }
}

/* アライン設定 */
.--text-start {
    text-align: start;
}

.--text-center {
    text-align: center;
}


.--items-center {
    align-items: center;
}

.--self-start {
    align-self: flex-start;
}

/* ========================================
   ユーティリティレイアウト
   ======================================== */

.center-wrapper {
    margin: auto;
}

.flex-wrapper {
    display: flex;
}

.flex-column-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.br-sp {
    display: none;
}

.br-pc {
    display: block;
}

@media screen and (max-width:500px) {
    .br-sp {
        display: block;
    }
}

@media screen and (max-width:500px) {
    .br-pc {
        display: none;
    }
}

/* ========================================
   独自レイアウト
   ======================================== */

.hero-application-button {
    display: inline-block;
    padding: 17px 50px;
    border-radius: 10px;
    border: 2px solid transparent;
    background-color: white;
    color: #1C7AE8;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    box-shadow: 10px 10px 30px 0px rgba(31, 71, 102, 0.30);
    cursor: pointer;

    @media screen and (max-width:1280px) {
        font-size: 18px;
    }

    @media screen and (max-width:1024px) {
        padding: 12px 44px;
        font-size: 16px;
    }

    @media screen and (max-width:768px) {
        padding: 18.5px 26px;
        font-size: 18px;
    }

    @media screen and (max-width:767px) {
        font-size: 18px;
        padding: 18px 22px;
    }
}

.hero-application-button:hover {
    background-color: #1C7AE8;
    color: white;
}

.application-button1, .application-button {
    display: inline-block;
    padding: 17px 50px;
    border-radius: 10px;
    border: 2px solid transparent;
    background-color: #EF3E37;
    color: #FFF;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;

    @media screen and (max-width:500px) {
        padding: 18.5px 17.5px;
    }
}
.application-button:hover {
    background-color: #FFF;
    color: #EF3E37;
}
.application-button1:hover {
    background-color: #FFF;
    color: #EF3E37;
    border: 2px solid #EF3E37;
}

.scroll-button {
    display: flex;
    gap: 20px;
    padding: 15px 44px;
    border-radius: 10px;
    border: 1px solid #1C7AE8;
    background-color: white;
    color: #1C7AE8;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    width: fit-content;

    @media screen and (max-width:500px) {
        gap: 16px;
        padding: 16.5px 60px;
        pointer-events: none;
    }
}

.scroll-button::before {
    width: 30px;
    height: 30px;
    content: "";
    background-image: url('../images/icon_arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;

    @media screen and (max-width:500px) {
        width: 27px;
        height: 27px;
    }
}

.scroll-button:hover {
    background-color: #1C7AE8;
    color: white;
}

.scroll-button:hover::before {
    width: 27px;
    height: 27px;
    background-image: url('../images/icon_arrow_white.svg');
}

@media screen and (max-width:500px) {
    .scroll-button-text {
        font-size: 18px;
    }
}

.application-title {
    color: white;
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
    text-align: center;

    @media screen and (max-width:500px) {
        font-size: 24px;
    }
}

.main-container {
    margin-top: 88px;

    @media screen and (max-width:500px) {
        margin-top: 60px;
    }
}

.section-base-container {
    display: grid;
    padding: 30px 0px;
    gap: 40px;
    text-align: center;
}

.header-container {
    z-index: 1;
    position: fixed;
    display: flex;
    align-items: center;
    width: 100%;
    height: 88px;
    top: 0;
    left: 0;
    padding: 0px 48px;
    background: white;
}

@media screen and (max-width:500px) {
    .header-container {
        padding: 0 16px;
        height: 60px;
    }
}

.benesse-img {
    height: 33px;
    margin-right: 49px;

    @media screen and (max-width:500px) {
        margin-right: 24px;
        height: 16px;
    }
}


.kaigo-kyuujin-img {
    height: 28px;
    margin-right: 56px;

    @media screen and (max-width:500px) {
        margin-right: 27px;
        height: 14px;
    }
}

.careeosu-img {
    height: 45px;

    @media screen and (max-width:500px) {
        height: 22px;
    }
}

.hero-container {
    width: 100%;
    background: #fff;
}

.hero {
    @media screen and (min-width:768px) {
        position: relative;
        max-width: 1440px;
        max-height: 420px;
        aspect-ratio: 24 / 7;
        margin: auto;
    }
}

@media screen and (max-width:768px) {
    .hero img {
        width: 100%;
    }
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;

    @media screen and (min-width:768px) {
        height: 100%;
        top: 0;
        right: 2%;
        position: absolute;
    }

    @media screen and (max-width:767px) {
        padding: 27px 18px 48px;
    }
}

.hero-text {
    font-size: 36px;

    @media screen and (max-width:1280px) {
        font-size: 32px;
    }

    @media screen and (max-width:1024px) {
        font-size: 24px;
    }

    @media screen and (max-width:767px) {
        font-size: 20px;
    }
}

.logo-inner {
    max-width: 850px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    @media screen and (max-width:500px) {
        padding: 0 50px;
    }
}

.logo-inner-ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.logo-inner-li {
    display: flex;
    width: calc(100% / 3);
    max-height: 100px;
    margin: 10px 0;
    height: 100px;
}
.logo-inner-li img {
    padding: 0 10px;
}
@media screen and (max-width:767px) {
    .logo-inner-li {
        float: left;
        width: calc(50% - 5px);
        margin: 0 0 10px 10px;
    }
    .logo-inner-li:nth-child(2n+1) {
        clear: left;
        margin-left: 0;
    }
    .logo-inner-li img {
        padding: 0;
    }
}

.logo-inner img{
    height: 100%;
    object-fit: contain;
    margin: auto;
}

.trial-office-inner {
    max-width: 1050px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    @media screen and (max-width:500px) {
        
    }
}
.trial-office-inner-ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.trial-office-inner-li {
    display: flex;
    width: calc(100% / 3);
    max-height: 100px;
    margin: 10px 0;
    font-size: 20px;
    line-height: normal;
    text-align: start;
    justify-content: center;
}

.trial-office-pref{
    text-align: center;
    margin-bottom: 2px;
    font-weight: 600;
    border-bottom: solid 2px;
    padding: 30px 0 10px 0;
}
@media screen and (max-width:767px) {
    .trial-office-inner-li {
        float: left;
        width: 100%;
        margin: 0 0 20px 35px;
        padding: 0;
        font-size: 16px;
        justify-content: normal;
    }
    .trial-office-pref{
        font-size: 16px;
        padding: 15px 0 10px 0;
    }
}

.question-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: fit-content;
    margin: auto;
    text-align: left;
}

.pick-up-text {
    font-size: 28px;
    line-height: normal;
    font-weight: 600;
    text-align: start;

    @media screen and (max-width:500px) {
        font-size: 20px;
    }
}

.office-list-inner {
    max-width: 1050px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;

    @media screen and (max-width:500px) {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 20px;
    }
}

.footer-container {
    display: grid;
    justify-content: center;
    padding: 40px 0;
    gap: 16px;
}

/* KKDEV2-1442 キャリオス1DAY＆介護求人ナビ シナジー企画　バナー差し替え・LP構成変更対応 */
@media screen and (max-width: 767px) {
    .pf-util_hidden-sp {
        display: none;
    }
  .hero-container {
    width: 100%;

  }
  .hero-img {
    width: 100%;

  }

}
@media screen and (min-width: 768px) {
  .pf-util_hidden-pc {
    display: none !important;
  }

  .hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    position: relative;

  }
  .hero-container {
    width: 100%;
    height: 70vh; 
  }
  .hero-img {
    width: 100%;
    height: 70vh;
    display: block;
    object-fit: contain;
  }

}

.red-btn {
    background-color: #EF3E37;
    color: #fff;
}

.trial-office-section.closed {
  display: none;
}
.trial-office-section.closed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.trial-office-section.open {
  max-height: 2000px; /* 必要に応じて調整 */
}

/* 矢印ボタンの回転 */
.scroll-button::before {
  width: 30px;
  height: 30px;
  content: "";
  background-image: url(../images/icon_arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  transition: transform 0.3s ease;
}

.scroll-button.open::before {
  transform: rotate(180deg);
}

.mt-50 {
  margin-top: -80px;
}

/* KKDEV2-1442 キャリオス1DAY＆介護求人ナビ シナジー企画　バナー差し替え・LP構成変更対応 */
