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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* アフェリエイトタグのコピーボタン用 */
.invite-code-container {
    max-width: 600px;
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.invite-code-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invite-code {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    font-family: monospace;
}

.invite-code-button-message-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.invite-code-copy-button {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
    order: 2;  /* ボタンを右側に配置 */
}

.invite-code-copy-message {
    display: none;
    color: #28a745;
    font-size: 14px;
    order: 1;  /* メッセージを左側に配置 */
}

/* 寄付ボタン用 */
#donation-box-01.donation-box {
  margin: 32px 0;
  padding: 20px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
  text-align: center;
}

#donation-box-01 .donation-box__text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #111827;
}

#donation-box-01 a.donation-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  margin: 4px 0 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background-color: #111827;
  border-radius: 9999px;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  background-image: none;
  vertical-align: middle;
}

#donation-box-01 a.donation-box__button:hover {
  color: #ffffff;
  background-color: #000000;
}

#donation-box-01 .donation-box__note {
  margin: 6px 0 0;
  font-size: 11px;
  color: #6b7280;
}

@media (max-width: 640px) {
  #donation-box-01.donation-box {
    padding: 18px 14px;
  }
}



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

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

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


/* 主要装備表用 */
.cars-table-wrapper table.equipment_table {
    font-size: 0.7em;
    border-collapse: collapse;
    white-space: nowrap;
}

.cars-table-wrapper .equipment_table td {
    border: 2px solid #eee;
    padding: 2px;
    min-width: 57px;
}

.cars-table-wrapper tr {
    text-align: center;
}

.cars-table-wrapper td.item {
    background-color: #5BDE;
    z-index: 2;
}

.cars-table-wrapper td.edge {
    background-color: #5BDE;
    z-index: 3;
}

.cars-table-wrapper .item,
.cars-table-wrapper .edge {
    position: sticky;
    top: 0;
    left: 0;
    background: #333;
}

/* Sass修正済み */
.cars-table-wrapper .item:before,
.cars-table-wrapper .edge:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
}

.cars-table-wrapper tr.info {
    text-align: left;
    background-color: #d1ecf1;
}

.cars-table-wrapper td.item2 {
    background-color: #d1ecf1;
}

.cars-table-wrapper td.item3 {
    background-color: #d1ecf1;
    z-index: 0;
}