@charset "UTF-8";

/* CSS Document */

.mainimg_contents {
    width: 100%;
    margin: 0 auto;
}

.re_main-contents {
    line-height: 1.5;
    color: #333;
    margin: 0 auto;
    max-width: 1024px;
}

.profile_contents {
    background: #e2e6f3;
}

.profile_left {
    background: url("../images/staff01_bust.png") no-repeat right bottom;
    margin: 0;
    height: 700px;
    padding: 0;
    font-size: 110%;
}

.profile_left h4:nth-child(4) {
    margin: 1em 0 0.7em;
    font-size: 170%;
}

.profile_left p:nth-child(2) {
    margin: 1em 0;
    font-size: 170%;
}

.profile_left p:nth-child(3) {
    margin: 1em 0;
    line-height: 1.7;
}

.profile_left p:nth-child(5) {
    width: 50%;
    margin: 1em 0;
    line-height: 1.7;
}

.profile_left h3 {
    padding: 50px 0 0;
    font-size: 200%;
}

.re_interview {
    table-layout: fixed;
    width: 100%;
    max-width: 1024px;
    display: table;
    margin: 10px auto 30px;
}

.st_img {
    width: 40%;
    display: table-cell;
    vertical-align: bottom;
}

.st_img img {
    width: auto;
    display: block;
    margin: auto 0 0 20px;
}

.st_answer {
    width: 60%;
    display: table-cell;
    vertical-align: top;
    box-sizing: border-box;
    padding: 70px 30px 0;
    font-size: 110%;
}

.st_answer h5 {
    font-size: 150%;
    margin: 0 0 30px;
    line-height: 1.5;
}

.st_answer h5:nth-child(1) {
    color: #805c44;
}

.st_answer h5:nth-child(3) {
    color: #877e00;
}

.st_answer h5:nth-child(5) {
    color: #9f621f;
}

.st_answer p {
    margin: 0 0 50px;
    line-height: 1.7;
}

.linkarea_block {
    display: table;
    table-layout: auto;
    width: 45%;
    cursor: pointer;
    margin: 20px 0;
}

.linkarea_block:hover {
    opacity: 0.7;
}

.linkarea_block a:hover img {
    opacity: 1;
}

.linkarea_block img {
    width: 140px;
    height: 140px;
    border-radius: 140px;
    background: #ccc;
    display: table-cell;
    vertical-align: middle;
}

.linkarea_block img:hover {
    opacity: 1;
}

.linkarea_block span {
    display: table-cell;
    vertical-align: middle;
}

.linkarea_block span.icon-i_arrow_list {
    color: #0c2571;
    font-size: 70%;
    margin-right: 10px;
}

@media (max-width:768px) {
  .profile_left {
      box-sizing: border-box;
      background-size: 50% auto;
      background-position: 120% bottom;
      width: 100%;
      margin: 0 auto;
      height: auto;
      padding: 15px;
  }
  .profile_left h4:nth-child(4) {
      margin: 1em 0 0.7em;
      display: none;
      font-size: 130%;
  }
  .profile_left p:nth-child(2) {
    margin: 10px auto;
    display: inline-block;
    font-size: 100%;
  }
  .profile_left p:nth-child(5) {
    background: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    width: 70%;
    margin: 0 0 0px;
    padding: 15px;
    font-size: 85%;
  }
  .profile_left p:nth-child(3) {
    line-height: 1.6;
    margin: 0 auto 10px;
    display: block;
  }
  .profile_left p:nth-child(3) br {
      display: none
  }
  .profile_left h3 {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-size: 100%;
  }
  .st_img {
    display: none;
  }
  .st_img img {
      left: -50px;
      width: 145%;
      margin: auto 0 0 20px;
      display: block;
      position: relative;
  }
  .st_answer {
    box-sizing: border-box;
    vertical-align: top;
    width: 100%;
    display: table-cell;
    padding: 0;
    font-size: 100%;
    margin: 20px auto 0;
    height: auto;
    overflow: hidden;
  }
  .st_answer h5 {
    color: #0c2571!important;
    line-height: 1.4;
    margin: 0 auto 10px;
    font-size: 20px;
  }
  .st_answer p {
    line-height: 1.6;
    margin: 0 auto 20px;
  }
  .st_answer p:last-child {
      margin: 0 0 20px
  }
  .m_linkarea h4 {
    width: 100%;
    margin: 0 auto 10px;
    font-size: 110%;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
  }
  .linkarea_block {
    width: 100%;
    cursor: pointer;
    margin: 0 auto;
    display: block;
  }
  .linkarea_block span.icon-i_arrow_list {
    display: none;
  }
  .linkarea_block span {
      display: inline-block
  }
  .linkarea_block img {
    border-radius: 140px;
    width: 80px;
    height: 80px;
    display: inline-block;
    margin-right: 10px;
    background: #ccc;
  }
  
  .re_interview {
    max-width: 100%;
    margin: 30px auto 0;
  }
}