@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;
    }

}


/
/* ========================================
   LAL 共通図解：バッテリー最大容量
======================================== */

.lal-battery-chart {
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.lal-battery-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.lal-battery-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.lal-battery-icon {
    position: relative;
    box-sizing: border-box;
    width: 94px;
    height: 26px;
    padding: 3px;
    border: 2px solid #888;
    border-radius: 5px;
    background: #fff;
    flex-shrink: 0;
}

.lal-battery-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 10px;
    background: #888;
    border-radius: 0 2px 2px 0;
}

.lal-battery-level {
    height: 100%;
    max-width: 100%;
    background: #6fa98b;
    border-radius: 2px;
}

.lal-battery-level-warning {
    background: #c69b51;
}

.lal-battery-percent {
    min-width: 44px;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.lal-battery-description {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
}

.lal-battery-chart .lal-battery-note {
    margin: 8px 0 0;
    font-size: 12px;
    color: #666;
}

/* ========================================
   LAL 共通図解：注意事項ボックス
======================================== */

.lal-warning-box {
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #c69b51;
    border-radius: 8px;
    background: #fffdf7;
    color: #333;
}

.lal-warning-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.lal-warning-icon {
    color: #b48a35;
    margin-right: 6px;
}

.lal-warning-box p {
    margin: 8px 0;
}

.lal-warning-box p:last-child {
    margin-bottom: 0;
}

/* ========================================
   LAL 共通図解：保証期間
======================================== */

.lal-warranty-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.lal-warranty-icon {
    width: 48px;
    height: 54px;
    flex-shrink: 0;
    background: #437e65;
    clip-path: polygon(
        50% 0, 96% 17%, 96% 58%,
        82% 80%, 50% 100%,
        18% 80%, 4% 58%, 4% 17%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}

.lal-warranty-content {
    flex: 1;
    min-width: 0;
}

.lal-warranty-caption {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.lal-warranty-days {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
    color: #437e65;
}

.lal-warranty-ok {
    color: #437e65;
    font-weight: bold;
}

.lal-warranty-ng {
    color: #666;
}

/* ========================================
   スマートフォン対応
======================================== */

@media screen and (max-width: 480px) {
    .lal-battery-chart,
    .lal-warning-box,
    .lal-warranty-box {
        padding: 12px;
    }

    .lal-battery-row {
        gap: 9px;
    }

    .lal-battery-icon {
        width: 66px;
        height: 22px;
    }

    .lal-battery-percent {
        min-width: 38px;
        font-size: 14px;
    }

    .lal-battery-description {
        font-size: 12px;
    }

    .lal-battery-chart .lal-battery-note {
        font-size: 11px;
    }

    .lal-warranty-box {
        gap: 12px;
    }

    .lal-warranty-icon {
        width: 38px;
        height: 44px;
        font-size: 22px;
    }

    .lal-warranty-caption {
        font-size: 12px;
    }

    .lal-warranty-days {
        font-size: 24px;
    }
}


/* ========================================
   LAL 共通図解：数値比較カード
======================================== */

.lal-value-comparison {
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.lal-value-heading {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.lal-value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lal-value-item {
    padding: 14px 8px;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.lal-value-label {
    font-size: 14px;
    font-weight: bold;
}

.lal-value-number {
    margin: 6px 0;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.4;
}

.lal-value-emphasis {
    color: #437e65;
}

.lal-value-unit {
    font-size: 12px;
    color: #666;
}

/* ========================================
   LAL 共通図解：ステップ・手順
======================================== */

.lal-step-flow {
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.lal-step-title {
    font-weight: bold;
    margin-bottom: 18px;
}

.lal-step-flow .lal-step-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lal-step-flow .lal-step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    margin: 0 0 24px;
    padding: 0;
}

.lal-step-flow .lal-step-item:last-child {
    margin-bottom: 0;
}

.lal-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #437e65;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

.lal-step-item:not(:last-child)::after {
    content: "↓";
    position: absolute;
    left: 0;
    top: calc(100% + 1px);
    width: 32px;
    text-align: center;
    line-height: 22px;
    font-size: 17px;
    color: #98a9bb;
}

.lal-step-content {
    flex: 1;
    min-width: 0;
}

.lal-step-timing {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.lal-step-description {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.6;
}

.lal-step-icon {
    flex-shrink: 0;
    width: 30px;
    text-align: center;
    font-size: 20px;
    color: #437e65;
}

/* ========================================
   スマートフォン対応
======================================== */

@media screen and (max-width: 480px) {
    .lal-value-comparison,
    .lal-step-flow {
        padding: 12px;
    }

    .lal-value-grid {
        gap: 8px;
    }

    .lal-value-label {
        font-size: 12px;
    }

    .lal-value-number {
        font-size: 22px;
    }

    .lal-step-flow .lal-step-item {
        gap: 10px;
    }

    .lal-step-description {
        font-size: 14px;
    }

    .lal-step-icon {
        font-size: 18px;
        width: 24px;
    }
}


/* ========================================
   LAL 共通図解：プラン変更・選択肢比較
======================================== */

.lal-plan-switch {
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
}

.lal-plan-switch-title {
    margin-bottom: 16px;
    font-size: 14px;
    text-align: center;
    color: #666;
}

.lal-plan-switch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.lal-plan-switch-item {
    padding: 16px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    min-width: 0;
}

.lal-plan-switch-icon {
    font-size: 26px;
    line-height: 1.5;
}

.lal-plan-switch-label {
    font-size: 14px;
    font-weight: bold;
}

.lal-plan-switch-value {
    margin: 6px 0;
    font-size: 28px;
    font-weight: bold;
    color: #437e65;
}

.lal-plan-switch-description {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
}

.lal-plan-switch-arrow {
    font-size: 26px;
    text-align: center;
    color: #437e65;
    font-weight: bold;
}

.lal-plan-switch-result {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #437e65;
}

/* スマートフォン対応 */

@media screen and (max-width: 480px) {
    .lal-plan-switch {
        padding: 12px;
    }

    .lal-plan-switch-grid {
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
        gap: 6px;
    }

    .lal-plan-switch-item {
        padding: 12px 5px;
    }

    .lal-plan-switch-label {
        font-size: 12px;
    }

    .lal-plan-switch-value {
        font-size: 24px;
    }

    .lal-plan-switch-arrow {
        font-size: 22px;
    }

    .lal-plan-switch-result {
        font-size: 13px;
    }
}
