/* =========================================================================
   自家消費型太陽光発電ページ 専用
   2026-09-18 新設。styles.css / css/agrivoltaics.css は変更せず、後ろから読み込む。
   ・色は既存サイトと同じ（青 #007BFF・オレンジ #F5A623）
   ・広い余白を詰め、写真と図を入れて読み進めやすくする
   ========================================================================= */

/* --- 上部の写真（1枚・スライドはしない） --- */
.self-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 150px 20px 100px;
    box-sizing: border-box;
    background: #14261c;
}

/* 明るい屋根の写真なので、営農型ページと同じ濃さにそろえる */
.self-hero.hero-slider::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .26) 30%, rgba(0, 0, 0, .30) 62%, rgba(0, 0, 0, .22) 100%);
}

.self-hero h1 {
    font-size: 3rem;
    line-height: 1.35;
    margin-bottom: 22px;
}

.self-hero .hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.85;
    font-weight: 400;
    max-width: 760px;
    margin: 0 auto 34px;
}

.self-hero .cta-buttons {
    position: relative;
    z-index: 3;
}

/* 枠だけのボタンが明るい写真の上で消えないように裏地を足す */
.self-hero .cta-btn.secondary {
    background: rgba(0, 0, 0, .3);
    backdrop-filter: blur(2px);
}

.self-hero .cta-btn.secondary:hover {
    background: rgba(255, 255, 255, .92);
}

/* --- 区切りごとの余白を詰める（既定より小さく） --- */
.page-self-consumption .content-section.sc-section {
    padding: 66px 0;
}

.page-self-consumption .section-title {
    margin-bottom: 8px;
}

.page-self-consumption .section-subtitle {
    margin-bottom: 34px;
    color: #666;
}

/* 見出しの行末に1文字だけ残らないようにする（対応していない端末では何も起きない） */
.sc-balance,
.sc-benefit-card h3,
.sc-fit-item h3 {
    text-wrap: balance;
}

/* --- 実績の数字（帯） --- */
.sc-record-band {
    background: #0f1f18;
    padding: 26px 0;
}

.sc-record-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
}

.sc-record-list li {
    color: #ffffff;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.sc-record-list li:first-child {
    border-left: 0;
}

.sc-record-list strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .01em;
}

.sc-record-list strong span {
    font-size: .92rem;
    font-weight: 600;
    margin-left: 3px;
}

.sc-record-list em {
    display: block;
    font-style: normal;
    font-size: .86rem;
    margin-top: 6px;
    color: rgba(255, 255, 255, .82);
}

/* --- 文章と写真を左右に並べる --- */
.sc-split {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 44px;
    align-items: start;
}

.sc-split-reverse .sc-photo {
    order: 2;
}

.sc-split-text p {
    font-size: 1.02rem;
    line-height: 1.95;
    margin-bottom: 18px;
    color: #444;
}

.sc-split-text p:last-child {
    margin-bottom: 0;
}

/* 太字はリンクと見分けがつくよう、色を変えずに下地を敷く */
.sc-split-text strong {
    color: #222;
    background: linear-gradient(transparent 62%, rgba(245, 166, 35, .38) 62%);
    padding: 0 2px;
}

.sc-photo {
    margin: 0;
}

.sc-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
}

.sc-photo figcaption {
    margin-top: 10px;
    font-size: .86rem;
    color: #666;
    text-align: center;
}

.sc-photo-tall img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* --- 電気の流れの図 --- */
.sc-diagram {
    margin-top: 42px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 26px 24px 20px;
}

.sc-diagram-title {
    font-size: 1.06rem;
    color: #222;
    margin: 0 0 16px;
    padding-left: 12px;
    border-left: 4px solid #007BFF;
    line-height: 1.3;
}

.sc-flow {
    display: grid;
    grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr;
    align-items: stretch;
    gap: 0;
}

.sc-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 6px;
    padding: 18px 12px;
    border: 1px solid #dde3ea;
    border-radius: 12px;
    background: #f7f9fb;
    color: #39506a;
}

.sc-flow-start {
    background: #eef4ff;
    border-color: #c9dcf5;
    color: #0b63c5;
}

.sc-flow-end {
    background: #fff8ec;
    border-color: #f0dcb6;
    color: #b07d16;
}

.sc-flow-ico svg {
    width: 38px;
    height: 30px;
    display: block;
}

.sc-flow-step b {
    font-size: 1rem;
    color: #222;
    line-height: 1.4;
}

.sc-flow-note {
    font-size: .82rem;
    color: #666;
    line-height: 1.45;
}

.sc-flow-arrow {
    align-self: center;
    justify-self: center;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #8aa0b4;
}

.sc-flow-buy {
    margin-top: 16px;
    padding: 14px 18px;
    background: #fffdf5;
    border: 1px solid #ecd9a6;
    border-radius: 12px;
    font-size: .95rem;
    line-height: 1.75;
    color: #555;
    text-align: center;
}

.sc-flow-buy b {
    color: #222;
}

/* --- 得られること --- */
.sc-benefits-section {
    background: #f6f8fa;
}

.sc-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sc-benefit-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 26px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
    border-top: 4px solid #007BFF;
}

.sc-benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0, 123, 255, .1);
    color: #007BFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.sc-benefit-icon svg {
    width: 26px;
    height: 26px;
}

.sc-benefit-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
    color: #222;
    line-height: 1.45;
}

.sc-benefit-card p {
    font-size: .97rem;
    line-height: 1.85;
    color: #555;
}

.sc-benefit-note {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
    font-size: .86rem !important;
    color: #666 !important;
}

/* --- 向いている建物 --- */
.sc-fit-list {
    display: grid;
    gap: 14px;
    align-content: start;
}

.sc-fit-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 18px 20px;
}

.sc-fit-item > i {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #7ED321;
    position: relative;
    margin-top: 2px;
}

.sc-fit-item > i::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 7px;
    width: 7px;
    height: 12px;
    border-right: 2.4px solid #ffffff;
    border-bottom: 2.4px solid #ffffff;
    transform: rotate(42deg);
}

.sc-fit-item h3 {
    font-size: 1.06rem;
    margin-bottom: 6px;
    color: #222;
}

.sc-fit-item p {
    font-size: .94rem;
    line-height: 1.8;
    color: #555;
}

.sc-fit-footnote {
    margin-top: 26px;
    padding: 16px 20px;
    background: #f6f8fa;
    border-radius: 12px;
    font-size: .94rem;
    line-height: 1.8;
    color: #555;
}

.sc-fit-footnote a {
    color: #0056B3;
    font-weight: 600;
    text-decoration: underline;
}

/* --- 費用と回収の考え方 --- */
.sc-cost-section {
    background: #f6f8fa;
}

.sc-cost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sc-cost-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 26px 24px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
}

.sc-cost-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007BFF;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.sc-cost-card h3 {
    font-size: 1.06rem;
    margin-bottom: 10px;
    color: #222;
}

.sc-cost-card p {
    font-size: .94rem;
    line-height: 1.85;
    color: #555;
}

/* --- 電気代の見え方（棒） --- */
.sc-chart {
    margin-top: 26px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 24px 26px 18px;
}

.sc-chart-title {
    font-size: 1.06rem;
    color: #222;
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 4px solid #F5A623;
    line-height: 1.3;
}

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

.sc-chart-label {
    flex: none;
    width: 62px;
    font-size: .94rem;
    font-weight: 700;
    color: #444;
    text-align: right;
}

.sc-chart-track {
    flex: 1;
    display: flex;
    height: 46px;
    border-radius: 8px;
    overflow: hidden;
}

.sc-chart-buy,
.sc-chart-self {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .84rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

.sc-chart-buy {
    background: #5b6b7b;
}

.sc-chart-self {
    background: #F5A623;
    color: #3a2a05;
}

.sc-chart-note {
    font-size: .84rem;
    color: #666;
    margin-top: 10px;
}

.sc-cost-note {
    margin-top: 24px;
    background: #ffffff;
    border-left: 5px solid #F5A623;
    border-radius: 0 12px 12px 0;
    padding: 22px 24px;
}

.sc-cost-note p {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
}

.sc-cost-note strong {
    color: #222;
}

.sc-cost-subnote {
    margin-top: 10px;
    font-size: .88rem !important;
    color: #666 !important;
}

/* --- 導入の流れ --- */
.sc-step-list {
    display: block;
}

.sc-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 20px;
}

.sc-step:last-child {
    padding-bottom: 0;
}

.sc-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 50px;
    bottom: 2px;
    width: 2px;
    background: #e0e0e0;
}

.sc-step-num {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #007BFF;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sc-step-body h3 {
    font-size: 1.1rem;
    margin: 9px 0 8px;
    color: #222;
}

.sc-step-body p {
    font-size: .95rem;
    line-height: 1.85;
    color: #555;
}

/* --- 施工の例（写真4枚） --- */
.sc-gallery-section {
    background: #f6f8fa;
}

.sc-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.sc-gallery figure {
    margin: 0;
}

.sc-gallery img {
    width: 100%;
    height: auto;          /* html の height 属性より、下の比率の指定を効かせる */
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .1);
}

.sc-gallery figcaption {
    margin-top: 8px;
    font-size: .84rem;
    color: #666;
    text-align: center;
}

.sc-gallery-more {
    text-align: center;
    margin-top: 26px;
}

.sc-gallery-more a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 26px;
    border: 2px solid #007BFF;
    border-radius: 50px;
    color: #0056B3;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.sc-gallery-more a:hover {
    background: #007BFF;
    color: #ffffff;
}

/* --- よくあるご質問 --- */
.sc-faq-list {
    max-width: 880px;
    margin: 0 auto;
}

.sc-faq-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 12px;
}

.sc-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 54px 20px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    color: #222;
    position: relative;
}

.sc-faq-item summary::-webkit-details-marker {
    display: none;
}

.sc-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: #007BFF;
    line-height: 1;
}

.sc-faq-item[open] summary::after {
    content: '\2212';
}

.sc-faq-item summary:hover {
    color: #007BFF;
}

.sc-faq-answer {
    padding: 0 24px 22px;
    font-size: .96rem;
    line-height: 1.9;
    color: #555;
}

/* --- いちばん下の呼びかけ（写真の上・緑のグラデーションは使わない） --- */
.cta-section.sc-cta {
    position: relative;
    background: #12211a;
    background-image: var(--cta-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 76px 20px;
}

.cta-section.sc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 20, 14, .62) 0%, rgba(8, 20, 14, .70) 100%);
}

.cta-section.sc-cta > .container {
    position: relative;
    z-index: 1;
}

.cta-section.sc-cta h2 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.cta-section.sc-cta p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

.cta-section.sc-cta .cta-btn.secondary {
    background: rgba(0, 0, 0, .34);
}

/* --- 白い箱の中のボタンは、白いままだと見えないので色を付ける --- */
.page-self-consumption .contact-form-link .cta-btn {
    background: #007BFF;
    color: #ffffff;
    border: 2px solid #007BFF;
}

.page-self-consumption .contact-form-link .cta-btn:hover {
    background: #0056B3;
    border-color: #0056B3;
    color: #ffffff;
}

/* --- 画面が狭いとき --- */
@media (max-width: 1024px) {
    .sc-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    /* 電気の流れは縦に並べ、矢印も下向きにする */
    .sc-flow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sc-flow-step {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 14px;
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .sc-flow-step b {
        flex: 1 1 auto;
    }

    .sc-flow-note {
        flex: 1 0 100%;
        padding-left: 52px;
    }

    .sc-flow-arrow {
        margin: 7px auto;
        border-top: 11px solid #8aa0b4;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 0;
    }

    .sc-split,
    .sc-split-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sc-split-reverse .sc-photo {
        order: 0;
    }

    .sc-photo-tall img {
        aspect-ratio: 16 / 10;
    }

    .sc-benefit-grid,
    .sc-cost-grid {
        grid-template-columns: 1fr;
    }

    .sc-record-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 10px;
    }

    .sc-record-list li:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .self-hero {
        min-height: auto;
        padding: 128px 20px 66px;
    }

    .self-hero h1 {
        font-size: 2rem;
    }

    .self-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.8;
    }

    .self-hero .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .self-hero .cta-btn {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }

    .page-self-consumption .content-section.sc-section {
        padding: 44px 0;
    }

    .page-self-consumption .section-subtitle {
        margin-bottom: 24px;
    }

    .sc-record-list strong {
        font-size: 1.7rem;
    }

    .sc-benefit-card,
    .sc-cost-card {
        padding: 24px 20px;
    }

    .sc-diagram {
        padding: 20px 14px 14px;
    }

    .sc-chart {
        padding: 20px 16px 14px;
    }

    .sc-chart-label {
        width: 52px;
        font-size: .88rem;
    }

    .sc-chart-buy,
    .sc-chart-self {
        font-size: .74rem;
    }

    .sc-step {
        gap: 14px;
    }

    .sc-step-num {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .sc-step:not(:last-child)::before {
        left: 20px;
        top: 44px;
    }

    .sc-faq-item summary {
        padding: 17px 46px 17px 18px;
        font-size: .97rem;
    }

    .sc-faq-answer {
        padding: 0 18px 18px;
    }

    .sc-cost-note {
        padding: 20px 18px;
    }

    .cta-section.sc-cta {
        padding: 56px 20px;
    }

    /* ボタンの言葉が2行に折れないよう、余白と文字を少し詰める */
    .page-self-consumption .contact-form-link .cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 17px 16px;
        font-size: 1rem;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .sc-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sc-gallery figure:first-child img {
        aspect-ratio: 16 / 9;
    }

    .sc-gallery figcaption {
        font-size: .78rem;
    }
}

/* --- スマホで言葉の途中で折り返さない --- */
.self-hero .nowrap,
.sc-benefit-card .nowrap {
    white-space: nowrap;
}

/* =========================================================================
   ここから下は 2026-09-18 の作り直し（オーナー指示「AIっぽい・安っぽい」への対応）。
   上の指定を意図的に上書きしている。
   ・浮いた白い箱と影をやめる
   ・見出しを左そろえにして大きくし、本文との差を付ける
   ・丸アイコンをやめ、番号と細い罫線で並びを示す
   ・色は「濃い墨」＋差し色ひとつに絞る
   ========================================================================= */

:root {
    --ink: #14181c;        /* 文字 */
    --ink-2: #4c555e;      /* 補助の文字 */
    --ink-3: #7c848c;      /* 注記 */
    --line: #dfe3e7;       /* 罫線 */
    --accent: #14532d;     /* 差し色（深い緑） */
    --paper: #f4f2ee;      /* うすい紙色 */
}

/* --- 区切りの余白に緩急をつける --- */
.page-self-consumption .content-section.sc-section {
    padding: 104px 0;
}

.page-self-consumption .content-section.sc-section + .content-section.sc-section {
    padding-top: 96px;
}

.page-self-consumption .sc-benefits-section,
.page-self-consumption .sc-cost-section,
.page-self-consumption .sc-gallery-section,
.page-self-consumption .sc-faq-section {
    background: var(--paper);
}

/* --- 見出しは左そろえ・大きく・詰める --- */
.page-self-consumption .section-title {
    text-align: left;
    font-size: 2.45rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 0 0 14px;
    position: relative;
    padding-top: 26px;
}

.page-self-consumption .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 3px;
    background: var(--accent);
}

.page-self-consumption .section-subtitle {
    text-align: left;
    font-size: 1.02rem;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 0 46px;
    line-height: 1.8;
}

/* --- 本文は行長を抑えて読ませる --- */
.sc-split-text p {
    font-size: 1.06rem;
    line-height: 2.0;
    color: var(--ink-2);
    max-width: 38em;
}

.sc-split-text strong {
    color: var(--ink);
    background: none;
    border-bottom: 2px solid var(--accent);
    padding: 0;
}

/* --- 影と角丸をやめる --- */
.sc-photo img,
.sc-gallery img {
    border-radius: 0;
    box-shadow: none;
}

.sc-photo figcaption,
.sc-gallery figcaption {
    text-align: left;
    font-size: .82rem;
    color: var(--ink-3);
    margin-top: 10px;
    padding-left: 0;
}

/* --- 「得られること」：箱をやめ、番号と罫線で並べる --- */
.sc-benefit-grid {
    gap: 0;
    border-top: 1px solid var(--line);
}

.sc-benefit-card {
    background: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 34px 30px 34px 0;
    counter-increment: scb;
    position: relative;
}

.sc-benefit-grid {
    counter-reset: scb;
}

.sc-benefit-card:last-child {
    border-right: 0;
}

.sc-benefit-card:not(:first-child) {
    padding-left: 30px;
}

.sc-benefit-icon {
    display: none;
}

.sc-benefit-card h3 {
    font-size: 1.24rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.5;
    margin: 0 0 14px;
}

.sc-benefit-card h3::before {
    content: counter(scb, decimal-leading-zero);
    display: block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: 10px;
}

.sc-benefit-card p {
    font-size: .98rem;
    line-height: 1.95;
    color: var(--ink-2);
}

.sc-benefit-note {
    border-top: 0;
    padding-top: 0;
    margin-top: 14px;
    font-size: .84rem !important;
    color: var(--ink-3) !important;
}

/* --- 「向いています」：箱をやめ、罫線だけ --- */
.sc-fit-list {
    gap: 0;
    border-top: 1px solid var(--line);
}

.sc-fit-item {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 22px 0;
    gap: 18px;
}

.sc-fit-item > i {
    width: 22px;
    height: 22px;
    border-radius: 0;
    background: none;
    margin-top: 5px;
}

.sc-fit-item > i::before {
    left: 6px;
    top: 2px;
    width: 8px;
    height: 15px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
}

.sc-fit-item h3 {
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 7px;
}

.sc-fit-item p {
    color: var(--ink-2);
}

.sc-fit-footnote {
    background: none;
    border-left: 3px solid var(--line);
    border-radius: 0;
    padding: 6px 0 6px 18px;
    color: var(--ink-2);
}

.sc-fit-footnote a {
    color: var(--accent);
}

/* --- 費用の3段：番号だけ残し、箱をやめる --- */
.sc-cost-grid {
    gap: 0;
    border-top: 1px solid var(--line);
}

.sc-cost-card {
    background: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 32px 28px 32px 0;
}

.sc-cost-card:last-child {
    border-right: 0;
}

.sc-cost-card:not(:first-child) {
    padding-left: 28px;
}

.sc-cost-num {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    justify-content: flex-start;
    margin-bottom: 12px;
}

.sc-cost-card h3 {
    font-size: 1.14rem;
    color: var(--ink);
}

.sc-cost-card p {
    color: var(--ink-2);
}

/* --- 図：箱の角丸と影を抑える --- */
.sc-diagram,
.sc-chart {
    border-radius: 0;
    border: 1px solid var(--line);
    background: #ffffff;
}

.sc-diagram-title,
.sc-chart-title {
    border-left-color: var(--accent);
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink-2);
}

.sc-flow-step {
    border-radius: 4px;
}

.sc-flow-start {
    background: #eef2ee;
    border-color: #cdd8cf;
    color: var(--accent);
}

.sc-flow-end {
    background: #f6f3ec;
    border-color: #e2d9c5;
    color: #7a5c17;
}

.sc-flow-buy {
    border-radius: 0;
    background: none;
    border: 0;
    border-top: 1px solid var(--line);
    text-align: left;
    padding: 14px 0 0;
    color: var(--ink-2);
}

.sc-chart-self {
    background: #b08a2e;
    color: #ffffff;
}

.sc-chart-buy {
    background: #5b6670;
}

.sc-chart-track {
    border-radius: 2px;
}

/* --- 流れ：丸番号をやめ、細い罫線と数字で --- */
.sc-step:not(:last-child)::before {
    left: 13px;
    background: var(--line);
}

.sc-step-num {
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: none;
    color: var(--accent);
    font-size: 1.02rem;
    font-weight: 700;
    justify-content: flex-start;
    border-bottom: 2px solid var(--accent);
    margin-top: 6px;
}

.sc-step-body h3 {
    color: var(--ink);
    font-size: 1.12rem;
}

.sc-step-body p {
    color: var(--ink-2);
}

/* --- 実績の数字：帯をやめ、地の色の上に置く --- */
.sc-record-band {
    background: var(--ink);
    padding: 34px 0;
}

.sc-record-list strong {
    font-size: 2.4rem;
    letter-spacing: -.02em;
}

/* --- よくある質問：箱をやめ、罫線に --- */
.sc-faq-item {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    margin-bottom: 0;
}

.sc-faq-item summary {
    padding: 22px 48px 22px 0;
    color: var(--ink);
}

.sc-faq-item summary::after {
    right: 6px;
    color: var(--accent);
}

.sc-faq-answer {
    padding: 0 0 22px;
    color: var(--ink-2);
}

/* --- ギャラリー：大小を付けて等間隔をやめる --- */
.sc-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* 1枚目だけ横いっぱいに大きく見せる（同じ大きさの並びにしない） */
.sc-gallery figure:first-child {
    grid-column: 1 / -1;
}

.sc-gallery figure:first-child img {
    aspect-ratio: 21 / 8;
}

.sc-gallery-more a {
    border-radius: 0;
    border-width: 1px;
    border-color: var(--ink);
    color: var(--ink);
}

.sc-gallery-more a:hover {
    background: var(--ink);
    color: #fff;
}

.sc-gallery-more {
    text-align: left;
}

/* --- お問い合わせ欄：丸アイコンをやめる --- */
.page-self-consumption .contact-info-icon {
    width: 100%;
    height: auto;
    border-radius: 0;
    background: none !important;
    justify-content: flex-start;
    margin: 0 0 12px;
}

.page-self-consumption .contact-info-icon i {
    color: var(--accent);
    font-size: 1.1rem;
}

.page-self-consumption .contact-info-card {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--line);
    text-align: left;
}

.page-self-consumption .contact-form-link {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--line);
}

.page-self-consumption .contact-form-link .cta-btn {
    background: var(--accent);
    border-color: var(--accent);
    border-radius: 0;
}

/* --- 呼びかけ帯のボタン --- */
.cta-section.sc-cta .cta-btn {
    border-radius: 0;
}

.self-hero .cta-btn {
    border-radius: 0;
}

/* --- 施工例：写真から導入事例へ行けるようにする --- */
.sc-gallery figure a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.sc-gallery figure a img {
    transition: opacity .3s ease, transform .5s ease;
}

.sc-gallery figure a:hover img,
.sc-gallery figure a:focus-visible img {
    opacity: .88;
}

.sc-gallery figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-2);
    font-size: .86rem;
}

.sc-gallery figcaption span {
    flex: none;
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.sc-gallery figcaption span::after {
    content: ' →';
}

.sc-gallery figure a:hover figcaption span {
    text-decoration: underline;
}

/* --- 動き（「動きを減らす」設定の端末では止まる） --- */
.sc-anim {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease;
}

.sc-anim.is-in {
    opacity: 1;
    transform: none;
}

.sc-flow-step {
    transition: opacity .6s ease, transform .6s ease;
}

.sc-flow.is-ready .sc-flow-step {
    opacity: 0;
    transform: translateY(10px);
}

.sc-flow.is-in .sc-flow-step {
    opacity: 1;
    transform: none;
}

.sc-flow.is-in .sc-flow-step:nth-child(3) { transition-delay: .18s; }
.sc-flow.is-in .sc-flow-step:nth-child(5) { transition-delay: .36s; }
.sc-flow.is-in .sc-flow-step:nth-child(7) { transition-delay: .54s; }

.sc-flow-arrow {
    transition: opacity .5s ease;
}

.sc-flow.is-ready .sc-flow-arrow {
    opacity: 0;
}

.sc-flow.is-in .sc-flow-arrow {
    opacity: 1;
}

.sc-flow.is-in .sc-flow-arrow:nth-child(2) { transition-delay: .12s; }
.sc-flow.is-in .sc-flow-arrow:nth-child(4) { transition-delay: .30s; }
.sc-flow.is-in .sc-flow-arrow:nth-child(6) { transition-delay: .48s; }

.sc-chart-track.is-ready .sc-chart-buy,
.sc-chart-track.is-ready .sc-chart-self {
    width: 0 !important;
}

.sc-chart-buy,
.sc-chart-self {
    transition: width 1.1s cubic-bezier(.22, .8, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
    .sc-anim,
    .sc-flow.is-ready .sc-flow-step,
    .sc-flow.is-ready .sc-flow-arrow,
    .sc-chart-track.is-ready .sc-chart-buy,
    .sc-chart-track.is-ready .sc-chart-self {
        opacity: 1 !important;
        transform: none !important;
        width: auto !important;
        transition: none !important;
    }
}

/* --- かんたん試算 --- */
.sc-sim {
    margin-top: 30px;
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 30px 32px 26px;
}

.sc-sim-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
    letter-spacing: -.01em;
}

.sc-sim-lead {
    font-size: .94rem;
    color: var(--ink-2);
    line-height: 1.75;
    margin: 0 0 24px;
}

.sc-sim-q {
    margin-bottom: 18px;
}

.sc-sim-label {
    display: block;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-2);
    letter-spacing: .04em;
    margin-bottom: 9px;
}

.sc-sim-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sc-sim-btn {
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink-2);
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.sc-sim-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.sc-sim-btn.is-on {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.sc-sim-out {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.sc-sim-figures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.sc-sim-fig {
    border-left: 2px solid var(--line);
    padding-left: 16px;
}

.sc-sim-fig-main {
    border-left-color: var(--accent);
}

.sc-sim-cap {
    display: block;
    font-size: .8rem;
    color: var(--ink-3);
    line-height: 1.5;
    margin-bottom: 6px;
}

.sc-sim-fig strong {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.1;
}

.sc-sim-fig-main strong {
    color: var(--accent);
    font-size: 2.4rem;
}

.sc-sim-fig em {
    font-style: normal;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-left: 4px;
}

.sc-sim-note {
    font-size: .84rem;
    color: var(--ink-3);
    line-height: 1.8;
    margin-top: 12px;
}

.sc-sim-note b {
    color: var(--ink);
}

.sc-sim-assume {
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.sc-sim-assume summary {
    cursor: pointer;
    list-style: none;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-2);
    padding: 6px 0;
    min-height: 32px;
}

.sc-sim-assume summary::-webkit-details-marker {
    display: none;
}

.sc-sim-assume summary::before {
    content: '＋ ';
    color: var(--accent);
}

.sc-sim-assume[open] summary::before {
    content: '－ ';
}

.sc-sim-assume ul {
    margin: 10px 0 10px 1.1em;
    padding: 0;
    font-size: .86rem;
    line-height: 1.95;
    color: var(--ink-2);
}

.sc-sim-assume p {
    font-size: .82rem;
    color: var(--ink-3);
    line-height: 1.8;
}

/* --- 説明のイラスト（広い画面だけ・狭い画面は下の図を出す） --- */
.sc-illust {
    margin: 0;
}

.sc-illust img {
    width: 100%;
    height: auto;
    display: block;
}

.sc-illust figcaption {
    font-size: .82rem;
    color: var(--ink-3);
    margin-top: 8px;
}

@media (min-width: 993px) {
    .sc-flow,
    .sc-flow-buy {
        display: none;
    }
}

@media (max-width: 992px) {
    .sc-illust {
        display: none;
    }

    .sc-sim {
        padding: 24px 18px 20px;
    }

    .sc-sim-figures {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sc-sim-fig strong {
        font-size: 1.9rem;
    }

    .sc-sim-fig-main strong {
        font-size: 2.1rem;
    }

    .sc-sim-btn {
        padding: 11px 15px;
        font-size: .9rem;
        flex: 1 1 auto;
    }
}

/* --- ボタンの文字色（明るい緑をやめ、濃い墨にする） --- */
.page-self-consumption .cta-btn:not(.secondary) {
    color: var(--ink);
}

.page-self-consumption .cta-btn:not(.secondary):hover {
    color: var(--ink);
}

/* --- 区切りの余白をさらに詰める --- */
.page-self-consumption .content-section.sc-section {
    padding: 74px 0;
}

.page-self-consumption .content-section.sc-section + .content-section.sc-section {
    padding-top: 68px;
}

.page-self-consumption .section-subtitle {
    margin-bottom: 34px;
}

.page-self-consumption .section-title {
    padding-top: 20px;
}

.self-hero {
    padding: 140px 20px 84px;
}

.cta-section.sc-cta {
    padding: 62px 20px;
}

.sc-record-band {
    padding: 28px 0;
}

@media (max-width: 768px) {
    .page-self-consumption .content-section.sc-section,
    .page-self-consumption .content-section.sc-section + .content-section.sc-section {
        padding: 38px 0;
    }

    .page-self-consumption .section-subtitle {
        margin-bottom: 22px;
    }

    .self-hero {
        padding: 120px 20px 54px;
    }

    .cta-section.sc-cta {
        padding: 46px 20px;
    }
}

/* --- 試算：管轄の選択と、詳しい試算 --- */
.sc-sim-select {
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
    font-family: inherit;
    min-width: 220px;
}

.sc-sim-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.sc-sim-assume {
    flex: 1 1 320px;
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.sc-sim-more {
    flex: none;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    background: #ffffff;
    color: var(--accent);
    font-size: .92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sc-sim-more:hover {
    background: var(--accent);
    color: #ffffff;
}

.sc-sim2 {
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 26px;
}

.sc-sim2-title {
    font-size: 1.14rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
}

.sc-sim2-lead {
    font-size: .9rem;
    color: var(--ink-2);
    margin: 0 0 20px;
    line-height: 1.75;
}

.sc-sim2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 16px;
    margin-bottom: 26px;
}

.sc-sim2-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-sim2-field > span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-3);
    line-height: 1.4;
}

.sc-sim2-field input,
.sc-sim2-field select {
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: var(--ink);
    font-size: .95rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.sc-sim2-field input:focus,
.sc-sim2-field select:focus,
.sc-sim-select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.sc-sim2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
}

.sc-sim2-table th,
.sc-sim2-table td {
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: baseline;
}

.sc-sim2-table th {
    width: 46%;
    font-weight: 500;
    color: var(--ink-2);
}

.sc-sim2-table td {
    color: var(--ink);
}

.sc-sim2-table b {
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.sc-sim2-table span {
    font-size: .84rem;
    color: var(--ink-3);
    margin-left: 4px;
}

.sc-sim2-table .is-strong th {
    color: var(--ink);
    font-weight: 700;
}

.sc-sim2-table .is-strong b {
    color: var(--accent);
    font-size: 1.44rem;
}

.sc-sim2-note {
    font-size: .82rem;
    color: var(--ink-3);
    line-height: 1.85;
    margin-top: 12px;
}

.sc-sim2-cta {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 16px;
    padding: 13px 26px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: .96rem;
    text-decoration: none;
}

.sc-sim2-cta:hover {
    background: #0d3a1f;
    color: #ffffff;
}

@media (max-width: 992px) {
    .sc-sim2-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sc-sim-select {
        min-width: 0;
        width: 100%;
    }

    .sc-sim-foot {
        flex-direction: column;
    }

    .sc-sim-more {
        width: 100%;
    }

    .sc-sim2-cta {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .sc-sim2-grid {
        grid-template-columns: 1fr;
    }

    .sc-sim2-table th {
        width: 52%;
    }

    .sc-sim2-table b {
        font-size: 1.06rem;
    }

    .sc-sim2-table .is-strong b {
        font-size: 1.28rem;
    }
}

/* --- 回収年数の下に小さく添える一行（補助金を使ったとき） --- */
.sc-sim-sub {
    display: block;
    margin-top: 8px;
    font-size: .78rem;
    line-height: 1.5;
    color: var(--ink-3);
}

.sc-sim-sub b {
    font-weight: 700;
    color: var(--ink-2);
    font-size: .92rem;
}
