@charset "utf-8";

.page .mainContent {
  background: #ffffff;
  width: auto;
  max-width: 1220px;
  margin: 0 auto;
  padding: 4%;
}

.mainContent {
  overflow: hidden;
}

.page img {
  /*max-width: 100%;*/
  height: auto;
}

.page h1:before {
  background: #00ff5d;
  background: -moz-linear-gradient(left, #00ff5d 0%, #2edafd 29%, #5a54fb 100%);
  background: -webkit-linear-gradient(left, #00ff5d 0%, #2edafd 29%, #5a54fb 100%);
  background: linear-gradient(to right, #00ff5d 0%, #2edafd 29%, #5a54fb 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff5d', endColorstr='#5a54fb', GradientType=1);
}

/* KV基本設定 */
.keyVisual {
  --kv-img-max-width: 600px;
  --kv-frame-inset: 12px;
  --kv-frame-border-width: 3px;
  --kv-shadow-offset: 12px;
  --kv-shadow-opacity: 0.5;
  --kv-catch-max-width: 560px;
  --kv-catch-overlap: -274px;
  --kv-message-padding: 12px;
  --kv-profile-spacing: 16px;
  position: relative;
  padding-top: 2px;
}

.keyVisualImg {
  width: 100%;
  max-width: var(--kv-img-max-width);
  position: relative;
  z-index: 1;
}

.page .keyVisualImg img {
  display: block;
  width: 100%;
}

.keyVisualImg::before {
  content: "";
  position: absolute;
  top: var(--kv-frame-inset);
  left: var(--kv-frame-inset);
  width: calc(100% - (var(--kv-frame-inset) * 2));
  height: calc(100% - (var(--kv-frame-inset) * 2));
  border: var(--kv-frame-border-width) solid #ffffff;
  z-index: 1;
  pointer-events: none;
}

.keyVisualImg::after,
.interviewBlock::after {
  content: "";
  position: absolute;
  top: var(--kv-shadow-offset);
  left: var(--kv-shadow-offset);
  right: calc(-1 * var(--kv-shadow-offset));
  bottom: calc(-1 * var(--kv-shadow-offset));
  background: linear-gradient(to right, #8bdaff 0%, #7defd0 100%);
  z-index: -1;
  opacity: var(--kv-shadow-opacity);
}

/* キャッチコピーとプロフィール情報 */
.keyVisualCatch {
  position: relative;
  z-index: 2;
  margin: var(--kv-catch-overlap) 0 0 auto;
  width: min(100%, var(--kv-catch-max-width));
}

.messagePanel_1P,
.messagePanel_2P {
  padding: var(--kv-message-padding);
  background: linear-gradient(to left, rgba(33, 196, 187, 1) 0%, rgba(33, 196, 187, 1) 5%, rgba(0, 122, 255, 1) 100%);
}

.page .messageCatch {
  margin: 0;
  padding: 14px 20px;
  color: #222222;
  font-weight: 800;
  line-height: 1.6;
  font-size: 1.8rem;
  background: #fff;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.profileArea {
  margin-top: var(--kv-profile-spacing);
}

.page .profileArea p {
  /*margin: 0;*/
  padding: 0;
}

.page p.job {
  display: inline-block;
  margin: 0 0 12px;
  padding: 9px 14px 10px;
  background: linear-gradient(to left, rgba(33, 196, 187, 1) 0%, rgba(33, 196, 187, 1) 5%, rgba(0, 122, 255, 1) 100%);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
  word-break: auto-phrase;
}

.page .graduation {
  margin: 0 0 8px;
  color: #555555;
  text-wrap: pretty;
  line-height: 1.2rem;
}

.page .companyName {
  margin: 0 0 8px;
  color: #222222;
  font-weight: 700;
  text-wrap: pretty;
  line-height: 1.2rem;
}

.page .name {
  color: #222222;
  font-size: 1.7rem;
  font-weight: 800;
  text-wrap: balance;
  margin: 0;
  line-height: 1.7rem;
}

.students .keyVisualCatch .name span {
  font-size: 0.8em;
  padding-left: 0.2rem;
}

.page .leadText {
  margin: 24px 0 0;
  padding: 0;
  line-height: 1.8;
  text-wrap: pretty;
  font-size: 1.1rem;
}

.interviewAreaWrap {
  margin-top: 40px;
}

.interviewBlock {
  margin: 0 0 34px;
  padding: 22px 18px;
  position: relative;
  z-index: 0;
  border: none;
  background: transparent;
}

.interviewBlock::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #5dabff;
  background: #ffffff;
  z-index: 0;
}

.interviewBlock>* {
  position: relative;
  z-index: 1;
}

.summaryBlock {
  margin-bottom: 16px;
}

.summaryBlock p {
  margin: 0;
  padding: 0;
  color: #222222;
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1.72;
  text-wrap: pretty;
}

.questionBlock {
  margin-bottom: 12px;
}

.questionBlock p {
  margin: 0;
  padding-bottom: 12px;
  padding-left: 0;
  padding-right: 0;
  border-bottom: 2px dashed #21c4bb;
  color: #0a69d1;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.6;
}

.answerBlock p {
  margin: 0;
  padding: 0;
  line-height: 1.95;
  text-wrap: pretty;
}

.subArea {
  margin: 40px auto;
}

.subAreaWrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.subAreaImg {
  position: relative;
  width: 100%;
}

.page .subAreaImg img {
  display: block;
  width: 100%;
}

.subAreaImg::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border: 3px solid #ffffff;
  z-index: 1;
  pointer-events: none;
}

.subAreaImg::after {
  display: none;
}

.subAreaText_1P,
.subAreaText_2P {
  position: relative;
  width: 100%;
  margin: 10px auto 0 auto;
  background: linear-gradient(to right, #4c76ef 0%, #20c7c5 100%);
  padding: 8px 14px 14px;
  z-index: 2;
}

.subAreaLabel,
.subAreaCopy {
  margin: 0;
}

.page p.subAreaLabel {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
  text-align: center;
}

.page p.subAreaCopy {
  background: #ffffff;
  color: #2d66df;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.7;
  padding: 10px 16px 10px;
  text-wrap: pretty;
}

.page p.attentionSmall {
  margin: 0;
  padding: 0;
  color: #666666;
  font-size: 0.85rem;
  text-align: center;
  text-wrap: pretty;
}

.bnrFaculty {
  margin: 34px 0 0;
  overflow: hidden;
}

.bnrFaculty a {
  display: block;
}

.bnrFaculty img {
  display: block;
  width: 100%;
}

.backInterviewList {
  margin: 40px 0 20px;
  padding: 0;
  text-align: center;
  font-size: 1.2rem;
}

.page p.backInterviewList a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 286px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #21c4bb;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.3s ease;
  text-wrap: balance;
}

.backInterviewList a:hover {
  opacity: 0.8;
}

/* PCレイアウト */
@media screen and (min-width: 960px) {
  .page .mainContent {
    /*padding: 36px 36px 56px;*/
  }

  .keyVisual {
    --kv-gap: 30px;
    --kv-img-shadow-offset: var(--kv-shadow-offset);
    --kv-message-max-width: 630px;
    --kv-lead-spacing: 32px;
    display: grid;
    grid-template-columns: minmax(0, var(--kv-img-max-width)) minmax(320px, 1fr);
    align-items: flex-end;
    /* 画像は::afterで12px張り出すため、その見た目分を列間隔に加算 */
    column-gap: calc(var(--kv-gap) + var(--kv-img-shadow-offset));
    padding-bottom: 0;
    min-height: 0;
  }

  .keyVisualCatch {
    position: relative;
    margin: 0 0 calc(-1 * var(--kv-img-shadow-offset));
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--kv-gap);
  }

  .messagePanel_1P {
    position: relative;
    width: min(calc(100% + 50%), var(--kv-message-max-width));
    margin: 0;
    align-self: flex-end;
  }

  .messagePanel_2P {
    position: relative;
    width: min(calc(100% + 30%), var(--kv-message-max-width));
    margin: 0;
    align-self: flex-end;
  }

  .page .messageCatch {
    font-size: 2rem;
  }

  .profileArea {
    width: 100%;
    /*max-width: 400px;*/
    margin: 0;
    align-self: flex-end;
  }

  .page p.job {
    margin-bottom: 14px;
    padding: 12px 18px;
    font-size: 1.9rem;
  }

  .page .name {
    font-size: 1.8rem;
    line-height: 1;
  }

  .keyVisual+.leadText {
    /* KV画像の::after分だけ見た目の下端が伸びるため、その分を加味して余白を確保 */
    margin-top: var(--kv-lead-spacing);
    padding: 52px 0 0;
    font-size: 1.2rem;
  }

  .interviewAreaWrap {
    margin-top: 52px;
  }

  .interviewBlock {
    display: flex;
    gap: 28px;
    margin-bottom: 80px;
    padding: 28px 34px 40px;
  }

  .interviewBlock:last-child {
    margin-bottom: 20px;
  }

  .summaryBlock {
    flex: 0 0 40%;
    max-width: 310px;
    margin: 0;
  }

  .summaryBlock p {
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .interviewContent {
    flex: 1 1 auto;
    min-width: 0;
  }

  .questionBlock {
    margin-bottom: 14px;
  }

  .questionBlock p {
    font-size: 1.28rem;
  }

  .subArea {
    margin: 56px 0 58px;
  }

  .subAreaWrap {
    position: relative;
    min-height: 0;
    display: block;
    max-width: 900px;
    margin: auto;
  }

  .subAreaImg {
    width: min(66%, 610px);
    margin-left: auto;
  }

  .subAreaText_1P {
    position: absolute;
    left: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: min(52%, 472px);
    margin: 0;
    padding: 8px 14px 14px;
    margin: 20px auto;
  }

  .subArea:not(.is-reverse) .subAreaImg {
    margin-left: auto;
    margin-right: 0;
  }

  .subArea:not(.is-reverse) .subAreaText_1P,
  .subArea:not(.is-reverse) .subAreaText_2P,
  {
  left: 0;
  right: auto;
}

.subArea.is-reverse .subAreaImg {
  margin-left: 0;
  margin-right: auto;
}

.subArea.is-reverse .subAreaText_1P,
.subArea.is-reverse .subAreaText_2P {
  right: 0;
  left: auto;
  top: 50%;
}

.page p.subAreaLabel {
  margin-bottom: 8px;
  font-size: 1.6rem;
  line-height: 1.25;
}

.page p.subAreaCopy {
  font-size: 1.5rem;
  line-height: 1.6;
  padding: 10px 15px;
}

.subAreaText_2P {
  position: absolute;
  left: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: min(52%, 380px);
  margin: 0;
  padding: 8px 14px 14px;
  margin: 20px auto;
}

.bnrFaculty {
  margin-top: 40px;
}

.bnrFaculty a {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.bnrFaculty a:hover {
  opacity: 0.85;
  transform: scale(1.01);
}

.page p.backInterviewList {
  margin-top: 50px;
}

.page p.backInterviewList a {
  min-width: 320px;
}
}

/* 今後の微調整用（現状は予備） */
@media screen and (max-width: 800px) {
  .keyVisualCatch {
    /*margin: 30px auto;*/
  }

  /*.OnlySP {
    display: none;
  }*/
}

/* 960px未満ではPCの重なりレイアウトを解除。ただし画像の全幅化はしない */
@media screen and (max-width: 960px) {

  .profileArea {
    position: unset;
    text-align: right;
  }

  .summaryBlock p {
    margin-bottom: 40px;
  }
}

/* スマートフォン向け調整 */
/* 919px〜660px: messagePanelは胸元に重ね、profileAreaは画像下に左寄せで配置 */
@media screen and (max-width: 919px) and (min-width: 660px) {
  .keyVisual {
    position: relative;
  }

  .keyVisualCatch {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .messagePanel_1P,
  .messagePanel_2P {
    position: absolute;
    top: 56%;
    right: 0px;
    width: auto;
    max-width: none;
    min-width: 592px;
    margin: 0;
    margin-left: 30%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .profileArea {
    width: 100%;
    margin-top: 26px;
    text-align: left;
  }

  .profileArea,
  .profileArea p.graduation,
  .profileArea p.companyName,
  .profileArea p.name {
    text-align: left;
  }
}

@media screen and (max-width: 659px) {
  .keyVisualCatch {
    margin: 24px auto auto 0;
    width: 100%;
  }

  .profileArea {
    margin-top: 20px;
  }

  .page .messageCatch {
    font-size: 1.4rem;
    padding: 10px;
  }

  .page p.job {
    font-size: 1.3rem;
  }

  .profileArea,
  .profileArea p.graduation,
  .profileArea p.companyName,
  .profileArea p.name {
    text-align: left;
  }

  .page p.attentionSmall {
    text-align: left;
  }
}