/*
  CSSの`@import`は、複数ファイルの読み込みが遅いなどの理由で非推奨になっている
  ここでは1つのファイルだけを読み込む目的で使用することにする

  複数ファイルを読み込む場合は、

  - Sassの`@use`を使う
  - Frontmaterで複数のCSSファイルを指定できるようにする

  などの代替案を検討すること
*/
@import url("/assets/css/markdown.css");

.article-header {
  display: none;
}

.markdown {
  row-gap: 30px;
}

.markdown p {
  font-size: 14px;
  color: #47525d;
}

/* ------------------------------
キーフレーズ
------------------------------ */

@media screen and (min-width: 520px) {
  .markdown h2 {
    line-height: 1.45;
  }
}

.keyMessage {
  margin-top: 35px;
  width: 100%;
  max-width: 430px;
}
.keyMessage::before {
  width: 20px;
  height: 30px;
  float: left;
  border-top: 1px solid gray;
  border-left: 1px solid gray;
  content: "";
  clear: both;
}
.keyMessage::after {
  width: 20px;
  height: 30px;
  position: relative;
  top: -40px;
  float: right;
  border-bottom: 1px solid gray;
  border-right: 1px solid gray;
  content: "";
  clear: both;
}

@media screen and (min-width: 520px) {
  .keyMessage::before {
    width: 28px;
    height: 42px;
  }
  .keyMessage::after {
    width: 28px;
    height: 42px;
  }
}

@media screen and (min-width: 768px) {
  .keyMessage {
    max-width: 600px;
  }
}

.keyMessage h2 {
  margin: 0;
  padding: 10px 20px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  color: #303036;
}

@media screen and (min-width: 520px) {
  .keyMessage h2 {
    padding: 10px 0 10px 30px;
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  .keyMessage h2 {
    font-size: 29px;
  }
}

/* ------------------------------
署名
------------------------------ */

.signatureBlock {
  align-self: stretch;
  padding-top: 15px;
  text-align: right;
}

.signatureBlock_content {
  display: block;
}

.signatureBlock_content .greetingPic {
  display: inline-block;
  width: 329px;
  height: 219px;

  max-width: 140px;
  max-height: 156px;
  background-image: url("/assets/images/members/kk_trimmed.webp");
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}
.signatureBlock_left {
  display: inline-block;
  padding-top: 10%;
  padding-right: 5%;
  text-align: left;
}

.signatureBlock_left p {
  margin-bottom: 15px;
}

.signatureBlock_left img.signature {
  display: inline-block;
  width: 100%;
  height: 100%;
  max-width: 130px;
  max-height: 36px;
}

@media screen and (min-width: 415px) {
  .signatureBlock_left img.signature {
    max-width: 145px;
    max-height: 40px;
  }
}

@media screen and (min-width: 768px) {
  .signatureBlock_left img.signature {
    max-width: 164px;
    max-height: 45px;
  }

  .signatureBlock_content .greetingPic {
    max-width: unset;
    max-height: unset;
    background-image: url("/assets/images/members/kk.jpg");
  }
}
