/*
Theme Name: Historia
Version: 1.0
Author: Historia
Author URI: Historia
*/

.str-sidemenu-body-footer .has-bg + .has-bg {
  margin-top:  50px;
}
button#search_btn2 img {
  position: absolute;
  right: 16px;
  top: 12px;
}
.input_wrapper {
position: relative;
}
.l-home-article-banner-inner img, .l-home-article-banner-inner.min img {
   width: 100%;
}
.l-home-article-banner-inner.min , .l-home-article-banner-inner {
  background: none;
}
.l-home-serialization_header h7 {
  width:  100%;
}

body.auther .l-article-body-inner-section-frame h7 p a {
  color: #179eed;
  text-decoration: underline;
}
body.auther .l-article-body-inner-section-frame h7 p a[target='_blank']:after {
  content: '';
  display: inline-table;
  width: 15px;
  height: 15px;
  margin-right: 3px;
  margin-left: 4px;
  background: url(/cms/wp-content/themes/historia/assets/img/common/popicon.svg) no-repeat center/contain;
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}

body.ranking .l-home-ranking-innenr-side a:nth-child(1) {
  width: 15%!important;
}
body.ranking .l-home-ranking-innenr-side a:nth-child(2) {
  width: 21%!important;
}
body.ranking .l-home-ranking-innenr-side a:nth-child(3) {
  width: 24%!important;
}

#form input[type="submit"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
#search_modal #pc-search_btn2 {
  width: 240px;
}

body.glossary .mod-article-frame a {
  margin-right: 20px;
}

body.howto .t-light a:not(.cirle-arrow-wrapper) {
  color: #179eed;
  font-weight: normal;
  text-decoration: underline;
}
body.howto .t-light a:not(.cirle-arrow-wrapper):hover {
  opacity: 1 !important;
  color: #38c6aa;
}
body.howto .t-light a[target='_blank']:not(.cirle-arrow-wrapper):after, body.howto #challenge .has-inner-link-slide a[target='_blank']:after {
  content:  '';
  display: inline-table;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-right: 3px;
  margin-left: 4px;
  background: url(/cms/wp-content/themes/historia/assets/img/common/popicon.svg) no-repeat center/contain;
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}
body.howto .t-light a[target='_blank']:not(.cirle-arrow-wrapper):hover:after, body.howto #challenge .has-inner-link-slide a[target='_blank']:hover:after {
  background: url(/cms/wp-content/themes/historia/assets/img/common/popicon_hover.svg) no-repeat center/contain;
}
body.howto #challenge .has-inner-link-slide p {
  font-weight:  normal;
  font-size: 15px;
}
body.howto #challenge .has-inner-link-slide p + p {
  margin-top: 15px;
}

body.article .l-article-body-inner-section-caption-inner {
  height: auto;
}
body.article .l-article-body-inner-section-frame h6 p {
  font-size: 1.4rem;
}
body.article .l-article-body-inner-section h6 ul li, body.article .l-article-body-inner-section h7 ul li {
  position: relative;
  align-items: center;
}
body.article .l-article-body-inner video {
  display:  block;
}
body.article .mod-popup_image-double .my-gallery img {
  width:  100%;
}
body.article .my-gallery + .my-gallery {
  margin-left: 12px;
}
body.article .mod-popup_image-double .my-gallery {
  width: calc(50%);
}
body.article .l-home-article.recommend .related-thumb-inner {
  width: 180px;
}
body.article .mod-auther-text a {
  text-decoration:  underline;
}
body.article .mod-auther-text a:hover {
  opacity: 1 !important;
  color: #38c6aa;
}
body.article .mod-auther-text a:hover[target='_blank']:not(.no-ico):after {
  content:  '';
  background: url(/cms/wp-content/themes/historia/assets/img/common/popicon_hover.svg) no-repeat center/contain;
}
body.article .mod-auther-text a[target='_blank']:not(.no-ico):after {
  content:  '';
  display: inline-table;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-right: 3px;
  margin-left: 4px;
  background: url(/cms/wp-content/themes/historia/assets/img/common/popicon_g.svg) no-repeat center/contain;
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}
body.article .l-article-body-inner-section h6.mod-auther p {
  margin-top: 0;
}
body.article .mod-table-wrapper th, .mod-table-wrapper td {
  height: 43px!important;
}
body.article .mod-table-wrapper tbody {
  overflow: scroll;
}
body.article .l-article-body-inner-section-table h1, .l-article-body-inner-section-table h2, .l-article-body-inner-section-table h3, .l-article-body-inner-section-table h4 {
  display: flex;
  margin-top: calc(25px - (((1.1rem * 1.5) - 1.1rem) / 2));
  font-weight: bold;
  font-size:  1.7rem;
  line-height: 1.8;
  margin-bottom: 15px;
}
body.article .l-article-body-inner-section-table h1:before, .l-article-body-inner-section-table h2:before, .l-article-body-inner-section-table h3:before, .l-article-body-inner-section-table h4:before {
  content: '●';
  position: relative;
  width: auto;
  margin-right: 5px;
  color: #ffeb52;
}
body.article .mod-table-wrapper caption {
  display: flex;
  margin-top: calc(25px - (((1.1rem * 1.5) - 1.1rem) / 2));
  font-weight: bold;
}

@media screen and (min-width: 780px) {
  body.article .l-article-body-inner-section-map .my-gallery{
    margin-right: 20px;
    max-width: 250px;
  }
}

@media screen and (max-width: 780px) {
  .l-home-article-banner-inner.min img {
    margin-left: 0;
  }
  .l-home-article-banner-inner.min {
    margin-top: 40px;
  }

  body.ranking .l-home-article-banner-inner.min {
    height:  auto;
    width:  100%;
    margin-left: 0;
  }
}