/* recruit.html専用のスタイル */
.employee-voice-card {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  margin-top: 50px;
  box-shadow: 0 15px 40px -15px rgba(0,30,80,0.15);
  overflow: hidden;
}
.employee-voice-card:nth-child(even) {
  flex-direction: row-reverse;
}
.employee-voice-card .info-column {
  flex: 0 0 300px;
  text-align: center;
}
.employee-voice-card .info-column h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
}
.employee-voice-card .info-column img {
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-top: 20px;
}
.employee-voice-card .details-column {
  flex: 1;
  min-width: 300px;
}
.employee-voice-card .details-column dl { margin: 0; }
.employee-voice-card .details-column dt {
  font-weight: bold;
  margin-top: 20px;
  padding-left: 15px;
  border-left: 4px solid var(--secondary-color);
  font-size: 1.1rem;
}
 .employee-voice-card .details-column dt:first-child { margin-top: 0; }
.employee-voice-card .details-column dd {
  margin-left: 0;
  padding: 10px 0 15px 19px;
  line-height: 1.8;
  color: #555;
}
.employee-voice-card.text-only {
    display: block;
    background-color: #f9fafb;
}
.employee-voice-card.text-only h3 {
    font-size: 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}
#philosophy {
    background-color: #f9fafb;
    padding: 40px;
    border-radius: 12px;
}
#philosophy p {
    margin-bottom: 1.5em;
    line-height: 1.9;
}

/* ★★★ 「これからの未来を〜」の装飾を修正 ★★★ */
.catchy-phrase {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 30px;
    margin: 20px 0 40px 0;
    color: var(--primary-color);
    background-color: #fff;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.speech-bubble-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.speech-bubble-container .photo-area {
    flex: 0 0 150px;
    text-align: center;
}
.speech-bubble-container .photo-area img.president-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.speech-bubble-container .bubble {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    min-width: 300px;
}
.speech-bubble-container .bubble::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -48px;
    width: 0;
    height: 0;
    border: 25px solid transparent;
    border-right-color: #fff;
}

/* ★★★ 署名画像のスタイルを修正 ★★★ */
.president-signature {
    text-align: center; /* 右寄せから中央揃えに変更 */
    margin-top: 15px;
}
.president-signature img {
    max-width: 180px; /* サイズを調整 */
}

.emphasis {
  font-weight: 700;
  background: linear-gradient(transparent 70%, #aed6f1 70%);
  padding: 0 0.1em;
}
.skills-table-container {
    margin: 40px 0;
    overflow-x: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .employee-voice-card:nth-child(even) {
        flex-direction: column;
    }
    .catchy-phrase { font-size: 1.5rem; }
}
@media (max-width: 600px) {
    .speech-bubble-container {
        flex-direction: column;
        align-items: center;
    }
    .speech-bubble-container .bubble::before {
        top: -48px;
        left: 50%;
        transform: translateX(-50%);
        border: 25px solid transparent;
        border-bottom-color: #fff;
        border-right-color: transparent;
    }
}