@charset "UTF-8";

/* =========================================
   Google Fonts から Noto Sans JP を読み込み
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* =========================================
   基本設定・リセット
========================================= */
:root {
    --primary-color: #3b78d8;
    --text-color: #333;
    --bg-color: #fff;
    --header-bg: #007bbf;
}

body {
    /* フォント指定を Noto Sans JP に変更 */
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    padding-top: 40px; /* 固定ヘッダーの高さ分の余白 */
    line-height: 1.8;
    background-color: var(--bg-color);
    font-size: 16px; /* emの根本的な基準となるベースサイズ */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================
   レイアウト・コンポーネント
========================================= */
/* 固定ヘッダー（ブラウザ上部に追従） */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    color: #fff;
    padding: 10px 20px;
    font-size: 1.2em;
    z-index: 1000;
    box-sizing: border-box;
}

/* メインビジュアル（ヒーローエリア） */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hero-bg2.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

/* 通常の1.6emから20%アップ → 1.92em */
.hero p {
    font-size: 2.6em;
    margin: 0 0 10px 0;
    font-weight: bold;
}

/* 通常の4.0emから20%アップ → 4.8em */
.hero h1 {
    font-size: 4.8em;
    margin: 0;
    letter-spacing: 0.1em;
}

/* コンテンツ幅の制限 */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 見出しデザイン（上下にグレーのボーダーを適用） */
/* 通常の2.0emから20%アップ → 2.4em */
.section-title {
    color: var(--primary-color);
    font-size: 3em;
    border-top: 4px solid #f0f0f0;
    border-bottom: 4px solid #f0f0f0;
    margin-top: 0;
    margin-bottom: 25px;
}

/* 通常の1.4emから20%アップ → 1.68em */
.notice-title {
    color: var(--primary-color);
    font-size: 1.68em;
    margin-bottom: 15px;
}

/* フレックスボックスによる段組み */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

/* カラム幅の割合設定 */
.col-5 { flex: 0 0 calc(41.666% - 20px); }
.col-7 { flex: 0 0 calc(58.333% - 20px); }
.col-8 { flex: 0 0 calc(66.666% - 20px); }
.col-4 { flex: 0 0 calc(33.333% - 20px); }

/* 文字装飾 */
.text-small { font-size: 0.85em; color: #666; }
.text-primary { color: var(--primary-color); font-weight: bold; }
.text-danger { color: #d93025; font-size: 0.95em; font-weight: bold; }
.text-center { text-align: center; }

/* その他個別パーツ */
.image-stack img {
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.custom-list {
    padding-left: 20px;
}

.custom-list li {
    margin-bottom: 15px;
}

.download-list {
    list-style: none;
    padding-left: 1em;
}

.download-list li {
    margin-bottom: 10px;
}

.notice-wrapper {
    padding-top: 40px;
    margin-top: 60px;
}

.notice-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* =========================================
   スマートフォン向けレスポンシブ対応
========================================= */
@media (max-width: 768px) {
    .col-5, .col-7, .col-8, .col-4 {
        flex: 0 0 100%;
    }
    .hero {
        padding: 80px 20px;
    }
    /* 通常の1.2emから20%アップ → 1.44em */
    .hero p {
        font-size: 1.44em;
    }
    /* 通常の2.5emから20%アップ → 3.0em */
    .hero h1 {
        font-size: 3.0em;
    }
    /* 通常の1.5emから20%アップ → 1.8em */
    .section-title {
        font-size: 1.8em;
    }
    .row {
        gap: 20px;
        margin-bottom: 40px;
    }
}
