@charset "UTF-8";
/* ============================================================
   masse メディア（/media/・カテゴリ・タグ・検索・記事）
   2026-11-23 入口つきのメディアサイトに再構成（元は media.css 2026-11-21）
   読み込みは一覧・記事テンプレートの先頭（inc/masse-media.php の masse_media_css_link）。
   すべて .mm の囲みの中だけに効く。共通のヘッダー・フッター（.footer / .ft）には触れない。
   サイト全体は html{font-size:62.5%} なので、ここは px で書く。
   iPhoneで重くならないよう、transform・filter・will-change・固定背景は使わない。
   色・角丸・文字はトップ（top-renewal.css）に揃えている。
   ============================================================ */
.mm{
  --mm-g:#1cbea1;
  --mm-gd:#0e8f78;
  --mm-ink:#222;
  --mm-txt:#3c4543;
  --mm-sub:#66716e;
  --mm-line:#e2e8e6;
  --mm-pale:#e6f7f3;
  --mm-bg:#f5f5f5;
  --mm-yel:#ffd43b;
  --mm-maru:"Zen Maru Gothic","Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  --mm-en:"Montserrat","Noto Sans JP",sans-serif;
  color:var(--mm-txt);
  font-size:15px;
  line-height:1.8;
  background:#fff;
  padding-bottom:96px;
  text-align:left;
}
.mm *,.mm *::before,.mm *::after{box-sizing:border-box;}
/* 下の初期化は自前の部品の中だけ。記事本文（.content）の段落・リンク・箇条書きには触らない */
.mm-hero a,.mm-find a,.mm-head a,.mm-sec a,.mm-side a,.mm-bc a,.mm-ahead a,.mm-author a,.mm-band a{color:inherit;text-decoration:none;}
.mm-hero img,.mm-find img,.mm-head img,.mm-sec img,.mm-side img,.mm-ahead img,.mm-author img,.mm-band img{max-width:100%;height:auto;vertical-align:bottom;}
.mm-hero ul,.mm-find ul,.mm-head ul,.mm-sec ul,.mm-side ul,.mm-bc ol,.mm-ahead ul{list-style:none;margin:0;padding:0;}
.mm-hero li,.mm-find li,.mm-head li,.mm-sec li,.mm-side li{margin:0;padding:0;}
.mm-hero li::before,.mm-find li::before,.mm-head li::before,.mm-sec li::before,.mm-side li::before{content:none;}
.mm-hero p,.mm-find p,.mm-head p,.mm-sec p,.mm-side p,.mm-ahead p,.mm-author p,.mm-band p{margin:0;}
.mm-inner{max-width:1160px;margin:0 auto;padding:0 20px;}
.mm .mm-ico{display:block;flex:0 0 auto;}
.mm .mm-en{font-family:var(--mm-en);font-weight:800;font-size:14px;line-height:1;letter-spacing:.14em;color:var(--mm-g);}

/* ============================================================
   /media/ の入口
   ============================================================ */
.mm-hero{padding:24px 32px 0;}
.mm-hero_box{max-width:1376px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:40px;padding:56px 72px;border-radius:16px;background:var(--mm-g);color:#fff;}
.mm-hero_kind{display:inline-block;padding:8px 16px;border-radius:999px;background:var(--mm-yel);font-size:13px;font-weight:700;line-height:1;color:#111;}
.mm .mm-hero_title{margin:18px 0 0;padding:0;border:0;background:none;font-family:var(--mm-maru);font-weight:900;font-size:50px;line-height:1.25;letter-spacing:.01em;color:#fff;}
.mm .mm-hero_title::before,.mm .mm-hero_title::after{content:none;}
/* 自動広告が入口の帯の中に入ったときも、角丸の白い箱に収める */
.mm-hero .google-auto-placed{margin:16px 0 !important;border-radius:12px;overflow:hidden;background:#fff;}
.mm-hero_lead{margin-top:16px !important;max-width:34em;font-size:15px;font-weight:700;line-height:1.9;color:#fff;}
.mm-hero .mm-search{margin-top:26px;max-width:520px;}
.mm-hero .mm-search_label{color:#fff;font-size:13px;}
.mm-hero .mm-search_row{padding:5px;border-radius:999px;background:#fff;}
.mm-hero .mm-search_input{height:48px;padding:0 8px 0 20px;border:0;border-radius:999px;background:transparent;}
.mm-hero .mm-search_input:focus{outline:0;}
.mm-hero .mm-search_row:focus-within{outline:3px solid var(--mm-yel);outline-offset:2px;}
.mm-hero .mm-search_btn{flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#111;}
.mm-hero .mm-search_btn:hover{background:#333;}
.mm-hero_keys{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px !important;}
.mm .mm-hero_keys a{display:block;padding:6px 14px;border:1.5px solid rgba(255,255,255,.75);border-radius:999px;font-size:13px;font-weight:700;line-height:1.5;color:#fff;}
.mm .mm-hero_keys a:hover{background:#fff;color:var(--mm-gd);}
.mm-hero_pic{justify-self:center;display:flex;align-items:center;justify-content:center;width:100%;max-width:400px;aspect-ratio:1/1;border-radius:50%;background:#fff;padding:9%;}
.mm-hero_pic img{display:block;width:100%;height:auto;}

/* 探し方への近道 */
.mm-jump{max-width:1160px;margin:20px auto 0;}
.mm-jump_list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.mm .mm-jump_list a{display:flex;align-items:center;justify-content:center;gap:2px;min-height:56px;padding:10px 34px 10px 16px;position:relative;border-radius:12px;background:var(--mm-bg);font-size:14px;font-weight:700;line-height:1.4;color:var(--mm-ink);text-align:center;}
.mm .mm-jump_list a b{font-weight:900;color:var(--mm-gd);}
.mm .mm-jump_list a::after{content:"↓";position:absolute;right:14px;top:50%;margin-top:-.5em;font-size:14px;font-weight:700;line-height:1;color:var(--mm-g);}
.mm .mm-jump_list a:hover{background:var(--mm-pale);}

/* 入口の区切り */
.mm-find{padding:80px 0 0;scroll-margin-top:16px;}
.mm-find--theme,.mm-find--pickup{margin-top:80px;padding:72px 0 76px;background:var(--mm-bg);}
.mm-find--pickup{background:var(--mm-pale);}
.mm-find_head{text-align:center;margin-bottom:36px;}
.mm .mm-find_title{margin:12px 0 0;padding:0;border:0;background:none;font-family:var(--mm-maru);font-weight:900;font-size:36px;line-height:1.4;letter-spacing:.02em;color:var(--mm-ink);scroll-margin-top:90px;}
.mm .mm-find_title::before,.mm .mm-find_title::after{content:none;}
.mm-find_lead{margin-top:10px !important;font-size:15px;line-height:1.8;color:var(--mm-sub);}

/* システムの札（ロゴを使えるものは公式のマークをそのまま。ほかはサービス名の文字） */
.mm-plate{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;max-width:100%;text-align:center;}
.mm-plate--text .mm-plate_name{font-size:23px;font-weight:900;line-height:1.3;letter-spacing:.01em;color:var(--mm-ink);}
.mm-plate--text .mm-plate_kana{font-size:12px;font-weight:700;line-height:1.3;letter-spacing:.08em;color:var(--mm-sub);}
.mm .mm-plate--logo img{display:block;width:auto;height:92px;max-width:none;}
.mm .mm-plate--logo.mm-plate--m img{height:52px;}

/* 1) システムから探す */
.mm-sys_list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.mm-sys{position:relative;display:flex;flex-direction:column;min-width:0;padding:16px 16px 20px;border:2px solid #dcebe7;border-radius:16px;background:#fff;}
.mm-sys:hover{border-color:var(--mm-g);}
.mm-sys_plate{display:flex;align-items:center;justify-content:center;height:132px;padding:12px;border-radius:12px;background:var(--mm-bg);}
.mm-sys--ccus .mm-sys_plate{background:#fff;border:1px solid var(--mm-line);}
.mm-sys_body{display:flex;flex-direction:column;flex:1 1 auto;padding:16px 4px 0;}
.mm .mm-sys_name{margin:0;padding:0;border:0;background:none;font-size:17px;font-weight:900;line-height:1.5;color:var(--mm-ink);}
.mm .mm-sys_name::before,.mm .mm-sys_name::after{content:none;}
.mm .mm-sys_link{color:var(--mm-ink);}
.mm .mm-sys_link::after{content:"";position:absolute;left:0;top:0;right:0;bottom:0;border-radius:14px;}
.mm-sys:hover .mm-sys_link{color:var(--mm-gd);}
.mm-sys_desc{margin-top:6px !important;font-size:13px;line-height:1.75;color:var(--mm-sub);}
.mm-sys_n{margin-top:12px !important;font-size:13px;font-weight:700;line-height:1;color:var(--mm-ink);}
.mm-sys_n b{margin-right:3px;font-family:var(--mm-en);font-weight:800;font-size:26px;color:var(--mm-g);}
.mm-sys_pop{margin-top:14px !important;padding-top:12px !important;border-top:1px dashed #cfdcd8;}
.mm-sys_pop li{position:relative;padding-left:14px !important;}
.mm-sys_pop li + li{margin-top:8px !important;}
.mm .mm-sys_pop li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--mm-g);}
.mm .mm-sys_pop a{position:relative;z-index:1;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.6;color:var(--mm-txt);text-decoration:underline;text-decoration-color:#b9c9c5;text-underline-offset:3px;}
.mm .mm-sys_pop a:hover{color:var(--mm-gd);}

/* 2) 書類・テーマから探す */
.mm-theme_list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.mm-theme_list li{min-width:0;display:flex;}
.mm .mm-theme{display:flex;flex-direction:column;width:100%;padding:12px 12px 18px;border:2px solid transparent;border-radius:16px;background:#fff;color:var(--mm-ink);}
.mm .mm-theme:hover{border-color:var(--mm-g);}
.mm-theme_pic{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;padding:14px;border-radius:12px;background:#eef8f5;overflow:hidden;}
.mm .mm-theme_pic img{display:block;width:auto;height:100%;max-width:100%;object-fit:contain;}
.mm-theme_name{display:block;margin-top:14px;padding:0 4px;font-size:17px;font-weight:900;line-height:1.5;color:var(--mm-ink);}
.mm .mm-theme:hover .mm-theme_name{color:var(--mm-gd);}
.mm-theme_desc{display:block;flex:1 1 auto;margin-top:4px;padding:0 4px;font-size:13px;line-height:1.7;color:var(--mm-sub);}
.mm-theme_n{display:inline-block;align-self:flex-start;margin:10px 4px 0;padding:4px 12px;border-radius:999px;background:var(--mm-pale);font-size:12px;font-weight:700;line-height:1.4;color:var(--mm-gd);}

/* 3) 困りごとから探す */
.mm-trb_list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;max-width:960px;margin:0 auto !important;}
.mm .mm-trb{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 20px 10px 18px;border:2px solid var(--mm-g);border-radius:999px;background:#fff;font-size:16px;font-weight:700;line-height:1.45;color:var(--mm-ink);}
.mm .mm-trb:hover{background:var(--mm-pale);}
.mm-trb_ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--mm-pale);color:var(--mm-gd);}
.mm-trb_name{flex:1 1 auto;min-width:0;}
.mm-trb_n{flex:0 0 auto;min-width:40px;padding:3px 10px;border-radius:999px;background:var(--mm-bg);font-family:var(--mm-en);font-size:13px;font-weight:700;line-height:1.5;text-align:center;color:var(--mm-sub);}
.mm .mm-trb.is-current{background:var(--mm-gd);border-color:var(--mm-gd);color:#fff;}
.mm .mm-trb.is-current .mm-trb_ico{background:#fff;}

/* 絞り込み用（カテゴリの見出し・記事の下）は小さい並びにする */
.mm-narrow{margin-top:24px;padding:18px 20px 20px;border-radius:16px;background:#fff;}
.mm-narrow_label{margin-bottom:12px !important;font-size:14px;font-weight:900;line-height:1.5;color:var(--mm-ink);}
.mm-narrow .mm-trb_list,.mm-more .mm-trb_list{display:flex;flex-wrap:wrap;gap:8px;max-width:none;margin:0 !important;}
.mm-narrow .mm-trb,.mm-more .mm-trb{min-height:44px;gap:8px;padding:5px 12px 5px 6px;border-width:1.5px;font-size:14px;}
.mm-narrow .mm-trb_ico,.mm-more .mm-trb_ico{width:30px;height:30px;}
.mm-narrow .mm-trb_ico .mm-ico,.mm-more .mm-trb_ico .mm-ico{width:18px;height:18px;}
.mm-narrow .mm-trb_n,.mm-more .mm-trb_n{min-width:0;padding:1px 8px;font-size:12px;}
.mm-narrow_reset{margin-top:12px !important;font-size:13px;}
.mm .mm-narrow_reset a{color:var(--mm-gd);font-weight:700;text-decoration:underline;}

/* 注目の記事（白いカードで並べる） */
.mm-grid--card .mm-card{padding:14px 14px 18px;border-radius:16px;background:#fff;}

/* ============================================================
   一覧（カテゴリ・タグ・検索・2ページ目以降）の見出し帯
   ============================================================ */
.mm-head{background:var(--mm-pale);padding:36px 0 26px;}
.mm-head_in{display:flex;align-items:center;justify-content:space-between;gap:32px;}
.mm-head_txt{flex:1 1 auto;min-width:0;}
.mm-head_kind{display:inline-block;padding:6px 14px;border-radius:999px;background:var(--mm-g);font-size:12px;font-weight:700;line-height:1.2;color:#fff;}
.mm .mm-head_title{margin:12px 0 0;padding:0;border:0;background:none;font-family:var(--mm-maru);font-weight:900;font-size:34px;line-height:1.4;color:var(--mm-ink);letter-spacing:.01em;}
.mm .mm-head_title::before,.mm .mm-head_title::after{content:none;}
.mm-head_page{font-family:inherit;font-size:15px;font-weight:700;color:var(--mm-sub);margin-left:6px;}
.mm-head_lead{margin-top:10px !important;max-width:46em;font-size:15px;line-height:1.9;color:var(--mm-txt);}
.mm-head_count{margin-top:10px !important;font-size:13px;font-weight:700;color:var(--mm-ink);}
.mm-head_count b{margin-right:3px;font-family:var(--mm-en);font-weight:800;font-size:22px;color:var(--mm-gd);}
.mm-head_pic{flex:0 0 220px;display:flex;align-items:center;justify-content:center;width:220px;height:150px;padding:14px;border-radius:16px;background:#fff;}
.mm .mm-head_pic img{display:block;width:auto;height:100%;max-width:100%;object-fit:contain;}
.mm .mm-head_pic--plate .mm-plate--logo img{height:104px;}

/* ほかの入口 */
.mm-quick{margin-top:20px;}
.mm-quick_list{display:flex;flex-wrap:wrap;gap:8px;}
.mm .mm-quick_link{display:block;padding:7px 15px;border:1px solid #c4dbd5;border-radius:999px;background:#fff;font-size:13px;font-weight:700;line-height:1.5;color:var(--mm-ink);white-space:nowrap;}
.mm .mm-quick_link:hover{border-color:var(--mm-g);color:var(--mm-gd);}
.mm .mm-quick_link.is-current{background:var(--mm-ink);border-color:var(--mm-ink);color:#fff;}

/* ---------- 区切りと見出し ---------- */
.mm-sec{margin-top:56px;}
.mm-sec_head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:22px;padding-bottom:12px;border-bottom:3px solid var(--mm-ink);}
.mm .mm-sec_title{margin:0;padding:0;border:0;background:none;font-size:22px;font-weight:900;line-height:1.4;color:var(--mm-ink);}
.mm .mm-sec_title::before,.mm .mm-sec_title::after{content:none;}
.mm-sec_note{font-size:13px;font-weight:700;color:var(--mm-sub);line-height:1.6;}
.mm .mm-sec_more{flex:0 0 auto;font-size:13px;font-weight:700;color:var(--mm-gd);line-height:1.6;padding-right:14px;position:relative;}
.mm .mm-sec_more::after{content:"›";position:absolute;right:0;top:50%;margin-top:-.56em;font-size:16px;line-height:1;}
.mm .mm-sec_more:hover{text-decoration:underline;}

/* ---------- 2カラム ---------- */
.mm-cols{display:flex;align-items:flex-start;justify-content:space-between;gap:56px;}
.mm-main{flex:1 1 auto;min-width:0;max-width:760px;}
.mm-side{flex:0 0 300px;width:300px;margin-top:56px;}
.mm--portal .mm-cols{margin-top:24px;}

/* ---------- 記事カード（共通） ---------- */
.mm-card{position:relative;min-width:0;}
.mm .mm-card_img{display:block;position:relative;overflow:hidden;border:1px solid var(--mm-line);border-radius:12px;background:#eef8f5;aspect-ratio:1200/630;}
.mm .mm-card_img img{display:block;width:100%;height:100%;object-fit:cover;}
.mm .mm-card_img:hover img{opacity:.86;}
.mm-card_noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:8%;}
.mm .mm-card_noimg img{width:auto;height:100%;object-fit:contain;}
.mm-card_body{padding-top:12px;}
.mm-card_meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;line-height:1.5;}
.mm .mm-cat{display:inline-block;padding:3px 10px;border-radius:999px;background:var(--mm-pale);font-size:12px;font-weight:700;line-height:1.6;color:var(--mm-gd);}
.mm .mm-cat:hover{background:var(--mm-gd);color:#fff;}
/* システムのカテゴリは、札と同じ見た目（白地・黒文字・左に印）で見分けやすくする */
.mm .mm-cat--sys{position:relative;padding:2px 10px 2px 22px;border:1.5px solid var(--mm-ink);background:#fff;color:var(--mm-ink);}
.mm .mm-cat--sys::before{content:"";position:absolute;left:9px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:2px;background:var(--mm-g);}
.mm .mm-cat--sys:hover{background:var(--mm-ink);color:#fff;}
.mm-date{font-family:var(--mm-en);font-size:12px;font-weight:700;color:var(--mm-sub);letter-spacing:.02em;}
.mm .mm-card_title{margin:8px 0 0;padding:0;border:0;background:none;font-size:16px;font-weight:700;line-height:1.6;color:var(--mm-ink);}
.mm .mm-card_title::before,.mm .mm-card_title::after{content:none;}
.mm .mm-card_title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--mm-ink);}
.mm .mm-card_title a:hover{color:var(--mm-gd);text-decoration:underline;}
.mm-card_ex{margin-top:8px !important;font-size:13px;line-height:1.8;color:var(--mm-sub);}

/* 縦型カードの並び */
.mm-grid{display:grid;gap:36px 28px;}
.mm-grid--2{grid-template-columns:repeat(2,minmax(0,1fr));}
.mm-grid--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px;}
.mm-main .mm-grid--3 .mm-card_title{font-size:14px;line-height:1.65;}

/* ---------- ページ送り ---------- */
.mm-pager{margin-top:48px;}
.mm-pager_list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;}
.mm .mm-pager .page-numbers{font-family:var(--mm-en);letter-spacing:0;display:flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 14px;border:1px solid #cfd8d5;border-radius:999px;background:#fff;font-size:14px;font-weight:700;line-height:1;color:var(--mm-ink);}
.mm .mm-pager a.page-numbers:hover{border-color:var(--mm-gd);color:var(--mm-gd);}
.mm .mm-pager .page-numbers.current{background:var(--mm-ink);border-color:var(--mm-ink);color:#fff;}
.mm .mm-pager .page-numbers.dots{border-color:transparent;min-width:20px;padding:0;color:var(--mm-sub);}

/* 該当なし */
.mm-none{padding:28px 24px;border-radius:16px;background:var(--mm-bg);}
.mm-none p{margin-bottom:16px !important;}
.mm-none_pic{text-align:center;}
.mm .mm-none_pic img{width:150px;}

/* ---------- サイドバー ---------- */
.mm-side_box + .mm-side_box{margin-top:40px;}
.mm .mm-side_title{margin:0 0 16px;padding:0 0 10px;border:0;border-bottom:3px solid var(--mm-ink);background:none;font-size:17px;font-weight:900;line-height:1.5;color:var(--mm-ink);}
.mm .mm-side_title::before,.mm .mm-side_title::after{content:none;}
.mm-side_note{margin-top:12px !important;font-size:12px;color:var(--mm-sub);}

/* 検索 */
.mm-search_label{display:block;margin-bottom:8px;font-size:14px;font-weight:700;color:var(--mm-ink);line-height:1.5;}
.mm-search_row{display:flex;}
.mm .mm-search_input{flex:1 1 auto;min-width:0;width:auto;height:48px;margin:0;padding:0 14px;border:1px solid #c5d0cd;border-right:0;border-radius:999px 0 0 999px;background:#fff;box-shadow:none;font-size:16px;line-height:1.4;color:var(--mm-ink);-webkit-appearance:none;appearance:none;}
.mm .mm-search_input:focus{outline:2px solid var(--mm-g);outline-offset:-2px;}
.mm .mm-search_btn{flex:0 0 54px;width:54px;height:48px;margin:0;padding:0;border:0;border-radius:0 999px 999px 0;background:var(--mm-gd);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.mm .mm-search_btn:hover{background:#0b7a66;}
.mm .mm-search_btn .mm-ico{width:20px;height:20px;stroke-width:2.3;}

/* よく読まれている記事 */
.mm-ranklist{display:grid;gap:16px;}
.mm-card--rank{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:start;}
.mm-card--rank .mm-card_body{padding-top:0;}
.mm .mm-card--rank .mm-card_title{margin-top:4px;font-size:13px;line-height:1.6;}
.mm-card--rank .mm-cat{display:none;}
.mm .mm-card--rank .mm-card_img{border-radius:8px;overflow:visible;}
.mm .mm-card--rank .mm-card_img img{border-radius:7px;}
.mm-card_rank{position:absolute;left:-7px;top:-7px;z-index:1;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--mm-ink);font-family:var(--mm-en);font-size:12px;font-weight:700;line-height:1;color:#fff;}
.mm-ranklist .mm-card:nth-child(-n+3) .mm-card_rank{background:var(--mm-gd);}

/* システム・テーマの並び */
.mm .mm-catlist a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 4px;border-bottom:1px solid var(--mm-line);font-size:14px;font-weight:700;line-height:1.5;color:var(--mm-ink);}
.mm .mm-catlist a:hover{color:var(--mm-gd);}
.mm-catlist_n{flex:0 0 auto;min-width:36px;padding:1px 8px;border-radius:999px;background:var(--mm-bg);font-family:var(--mm-en);font-size:12px;font-weight:700;text-align:center;color:var(--mm-sub);}

/* 資料請求・LINE相談の入口 */
.mm-cta{padding:20px 20px 22px;border-radius:16px;background:var(--mm-pale);}
.mm-cta_pic{display:flex;justify-content:center;margin-bottom:12px !important;padding:12px;border-radius:12px;background:#fff;}
.mm .mm-cta_pic img{width:150px;}
.mm-cta_head{font-family:var(--mm-maru);font-size:19px;font-weight:900;line-height:1.5;color:var(--mm-ink);}
.mm-cta_head span{display:inline-block;}
.mm-cta_text{margin-top:8px !important;font-size:13px;line-height:1.85;color:var(--mm-txt);}
.mm .mm-cta_btn{display:block;margin-top:10px;padding:14px 12px;border-radius:999px;font-size:15px;font-weight:700;line-height:1.4;text-align:center;}
.mm .mm-cta_btn--main{margin-top:16px;background:#111;color:#fff;}
.mm .mm-cta_btn--main:hover{background:#333;}
.mm .mm-cta_btn--line{background:#06c755;color:#fff;}
.mm .mm-cta_btn--line:hover{background:#05b34c;}
.mm .mm-cta_more{display:block;margin-top:14px;font-size:13px;font-weight:700;text-align:center;color:var(--mm-gd);text-decoration:underline;}
.mm-side_box--cta{position:sticky;top:20px;}

/* ---------- 相談の導線（下の帯） ---------- */
.mm-band{margin-top:96px;}
.mm-band_box{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:40px;padding:52px 56px;border-radius:16px;background:var(--mm-g);color:#fff;}
.mm-band_label{display:inline-block;padding:7px 14px;border-radius:999px;background:#111;font-size:12px;font-weight:700;line-height:1.2;color:#fff;}
.mm .mm-band_title{margin:16px 0 0;padding:0;border:0;background:none;font-family:var(--mm-maru);font-weight:900;font-size:36px;line-height:1.4;color:#fff;}
.mm .mm-band_title::before,.mm .mm-band_title::after{content:none;}
.mm-band_title span{display:inline-block;}
.mm-band_lead{margin-top:14px !important;font-size:15px;font-weight:700;line-height:1.9;color:#fff;}
.mm-band_btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;}
.mm .mm-band_btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:12px 30px;border-radius:999px;font-size:16px;font-weight:700;line-height:1.4;text-align:center;}
.mm .mm-band_btn--line{background:#06c755;color:#fff;border:2px solid #fff;}
.mm .mm-band_btn--white{background:#fff;color:#111;border:2px solid #fff;}
.mm .mm-band_btn:hover{opacity:.85;}
.mm-band_more{margin-top:16px !important;font-size:14px;font-weight:700;}
.mm .mm-band_more a{color:#fff;text-decoration:underline;text-underline-offset:3px;}
.mm-band_pic{display:flex;align-items:center;justify-content:center;padding:28px 24px;border-radius:16px;background:#fff;}
.mm-band_pic img{display:block;width:100%;max-width:360px;height:auto;}

/* ============================================================
   記事ページ
   ============================================================ */
.mm--single{padding-top:0;}
.mm-bc{padding:16px 0 0;}
.mm-bc_list{display:flex;flex-wrap:wrap;gap:2px 0;font-size:12px;line-height:1.7;color:var(--mm-sub);}
.mm-bc_list li{display:inline-flex;align-items:center;min-width:0;margin:0;padding:0;}
.mm-bc_list li + li::before{content:"›";flex:0 0 auto;margin:0 8px;color:#9aa5a2;}
.mm .mm-bc_list a{color:var(--mm-sub);text-decoration:underline;}
.mm .mm-bc_list a:hover{color:var(--mm-gd);}
.mm-bc_list li[aria-current]{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.mm--single .mm-cols{margin-top:28px;}
.mm--single .mm-side{margin-top:0;}
.mm-ahead_cat{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;line-height:1.5;}
.mm .mm-ahead_logo{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--mm-line);border-radius:10px;background:#fff;}
.mm .mm-ahead_cat .mm-cat{font-size:13px;padding:4px 12px;}
.mm .mm-ahead_cat .mm-cat--sys{padding:3px 12px 3px 24px;}
.mm .mm-ahead_title{margin:14px 0 0;padding:0;border:0;background:none;font-size:30px;font-weight:900;line-height:1.5;color:var(--mm-ink);letter-spacing:.01em;}
.mm .mm-ahead_title::before,.mm .mm-ahead_title::after{content:none;}
.mm-ahead_meta{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:14px !important;font-size:13px;line-height:1.7;color:var(--mm-sub);}
.mm-ahead_eye{margin:22px 0 0;border:1px solid var(--mm-line);border-radius:16px;overflow:hidden;background:#eef8f5;aspect-ratio:1200/630;}
.mm-ahead_eye img{display:block;width:100%;height:100%;object-fit:cover;}

.mm--single .postContents{margin-top:32px;}
.mm--single .content{font-size:16px;line-height:1.95;color:#2c3432;}
.mm--single .content > :first-child{margin-top:0;}

/* 目次 */
.mm--single .content .outline{display:block;margin:32px 0;padding:20px 22px;border:0;border-radius:16px;background:var(--mm-bg);}
.mm--single .content .outline__title{font-size:16px;font-weight:900;color:var(--mm-ink);}
.mm--single .content .outline__switch::before{padding:4px 10px;border-color:#c5d0cd;border-radius:999px;background:#fff;font-size:12px;}
.mm--single .content .outline__switch + .outline__list{margin-left:0;background:transparent;transition:none;}
.mm--single .content .outline__toggle:checked + .outline__switch + .outline__list{margin-top:14px;}
.mm--single .content .outline__item{margin:8px 0 0;padding:0;font-size:14px;line-height:1.7;}
/* 目次は大見出しだけ（小見出しまで出すと長くなり本文が遠くなるため） */
.mm--single .content .outline__list-3{display:none;}
.mm--single .content .outline__link{color:var(--mm-ink);text-decoration:none;}
.mm--single .content .outline__link:hover{color:var(--mm-gd);text-decoration:underline;}
.mm--single .content .outline__number{background:var(--mm-pale);color:var(--mm-gd);border-radius:999px;font-size:12px;}

/* シェア */
.mm-share{margin-top:40px;padding-top:24px;border-top:1px solid var(--mm-line);}
.mm-share_label{margin-bottom:10px !important;font-size:13px;font-weight:700;color:var(--mm-ink);}

/* 書いた人 */
.mm-author{display:flex;gap:18px;align-items:flex-start;margin-top:36px;padding:22px;border-radius:16px;background:var(--mm-bg);}
.mm-author_face{flex:0 0 72px;}
.mm .mm-author_img,.mm-author_face img{display:block;width:72px;height:72px;border-radius:50%;object-fit:cover;}
.mm-author_label{font-size:12px;color:var(--mm-sub);line-height:1.5;}
.mm .mm-author_name{margin-top:2px;font-size:16px;font-weight:700;line-height:1.5;color:var(--mm-ink);}
.mm .mm-author_name a:hover{color:var(--mm-gd);text-decoration:underline;}
.mm-author_bio{margin-top:8px !important;font-size:13px;line-height:1.85;color:var(--mm-txt);}
.mm-author_org{margin-top:8px !important;font-size:12px;line-height:1.7;color:var(--mm-sub);}
.mm .mm-author_org a{color:var(--mm-gd);text-decoration:underline;}

.mm-more{margin-top:56px;}
.mm-more .mm-sec_title{font-size:19px;}
.mm-related{margin-top:56px;}

/* ============================================================
   タブレット・スマホ
   ============================================================ */
@media (max-width:1199px){
  .mm-hero_box{padding:48px 40px;gap:28px;}
  .mm .mm-hero_title{font-size:42px;}
  .mm-sys_list{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:1023px){
  .mm-cols{display:block;}
  .mm-main{max-width:none;}
  .mm-side{width:auto;margin-top:56px;}
  .mm--single .mm-side{margin-top:56px;}
  .mm-side_box--cta{position:static;}
  .mm-ranklist{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;}
  .mm-theme_list{grid-template-columns:repeat(3,minmax(0,1fr));}
  .mm-band_box{padding:40px 32px;gap:28px;}
  .mm .mm-band_title{font-size:30px;}
}
@media (max-width:767px){
  .mm{font-size:14px;padding-bottom:72px;}
  .mm-inner{padding:0 16px;}

  .mm-hero{padding:12px 12px 0;}
  .mm-hero_box{display:block;position:relative;padding:28px 20px 26px;border-radius:14px;}
  .mm-hero_kind{font-size:12px;padding:7px 13px;}
  /* 絵は題名の背景として右に置く（自動広告が前後に差し込まれても、絵が広告に重ならないようにするため） */
  .mm-hero_ttl{margin-top:14px;}
  .mm .mm-hero_title{display:flex;align-items:center;min-height:96px;margin-top:0;padding-right:108px;font-size:30px;line-height:1.3;
    background:url(../img/renewal/hero.png) right 10px center / 76px auto no-repeat, radial-gradient(circle at right 48px center, #fff 47.5px, rgba(255,255,255,0) 48.5px);}
  .mm-hero_lead{margin-top:14px !important;font-size:14px;line-height:1.8;}
  .mm-hero_pic{display:none;}
  .mm-hero .mm-search{margin-top:20px;}
  .mm .mm-hero_keys a{font-size:12px;padding:5px 12px;}
  .mm-jump{margin-top:12px;}
  .mm-jump_list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .mm .mm-jump_list a{min-height:50px;padding:8px 26px 8px 10px;font-size:13px;border-radius:10px;flex-wrap:wrap;}
  .mm .mm-jump_list a::after{right:10px;font-size:12px;}

  .mm-find{padding:52px 0 0;}
  .mm-find--theme,.mm-find--pickup{margin-top:52px;padding:48px 0 52px;}
  .mm-find_head{margin-bottom:24px;}
  .mm .mm-en{font-size:12px;}
  .mm .mm-find_title{margin-top:10px;font-size:26px;}
  .mm-find_lead{font-size:13px;}

  .mm-sys_list{grid-template-columns:1fr;gap:12px;}
  .mm-sys{display:grid;grid-template-columns:124px minmax(0,1fr);gap:0 14px;align-items:start;padding:12px;border-radius:14px;}
  .mm-sys_plate{height:auto;min-height:104px;align-self:stretch;padding:8px;border-radius:10px;}
  .mm-plate--text .mm-plate_name{font-size:13.5px;line-height:1.35;white-space:nowrap;letter-spacing:0;}
  .mm-plate--text .mm-plate_kana{font-size:10px;}
  .mm .mm-plate--logo img{height:72px;}
  .mm-sys_body{padding:2px 0 0;}
  .mm .mm-sys_name{font-size:15px;}
  .mm-sys_desc{margin-top:4px !important;font-size:12px;line-height:1.65;}
  .mm-sys_n{margin-top:8px !important;font-size:12px;}
  .mm-sys_n b{font-size:20px;}
  .mm-sys_pop{grid-column:1 / -1;margin-top:10px !important;padding-top:10px !important;}
  .mm-sys_body{display:contents;}
  .mm .mm-sys_name{grid-column:2;margin-top:2px;}
  .mm-sys_desc,.mm-sys_n{grid-column:2;}
  .mm-sys_plate{grid-row:1 / span 3;}
  .mm .mm-sys_pop a{font-size:12.5px;}

  .mm-theme_list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .mm .mm-theme{padding:8px 8px 14px;border-radius:14px;}
  .mm-theme_pic{padding:10px;border-radius:10px;}
  .mm-theme_name{margin-top:10px;font-size:14px;line-height:1.45;}
  .mm-theme_desc{font-size:11.5px;line-height:1.6;}
  .mm-theme_n{margin-top:8px;padding:3px 10px;font-size:11px;}

  .mm-trb_list{grid-template-columns:1fr;gap:10px;}
  .mm .mm-trb{min-height:56px;padding:8px 14px 8px 10px;font-size:14px;gap:10px;}
  .mm-trb_ico{width:34px;height:34px;}
  .mm-narrow{margin-top:18px;padding:14px 14px 16px;border-radius:14px;}
  .mm-narrow .mm-trb,.mm-more .mm-trb{font-size:13px;}

  .mm-grid--card .mm-card{padding:0;background:transparent;border-radius:0;}
  .mm-find--pickup .mm-grid{padding:4px 14px;border-radius:14px;background:#fff;}
  .mm-find--pickup .mm-grid .mm-card:last-child{border-bottom:0;}

  .mm-head{padding:22px 0 18px;}
  .mm-head_in{align-items:flex-start;gap:12px;}
  .mm .mm-head_title{margin-top:10px;font-size:24px;}
  .mm-head_lead{font-size:13px;line-height:1.8;}
  .mm-head_count b{font-size:19px;}
  .mm-head_pic{flex:0 0 92px;width:92px;height:76px;padding:8px;border-radius:12px;}
  .mm .mm-head_pic--plate .mm-plate--logo img{height:56px;}
  .mm-head_pic--plate .mm-plate--text .mm-plate_name{font-size:12px;}
  /* ほかの入口は横に送る */
  .mm-quick{margin:14px -16px 0;}
  .mm-quick_list{flex-wrap:nowrap;overflow-x:auto;padding:0 16px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .mm-quick_list::-webkit-scrollbar{display:none;}
  .mm-quick_list li{flex:0 0 auto;}
  .mm .mm-quick_link{padding:8px 14px;}

  .mm-sec{margin-top:44px;}
  .mm--portal .mm-cols{margin-top:8px;}
  .mm-sec_head{margin-bottom:4px;padding-bottom:10px;}
  .mm .mm-sec_title{font-size:19px;}

  /* 一覧は「左に画像・右に題名」の横並びで、1画面に多く見せる */
  .mm-grid,.mm-grid--2,.mm-grid--3{display:block;}
  .mm-grid .mm-card{display:grid;grid-template-columns:124px minmax(0,1fr);gap:12px;align-items:start;padding:16px 0;border-bottom:1px solid var(--mm-line);}
  .mm-grid .mm-card_body{padding-top:0;}
  .mm .mm-grid .mm-card_img{border-radius:8px;}
  .mm .mm-grid .mm-card_title,.mm .mm-main .mm-grid--3 .mm-card_title{margin-top:5px;font-size:14px;line-height:1.6;}
  .mm .mm-cat{font-size:11px;padding:2px 8px;}
  .mm .mm-cat--sys{padding:1px 8px 1px 19px;}
  .mm .mm-cat--sys::before{left:7px;width:7px;height:7px;margin-top:-3.5px;}
  .mm-date{font-size:11px;}

  .mm-pager{margin-top:28px;}
  .mm-pager_list{gap:6px;}
  .mm .mm-pager .page-numbers{min-width:42px;height:44px;padding:0 10px;}

  .mm-side{margin-top:48px;}
  .mm--single .mm-side{margin-top:48px;}
  .mm-ranklist{grid-template-columns:1fr;gap:14px;}

  .mm-band{margin-top:64px;}
  .mm-band .mm-inner{padding:0 12px;}
  .mm-band_box{display:flex;flex-direction:column-reverse;gap:22px;padding:22px 20px 30px;border-radius:14px;}
  .mm-band_pic{width:100%;padding:18px 16px;border-radius:12px;}
  .mm-band_pic img{max-width:250px;}
  .mm .mm-band_title{margin-top:14px;font-size:25px;}
  .mm-band_lead{font-size:14px;line-height:1.8;}
  .mm-band_btns{flex-direction:column;gap:10px;margin-top:20px;}
  .mm .mm-band_btn{width:100%;min-height:54px;font-size:15px;}

  .mm-bc{padding-top:12px;}
  .mm--single .mm-cols{margin-top:18px;}
  .mm .mm-plate--logo.mm-plate--m img{height:40px;}
  .mm .mm-ahead_title{margin-top:10px;font-size:22px;line-height:1.55;}
  .mm-ahead_meta{margin-top:10px !important;font-size:12px;gap:2px 14px;}
  .mm-ahead_eye{margin-top:16px;border-radius:12px;}
  .mm--single .postContents{margin-top:24px;}
  .mm--single .content{font-size:16px;line-height:1.9;}
  .mm--single .content .outline{margin:26px 0;padding:16px;border-radius:14px;}
  .mm-author{gap:14px;padding:18px 16px;border-radius:14px;}
  .mm-author_face{flex-basis:56px;}
  .mm .mm-author_img,.mm-author_face img{width:56px;height:56px;}
  .mm-more,.mm-related{margin-top:44px;}
  .mm-more .mm-sec_head{margin-bottom:14px;}
  .mm-more .mm-sec_title{font-size:17px;}
}


/* ============================================================
   2026-11-23 22:00 見た目点検（窪田さん「見づらい」「ロゴ使って」）
   ・「システムから探す」のカード：内側の余白が .mm-find li{padding:0} に負けて 0 になっていたのを戻す
   ・札はどれも白地＋細い枠にそろえ、公式ロゴ（グリーンサイト・Buildee・CCUS）を変形せずに収める
   ・スマホは「ロゴの札＋記事数」→ 名前 → 説明 → よく読まれている記事 の縦並び
   前の形は media-portal.css.bak-20261123-look
   ============================================================ */
.mm .mm-sys_list > .mm-sys{padding:16px 16px 20px;}
.mm .mm-sys_plate{background:#fff;border:1px solid var(--mm-line);}
/* ロゴは縦横比を保ったまま、札の中に収める（横長＝wide／やや横長＝box／ほぼ正方形＝指定なし） */
.mm .mm-plate--logo img{width:auto;height:auto;max-width:100%;max-height:92px;object-fit:contain;}
.mm .mm-plate--logo.mm-plate--wide img{max-width:min(100%,212px);max-height:none;height:auto;}
.mm .mm-plate--logo.mm-plate--box img{max-height:72px;}
.mm .mm-plate--logo.mm-plate--m img{height:auto;max-height:52px;}
.mm .mm-plate--logo.mm-plate--m.mm-plate--wide img{max-width:none;height:24px;}
.mm .mm-plate--logo.mm-plate--m.mm-plate--box img{height:40px;}
.mm .mm-head_pic--plate .mm-plate--logo img{height:auto;max-height:104px;}
.mm .mm-head_pic--plate .mm-plate--logo.mm-plate--wide img{max-width:100%;max-height:none;}
.mm .mm-head_pic--plate .mm-plate--logo.mm-plate--box img{max-height:84px;}

@media (max-width:767px){
  .mm .mm-sys_list{gap:14px;}
  .mm .mm-sys_list > .mm-sys{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0 12px;align-items:center;padding:16px 16px 6px;border-radius:16px;}
  .mm .mm-sys_plate{grid-column:1;grid-row:1;align-self:center;height:64px;min-height:0;padding:8px 12px;border-radius:10px;}
  .mm .mm-sys .mm-plate--logo img{height:auto;max-height:46px;}
  .mm .mm-sys .mm-plate--logo.mm-plate--wide img{max-width:100%;max-height:none;}
  .mm .mm-sys .mm-plate--logo.mm-plate--box img{max-height:44px;}
  .mm .mm-sys .mm-plate--text .mm-plate_name{font-size:14px;line-height:1.35;white-space:nowrap;letter-spacing:0;}
  .mm .mm-sys_n{grid-column:2;grid-row:1;justify-self:end;align-self:center;margin-top:0 !important;font-size:12px;white-space:nowrap;}
  .mm .mm-sys_n b{font-size:24px;}
  .mm .mm-sys_name{grid-column:1 / -1;grid-row:2;margin-top:14px;font-size:17px;line-height:1.5;}
  .mm .mm-sys_desc{grid-column:1 / -1;grid-row:3;margin-top:6px !important;font-size:13px;line-height:1.75;}
  /* よく読まれている記事：下線をやめ、1本ずつ行で区切って押しやすく（1行48px以上） */
  .mm .mm-sys_pop{grid-column:1 / -1;grid-row:4;margin-top:14px !important;padding-top:0 !important;border-top:1px solid #e1ebe8;}
  .mm .mm-sys_pop li{display:flex;align-items:center;min-height:50px;margin:0 !important;padding:11px 18px 11px 16px !important;}
  .mm .mm-sys_pop li + li{margin-top:0 !important;border-top:1px solid #eef3f1;}
  .mm .mm-sys_pop li::before{left:2px;top:50%;margin-top:-3px;}
  .mm .mm-sys_pop li::after{content:"";position:absolute;right:4px;top:50%;width:6px;height:6px;margin-top:-4px;border-top:2px solid var(--mm-g);border-right:2px solid var(--mm-g);transform:rotate(45deg);}
  .mm .mm-sys_pop a{position:static;flex:1 1 auto;min-width:0;font-size:13.5px;line-height:1.6;color:var(--mm-ink);text-decoration:none;}
  .mm .mm-sys_pop a::after{content:"";position:absolute;left:0;top:0;right:0;bottom:0;z-index:1;}
  /* 一覧（カテゴリ）の見出しの札：横長のロゴが小さくなりすぎないよう、ロゴの札だけ横幅を広げる */
  .mm .mm-head_pic--plate:has(.mm-plate--wide),.mm .mm-head_pic--plate:has(.mm-plate--box){flex:0 0 124px;width:124px;height:64px;padding:8px 10px;}
  .mm .mm-head_pic--plate .mm-plate--logo.mm-plate--box img{max-height:46px;}
  .mm .mm-plate--logo.mm-plate--m img{max-height:40px;}
  .mm .mm-plate--logo.mm-plate--m.mm-plate--wide img{height:20px;}
  .mm .mm-plate--logo.mm-plate--m.mm-plate--box img{height:32px;}
  /* 押しにくかった文字だけのリンク（高さ21〜23px）に、指で押せる高さを持たせる */
  .mm .mm-cta_more{margin-top:6px;padding:12px 0;}
  .mm .mm-sec_more{padding-top:10px;padding-bottom:10px;}
}

/* 記事：中央寄せの画像の説明文が、1〜2文字の幅で縦に潰れていた（figure は block、説明文だけ table-caption のままだった）。
   画像の幅いっぱいに戻す */
.mm .content .wp-block-image .aligncenter > figcaption,.mm .content .wp-block-image .alignleft > figcaption,.mm .content .wp-block-image .alignright > figcaption,
.mm .content .wp-block-image.aligncenter > figcaption,.mm .content .wp-block-image.alignleft > figcaption,.mm .content .wp-block-image.alignright > figcaption{display:block;width:auto;max-width:100%;margin:8px 0 1em;font-size:13px;line-height:1.7;text-align:center;color:var(--mm-sub);}
