@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
*/

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

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

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

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

/* ===== Mobile Center Alignment for Ranking Articles (2026-05-12 追加) ===== */
@media (max-width: 768px) {
  .mybest-article .product-card { text-align: center !important; }
  .mybest-article .product-card h3 { text-align: center !important; }
  .mybest-article .product-card .rank-badge { display: inline-block !important; margin-left: auto !important; margin-right: auto !important; }
  .mybest-article .product-card .product-flex { justify-content: center !important; }
  .mybest-article .product-card .product-flex img { display: block !important; margin: 0 auto !important; }
  .mybest-article .product-card .product-info { text-align: center !important; min-width: 0 !important; width: 100% !important; flex: 0 0 100% !important; }
  .mybest-article .product-card .spec-box,
  .mybest-article .product-card .good-box,
  .mybest-article .product-card .bad-box { text-align: left !important; }
  .mybest-article .product-card .recommend-text { text-align: center !important; }
  /* salon-card用（ブライダルエステ記事） */
  .mybest-article .salon-card { text-align: center !important; }
  .mybest-article .salon-card h3 { text-align: center !important; }
  .mybest-article .salon-card .rank-badge { display: inline-block !important; margin-left: auto !important; margin-right: auto !important; }
  .mybest-article .salon-card .salon-tagline { text-align: center !important; }
  .mybest-article .salon-card .spec-box,
  .mybest-article .salon-card .salon-text { text-align: left !important; }
  .mybest-article .salon-card .recommend-text,
  .mybest-article .salon-card .meta-row { text-align: center !important; }
}
