@charset "UTF-8";

/*
 記事テンプレート
*/

/*hamburger*/

@media screen and (max-width:966px){
	.right-wrap {position: fixed; right: 20px; top: 20px;}
}


#article-detail .layout {margin: 0 auto 85px;}
#article-detail .layout-left {
  background: white;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  width: inherit;
  width: 100%;
  margin-right: 43px;
  margin-left: 0;
  padding: 40px 20px 0 20px;
}

@media screen and (max-width:966px){
	#article-detail .layout-right hr {border: none; margin-top: 20px;}
}

/*目次*/
.hid2 {margin-left: 0rem; border-bottom: 1px solid #c4c5c6;}
.hid2:last-child {border: none;}

.view-articles {
    padding-top: 29px;
}
.view-articles h1 small {
    white-space: nowrap;
}
.view-articles .pagination {
    padding: 29px 0;
}
.view-articles .pagination > li > a,
.view-articles .pagination > li > span {
    height: 35px;
    width: 35px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #fff;
    color: var(--user-color-main);
    border-color: var(--user-color-main);
    margin: 0 5px;
}
.view-articles .pagination > li.active > a,
.view-articles .pagination > li.active > span {
    background-color: var(--user-color-main);
    color: #fff;
}

.view-articles h1,
#article-detail .layout-left h1 {
    font-size: 34px;
    font-weight: bold;
    padding-bottom: 31px;
    margin-bottom: 37px;
    position: relative;
}
@media screen and (max-width:766px){
    .view-articles h1,
    #article-detail .layout-left h1 {
        font-size: 28px;
    }
}
.view-articles h1.headline:before,
#article-detail .layout-left h1.headline:before {
    width: 100%;
    height: 2px;
    background: #e6e6e6;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
}

.view-articles h1.headline:after,
#article-detail .layout-left h1.headline:after {
    width: 85px;
    height: 2px;
    background: var(--user-color-main);
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
}

/* 目次 */
#article-detail .layout .container .index-text {text-align: center; font-weight: bold; border-bottom: 2px solid; color: var(--user-color-main); padding-bottom: 10px; width: 92%; margin: 10px auto 0;}
#article-detail .layout .container .index-area {padding: 10px 0; border: none;}

/* テキスト */
#article-detail .layout .container h2:not([class]) {font-size: 20px; margin-bottom: 10px; border-bottom: 3px solid; padding-bottom: 10px; font-weight: bold; background: none;}
#article-detail .layout .container p {font-size: 14px;}
/* エディタ用 */
#article-editor h2:not([class]) {font-size: 20px; margin-bottom: 10px; border-bottom: 3px solid; padding-bottom: 10px; font-weight: bold; background: none;}
#article-editor p {font-size: 14px;}

/* 画像 */
#article-detail .layout .container img {border-radius: 3px; margin: auto;}
#article-detail .layout .container img.image-size-big {width: 100%; margin: 50px 0; height: 350px; object-fit: cover;}
#article-detail .layout .container img.image-size-sumbnail {width: 100px; height: 100px; object-fit: cover; border-radius: 50%;}
/* エディタ用 */
#article-editor img {border-radius: 3px; margin: auto;}
#article-editor img.image-size-big {width: 100%; margin: 50px 0; height: 350px; object-fit: cover;}
#article-editor img.image-size-sumbnail {width: 100px; height: 100px; object-fit: cover; border-radius: 50%;}

/* バルーン */
#article-detail .layout .container .add-section-baloon-wrapper {margin: 30px auto;}
#article-detail .layout .container .baloon-right {justify-content: flex-end;}
#article-detail .layout .container .baloon-right .add-section-baloon-text {width: calc(80% - 120px);}
#article-detail .layout .container .baloon-left {justify-content: flex-start;}
#article-detail .layout .container .baloon-left .add-section-baloon-text {width: calc(80% - 120px);}
/* エディタ用 */
#article-editor .add-section-baloon-wrapper {margin: 30px auto;}
#article-editor .baloon-right {justify-content: flex-end;}
#article-editor .baloon-right .add-section-baloon-text {width: calc(80% - 120px);}
#article-editor .baloon-left {justify-content: flex-start;}
#article-editor .baloon-left .add-section-baloon-text {width: calc(80% - 120px);}

/* CTA */
#article-detail .layout .container .btn {display: block; font-size: 16px; position: relative; outline: none;cursor: pointer; text-align: center; padding: 18px 0;
  position: relative; z-index: 2; color: #fff; margin: 30px auto; max-width: 360px; width: 100%; font-weight: bold; position: relative;}
#article-detail .layout .container .btn i {position: absolute; top: 50%; right: 1%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%); font-size: 16px;}
/* エディタ用 */
#article-editor .btn {display: block; font-size: 16px; position: relative; outline: none;cursor: pointer; text-align: center; padding: 18px 0;
  position: relative; z-index: 2; color: #fff; margin: 30px auto; max-width: 360px; width: 100%; font-weight: bold; position: relative;}
#article-editor .btn i {position: absolute; top: 50%; right: 1%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%); font-size: 16px;}

@media screen and (max-width:766px){
	#article-detail .layout .container img.image-size-big {height: 200px; margin: 10% 0;}
	#article-detail .layout .container img.image-size-sumbnail {width: 80px; height: 80px;}
	#article-detail .layout .container .baloon-right .add-section-baloon-text { width: calc(100% - 100px);}
	#article-detail .layout .container .baloon-left .add-section-baloon-text { width: calc(100% - 100px);}
	/* エディタ用 */
	#article-editor img.image-size-big {height: 200px; margin: 10% 0;}
	#article-editor img.image-size-sumbnail {width: 80px; height: 80px;}
	#article-editor .baloon-right .add-section-baloon-text { width: calc(100% - 100px);}
	#article-editor .baloon-left .add-section-baloon-text { width: calc(100% - 100px);}
}

/*サイドバー*/
#article-categories .header, #article-news .header {font-weight: bold; padding: 12px 19px; color: white; line-height: 1.5rem; color: #fff !important; margin-bottom: 0 !important;}
#article-detail .layout #article-categories, #article-detail .layout #article-news {padding: 0; margin: 0 0 30px 0; background: #fff; border: none; box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);}
#article-detail .layout-right .categories {padding: 15px;}
#article-detail .layout #article-categories .categories .category { background-color: var(--user-color-accent); color: #fff; font-weight: bold; box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.15); text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
#article-detail .layout #article-news .news {padding: 15px; }
#article-detail .layout #article-news .news .new {background: none; border-bottom: 1px solid #c4c5c6; border-radius: 0;}
#article-detail .layout #article-news .news .new:last-child {border: none;}
.index-area .no_str {font-size: 15px; color: white; padding: 3px 10px; border-radius: 3px; margin-right: 14px;font-weight: bold;}


/*
  関連記事
*/
#related-article-list {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  margin-top: -30px;
  margin-bottom: 30px;
  background-color: #FFF;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}
.related-article-list-header {
  font-size: large;
  font-weight: bold;
  padding: 3px 0;
  margin-bottom: 10px;
  border-bottom: solid 2px #38b46a/* var(--user-color-main) */;
}
.related-article {
  display: flex;
  width: 100%;
}
.related-article:hover {
  opacity: .7;
}
.related-article-left {
  width: 33%;
}
.related-article-right {
  width: 66%;
  padding-left: 2rem;
}
.related-article-kv {
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
  min-height: 150px;
}
.related-article-hr {
  border-color: #ccc/* var(--user-color-main) */;
  margin: 20px 0; 
}
.related-article-title {
  font-size: large;
  font-weight: bold;
}
.related-article-description {
  font-size: small;
  color: #aaa;
  padding: 10px 0;
}
.related-article-categories {
  display: flex;
  padding: 5px;
}
.related-article-category {
  background-color: #38b46a;
  color: #FFF;
  padding: 3px 5px;
  margin-right: 1rem;
  border-radius: 3px;
  display: inline-block;
}

@media screen and (max-width:766px) {
  .related-article-list-layout {
    margin: 10px;
  }
  #related-article-list {
    margin-top: -80px;
    padding: 20px;
  }
  .related-article-kv {
    min-height: 120px;
    max-height: 120px;
  }
  .related-article-list-header {
    font-size: 14px;
  }
  .related-article-title {
    font-size: 12px;
  }
  .related-article-description {
    font-size: 12px;
  }
  .related-article-categories {
    display: block;
  }
  .related-article-category {
    font-size: x-small;
    margin-bottom: 3px;
    margin-right: 0;
  }
}
