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

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

table tr:nth-of-type(2n) {
  background-color: var(--cocoon-xxx-thin-color);
}

.cocoon-custom-text-1 {
  color: #AAA;
}

/* ========================================
   シングル選抜フォーメーション
======================================== */

.single-formation {
  width: 100%;
  margin: 30px auto;
}

.single-formation-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.single-formation-row:last-child {
  margin-bottom: 0;
}

.single-formation-member {
  width: 90px;
  padding: 10px 4px;
  border: 1px solid #E2A3B4;
  border-radius: 8px;
  background: #fdf7f9;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.single-formation-center {
  border: 2px solid #E2A3B4;
  background: #f7e4e9;
  font-weight: bold;
}

.single-formation-name-pc {
  display: inline;
}

.single-formation-name-sp {
  display: none;
}


/* ========================================
   スマホ
======================================== */

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

  .single-formation {
    width: 100%;
    margin: 20px auto;
  }

  .single-formation-row {
    gap: 3px;
    margin-bottom: 10px;
  }

  .single-formation-member {
    width: 46px;
    max-width: calc((100% - 18px) / 7);
    padding: 7px 0;
    border-radius: 5px;
    font-size: clamp(9px, 2.7vw, 11px);
    line-height: 1.3;
  }

  .single-formation-name-pc {
    display: none;
  }

  .single-formation-name-sp {
    display: inline;
  }

}



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

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

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