@charset "UTF-8";

/**
 * =================================================================
 * page-gas.css
 * ガスの手続き専用スタイルシート
 * 1. 共通カラー・レイアウト（ミユキブルー）
 * 2. 受付窓口（赤・青アイコンカード）
 * 3. 連絡方法（3枚並びカード）
 * 4. 事前準備（チェックリストとキャラ）
 * 6. 箇条書きカード（料金・支払い・注意点）
 * 8. 利用開始方法（手順リスト・止水栓タイプ）
 * 11. 自治体・ガス会社別窓口（QR対応カード）
 * 99. 印刷・スマホ対応（メディアクエリ）
 * =================================================================
 */

/* -----------------------------------------------------------------
   1. 共通カラー・レイアウト定義
----------------------------------------------------------------- */
: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/gas_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.4), rgba(0, 0, 0, 0.6));
}
.hero-inner-left { position: relative; z-index: 10; padding-left: 5%; color: #fff; }
.hero-inner-left h1 { font-size: 5rem; margin: 0; font-weight: 700; letter-spacing: 0.1em; }

/* メインコンテンツ幅固定 */
.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;
}

/* -----------------------------------------------------------------
   2. 受付窓口（赤・青の停止・開始カード）
----------------------------------------------------------------- */
.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; position: relative; }
.stop-red-water { background: radial-gradient(circle, #fff, #fff0f0); border: 1px solid #ffd0d0; }
.stop-red-water::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; background: #e74c3c; border-radius: 50%; }
.start-blue-water { background: radial-gradient(circle, #fff, #eef6ff); border: 1px solid #d0e4ff; }
.start-blue-water::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; background: var(--miyuki-blue); border-radius: 50%; }

/* 補足ボックス（薄いブルー背景） */
.supplement-info-box { background: var(--bg-light-blue); border-radius: 12px; padding: 45px; border: 1px solid #dce8f5; }
.supp-item { margin-bottom: 30px; }
.supp-item h4 { color: var(--miyuki-blue); margin-bottom: 10px; font-weight: bold; }

/* -----------------------------------------------------------------
   3. 連絡方法（3枚並びアイコンカード）
----------------------------------------------------------------- */
.method-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.method-card { background: 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; }

/* 立会い注意カード（ガス特有の警告色） */
.attn-card-bg { background: #fff9f0; border: 1px solid #ffedcc; padding: 25px; border-radius: 12px; }
.attn-card-bg i { color: #f39c12; margin-right: 10px; }

/* -----------------------------------------------------------------
   4. 事前準備（チェックリストとキャラ）
----------------------------------------------------------------- */
.prep-main-box { display: flex; align-items: center; background: 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: #fff; padding: 18px 25px; border-radius: 10px; display: flex; align-items: center; border: 1px solid #eee; }
.prep-item i { color: var(--miyuki-blue); margin-right: 15px; }
.prep-item .note { font-size: 0.85rem; color: #777; margin-left: auto; }
.yuki-img { width: 160px; height: auto; }

/* -----------------------------------------------------------------
   6. 箇条書きカード（支払い方法・停止と開始など）
----------------------------------------------------------------- */
.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; }
.payment-item .num { color: var(--miyuki-blue); font-weight: 900; font-size: 1.2rem; margin-right: 20px; flex-shrink: 0; }

/* 左右比較用カード（口座振替・クレジットカード） */
.pay-method-grid { display: flex; gap: 25px; margin-top: 30px; }
.pay-method-card { flex: 1; background: #fff; padding: 30px; border-radius: 15px; border: 1px solid #eee; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.prep-item-box { background-color: var(--bg-light-blue); padding: 20px; border-radius: 10px; }

/* -----------------------------------------------------------------
   8. 利用開始方法（手順リスト・止水栓タイプ）
----------------------------------------------------------------- */
/* 手順リストの薄ブルー枠と点線 */
.step-blue-box { background-color: var(--bg-light-blue); padding: 30px 40px; border-radius: 15px; margin-bottom: 30px; }
.water-step-list { list-style: none; padding: 0; }
.water-step-list li { padding: 12px 0; border-bottom: 1px dashed #c0d1e2; font-size: 0.95rem; }
.water-step-list li:last-child { border-bottom: none; }

/* 止水栓タイプカード */
.valve-type-grid { display: flex; gap: 20px; margin-bottom: 40px; }
.valve-type-card { flex: 1; background: #fff; border: 1px solid #dce8f5; border-radius: 12px; padding: 20px; text-align: center; }
.valve-visual img { max-width: 100%; height: 120px; object-fit: contain; margin: 15px 0; }

/* ★重要：ユキニャンのサイズ制限（巨大化防止） */
.yuki-finish-area { text-align: center; margin-top: 20px; }
.yuki-mini-full { width: 120px !important; height: auto; margin-bottom: 10px; }
.yuki-comment { font-size: 0.9rem; font-weight: bold; color: var(--miyuki-blue); }

/* -----------------------------------------------------------------
   10. 詳細支払い方法（3枚並び調整）
----------------------------------------------------------------- */

/* 箇条書きの点を消し、各項目の間隔を調整 */
.no-bullet-list p {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    list-style: none; /* 点を消す */
}

.no-bullet-list p:last-child {
    margin-bottom: 0;
}

/* カードの高さを揃える設定（既存の method-grid-3 を継承） */
.note-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* -----------------------------------------------------------------
   11. 自治体・ガス会社別窓口（QR対応カード）
----------------------------------------------------------------- */
.city-office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.city-card { background: #fff; border: 1px solid #dce8f5; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.city-card-header { background: var(--miyuki-blue); color: #fff; padding: 12px 20px; font-weight: bold; }
.city-card-body { padding: 20px; }
.city-card-body .tel { font-size: 1.4rem; font-weight: 900; color: var(--miyuki-blue); margin: 0; }
.city-card-footer { background: var(--bg-light-blue); padding: 10px 20px; font-size: 0.85rem; border-top: 1px solid #dce8f5; }

/* -----------------------------------------------------------------
   12. 各手続きの注意点（追加分）
----------------------------------------------------------------- */
/* 注意点専用カード：文字を左寄せにし、高さを揃える */
.note-card {
    text-align: left !important;
    display: flex;
    flex-direction: column;
    padding: 35px 20px !important;
}

.note-card h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--miyuki-blue);
    font-weight: bold;
}

.note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-list li {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #555;
    position: relative;
    padding-left: 5px;
}

/* スマホ時は1列、タブレット時は縦に並べる設定は既存のメディアクエリ（99番）で対応 */

/* -----------------------------------------------------------------
   13. 料金精算・機器処分（余白調整メモ）
----------------------------------------------------------------- */
.m-b-40 {
    margin-bottom: 40px; /* セクション間の距離を一定に保つ */
}

/* -----------------------------------------------------------------
   16. 利用開始・停止：デザイン微調整（箇条書き削除・画像右寄せ）
----------------------------------------------------------------- */

/* 箇条書きの点（・）を消す設定 */
.no-bullet-list p {
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none; /* 点を消す */
}

/* 画像にある赤い破線枠の再現 */
.important-red-box {
    border: 1.5px dashed #e74c3c;
    background-color: #fff5f5;
    padding: 15px;
    border-radius: 8px;
    color: #e74c3c;
    line-height: 1.7;
}

/* テキスト左・画像右のレイアウト */
.equipment-info-flex {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    gap: 30px;
}

.equipment-text {
    flex: 1;
}

.equipment-visual-right {
    flex: 1.5; /* 画像側を少し広く */
    text-align: right;
}

.equipment-visual-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.small-text {
    font-size: 0.85rem;
    color: #888;
}

/* スマホ対応：画像とテキストを縦に並べる */
@media (max-width: 850px) {
    .equipment-info-flex {
        flex-direction: column;
        padding: 20px;
    }
    .equipment-visual-right {
        text-align: center;
    }
}

/* -----------------------------------------------------------------
   17. ガスの種類（特徴リスト装飾）
----------------------------------------------------------------- */

.gas-type-table dl {
    margin: 0;
    font-size: 0.85rem;
}

.gas-type-table dt {
    color: var(--miyuki-blue);
    font-weight: bold;
    margin-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--bg-light-blue);
    display: flex;
    align-items: center;
}

.gas-type-table dt::before {
    content: "■";
    font-size: 0.6rem;
    margin-right: 8px;
}

.gas-type-table dd {
    margin: 8px 0 0 0;
    line-height: 1.6;
    color: #555;
}

/* カード内のアイコン調整 */
.fa-cylinder::before { content: "\f472"; } /* FontAwesomeのボンベアイコン等 */
.fa-pipeline::before { content: "\f3c1"; } /* パイプライン等 */

/* -----------------------------------------------------------------
   18. トラブル解決セクション専用スタイル
----------------------------------------------------------------- */

/* 外枠コンテナ：東邦液化ガス出典の内容を包む */
.trouble-guide-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* 画像にある黄色い見出しの再現：出典元のデザインを継承 */
.guide-sub-title {
    background-color: #d4a017; /* 出典元に近いゴールドイエロー */
    color: #fff;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

/* 給湯器・コンロ編の4カラム/3カラムグリッド */
.trouble-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; padding: 25px; text-align: center; }
.trouble-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 25px; text-align: center; }

/* 困っているイラストとメイン解説のフレックス配置 */
.trouble-flex-top {
    display: flex;
    gap: 30px;
    padding: 30px;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.guide-item img {
    max-height: 130px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.guide-item p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* メーター設置場所（戸建て・集合住宅）の横並び */
.meter-location-flex {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 30px 20px;
    background: #fff;
    gap: 20px;
}

.meter-loc-item {
    flex: 1;
    max-width: 320px;
    text-align: center;
}

.meter-loc-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 10px;
}

.loc-label {
    color: var(--miyuki-blue);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

/* マイコンメーターしゃ断原因（AOC/BC等）の4並び */
.micon-reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 25px;
}

.reason-item {
    background: #f1f8f9;
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
}

.reason-item p {
    font-size: 0.8rem;
    color: #d4a017;
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 2.4em; /* テキストの高さを揃える */
}

.reason-item img {
    width: 100%;
    max-width: 100px;
    height: auto;
}

/* 復帰手順 1〜4 のステップレイアウト */
.restore-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px 25px;
}

.restore-item {
    text-align: center;
}

.restore-item img {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
}

.restore-item p {
    font-size: 0.85rem;
    text-align: left; /* 解説文は左寄せで読みやすく */
    line-height: 1.6;
    margin: 0;
}

/* スマホ対応（メディアクエリ） */
@media (max-width: 850px) {
    .trouble-grid-4, .trouble-grid-3, .micon-reason-grid, .restore-step-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列にする */
    }
    .trouble-flex-top, .meter-location-flex {
        flex-direction: column;
        align-items: center;
    }
    .meter-loc-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .trouble-grid-4, .trouble-grid-3, .micon-reason-grid, .restore-step-grid {
        grid-template-columns: 1fr; /* 1列にする */
    }
}
/* -----------------------------------------------------------------
   19. 地域別ガス会社：最終レイアウト（QR右固定・ボタン装飾）
----------------------------------------------------------------- */

.city-office-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.city-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.city-card-body {
    display: flex;
    justify-content: space-between;
    align-items: center; /* QRとテキストを中央で揃える */
    padding: 20px;
    background: #fff;
}

/* 左側：情報エリア */
.city-info-main {
    flex: 1;
}

.city-logo-wrap { height: 35px; margin-bottom: 12px; display: flex; align-items: center; }
.city-logo-wrap img { max-height: 100%; max-width: 160px; object-fit: contain; }

.city-info-main .tel {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--miyuki-blue);
    margin-bottom: 5px;
}

/* Webボタン：目に留まりやすい青色 */
.web-entry-btn {
    display: inline-block;
    background-color: var(--miyuki-blue);
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    margin: 5px 0 10px 0;
}

.city-info-main .time, .city-info-main .holiday {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 右側：QRコードエリア */
.city-qr-area {
    width: 85px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #f0f0f0;
    text-align: center;
}

.city-qr-area img {
    width: 60px; /* 小さすぎず、大きすぎないサイズ */
    height: 60px;
    display: block;
    margin: 0 auto 5px;
}

.city-qr-area span {
    font-size: 0.65rem;
    color: #aaa;
    display: block;
}

/* -----------------------------------------------------------------
   99. 印刷・スマホ対応（メディアクエリ）
----------------------------------------------------------------- */
@media print {
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    @page { margin: 8mm; }
    .hero-header-full { height: 400px !important; }
    .section-container, .supplement-info-box, .city-card { break-inside: avoid; }
}

@media (max-width: 850px) {
    .step-flex-row, .method-grid-3, .prep-main-box, .pay-method-grid, .valve-type-grid, .city-office-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    .hero-inner-left h1 { font-size: 3rem; }
    .main-content-fixed { padding: 50px 20px; }
}