/* common
 ---------------------------------------*/
#article * {
  line-height: 1.4em;
}
#article h1,h2,h3,h4,h5,h6,p,ul,table {
  color: #333333;
}
#article a {
  text-decoration: none;
}
/* article top
 -------------------------------------- */
#article #top_area .top_img {
  max-width: 1030px;
  margin: 0 0 20px;
}
#article #top_area .ttl_box {
  border-bottom: 1px solid #707070;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 20px;
  margin: 0 0 30px;
}
#article #top_area .ttl_box .ttl {
  font-size: 1.5em;
  font-weight: 700;
  border-left: 5px solid #E2126F;
  width: 70%;
}
#article #top_area .ttl_box .ttl span {
  padding: 10px 20px;
  display: block;
}
#article #top_area .ttl_box .date {
  display: table;
  width: 30%;
  font-size: 0.9em;
  box-sizing: border-box;
}
#article #top_area .ttl_box .date dt {
  display: table-cell;
  background: #1b1b1b;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 7px;
}
#article #top_area .ttl_box .date dd {
  display: table-cell;
  background: #dcdcdc;
  width: 80px;
  box-sizing: border-box;
  padding: 7px;
  font-size: 0.8em;
  text-align: center;
  vertical-align: middle;
}
/* article box
 -------------------------------------- */
#article .art_box .box {
  margin: 0 0 50px;
}
#article .art_box .img {
  text-align: center;
  margin: 40px 0;
  max-width: 100%;
}
#article .art_box .img img {
  max-width: 660px;
  max-width: 100%;
}
/* titles
 -------------------------------------- */
/* 親タイトル */
#article .art_box .box h2 {
  background-color: #444;
  color: #fff;
  font-size: 1.6em;
  font-weight: 500;
  margin: 3em 0 0.5em;
  padding: 0.5em 0.6em;
}
#article .art_box .box h2 span {
  padding: 0 10px;
}
/* 中タイトル */
#article .art_box .box h3 {
  font-size: 1.4em;
  font-weight: 400;
  margin: 2em 0.5em 0.8em;
  padding: 0.3em 0.5em;
}
#article .art_box .box h2+h3 {
  margin-top: 1em;
}
#article .art_box .box h2+h4 {
  margin-top: 1em;
}
#article .art_box .box h2+p, #article .art_box .box h2+ul {
  margin-top: 1.6em;
}
#article .art_box .box h3 span {
  color: #E2126F;
  margin: 0 10px 0 0;
}
#article .art_box .box h3+p, #article .art_box .box h3+ul {
  margin-top: 0.5em;
}
/* 子タイトル */
#article .art_box .box h4 {
  font-size: 1.2em;
  font-weight: 400;
  margin: 1.5em 1.5em 0.5em;
  padding: 0.3em;
}
#article .art_box .box h4+p, #article .art_box .box h4+ul {
  margin-top: 0.5em;
}
/* URL等見出し */
#article .art_box .box h5 {
  font-weight: 400;
  font-size: 1.1em;
  margin: 2em 1em 0.3em;
  padding: 0.3em 0.75em;
  overflow-wrap: break-word;
}
/* リンク */
#article .art_box .box h5 a {
  color: #3333FF;
  margin-bottom: 1em;
}
/* 他記事へのリンク */
#article .art_box .box h5.art_lnk {
  font-weight: 400;
  font-size: 1.1em;
  margin: 2em 2em 0.3em;
  padding: 0.5em 0.75em;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}
/* written
 -------------------------------------- */
/* 書いてあること */
#article .art_box .box .written {
  background-color: #efefef;
  width: 90%;
  margin: 5em auto 0 auto;
  padding: 10px;
  text-align: center;
}
#article .art_box .box .written * {
  line-height: 2em;
  color: #555;
}
#article .art_box .box .written h2 {
  font-size: 1.5em;
  margin: 0;
  border: 0;
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
  background-color: #efefef;
}
#article .art_box .box .written h2:before {
  content: '';
  position: absolute;
  bottom: -5px;
  display: inline-block;
  width: 90px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #777;
  border-radius: 2px;
}
#article .art_box .box .written ul:first-of-type {
  font-weight: 400;
  margin: 1.2em 1em;
  text-align: left;
}
/* text
 -------------------------------------- */
/* 記事本文 */
#article .art_box .box p {
  line-height: 1.8em;
  font-size: 1.1em;
  font-weight: 300;
  margin-bottom: 1em;
  margin-left: 2em;
  margin-right: 1em;
}
/* p 1字下げ */
#article .art_box .box p.p1 {
  margin-left: 3em;
}
/* p 2字下げ */
#article .art_box .box p.p2 {
  margin-left: 4em;
}
/* p 3字下げ */
#article .art_box .box p.p3 {
  margin-left: 5em;
}
/* p 4字下げ */
#article .art_box .box p.p4 {
  margin-left: 6em;
}
/* p 5字下げ */
#article .art_box .box p.p5 {
  margin-left: 7em;
}
/* マーカー赤 */
#article .art_box .box .marker-red {
  background: linear-gradient(transparent 70%, #ff8080 70%);
  font-weight: 400;
}
/* spacer
 -------------------------------------- */
#article .art_box .box div.spacer1 {
  padding: 0.3em;
}
#article .art_box .box div.spacer2 {
  padding: 1em;
}
#article .art_box .box div.spacer3 {
  padding: 2em;
}
/* quote
 -------------------------------------- */
/* 引用部分(ダブルクォート記号なし) */
#article .art_box .box .quote {
  position: relative;
  padding: 10px 15px;
  box-sizing: border-box;
  font-style: italic;
  background: #efefef;
  margin: 0 auto;
  width: 80%;
}
#article .art_box .box .quote p {
  margin: 0.7em 1em;
}
/* quote(double-quoted)
 -------------------------------------- */
/* 引用部分(ダブルクォート記号あり) */
#article .art_box .box .quote-marked {
  position: relative;
  padding: 10px 15px 10px 30px;
  box-sizing: border-box;
  font-style: italic;
  background: #efefef;
  margin: 0 auto;
  width: 80%;
}
#article .art_box .box .quote-marked:before {
  display: inline-block;
  position: absolute;
  top: 10px;
  left: -3px;
  content: "“";
  font-family: sans-serif;
  color: #cfcfcf;
  font-size: 7em;
  line-height: 1em;
}
#article .art_box .box .quote *, #article .art_box .box .quote-marked * {
  line-height: 1.8em;
  color: #555;
  font-size: 1em;
}
/* 引用元 */
#article .art_box .box .quote .ref, #article .art_box .box .quote-marked .ref {
  display: block;
  text-align: right;
  color: #555;
  font-size: 0.9em;
  text-decoration: underline;
  margin-right: 1em;
  margin-bottom: 1em;
}
/* list
 -------------------------------------- */
/* 記事中リスト(共通) */
#article .art_box .box ul {
  font-weight: 300;
  font-size: 1.1em;
  /* margin-left: 5em; */
  margin:0 1em 1em 1em; /* for sp */
  padding-left: 2em;
}
#article .art_box .box ul li {
  margin: 0.5em auto;
}
/* リスト 何もなし */
#article .art_box .box ul.list-style-none {
  list-style: none;
  /* margin-left: 4em; */
  margin-left: .5em; /* for sp */
  margin-right: .5em; /* for sp */
}
/* リスト 中黒 */
#article .art_box .box ul.nakaguro {
  list-style-type: disc;
}
/* リスト 数字 */
#article .art_box .box ul.decimal {
  list-style-type: decimal;
}
/* リスト イロハ */
#article .art_box .box ul.katakana {
  list-style-type: katakana-iroha;
}
/* リスト 小文字 */
#article .art_box .box ul.lower-alpha {
  list-style-type: lower-alpha;
}
/* リスト 大文字 */
#article .art_box .box ul.upper-alpha {
  list-style-type: upper-alpha;
}
/* リスト 漢数字(一二三) */
#article .art_box .box ul.decimal-kanji {
  list-style-type: cjk-ideographic;
}
/* caprion
 -------------------------------------- */
/* 画像キャプション */
#article .art_box .box .caption {
  color: #777;
}
/* notes
 -------------------------------------- */
/* 注釈 */
#article .art_box .box .notes {
  font-size: 1em;
  font-weight: 400;
  text-indent: 1em;
  margin-bottom: 1em;
}
/* related service
 -------------------------------------- */
/* 関連サービス */
#article .art_box .box .related {
  width: 80%;
  margin: 3em auto;
  padding: 1em 5em;
  text-align: center;
  border: 1px solid #777;
}
/* 関連サービス 見出し */
#article .art_box .box .related h5 {
  position: relative;
  display: inline-block;
  margin: 1em 0 1.5em;
  padding: 0.7em 1.5em;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #FFF;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  box-sizing: border-box;
  width: 82%;
  text-align: left;
}
#article .art_box .box .related h5:before {
content: "";
  position: absolute;
  bottom: -24px;
  left: 17%;
  margin-left: 0px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}
#article .art_box .box .related h5:after {
  content: "";
  position: absolute;
  bottom: -28px;
  left: 17%;
  margin-left: -2px;
  border: 14px solid transparent;
  border-top: 14px solid #ccc;
  z-index: 1;
}
#article .art_box .box .related p {
  margin: 0 auto;
  font-size: 1em;
  color: #555;
  line-height: 1.6em;
  width: 80%;
}
#article .art_box .box .related img {
  display: block;
  margin: 1em auto;
  width: 80%;
  box-shadow: 3px 3px 8px 2px rgba(96, 96, 96, 0.3);
}
@media screen and (max-width:991px) {
  #article #top_area .ttl_box {
    border-bottom: 1px solid #707070;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #article #top_area .ttl_box .ttl {
    width: 100%;
    margin: 0 0 10px;
  }
  #article #top_area .ttl_box .ttl span {
    padding: 10px 0 10px 10px;
  }
  #article #top_area .ttl_box .date {
    width: 100%;
  }
}
@media screen and (max-width:767px) {
  /* article top
   -------------------------------------- */
  #article #top_area .area {
    padding: 0 20px 30px;
  }
  #article #top_area .ttl_box .ttl {
    font-size: 1.3em;
  }
  #article .top_txt p {
    padding: 5px 20px;
    font-size: 1em;
  }
  #article .top_txt {
    margin: 0 0 40px;
  }
  #article .top_txt::after {
    bottom: -20px;
  }
  #article .top_box {
    margin: 0 0 30px;
  }
  /* article box
   -------------------------------------- */
  #article .art_box .box {
    margin: 0 0 20px;
  }
  #article .art_box .img {
    margin: 20px 0;
  }
  /* titles
   -------------------------------------- */
  /* 親タイトル */
  #article .art_box .box h2 {
    font-size: 1.3em;
    font-weight: 500;
    padding: 0.3em 0.6em;
    margin: 2em 0 1em;
    line-height: 1.6em;
    border-left: 4px solid #0a3e6f;
    background-color: #fff;
    color: #333;
  }
  /* 子タイトル */
  #article .art_box .box h3 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0.3em;
  }
  #article .art_box .box h2+h3 {
    margin: 0.3em 0;
  }
  #article .art_box .box h2+h4 {
    margin-top: 1em;
  }
  #article .art_box .box h2+p, #article .art_box .box h2+ul {
    margin-top: 1.6em;
  }
  #article .art_box .box h3 span {
    color: #E2126F;
    margin-right: 5px;
  }
  #article .art_box .box h3+p, #article .art_box .box h3+ul {
    margin-top: 0.5em;
  }
  /* 孫タイトル */
  #article .art_box .box h4 {
    font-weight: 400;
    font-size: 1.1em;
    margin: 1.5em 0.5em 0.5em;
    padding: 0.3em 0.5em;
  }
  #article .art_box .box h4+p, #article .art_box .box h4+ul {
    margin-top: 0.5em;
  }
  /* URL等見出し */
  #article .art_box .box h5 {
    font-weight: 400;
    font-size: 1.1em;
    margin: 2em 1em 0.3em;
    padding: 0.3em 0.75em;
  }
  /* リンク */
  #article .art_box .box h5 a {
    color: #3333FF;
    margin-bottom: 1em;
  }
  /* written
   -------------------------------------- */
  /* 書いてあること */
  #article .art_box .box .written {
    background-color: #fff;
    width: 100%;
    margin: 3em auto 0 auto;
    padding: 10px;
  }
  #article .art_box .box .written * {
    line-height: 1.6em;
    color: #555;
  }
  #article .art_box .box .written h2 {
    font-size: 1.3em;
    margin: 0;
    border: 0;
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
    background-color: #fff;
  }
  #article .art_box .box .written h2:before {
    content: '';
    position: absolute;
    bottom: -5px;
    display: inline-block;
    width: 90px;
    height: 2px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #777;
    border-radius: 2px;
  }
  #article .art_box .box .written ul:first-of-type {
    font-weight: 400;
    margin: 1em;
    text-align: left;
  }
  /* text
   -------------------------------------- */
  /* 記事本文 */
  #article .art_box .box p {
    line-height: 1.8em;
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 1em;
    margin-left: 1em;
    margin-right: 0.5em;
  }
  /* p 1字下げ */
  #article .art_box .box p.p1 {
    margin-left: 2em;
  }
  /* p 2字下げ */
  #article .art_box .box p.p2 {
    margin-left: 3em;
  }
  /* p 3字下げ */
  #article .art_box .box p.p3 {
    margin-left: 4em;
  }
  /* p 4字下げ */
  #article .art_box .box p.p4 {
    margin-left: 5em;
  }
  /* p 5字下げ */
  #article .art_box .box p.p5 {
    margin-left: 6em;
  }
  /* quote
   -------------------------------------- */
  /* 引用部分(ダブルクォート記号なし) */
  #article .art_box .box .quote {
    position: relative;
    padding: 10px 15px;
    box-sizing: border-box;
    font-style: italic;
    background: #efefef;
    margin: 0 auto;
    width: 90%;
  }
  /* quote(double-quoted)
   -------------------------------------- */
  /* 引用部分(ダブルクォート記号あり) */
  #article .art_box .box .quote-marked {
    position: relative;
    padding: 10px 15px 10px 30px;
    box-sizing: border-box;
    font-style: italic;
    background: #efefef;
    margin: 0 auto;
    width: 90%;
  }
  /* related service
   -------------------------------------- */
  /* 関連サービス */
  #article .art_box .box .related {
    width: 90%;
    margin: 5em auto;
    padding: 1em 2em;
    text-align: center;
    border: 1px solid #777;
  }
  /* 関連サービス 見出し */
  #article .art_box .box .related h5 {
    position: relative;
    display: inline-block;
    margin: 0.5em 0 1.3em;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 16px;
    background: #FFF;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
  }
  #article .art_box .box .related h5:before {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 17%;
    margin-left: 0px;
    border: 12px solid transparent;
    border-top: 12px solid #FFF;
    z-index: 2;
  }
  #article .art_box .box .related h5:after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 17%;
    margin-left: -2px;
    border: 14px solid transparent;
    border-top: 14px solid #ccc;
    z-index: 1;
  }
  #article .art_box .box .related p {
    margin: 0 auto;
    font-size: 1em;
    color: #555;
    line-height: 1.6em;
  }
  #article .art_box .box .related img {
    display: block;
    margin: 1em auto;
    width: 90%;
    box-shadow: 3px 3px 8px 2px rgba(96, 96, 96, 0.3);
  }
}
