@charset "utf-8";

/*メディアクエリー
PC
@media (min-width: 768px) {}
タブレット
@media (min-width: 768px) and (max-width: 1024px) {}
*/

h1::before { background: #F19CA6; }
.lowerpage_title_wrap { background: #EAE8E8; }
.lowerpage_title_wrap .tra_english { position: absolute; top: 778px; right: 0; }
.contents_wrap:nth-child(1) { overflow-x: hidden; }
@media (min-width: 768px) {
  .lowerpage_title_wrap { padding: 0 0 80px 0; }
  .lowerpage_title_wrap .tra_english { top: 822px; }
}

.lowerpage_title_wrap .lowerpage_title div { margin: 0 0 0 0; }
.message_top_wrap {  display: flex; flex-direction: column; gap: 20px;  }
.message_top_wrap .message_top_img_frame { width: 100%; height: 320px; overflow: hidden; }
.message_top_wrap .message_top_img_frame .message_top_img { width: 100%; height: 100%; object-fit: cover; scale: 1.4; }
.message_top_wrap .message_top_text { display: flex; flex-direction: column; gap: 16px; }
.message_top_wrap .message_top_text .message_top_name { display: flex; flex-direction: column; gap: 0px; }
@media (min-width: 768px) {
  .message_top_wrap { flex-direction: row; align-items: center; gap: 60px; margin: 0 calc(50% - 50vw ) 0 0; }
  .message_top_wrap .message_top_img_frame { flex: 13 1 0; width: 0px; height: 500px; }
  .message_top_wrap .message_top_img_frame .message_top_img { scale: 1; }
  .message_top_wrap .message_top_text { flex: 11 1 0; width: 0px; gap: 40px; }
  .message_top_wrap .message_top_text .message_top_name { line-height: 1.5rem; }
  .message_top_wrap .message_top_text .message_top_name span { width: fit-content; }
}

.message_wrap { margin: 0 0 48px 0; }
.message_wrap ul { display: flex; flex-direction: column; gap: 24px; margin: 0 0 24px 0; }
.message_wrap ul .interview_question { padding: 6px 8px; margin: 0 0 12px 0; text-align: center; }
.message_wrap ul .interview_answer { padding: 0 12px; }
.message_wrap .interview_side_img_frame_wrap .interview_side_img_frame { width: calc(50vw + 50% + 40px); height: 300px; overflow: hidden; }
.message_wrap .interview_side_img_frame_wrap .interview_side_img_frame .interview_side_img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .message_wrap { display: flex; align-items: flex-start; gap:48px; margin: 0 calc(50% - 50vw) 80px 0; }
  .message_wrap ul { flex: 13 1 0; width: 0px; gap: 48px; margin: 0; }
  .message_wrap ul .interview_question { padding: 12px 20px; margin: 0 0 24px 0; text-align: left;}
  .message_wrap .interview_side_img_frame_wrap { position: relative; align-self: stretch; flex: 11 1 0; width: 0px; }
  .message_wrap .interview_side_img_frame_wrap .interview_side_img_frame { position: sticky; top: 128px; width: 100%; height: 500px; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
  /*sticky阻害要因の排除*/
  body { overflow: visible; }
  @media screen and (min-width: 1280px) {
  header {
    position: fixed;
    transform: translateY(-80px);
  }
}
}

.personality_wrap { padding: 20px; text-align: center; }
.personality_wrap .personality_title { margin: 0 0 8px 0; }
@media (min-width: 768px) {
  .personality_wrap { padding: 48px 120px; }
  .personality_wrap .personality_title { margin: 0 0 24px 0; }
}
