@charset "UTF-8";

/* ============================================
   基本レイアウト (Base Layout)
   ============================================ */
.recruit-msg .index-content-bg {
    margin-bottom: 80px;
}

.recruit-msg section {
    padding-bottom: 30px;
}

.recruit-msg #section3 {
    margin-bottom: 100px;
}

.recruit-info .introduction-txt {
    text-align: center;
    font-size: min(2vw, 1.3rem);
    padding-bottom: 50px;
}
.recruit-info .introduction-txt-red {
    text-align: center;
    font-size: min(2vw, 1.3rem);
	color: #F76767;
    padding-bottom: 50px;
}

/* 見出しスタイル */
.box-line {
    position: relative;
    margin-bottom: 40px;
}

.box-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #0062B1;
    z-index: -1;
}

.box-line span {
    display: inline-block;
    padding: 5px 30px;
    border-radius: 8px;
    background: linear-gradient(90deg, #3eae75 0%, #0062b1 100%);
    z-index: 2;
    color: #FFF;
    font-weight: 500;
    font-size: 22px;
}

/* ============================================
   求める人物像リスト (Ideal List)
   ============================================ */
.ideal-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.ideal-list li {
    width: 48%;
    border-radius: 20px;
    background: #FFF;
    padding: 30px 20px 30px 120px;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    display: flex;
    align-items: center;
    position: relative;
}

.ideal-list li p {
    padding-left: 35px;
    font-size: min(1.6vw, 1.3rem);
    color: var(--main-color);
    position: relative;
    text-align: center;
}

.ideal-list li:nth-child(1):before,
.ideal-list li:nth-child(2):before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 90px;
    height: 90px;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.ideal-list li:nth-child(1):before {
    background-image: url('../img/recruit_img/recruit-msg-icon01.svg');
}

.ideal-list li:nth-child(2):before {
    background-image: url('../img/recruit_img/recruit-msg-icon02.svg');
}

/* ============================================
   メッセージ・プロフィール (Content Blocks)
   ============================================ */
.recruit-msg .block01 .insert {
    padding: 50px 0 0;
}

.recruit-msg .block02 .txt p,
.recruit-msg .block03 .txt p {
    padding-bottom: 1rem;
}

.recruit-msg .block02 .msg-main {
    padding-bottom: 0;
    position: relative;
}

.recruit-msg .block02 .msg-main .image {
    border-radius: 24px;
    overflow: hidden;
}

.recruit-msg .block02 .msg-main .profile-txt {
    display: inline-block;
    position: relative;
    min-width: 240px;
    top: -60px;
    margin-bottom: -60px;
    left: 60px;
    z-index: 2;
    padding: 30px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
}

.recruit-msg .block02 .msg-main .profile-txt p:nth-child(1) {
    font-size: 0.9rem;
    color: var(--main-color);
	line-height: 1.2em;
}

.recruit-msg .block02 .msg-main .profile-txt p:nth-child(2) {
    font-size: 20px;
}

.recruit-msg .block03 .txt {
    width: 80%;
    max-width: 740px;
    margin: 0 auto;
}

.recruit-msg .block03 .msg-staff > p {
    text-align: center;
    color: var(--main-color);
    font-size: 18px;
    padding: 20px 0;
}

.recruit-msg .block03 .msg-staff .image {
    border-radius: 24px;
    overflow: hidden;
}

/* ============================================
   募集要項テーブル (Table)
   ============================================ */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    margin-bottom: 100px;
}

.recruit-table th,
.recruit-table td {
    padding: 20px;
    text-align: left;
    vertical-align: top;
}

.recruit-table th {
    background-color: #F4F3E8;
    border-bottom: 1px solid #3EAE75;
    color: var(--main-color);
    width: 25%;
    font-weight: 500;
    white-space: nowrap;
}

.recruit-table td {
    border-bottom: 1px solid var(--main-color);
}

.recruit-table td span {
    color: var(--main-color);
}

.recruit-table tr:last-child th,
.recruit-table tr:last-child td {
    border-bottom: none;
}

.recruit-table a {
    color: #0056b3;
    text-decoration: underline;
}

/* ============================================
   選考フロー (Flow Chart)
   ============================================ */
.flow-container {
    max-width: 740px;
    margin: 0 auto 100px;
}

ul.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

ul.flow-list li {
    width: 100%;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 60px;
}

ul.flow-list li:nth-child(1) {
    color: #3EAE75;
}

ul.flow-list li:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/research_img/dot-arrow.svg');
    width: 30px;
    height: 40px;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.box {
    background-color: #f7f6f0;
    color: var(--main-color);
    padding: 15px 10px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.box.final {
    background: linear-gradient(to right, #42a983, #0b6eb3);
    color: #ffffff;
    padding: 20px 10px;
    border-radius: 15px;
    font-size: 18px;
    letter-spacing: 0.2em;
}

.text-only {
    background-color: transparent;
    color: var(--main-color);
    font-weight: 500;
    padding: 5px 0;
    font-size: 18px;
    margin-bottom: 0;
}

ul.flow-list li.text-only {
    margin-bottom: 0;
}

ul.flow-list li.text-only::after {
    display: none;
}

/* ============================================
   FAQ (Q&A)
   ============================================ */
.faq-list {
    margin: 0 auto 80px;
}

.faq-item {
    background: transparent;
    margin: 0 0 20px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-button {
    width: 100%;
    border: none;
    background-color: #F4F3E8;
    padding: 25px 60px 25px 80px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    font-family: "Zen Kaku Gothic New", sans-serif;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1.5;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.faq-button:hover {
    background-color: #e9e8d7;
}

.faq-button::before {
    content: 'Q';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #0062B1;
    font-size: 40px;
    font-weight: 500;
    font-family: var(--en-font);
}

.faq-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #0066cc;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    transform: rotate(0deg);
}

.faq-button[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    margin: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    position: relative;
    visibility: hidden;
}

.faq-answer::before {
    content: 'A';
    position: absolute;
    left: 20px;
    top: 25px;
    color: #3EAE75;
    font-size: 40px;
    font-weight: 500;
    font-family: var(--en-font);
    z-index: 1;
}

.faq-content {
    padding: 25px 40px 30px 80px;
}

.faq-answer.is-open {
    opacity: 1;
    visibility: visible;
}

.faq-answer a {
    color: var(--main-color);
}

/* ============================================
   SP / Responsive
   ============================================ */
@media screen and (max-width: 834px) {
    .recruit-msg .index-content-bg {
        margin-bottom: 50px;
    }

    .recruit-msg section {
        padding-bottom: 20px;
    }

    .recruit-msg #section3 {
        margin-bottom: 60px;
    }

    .box-line {
        margin-bottom: 50px;
    }

    .box-line span {
        padding: 2px 15px;
        font-size: 14px;
    }

    .ideal-list li {
        width: 100%;
        padding: 20px 20px 20px 70px;
        margin-bottom: 20px;
        min-height: 120px;
    }

    .ideal-list li p {
        font-size: min(3.8vw, 1.1rem);
        line-height: 1.6em;
        left: 50%;
        transform: translateX(-50%);
    }

    .ideal-list li:nth-child(1):before,
    .ideal-list li:nth-child(2):before {
        width: 70px;
        height: 70px;
        left: 20px;
    }

    .recruit-msg .block01 .insert {
        padding: 20px 0 0;
    }

    .recruit-msg .block02 .msg-main .image {
        border-radius: 16px;
    }

    .recruit-msg .block02 .msg-main .image img {
        min-height: 200px;
        object-fit: cover;
    }

    .recruit-msg .block02 .msg-main .profile-txt {
        min-width: 220px;
        top: -40px;
        margin-bottom: -20px;
        left: 30px;
        padding: 20px;
    }

    .recruit-msg .block02 .msg-main .profile-txt p:nth-child(2) {
        font-size: 16px;
    }

    .recruit-msg .block02 .txt,
    .recruit-msg .block03 .txt {
        width: 90%;
        max-width: 740px;
    }

    .recruit-msg .block03 .msg-staff > p {
        font-size: 14px;
    }

    .recruit-msg .block03 .msg-staff .image {
        border-radius: 16px;
    }

    .recruit-msg .block03 .msg-staff .image img {
        min-height: 200px;
        object-fit: cover;
    }

    .recruit-info .introduction-txt {
        font-size: min(3.8vw, 1rem);
        padding-bottom: 30px;
    }
	
	.recruit-info .introduction-txt-red {
        font-size: min(3.8vw, 1rem);
		color: #F76767;
        padding-bottom: 30px;
    }

    /* テーブルのSP化 */
    .recruit-table,
    .recruit-table tbody,
    .recruit-table tr,
    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .recruit-table th {
        width: 100%;
        white-space: normal;
        border-bottom: none;
        padding: 10px 20px;
    }

    .recruit-table td {
        padding: 10px 20px;
        border-bottom: 1px solid var(--main-color);
    }
}

/* FAQ: Max Width 600px */
@media (max-width: 600px) {
    .faq-button {
        padding: 15px 50px 15px 45px;
        font-size: 0.9rem;
        border-radius: 16px;
    }

    .faq-content {
        padding: 20px 20px 10px 45px;
        font-size: 0.8rem;
        line-height: 1.8em;
    }

    .faq-button::before,
    .faq-answer::before {
        left: 15px;
        font-size: 20px;
    }

    .faq-icon {
        right: 15px;
    }
}

/* Flow: Max Width 480px */
@media (max-width: 480px) {
    .box {
        font-size: 14px;
        padding: 10px 5px;
    }
}