/* common

-------------------------*/
section {
  width: 800px;
  margin: 0 auto;
}
section + section {
  margin-top: 8rem;
}
h2 {
  margin: 3rem auto;
  color: #710014;
  font-size: 3rem;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
}
h3 {
  margin-top: 3rem;
  color: #254061;
  font-weight: bold;
  font-size: 2rem;
  font-family: var(--Font_Weight_Bold);
}
h3::before {
  margin-right: .5rem;
  color: #254061;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: "\f0da";
}
@media screen and (orientation: portrait) and (max-width: 767px) {
  section {
    width: 96%;
  }
  section + section {
    margin-top: 4rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
    font-weight: bold;
  }
}
/* introduction

-------------------------*/
#introduction {
  position: relative;
  width: 100%;
  height: 384px;
  background: url("/keio_essay/common/imgs/main_img_pc.jpg") 0 0 no-repeat;
}
#introduction h1 {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: .5rem 2rem;
  background: #710014;
  color: #fff;
  font-size: 1rem;
}
#introduction p {
  position: absolute;
  top: 30%;
  right: 20%;
  font-size: 4rem;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  line-height: 1;
}
@media screen and (orientation: portrait) and (max-width: 767px) {
  #introduction {
    height: 13rem;
    background-image: url("/keio_essay/common/imgs/main_img_sp.jpg");
    background-repeat: no-repeat;
    background-size: contain;
  }
  #introduction h1 {
    top: 1rem;
    right: 1rem;
    padding: .2rem 1rem;
    font-size: .8rem;
  }
  #introduction p {
    top: 3rem;
    right: 5rem;
    font-size: 2.4rem;
  }
}
/* lead_copy

-------------------------*/
#lead_copy ul {
  margin-bottom: 2rem;
  padding-left: 2rem;
}
#lead_copy ul li {
  text-indent: -2.5rem;
}
@media screen and (orientation: portrait) and (max-width: 767px) {
  #lead_copy ul {
    padding-left: 2.5rem;
    font-size: .8rem;
  }
  #lead_copy ul li {
    text-indent: -2rem;
  }
}
/* table layout

-------------------------*/
.tableLayout {
  margin: 2rem auto;
}
.tableLayout table {
  position: relative;
  table-layout: fixed;
  box-sizing: border-box;
  overflow: auto;
  margin: 0 auto;
  border: 2px solid #254061;
  font-size: .8rem;
  text-align: center;
  line-height: 1.2;
}
.tableLayout table thead tr th {
  z-index: 50;
  padding: .5rem;
  border: 1px solid #fff;
  background-color: #254061;
  color: #fff;
  text-align: center;
  word-wrap: break-word;
}
.tableLayout table tbody tr th, .tableLayout table thead tr th:first-child {
  position: sticky;
  left: -1px;
  z-index: 100;
  border: 1px solid #fff;
  background-color: #254061;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
}
.tableLayout table td {
  overflow-wrap: break-word;
  padding: .2rem;
  border: 1px solid #254061;
  background: #fff;
  vertical-align: middle;
}
/* score table */
table.score_table {
  width: 100%;
}
table.score_table tbody tr th, table.score_table thead tr th:first-child {
  width: 8.5rem;
  padding-left: .2rem;
  text-align: left;
}
table.score_table td {
  width: 6rem;
  height: 3rem;
}
/* point table */
table.point_table {
  width: 50rem;
}
table.point_table tbody tr th, table.point_table thead tr th:first-child {
  width: 5rem;
}
table.point_table td {
  width: 7.5rem;
  height: 4rem;
}
@media all and (-ms-high-contrast:none) {
  .tableLayout table th {
    left: auto !important;
    background-clip: padding-box !important;
  }
  .tableLayout table td {
    background-clip: padding-box !important;
  }
}
@supports (-ms-ime-align:auto) {
  .tableLayout table td, .tableLayout table th {
    background-clip: padding-box !important;
  }
  .tableLayout table thead th {
    border-top: none !important;
  }
  .tableLayout table {
    position: relative;
    z-index: index 10;
  }
}
@-moz-document url-prefix() {
  .tableLayout table td, .tableLayout table th {
    background-clip: padding-box !important;
  }
}
/* contents

-------------------------*/
#contents ul {
  margin-top: 1rem;
  padding-left: 2rem;
}
#contents ul li {
  padding: .4rem 0;
  text-indent: -2rem;
}
#contents ul li::before {
  margin-right: .5rem;
  color: #254061;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: "\f14a";
}
#contents div, #contents figure {
  display: inline-block;
  vertical-align: middle;
  margin: 1rem;
}
#contents figcaption {
  position: relative;
  width: 10rem;
  margin: 0 auto;
  padding: .5rem 0 0 0;
  background-color: #254061;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}
#contents figcaption::before {
  position: absolute;
  width: 0;
  height: 0;
  bottom: -1rem;
  left: 0;
  z-index: 3;
  border-style: solid;
  border-color: #254061 transparent transparent transparent;
  border-width: 1rem 5rem 0 5rem;
  content: "";
}
#contents a {
  position: relative;
  display: inline-block;
  z-index: 1;
}
#contents a::before {
  position: absolute;
  top: 30%;
  left: 42%;
  z-index: 2;
  color: #000;
  font-size: 60px;
  font-weight: 900;
  font-family: var(--Font_Awesome);
  content: "\f00e";
  animation: flash 1.2s linear infinite;
}
@keyframes flash {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.1;
  }
}
#contents img {
  padding: 1rem;
  background-color: #92d050;
}
#contents h4, #contents dl {
  display: inline-block;
  margin: 1rem;
  vertical-align: middle;
}
#contents h4 {
  position: relative;
  width: 9rem;
  margin: 0 auto;
  padding: .5em 0 0 0;
  font-weight: bold;
  font-size: 1.2rem;
  background-color: #254061;
  color: #fff;
  text-align: center;
}
#contents h4::before {
  position: absolute;
  width: 0;
  height: 0;
  bottom: -1rem;
  left: 0;
  z-index: 1;
  border-style: solid;
  border-color: #254061 transparent transparent transparent;
  border-width: 1rem 4.5rem 0 4.5rem;
  content: "";
}
#contents dl {
  width: 38rem;
  padding: .5rem;
  border: 1px solid #254061;
}
#contents dl dt {
  font-weight: bold;
  font-size: 1.2rem;
}
@media screen and (orientation: portrait) and (max-width: 767px) {
  #contents ul li {
    font-size: 1rem;
  }
  #contents img {
    width: 100%;
    padding: 1rem;
  }
  #contents h3:last-of-type {
    margin-bottom: 1.5rem;
  }
  #contents h4 {
    position: relative;
    width: 9rem;
    margin: 0 auto;
    padding: .5em 0 0 0;
    background-color: #254061;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
  }
  #contents dl {
    width: 90%;
    margin-top: -1rem;
    padding: 2rem .5rem .5rem .5rem;
    font-size: .9rem;
  }
  #contents dl dt {
    font-size: 1rem;
  }
}
/* voice

-------------------------*/
#voice li {
  margin: 1rem auto;
  padding: .5rem;
  background-color: #254061;
  color: #fff;
}
#voice figure, #voice dl {
  display: inline-block;
  vertical-align: top;
}
#voice figure {
  width: 220px;
}
#voice img {
  display: block;
  width: 160px;
  height: 160px;
  margin: .5rem auto;
}
#voice .nophoto img {
  object-fit: none;
  object-position: 50% 10%;
}
#voice .a_tsuru img {
  object-fit: none;
  object-position: 50% 17%;
}
#voice .k_endo img {
  object-fit: none;
  object-position: 58% 20%;
}
#voice .m_horii img {
  object-fit: none;
  object-position: 47% 20%;
}
#voice .m_shimamiya img {
  object-fit: none;
  object-position: 47% 13%;
}
#voice .a_goto img {
  object-fit: none;
  object-position: 42% 23%;
}
#voice .y_yokoyama_k img {
  object-fit: none;
  object-position: 54% 24%;
}
#voice .r_sekine img {
  object-fit: none;
  object-position: 49% 15%;
}
#voice .r_matsuzaki img {
  object-fit: none;
  object-position: 50% 10%;
}
#voice .s_yamada img {
  object-fit: none;
  object-position: 51% 30%;
}
#voice .m_isoya img {
  object-fit: none;
  object-position: 53% 28%;
}
#voice .r_nozaki img {
  object-fit: none;
  object-position: 47% 26%;
}
#voice .y_yokoyama_d img {
  object-fit: none;
  object-position: 48% 27%;
}
#voice .a_abe img {
  object-fit: none;
  object-position: 50% 26%;
}
#voice .a_katagiri img {
  object-fit: none;
  object-position: 46% 29%;
}
#voice .s_tsuchiya img {
  object-fit: none;
  object-position: 52% 28%;
}
#voice .r_yokota img {
  object-fit: none;
  object-position: 48% 29%;
}
#voice figcaption {
  text-align: center;
}
#voice figcaption span {
  display: block;
}
#voice dl {
  width: 100%;
}
#voice dl dt {
  margin: 1rem auto;
  font-size: 1.4rem;
}
#voice dl dd {
  padding: .5rem;
}
@media screen and (orientation: portrait) and (max-width: 767px) {
  /* voice

  -------------------------*/
  #voice li {
    width: 100%;
  }
  #voice img, #voice figcaption {
    display: inline-block;
    vertical-align: middle;
  }
  #voice figure {
    width: 100%;
  }
  #voice img {
    width: 8rem;
    height: 11rem;
    margin: .5rem 0 .5rem .5rem;
    object-fit: none;
  }
  #voice .nophoto img {
    object-position: 50% 5%;
  }
  #voice .a_tsuru img {
    object-position: 50% 17%;
  }
  #voice .k_endo img {
    object-position: 57% 20%;
  }
  #voice .m_horii img {
    object-position: 47% 20%;
  }
  #voice .m_shimamiya img {
    object-position: 47% 13%;
  }
  #voice .a_goto img {
    object-position: 42% 23%;
  }
  #voice .y_yokoyama_k img {
    object-position: 54% 24%;
  }
  #voice .r_sekine img {
    object-position: 49% 15%;
  }
  #voice .r_matsuzaki img {
    object-position: 50% 10%;
  }
  #voice .s_yamada img {
    object-position: 51% 28%;
  }
  #voice .m_isoya img {
    object-position: 53% 26%;
  }
  #voice .r_nozaki img {
    object-position: 47% 25%;
  }
  #voice .y_yokoyama_d img {
    object-position: 48% 26%;
  }
  #voice .a_abe img {
    object-position: 50% 24%;
  }
  #voice .a_katagiri img {
    object-position: 46% 27%;
  }
  #voice .s_tsuchiya img {
    object-position: 52% 26%;
  }
  #voice .r_yokota img {
    object-position: 48% 26%;
  }
  #voice figcaption {
    text-align: left;
    font-size: 1rem;
  }
  #voice figcaption span {
    margin-left: 1rem;
  }
  #voice dl {
    width: 100%;
    padding-top: .5rem;
  }
  #voice dl dt {
    font-size: 1.1rem;
  }
  #voice dl dd {
    font-size: 1rem;
  }
}
/* application

-------------------------*/
#application {
  text-align: center;
}
#application .appli a {
  width: 95%;
  margin: 1rem auto;
}
/* contact_banner

-------------------------*/
.contact_banner .phone_ikebukuro, .contact_banner .phone_kichijoji {
  display: none;
}