@charset "UTF-8";
/* color import setting
------------------------------------*/
/* color setting
------------------------------------*/
/* news Top setting
------------------------------------*/
#newsTop {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 100px 0;
  width: 100vw;
  color: #333;
}
#newsTop:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background: url("/wp/wp-content/themes/keio-estation/assets/img/common/img_deco-pink.webp") center 0/100% 100% no-repeat;
  width: 396px;
  height: 233px;
}
#newsTop:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  background: url("/wp/wp-content/themes/keio-estation/assets/img/common/img_deco-blue.webp") center 0/100% 100% no-repeat;
  width: 400px;
  height: 260px;
}
#newsTop .inner {
  margin: 0 auto;
  width: 100%;
  max-width: 990px;
}
#newsTop .inner h2 {
  margin: 0 auto 50px;
  width: 254px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
#newsTop .inner h2 span {
  display: block;
  margin: 0 auto 15px;
  width: 104px;
}
#newsTop .inner h2 em {
  color: #ea258f;
}
#newsTop .inner ul#newsList {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0 75px;
}
#newsTop .inner ul#newsList li {
  position: relative;
  margin: 0 2.525% 50px;
  width: 28.28%;
  max-width: 280px;
  text-align: center;
}
#newsTop .inner ul#newsList li strong {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  aspect-ratio: 7 / 5;
  width: 100%;
  pointer-events: none;
}
#newsTop .inner ul#newsList li strong em {
  position: absolute;
  bottom: -10px;
  right: 17px;
  display: inline-block;
  border-radius: 10px;
  background: #ea258f;
  padding: 0 12px;
  height: 20px;
  line-height: 20px;
  pointer-events: auto;
  color: #fff;
  font-size: 12px;
}
#newsTop .inner ul#newsList li > a {
  position: relative;
  z-index: 0;
  text-align: left;
  color: #333;
}
#newsTop .inner ul#newsList li > a picture {
  position: relative;
  display: block;
  border-radius: 10px;
  margin: 0 0 24px;
  width: 100%;
  aspect-ratio: 7 / 5;
  overflow: hidden;
}
#newsTop .inner ul#newsList li > a picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#newsTop .inner ul#newsList li > a dl dt span {
  display: block;
  padding: 0 5px 5px;
  font-weight: 700;
  font-size: 16px;
  color: #0596e5;
}
#newsTop .inner ul#newsList li > a dl dt h3 {
  margin: 0 5px 15px;
  line-height: 1.5;
  font-weight: 700;
  font-size: 18px;
}
#newsTop .inner ul#newsList li > a dl dd {
  margin: 0 5px;
  line-height: 2;
  font-size: 14px;
}
#newsTop .inner ul#newsList li > a:hover picture img {
  transform: scale(1.1);
}
#newsTop .inner .pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 120px;
}
#newsTop .inner .pager ol {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
#newsTop .inner .pager ol li a {
  display: block;
  border-radius: 10px;
  background: #d1ced8;
  margin: 0 10px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 14px;
}
#newsTop .inner .pager ol li a:link, #newsTop .inner .pager ol li a:visited {
  color: #fff;
}
#newsTop .inner .pager ol li a.current {
  background: linear-gradient(to top, #280076 0%, #5500a2 100%);
}
#newsTop .inner .pager ol li span {
  display: block;
  margin: 0 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #333;
}

/* article Body setting
------------------------------------*/
#articleBody {
  background: #fff;
  padding: 100px 0;
  width: 100vw;
  line-height: 2.0;
  font-size: 16px;
  color: #333;
}
#articleBody .inner {
  margin: 0 auto;
  width: 90%;
  max-width: 1060px;
}
#articleBody .inner > picture {
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 縦方向の中央揃え */
  margin: 0 auto 48px;
  width: 50%;
  aspect-ratio: 7 / 5;
  text-align: center;
  line-height: 1;
  overflow: hidden;
}
#articleBody .inner > picture img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  /* 中央配置 */
}
#articleBody .inner #articleInfo {
  display: flex;
  margin: 0 0 40px;
}
#articleBody .inner #articleInfo time {
  font-weight: 700;
  font-size: 14px;
  color: #0596e5;
}
#articleBody .inner #articleInfo strong {
  display: inline-block;
  line-height: 1.5;
}
#articleBody .inner #articleInfo strong em {
  display: inline-block;
  border-radius: 10px;
  background: #ea258f;
  margin: -3px 0 0 5px;
  padding: 0 12px;
  height: 20px;
  line-height: 20px;
  pointer-events: auto;
  font-style: normal;
  font-size: 12px;
  color: #fff;
}
#articleBody .inner h2 {
  position: relative;
  margin: 0 0 24px;
  padding: 0 0 0 20px;
  font-weight: 600;
  font-size: 24px;
  color: #ea258f;
}
#articleBody .inner h2:before {
  content: '';
  position: absolute;
  top: 24px;
  left: 1px;
  display: block;
  background: #0596e5;
  width: 10px;
  height: 3px;
}
#articleBody .inner h3 {
  position: relative;
  margin: 0 0 16px;
  line-height: 1.5;
  font-weight: 600;
  font-size: 20px;
  color: #ff1868;
}
#articleBody .inner h4 {
  position: relative;
  margin: 0 0 12px;
  line-height: 1.5;
  font-weight: 500;
  font-size: 20px;
}
#articleBody .inner h5 {
  position: relative;
  margin: 0 0 12px;
  line-height: 1.5;
  font-weight: 600;
  font-size: 18px;
}
#articleBody .inner h6 {
  position: relative;
  margin: 0 0 12px;
  line-height: 1.5;
  font-weight: 600;
  font-size: 16px;
}
#articleBody .inner p {
  margin: 0 0 30px;
}
#articleBody .inner blockquote {
  border-radius: 10px;
  background: #f0f0f0;
  margin: 0 0 30px;
  padding: 20px;
  font-size: 14px;
}
#articleBody .inner .wp-block-table {
  margin: 0 0 30px;
}
#articleBody .inner .wp-block-table table {
  background: #fff;
  width: 100%;
}
#articleBody .inner .wp-block-table table th {
  border: 1px solid #ddd;
  padding: 10px;
}
#articleBody .inner .wp-block-table table td {
  border: 1px solid #ddd;
  padding: 10px;
}
#articleBody .inner .wp-block-button a {
  display: block;
  border-radius: 2em;
  background: #448f69;
  margin: 0 auto 30px;
  padding: 10px 20px !important;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  color: #fff !important;
  cursor: pointer;
}
#articleBody .inner a.wp-block-file__button {
  display: inline-block;
  border-radius: 2em;
  background: #448f69;
  margin: 0 10px 30px;
  padding: 3px 20px !important;
  text-decoration: none;
  font-size: 14px;
  color: #fff !important;
}
#articleBody .inner strong {
  font-weight: 600;
}
#articleBody .inner em {
  font-style: italic;
}
#articleBody .inner sup {
  vertical-align: top;
  font-size: 10px;
}
#articleBody .inner sub {
  font-size: 10px;
}
#articleBody .inner .has-text-align-left {
  text-align: left;
}
#articleBody .inner .has-text-align-right {
  text-align: right;
}
#articleBody .inner .has-text-align-center {
  text-align: center;
}
#articleBody .inner ul.wp-block-list li {
  position: relative;
  margin: 0 0 5px;
  padding: 0 0 0 16px;
  line-height: 1.5;
}
#articleBody .inner ul.wp-block-list li:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  display: block;
  border-radius: 50%;
  background: #ff1868;
  width: 4px;
  height: 4px;
}
#articleBody .inner ol.wp-block-list {
  counter-reset: numCounter;
}
#articleBody .inner ol.wp-block-list li {
  position: relative;
  margin: 0 0 5px;
  padding: 0 0 0 16px;
  line-height: 1.5;
}
#articleBody .inner ol.wp-block-list li:before {
  content: counter(numCounter);
  counter-increment: numCounter;
  position: absolute;
  top: 4px;
  left: -4px;
  border-radius: 50%;
  background: #ff1868;
  display: block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-weight: 500;
  font-size: 12px;
  color: #fff;
}
#articleBody .inner .wp-block-group {
  border-radius: 12px;
  background: #fff;
  padding: 6%;
}
#articleBody .inner ul#linkList li {
  padding: 80px 0 0;
}
#articleBody .inner ul#linkList li a.arrow {
  width: 400px;
  height: 80px;
  line-height: 76px;
}

/* ------------------------------------------------------------------------
	Ajustment For Small PC Window 
------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------
	Ajustment For Smart Phone 
------------------------------------------------------------------------ */
@media screen and (max-width: 768px) {
  /* news Top setting
  ------------------------------------*/
  #newsTop {
    padding: 28vw 0 24vw;
    width: 100vw;
    color: #333;
  }
  #newsTop:before {
    width: 53.2vw;
    height: 32.133333vw;
  }
  #newsTop:after {
    width: 53.333333vw;
    height: 34.666667vw;
  }
  #newsTop .inner {
    max-width: 100%;
  }
  #newsTop .inner h2 {
    margin: 0 auto 8vw;
    width: 100%;
    font-size: 3.733333vw;
  }
  #newsTop .inner h2 span {
    margin: 0 auto 15px;
    width: 27.333333vw;
  }
  #newsTop .inner h2 em {
    color: #ea258f;
  }
  #newsTop .inner ul#newsList {
    display: block;
    padding: 0 0 8vw;
  }
  #newsTop .inner ul#newsList li {
    margin: 0 auto 5.3333333vw;
    width: 85.333333vw;
    max-width: 85.333333vw;
    text-align: center;
  }
  #newsTop .inner ul#newsList li strong {
    width: 37.333333vw;
  }
  #newsTop .inner ul#newsList li strong em {
    bottom: -1.3333333vw;
    right: 2.2666667vw;
    border-radius: 1.3333333vw;
    padding: 0 2.1333333vw;
    height: 2.666667vw;
    line-height: 2.666667vw;
    font-size: 1.7333333vw;
  }
  #newsTop .inner ul#newsList li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #newsTop .inner ul#newsList li > a picture {
    border-radius: 1.3333333vw;
    margin: 0;
    width: 37.333333vw;
  }
  #newsTop .inner ul#newsList li > a dl {
    width: 44vw;
  }
  #newsTop .inner ul#newsList li > a dl dt span {
    padding: 0 0 0.6666667vw;
    font-size: 2.4vw;
  }
  #newsTop .inner ul#newsList li > a dl dt h3 {
    margin: 0 0 1.8666667vw;
    font-size: 2.933333vw;
  }
  #newsTop .inner ul#newsList li > a dl dd {
    margin: 0;
    font-size: 2.666667vw;
  }
  #newsTop .inner .pager {
    margin: 0 0 16vw;
  }
  #newsTop .inner .pager ol li a {
    border-radius: 1.333333vw;
    margin: 0 1.2vw;
    width: 7.4666667vw;
    height: 7.4666667vw;
    line-height: 7.4666667vw;
  }
  #newsTop .inner .pager ol li span {
    margin: 0 2.1333333vw;
    width: 7.4666667vw;
    height: 7.4666667vw;
    line-height: 7.4666667vw;
  }

  /* article Body setting
  ------------------------------------*/
  #articleBody .inner {
    width: 95%;
    max-width: auto;
  }
  #articleBody .inner > picture {
    border-radius: 3.2vw;
    margin: 0 auto 12.8vw;
    width: 80%;
  }
  #articleBody .inner > picture img {
    height: auto;
  }
  #articleBody .inner #articleInfo {
    display: flex;
    margin: 0 0 8vw;
  }
  #articleBody .inner #articleInfo time {
    font-size: 3.2vw;
  }
  #articleBody .inner #articleInfo strong em {
    border-radius: 2.666667vw;
    margin: -3px 0 0 5px;
    padding: 0 2.666667vw;
    height: 5.3333333vw;
    line-height: 5.3333333vw;
    font-size: 2.4vw;
  }
  #articleBody .inner h2 {
    margin: 0 0 4.2666667vw;
    padding: 0 0 0 5.3333333vw;
    line-height: 1.5;
    font-size: 6.4vw;
  }
  #articleBody .inner h2:before {
    top: 4.8vw;
    left: 0.2666667vw;
    width: 1.8666667vw;
    height: 0.6666667vw;
  }
  #articleBody .inner h3 {
    margin: 0 0 4vw;
    font-size: 6vw;
  }
  #articleBody .inner h4 {
    margin: 0 0 3.2vw;
    font-size: 5.4vw;
  }
  #articleBody .inner h5 {
    margin: 0 0 3.2vw;
    font-size: 4.8vw;
  }
  #articleBody .inner h6 {
    margin: 0 0 3.2vw;
    font-size: 4vw;
  }
  #articleBody .inner p {
    margin: 0 0 4vw;
  }
  #articleBody .inner blockquote {
    border-radius: 2.666667vw;
    margin: 0 0 8vw;
    padding: 5.3333333vw;
    font-size: 3.733333vw;
  }
  #articleBody .inner .wp-block-table {
    margin: 0 0 8vw;
  }
  #articleBody .inner .wp-block-table table th {
    border: 0.2666667vw solid #ddd;
    padding: 2.666667vw;
  }
  #articleBody .inner .wp-block-table table td {
    border: 0.2666667vw solid #ddd;
    padding: 2.666667vw;
  }
  #articleBody .inner .wp-block-button a {
    margin: 0 auto 8vw !important;
    padding: 2.666667vw 2.666667vw !important;
    font-size: 4.2666667vw;
  }
  #articleBody .inner a.wp-block-file__button {
    margin: 0 2.666667vw 8vw;
    padding: 0.8vw 5.3333333vw !important;
    font-size: 3.733333vw;
  }
  #articleBody .inner sup {
    font-size: 2.4vw;
  }
  #articleBody .inner sub {
    font-size: 2.4vw;
  }
  #articleBody .inner ul.wp-block-list li {
    margin: 0 0 1.3333333vw;
    padding: 0 0 0 4.2666667vw;
  }
  #articleBody .inner ul.wp-block-list li:before {
    left: 1.0666667vw;
    width: 1.0666667vw;
    height: 1.0666667vw;
  }
  #articleBody .inner ol.wp-block-list li {
    margin: 0 0 1.3333333vw;
    padding: 0 0 0 4.2666667vw;
  }
  #articleBody .inner ol.wp-block-list li:before {
    top: 1.0666667vw;
    left: -1.0666667vw;
    width: 4.8vw;
    height: 4.8vw;
    line-height: 4.8vw;
    font-size: 3.2vw;
  }
  #articleBody .inner .wp-block-group {
    border-radius: 3.2vw;
  }
  #articleBody .inner ul#linkList li {
    padding: 10vw 0 0;
  }
  #articleBody .inner ul#linkList li a.arrow {
    width: 74.666667vw;
    height: 17.333333vw;
    line-height: 16.8vw;
  }
}
