@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;
}


/* ギャラリー */

.post .gallery {
    display: grid;
    grid-gap: 1rem;
}

.post .gallery .gallery-item {
    margin: 0 !important;
    float: unset !important;
    width: 100% !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;
}

.gallery br {
    display: none;
}

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

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

}







/*投稿者（スタッフブログのみ）*/
.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: 0;
}


  .entry-card-wrap .cat-label {
      display: inline-block;
      position: relative;
      margin-top: 1rem;
      border: 1px solid;
      line-height: 2;
      padding: 0 0.5rem;
      font-size: 10px;
  }

  .entry-card-wrap .category-news-post .cat-label{
    color: #D8D8D8;
    border-color: #D8D8D8;
  }

  .entry-card-wrap .category-campaign-post .cat-label{
    color: #C9A24A;
    border-color: #C9A24A;
  }

  .entry-card-wrap .category-event-post .cat-label{
    color: #C65A3A;
    border-color: #C65A3A;
  }

  .entry-card-wrap .category-information-post .cat-label{
    color: #6FA8C8;
    border-color: #6FA8C8;
  }

 .entry-card-wrap .category-press-post .cat-label{
    color: #B08AD8;
    border-color: #B08AD8;
  }

.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){
  /*必要ならばここにコードを書く*/
}


/************************************
** 記事本文パーツ（AddQuicktag用）  2026-11-08 追加
** 接頭辞 rm- ／ SP境界 767px（サイト共通の境界に合わせる）
** 対象 : article.article > .entry-content 内
** ※ Cocoon親テーマの「.article h2」等は詳細度 0,1,1 のため、
**    すべて .article を前置して 0,2,1 にして上書きしている
************************************/

/* ---- 1. 見出し（h2） ----
   本番サイトのセクション見出し（.sec_ttl = 中央揃え・ウェイト900）に合わせ、
   ブランドシンボル（red_logo.svg）をテキストの左横に置く。 */
.article .rm-h2 {
  position: relative;
  display: flex;          /* 折り返した2行目をテキストの頭に揃えるため */
  align-items: flex-start;
  gap: .5em;
  margin: 3em 0 1.2em;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: left;
}
.article .rm-h2::before {
  content: "";
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.39rem; /* 50:46 のアスペクト比 */
  margin-top: .2em;
  background: url(images/red_logo.svg) no-repeat center center;
  background-size: contain;
}

/* ---- 2. 小見出し（h3） ----
   シンボルは見出し（h2）専用。小見出しは飾りなしの太字のみ。 */
.article .rm-h3 {
  margin: 2.4em 0 1em;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

/* ---- 3. 太文字 ---- */
.article .rm-bold {
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ---- 4. テキストリンク ---- */
.article .rm-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, .5);
  text-underline-offset: .25em;
  transition: text-decoration-color .2s, opacity .2s;
}
.article .rm-link:hover {
  text-decoration-color: #fff;
  opacity: .7;
}

/* ---- 5. リンクボタン ---- */
.article .rm-btnWrap {
  margin: 7.5em 0;        /* 2026-11-11 上下の余白を拡大（2.4em → 7.5em） */
  text-align: center;
}
.article .rm-btn {
  display: inline-block;
  min-width: 24em;
  max-width: 100%;
  padding: 1.1em 2.4em;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-align: center;
  text-decoration: none;
  transition: background-color .25s, color .25s;
}
.article .rm-btn::after {
  content: "→";
  margin-left: .8em;
  font-weight: 400;
}
.article .rm-btn:hover {
  background: #fff;
  color: #000;
  opacity: 1;
}
/* Cocoonが外部リンクに自動付与するアイコンは、ボタン内では矢印と重複するので隠す */
.article .rm-btn .external-icon,
.article .rm-btn .anchor-icon {
  display: none;
}

/* ---- 6・7. カラムボックス（2カラム／3カラム） ---- */
.article .rm-cols {
  display: grid;
  gap: 3rem;
  margin: 2.4em 0;
}
.article .rm-cols--2 { grid-template-columns: repeat(2, 1fr); }
.article .rm-cols--3 { grid-template-columns: repeat(3, 1fr); }

.article .rm-col {
  min-width: 0; /* 長いURL等でカラムが広がるのを防ぐ */
  padding: 0;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1.8;
}
.article .rm-col > *:first-child { margin-top: 0; }
.article .rm-col > *:last-child { margin-bottom: 0; }
.article .rm-col p { margin: 0 0 1em; }
.article .rm-col p:last-child { margin-bottom: 0; }
.article .rm-col img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* wpautop が差し込む空の p がグリッド要素になるのを防ぐ */
.article .rm-cols > p:empty { display: none; }

/* ---- SP（767px以下）：カラムは1列に ---- */
@media screen and (max-width: 767px) {
  .article .rm-h2 {
    gap: .45em;
    margin-top: 2.6em;
    font-size: 1.7rem;
  }
  .article .rm-h2::before {
    width: 2.2rem;
    height: 2.02rem;
  }
  .article .rm-h3 { font-size: 1.5rem; }
  .article .rm-btn {
    min-width: 0;
    width: 100%;
    padding: 1.2em 1.6em;
    font-size: 1.2rem;
  }
  .article .rm-cols { gap: 2.4rem; }
  .article .rm-cols--2,
  .article .rm-cols--3 { grid-template-columns: 1fr; }
}


/************************************
** 会場情報（カスタムフィールド）リデザイン  2026-11-08
** 対象 : .custom_field_redman .place_information_wrap（tmp/content.php が出力）
** 上の「会場情報」ブロックの旧ルールは残したまま、.custom_field_redman を前置して上書きしている。
** 色は白・黒＋アクセントの赤 #ff0000（ブランドシンボルと同じ）のみ。
************************************/

/* ---- 外枠：グレーの箱をやめ、上の罫だけで区切る ---- */
.custom_field_redman .place_information_wrap {
  margin-top: 6rem;
  padding: 0;
  background: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

/* ---- 見出し：英字「VENUE」＋小さく「会場情報」 ---- */
#main .custom_field_redman .place_information_title {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin: 0;
  padding: 3.2rem 0 2.4rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .6);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
}
#main .custom_field_redman .place_information_title::before {
  content: "VENUE";
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: .14em;
}

/* ---- 会場1件分 ---- */
.custom_field_redman .place_information {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 2.4rem;
}
/* 会場が複数あるときの区切り */
.custom_field_redman .place_information_box .place_information + .place_information {
  margin: 4rem 0 0;
  padding: 4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ---- 会場名・開催期間 ---- */
.custom_field_redman .place_title_term_box {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.article .custom_field_redman .place_name {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .08em;
}
.custom_field_redman .place_title_term_box .event_term {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.2rem;
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}
.custom_field_redman .place_title_term_box .event_term::before {
  content: "開催期間";
  display: inline-block;
  padding: .3rem .8rem;
  border: 1px solid #ff0000;
  color: #ff0000;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
}

/* ---- 地図：モノクロで馴染ませ、触れるとカラーに ---- */
.custom_field_redman .place_Google_map {
  overflow: hidden;
  line-height: 0;
}
.custom_field_redman .place_Google_map iframe {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter .4s;
}
.custom_field_redman .place_Google_map:hover iframe {
  filter: none;
}

/* ---- 住所・電話・営業時間：罫で区切ったリスト ---- */
.custom_field_redman .place_info {
  display: block;
}
.custom_field_redman .place_info > p {
  margin: 0;
}
.custom_field_redman .place_address,
.custom_field_redman .place_tel,
.custom_field_redman .place_business_hours {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-family: inherit;   /* .fa が段落全体に FontAwesome を当てているのを戻す */
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .04em;
}
.custom_field_redman .place_address {
  border-top: 1px solid rgba(255, 255, 255, .12);
}
/* アイコン（赤） */
.custom_field_redman .place_address::before {
  content: "\f041"; /* fa-map-marker */
}
.custom_field_redman .place_address::before,
.custom_field_redman .place_tel::before,
.custom_field_redman .place_business_hours::before {
  display: inline-block;
  flex: 0 0 1.6rem;
  margin: 0;
  color: #ff0000;
  font-family: FontAwesome;
  font-size: 1.4rem;
  font-weight: normal;
  text-align: center;
}
/* 空の項目は出さない */
.custom_field_redman .place_info .place_tel:empty,
.custom_field_redman .place_info .place_business_hours:empty,
.custom_field_redman .place_info > p:empty {
  display: none;
}

/* Googleマップへのリンク：右端の小さなボタン */
.custom_field_redman .place_address a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .6rem;
  height: auto;
  margin-left: auto;
  padding: .5rem 1.2rem;
  aspect-ratio: auto;
  background: none;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.custom_field_redman .place_address a::after {
  content: "MAP";
}
.custom_field_redman .place_address a i {
  color: inherit;
  font-size: 1.2rem;
}
.custom_field_redman .place_address a:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* ---- 備考（ACFのWYSIWYG）----
   テンプレートが <p class="event_note"> の中にWYSIWYGの <p> を入れているため、
   ブラウザ上では class なしの <p> が兄弟として並ぶ。その両方を対象にする。 */
.custom_field_redman .place_info .event_note,
.custom_field_redman .place_info > p:not([class]) {
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 1.25rem;
  line-height: 1.9;
  letter-spacing: .02em;
}
.custom_field_redman .place_info > p:not([class]) + p:not([class]) {
  margin-top: .8rem;
}

/* ---- PC・タブレット（768px以上）：地図を左、情報を右 ---- */
@media screen and (min-width: 768px) {
  .custom_field_redman .place_information {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 2.4rem 4rem;
  }
  .custom_field_redman .place_Google_map {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
  .custom_field_redman .place_title_term_box {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .custom_field_redman .place_info {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}
