@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;700&display=swap');

/* Column Page Specific Styles - Wa-fu (Japanese Style) Edition */

/* style_pc.css / style.css の強制幅・余白を上書き */
body {
    min-width: 0 !important;
    padding-bottom: 0 !important;
}

/* main・footer を確実にブロック表示でスタック */
main,
footer {
    display: block !important;
    width: 100%;
    clear: both;
    float: none;
}

/* はみ出し防止の基本設定 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

/* テーブルの横スクロール対応 */
table {
    width: 100%;
    border-collapse: collapse;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* テーブルが直接置かれている場合も対応 */
.article-section table,
.column-container table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    max-width: 100%;
}
.page-title-banner {
    background: #fff;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}
.page-title-banner h1 {
    font-size: 28px;
    color: #d7000f;
    display: inline-block;
    position: relative;
}
.page-title-banner h1::before, .page-title-banner h1::after {
    content: "・";
    color: #d7000f;
}
.intro-section {
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
    font-size: 16px;
}
.column-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fcfaf2;
    /* Washi-like off-white */
    background-image: radial-gradient(#e6e2d3 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGMinchoE", "MS PMincho", "MS Mincho", serif;
    color: #3e3a39;
    /* Sumi color */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #8c8c8c;
    margin-bottom: 30px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    /* Keep Nav Gothic */
}

.breadcrumb a {
    color: #595857;
    text-decoration: underline;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.article-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #b7282e;
    /* Kurenai */
    margin: 20px auto 0;
}

.article-title {
    font-size: 36px;
    font-weight: bold;
    color: #b7282e;
    /* Kurenai */
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 1px 1px 0 #fff;
}

.article-meta {
    font-size: 16px;
    color: #595857;
    background: #fff;
    padding: 20px 30px;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 3px 3px 0 #e6e2d3;
    line-height: 1.8;
}

.article-hero-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}

/* Content Sections */
.article-section {
    margin-bottom: 60px;
}

.section-heading-h2 {
    font-size: 26px;
    font-weight: bold;
    color: #3e3a39;
    border-bottom: 2px solid #b7282e;
    border-top: 1px solid #b7282e;
    padding: 15px 0;
    margin-bottom: 30px;
    text-align: center;
    background: transparent;
    position: relative;
}

.section-heading-h2::before,
.section-heading-h2::after {
    content: '◆';
    color: #b7282e;
    font-size: 14px;
    vertical-align: middle;
    margin: 0 10px;
}

.section-heading-h3 {
    font-size: 22px;
    font-weight: bold;
    color: #165e83;
    /* Ai-iro */
    border-left: 6px solid #165e83;
    border-bottom: 1px solid #cbd6dd;
    padding: 5px 0 5px 15px;
    margin: 40px 0 20px;
    background: linear-gradient(to right, rgba(22, 94, 131, 0.05), transparent);
}

.article-text {
    font-size: 17px;
    line-height: 2.0;
    margin-bottom: 25px;
    text-align: justify;
}

/* Highlight Boxes */
.check-box {
    background-color: #fff;
    border: 2px solid #b7282e;
    padding: 30px;
    border-radius: 4px;
    margin: 30px 0;
    position: relative;
}

.check-box::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid #e6b422;
    /* Check border gold */
    pointer-events: none;
}

.check-box-title {
    font-weight: bold;
    color: #b7282e;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed #b7282e;
    padding-bottom: 10px;
}

.check-list {
    list-style-type: none;
    padding: 0;
}

.check-list li {
    font-size: 17px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-weight: bold;
}

.check-list li::before {
    content: '✔';
    color: #b7282e;
    position: absolute;
    left: 5px;
    top: 2px;
}

/* Cost & Price Boxes */
.price-box {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 2px;
    border-left: 5px solid #7b9262;
    /* Matcha */
}

.price-title {
    font-size: 19px;
    font-weight: bold;
    color: #2f3e46;
    border-bottom: 1px solid #7b9262;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.price-value {
    font-size: 26px;
    font-weight: bold;
    color: #b7282e;
    text-align: right;
    margin-bottom: 10px;
    font-family: "Helvetica Neue", "Arial", sans-serif;
    /* Numbers look better in Gothic */
}

.price-detail {
    font-size: 15px;
    color: #555;
    background: #fcfaf2;
    padding: 12px;
    border-radius: 2px;
}

/* Calculation Box (Water Saving) */
.calc-box {
    background: #eaf4fc;
    border: 1px double #165e83;
    padding: 30px;
    border-radius: 4px;
    margin: 30px 0;
    text-align: center;
}

.calc-formula {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    font-size: 16px;
    color: #165e83;
    margin: 15px 0;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.calc-result {
    font-size: 22px;
    font-weight: bold;
    color: #b7282e;
    margin-top: 15px;
    background: #fff;
    border: 2px solid #e6b422;
    /* Gold */
    display: inline-block;
    padding: 10px 20px;
}

/* Maker Features */
.maker-list {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.maker-item {
    flex: 1;
    min-width: 250px;
    border: 1px solid #dcdcdc;
    background: #fff;
    padding: 20px;
    border-radius: 2px;
    text-align: center;
    transition: all 0.3s ease;
}

.maker-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.maker-name {
    font-weight: bold;
    color: #3e3a39;
    margin-bottom: 10px;
    display: block;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.maker-tech {
    color: #165e83;
    font-weight: bold;
    font-size: 16px;
}

/* Joshin Reasons */
.reason-box {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    align-items: flex-start;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

.reason-number {
    background: #b7282e;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* Keep circle for numbers */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 2px 2px 5px rgba(183, 40, 46, 0.3);
    font-family: "Helvetica Neue", sans-serif;
}

.reason-content h4 {
    color: #b7282e;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #b7282e;
    display: inline-block;
}

/* CTA Section */
.cta-section {
    background: #fff;
    padding: 50px 30px;
    text-align: center;
    border: 4px double #b7282e;
    margin-top: 60px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-height: none;
}

.cta-title {
    font-size: 28px;
    color: #b7282e;
    font-weight: bold;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 18px 40px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    /* Less rounded for Japanese style */
    transition: all 0.3s;
    font-size: 18px;
    letter-spacing: 1px;
}

.cta-btn.red {
    background: #b7282e;
    border-bottom: 4px solid #8a1e23;
}

.cta-btn.blue {
    background: #165e83;
    border-bottom: 4px solid #104661;
}

.cta-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.cta-btn:active {
    transform: translateY(2px);
    border-bottom-width: 2px;
    margin-top: 2px;
}

/* 2カラムレイアウト（デスクトップ） */
.column-2-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.column-2-layout .col-text,
.column-2-layout .col-img {
    flex: 1;
}

/* ================================================
   Responsive adjustments
   ================================================ */

/* タブレット（960px以下） */
@media screen and (max-width: 960px) {
    .column-container {
        margin: 20px auto;
        padding: 30px 25px;
    }

    .article-title {
        font-size: 28px;
    }

    .section-heading-h2 {
        font-size: 22px;
    }

    .section-heading-h3 {
        font-size: 19px;
    }
}

/* スマートフォン（768px以下） */
@media screen and (max-width: 768px) {
    /* コンテナ */
    .column-container {
        margin: 0;
        padding: 16px;
        background-image: none; /* ドットパターンはスマホでは重い */
        box-shadow: none;
    }

    /* ブレッドクラム */
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 16px;
        word-break: break-all;
    }

    /* 記事ヘッダー */
    .article-header {
        margin-bottom: 30px;
    }

    .article-title {
        font-size: 22px;
        line-height: 1.6;
    }

    .article-meta {
        font-size: 14px;
        padding: 14px 16px;
        line-height: 1.7;
    }

    /* セクション見出し */
    .article-section {
        margin-bottom: 40px;
    }

    .section-heading-h2 {
        font-size: 18px;
        padding: 10px 0;
    }

    .section-heading-h2::before,
    .section-heading-h2::after {
        display: none;
    }

    .section-heading-h3 {
        font-size: 16px;
        padding: 5px 0 5px 12px;
        margin: 30px 0 15px;
    }

    /* 本文 */
    .article-text {
        font-size: 15px;
        line-height: 1.9;
    }

    /* チェックボックス */
    .check-box {
        padding: 16px;
        margin: 20px 0;
    }

    .check-box::before {
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
    }

    .check-box-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .check-list li {
        font-size: 14px;
        padding-left: 24px;
        margin-bottom: 10px;
    }

    /* 価格ボックス */
    .price-box {
        padding: 16px;
        margin-bottom: 16px;
    }

    .price-title {
        font-size: 16px;
    }

    .price-value {
        font-size: 22px;
    }

    .price-detail {
        font-size: 13px;
    }

    /* テーブル（スクロール対応はHTML側で設定済み） */
    table th,
    table td {
        font-size: 13px;
        padding: 8px 6px !important;
    }

    /* 2カラムレイアウト → 縦積み */
    .column-2-layout {
        flex-direction: column;
        gap: 16px;
    }

    .column-2-layout .col-img img {
        max-width: 100% !important;
    }

    /* reason-box → 縦積み */
    .reason-box {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .reason-number {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .reason-content h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    /* メーカーリスト */
    .maker-list {
        flex-direction: column;
    }

    .maker-item {
        min-width: unset;
    }

    /* CTAセクション */
    .cta-section {
        padding: 30px 16px;
        margin-top: 40px;
    }

    .cta-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
        box-sizing: border-box;
    }

    /* h4（種類詳細の小見出し） */
    h4[style] {
        font-size: 14px !important;
    }
        .page-title-banner {
        padding: 80px 0 40px;
    }

}

/* 小型スマートフォン（375px以下） */
@media screen and (max-width: 375px) {
    .article-title {
        font-size: 19px;
    }

    .section-heading-h2 {
        font-size: 16px;
    }

    .article-text {
        font-size: 14px;
    }
}
/* =====================================================
  column トップページ　インラインCSSまとめ
   ===================================================== */

/* --- アーティクルグリッド --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- アーティクルカード --- */
.article-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.article-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* --- カード画像エリア --- */
.card-img {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- カードコンテンツ --- */
.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #b7282e;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.card-more {
    margin-top: 15px;
    text-align: right;
    color: #165e83;
    font-weight: bold;
    font-size: 14px;
}
/* =====================================================
   bath_guide ページ分
   ===================================================== */

/* --- ヒーロー画像 --- */
.article-hero-img {
    max-height: 400px;
    object-fit: cover;
}

/* --- 注釈テキスト --- */
.article-note {
    font-size: 0.9em;
    color: #666;
}

/* --- CTAボタン中央揃え --- */
.cta-center {
    text-align: center;
    margin-top: 30px;
}

/* --- まとめセクションのテキスト --- */
.cta-section .article-text {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* --- 成功事例カード --- */
.case-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.case-card h4 {
    color: #ed1c24;
    margin-bottom: 10px;
}

.case-card .article-text {
    font-size: 0.9em;
}

/* --- サイズ比較テーブル --- */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.size-table thead {
    background: #f0f0f0;
}

.size-table th,
.size-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.size-table td:first-child {
    font-weight: bold;
}

/* --- 計算ボックス内テキスト --- */
.calc-box p {
    font-weight: bold;
}

/* =====================================================
   heater_guide ページ分
   ===================================================== */

/* --- テーブルラッパー（横スクロール対応） --- */
.table-scroll {
    overflow-x: auto;
    margin-bottom: 20px;
}

/* --- 比較テーブル（共通） --- */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.compare-table thead {
    background: #f0f0f0;
}

.compare-table th,
.compare-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.compare-table td:first-child {
    font-weight: bold;
}

.compare-table tr.total-row {
    font-weight: bold;
}

/* --- 号数・容量テーブル（列数が多いもの） --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.spec-table thead {
    background: #f0f0f0;
}

.spec-table th,
.spec-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.spec-table td:first-child {
    font-weight: bold;
}

/* --- サブ見出し（h4） --- */
.sub-heading {
    font-weight: bold;
    margin: 15px 0 8px;
}

/* --- ハイライトテキスト --- */
.text-highlight {
    background: #ffffcc;
    padding: 5px;
}

/* --- 強調テキスト（赤） --- */
.text-accent {
    color: red;
    font-weight: bold;
}

/* --- チェックボックスの幅制限付きバリアント --- */
.check-box-narrow {
    max-width: 800px;
    margin: 20px auto;
    text-align: left;
}

/* --- CTAセクション内テキストの幅制限 --- */
.cta-section .article-text-narrow {
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
}

/* --- コスト比較画像 --- */
.cost-chart-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
/* =====================================================
 kitchen_guide ページ分
  ===================================================== */

/* --- チェックボックス（白背景・幅制限・CTA内用） --- */
.check-box-cta {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
}

/* --- データテーブル（レイアウト比較などの多列テーブル） --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.data-table thead {
    background: #f0f0f0;
}

.data-table th,
.data-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

/* --- CTAセクション内の強調テキスト --- */
.cta-section .article-text-bold {
    font-weight: bold;
    margin-bottom: 20px;
}
/* =====================================================
 subsidy_guide ページ分
   ===================================================== */

/* --- 補助金リスト内の見出し（h4）--- */
.subsidy-heading {
    color: #b7282e;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* --- 補助金リスト内の金額テキスト --- */
.subsidy-amount {
    font-weight: bold;
    font-size: 1.1em;
}

/* --- 補助金リスト内の説明テキスト --- */
.subsidy-desc {
    font-size: 0.95em;
    margin-bottom: 15px;
}

/* --- 補助金リスト内の注釈 --- */
.subsidy-note {
    font-size: 0.85em;
    color: #666;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

/* --- 補助金リスト内の各ブロック --- */
.subsidy-item {
    margin-bottom: 20px;
}

/* --- CTA中央揃え（マージン付き） --- */
.cta-center-margin {
    text-align: center;
    margin: 30px 0;
}

/* --- 箇条書きリスト（disc） --- */
.list-disc {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* --- price-box内の自己負担テキスト --- */
.price-value-detail {
    font-size: 20px;
    text-align: left;
    color: #333;
}

/* --- price-box内の白背景detail --- */
.price-detail-white {
    background: #fff;
    line-height: 1.8;
}

/* --- 注意テキスト（赤・太字） --- */
.text-caution {
    color: #ce1623;
    font-weight: bold;
}

/* =====================================================
 toilet_guide ページ分
   ===================================================== */

/* --- イントロのcheck-box（横並びレイアウト） --- */
.check-box-flex {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.check-box-flex-body {
    flex: 1;
}

/* --- 箇条書きリスト（disc・太字） --- */
.list-disc-bold {
    list-style: disc;
    padding-left: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- 画像下キャプション --- */
.img-caption {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

/* --- メーカー技術リスト --- */
.maker-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.maker-item {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.maker-name {
    font-weight: bold;
    min-width: 100px;
}

.maker-tech {
    color: #444;
}

/* --- calc-box内の説明テキスト --- */
.calc-box-title {
    font-weight: bold;
    margin-bottom: 10px;
}
/* =====================================================
   wash_guide ページ分
   ===================================================== */

/* --- 費用レンジテキスト --- */
.price-range {
    font-size: 1.4em;
    font-weight: bold;
    color: #b7282e;
    margin: 8px 0;
}

/* --- 注意書きテキスト（strongを含む） --- */
.notice-text {
    font-size: 0.9em;
    margin-top: 10px;
}

/* --- CTAインライン（中央揃え・上マージン） --- */
.cta-inline {
    text-align: center;
    margin-top: 20px;
}

/* --- テーブルラッパー（table-scrollと同用途・クラス名違い） --- */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

/* --- h4見出し（section-heading-h4） --- */
.section-heading-h4 {
    font-weight: bold;
    margin: 12px 0 6px;
    font-size: 1em;
}

/* --- お客様の声（引用ブロック） --- */
.customer-voice {
    background: #f9f9f9;
    border-left: 4px solid #b7282e;
    padding: 15px 20px;
    margin: 15px 0;
    font-style: italic;
    color: #444;
    border-radius: 0 4px 4px 0;
}

/* --- CTAセクション内チェックリスト（幅制限・中央揃え） --- */
.cta-checklist {
    max-width: 800px;
    margin: 0 auto;
}

/* --- CTAセクション内テキスト（中央揃え） --- */
.cta-text-center {
    text-align: center;
    margin: 20px 0;
}

/* --- CTAセクション内小テキスト --- */
.cta-text-small {
    text-align: center;
    font-size: 0.9em;
    margin-top: 20px;
}
