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

/* ========================================
   ブログ共通装飾
   横棒価格比較グラフ
======================================== */

/* グラフ全体 */
.lal-price-chart {
    margin: 24px 0;
    padding: 16px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

/* グラフタイトル */
.lal-chart-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

/* グラフの各行 */
.lal-chart-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

/* 項目名 */
.lal-chart-label {
    width: 65px;
    flex-shrink: 0;
    font-size: 14px;
    white-space: nowrap;
}

/* グラフ表示領域 */
.lal-chart-track {
    flex: 1;
    min-width: 0;
}

/* 棒グラフ共通 */
.lal-chart-bar {
    height: 24px;
    max-width: 100%;
    border-radius: 5px;
}

/* 通常価格の棒グラフ */
.lal-chart-bar-normal {
    background-color: #98a9bb;
}

/* 節約価格の棒グラフ */
.lal-chart-bar-saving {
    background-color: #6fa98b;
}

/* 金額 */
.lal-chart-price {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}

/* 比較結果・節約金額 */
.lal-chart-result {
    margin-top: 16px;
    text-align: center;
    color: #00844b;
    font-weight: bold;
    font-size: 16px;
}

/* スマートフォン対応 */
@media screen and (max-width: 480px) {

    .lal-price-chart {
        padding: 12px;
    }

    .lal-chart-row {
        gap: 6px;
    }

    .lal-chart-label {
        width: 50px;
        font-size: 12px;
    }

    .lal-chart-price {
        width: 65px;
        font-size: 12px;
    }

    .lal-chart-bar {
        height: 20px;
    }

    .lal-chart-result {
        font-size: 14px;
    }

}
