@charset "UTF-8";

/* =====================================
    notice.css
    水道局からのお知らせ 各ページ共通スタイル
    対象: notice/*/index.html
===================================== */


/* =====================================
    ■ 1. ベース（body・要素）
===================================== */
body {
    font-family: メイリオ, Meiryo, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, ＭＳ Ｐゴシック, Osaka, sans-serif;
}

.content ul,
.section ul {
    list-style: disc;
    margin: 0 20px;
}

.content ol,
.section ol {
    margin: 0 20px;
}


/* =====================================
    ■ 2. テキスト装飾ユーティリティ
===================================== */
strong.red        { color: #ED1A3D; }
strong.blue       { color: #187fc4; }
strong.conection  { color: #1068b3; margin-left: 14px; }

.dot {
    color: #20aee5;
    margin-right: 4px;
}

.mark {
    color: #0054aa;
}

/* PCのみ表示するスペーサー */
.pc-space {
    display: inline;
}
@media screen and (max-width: 768px) {
    .pc-space { display: none; }
}


/* =====================================
    ■ 3. ページタイトル
===================================== */
/* title クラスが付いた場合のサイズ調整 */
.pageTitle.title span {
    font-size: clamp(1.12rem, 1.56vw, 1.25rem);
}
@media screen and (max-width: 768px) {
    .pageTitle.title span {
        display: block;
        font-size: clamp(.875rem, 1.25vw, 1rem);
    }
}


/* =====================================
    ■ 4. セクション見出し（h3 バリエーション）
===================================== */
/* 水色帯（共通） */
h3.notice__heading {
    color: #fff;
    margin: 24px 0;
    padding: 8px 12px;
    background: #20aee5;
}

/* 赤帯（救急・緊急系） */
h3.rescue119 {
    color: #fff;
    margin: 24px 0;
    padding: 8px 12px;
    background: #ED1A3D;
}

/* 紺帯（コンテスト見出し・親のpaddingを打ち消して全幅） */
h3.contest__heading {
    color: #fff;
    margin: 24px -20px;
    padding: 8px 12px;
    background: #0054aa;
    width: auto;
}

/* 赤丸角（アワード） */
h3.award {
    color: #fff;
    margin: 24px 5px;
    padding: 8px 12px;
    background: #ED1A3D;
    text-align: center;
    border-radius: 10px;
}


/* =====================================
    ■ 5. セクション本文レイアウト
===================================== */
/* section: 上下マージンを持つ汎用ブロック */
.section {
    margin: 20px 0;
}

/* section__chapter: h4 + 本文のかたまり */
.section__chapter {
    margin: 10px 0;
}
.section__chapter span {
    display: block;
    text-align: left;
}
.section__chapterList {
    margin: 8px 20px;
}

/* section__inner: テキスト左・画像右の2カラム */
.section__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 12px 0;
}
.section__left {
    flex: 1;
}
.section__right {
    flex-shrink: 0;
    max-width: 45%;
}
.section__right img {
    width: 100%;
    height: auto;
}

/* section__innerLeft / section__innerRight（requestページ） */
.section__innerLeft {
    flex: 1;
}
.section__innerRight {
    flex-shrink: 0;
    max-width: 45%;
}
.section__innerRight img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .section__inner {
        display: block;
    }
    .section__right,
    .section__innerRight {
        max-width: 100%;
        margin-top: 12px;
    }
}

/* section__emphasis: 強調枠（reductionページ） */
.section__emphasis {
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}
.section__emphasisIntro {
    margin: 12px 0;
    padding: 0 8px;
    font-size: 0.9em;
}

/* 強調タイトル（色バリエーション） */
.section__emphasisTitle {
    padding: 8px 12px;
    font-size: clamp(.875rem, 1.25vw, 1rem);
    font-weight: bold;
    color: #fff;
}
.section__emphasisTitle--yellow { background: #c8960c; }
.section__emphasisTitle--green  { background: #2e8b57; }

/* 強調インナー（色バリエーション） */
.section__emphasisInner {
    padding: 12px 16px;
}
.section__emphasisInner--yellow { background: #fff9e6; }
.section__emphasisInner--green  { background: #f0fff4; }

/* 強調チャプター（色バリエーション） */
.section__emphasisChapter {
    margin: 12px 0;
    border-left: 4px solid #ccc;
    padding-left: 10px;
}
.section__emphasisChapter--yellow { border-color: #c8960c; }
.section__emphasisChapter--blue   { border-color: #1068b3; }
.section__emphasisChapter--purple { border-color: #7b4f9e; }

.section__emphasisChapterTitle {
    font-size: clamp(.875rem, 1.25vw, 1rem);
    font-weight: bold;
    margin-bottom: 4px;
}
.section__emphasisChapterTitle--yellow { color: #c8960c; }
.section__emphasisChapterTitle--blue   { color: #1068b3; }
.section__emphasisChapterTitle--purple { color: #7b4f9e; }


/* =====================================
    ■ 6. お問い合わせブロック（.inquiry）
===================================== */
.inquiry {
    margin: 20px 10px;
}
.inquiry h3,
.inquiry h4 {
    color: #fff;
    background: #56c3da;
    margin: 16px 0;
    padding: 8px 12px;
}
.inquiry p {
    font-size: 1em;
}
@media screen and (max-width: 768px) {
    .inquiry p { font-size: 0.85em; }
}


/* =====================================
    ■ 7. 横並びレイアウト（.inner）
===================================== */
.inner {
    display: flex;
    justify-content: center;
    gap: 1em;
    align-items: flex-start;
}
.inner p {
    font-size: 1em;
}
@media screen and (max-width: 768px) {
    .inner         { display: block; }
    .inner .character { margin: 0 auto; }
}


/* =====================================
    ■ 8. コンテンツブロック（.content）
===================================== */
.content {
    margin: 16px 0;
}
.content__left {
    flex: 1;
}
.content__img {
    width: 100%;
    height: auto;
    margin-top: 12px;
}


/* =====================================
    ■ 9. 画像・メディア系
===================================== */
/* figure: テキスト横の小さい画像 */
.figure {
    display: block;
    margin: 0 12px;
    width: 300px;
}
@media screen and (max-width: 768px) {
    .figure { margin: 20px auto; }
}
@media screen and (max-width: 480px) {
    .figure { width: 100%; }
}

/* mascot: 中央寄せイラスト */
.mascot {
    text-align: center;
}
.mascot img {
    width: 50%;
}

/* character: イラスト画像（demand, requestページ） */
.character {
    text-align: center;
}
.character img {
    max-width: 100%;
    height: auto;
}

/* meter: メーター画像（requestページ） */
.meter {
    width: 100%;
    height: auto;
}

/* header: ページ内の幅広画像（columnページ） */
.header {
    width: 500px;
    margin-top: -15px;
}
@media screen and (max-width: 768px) {
    .header { width: 100%; }
}

/* text: 本文テキストブロック */
.text {
    width: 60%;
    text-align: justify;
}
@media screen and (max-width: 768px) {
    .text { width: 100%; }
}


/* =====================================
    ■ 10. リンクページ案内（.linkpage）
===================================== */
.linkpage {
    margin: 40px 0 !important;
    display: block;
    background: #dceff4;
    padding: 8px 12px;
    font-size: clamp(.75rem, 1.093vw, .875rem);
}
.linkpage a {
    text-decoration: underline;
}


/* =====================================
    ■ 14. 青下水源地（aoshitaページ）
===================================== */
/* 施設紹介 */
.facility {
    margin: 20px 0;
}
.facility__img {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.facility__img img {
    width: calc(50% - 6px);
    height: auto;
}
@media screen and (max-width: 768px) {
    .facility__img img { width: 100%; }
}

/* フラグ画像 */
.flag {
    margin: 12px 0;
}
.flag img {
    width: 100%;
    height: auto;
}

/* プロジェクト */
.project {
    margin: 24px 0;
}
.project__logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 12px auto;
}
.project__img {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.project__img img {
    width: calc(33% - 8px);
    height: auto;
}
@media screen and (max-width: 768px) {
    .project__img img { width: calc(50% - 6px); }
}
@media screen and (max-width: 480px) {
    .project__img img { width: 100%; }
}


/* =====================================
    ■ 15. イベントページ（aoshita-fes / suidou-fairページ）
===================================== */
/* イベント情報レイアウト */
.content__left {
    flex: 1;
    min-width: 0;
}

/* 画像エリア（suidou-fair） */
.img {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 12px;
}
.img__scene {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: auto;
}
.img__character {
    flex-shrink: 0;
    width: 120px;
    height: auto;
}
@media screen and (max-width: 768px) {
    .img          { display: block; }
    .img__character { width: 80px; margin: 8px auto 0; display: block; }
}


/* =====================================
    ■ 16. SMS催告（demandページ）
===================================== */
.sms_content {
    margin: 16px 0;
}
/* 文章左6・アイコン右4 */
.sms_content .inner {
    display: flex;
    gap: 20px;
}
.sms_content .inner > div:first-child {
    flex: 6;
    min-width: 0;
}
.sms_content .inner .character {
    width: 60%;
    max-width: 350px;
}
.sms_icon {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .sms_content .inner {
        display: block;
    }
    .sms_content .inner .character {
        width: 60%;
        max-width: none;
        margin: 12px auto 0;
    }
}


/* =====================================
    ■ 17. requestページ（intro）
===================================== */
.intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 16px 0;
}
.intro__img {
    flex-shrink: 0;
    width: 200px;
    height: auto;
}
@media screen and (max-width: 768px) {
    .intro         { display: block; }
    .intro__img    { width: 100%; max-width: 300px; margin: 0 auto 12px; display: block; }
}


/* =====================================
    ■ 18. 重点支援地方交付金（kouhukinページ）
===================================== */

/* リード文強調 */
.kouhukin-intro {
    margin: 16px 0 24px;
    line-height: 1.8;
}
.kouhukin-intro .highlight {
    color: #c0392b;
    font-weight: bold;
}
.kouhukin-intro .emphasis {
    color: #c0392b;
    font-weight: bold;
}

/* 対象者・期間テキスト */
.kouhukin-target {
    color: #c0392b;
    font-weight: bold;
    font-size: clamp(.875rem, 1.25vw, 1rem);
    margin: 4px 0 8px;
}
.kouhukin-note {
    font-size: 0.85em;
    line-height: 1.6;
    color: #555;
    margin: 4px 0;
}
.kouhukin-period {
    color: #c0392b;
    font-weight: bold;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    margin: 6px 0 10px;
}
.kouhukin-period-detail {
    margin: 4px 0;
    padding-left: 1em;
    text-indent: -1em;
}
.kouhukin-period-detail::before {
    content: "●";
    color: #0054aa;
    margin-right: 4px;
}
.kouhukin-period-box {
    display: inline-block;
    border: 1px solid #c0392b;
    color: #c0392b;
    font-size: 0.82em;
    padding: 2px 8px;
    margin-top: 8px;
    white-space: nowrap;
}

/* 減免額テーブル */
.kouhukin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
    table-layout: fixed;
}
.kouhukin-table col.col-meter    { width: 34%; }
.kouhukin-table col.col-suidou   { width: 33%; }
.kouhukin-table col.col-gesuidou { width: 33%; }
.kouhukin-table thead tr {
    background: #0054aa;
    color: #fff;
}
.kouhukin-table thead th {
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #aac4e0;
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1.5;
}
.kouhukin-table tbody tr:nth-child(odd)  { background: #f5f8fc; }
.kouhukin-table tbody tr:nth-child(even) { background: #e8f0f8; }
.kouhukin-table td {
    padding: 8px 12px;
    border: 1px solid #aac4e0;
    text-align: center;
    white-space: nowrap;
}
.kouhukin-table td.col-meter-cell {
    font-weight: bold;
    background: #0054aa;
    color: #fff;
    text-align: center;
}
.kouhukin-table td.col-suidou-cell {
    text-align: center;
}
.kouhukin-table td.col-gesuidou-cell {
    text-align: center;
    background: #d6eaf8;
    vertical-align: middle;
}
.kouhukin-table .tax-note {
    font-size: 0.85em;
    color: #ccc;
}

/* 水道・下水道ラベル */
.label-suidou {
    display: inline-block;
    background: #4a90d9;
    color: #fff;
    font-size: 0.85em;
    padding: 1px 8px;
    border-radius: 2px;
    margin-right: 6px;
}
.label-gesuidou {
    display: inline-block;
    background: #20aee5;
    color: #fff;
    font-size: 0.85em;
    padding: 1px 8px;
    border-radius: 2px;
    margin-right: 6px;
}

/* ホームページリンク */
.kouhukin-weblink {
    display: block;
    margin: 12px 0 16px;
    font-size: clamp(.75rem, 1.093vw, .875rem);
}
.kouhukin-weblink::before {
    content: "▶";
    color: #0054aa;
    font-size: 0.8em;
    margin-right: 4px;
}
.kouhukin-weblink a {
    color: #0054aa;
    text-decoration: underline;
}

/* 減免額説明 */
.kouhukin-amount-desc {
    padding: 10px 0 8px;
    font-size: 0.9em;
    line-height: 1.8;
}


/* =====================================
    ■ 19. 給水車大解剖（kyusuisyaページ）
===================================== */

/* リード文エリア */
.kyusuisya-intro {
    margin: 0 0 20px;
    line-height: 1.8;
}

/* ためる・はこぶ・くばる バッジ */
.badge {
    display: inline-block;
    color: #fff;
    font-size: 0.85em;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 3px;
    margin: 0 2px;
}
.badge--tame    { background: #6fba2c; } /* ためる：オレンジ */
.badge--hakobu  { background: #0068b7; } /* はこぶ：緑 */
.badge--kubaru  { background: #f08300; } /* くばる：赤 */

/* メインコンテンツ3カラム */
.kyusuisya-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 16px 0;
}
.kyusuisya-layout__left {
    width: 28%;
    flex-shrink: 0;
}
.kyusuisya-layout__center {
    flex: 1;
    min-width: 0;
}
.kyusuisya-layout__right {
    width: 24%;
    flex-shrink: 0;
}
@media screen and (max-width: 768px) {
    .kyusuisya-layout {
        display: block;
    }
    .kyusuisya-layout__left,
    .kyusuisya-layout__right {
        width: 100%;
        margin-top: 12px;
    }
}

/* 吹き出し（説明テキスト枠） */
.callout {
    background: #fff;
    border: 2px solid #aac4e0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: clamp(.75rem, 1.093vw, .875rem);
    line-height: 1.7;
    margin-bottom: 10px;
}
/* 水色背景の吹き出し */
.callout--blue {
    background: #d6eaf8;
    border-color: #4a90d9;
}

/* 仮設水槽ラベル */
.label-kasetu {
    display: inline-block;
    background: #0054aa;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    padding: 1px 8px;
    border-radius: 2px;
    margin-bottom: 6px;
}

/* 右カラム説明リスト */
.kyusuisya-steps {
    font-size: clamp(.75rem, 1.093vw, .875rem);
    line-height: 1.8;
}
.kyusuisya-steps p {
    margin: 6px 0;
}
.kyusuisya-steps .step-badge {
    display: block;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 0.9em;
    padding: 3px 0;
    border-radius: 3px;
    margin: 4px 0;
}
.kyusuisya-steps .step-badge--tame   { background: #6fba2c; }
.kyusuisya-steps .step-badge--hakobu { background: #0068b7; }
.kyusuisya-steps .step-badge--kubaru { background: #f08300; }

/* 画像プレースホルダー */
.img-placeholder {
    background: #e8eef5;
    border: 2px dashed #aac4e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a96b0;
    font-size: 0.8em;
    text-align: center;
    line-height: 1.5;
    border-radius: 4px;
}
.img-placeholder--truck {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 8px 0;
}
.img-placeholder--small {
    width: 100%;
    aspect-ratio: 4/3;
    margin: 8px 0;
}
.img-placeholder--mascot {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}


/* =====================================
    ■ 20. 水質検査結果（suishitsuページ）
===================================== */

/* ページタイトル上の年度ラベル */
.suishitsu-year {
    display: inline-block;
    border: 1px solid #0054aa;
    color: #0054aa;
    font-size: 0.8em;
    padding: 1px 8px;
    margin-bottom: 4px;
    border-radius: 2px;
}

/* 安全性確認の強調ボックス */
.suishitsu-safety {
    background: #e8f4fb;
    border: 2px solid #0054aa;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 16px 0;
    line-height: 1.8;
    font-size: clamp(.875rem, 1.25vw, 1rem);
}
.suishitsu-safety .highlight {
    color: #0054aa;
    font-weight: bold;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
}

/* リンク誘導ボックス */
.suishitsu-linkbox {
    background: #d6eaf8;
    border: 1px solid #4a90d9;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: clamp(.75rem, 1.093vw, .875rem);
    line-height: 1.8;
}
.suishitsu-linkbox a {
    color: #0054aa;
    text-decoration: underline;
    font-weight: bold;
}

/* ルビ */
.ruby-text {
    display: inline-block;
    text-align: center;
    font-size: 0.75em;
    line-height: 1;
}


/* =====================================
    ■ 21. 水質検査結果 2カラムレイアウト
===================================== */
/* アイコン左1・テキスト右1（均等） */
.suishitsu-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}
.suishitsu-layout .character {
    flex: 1;
    min-width: 0;
}
.suishitsu-layout .character + div {
    flex: 1;
    min-width: 0;
}

@media screen and (max-width: 768px) {
    .suishitsu-layout {
        display: block;
    }
    .suishitsu-layout .character {
        width: 60%;
        max-width: none;
        margin: 0 auto 12px;
    }
}


/* =====================================
    注釈テキスト（コラムページ等）
===================================== */
p.footnote{
    font-size: 0.9em;
    margin-top: 8px;
}