@charset "UTF-8";

/*!
Theme Name: REDMAN - Cocoon Child 202407
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

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


body {
  line-height: 1.8;
}

a{
  color: #FFF;
  text-decoration: none;
}

.article h3 {
  font-size: 1.2em;
}

/************************************
** レスポンシブデザイン用のメディアクエリ　SP基準で記載
************************************/


/*サイドメニュー*/


#sidebar aside {
  margin-bottom: 4rem;
}


.sidebar h2, .sidebar h3 {
  padding: 0;
  margin: 0 0 2rem;
  font-weight: bold;
}

.new-entry-cards.widget-entry-cards {
  display: grid;
  grid-gap: 1rem;
}

.widget-entry-cards .a-wrap {
  padding: 1rem;
  line-height: 1.3;
  margin-bottom: 0;
  background: #1a1a1a;
}

.widget-entry-card {
  font-size: 1.2rem;
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-gap: 1rem;
}

.widget-entry-card:after{
  display: none;
}

.widget-entry-cards figure {
  width: 100%;
  height: auto;
  margin: 0;
  float: none;
}

.widget-entry-cards:not(.large-thumb-on) .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.widget-entry-card-content {
  margin-left: 0;
}

.widget_categories ul {
  display: grid;
  grid-gap: 1rem;
}

.widget_categories .cat-item a {
  padding: 1rem;
  background: #1a1a1a;
}

.archive_link {
  text-align: right;
  font-size: 1.2rem;
}


/*投稿記事関連*/


/*タイトル*/

#main .entry-title {
  padding: 0;
  margin: 0 0 2rem;
  font-size: 1.4rem;
}

#main .related-entry-heading,
#main .comment-title,
#main .related_products_title,
#main .place_information_title {
  margin: 0 0 2rem ;
  padding: 0;
  font-size: 1em;
  font-weight: bold;
  background: transparent;
}


/* ギャラリー */



.gallery .gallery-item {
  margin: 0 !important;
}

.gallery .gallery-item img {
  border: 1px solid #000 !important;
}

.gallery .gallery-item dt {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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


/*投稿者（スタッフブログのみ）*/
.profile-follows.author-follows {
  display: none;
}

.author-content {
  margin: 0 !important;
}

.author-box .author-name,
.author-box .author-description,
.author-box p {
  margin: 0 !important;
}

.author-name a {
  text-decoration: none;
  color: #FFF;
  font-weight: normal;
  font-size: 1em;
}

.author-box .author-description {
  font-size: 0.8em;
}


.author-box {
  padding: 0 !important;
  border: 0 !important;
  display: flex;
  justify-content: flex-start;
  grid-gap: 2rem;
  align-items: center;
}

.author-thumb {
  float: none !important;
  margin: 0 !important;
  width: 6rem !important;
}


/*投稿記事ギャラリー　３カラム固定*/
.post .wp-block-gallery{
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
}

.post .wp-block-gallery .wp-block-image{
  width: 100% !important;
}

/*投稿記事シェアボタン*/

footer.article-footer.entry-footer {
  margin: 4em 0 !important;
}

/*パンくずナビ*/

#breadcrumb {
  display: flex;
  overflow: hidden;
}
.breadcrumb > div {
  display: flex;
  align-items: center;
}



/*投稿記事内カスタムフィールド（開場情報・関連商品） */

.custom_field_redman section + section {
  margin-top: 4rem;
}

/*会場情報*/

.place_information_wrap {
  padding: 3rem 2rem;
  background: #1a1a1a;
}

.place_information {
  display: grid;
  grid-gap: 2rem;
}

.place_information_box .place_information + .place_information {
  padding: 3rem 0 0;
  margin: 3rem 0 0;
  border-top: #000 1px solid;
}

.custom_field_redman .place_name {
  border: 0;
  padding: 0;
  margin: 0;
  color: #bd0000;
}

.place_title_term_box .event_term {
  margin-bottom: 0;
}

.place_title_term_box .event_term:before {
  content: "開催期間　";
}

.place_Google_map iframe {
  aspect-ratio: 1.5 / 1;
  width: 100% !important;
  height: auto !important;
}


.place_info {
  display: flex;
  flex-direction: column;
  grid-gap: 1rem;
  font-size: 1.2rem;
}

.place_info > p {
  margin: 0;
}

.place_address {
  display: flex;
  grid-gap: 1rem;
  justify-content: space-between;
}

.place_address a {
  font-size: 1.2rem;
  display: block;
  background: #900;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  border-radius: 0.2rem;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.place_address i{
  color: #FFF;
}

.place_tel:before,
.place_business_hours:before {
  display: inline-block;
  margin-right: 1rem;
}




.place_tel:empty,
.place_business_hours:empty,
.event_term:empty{
  display: none;
}


/*関連商品*/

.related_products_box {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap:2rem 1rem;
  margin: 0;
}

.related_product a {
  display: flex;
  flex-direction: column;
  grid-gap: 1rem;
}

.related_products_box .related_products_name {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 1.2rem;
  font-weight: bold;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.related_products_box .related_product_price{
  font-size: 1.2rem;
  margin-bottom: 0;
}

.related_product_price:before {
  content: "¥";
}

.related_product_price:after {
  content: "税込";
  font-size: 1rem;
}


/*投稿記事内関連記事*/

.related-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-gap: 2rem 1rem !important;
}


.rect-vertical-card .related-entry-card-wrap {
  width: 100% !important;
  padding: 0 !important;
}


.rect-vertical-card .related-entry-card-title{
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 1.4rem; 
}



/* tablet portlate */
@media screen and (min-width: 48rem){

/* サイドメニュー */
.new-entry-cards.widget-entry-cards, .widget_categories ul {
    grid-template-columns: 1fr 1fr 1fr;
}

#main .entry-title {
  font-size: 2rem;
}


/*投稿者（スタッフブログのみ）*/
.author-box {
  padding: 0 !important;
  border: 0 !important;
  display: flex;
  justify-content: flex-start;
  grid-gap: 2rem;
  align-items: center;
}

.author-thumb {
  float: none !important;
  margin: 0 !important;
  width: 6rem !important;
}



/*関連商品*/
.related_products_box .related_products_name,
.related_products_box .related_product_price {
  font-size: 1em;
}
.related_product_price:after {
  font-size: 0.8rem;
}

/*会場情報*/


.place_information_wrap {
  padding: 4rem 3rem;
}

.place_information_box .place_information + .place_information {
  padding: 4rem 0 0;
  margin: 4rem 0 0;
}

.place_information {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
}

.place_title_term_box {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.place_Google_map {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.place_Google_map {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}


/* 関連商品 */
.related_products_box {
  grid-gap: 3rem 2rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

}


/* tablet landscape */
@media screen and (min-width: 48rem) and (orientation:landscape){

  .place_information_wrap {
    padding: 3rem;
  }
  
  .place_information_box .place_information + .place_information {
    padding: 3rem 0 0;
    margin: 3rem 0 0;
  }
	
  .new-entry-cards.widget-entry-cards,
  .widget_categories ul {
    grid-template-columns: 1fr;
  }

}

/* PC */
@media screen and (min-width: 64rem){

}




/* アーカイブページ */

.entry-title,
.archive-title {
  font-size: 1.4rem;
  margin: 0 0 1rem;
  line-height: 1;
  font-weight: bold;
}

.ect-vertical-card .entry-card-wrap .entry-card {
  grid-gap: 1rem;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb {
  margin-bottom: 1rem;
}

.e-card-title {
  font-size: 1.2rem;
}

.post-date .fa-clock-o{
  display: none;
}

/* tablet portlate */
@media screen and (min-width: 48rem){

#list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
}

#list > a {
  width: 100%;
  padding: 0 !important;
}

}



/* tablet landscape */
@media screen and (min-width: 48rem) and (orientation:landscape){
  #list {
    grid-gap: 2rem;
  }

}










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



}















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

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

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