@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* 一覧ページ：グリッド全体 */
.archive-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 1.5em;
}

/* 全体リンク対応 */
.shop-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* カード本体 */
.shop-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1em;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.shop-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* アイキャッチ画像 */
.shop-thumb img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 0.8em;
}

/* タイトル */
.shop-title {
  font-size: 1.1em;
  color: #0073aa;
  margin: 0 0 0.5em;
}

/* タクソノミー（カテゴリ・タグなど） */
.shop-taxonomies {
  margin-top: 0.5em;
}

.tax-badge {
  display: inline-block;
  padding: 0.3em 0.8em;
  font-size: 0.85em;
  color: #fff;
  border-radius: 20px;
  margin-right: 0.4em;
  margin-top: 0.4em;
}

.badge-green { background-color: #28a745; }
.badge-blue  { background-color: #007bff; }
.badge-red   { background-color: #dc3545; }

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  .shop-title {
    font-size: 1em;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .shop-title {
    font-size: 0.95em;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .shop-title {
    font-size: 0.9em;
  }

  .shop-card {
    padding: 0.8em;
    border-radius: 8px;
  }

  .shop-thumb img {
    border-radius: 5px;
    margin-bottom: 0.6em;
  }

  .shop-taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
  }

  .tax-badge {
    font-size: 0.75em;
    padding: 0.25em 0.6em;
  }
}


/* Search & Filter 見出しの調整 */
.sf-field-taxonomy-shop_tag legend { color: #d00; font-weight: bold; margin-top: 1em; }
.sf-field-taxonomy-shop_cat legend { color: #0a0; font-weight: bold; margin-top: 1em; }
.sf-field-taxonomy-shop_area legend { color: #007bff; font-weight: bold; margin-top: 1em; }

/* トピック（赤） */
.sf-field-taxonomy-shop_tag label {
  background: #fff0f0;
  color: #d00;
  border: 1px solid #d00;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 4px 6px 4px 0;
  display: inline-block;
  cursor: pointer;
}

/* 職種（緑） */
.sf-field-taxonomy-shop_cat label {
  background: #f0fff0;
  color: #0a0;
  border: 1px solid #0a0;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 4px 6px 4px 0;
  display: inline-block;
  cursor: pointer;
}

/* 地域（青） */
.sf-field-taxonomy-shop_area label {
  background: #f0f8ff;
  color: #007bff;
  border: 1px solid #007bff;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 4px 6px 4px 0;
  display: inline-block;
  cursor: pointer;
}






.top-section-title {
  font-size: 1.4em;
  margin-bottom: 1em;
  border-left: 4px solid #00bcd4;
  padding-left: 0.6em;
}

.top-post h3 {
  font-size: 1.1em;
  color: #0073aa;
}

.shop-card {
  margin-bottom: 1.5em;
  border: 1px solid #ddd;
  padding: 1em;
  border-radius: 6px;
  background: #fff;
}



.copy-url-button {
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-url-button:hover {
  background-color: #005d8f;
}


/* スマホ固定フッターメニュー背景色変更（完全決定版） */
ul.mobile-footer-menu-buttons {
  background-color: #ffe6ea !important;
}



/* 投稿者名（例：san）を非表示にする */
.author-info,
.footer-meta,
.author-link,
.author-name.fn,
.post-author.vcard.author {
  display: none !important;
}


/* 投稿カード下の謎アイコンを非表示にする */
.post-meta .fa-question-circle,
.post-meta .fa-clock,
.entry-card-content .fa-question-circle,
.entry-card-content .fa-clock {
  display: none !important;
}

/* Cocoonのランキングショートコードページにだけ出る時計・更新マーク（svgアイコン）を非表示にする */
article .svg-inline--fa.fa-clock,
article .svg-inline--fa.fa-clock-rotate-left,
article .svg-inline--fa.fa-history {
  display: none !important;
}