@charset "UTF-8";

/* ==================================================
   Recruit Page: Variables & Common
================================================== */
:root {
    --recruit-orange: #e85a28;
    --bg-beige: #fff6ea; 
}

.bg-beige {
    background-color: var(--bg-beige);
}

.section-padding {
    padding: 100px 0;
}

/* ==================================================
   Sub Page Common (Hero & Breadcrumb)
================================================== */
.page-hero {
    position: relative;
    height: 300px;
    padding-top: 90px;
}

.page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.page-hero__inner {
    height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.page-title {
    font-size: 36px;
    color: var(--text-main);
    letter-spacing: 0.1em;
}

/* ==================================================
   Buttons 
================================================== */
.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--recruit-orange);
    color: #fff;
    border-radius: 50px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    letter-spacing: 0.05em;
}

.btn-orange:hover {
    background-color: #d04d1e;
    transform: translateY(-2px);
}

.arrow-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
}

.btn-center {
    text-align: center;
}

/* ==================================================
   Intro (▼ ここをGridレイアウトで完全に作り直し ▼)
================================================== */
.recruit-intro {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* PC版：左カラムに見出しとテキスト、右カラムに画像 */
.intro__wrap {
    display: grid;
    grid-template-columns: 76% 24%;
    grid-template-areas:
        "catch img"
        "text  img";
    align-items: center; /* 左右を中央で揃える */
}

.intro__catch {
    grid-area: catch;
    color: var(--blue);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
    margin-bottom: 40px;
    padding-top: 40px;
    line-height: 1.4;
}

.intro__text {
    grid-area: text;
    text-align: left;
}

.intro__desc {
    line-height: 2;
    margin-bottom: 40px;
    color: var(--text-main);
    font-size: 17px;
    font-weight: 700;
}

.intro__desc strong {
    color: var(--recruit-orange);
}

.intro__btn-wrap {
    text-align: left;
}

.intro__img-wrap {
    grid-area: img;
    display: flex;
}

.intro-img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

/* ==================================================
   Job
================================================== */
.job__lead-box {
    background-color: #fff;
    padding: 60px;
    text-align: center; 
    margin-bottom: 60px;
}

.job__lead-title {
    color: var(--blue);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.job__lead-text {
    color: #555;
    line-height: 1.8;
}

.job-flow-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.job-flow-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: inline-block;
}

.job-video-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.job-video {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================================================
   Interview
================================================== */
.interview__list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.interview-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.interview-item--reverse {
    flex-direction: row-reverse;
}

.interview-item__video {
    width: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.interview-item__text {
    width: 50%;
    position: relative;
    z-index: 2;
    padding-top: 28px;
}

.interview-item__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    margin-left: -60px; 
}

.interview-item--reverse .interview-item__badges {
    align-items: flex-end;
    margin-left: 0;
    margin-right: -60px;
}

.badge {
    background-color: var(--recruit-orange);
    color: #fff;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.interview-item__text .desc {
    color: #555;
    line-height: 1.8;
}
.interview-item--reverse .interview-item__text .desc {
    text-align: right;
}

.video-wrap{
    position:relative;
}

.video-play{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(0,0,0,0.4);
    border:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

.video-play::before{
    content:"";
    position:absolute;
    border-left:20px solid #fff;
    border-top:10px solid transparent;
    border-bottom:10px solid transparent;
}

/* ==================================================
   Culture
================================================== */
.culture__intro {
    margin-bottom: 50px;
    color: #555;
    text-align: center;
}

.culture__features-wrapper {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 8px;
}

.culture__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-item__img {
    margin-bottom: 20px;
}

.feature-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.feature-item__title {
    color: var(--blue);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-item__text {
    color: #555;
    font-size: 15px;
}

.culture__wordcloud {
    padding: 80px 0;
}

.wordcloud-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.wordcloud-logo-part {
    flex-shrink: 0;
    width: 220px;
}

.wordcloud-body-part {
    flex-grow: 1;
    max-width: 650px;
}

.wordcloud-img {
    width: 100%;
    height: auto;
    display: block;
}

.ideal-box {
    background-color: #fff;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ideal-box__title {
    color: var(--blue);
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.ideal-box__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-weight: bold;
    color: var(--text-main);
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
}

.ideal-box__list li {
    position: relative;
    padding-left: 30px;
}

.ideal-box__list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--recruit-orange);
    font-weight: bold;
}

/* ==================================================
   Entry
================================================== */
.entry-section {
    padding-top: 80px;
    padding-bottom: 120px;
    text-align: center;
}

.entry__title {
    color: var(--blue);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.entry__line {
    width: 60px;
    height: 2px;
    background-color: var(--blue);
    border: none;
    margin: 20px auto 40px;
}

.entry__text {
    line-height: 2;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--text-main);
}
/* ==================================================
   769 〜 1024px
================================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .intro__desc {
        font-size: 16px;
    }
}
/* ==================================================
   Responsive (SP)
================================================== */
@media screen and (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .page-hero {
        height: 250px;
        padding-top: 70px;
    }
    
    .page-title {
        font-size: 28px;
    }

    /* ▼ Intro (スマホ版：見出しの右に画像が入り込むレイアウト) ▼ */
    .recruit-intro {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .intro__wrap {
        grid-template-columns: 1fr 120px; /* 左側テキスト領域、右側画像領域 */
        grid-template-areas:
            "catch img"
            "text  text";
        gap: 20px 10px;
        align-items: flex-end; /* 画像に合わせて下揃え */
        margin-top: -100px;
    }

    .intro__catch {
        font-size: 24px;
        margin-bottom: 0;
        padding-bottom: 10px; /* 画像とバランスを取る */
    }

    .intro__img-wrap {
        justify-content: center;
    }

    .intro-img {
        max-width: none;
    }

    .intro__desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .intro__btn-wrap {
        text-align: center;
    }

    .btn-orange {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    /* Job */
    .job__lead-box {
        padding: 40px 20px;
        text-align: left;
    }
    .job__lead-title {
        font-size: 20px;
    }
    .job-flow-img {
        margin-bottom: 40px;
    }

    /* Interview */
    .interview__list {
        gap: 60px;
    }
    
    .interview-item,
    .interview-item--reverse {
        flex-direction: column;
        gap: 0; 
    }
    
    .interview-item__video,
    .interview-item__text {
        width: 100%;
    }
    
    .interview-item__badges,
    .interview-item--reverse .interview-item__badges {
        margin-left: 0; 
        margin-right: 0;
        margin-top: -25px; 
        margin-bottom: 15px;
        align-items: flex-start; 
    }
    
    .badge {
        font-size: 13px;
        padding: 6px 15px;
    }
    
    .interview-item__text {
        padding-top: 20px;
    }
    .interview-item__text .desc {
        font-size: 14px;
        text-align: left !important;
    }

    /* Culture */
    .culture__intro {
        text-align: left;
    }
    .culture__features-wrapper {
        padding: 40px 20px;
    }
    .culture__features {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .wordcloud-container {
        flex-direction: column;
        gap: 30px;
    }
    .wordcloud-logo-part {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .wordcloud-logo-part img {
        max-width: 180px !important;
    }
    .wordcloud-body-part {
        width: 100%;
    }

    .ideal-box {
        padding: 30px 4%;
    }
    .ideal-box__title {
        font-size: 20px;
    }
    .ideal-box__list {
        width: 100%;
        font-size: 14px;
    }
    .ideal-box__list li {
        padding-left: 24px;
    }

    /* Entry */
    .entry-section {
        padding-top: 60px;
        padding-bottom: 80px;
    }
    .entry__text {
        font-size: 14px;
    }
}