@charset "UTF-8";

/**
 * =================================================================
 * page-electrical.css
 * 1. ヒーロー全幅、コンテンツ1000px固定中央
 * 2. 文章全保持、3枚並びアイコンカード実装
 * 3. 各ボックスに背景色を適用
 * 4. スクロールガイド削除対応
 * =================================================================
 */

:root {
    --miyuki-blue: #0070b8;
    --bg-light-gray: #f8f9fa;
    --bg-light-blue: #f0f7ff;
    --white: #ffffff;
    --border: #e9ecef;
}

body { margin: 0; font-family: "Noto Sans JP", sans-serif; line-height: 1.8; color: #333; background: #fff; }

/* ヒーローエリア */
.hero-header-full {
    height: 100vh; width: 100%; position: relative;
    background: url('../img/denki_top.jpg') no-repeat center center / cover;
    display: flex; align-items: center; justify-content: flex-start;
}
.hero-header-full::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 112, 184, 0.55), rgba(0, 0, 0, 0.6));
}
.hero-inner-left { position: relative; z-index: 10; padding-left: 5%; color: #fff; text-align: left; }
.hero-inner-left h1 { font-size: 5rem; margin: 0; font-weight: 700; letter-spacing: 0.1em; }
.brand-text { font-weight: bold; letter-spacing: 0.5em; margin-bottom: 5px; }
.en-title { letter-spacing: 0.3em; opacity: 0.8; margin-bottom: 10px; }

/* メインレイアウト */
.main-content-fixed { max-width: 1000px; margin: 0 auto; padding: 100px 20px; }
.section-container { margin-bottom: 80px; }

/* 見出し */
.ideal-bar-heading {
    font-size: 1.6rem; color: var(--miyuki-blue);
    border-left: 7.5px solid var(--miyuki-blue);
    padding-left: 18px; margin: 40px 0 35px;
}

/* 3枚並びカード */
.method-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.method-card {
    background-color: var(--bg-light-gray);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 45px 25px; text-align: center;
    transition: 0.3s;
}
.method-card:hover { transform: translateY(-10px); background: #fff; border-color: var(--miyuki-blue); box-shadow: 0 10px 30px rgba(0,112,184,0.1); }
.method-icon {
    width: 80px; height: 80px; background: #fff; border: 2px solid var(--miyuki-blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px; color: var(--miyuki-blue); font-size: 2rem;
}
.method-card h3 { color: var(--miyuki-blue); font-size: 1.2rem; margin-bottom: 15px; }
.method-card p { font-size: 0.95rem; text-align: left; }

/* ステップカード */
.step-flex-row { display: flex; gap: 25px; margin-bottom: 30px; }
.step-card-bg { flex: 1; background: var(--bg-light-gray); padding: 50px 30px; text-align: center; border-radius: 15px; border: 1px solid var(--border); }
.circle-icon { width: 95px; height: 95px; border-radius: 50%; margin: 0 auto 20px; }
.stop-blue { background: radial-gradient(circle, #fff, #e1efff); border: 1px solid #d0e4ff; }
.start-orange { background: radial-gradient(circle, #fff, #fff2e6); border: 1px solid #ffe6d0; }

/* 補足ボックス */
.supplement-info-box { background: var(--bg-light-blue); border-radius: 12px; padding: 45px; border: 1px solid #dce8f5; }
.important-deadline { margin-top: 35px; border-top: 1px dashed #c0d1e2; padding-top: 25px; font-size: 1.15rem; }

/* お支払い方法 */
.pay-item-card { background: #fcfcfc; border: 1px solid #eee; padding: 40px; border-radius: 20px; margin-bottom: 25px; }

/* コンタクト */
.contact-card-fixed { border: 6px solid var(--miyuki-blue); border-radius: 40px; padding: 80px; text-align: center; background: #fff; margin-top: 80px; }
.tel-text a { font-size: 4.5rem; color: var(--miyuki-blue); text-decoration: none; font-weight: 900; }
.cta-web-btn { display: inline-block; background: var(--miyuki-blue); color: #fff; padding: 25px 90px; border-radius: 80px; text-decoration: none; font-weight: bold; font-size: 1.5rem; }

/* その他 */
.content-card-bg { background: var(--bg-light-gray); padding: 50px; border-radius: 25px; border: 1px solid var(--border); }
.num-list-with-circle li { position: relative; padding-left: 45px; margin-bottom: 20px; list-style: none; }
.num-list-with-circle li span { position: absolute; left: 0; color: var(--miyuki-blue); font-weight: bold; }
.prep-flex-card { display: flex; align-items: center; justify-content: space-between; background: var(--bg-light-gray); padding: 50px; border-radius: 25px; }
.yuki-char-prep { width: 140px; }
.modern-check-list { list-style: none; padding: 0; }
.modern-check-list li::before { content: '✔'; color: var(--miyuki-blue); margin-right: 15px; font-weight: bold; }

@media (max-width: 900px) {
    .method-grid-3, .step-flex-row, .prep-flex-card { grid-template-columns: 1fr; flex-direction: column; }
    .hero-inner-left h1 { font-size: 3rem; }
    .tel-text a { font-size: 2.2rem; }
}

/* --- 事前準備セクションの装飾 --- */

.prep-main-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-light-gray); /* ボックス全体の背景色 */
    border-radius: 20px;
    padding: 50px;
    gap: 40px;
}

.prep-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px; /* 項目間の余白 */
}

.prep-item {
    background-color: var(--white); /* 項目ごとの背景を白にして浮かせあげる */
    padding: 18px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.prep-item i {
    color: var(--miyuki-blue);
    margin-right: 15px;
    font-size: 1.2rem;
}

.prep-item .note {
    font-size: 0.85rem;
    color: #777;
    margin-left: auto; /* ※注釈を右側に寄せてスッキリさせる */
}

.yuki-img {
    width: 160px;
    height: auto;
    /* キャラクターが浮いている感じを出すための微調整 */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
}

/* スマホ対応 */
@media (max-width: 768px) {
    .prep-main-box {
        flex-direction: column;
        padding: 30px 20px;
    }
    .prep-item {
        flex-wrap: wrap;
        font-size: 0.95rem;
    }
    .prep-item .note {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
    }
}

/* --- 料金・支払いセクションの装飾 --- */

.payment-main-box {
    background-color: var(--bg-light-gray); /* 薄いグレーの背景 */
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* カード同士の隙間 */
}

.payment-item {
    background-color: var(--white); /* 各項目を白カードに */
    padding: 25px 30px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start; /* 文が長くなっても数字が上に固定されるように */
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.payment-item .num {
    color: var(--miyuki-blue);
    font-weight: 900;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    line-height: 1.5;
}

.payment-item p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .payment-main-box {
        padding: 20px;
    }
    .payment-item {
        padding: 20px;
    }
}

/* --- 周波数：地図最大化＆ワイド注意事項スタイル --- */

.freq-layout-grid {
    display: flex;
    flex-wrap: wrap; /* 折り返しを許可して下部を全幅に */
    gap: 30px;
    align-items: flex-start;
}

/* 左側：地図（約55%まで拡大） */
.freq-map-column {
    flex: 0 0 55%;
}

.map-frame-white {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #dce8f5;
    text-align: center;
}

.freq-map-large {
    width: 100%; /* 親要素いっぱいに広げる */
    height: auto;
    display: block;
}

/* 右側：表（約40%） */
.freq-info-column {
    flex: 1;
}

.miyuki-simple-table {
    width: 100%;
    background-color: #ffffff;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dce8f5;
}

.miyuki-simple-table th, .miyuki-simple-table td {
    padding: 15px 10px;
    border: 1px solid #eee;
    font-size: 0.85rem;
}

.miyuki-simple-table th {
    background-color: #f9f9f9;
    color: var(--miyuki-blue);
    text-align: left;
}

.miyuki-simple-table td {
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
}

/* 下部：注意事項（全幅） */
.freq-full-width-note {
    flex: 0 0 100%; /* 横幅100%を強制 */
    margin-top: 10px;
}

.freq-full-width-note p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* スマホ対応 */
@media (max-width: 850px) {
    .freq-map-column, .freq-info-column {
        flex: 0 0 100%;
    }
}


/* --- 分電盤：左右レイアウト専用スタイル --- */

.breaker-flex-container {
    display: flex;
    gap: 40px; /* 左右の間隔 */
    align-items: flex-start;
}

/* 左側：画像カラム（45%） */
.breaker-image-column {
    flex: 0 0 45%;
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid #dce8f5;
}

.miyuki-badge-small {
    background-color: var(--miyuki-blue);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.breaker-img-wrap img {
    max-width: 100%;
    height: auto;
}

/* 右側：テキストカラム（55%） */
.breaker-text-column {
    flex: 1;
}

.step-guide-list .supp-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #c0d1e2;
}

.step-guide-list .supp-item:last-child {
    border-bottom: none;
}

.step-guide-list h4 {
    font-size: 1.05rem;
    color: var(--miyuki-blue);
    margin-bottom: 8px;
    font-weight: bold;
}

.step-guide-list p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* キャラクター装飾 */
.yuki-action-center {
    text-align: right; /* テキストの終わりに合わせる、または中央 */
    margin-top: 20px;
}

.yuki-on-char {
    width: 120px;
    height: auto;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 850px) {
    .breaker-flex-container {
        flex-direction: column;
        gap: 30px;
    }
    .breaker-image-column {
        width: 100%;
        box-sizing: border-box;
    }
    .yuki-action-center {
        text-align: center;
    }
}

/* --- 支払い方法：左右並びカード装飾 --- */

.pay-method-grid {
    display: flex;
    gap: 25px;
    background-color: var(--bg-light-gray); /* 薄いグレーの背景 */
    padding: 40px 25px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.pay-method-card {
    flex: 1;
    background-color: var(--white); /* カード内は白 */
    border-radius: 15px;
    padding: 35px 30px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.pay-card-head {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light-gray);
}

.pay-card-head i {
    color: var(--miyuki-blue);
    font-size: 1.5rem;
    margin-right: 15px;
}

.pay-card-head h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
}

.pay-card-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* 準備物エリアの強調 */
.prep-item-box {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--bg-light-blue); /* 薄いブルー背景 */
    border-radius: 8px;
}

.prep-item-box .label {
    display: block;
    color: var(--miyuki-blue);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.prep-item-box p {
    color: #333;
    font-weight: 500;
}

/* スマホ対応：縦並びへ */
@media (max-width: 850px) {
    .pay-method-grid {
        flex-direction: column;
        padding: 25px 15px;
    }
}

/* --- 契約容量変更セクションの装飾 --- */

.capacity-main-box {
    background-color: var(--bg-light-gray); /* 薄いグレーの背景 */
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--border);
}

.capacity-item {
    background-color: var(--white); /* 各項目を独立した白カードに */
    padding: 25px 30px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.capacity-item .num {
    color: var(--miyuki-blue);
    font-weight: 900;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    line-height: 1.5;
}

.capacity-item p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    color: #444;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .capacity-main-box {
        padding: 20px;
    }
    .capacity-item {
        padding: 20px;
    }
    .capacity-item .num {
        margin-right: 15px;
    }
}

/* --- 最終コンタクト：プレミアム・ブラッシュアップ --- */

.contact-card-premium {
    border: 4px solid var(--miyuki-blue);
    border-radius: 30px;
    background-color: #fff;
    overflow: hidden; /* 角丸を活かす */
    box-shadow: 0 10px 40px rgba(0, 112, 184, 0.08);
}

.contact-upper {
    padding: 40px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.partner-logo-main {
    max-width: 220px;
    margin-bottom: 15px;
}

.contact-intro {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
}

.contact-lower-flex {
    display: flex;
    align-items: center;
    padding: 50px 40px;
    gap: 30px;
}

/* 共通タグ */
.miyuki-tag {
    display: inline-block;
    color: var(--miyuki-blue);
    border: 1px solid var(--miyuki-blue);
    padding: 3px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 左：電話エリア */
.contact-box-left {
    flex: 1.2; /* 電話番号が長いので少し広めに */
    border-right: 1px solid #eee;
    padding-right: 30px;
    text-align: left;
}

.tel-display-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.tel-display-wrap i {
    font-size: 2rem;
    color: var(--miyuki-blue);
}

.tel-display-wrap a {
    font-size: 3.2rem; /* 2行にならない絶妙なサイズ */
    color: var(--miyuki-blue);
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
}

.reception-info {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* 右：Webエリア */
.contact-box-right {
    flex: 1;
    text-align: center;
}

.web-action-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.qr-container {
    text-align: center;
}

.qr-container img {
    width: 85px;
    height: 85px;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 5px;
}

.qr-container span {
    display: block;
    font-size: 0.7rem;
    color: #999;
    font-weight: bold;
}

.btn-miyuki-web {
    display: block;
    background-color: var(--miyuki-blue);
    color: #fff;
    padding: 18px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
    line-height: 1.2;
    white-space: nowrap; /* ボタン内で改行させない */
}

.btn-sub-text {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 8px;
}

/* スマホ対応 */
@media (max-width: 980px) {
    .contact-lower-flex {
        flex-direction: column;
        padding: 30px 20px;
    }
    .contact-box-left {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 30px;
        width: 100%;
        text-align: center;
    }
    .tel-display-wrap {
        justify-content: center;
    }
    .tel-display-wrap a {
        font-size: 2.2rem;
    }
}

/* --- 印刷用設定（見た目のまま印刷） --- */

@media print {
    /* 背景色やグラデーションを強制的に表示させる設定 */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* 印刷時の全体レイアウト調整 */
    @page {
        margin: 8mm; /* 紙の余白 */
    }

    body {
        background-color: #ffffff !important;
        min-width: 1024px; /* 横幅が狭くなりすぎて崩れるのを防ぐ */
    }

    #wrapper {
        width: 100% !important;
    }

    /* ヒーローヘッダー：100vhだと紙面を占領しすぎるため高さを調整 */
    .hero-header-full {
        height: 400px !important;
        min-height: auto !important;
        background-position: center !important;
    }

    .hero-inner-left h1 {
        font-size: 3.5rem !important;
        color: #ffffff !important;
    }

    /* 各セクション・カードが途中で切れないようにする */
    .section-container, 
    .supplement-info-box, 
    .method-card, 
    .attn-card-bg, 
    .prep-main-box, 
    .payment-main-box, 
    .contact-card-premium {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 25px !important;
    }

    /* リンクの装飾（URLを勝手に表示させない） */
    a {
        text-decoration: none !important;
        color: inherit !important;
    }
    
    a:after {
        content: "" !important;
    }

    /* メインコンテンツ幅の固定解除 */
    .main-content-fixed {
        max-width: 100% !important;
        padding: 40px 0 !important;
    }

    /* 最終コンタクトエリアの電話番号が1行で収まるように調整 */
    .tel-display-wrap a {
        font-size: 3rem !important;
    }
}

/* ----------------------------------------------------------------------
   次のステップへ進むボタン（大型リンク）
   ---------------------------------------------------------------------- */
.next-step-container {
    margin: 40px auto;
    text-align: center;
    max-width: 600px;
}

.btn-next-step {
    display: block;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 2px solid #0070b8; /* ミユキブルー */
    border-radius: 15px;
    padding: 30px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 112, 184, 0.1);
}

.btn-next-step span {
    display: block;
    color: #0070b8;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.btn-next-step strong {
    display: block;
    color: #333;
    font-size: 1.25rem;
    line-height: 1.4;
}

.btn-next-step i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* ホバーエフェクト */
.btn-next-step:hover {
    background: #0070b8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 112, 184, 0.2);
}

.btn-next-step:hover strong,
.btn-next-step:hover span {
    color: #fff;
}

.btn-next-step:hover i {
    transform: translateX(5px);
}

/* ----------------------------------------------------------------------
   システム管理課 メモ: 
   ・「次のページへ」リンクを復活させ、共通CSS(base.css)に統合しました。
   ・HTML内の既存文章や構成は一切変更していません。
   ---------------------------------------------------------------------- */