/* ============================================
   活動のひとコマ 共通スタイル
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
                 "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    font-size: 15px;
}
a { color: #2b7bbd; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: bottom; }

/* ============================================
   ヘッダー（既存サイト共通）
   ============================================ */
header {
    border-bottom: 1px solid #eee;
    background: #fff;

    position: sticky;
    top: 0;
    z-index: 1000;
}
.head_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}
.head_inner a {
    position: relative;
    z-index: 100;
    line-height: 1;
    font-size: 0;
}
.head_inner a:hover {
    opacity: 0.5;
}

/* 右側エリア */
.head_right {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* ============================================
   目的別入口（PCヘッダー）
   ============================================ */

.head_purpose_links {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
    gap: 12px;
    margin-right: 6px;

    /* 共通ヘッダー確定値 */
    transform: translateY(6px);
}

.head_purpose_links .head_purpose_link {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 48px;
    padding: 4px 22px 4px 12px;

    border: none;
    background: #fff;

    color: #333;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    white-space: nowrap;

    text-decoration: none;
}

.head_purpose_links .head_purpose_link > span {
    display: block;
    min-height: calc(1.45em * 2);
    line-height: 1.45;
}

/* 左側アクセント */
.head_purpose_links .head_purpose_link::before {
    content: "";
    flex: 0 0 3px;

    width: 3px;
    height: 28px;
    margin-right: 9px;

    border-radius: 2px;
    background: #65c830;
}

/* 右側矢印 */
.head_purpose_links .head_purpose_link::after {
    content: "›";

    position: absolute;
    top: 50%;
    right: 5px;

    color: #65c830;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;

    transform: translateY(-52%);
}

/* 水まわりくんをもっと知る */
.head_purpose_links .head_purpose_link--know::before {
    background: #65c830;
}

.head_purpose_links .head_purpose_link--know::after {
    color: #65c830;
}

/* 導入をご検討の方へ */
.head_purpose_links .head_purpose_link--consider::before {
    background: #087fd5;
}

.head_purpose_links .head_purpose_link--consider::after {
    color: #087fd5;
}

/* hover */
.head_purpose_links .head_purpose_link:hover {
    background: #f7f9f7;
    color: #333;
    opacity: 1;
    text-decoration: none;
}

/* ==================================================
   ヘッダー レスポンシブ調整
   共通ヘッダー側の現在仕様に合わせる
   ================================================== */

/* PC・iPad横向き：1段を維持 */
@media screen and (min-width: 981px) {

    .head_inner {
        flex-wrap: nowrap;
    }
}


/* iPad Airなど 981px～1280px */
@media screen and (min-width: 981px) and (max-width: 1280px) {

    .head_right {
        gap: 8px;
        transform: none;
    }

    /* 目的別リンクを表示 */
    .head_purpose_links {
        display: flex;
        gap: 6px;
        margin-right: 0;
        transform: translateY(4px);
    }

    .head_purpose_links .head_purpose_link {
        min-height: 44px;
        padding: 4px 16px 4px 9px;
        font-size: 11px;
    }

    .head_purpose_links .head_purpose_link::before {
        height: 26px;
        margin-right: 7px;
    }

    /* ロゴを少しコンパクトに */
    .logo_hkt img {
        width: 210px;
        height: auto;
    }

    /* 発信コンテンツ */
    .contents_link {
        gap: 6px;
    }

    .contents_link a img {
        width: 40px;
    }

    /* SNS */
    .sns_link {
        gap: 6px;
    }

    .sns_link img {
        width: 40px;
    }

    .head_divider {
        margin: 0 4px 0 8px;
    }
}


/* 980px以下はスマホ用 */
@media screen and (max-width: 980px) {

    .head_purpose_links {
        display: none;
    }
}


/* 発信コンテンツ（日々是農好・コラム・GALLERY・活動のひとコマ） */
.contents_link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.contents_link a {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}
.contents_link a img { width: 44px; display: block; }
.contents_link a span {
    margin-top: 3px;
    font-size: 9px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1;
}
.contents_link a:hover { opacity: 0.6; text-decoration: none; }


/* ============================================
   FIELD JOURNAL NEWバッジ
   ============================================ */

.contents_link a .fieldjournal-new-badge {
    position: absolute;
    top: -2px;
    right: -6px;

    display: inline-block;
    margin: 0;
    padding: 2px 5px;

    background: #e8483c;
    color: #fff;

    font-size: 8px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.03em;
    white-space: nowrap;

    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);

    z-index: 110;
}


/* 区切り線 */



/* 区切り線 */
.head_divider {
    width: 1px;
    height: 40px;
    background: #ddd;
    margin: 0 6px 0 20px;
}

/* SNSアイコン */
.sns_link {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}
.sns_link img { width: 44px; display: block; }

/* PC：SNSアイコンの配置高さを統一 */
@media screen and (min-width: 981px) {

    .sns_link a > img {
        height: 44px;
        object-fit: contain;
    }

    .sns_link a[href="/agri/contact/"] img {
        width: 54px;
        height: 44px;
        max-width: none;
        object-fit: contain;
        transform: none;
    }
}

.sns_link a {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}


.sns_link a:hover { opacity: 0.6; text-decoration: none; }
.sns_link a span {
    margin-top: 3px;
    font-size: 9px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.03em;
    white-space: nowrap;
    line-height: 1;
}

/* スマホ用GALLERY（sns_link内） */
.logo_gallery_sp img { width: 50px; display: block; }

/* ============================================
   ページ全体のコンテナ
   ============================================ */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* ============================================
   パンくず / 戻るリンク
   ============================================ */
.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}
.breadcrumb a { color: #999; }
.back-link {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 24px;
    background: #f0f4f8;
    border-radius: 24px;
    color: #2b7bbd;
    font-weight: bold;
    font-size: 14px;
}
.back-link:hover { background: #e2ebf3; text-decoration: none; }

/* ============================================
   記事詳細ページ
   ============================================ */
.post-header {
    border-bottom: 3px solid #2b7bbd;
    padding-bottom: 18px;
    margin-bottom: 30px;
}
.post-cat {
    display: inline-block;
    background: #2b7bbd;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 14px;
    margin-bottom: 12px;
}
.post-title {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.4;
    color: #222;
    margin-bottom: 12px;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 14px;
    color: #777;
}
.post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 漫画コマ（縦に並べて読む） */
.manga-list {
    margin: 30px 0;
}
.manga-koma {
    margin-bottom: 24px;
    text-align: center;
}
.manga-koma img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.manga-cap {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}

/* 本文 */
.post-body {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px dashed #ddd;
}
.post-body a {
    color: #2b7bbd;
    text-decoration: underline;
    word-break: break-all;
}

/* ============================================
   フッター（簡易）
   ============================================ */
.site-footer {
    border-top: 1px solid #eee;
    padding: 24px 20px;
    text-align: center;
    font-size: 12px;
    color: #aaa;
}

/* ============================================
   レスポンシブ：ヘッダー（既存サイト準拠）
   ============================================ */
/* PC（981px以上）：スマホ用GALLERYを隠す */
@media screen and (min-width: 981px) {
    .sns_link a.logo_gallery_sp { display: none; }
}

/* タブレット・スマホ（980px以下）：発信コンテンツ・区切り線・SNSテキストを隠す */
@media screen and (max-width: 980px) {
    .contents_link,
    .head_divider { display: none; }
    .sns_link a span { display: none; }
}

/* スマホ（450px以下）：ヘッダーを縦積みに */
@media screen and (max-width: 450px) {

    .head_inner {
        flex-direction: column;
    }

    .sns_link {
        margin-top: 5px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .sns_link a {
        flex-shrink: 1;
    }

    .sns_link img {
        width: 42px;
    }

    /* お問い合わせアイコンだけ大きくして位置補正 */
    .sns_link a[href="/agri/contact/"] img {
        width: 48px;
        max-width: none;
        transform: translateY(2px);
    }

    .logo_hkt img {
        height: 38px;
    }
}

/* ============================================
   レスポンシブ：コンテンツ（800px以下）
   ============================================ */
@media screen and (max-width: 800px) {
    .container { padding: 20px 14px 40px; }
    .post-title { font-size: 21px; }
    .post-meta { gap: 12px; font-size: 13px; }
    .manga-koma { margin-bottom: 16px; }
    .post-body { font-size: 15px; }
}

/* ============================================
   ▼▼▼ STEP2 トップページ 追記分 ▼▼▼
   ============================================ */

/* ===== ヒーロー ===== */
.hero {
    position: relative;

    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;

    aspect-ratio: 3 / 1;

    background: url("hero.png") center/contain no-repeat;
    background-origin: content-box;
}
/* ===== TOPパンくず：HERO背景上 ===== */
.activity-breadcrumb {
    position: absolute;
    top: 14px;
    left: 40px;
    z-index: 2;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    color: #7d8f9a;
    font-size: 12px;
    line-height: 1.5;
}

.activity-breadcrumb a {
    color: #667e8e;
    text-decoration: none;
}

.activity-breadcrumb a:hover {
    color: #2b7bbd;
    text-decoration: none;
}
.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 60px 20px;
}
.hero-eng {
    font-size: 14px;
    letter-spacing: 0.3em;
    color: #2b7bbd;
    font-weight: bold;
    margin-bottom: 10px;
}
.hero-title {
    font-size: 46px;
    font-weight: bold;
    color: #1d5f96;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero-lead {
    font-size: 15px;
    color: #33586f;
    line-height: 1.9;
}

/* ===== トップ2カラム ===== */
.top-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 0px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.top-main { flex: 1 1 auto; min-width: 0; }
.top-side { flex: 0 0 300px; }

/* ===== セクション見出し ===== */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 24px;
}
.section-title {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    position: relative;
    padding-left: 14px;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 22px;
    background: #2b7bbd;
    border-radius: 3px;
}
.view-all {
    font-size: 13px;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 16px;
    white-space: nowrap;
}
.view-all:hover { background: #f0f4f8; text-decoration: none; }
.view-all span { color: #2b7bbd; font-weight: bold; }

/* ===== カードグリッド（4列） ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.card {
    display: flex;              /* ← block から flex に */
    flex-direction: column;     /* ← 縦に並べる */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: visible;
    color: #333;
    transition: box-shadow .2s, transform .2s;
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateY(-3px);
    text-decoration: none;
}
.card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #f2f2f2;
    /* overflow: hidden; を削除（NEWバッジのはみ出しを見せるため） */
}
.card-new {
    position: absolute;
    top: -8px; left: -8px;    /* ← マイナスで左上端からはみ出す */
    background: #e8483c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 3;                          /* 前面に */
    box-shadow: 0 2px 4px rgba(0,0,0,.25); /* 浮遊感（任意） */
}
.card-noimg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #bbb; font-size: 12px; letter-spacing: 0.1em;
}
.card-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;            /* ← 残りの高さいっぱいに伸びる */
}
.card-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    color: #222;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(14px * 1.5 * 2);
}
.card-place {
    font-size: 12px;
    color: #2b7bbd;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(12px * 1.5 * 2);
}
.card-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

/* ===== もっと見る ===== */
.more-wrap { text-align: center; margin: 20px 0 15px; }
.more-btn {
    display: inline-block;
    min-width: 500px;
    padding: 14px 24px ;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    font-weight: bold;
    font-size: 15px;
}
.more-btn:hover { background: #f0f4f8; text-decoration: none; }
.more-btn span { color: #2b7bbd; }

.no-post { color: #888; padding: 30px 0; }

/* ===== サイドバー ===== */
.side-box {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 24px;
    background: #fff;
}
.side-title {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    border-bottom: 2px solid #2b7bbd;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.cat-list { list-style: none; }
.cat-list li { border-bottom: 1px dashed #eee; }
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    color: #444;
}
.cat-list a:hover { color: #2b7bbd; text-decoration: none; }
.cat-name { font-size: 14px; }
.cat-count {
    font-size: 12px;
    color: #888;
    background: #f0f4f8;
    border-radius: 12px;
    padding: 2px 10px;
    min-width: 34px;
    text-align: center;
}
.cat-empty { color: #999; font-size: 13px; padding: 8px 4px; }

/* 説明ボックス（画像はめ込み・プレースホルダ） */
.about-box { padding: 0; overflow: hidden; }
.about-box img { display: block; width: 100%; }

/* ===== ひとコマセレクション ===== */
.selection-wrap {
    max-width: 1180px;
    margin: 0 auto 40px;
    padding: 0 20px;
}
.selection-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 10px;
    margin-bottom: 22px;
}
.selection-sub {
    font-size: 13px;
    color: #888;
}

/* カルーセル本体 */
.selection-carousel {
    position: relative;
}
.selection-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    /* スクロールバーを控えめに */
    scrollbar-width: thin;
}
.selection-track::-webkit-scrollbar { height: 6px; }
.selection-track::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* カード（画面幅の約1/3.5＝4枚目チラ見せ） */
.sel-card {
    flex: 0 0 calc((100% - 18px * 3) / 3.5);   /* 全幅：3.5枚で4枚目チラ見せ */
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    color: #333;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.sel-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateY(-3px);
    text-decoration: none;
}
.sel-thumb {
    width: 100%;
    aspect-ratio: 16 / 7;     /* ← 横長・低めに変更 */
    background: #f2f2f2;
    overflow: hidden;
}
.sel-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.sel-noimg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #bbb; font-size: 12px;
}
.sel-body {
    padding: 10px 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;   /* ラベル左・詳しく見る右 */
    gap: 8px;
}
.sel-label {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    line-height: 1.3;
}
.sel-more {
    font-size: 12px;
    color: #2b7bbd;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 左右矢印 */
.sel-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #2b7bbd;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.sel-arrow:hover { background: #f0f4f8; }
.sel-prev { left: -14px; }
.sel-next { right: -14px; }
.sel-arrow:disabled { opacity: .3; cursor: default; }

/* ドット */
.selection-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.selection-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.selection-dots .dot.active {
    background: #2b7bbd;
    transform: scale(1.3);
}

/* スマホ：カードを大きめに（1.3枚見せ） */
@media screen and (max-width: 600px) {
    .selection-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .sel-card {
        flex: 0 0 calc((100% - 18px) / 1.3);
    }
    .sel-arrow { display: none; }   /* スマホはスワイプ操作なので矢印非表示 */
    .selection-wrap { margin-top: 20px; }
}


/* ===== CTAバナー（PRエリア） ===== */
.cta-wrap {
    max-width: 1180px;
    margin: 70px auto 50px;
    padding: 0 20px;
}
.cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(90deg, #e8f4fb 0%, #d3ebf8 100%);
    border-radius: 10px;

    /* 人物を置くスペースを左側に確保 */
    padding: 18px 30px 18px 210px;

    /* CTA本体の高さ */
    min-height: 125px;

    /* 人物のはみ出しを表示 */
    overflow: visible;
}

.cta-image {
    position: absolute;

    /* 人物の位置 */
    left: 48px;
    bottom: -10px;

    /* 人物の大きさ */
    width: 145px;

    border-radius: 0;
    overflow: visible;
    line-height: 0;
}

.cta-image img {
    width: 100%;
    height: auto;
    display: block;
}
.cta-text {
    flex: 1 1 auto;
    font-size: 19px;
    font-weight: bold;
    color: #1d5f96;
    line-height: 1.6;
}
.cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #2b7bbd;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 22px;
    border-radius: 24px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(43,123,189,.3);
    transition: background .2s, transform .2s;
}
.cta-btn:hover {
    background: #1d5f96;
    text-decoration: none;
    transform: translateY(-2px);
}
.cta-btn span { font-size: 16px; }


/* ============================================
   STEP2 レスポンシブ
   ============================================ */
/* タブレット（〜980px）：2カラム→1カラム、カード2列 */
@media screen and (max-width: 980px) {
    .top-wrap { flex-direction: column; gap: 30px; }
    .top-side { flex: none; width: 100%; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 36px; }
    .hero-inner { padding: 44px 20px; }
    .more-btn { min-width: 60%; }
    /* ひとコマセレクションの重なり防止 */
    .selection-wrap {
        margin-top: 20px;
    }
}

/* スマホ（〜600px）：カード2列維持でコンパクトに／CTA縦積み */
@media screen and (max-width: 600px) {
    .hero-title { font-size: 28px; }
    .hero-eng { font-size: 12px; }
    .hero-lead { font-size: 14px; }
    .hero-inner { padding: 34px 16px; }
    .top-wrap {
         padding: 24px 14px 10px;
         gap: 12px;
    }
    .section-title { font-size: 18px; }
    /* ↓ 追加：見出しを縦積みにして折り返し防止 */
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .view-all {
        align-self: flex-end;
    }
    .card-grid { gap: 12px; }
    .card-title { font-size: 13px; }
    .more-btn { min-width: 100%; }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 18px;
    }
    .cta-image { width: 60%; max-width: 260px; }
    .cta-text { font-size: 16px; }
    .cta-btn { width: 100%; justify-content: center; }
}
/* ============================================
   ▲▲▲ STEP2 トップページ 追記分 ここまで ▲▲▲
   ============================================ */

/* ============================================
   ▼▼▼ STEP3 記事一覧ページ 追記分 ▼▼▼
   ============================================ */

/* ===== パンくず（一覧ページ用ラッパ） ===== */
.list-breadcrumb-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}
.list-breadcrumb-wrap .breadcrumb {
    margin-bottom: 0;
}

/* ===== 件数表示（セクション見出し右） ===== */
.list-count {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

/* ===== 絞り込み中の注記 ===== */
.filter-note {
    background: #f0f4f8;
    border-left: 4px solid #2b7bbd;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
}
.filter-clear {
    font-size: 13px;
    color: #2b7bbd;
    font-weight: bold;
}
.filter-clear:hover { text-decoration: underline; }

/* ===== サイドバー：選択中カテゴリーの強調 ===== */
.cat-list a.cat-active {
    color: #2b7bbd;
    font-weight: bold;
}
.cat-list a.cat-active .cat-count {
    background: #2b7bbd;
    color: #fff;
}

/* ===== ページネーション ===== */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 10px;
}
.pager-num,
.pager-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #444;
    background: #fff;
    text-decoration: none;
}
.pager-num:hover,
.pager-arrow:hover {
    background: #f0f4f8;
    border-color: #2b7bbd;
    color: #2b7bbd;
    text-decoration: none;
}
.pager-num.current {
    background: #2b7bbd;
    border-color: #2b7bbd;
    color: #fff;
    font-weight: bold;
    pointer-events: none;
}
.pager-arrow.disabled {
    color: #ccc;
    background: #f7f7f7;
    border-color: #eee;
    pointer-events: none;
}

/* ===== 一覧ページ レスポンシブ ===== */
@media screen and (max-width: 980px) {
    .list-breadcrumb-wrap { padding: 16px 14px 0; }
}
@media screen and (max-width: 600px) {
    .pager-num,
    .pager-arrow {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 13px;
    }
    .filter-note { font-size: 13px; }
}
/* ============================================
   ▲▲▲ STEP3 記事一覧ページ 追記分 ここまで ▲▲▲
   ============================================ */

/* ===== 活動紹介キャッチ ===== */
.activity-intro {
    text-align: center;
    margin: 12px 0 8px;
    padding: 8px 20px 12px;
    background: transparent;
}

.activity-intro__eyebrow {
    margin: 0 0 8px;
    font-size: 13px;
    color: #6b9db8;
    letter-spacing: 0.05em;
}

.activity-intro__catch {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #1477b8;
    letter-spacing: 0.05em;
}


/* ===== スマホ：活動紹介キャッチ ===== */
@media screen and (max-width: 600px) {

    .activity-intro {
    margin: -6px 0 8px;
    padding: 8px 12px 14px;
    border-radius: 8px;
}

    .activity-intro__eyebrow {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .activity-intro__catch {
        font-size: 16px;
        letter-spacing: 0.03em;
    }

}

/* ===== CTAバナー：スマホ対応 ===== */
@media screen and (max-width: 767px) {

    .cta-wrap {
        margin: 55px auto 35px;
        padding: 0 15px;
    }

    .cta-banner {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;

        width: 100%;
        min-height: auto;

        padding: 20px 14px 18px;
        box-sizing: border-box;

        text-align: center;
        overflow: visible;
    }

    /* 女性説明員：左上のワンポイント */
    .cta-image {
        position: absolute;
        left: 10px;
        top: -28px;
        bottom: auto;

        width: 50px;

        margin: 0;
        overflow: visible;
        line-height: 0;
        z-index: 2;
    }

    .cta-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* 説明文：中央 */
    .cta-text {
        width: 78%;
        margin: 0 auto;

        font-size: 14px;
        line-height: 1.55;
        text-align: center;
        box-sizing: border-box;
    }

    /* ボタン：中央 */
    .cta-btn {
        width: 90%;
        max-width: 300px;
        margin: 0 auto;

        justify-content: center;

        font-size: 13px;
        padding: 11px 10px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .cta-btn span {
        font-size: 14px;
    }
}

/* ===== 幅360px以下の微調整 ===== */
@media screen and (max-width: 360px) {

    .cta-text {
        font-size: 13px;
        width: 82%;
        line-height: 1.6;
    }

    .cta-btn {
        font-size: 12px;
    }
}

/* ============================================
   活動を探す
   ============================================ */

.search-box {
    margin-top: 18px;
}

.search-section {
    margin-top: 18px;
}

.search-label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* 年 */
.year-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.year-buttons a {
    display: block;
    padding: 9px 3px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #287fc0;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.year-buttons a:hover {
    border-color: #287fc0;
    background: #f5faff;
}

/* キーワード */
.keyword-search {
    display: flex;
    gap: 6px;
}

.keyword-search input {
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
}

.keyword-search button {
    flex-shrink: 0;
    padding: 9px 12px;
    border: 0;
    border-radius: 5px;
    background: #287fc0;
    color: #fff;
    font-size: 13px;
}

.year-buttons a.year-active {
    background: #287fc0;
    border-color: #287fc0;
    color: #fff;
}

/* ============================================
   絞り込み条件
   ============================================ */

.filter-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-note-label {
    font-weight: bold;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #cfdce8;
    color: #333;
    font-size: 13px;
}

.filter-clear {
    margin-left: auto;
}

/* ============================================
   タブレット：サイドバーを2列表示
   ============================================ */
@media screen and (min-width: 601px) and (max-width: 980px) {

    .top-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: start;
    }

    .top-side .side-box {
        margin-bottom: 0;
    }

    .top-side .search-box {
        margin-top: 0;
    }
}

/* ============================================
   PC：キャッチ～セレクションの位置調整
   ============================================ */
@media screen and (min-width: 981px) {

    .activity-intro {
        margin: 12px 0 8px;
        padding: 8px 20px 12px;
    }

    .selection-wrap {
        margin-top: -50px;
    }
}

/* ============================================
   PC：もっと見る＋キャッチ位置調整
   ============================================ */
@media screen and (min-width: 981px) {

    .more-wrap {
        margin-top: 50px;
    }

}

/* ============================================
   検索結果 0件
   ============================================ */

.empty-result {
    margin: 30px 0 10px;
    padding: 28px 20px;
    background: #f8fafc;
    border: 1px solid #e5e9ed;
    border-radius: 8px;
    text-align: center;
}

.empty-result-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.empty-result-text {
    margin: 0 0 18px;
    font-size: 13px;
    color: #777;
}

.empty-result-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    background: #2b7bbd;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.empty-result-btn:hover {
    background: #1d5f96;
    color: #fff;
    text-decoration: none;
}

/* ============================================
   スマホ：絞り込み条件の表示調整
   ============================================ */
@media screen and (max-width: 600px) {

    .filter-note {
        gap: 8px;
        padding: 12px 14px;
    }

    .filter-note-label {
        width: 100%;
    }

    .filter-tags {
        width: 100%;
        gap: 6px;
    }

    .filter-tag {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .filter-clear {
        width: 100%;
        margin-left: 0;
        margin-top: 2px;
        text-align: right;
    }
}

/* ============================================
   水まわりくんをもっと知る
   ============================================ */

.know-more-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 25px;
    padding: 0 20px;
}

.know-more-box {
    background: linear-gradient(90deg, #e8f4fb 0%, #d8eef9 100%);
    border-radius: 10px;
    padding: 20px 22px 16px;
}

/* 見出し */
.know-more-head {
    text-align: center;
    margin-bottom: 16px;
}

.know-more-head h2 {
    margin: 0 0 3px;
    font-size: 24px;
    line-height: 1.4;
    color: #0875c1;
    font-weight: bold;
}

.know-more-head p {
    margin: 0;
    font-size: 12px;
    color: #6f8798;
}

/* 3カード */
.know-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* カード全体 */
.know-card {
    display: flex;
    align-items: stretch;
    gap: 12px;

    min-width: 0;
    padding: 10px;

    background: #fff;
    border: 1px solid #d7e4ec;
    border-radius: 7px;

    color: #333;
    text-decoration: none;

    transition: transform .2s, box-shadow .2s;
}

.know-card:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

/* 左側画像：3:2 */
.know-card-image {
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 3 / 2;
    align-self: center;
}

.know-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* 右側文章 */
.know-card-body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.know-card-body h3 {
    margin: 0 0 3px;
    font-size: 18px;
    line-height: 1.4;
    color: #0875c1;
    font-weight: bold;
}

.know-card-body p {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #333;
}

/* カード内ボタン */
.know-card-btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 5px 10px;

    background: #0782d1;
    border-radius: 3px;

    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.know-card:hover .know-card-btn {
    background: #0869aa;
}

/* 下部テキストリンク */
.know-more-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

    margin-top: 10px;

    font-size: 12px;
    font-weight: bold;
}

.know-more-links a {
    color: #0875c1;
    text-decoration: none;
}

.know-more-links a:hover {
    text-decoration: underline;
}

.know-link-separator {
    color: #75a8ca;
}

/* 今回追加エリアと既存CTAの間隔 */
.know-more-wrap + .cta-wrap {
    margin-top: 20px;
}


/* ============================================
   水まわりくんをもっと知る：スマホ
   ============================================ */

@media screen and (max-width: 767px) {

    .know-more-wrap {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .know-more-box {
        padding: 18px 14px 15px;
    }

    .know-more-head {
        margin-bottom: 14px;
    }

    .know-more-head h2 {
        font-size: 21px;
    }

    .know-more-head p {
    margin: 0;
    font-size: 13px;
    color: #888;
    }

    .know-more-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

/* 左側画像 */
.know-card-image {
    flex: 0 0 105px;
    width: 105px;
    aspect-ratio: 3 / 2;
    align-self: center;
}

.know-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

    .know-card-body h3 {
        font-size: 17px;
    }

    .know-card-body p {
        font-size: 11px;
    }

    .know-more-links {
        flex-wrap: wrap;
        gap: 6px 12px;
        font-size: 12px;
    }

    .know-more-wrap + .cta-wrap {
        margin-top: 20px;
    }
}

/* ============================================
   水まわりくんをもっと知る：タブレット
   768px～900px
   ============================================ */
@media screen and (min-width: 768px) and (max-width: 900px) {

    .know-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .know-card-image {
        flex: none;
        width: 100%;
        aspect-ratio: 3 / 2;
    }

    .know-card-body h3 {
        font-size: 16px;
        margin-top: 4px;
    }

    .know-card-body p {
        font-size: 11px;
    }
}

/* ============================================
   詳細ページ：水まわりくんをもっと知る
   ============================================ */

.know-more-detail {
    max-width: none;
    margin: 45px auto 20px;
    padding: 0;
}

/* 詳細ページではカードを縦型にする */
.know-more-detail .know-card {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

/* 画像を3:2で大きめに表示 */
.know-more-detail .know-card-image {
    flex: none;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.know-more-detail .know-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文章部分 */
.know-more-detail .know-card-body {
    text-align: center;
}

.know-more-detail .know-card-body h3 {
    font-size: 17px;
    margin: 2px 0 3px;
}

.know-more-detail .know-card-body p {
    font-size: 11px;
    margin-bottom: 8px;
}

.know-more-detail .know-card-btn {
    margin-top: auto;
}


/* ============================================
   詳細ページ：スマホ
   ============================================ */

@media screen and (max-width: 767px) {

    .know-more-detail {
        margin-top: 35px;
    }

    /* スマホではTOPと同じく横型カードに戻す */
    .know-more-detail .know-card {
        flex-direction: row;
        align-items: stretch;
        text-align: left;
    }

    .know-more-detail .know-card-image {
        flex: 0 0 105px;
        width: 105px;
        aspect-ratio: 3 / 2;
        align-self: center;
    }

    .know-more-detail .know-card-body {
        text-align: left;
    }

    .know-more-detail .know-card-body h3 {
        font-size: 16px;
    }
}

/* =========================
   AI画像についての注記
   ========================= */
.ai-note {
    margin: 30px 20px 20px;
    font-size: 12px;
    color: #777;
    text-align: center;
    line-height: 1.8;
}

@media screen and (max-width: 680px) {

    .activity-breadcrumb {
        top: 10px;
        left: 28px;
        font-size: 11px;
    }
}

/* ============================================
   スマホ：パンくずの現在ページを省略
   ============================================ */
@media screen and (max-width: 600px) {

    .breadcrumb-mobile-current {
        display: none;
    }

}
/* ロゴ右側の英字表記の上に製品説明を表示（共通ヘッダーと同じ設定） */
header .head_inner .logo_hkt {
    position: relative;
    display: inline-block;
}

header .head_inner .logo_hkt .logo_description {
    position: absolute;
    left: 52%;
    top: 20%;
    width: 48%;
    text-align: center;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #405ba1;
}

/* スマホ：折り返す説明文3カ所を左揃え */
@media screen and (max-width: 767px) {
    .know-more-head p,
    .cta-text,
    .ai-note {
        text-align: left;
    }
}

/* iPad横向き：ヘッダー左右に余白を確保 */
@media screen and (min-width: 981px) and (max-width: 1280px) {
    header .head_inner {
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }
    header .head_right {
        gap: 6px;
        transform: none;
    }
    header .contents_link,
    header .sns_link {
        gap: 6px;
    }
}

/* スマホ：ヘッダーの余白・アイコン幅を共通ページに統一 */
@media screen and (max-width: 450px) {

    header .head_inner {
        flex-direction: column;
        gap: 0;
        padding: 2px 5px;
    }

    header .head_inner .head_right {
        gap: 0;
        margin: 0;
    }

    header .head_inner .sns_link {
        gap: 10px;
        margin: 0;
        justify-content: center;
        align-items: center;
    }

    header .head_inner .sns_link a {
        flex-shrink: 1;
    }

    header .head_inner .sns_link img {
        width: 39px;
        height: auto;
    }

    header .head_inner .sns_link a[href="/agri/contact/"] img {
        width: 48px;
        max-width: none;
        transform: translateY(2px);
    }
}


/* 共通スマホメニュー：PCでは従来どおり非表示 */
.page-mobile-menu { display: none; }
@media screen and (max-width: 980px) {
    .page-mobile-menu { display: block; font-size: 16px; line-height: 1.4; }
    .page-mobile-menu ul { list-style: none; }
/*----------- ナビゲーション -------------*/
.page-mobile-menu nav {
	position: relative;
	border-bottom: 4px solid #65c830;
	background-color: #fff;
	z-index: 10;
}

@media screen and (max-width: 980px) {
	.page-mobile-menu nav {
		border-bottom: none;
	}
}

#menu_list {
	display: flex;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

#menu_list li {
	width: calc(100% / 8 - 1px);
	border-left: 1px solid #666;
}

#menu_list li:nth-child(8) {
	border-right: 1px solid #666;
}

#menu_list li a {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 5px;
	text-align: center;
	text-decoration: none;
	color: black;
	line-height: 1.4;
}

#menu_list li a p {
	font-size: 0.875em;
	font-weight: 700;
}

#menu_list li span {
	display: block;
	font-size: 0.675em;
	color: #938059;
	font-weight: bold;
}

#menu_list li a:hover {
	opacity: 0.7;
}

#menu_list li a::after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 4px;
	background: #65c830;
}

@media screen and (max-width: 980px) {
	#menu_list li a::after {
		bottom: 0;
	}
}

#menu_list li a:hover::after {
	background: #008159;
	opacity: 1;
}

@media screen and (max-width: 980px) {
	#menu_list li a {
		background-color: rgba(0, 0, 0, 0.8);
	}

	#menu_list li a p {
		color: #fff;
	}
}

@media screen and (max-width: 980px) {
	#menu_list {
		display: none;
		position: relative;
		z-index: 11;
	}

	.open #menu_list {
		display: block;
		position: relative;
		z-index: 11;
		animation-name: fadeDownAnime;
		/*アニメーションの定義名*/
		animation-duration: 1s;
		/*アニメーション変化時間 ※デフォルト*/
		animation-fill-mode: forwards;
		/*アニメーションの開始と終了時の状態を指定*/
		opacity: 0;
		/* ↓ここから追加：高さを超えたらスクロール */
	    max-height: calc(100vh - 120px);   /* 画面の高さからヘッダー分を引いた高さまで */
	    overflow-y: auto;                   /* はみ出したら縦スクロール */
	    -webkit-overflow-scrolling: touch;  /* iPhoneでスムーズスクロール */
	    padding-bottom: 15px;   /* ← 追加：下に余白。チャットボット分を確保 */
	    /* ↑ここまで追加 */
	}

	@keyframes fadeDownAnime {
		from {
			opacity: 0;
			transform: translateY(-50px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	#menu_list li{
		width: 100%;
	}
}

/* ===== スマホMENU内：読み物（PCでは非表示） ===== */
.page-mobile-menu .sp-only {
    display: none;
}

@media screen and (max-width: 980px) {
    .page-mobile-menu .sp-only {
        display: block;
    }

    /* 「― 読み物 ―」見出し */
    #menu_list li.reading_head {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 45px;              /* ★バーの高さを固定（数値は好みで） */
        background: #7a6a45;
        color: #fff;
        text-align: center;
        font-weight: bold;
        font-size: 0.9em;
        /* padding も line-height も指定しない（またはリセット） */
    }
    
    /* ★追加：読み物見出しの下に緑線 */
    #menu_list li.reading_head::after {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 4px;
        background: #65c830;
    }
}


/*----------- スマホのトグルボタンのCSS -------------*/
@media screen and (min-width: 981px) {
	.toggle-wrap {
		display: none;
	}
}

@media screen and (max-width: 980px) {
	.toggle-wrap {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 34px;
		padding: 2px 5px;
	}
}

@media screen and (max-width: 980px) {
	.toggle-wrap p {
		margin: 0;
		line-height: 1;
	}

	#nav-toggle {
		margin-top: 0;
		margin-bottom: 0;
	}
}

#nav-toggle {
	display: none;
	position: relative;
	width: 30px;
	height: 30px;
	cursor: pointer;
	z-index: 21;
	margin-right: 10px;
}

/* ハンバーガーメニュー3本線 */
#nav-toggle span {
	display: block;
	position: absolute;
	left: 0;
	height: 4px;
	width: 100%;
	background: #191919;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 1px;
}

#nav-toggle span:nth-child(2) {
	top: 11px;
}

#nav-toggle span:nth-child(3) {
	top: 22px;
}

@media screen and (max-width: 980px) {
	#nav-toggle {
		display: inline-block;
	}

	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}

	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}

	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
}


}


/* スマホ：ヘッダーとMENUをまとめて画面上端に固定 */
.page-header-menu-fixed { display: contents; }
@media screen and (max-width: 980px) {
    .page-header-menu-fixed {
        display: block;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #fff;
    }
    .page-header-menu-fixed > header {
        position: static;
    }
    .page-header-menu-fixed .page-mobile-menu.open #menu_list,
    .page-header-menu-fixed .page-mobile-menu .open #menu_list {
        max-height: calc(100dvh - var(--page-header-menu-height, 140px));
    }
}


/* ==================================================
   iPad横向き・小型PC：アイコン幅を共通ページと統一
   後方の通常サイズ指定（44px）より優先して適用
   ================================================== */
@media screen and (min-width: 981px) and (max-width: 1280px) {
    header .head_inner .contents_link a img,
    header .head_inner .sns_link img {
        width: 40px;
    }

    /* お問い合わせは共通ページと同じ幅を維持 */
    header .head_inner .sns_link a[href="/agri/contact/"] img {
        width: 54px;
    }
}
