@charset "utf-8";

/*=== メインレイアウト ===*/
.main-container {
  background-color: #f7fcfd;
  background-image: linear-gradient(#eff8fb 2px, transparent 0), linear-gradient(90deg, #eff8fb 2px, transparent 0);
}

/*=== メインビジュアル ===*/
.mainvisual {
  background-color: #004298;
}
.mainvisual-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background: #e4f0f4 url(../images/mv_bg_001.png) repeat-y top left;
}
.mainvisual-lead {
  display: block;
  color: #a17853;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.4;
}
.mainvisual-ttl {
  display: block;
  margin-top: 5px;
}

/*=== 最近見たページ ===*/
.history {
  background: url(../images/history_bg_001.gif) repeat left top;
}
a.history-link::after {
  background-color: #004298;
}

/*=== 習得できること ===*/
.learn {
  border: 2px solid #8cc0e6;
  background-color: #f6f8f7;
}
a.latest-link {
  display: block;
}
.learn-ttl {
  color: #004298;
}
.learn-item {
  color: #004298;
  font-weight: bold;
}
.learn-item::before {
  background-image: url(../images/learn_ico_001.png);
}

/*=== 最新記事 ===*/
.latest {
  background-color:#cfeafd;
}
.latest-inner {
  border: 1px solid #d9d9d9;
}
a.latest-link::after {
  background-color: #004298;
}
.latest-head {
  color: #87b9e2;
}
.latest-label {
  background-color: #3783e0;
}

/*=== 記事一覧 ===*/
.articleList-ttl {
  padding-bottom: 10px;
  border-bottom: 2px solid #8cc0e6;
  line-height: 1.4;
}
.articleList-lead {
  margin-top: 20px;
}
.articleList-item {
  position: relative;
  border: 1px solid #f2f2f2;
  counter-increment: parentheses;
}
.articleList-item::before {
  content: counter(parentheses) ". ";
  display: block;
  position: absolute;
  top: 12px;
  left: 15px;
  color: #3783e0;
  font-weight: bold;
  font-size: 18px;
}
.articleList-head {
  padding: 15px 15px 15px 40px;
  font-size: 18px;
  line-height: 1.4;
  background-color: #f2f2f2;
}

/*=== ショートカットキー一覧 ===*/
.shortcuts-item {
  border-top: 1px solid #f2f2f2;
}
.shortcuts-item.pattern-noLink {
  display: flex;
  padding: 15px;
}
a.shortcuts-link {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  width: 100%;
  height: 100%;
  color: #232b35;
  text-decoration: none;
}
a.shortcuts-link:visited {
  color: #232b35;
}
a.shortcuts-link:hover {
  text-decoration: none;
  opacity: 0.7;
}
.shortcuts-head {
  flex-basis: 35%;
  margin-right: 15px;
}
.shortcuts-key span {
  display: inline-block;
  margin: 2px;
  padding: 5px 8px;
  border: 2px solid #8cc0e6;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
  background-color: #cfeafd;
  border-radius: 3px;
}
.shortcuts-cont {
  display: flex;
  justify-content: space-between;
  flex-basis: 65%;
}
.shortcuts-txt {
  flex-grow: 1;
  margin-right: 10px;
  line-height: 1.4;
}
.shortcuts-label {
  flex-shrink: 0;
}
.shortcuts-label span {
  display: inline-block;
  padding: 2px 10px 4px;
  color: #fff;
  font-weight: bold;
  background-color: #004298;
  border-radius: 3px;
}
@media screen and (max-width: 900px) {
  .shortcuts-item.pattern-noLink {
    display: block;
    padding: 0;
  }
  a.shortcuts-link {
    display: block;
    padding: 0;
  }
  .shortcuts-head {
    margin-right: 0;
    padding: 15px;
    border-bottom: 1px solid #f2f2f2;
    background-color: #f6fbff;
  }
  .shortcuts-cont {
    padding: 15px;
  }
}

/*=== 記事本文 見出し ===*/
.articleHead {
  border-bottom: 1px solid #87b9e2;
}
.articleHead-head {
  color: #87b9e2;
}
.articleHead-label {
  background-color: #3783e0;
}

/*=== 記事本文 目次 ===*/
.articleIndex {
  border: 2px solid #cfeafd;
}
.articleIndex-icon span,
.articleIndex-icon span::before,
.articleIndex-icon span::after {
  background-color: #3783e0;
}
.articleIndex-btn {
  color: #3783e0;
  background-color: #cfeafd;
}
.articleIndex-item::before {
  color: #3783e0;
}

/*=== 記事本文 ===*/
.article-subttl {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-align: left;
  background-color: #cee4f5;
}
.article-label {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 80px;
  height: 50px;
  margin-right: 15px;
  color: #fff;
  text-align: center;
  background-color: #3783e0;
}
.article-cont h4 {
  border-left: 10px solid #3783e0;
}
.article-cont figure {
  text-align: center;
}
.article-cont .pattern-key {
  margin: 25px 20px 0;
  padding: 15px 20px;
  border: 1px solid #e3e3e3;
  font-size: 18px;
  line-height: 1.4;
  background-color: #f6f8f7;
}
.pattern-key span {
  display: inline-block;
  margin: 2px;
  padding: 5px 8px;
  border: 2px solid #8cc0e6;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
  background-color: #cfeafd;
  border-radius: 3px;
}
.article-flow {
  margin: 30px 20px 0;
}
.article-flow > li {
  position: relative;
  margin-top: 30px;
  padding-left: 25px;
  counter-increment: parentheses;
}
.article-flow > li::before {
  content: counter(parentheses);
  display: block;
  position: absolute;
  top: 6px;
  left: 0;
  width: 20px;
  height: 20px;
  padding: 1px;
  border: 1px solid currentColor;
  color: #3783e0;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  line-height: 1;
  background-color: #fff;
  border-radius: 50%;
}
.article-flow p:not(:first-child) {
  margin-top: 20px;
}
.article-flow .warning {
  margin: 30px 0;
}
.article-flow .withPart {
  margin: 40px 0 30px;
}

/*=== 注意 ===*/
.warning {
  display: flex;
  margin: 30px 20px 0;
  padding: 20px;
  border: 2px solid #f9ede4;
  background-color:#fefbf6;
  border-radius: 10px;
}
.warning-ttl {
  position: relative;
  width: 60px;
  margin-right: 15px;
  color: #e57300;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}
.warning-ttl::before {
  content: "";
  display: block;
  width: 58px;
  height: 51px;
  background: url(../images/article_ico_001.png) no-repeat 0 0 / 100% auto;
}
.warning p:not(:first-child) {
  margin-top: 10px;
}

/*=== おさらい ===*/
.review {
  margin-top: 40px;
  padding: 20px;
  background-color:#f6f8f7;
  border: 2px solid #8cc0e6;
  border-radius: 10px;
}
.review-ttl {
  position: relative;
  padding-left: 25px;
  font-weight: bold;
  color: #004298;
  font-size: 18px;
  line-height: 1.4;
}
.review-ttl::before {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 15px;
  background: url(../images/review_ico_001.png) no-repeat 0 0 / 100% auto;
}
.review p:not(:first-child) {
  margin-top: 10px;
}

/*=== あわせて読みたい ===*/
.withPart-label {
  background-color: #3783e0;
}
a.withPart-link::before {
  background: #3783e0;
}

/*=== 関連するショートカットキー ===*/
.related {
  margin-top: 20px;
}
.related li {
  margin-top: 10px;
}
.related a {
  position: relative;
  padding-right: 10px;
  color: #232b35;
  text-decoration: none;
}
.related a:visited {
  color: #232b35;
}
.related a::after {
  content: "";
  display: inline-block;
  position: relative;
  top: 0;
  right: -10px;
  width: 8px;
  height: 10px;
  background-color: #000;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

/*=== アンケート ===*/
.questionnaire-lead::before {
  background: url(../images/questionnaire_ico_001.png) no-repeat left bottom / 100% auto;
}
.questionnaire-textarea:focus {
  border: #004298 solid 2px;
}
.questionnaire-submit {
  border: 4px solid #004298;
  background-color: #3783e0;
}
.questionnaire-submit:hover {
  background-color: rgba(55, 131, 224, 0.7);
}

/*=== おすすめ ===*/
.recommend {
  background: url(../images/history_bg_001.gif) repeat left top;
}
a.recommend-link::after {
  background-color: #004298;
}

/*=== サイドランキング ===*/
.sideRanking-list {
  border-top: 1px solid #87b9e2;
}
.sideRanking-item:nth-child(4)::before {
  background-image: url(../images/ranking_ico_001.png);
}
.sideRanking-item:nth-child(5)::before {
  background-image: url(../images/ranking_ico_002.png);
}

/*=== サイド一覧 ===*/
.sideList-wrap {
  border-top: 1px solid #87b9e2;
}
.sideList-ttl span {
  color: #3783e0;
}

/*=== PRバナー ===*/
.prBanner-list {
  border-top: 1px solid #87b9e2;
}

/*=== 注目ニュース ===*/
.news-list {
  border-top: 1px solid #87b9e2;
}

/*=== ページャー ===*/
a.pager-link,
a.pager-link:visited {
  color: #004298;
}

@media screen and (max-width: 768px) {
  /*=== メインビジュアル ===*/
  .mainvisual-main {
    padding: 20px 10px 20px 25px;
    background-image: url(../images/mv_bg_002.png);
    background-size: contain;
  }
  .mainvisual-lead {
    font-size: 18px;
  }
  .mainvisual-ttl {
    width: 75.2vw;
    max-width: 282px;
    margin: 10px auto 0;
  }
  /*=== 習得できること ===*/
  .learn {
    border-width: 2px;
  }
  .latest-number {
    font-size: 20px;
  }
  /*=== 記事一覧 ===*/
  .articleList-ttl {
    padding-bottom: 5px;
  }
  .articleList-item::before {
    top: 9px;
    left: 10px;
    font-size: 16px;
  }
  .articleList-head {
    padding: 10px 10px 10px 30px;
    font-size: 16px;
  }
  /*=== ショートカットキー一覧 ===*/
  .shortcuts-head {
    padding: 10px;
  }
  .shortcuts-key span {
    padding: 5px 8px;
    font-size: 14px;
  }
  .shortcuts-cont {
    padding: 10px;
  }
  .shortcuts-label span {
    padding: 2px 10px;
    font-size: 13px;
  }
  /*=== 記事本文 ===*/
  .article-subttl {
    min-height: 64px;
    padding: 10px 20px 10px 10px;
  }
  .article-label {
    width: 70px;
    height: 30px;
    margin-right: 10px;
    font-size: 14px;
  }
  .article-cont .pattern-key {
    margin: 20px 0 0;
    padding: 10px;
    font-size: 16px;
  }
  .pattern-key span {
    padding: 5px 8px;
    font-size: 14px;
  }
  .article-flow {
    margin: 20px 0 0;
  }
  .article-flow li {
    margin-top: 20px;
  }
  .article-flow li::before {
    top: 2px;
  }
  .article-flow figure {
    margin-top: 10px;
  }
  .article-flow .warning {
    margin: 20px 0;
  }
  /*=== 注意 ===*/
  .warning {
    margin: 20px 0 0;
    padding: 15px 10px;
  }
  .warning-ttl {
    width: 40px;
    margin-right: 15px;
    font-size: 16px;
  }
  .warning-ttl::before {
    width: 40px;
    height: 35px;
  }
  /*=== おさらい ===*/
  .review {
    margin-top: 30px;
    padding: 15px 10px;
  }
  .review-ttl {
    font-size: 16px;
  }
  .review-ttl::before {
    top: 5px;
  }
}