@charset "utf-8";

/* ============================================================
   FILE INFORMATION
   ------------------------------------------------------------
   作成日:       2026-04-08
   作成者:       Gemini (Project Engineer)
   場所:         岡崎市 ミユキサブリース インフラ管理ポータル
   目的:         サイト全体の不変的な共通基盤スタイルの定義。
                 リセット、共通カラー、およびセンタリングフッターを管理する。
   ============================================================
*/
/* ============================================================
0. Base Fonts (Material Symbols の読み込み)
   コピペ用：style.cssの冒頭付近に記述してください。
============================================================
*/
/* --- Google Icons (Material Symbols) --- */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0');

/* アイコンの基本設定（32px・塗りつぶし） */
.material-symbols-outlined {
    font-size: 32px;
    font-variation-settings: 'FILL' 1;
    vertical-align: middle;
}

/* カード内のタイトル調整 */
.info-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

/* アイコンの色 */
.icon-stop { color: #0070b8; }
.icon-start { color: #f39800; }

/* センタリング用（セクション単位） */
.info-section.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 全体を包むコンテナ */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* セクション全体のセンタリング設定 */
.info-section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素（見出しやグリッド）を中央へ */
}

/* 見出しも中央寄せ */
.bar-heading {
    display: flex;
    align-items: center;
    justify-content: center; /* 見出し自体を中央寄せ */
    font-size: 1.9rem;
    font-weight: bold;
    color: #0070b8;
    margin-bottom: 30px;
    width: 100%;
}

/* カードのグリッド配置 */
.content-grid {
    display: flex;
    justify-content: center; /* カードの塊を中央寄せ */
    gap: 20px;
    width: 100%;
}

/* カード単体のスタイル */
.info-card {
    flex: 0 1 480px; /* 広がりすぎないよう最大幅を制限 */
    background-color: #f8f9fa;
    padding: 35px 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    
    /* 文章の設定：ここが重要です */
    text-align: left; /* 文章自体は左寄せ */
    display: flex;
    flex-direction: column;
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1.45rem;
    line-height: 1.8;
    margin: 0;
}
/* ============================================================
1. Reset & Base Settings
   1.1 ブラウザ間の表示差異を解消し、デザインの基盤を統一します。
============================================================
*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 1.2 ルート設定: 10px基準のフォントサイズ定義 */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* 1.3 サイト基本タイポグラフィ */
body {
    font-size: 1.6rem;
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* 1.4 リンク・画像の標準挙動 */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ============================================================
2. Common Layout Components
   2.1 コンテンツの最大幅を 1000px に制限し、中央に配置します。
============================================================
*/
.container, .main-content-fixed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
3. Common UI Elements
   3.1 共通サブナビゲーションボタン (btn-sub-nav) の定義
============================================================
*/
.btn-sub-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 15px 25px;
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-sub-nav:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ============================================================
4. Footer Section (不変的設定)
   4.1 フッター全体: ご要望に基づき、全要素を中央揃えに固定します。
============================================================
*/
.site-footer-fixed {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.f-brand-name {
    font-size: 2.0rem;
    font-weight: bold;
    letter-spacing: 0.15em;
}

.copyright {
    font-size: 1.2rem;
    color: #888;
}

/* ============================================================
5. Utility Color Palette (不変的設定)
   5.1 特定の役割を持つカラーを定義（!important で適用を保証）。
============================================================
*/
.red    { color: #be0018 !important; }
.green  { color: #148c28 !important; }
.blue   { color: #0070b8 !important; }
.orange { color: #f0641e !important; }
.purple { color: #5a50a0 !important; }
.white  { color: #ffffff !important; }
.black  { color: #333 !important; }
.pink   { color: #db7093 !important; }


/* ============================================================
7. Common Header (Hero Area) - 不変的設定
   7.1 ヒーローエリアの共通サイズ: 
       全ページで統一した視覚体験を提供するため、高さを固定します。
============================================================
*/
.hero-header-full {
    height: 35vh; /* 画面の約3分の1程度に抑え、実用性を優先 */
    min-height: 280px; 
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* 7.2 共通オーバーレイ */
.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));
    z-index: 1;
}

/* 7.3 共通タイトル装飾 */
.hero-inner-left {
    position: relative;
    z-index: 10;
    padding-left: 5%;
    color: #ffffff;
}

.hero-inner-left h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
/* ============================================================
8. Page Navigation Components (不変的設定：Material Symbols版)
   8.1 ナビゲーションエリア: 3つの要素を中央寄せで横並び。
============================================================
*/
/* 8.1 ナビゲーションエリア: 中央軸固定の3カラム */
.page-nav-area {
    margin: 80px auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 320px 1fr; 
    align-items: stretch;
    gap: 15px;
    width: 100%;
}

/* 8.2 共通ボタン基盤: 枠線2px、高さ110pxで完全同期 */
.nav-item-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 110px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid transparent; /* 基盤として設定 */
    box-sizing: border-box;
}

/* 8.3 個別配色（画像通り） */
.nav-item-btn.prev-sub {
    grid-column: 1;
    background-color: #f7f7f7;
    border-color: #e0e0e0;
    color: #888;
}
.nav-item-btn.top-home {
    grid-column: 2;
    background-color: #ffffff;
    border-color: #333;
    color: #333;
    font-weight: bold;
}
.nav-item-btn.next-main {
    grid-column: 3;
    background-color: #eff6ff;
    border-color: #0070b8;
    color: #0070b8;
    font-weight: bold;
}

/* 8.4 Material Symbols アイコンの配置調整 */
.nav-item-btn .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400; /* アイコンを塗りつぶし設定 */
    font-size: 24px;
}

/* TOPボタンはアイコンが上 */
.nav-item-btn.top-home .material-symbols-outlined {
    margin-bottom: 5px;
}

/* 次のステップはタイトルが下（改行） */
.nav-item-btn .btn-title {
    display: block;
    font-size: 1.6rem;
    color: #333;
    margin-top: 5px;
}

/* ホバー効果 */
.nav-item-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* ============================================================
9. Typography & Lead Text (不変的設定)
   9.1 リード文: 冒頭の案内文。ゆとりある行間で視認性を高めます。
============================================================
*/
.lead-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

/* ============================================================
10. Section Headings & Cards (不変的設定)
   10.1 バー付き見出し: ミユキブルーの垂直線でセクションを区切ります。
============================================================
*/
.bar-heading {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #0070b8; /* ミユキブルー */
    margin: 50px 0 30px;
}

.bar-heading::before {
    content: '';
    display: inline-block;
    width: 6px;       /* 垂直線の太さ */
    height: 1.4em;    /* 文字の高さに合わせる */
    background-color: #0070b8;
    margin-right: 15px;
    border-radius: 2px;
}

/* 10.2 コンテンツカード (2カラム・3カラム共通)
       画像通りの薄グレー背景と角丸を再現。
*/
.content-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    flex: 1;
    background-color: #f8f9fa; /* 画像に基づいた非常に薄いグレー */
    padding: 35px 30px;
    border-radius: 15px;
    min-height: 180px;
}

.info-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.info-card p {
    font-size: 1.45rem;
    line-height: 1.7;
    color: #444;
}

/* ============================================================
   11. Layout-Spacing (セクション間隔の一貫性保持)
   ------------------------------------------------------------
   【作成日時】  2026-04-09
   【作成場所】  愛知県岡崎市 ミユキサブリース
   【作成者】    Gemini (Project Engineer)
   【対象】      ページ全体の全セクション間
   【目的】      まちまちになっていたセクション間の余白を統一し、
                 読みやすさとデザインの完成度を高める。
   ============================================================
*/

/* 11.1 共通セクションコンテナの余白統一 */
.section-container, 
.info-section, 
.electrical-contact, 
.frequency-section {
    margin-bottom: 40px !important; /* 全セクションの下側に一律で大きな余白を確保 */
    padding-top: 20px;
}

/* 11.2 見出し（バー付き見出し）とコンテンツの間の余白を統一 */
.bar-heading, 
.ideal-bar-heading {
    margin-bottom: 40px !important; /* 見出しのすぐ下の詰まりを解消 */
    margin-top: 0 !important; /* 上の余白はセクション側の margin-bottom で制御するためリセット */
}

/* 11.3 最後のナビゲーションエリア前の調整 */
.page-nav-area {
    margin-top: 120px !important; /* フッターやナビ前は少し多めに空けて区切りを強調 */
    border-top: 1px solid #f0f0f0;
    padding-top: 60px;
}

/* 11.4 例外：リード文直下の調整 */
.pop-lead + div {
    margin-top: 20px; /* カプセル型リード文とその下のコンテンツの距離 */
}

/* ============================================================
   16. Breadcrumb-Underline (パンくずリスト下のアンダーバー)
   ------------------------------------------------------------
   【更新日時】  2026-04-09
   【作成者】    Gemini (Project Engineer)
   【対象】      パンくずリスト（breadcrumb-container）
   【目的】      画像(image_8109a1.png)のシンプルな質感を活かし、
                 セクションの区切りを明確にする細いラインを引く。
   ============================================================
*/

.breadcrumb-container {
    width: 100%;
    background-color: #ffffff; /* 清潔感のある白背景 */
    padding: 12px 0;           /* 上下の余白を均等に */
    
    /* アンダーバーの設定：シンプルで細いグレーの線 */
    border-bottom: 1px solid #e0e0e0;
    
    /* わずかに下のコンテンツから浮かせる影（不要な場合は削除OK） */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    
    margin-bottom: 30px; /* 下の文章との間隔を確保 */
}

/* パンくずリスト内のテキストスタイル調整 */
.breadcrumb-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    color: #666;
}

/* リンクの色（ホーム > の部分など） */
.breadcrumb-list a {
    color: #0070b8; /* ミユキブルー */
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline; /* ホバー時のみ下線を表示 */
}

/* ============================================================
   17. Print-Button-Style (印刷ボタン：ポップ装飾)
   ------------------------------------------------------------
*/
.print-action-area {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: right; /* 右寄せでスッキリ配置 */
}

.miyuki-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    color: #0070b8;
    border: 2px solid #0070b8;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.miyuki-print-btn:hover {
    background-color: #0070b8;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 112, 184, 0.2);
}

.miyuki-print-btn .material-symbols-outlined {
    font-size: 2rem;
}

/* ============================================================
   18. Print-Media-Query (印刷時の表示制御：タイトルあり版)
   ------------------------------------------------------------
*/
@media print {
    /* 18.1 非表示にする要素（パンくず、ボタン、フッター、ポータル戻る等） */
    .breadcrumb-container, 
    .no-print, 
    .page-nav-area, /* ポータルへ戻るボタンエリア */
    footer,
    aside {
        display: none !important;
    }

    /* 18.2 表示を維持・調整する要素 */
    header.electrical-top-visual {
        display: block !important;
        height: auto !important; /* 印刷時は画面いっぱいに広げず内容に合わせる */
        padding: 40px 0 !important;
        background-image: none !important; /* インク節約のため背景写真は消す */
        border-bottom: 2px solid #0070b8 !important; /* 代わりにラインを引く */
    }

    /* 18.3 タイトルカードの装飾リセット（印刷用に白背景へ） */
    .top-visual-content {
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .top-visual-content h1 {
        color: #0070b8 !important;
        font-size: 28pt !important; /* 印刷に適したサイズ */
    }

    /* 18.4 コンテンツ全体の調整 */
    body {
        background: #fff !important;
        font-size: 12pt;
    }

    .section-container {
        page-break-inside: avoid; /* セクションが途中で切れないように */
        margin-bottom: 50px !important;
    }
}