@charset "utf-8";

/*
 * 枠
 * エディタで設定するcss
 * 記事
 * 目次
 * タグ
 * ライター
 * このライターの記事一覧ボタン
 * MY CLIPボタン
 * SHARE ON
 * おすすめ記事
 * 記事内アイテム情報連携
 */

/* リンクカード */
.blogcard {
  margin: 10px 0;

  * {
    box-sizing: border-box;
    color: black;
  }
  a {
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    &:hover {
      opacity: 0.6;
      text-decoration: none !important;
    }
  }
}
.blogcard_content {
  width: 70%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
}
.blogcard_thumbnail {
  width: 30%;
  img {
    width: 100%;
    max-height: 130px;
    object-fit: contain;
    object-position: right;
  }
}
.blogcard_title,
.blogcard_excerpt {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.blogcard_title {
  font-size: 12px;
  font-weight: bold;
}
.blogcard_excerpt {
  /* -webkit-line-clamp: 1; */
}
.blogcard_excerpt,
.blogcard_link {
  font-size: 10px;
}

/* =========================================================
枠
========================================================= */
.mag-container {
  width: 990px;
}

.mag-main {
  width: 640px;
}

.mag-sub {
  width: 270px;
}

.breadcrumbs {
  margin: 20px auto 50px !important;
}

/* =========================================================
エディタで設定するcss
========================================================= */
.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

/* =========================================================
記事
========================================================= */

.article {
  position: relative;
  margin: 0 0 80px;
}

.article-description .mag-category-label {
  width: 130px;
  display: inline-block;
  font: 500 21px/1.1 "Jost", sans-serif !important;
  text-align: center;
  position: relative;
}
.article-description .mag-category-label span {
  position: relative;
}
.article-description .mag-category-label::before {
  content: "";
  width: 100%;
  height: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.article-date {
  font: 400 16px "Jost", sans-serif;
  margin: 0 0 0 10px;
}

.article-eyecatch {
  margin: 0 0 30px;
}

.article-title {
  font-size: 30px;
  font-weight: 500;
  word-break: break-all;
  margin: 25px 0 15px;
}

.article h2 {
  font-size: 20px;
  font-weight: 500;
  padding: 0 0 5px;
  margin: 50px 0 10px;
  border-bottom: 1px solid #ccc;
}
.article h3 {
  font-size: 18px;
  font-weight: 500;
}

.article > img {
  margin: 20px 0;
}
.article img {
  max-width: 640px;
  height: auto;
  vertical-align: top;
}
.article p {
  font-size: 16px;
  line-height: 1.7;
  margin: 20px 0;
}
.article-content a {
  text-decoration: none;
}
.article-content p a::after {
  content: "";
  width: 9px;
  height: 11px;
  background: url(../img/arrow-right-small.png);
  display: inline-block;
  margin: 0 0 0 10px;
}
.article-content p a.no-arrow::after {
  content: none;
}

.article-content a:hover {
  text-decoration: underline;
}
.article-content a:hover img {
  opacity: 0.6;
}

/* =========================================================
目次
========================================================= */
#toc_container {
  box-sizing: border-box;
  padding: 15px 15px 5px !important;
  margin: 20px 0 50px !important;
}
.toc_title {
  font: 500 16px "Jost", sans-serif !important;
  text-align: left !important;
  margin: 0 0 10px !important;
}
.toc_list li {
  font-size: 16px;
  margin: 0 0 10px !important;
}
.toc_list li a {
  text-decoration: none !important;
}
.toc_list li a:hover {
  opacity: 0.6;
}

/* =========================================================
タグ
========================================================= */

.article-tag {
  border-top: 1px solid #ccc;
  padding: 15px 0 0;
  margin: 50px 0 0;
}
.article-tag-title {
  font: 500 15px "Jost", sans-serif;
  line-height: 1.7;
  display: inline;
}
.article-tag ul {
  display: inline;
}
.article-tag ul li {
  display: inline;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 10px 0 0;
}
.article-tag ul li a {
  text-decoration: none;
}
.article-tag ul li a:hover {
  text-decoration: underline;
}

/* =========================================================
ライター
========================================================= */
.writer {
  text-align: center;
  margin: 0 0 70px;
}

.writer-image {
  width: 74px;
  height: 74px;
  display: inline-block;
}
.writer-image img {
  width: 74px;
  height: 74px;
  vertical-align: top;
  border-radius: 50%;
}

.writer-name {
  font-size: 16px;
  font-weight: 500;
  margin: 15px 0;
}

.writer-sns {
  letter-spacing: -0.4em;
  text-align: center;
  margin: 0 0 15px;
}
.writer-sns-ico {
  width: 34px;
  display: inline-block;
  margin: 0 6px;
}
.writer-sns-ico a img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.writer-sns-ico a:hover {
  opacity: 0.6;
}

.writer-description {
  font-size: 13px;
  text-align: left;
  line-height: 2.2;
  margin: 0 0 20px;
}

/* =========================================================
このライターの記事一覧ボタン
========================================================= */
.writer-button {
  margin: 0 0 70px;
}
.writer-button a {
  width: 220px;
  height: 36px;
  display: inline-block;
  border: 1px solid #000;
  background: #fff;
  font-size: 14px;
  line-height: 36px;
  text-decoration: none;
}
.writer-button a:hover {
  opacity: 0.6;
}
.writer-button a::after {
  content: "";
  width: 9px;
  height: 11px;
  display: inline-block;
  vertical-align: middle;
  background: url(../img/arrow-right-small.png) no-repeat;
  margin: -2px 0 0 8px;
}

/* =========================================================
MY CLIPボタン
========================================================= */
.writer-myclip-button {
  text-align: center;
  margin: 0 0 40px;
}
.writer-myclip-button a {
  width: 220px;
  height: 40px;
  display: inline-block;
  border: 1px solid #000;
  background: #fff;
  font: 500 24px "Jost", sans-serif;
  line-height: 40px;
  text-decoration: none;
}
.writer-myclip-button a::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  background-image: url(../img/ico-heart.png);
  background-repeat: no-repeat;
  background-size: contain;
  margin: -4px 10px 0 0;
}
.writer-myclip-button a.active::before {
  background-image: url(../img/ico-heart-on.png);
}

/* =========================================================
SHARE ON
========================================================= */
.mag-share-link {
  text-align: center;
  margin: 0 0 45px;
}
.mag-share-link-title {
  font: 500 21px "Jost", sans-serif;
  margin: 0 0 10px;
}
.mag-share-link ul li {
  width: 46px;
  display: inline-block;
  margin: 0 15px;
}
.mag-share-link ul li a img {
  width: 100%;
  height: auto;
  vertical-align: top;
}
.mag-share-link ul li a:hover {
  opacity: 0.6;
}

/* =========================================================
おすすめ記事
========================================================= */
.mag-recommend-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 20px;
}
.mag-recommend-title span {
  display: block;
  font: 500 25px "Jost", sans-serif;
  margin: 0 0 5px;
}

.mag-oneline-item .mag-category-label {
  width: 90px;
  font: 500 14px/1.2 "Jost", sans-serif !important;
  margin: 0 0 15px;
}

/* =========================================================
記事内アイテム情報連携
========================================================= */
.rcmd-item {
  overflow: hidden;
  text-align: left;
  margin: 50px 0;
}
.rcmd-item__img {
  width: 240px;
  float: left;
  margin: 0 20px 0 0;
}
.rcmd-item__img a {
  position: relative;
  display: block;
  text-decoration: none;
}
.rcmd-item__img a:before {
  content: "BUY";
  width: 100px;
  height: 26px;
  font: 400 18px "Lato", sans-serif;
  color: #666;
  z-index: 10;
  text-align: center;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  top: -14px;
  left: -35px;
  padding: 30px 0 0;
}
body.fashion .rcmd-item__img a:before {
  background: #f3d5d5;
}
body.beauty .rcmd-item__img a:before {
  background: #f2d5f2;
}
body.sports .rcmd-item__img a:before {
  background: #d5f2f2;
}
body.life .rcmd-item__img a:before {
  background: #f2e4d5;
}
body.babykids .rcmd-item__img a:before {
  background: #d5f2d5;
}
body.event .rcmd-item__img a:before {
  background: #d5d5f2;
}
body.food .rcmd-item__img a:before {
  background: #f2f2d5;
}

.rcmd-item__img a::after {
  content: none !important;
}

.rcmd-item__img img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.rcmd-item__img a:hover {
  opacity: 0.6;
}

.rcmd-item-desc {
  padding: 30px 0 0;
}
.rcmd-item__name {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}
.rcmd-item__price {
  font-size: 16px;
  margin: 0 0 35px;
}
.rcmd-item__txt {
  font-size: 13px;
  line-height: 1.7;
}
.rcmd-item__txt br {
  display: none;
}
.rcmd-item__btn a {
  width: 160px;
  height: 32px;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: #5e5e5e;
  line-height: 32px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #c2c2c2;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f4f4f4, #f0f0f0);
  background: #f4f4f4;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2),
    inset 0px 1px 0px rgba(255, 255, 255, 0.4);
  margin: 20px 0 0;
}
.rcmd-item__btn a:hover {
  background: #fafafa;
}

.insert_item {
  display: none;
}
