@charset "UTF-8";

/*!
Theme Name: CLUSE 公式ストア
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: CLUSE JAPAN
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

html {
  margin-top: 0 !important;
}


body {
  padding-top: 105px !important;
}

main#main {
  padding: 0 2rem;
}


article.post,article.press,.under-entry-content {
  max-width: 1000px !important;
  margin: auto;
  font-size: 1.2rem;
}

.entry-title {
  padding: 0;
  margin-bottom: 2rem;
}

.custom_field_cluse {
  margin-top: 1em;
  margin-bottom: 3em;
}

.related_products_title {
  font-size: 1.4rem !important;
  padding: 1rem 0 !important;
  background: transparent !important;
  margin: 0 !important;
}

.related_products_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3rem 1rem;
}

.related_product_img_box img {
  vertical-align: bottom;
  border: 1px solid #eee;
}

.related_product_info_box {
  margin: 1rem 0 0;
  display: grid;
  grid-gap: 0.5rem;
}

.related_product_info_box > p {
  margin: 0 ;
  line-height: 1.5;
}

.related_product_price:after {
  content: "円(税込)";
}

.related_product_button {
  text-align: center;
  padding-top: 1rem;
}

.related_product_button span {
  display: inline-block;
  background: #FFF;
  color: #000;
  border: 1px solid #000;
  font-size: 1rem;
  padding: 0 1.5rem;
  line-height: 3;
}

.related-entry-heading {
  font-size: 1.4rem;
  margin: 1rem 0;
}

.article-footer {
  padding: 1rem 0;
}


#breadcrumb {
  margin: 1rem 0;
  font-size: 1rem;
}

.sns-buttons a {
  height: auto;
  line-height: 1;
  display: block;
  font-size: 1.6rem !important;
  padding: 0.5rem 0;
  background: #000;
}
.sns-share-message {
  display: none;
}
.button-caption {
  display: none;
}

.cat-link, .tag-link {
  font-size: 1rem;
}

.cat-link {
  color: #FFF !important;
}

.entry-categories-tags .tax-icon{
  margin: 0;
}

.entry-categories-tags .fa-tag:before {
  content: "#" !important;
}

@media screen and (min-width: 768px){
  /*必要ならばここにコードを書く*/


  body {
    padding-top: 0 !important;
  }


  #content {
    margin: 6rem auto 0;
    width: 90%;
  }

  .related_products_box {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

}






/* PRESS　投稿ページ */


.single-press .entry-title {
  padding: 0;
  margin: 1rem 0;
}


.single-press .date-tags {
  line-height: 1;
  text-align: left;
  margin-bottom: 2rem;
}



.single-press .rect-vertical-card .related-entry-card-thumb img {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.single-press .rect-vertical-card .related-entry-card-title {
  font-size: 12px;
}

.single-press .rect-vertical-card .related-entry-card {
  display: flex;
  flex-direction: column;
  grid-gap: 1rem;
}




@media screen and (min-width: 768px){

.single-press .entry-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.single-press .post_title_date_wrap {
  padding: 3vw;
  background: #e7e7e7;
  align-content: center;
}

.single-press .eye-catch {
  margin-bottom: 0;
}



.rect-vertical-card .related-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
}

.rect-vertical-card .related-entry-card-wrap {
  width: 100%;
}


}


.post-type-archive-press .card-thumb img{
  aspect-ratio: 3/4;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
