@import url("/common/css/eduzine/rensai.css");

#head {
  margin-bottom: 10px;
}
.article_bg {
  background: url("/common/img/eduzine/bg/body_index.jpg") repeat-x;
}
body.article_bg {
  background-position: left 90px;
}
.contentstitle_h1 {
  background: url("/common/img/eduzine/titlebar/h1_kkako3.png") no-repeat center;
  margin-bottom: 2px;
  height: 90px;
  border-bottom: 0;
}
.contentsleadtext {
  color: #291200;
  text-align: center;
  padding-top: 0;
  font-weight: bold;
}
.article_detail .head .articlesubtitle {
  font-size: 20px;
  font-weight: bold;
  color: #2c0f00;
}

/* pc */
.article_detail .maintext img {
  display: block;
  text-align: center !important;
  margin: 1rem auto;
  border: 1px solid #ccc;
  box-sizing: border-box;
  max-width: 100%;
}
.caption {
  font-size: 14px;
  display: inline-block;
  margin-top: -0.5rem;
}
.article_detail .head .articlenumber,
.article_detail .head .articlesubtitle {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: #2c0f00;
}
.article_detail .head .articlenumber {
  margin-right: 0.5em;
}
.article_detail .maintext .lead {
  position: relative;
  margin-left: 90px;
  min-height: 60px;
  padding: 1em;
  background-color: #D2FFA2; /*#ffe6f0*/
  border-radius: 8px;
  margin-bottom: 10px;
}
.article_detail .maintext .lead p.article_text {
  margin-top: 0;
  line-height: 1.9rem;
}
.article_detail .maintext .lead:before {
  content: "";
  background-image: url("/db/eduzine/kkako3/icon_tc.png");
  background-size: contain;
  position: absolute;
  width: 69px;
  height: 85px;
  left: -90px;
  bottom: 0;
  margin-top: -8%;
}
.article_detail .maintext .lead::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: -17px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 20px solid #D2FFA2;/*#ffe6f0*/
}

.article_detail .maintext h2.heading2 {
  position: relative;
  font-size: 20px;
  background-color: #e2ff8b;
  color: #002125;
  background-size: auto;
  padding-left: 63px;
  line-height: 1.3em;
  padding-top: 8px;
  padding-bottom: 2px;
}
.article_detail .maintext h2.heading2::before {
  display: block;
  content: url("/db/eduzine/kkako3/h2_icon.png");
  width: 59px;
  height: 48px;
  position: absolute;
  top: 50%;
  margin-top: -4%;
  left: 0;
}
.article_detail .maintext h3.heading3 {
  font-size: 20px;
}
.article_detail .maintext span.underline {
  font-weight: bold;
  font-size: 17px;
  letter-spacing: 0.1rem;
  background: linear-gradient(transparent 60%, #ccfb71 50%);
}
.article_detail .maintext .summary {
  color: #191717;
  background: #fbffd2;
  border-radius: 10px;
  padding: 15px;
  margin: 0.5rem 0;
}
.article_detail .maintext .summary p.article_text {
  margin-top: 0;
}
.article_detail .maintext .summary ul.keywords {
  margin-left: 0;
}
.article_detail .maintext .summary ul.keywords li {
  list-style: none;
  display: inline-block;
  min-width: 13em;
  margin-left: 1em;
}
.article_detail .maintext .summary ul.keywords li::before {
  position: relative;
  top: -1px;
  left: -5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: #0f0f0f;
}
.article_detail .maintext .summary span.etc {
  padding-left: 1em;
}
.article_detail .maintext .issues {
  border: 2px dotted #b3b0b0;
  padding: 10px !important;
  margin: 1rem 0;
}
.article_detail .maintext .issues p {
  margin-top: 0;
}
.article_detail .maintext .annotation {
  font-size: 0.9rem;
}
.article_detail .maintext a.link {
  text-decoration: none;
  margin: auto 0.5em;
}
.author_profile {
  background-color: #e6f4fd;
  padding-top: 15px;
}
.img-float-right-300 { /*imgの上のdiv class="center"に一緒につける*/
  width: 300px;
  float: right;
  margin-left: 10px;
  margin-bottom: 10px;
}
.img-float-left-300 {
  width: 300px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-top: 0;
}
.img-float-right-300 img,
.img-float-left-300 img {
  display: block;
  margin: 0;
  width: 100%;
}
/*右寄せ左寄せ画像につくキャプションの調整*/
.article_detail .maintext .img-float-right-300 p,
.article_detail .maintext .img-float-left-300 p {
  font-size: 11px;
  text-align: left;
  margin-top: 0 !important;
  line-height: 1.4em;
}

/*	mobile	*/
body #container .article_bg {
  padding-top: 0 !important;
}
body #container .article_bg .contentstitle_h1 {
  background: url("/common/img/eduzine/titlebar/h1_kkako3_mobile.png") no-repeat center !important;
  background-color: #fff !important;
  height: 65px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  background-size: contain !important;
  border-bottom: none;
}
body #container .article_bg .contentsleadtext {
  color: #000000;
  height: auto;
  margin: 10px;
  text-indent: 0;
  line-height: 1.25;
  text-align: left;
}
body #container .article_bg .maintext {
  margin-top: 10px;
}
body #container .article_bg .maintext .article_text img {
  max-width: 96%;
}
body #container .article_bg .maintext h2.heading2 {
  width: auto;
  font-size: 16px;
  line-height: 1.3rem;
  margin: 0;
}
body #container .article_bg .maintext h3.heading3 {
  font-size: 17px;
}
body #container .article_bg .maintext .caption {
  font-size: 11px;
  margin-top: 5px;
}
body #container .article_bg .maintext .image_left {
  float: none;
  max-width: 100%;
  margin-right: inherit;
}
body #container .article_bg .maintext .image_right {
  float: none;
  max-width: 100%;
  margin-left: inherit;
}
body #container .article_bg .maintext .img-float-right-300 {
  width: 100%;
  max-width: 500px;
  float: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}
body #container .article_bg .maintext .img-float-left-300 {
  width: 100%;
  max-width: 500px;
  float: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}
body #container .article_bg .maintext .img-float-right-300 img,
body #container .article_bg .maintext .img-float-left-300 img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
}
body #container .article_bg .maintext .img-float-right-300 .caption,
body #container .article_bg .maintext .img-float-left-300 .caption {
  font-size: 11px;
  margin-top: 5px;
}
body #container .article_bg .maintext .lead:before {
  left: -85px;
  width: 63px;
  height: 78px;
}
body #container .article_bg .article_detail .maintext .lead p.article_text {
  line-height: 1.5rem;
}
body #container .article_bg .article_detail .maintext .lead::after {
  left: -17px;
}
body #container .article_bg .article_detail .maintext span.underline {
  font-size: 14px;
  letter-spacing: normal;
  padding-bottom: 0;
}
body #container .article_bg .article_detail .maintext h2.heading2 {
  padding-left: 50px;
}
body #container .article_bg .article_detail .maintext h2.heading2::before {
  margin-top: -5%;
}
body #container .article_bg .article_detail .maintext .summary ul.keywords li {
  min-width: 7em;
}
body #container .article_bg .article_detail .maintext .summary ul.keywords li::before {
  position: relative;
  top: -1px;
  left: -5px;
  width: 9px;
  height: 9px;
}
body #container .article_bg .article_detail .maintext h2.heading2::before {
  content: "";
  display: inline-block;
  width: 45px;
  height: 37px;
  background-image: url(/db/eduzine/kkako3/h2_icon.png);
  background-size: contain;
  vertical-align: middle;
}
