@charset "UTF-8";

/* ============================================
   社員紹介プロフィール (Talk Profile)
   ============================================ */
.talk-profile {
    padding: 80px 0;
    background: #F4F3E8;
    margin-bottom: 80px;
}

.talk-profile ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 3%;
    margin: 130px 0 0;
}

.talk-profile ul~.note {
    font-size: 0.8rem;
    text-align: right;
    padding: 20px 0 0;
}

/* カードスタイル */
.talk-profile ul li {
    width: 31.33%;
    position: relative;
    background: #FFF;
    border-radius: 24px;
    padding: 90px 20px 20px;
    filter: drop-shadow(0px 0px 8px rgba(0, 98, 177, 0.25));
}

.talk-profile ul li:nth-child(-n + 3) {
    margin-bottom: 140px;
}

/* プロフィール画像 */
.talk-profile ul li .profile-img {
    width: 220px;
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    top: -110px;
}

/* プロフィールテキスト */
.talk-profile ul li .profile-txt p:nth-child(2) {
    text-align: center;
    font-size: 20px;
    padding: 5px 0;
}

.talk-profile ul li .profile-txt p:nth-child(3) {
    text-align: center;
    font-size: min(1vw, 0.75rem);
    color: var(--main-color);
    line-height: 1.6em;
    padding-bottom: 5px;
}

.talk-profile ul li .profile-txt p:nth-child(4) span {
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-size: min(1vw, 0.75rem);
    color: var(--main-color);
    line-height: 2em;
    padding: 0 15px;
    border-radius: 4px;
    background: #D0EAFF;
}

/* ============================================
   対談セクション (Talk Sections)
   ============================================ */
.talk section {
    padding: 80px 0;
}

.talk section#section2,
.talk section#section4,
.talk section#section6 {
    background: #F4F3E8;
}

/* 見出し（吹き出しアイコン付き） */
.talk section .content-wrap>h2 {
    font-size: min(2vw, 1.5rem);
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 20px;
    padding-left: 75px;
    position: relative;
    min-height: 50px;
    line-height: 1.6em;
}

.talk section .content-wrap>h2:before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/people_img/interview-bubble.svg');
    width: 64px;
    height: 48px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.talk-bottom {
    padding: 40px 0 80px;
}

.talk-insert01 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(244, 243, 232, 1) 50%, rgba(244, 243, 232, 1) 100%);
}

.talk-insert01-img {
    border-radius: 24px;
    overflow: hidden;
}

/* ============================================
   チャット風レイアウト (Chat UI)
   ============================================ */
.chat-row {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.speaker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    min-width: 60px;
}

.speaker-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    margin-bottom: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.name-tag {
    position: relative;
    z-index: 3;
}

.speaker-img~.name-tag {
    top: -20px;
}

.name-tag span {
    color: #fff;
    padding: 0px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 2.2em;
    font-weight: bold;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.tag-green span {
    background: linear-gradient(90deg, #3eae75 0%, #0062b1 100%);
}

.tag-orange span {
    background: linear-gradient(90deg, #f5bb60 0%, #e58552 100%);
}

.chat-row .text {
    padding: 20px 0 0;
    flex: 1;
}


/* ============================================
   SP (max-width: 834px)
   ============================================ */
@media screen and (max-width: 834px) {

    .talk-profile {
        padding: 40px 0;
        margin-bottom: 50px;
    }

    .talk-profile ul {
        margin: 80px 0 0;
    }

    .talk-profile ul li {
        width: 48%;
        padding: 50px 15px 20px;
    }

    .talk-profile ul li:nth-child(-n + 4) {
        margin-bottom: 80px;
    }

    .talk-profile ul li .profile-img {
        width: 120px;
        top: -60px;
    }

    .talk-profile ul li .profile-txt p:nth-child(2) {
        font-size: 18px;
        padding: 0;
    }

    .talk-profile ul li .profile-txt p:nth-child(3) {
        font-size: min(2.5vw, 0.65rem);
    }

    .talk-profile ul li .profile-txt p:nth-child(4) span {
        font-size: min(2.5vw, 0.65rem);
        line-height: 2em;
        padding: 0 5px;
    }

    .talk section .content-wrap>h2 {
        font-size: min(4.6vw, 1.1rem);
        margin-bottom: 10px;
        padding-left: 50px;
        min-height: 30px;
    }

    .talk section .content-wrap>h2:before {
        width: 40px;
        height: 30px;
    }

    .talk section {
        padding: 40px 0;
    }

    .talk-bottom {
        padding: 10px 0 40px;
    }

    /* チャットSP */
    .speaker {
        margin-right: 15px;
        min-width: 50px;
    }

    .speaker-img {
        width: 60px;
        height: 60px;
    }

    .speaker-img~.name-tag {
        top: -15px;
    }

    .chat-row .text {
        padding: 10px 0 0;
    }
}