#recruit {
    padding: 13em 0 1em;
    background: #fff;
}

.recruit-hero-content {
    display: grid;
    grid-template-columns: 3fr 2.5fr;
    gap: 30px;
    align-items: center;
    padding: 70px 0 0;
}
.recruit-hero-title {
    font-weight: 600;
    margin-bottom: 40px;
}
.recruit-hero-title-line1 {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}
.recruit-hero-title-line2 {
    display: block;
    font-size: 32px;
    line-height: 45px;
}
.recruit-hero-description {
    line-height: 35px;
    margin-top: 50px;
}
.recruit-hero-description p {
    text-align: center;
}
.recruit-hero-image {
    position: relative;
}
.recruit-hero-img {
    width: 100%;
}
.recruit-category {
    font-weight: 700;
    font-size: 24px;
    color: #707070;
    padding: 120px 0 10px;
}
.recruit-line {
    width: 50px;
    height: 5px;
    background-color: #004EA2;
    margin-bottom: 40px;
    border-radius: 3px;
}


/* CTA リンク */
.cta-section {
    background-color: white;
    padding: 50px 0 120px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}
.cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 30px;
    border: 1px solid #94938f;
    color: #707070;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    min-width: 300px;
    justify-content: space-between;
}
.cta-buttons i {
    font-size: 15px;
    color: #03528c;
}
.cta-buttons a:hover,
.cta-buttons a:hover path,
.cta-buttons i:hover {
    /* background-color: #03528c; */
    background-color: #333333; /* #03528c から変更 */
    color: white;
    /* border-color: #03528c; */
    border-color: #333333;
    stroke: #fff;
}
a.cta-btn:hover i {
    color: white;
}
.cta-icon {
    width: 20px;
    height: 20px;
}
.cta-icon.external {
    width: 16px;
    height: 16px;
    color: #03528C;
}


/* 求める人物像 Portrait */
.portrait-section {
    background-color: #f5f5f5;
    padding: 10px 0 120px;
}
.portrait-head {
    text-align: center;
    margin: 50px 0;
}
.portrait-head h3 {
    font-size: 20px;
    margin: 50px 0;
    line-height: 33px;
}

.portrait-content {
    display: grid;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 50px 40px;
    grid-template-columns: 1fr 3fr;
}
.portrait-icon {
    flex-shrink: 0;
}
/* .portrait-icon img {
    width: 80px;
    height: 80px;
} */
.portrait-text {
    text-align: left;
}
.portrait-category {
    font-size: 13px;
    color: #707070;
    margin-bottom: 10px;
}
.portrait-title {
    font-size: 20px;
    color: #707070;
    margin-bottom: 20px;
}
.portrait-description {
    color: #707070;
    line-height: 30px;
    text-align: left;
}
.portrait-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 20px;
}

.type-grid {
    display: grid;
    gap: 40px;
}
.type-content {
    display: grid;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 50px 40px;
    grid-template-columns: 1fr 9fr;
}



/* 募集要項 */
.requirements-section {
    background-color: #EEECE9;
    padding: 10px 0 0;
}
.requirements-content {
    background: #fff;
    padding: 20px 20px 80px;
    margin: 30px;
}
.requirement-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 30px 10px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    align-items: start;
    margin: 0 60px;
}
.requirement-title {
    font-weight: 500;
    font-size: 18px;
    color: #707070;
    margin: 20px 0;
}
.requirement-content {
    font-size: 16px;
    line-height: 30px;
    color: #333333;
}
.requirement-content p {
    margin-bottom: 10px;
}
.requirement-foot {
    text-align: center;
    margin: 50px 0;
}
.requirement-foot h3 {
    font-size: 20px;
    margin: 80px 0 40px;
    line-height: 30px;
}
.requirement-foot p {
    font-size: 18px;
    margin: 30px 0;
}


/* CTA */
.recruit-cta {
    width: 65%;
    background: #f5f5f5;
    margin: 30px auto 120px;
    text-align: center;
    padding: 20px;
}
.recruit-cta a {
    background: #004EA2;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    width: 400px;
    height: 80px;
    text-align: center;
    margin: 20px auto 40px;
    display: inline-block;
    line-height: 78px;
    /* アニメーションを滑らかにするために追加 */
    transition: all 0.3s ease; 
    /* 枠線のズレを防ぐために初期状態で透明な線を入れておく */
    border: 1px solid #004EA2;
}
.recruit-cta a:hover {
    background: #fff;          /* 背景を白に */
    color: #004EA2;           /* 文字を青に */
    border: 1px solid #004EA2; /* 枠線を出す */
}
.recruit-cta h5 {
    font-size: 18px;
    color: #707070;
    margin: 20px 0 5px;
}
.recruit-cta p {
    font-size: 15px;;
}
.recruit-cta p span{
    font-size: 52px;
    color: #004EA2;
    font-weight: bold;
    letter-spacing: 1px;
    margin-right: 55px;
    line-height: 55px;
}
.recruit-cta img {
    width: 5%;
    margin-right: 15px;
}




/* レスポンシヴ */
@media (max-width: 1200px) {
    .portrait-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .requirement-item {
        grid-template-columns: 150px 1fr;
        gap: 30px;
    }
}

@media (max-width: 820px) {
    #recruit {
        padding: 9em 0 1em;
    }
    .recruit-hero {
        padding: 10px 0;
    }
    .recruit-hero-img {
        width: 100%;
        height: auto;
    }
    .recruit-hero-title-line1 {
        font-size: 22px;
    }
    .recruit-hero-title-line2 {
        font-size: 22px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title-line1 {
        font-size: 28px;
    }
    
    .hero-title-line2 {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .portrait-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }


    .recruit-category {
        padding-top: 30px;
    }
    .requirement-title {
        font-size: 16px;
    }
    .requirements-content {
        padding: 0;
        margin: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: 30px;
    }
}


@media (max-width: 480px) {
    .wrapper {
        padding: 0;
    }
    .hero {
        padding: 40px 0;
    }
    .hero-title-line1 {
        font-size: 24px;
    }
    .hero-title-line2 {
        font-size: 28px;
    }
    .hero-description {
        font-size: 14px;
        line-height: 28px;
    }
    :root{
        scroll-padding: 80px;
    }

    .recruit-hero-content {
        grid-template-columns: none;
        gap: 0;
        padding-top: 20px;
    }
    .recruit-hero-description p {
        text-align: left;
    }
    .section-main-title {
        font-size: 32px;
    }
    .type-content {
        padding: 30px 20px;
    }
    .section-title-text {
        font-size: 28px;
    }
    .type-content {
        grid-template-columns: none;
    }
    .portrait-head p {
        text-align: left;
    }
    .portrait-icon {
        margin: 0 auto;
    }
    .portrait-description {
        line-height: 28px;
    }
    .portrait-grid {
        grid-template-columns: none;
        gap: 30px;
        margin-bottom: 50px;
    }
    .portrait-content {
        gap: 15px;
        padding: 20px 15px;
    }

    .requirements-section {
        padding: 50px 0 0;
    }
    .requirement-content {
        font-size: 15px;
        line-height: 24px;
    }
    .requirement-title {
        margin: 10px 0;
    }
    .requirement-item {
        margin: 0 10px;
        grid-template-columns: none;
        gap: 0;
        padding: 20px 10px;
    }
    .recruit-cta,
    .recruit-cta a {
        width: 100%;
        font-size: 20px;
    }
    .recruit-cta p span {
        font-size: 35px;
        margin-right: 0;
    }
    .recruit-cta img {
        width: 9%;
    }
    /* .entry-button {
        padding: 15px 30px;
        font-size: 20px;
    }
    .rikunabi a img {
        width: 100%;
    } */
}



/* Interactive Elements */
.faq-item {
    cursor: pointer;
}

.faq-item:hover .faq-question {
    color: #03528c;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

