@charset "utf-8";

/* ========================================================================
   ショップブログ
   店舗が書いたブログを、コラムページ（/column）・ブログ一覧（/column/blog）・
   ショップページ（/shop/{id}）で共通に表示するためのスタイル。
   件数によって .shop_blog_list に is_one / is_two / is_many が付く。
   ======================================================================== */

.shop_blog_list {
  width: 100%;
}

.shop_blog_item {
  display: block;
}

.shop_blog_thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: #F2F2F2;
  position: relative;
}

.shop_blog_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  -webkit-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

@media only screen and (min-width: 960px) {
  .shop_blog_item:hover .shop_blog_thumb img {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
  }
}

.shop_blog_new {
  position: absolute;
  top: 16px;
  left: -8px;
  width: 48px;
}

.shop_blog_new img {
  width: 100%;
  height: auto;
}

.shop_blog_shop {
  display: inline-block;
  padding: 4px 20px;
  border-radius: 30px;
  background-color: #323335;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #FFF;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

@media only screen and (max-width: 640px) {
  .shop_blog_shop {
    padding: 4px 12px;
    font-size: 13px;
  }
}

@media only screen and (min-width: 960px) {
  a.shop_blog_shop:hover {
    opacity: 0.7;
  }
}

.shop_blog_title {
  padding: 0 0 12px;
  border-bottom: 2px dashed #323335;
  margin: 0 0 12px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #323335;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 30px;
  max-height: calc(30px * 2 + 14px);
}

@media only screen and (max-width: 640px) {
  .shop_blog_title {
    font-size: 16px;
    line-height: 26px;
    max-height: calc(26px * 2 + 14px);
  }
}

.shop_blog_text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #323335;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 28px;
  max-height: calc(28px * 2);
  margin: 0 0 10px;
}

@media only screen and (max-width: 640px) {
  .shop_blog_text {
    font-size: 13px;
    line-height: 26px;
    max-height: calc(26px * 2);
  }
}

.shop_blog_date {
  font-family: 'BLACKJAR', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #838383;
  line-height: 1.5;
  text-align: right;
}

@media only screen and (max-width: 640px) {
  .shop_blog_date {
    font-size: 15px;
  }
}

/* ---- 1本だけ：横並びの大きな1枚 ---- */

.shop_blog_list.is_one .shop_blog_item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
  padding: 24px;
  border: 1px solid #E4E4E4;
  border-radius: 10px;
  background-color: #FFF;
}

.shop_blog_list.is_one .shop_blog_thumb {
  width: 52%;
  height: 320px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.shop_blog_list.is_one .shop_blog_body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 48%;
  padding: 8px 0 8px 32px;
}

.shop_blog_list.is_one .shop_blog_title {
  font-size: 24px;
  line-height: 40px;
  -webkit-line-clamp: 3;
  max-height: calc(40px * 3 + 14px);
}

.shop_blog_list.is_one .shop_blog_text {
  -webkit-line-clamp: 4;
  max-height: calc(28px * 4);
}

@media only screen and (max-width: 959px) {
  .shop_blog_list.is_one .shop_blog_item {
    display: block;
    padding: 16px;
  }

  .shop_blog_list.is_one .shop_blog_thumb {
    width: 100%;
    height: 220px;
    margin: 0 0 20px;
  }

  .shop_blog_list.is_one .shop_blog_body {
    width: 100%;
    padding: 0;
  }

  .shop_blog_list.is_one .shop_blog_title {
    font-size: 18px;
    line-height: 30px;
    max-height: calc(30px * 3 + 14px);
  }
}

/* ---- 2本：2カラム ---- */

.shop_blog_list.is_two {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.shop_blog_list.is_two .shop_blog_item {
  width: calc((100% - 40px) / 2);
  margin: 0 40px 0 0;
}

.shop_blog_list.is_two .shop_blog_item:nth-of-type(2n) {
  margin: 0;
}

.shop_blog_list.is_two .shop_blog_thumb {
  height: 280px;
  margin: 0 0 20px;
}

.shop_blog_list.is_two .shop_blog_title {
  font-size: 20px;
  line-height: 34px;
  max-height: calc(34px * 2 + 14px);
}

@media only screen and (max-width: 640px) {
  .shop_blog_list.is_two {
    display: block;
  }

  .shop_blog_list.is_two .shop_blog_item {
    width: 100%;
    margin: 0 0 32px;
  }

  .shop_blog_list.is_two .shop_blog_item:last-child {
    margin: 0;
  }

  .shop_blog_list.is_two .shop_blog_thumb {
    height: 200px;
  }

  .shop_blog_list.is_two .shop_blog_title {
    font-size: 17px;
    line-height: 28px;
    max-height: calc(28px * 2 + 14px);
  }
}

/* ---- 3本以上：3カラムのグリッド ---- */

.shop_blog_list.is_many {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 -40px;
}

.shop_blog_list.is_many .shop_blog_item {
  width: calc((100% - 80px) / 3);
  margin: 0 40px 40px 0;
}

.shop_blog_list.is_many .shop_blog_item:nth-of-type(3n) {
  margin: 0 0 40px 0;
}

.shop_blog_list.is_many .shop_blog_thumb {
  height: 200px;
  margin: 0 0 20px;
}

@media only screen and (max-width: 640px) {
  .shop_blog_list.is_many {
    display: block;
    margin: 0;
  }

  .shop_blog_list.is_many .shop_blog_item,
  .shop_blog_list.is_many .shop_blog_item:nth-of-type(3n) {
    width: 100%;
    margin: 0 0 20px;
  }

  .shop_blog_list.is_many .shop_blog_item:last-child {
    margin: 0;
  }
}

/* ---- 空表示 ---- */

.shop_blog_empty {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  color: #838383;
  text-align: center;
  padding: 40px 0;
}

/* ---- ショップで絞り込むリンク ---- */

.shop_blog_shop_filter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 -12px;
}

.shop_blog_shop_filter_item {
  margin: 0 12px 12px 0;
}

.shop_blog_shop_filter_link {
  display: block;
  padding: 6px 20px;
  border: 1px solid #323335;
  border-radius: 30px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #323335;
  line-height: 1.5;
}

.shop_blog_shop_filter_link.is_current {
  background-color: #323335;
  color: #FFF;
}

@media only screen and (min-width: 960px) {
  .shop_blog_shop_filter_link:hover {
    opacity: 0.7;
  }
}

/* ---- 本文 ---- */

.shop_blog_detail_head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 0 16px;
}

.shop_blog_detail_head .shop_blog_shop {
  margin: 0 16px 0 0;
}

.shop_blog_detail_date {
  font-family: 'BLACKJAR', sans-serif;
  font-size: 18px;
  color: #838383;
}

.shop_blog_detail_title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.6;
  color: #323335;
  margin: 0 0 32px;
}

@media only screen and (max-width: 640px) {
  .shop_blog_detail_title {
    font-size: 22px;
    margin: 0 0 20px;
  }
}

.shop_blog_detail_main_img {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 0 40px;
}

.shop_blog_detail_main_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media only screen and (max-width: 640px) {
  .shop_blog_detail_main_img {
    height: 220px;
    margin: 0 0 24px;
  }
}

#shop_blog_editor {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #323335;
  word-break: break-all;
}

#shop_blog_editor img {
  max-width: 100%;
  height: auto;
}

#shop_blog_editor a {
  color: #323335;
  text-decoration: underline;
}

.shop_blog_detail_foot {
  margin: 48px 0 0;
  padding: 24px 0 0;
  border-top: 2px dashed #323335;
}

.shop_blog_detail_foot_text {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  color: #323335;
  line-height: 1.8;
}

.shop_blog_detail_foot_text a {
  text-decoration: underline;
}

/* ---- セクションの余白（既存セクションに合わせる） ---- */

.shop_blog_section {
  padding: 100px 0 120px;
  background-color: #FAF7F5;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.shop_blog {
  padding: 100px 0 120px;
  background-color: #FFF;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media only screen and (max-width: 640px) {
  .shop_blog_section,
  .shop_blog {
    padding: 60px 0 80px;
  }
}
