/* エムアイエス 見本の形の仮の見た目（mis-migrate）。名前は .mis-k で始まる物とメニューの印だけ。
   このファイルを外す（プラグインを止める）と SWELL の標準の見た目に戻る。色と書体の正: .claude/brand/mis-brand.json */
:root{
  --mk-main:#EAF3F3; --mk-accent:#0F7C80; --mk-accent-dark:#0B6266;
  --mk-ink:#222222; --mk-text:#333333; --mk-sub:#5C6470;
  --mk-line:#CFCFCF; --mk-line-soft:#D6E5E5; --mk-face:#F6F6F6; --mk-photo:#D9DDDD; --mk-w:1120px;
}

/* ---- ヘッダーの「無料相談」とスマホの下の帯（メニューの印） ---- */
.c-gnav .mis-nav-cta>a{background:var(--mk-accent);color:#fff!important;border-radius:8px;padding:0 20px!important;margin-left:8px;box-shadow:0 3px 8px rgba(15,124,128,.30);height:46px;align-self:center;display:flex;align-items:center}
.c-gnav .mis-nav-cta>a:hover{background:var(--mk-accent-dark)}
.c-gnav .mis-nav-cta>a:after,.c-gnav .mis-nav-cta>a:before{display:none!important}
.c-gnav>.menu-item>a .ttl{font-size:15px}
.p-spMenu .mis-nav-cta>a{background:var(--mk-accent);color:#fff!important;border-radius:8px;text-align:center;margin:12px 16px}
#fix_bottom_menu .mis-fbm-main{background:var(--mk-accent)}
#fix_bottom_menu .mis-fbm-main a{color:#fff!important}

/* ---- 見本の形のページの土台 ---- */
.mis-k-page #content.l-content{padding-top:0}
.mis-k-page.home .l-content{margin-top:0}
.mis-k-page .post_content{margin-top:0}
.mis-k-page .p-breadcrumb{margin-bottom:0}
.mis-k-page .c-pageTitle{margin-top:2em}

.post_content .mis-k{margin:0!important;padding:72px 0;color:var(--mk-text);font-size:16px;line-height:1.75}
.post_content .mis-k>.wp-block-group__inner-container{max-width:var(--mk-w);margin:0 auto;padding:0 24px}
.post_content .mis-k>.wp-block-group__inner-container>*{margin-bottom:0}
.post_content .mis-k p{margin:0 0 12px}
.post_content .mis-k a{color:var(--mk-accent);text-decoration:underline;text-underline-offset:3px}
.post_content .mis-k-green{background:var(--mk-main)}
.post_content .mis-k h1,.post_content .mis-k h2,.post_content .mis-k h3,.post_content .mis-k h4{font-weight:500;color:var(--mk-ink);line-height:1.45;margin:0}
.post_content .mis-k h2{font-size:28px;margin-bottom:12px}
.post_content .mis-k h3{font-size:19px;margin-bottom:10px}
.post_content .mis-k .mis-k-mt{margin-top:56px}
.post_content .mis-k .mis-k-lead{color:var(--mk-sub);margin-bottom:36px}
.post_content .mis-k .mis-k-center{text-align:center;justify-content:center}
.post_content .mis-k .mis-k-right{text-align:right}
.post_content .mis-k .mis-k-note{font-size:13px;color:var(--mk-sub);line-height:1.6}
.post_content .mis-k .nw{display:inline-block}
.post_content .mis-k .wp-block-columns{margin:0;gap:24px}
.post_content .mis-k .wp-block-column{margin:0!important}
.post_content .mis-k .wp-block-column>*:last-child{margin-bottom:0}

/* 写真の場所（灰色の枠のまま） */
.post_content .mis-k-photo{background:var(--mk-photo);border-radius:10px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;min-height:160px;margin:0}
.post_content .mis-k-photo>.wp-block-group__inner-container{width:100%}
.post_content .mis-k-photo p{color:var(--mk-sub)!important;font-size:13px!important;margin:0!important}
.post_content .mis-k-photo-43{aspect-ratio:4/3}
.post_content .mis-k-photo-11{aspect-ratio:1/1}

/* ボタン: 面＋うすい影 */
.post_content .mis-k .wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:0 0 12px}
.post_content .mis-k .wp-block-button{margin:0}
.post_content .mis-k .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 28px;border-radius:8px;font-size:17px;font-weight:500;text-decoration:none;line-height:1.2;box-sizing:border-box}
.post_content .mis-k .mis-k-btn-main .wp-block-button__link{background:var(--mk-accent);color:#fff;box-shadow:0 3px 8px rgba(15,124,128,.30);border:0}
.post_content .mis-k .mis-k-btn-main .wp-block-button__link:hover{background:var(--mk-accent-dark)}
.post_content .mis-k .mis-k-btn-sub .wp-block-button__link{background:#fff;color:var(--mk-accent);border:2px solid var(--mk-accent)}
.post_content .mis-k .mis-k-btn-sub .wp-block-button__link:hover{background:var(--mk-main)}
.post_content .mis-k .wp-block-button__link small{font-size:13px;font-weight:400}
.post_content .mis-k a:focus-visible{outline:3px solid #F2B705;outline-offset:2px}

/* 最初の画面 */
.post_content .mis-k-mv{padding:64px 0 72px}
.post_content .mis-k-mv-cols{display:grid!important;grid-template-columns:1.35fr .65fr;gap:48px!important;align-items:center}
.post_content .mis-k .mis-k-mv-title{font-size:32px;line-height:1.5;margin-bottom:20px}
.post_content .mis-k .mis-k-mv-lead{font-size:17px;margin-bottom:28px}

/* 選ぶ理由 */
.post_content .mis-k-reasons-band{padding-top:8px}
.post_content .mis-k-reasons{display:grid!important;grid-template-columns:repeat(3,1fr)}
.post_content .mis-k-card{background:#fff;border-radius:10px;padding:28px 24px}
.post_content .mis-k .mis-k-num{display:inline-flex;width:36px;height:36px;border-radius:50%;background:var(--mk-accent);color:#fff;align-items:center;justify-content:center;font-weight:500;margin-bottom:14px}
.post_content .mis-k-figures{display:grid!important;grid-template-columns:repeat(3,1fr);gap:0!important;margin-top:36px!important;background:#fff;border-radius:10px;padding:24px 0}
.post_content .mis-k-fig{text-align:center;padding:4px 16px}
.post_content .mis-k-fig+.mis-k-fig{border-left:1px solid var(--mk-line-soft)}
.post_content .mis-k .mis-k-fig-label{font-size:14px;color:var(--mk-sub);margin:0}
.post_content .mis-k .mis-k-fig-val{font-size:34px;font-weight:500;color:var(--mk-accent);line-height:1.3;margin:0}
.post_content .mis-k .mis-k-fig-val small{font-size:17px}
.post_content .mis-k-figures+.mis-k-note{margin-top:8px}

/* サービス */
.post_content .mis-k-svc-main{display:grid!important;grid-template-columns:1fr 1fr;gap:0!important;background:#fff;border:1px solid var(--mk-line-soft);border-radius:12px;overflow:hidden;margin-bottom:28px!important}
.post_content .mis-k-svc-main .mis-k-photo{border-radius:0;height:100%;min-height:260px}
.post_content .mis-k-svc-body{padding:32px}
.post_content .mis-k .mis-k-tag{display:inline-block;font-size:13px;padding:2px 10px;border-radius:999px;background:var(--mk-main);color:var(--mk-accent-dark);margin-bottom:10px}
.post_content .mis-k-svc-body h3{font-size:24px}
.post_content .mis-k-svc-body p{margin-bottom:20px}
.post_content .mis-k-svc-groups{display:grid!important;grid-template-columns:repeat(3,1fr)}
.post_content .mis-k .mis-k-svc-group{font-size:16px;color:var(--mk-sub);margin-bottom:10px}
.post_content .mis-k .mis-k-svc-card{margin:0 0 12px}
.post_content .mis-k .mis-k-svc-card a{display:block;background:#fff;border:1px solid var(--mk-line-soft);border-radius:10px;padding:16px 18px;text-decoration:none;color:var(--mk-text)}
.post_content .mis-k .mis-k-svc-card a:hover{border-color:var(--mk-accent)}
.post_content .mis-k .mis-k-svc-card strong{display:block;font-weight:500;color:var(--mk-accent);font-size:16px}
.post_content .mis-k .mis-k-svc-card strong:after{content:" ›"}
.post_content .mis-k .mis-k-svc-card span{font-size:14px;color:var(--mk-sub)}

/* 流れ */
.post_content .mis-k .mis-k-flow{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;counter-reset:f;list-style:none;padding:0;margin:0}
.post_content .mis-k .mis-k-flow li{background:#fff;border-radius:10px;padding:18px 12px;text-align:center;position:relative;font-size:15px;line-height:1.5;margin:0;list-style:none}
.post_content .mis-k .mis-k-flow li:before{counter-increment:f;content:counter(f);display:flex;width:30px;height:30px;border-radius:50%;background:var(--mk-accent);color:#fff;align-items:center;justify-content:center;margin:0 auto 10px;font-size:14px;position:static;border:0;transform:none}
.post_content .mis-k .mis-k-flow li small{display:block;font-size:13px;color:var(--mk-sub);margin-top:6px}
.post_content .mis-k .mis-k-flow li:nth-child(3){outline:2px solid var(--mk-accent)}

/* 事例・代表 */
.post_content .mis-k-cases{display:grid!important;grid-template-columns:repeat(3,1fr);gap:20px!important}
.post_content .mis-k-case{border:1px solid var(--mk-line-soft);border-radius:10px;padding:20px}
.post_content .mis-k-case p{font-size:15px}
.post_content .mis-k-rep{display:grid!important;grid-template-columns:240px 1fr;gap:36px!important;align-items:center;margin-top:56px!important}
.post_content .mis-k-rep .wp-block-column{flex-basis:auto!important}
.post_content .mis-k-rep h3{font-size:22px;margin-bottom:4px}
.post_content .mis-k .mis-k-role{color:var(--mk-sub);margin-bottom:14px}
.post_content .mis-k .mis-k-dots{list-style:none;padding:0;margin:0 0 18px}
.post_content .mis-k .mis-k-dots li{padding-left:18px;position:relative;list-style:none;margin:0}
.post_content .mis-k .mis-k-dots li:before{content:"";position:absolute;left:2px;top:.75em;width:7px;height:7px;border-radius:50%;background:var(--mk-accent);border:0}

/* 記事の一覧（SWELL の投稿リスト） */
.post_content .mis-k-lists{display:grid!important;grid-template-columns:1fr 1fr;gap:40px!important}
.post_content .mis-k-lists h3{font-size:20px;margin-bottom:12px}
.post_content .mis-k .mis-k-plist{margin:0}
.post_content .mis-k .mis-k-plist .p-postList{margin:0}
.post_content .mis-k .mis-k-plist .p-postList__title{font-size:16px;font-weight:400;color:var(--mk-accent);text-decoration:underline;text-underline-offset:3px;line-height:1.55;margin:0}
.post_content .mis-k .mis-k-plist .p-postList__link{text-decoration:none}
.post_content .mis-k .mis-k-plist .p-postList__item{border-top:1px solid var(--mk-line-soft);margin:0}
.post_content .mis-k .mis-k-more{margin-top:14px;text-align:right}
.post_content .mis-k-green .mis-k-plist .p-postList__item{background:transparent}

/* 最後の相談の帯 */
.post_content .mis-k-cta{background:var(--mk-accent);color:#fff;padding:56px 0}
.post_content .mis-k-cta .wp-block-group__inner-container{text-align:center}
.post_content .mis-k-cta h2{color:#fff!important;font-size:26px;margin-bottom:10px}
.post_content .mis-k-cta p{margin-bottom:26px}
.post_content .mis-k-cta .mis-k-btn-main .wp-block-button__link{background:#fff;color:var(--mk-accent);box-shadow:0 3px 10px rgba(0,0,0,.18)}
.post_content .mis-k-cta .mis-k-btn-sub .wp-block-button__link{background:transparent;color:#fff;border-color:#fff}
.post_content .mis-k-cta .mis-k-note{color:#E3F1F1!important;margin:16px 0 0}

/* 下層ページの頭（題と道しるべは SWELL） */
.post_content .mis-k-pagehead{padding:36px 0 48px}
.post_content .mis-k .mis-k-big{font-size:17px;max-width:780px;margin-bottom:10px}
.post_content .mis-k-pagehead .wp-block-buttons{margin-top:28px}

/* 特徴 */
.post_content .mis-k-feat{display:grid!important;grid-template-columns:300px 1fr;gap:32px!important;align-items:center;background:#fff;border:1px solid var(--mk-line-soft);border-radius:12px;padding:24px;margin-bottom:20px!important}
.post_content .mis-k-feat .wp-block-column{flex-basis:auto!important}
.post_content .mis-k .mis-k-feat-num{font-size:14px;color:var(--mk-accent);font-weight:500;margin-bottom:4px}
.post_content .mis-k-feat h3{font-size:22px}

/* 表 */
.post_content .mis-k .mis-k-tbl{width:100%;border-collapse:collapse;background:#fff;font-size:15px;margin:0;display:table}
.post_content .mis-k .mis-k-tbl th,.post_content .mis-k .mis-k-tbl td{border:1px solid var(--mk-line);padding:14px 16px;text-align:left;vertical-align:top;background:#fff;color:var(--mk-text);font-weight:400}
.post_content .mis-k .mis-k-tbl thead th{background:var(--mk-accent);color:#fff;font-weight:500}
.post_content .mis-k .mis-k-tbl tbody th{background:var(--mk-face);font-weight:500;width:22%}
.post_content .mis-k .mis-k-tbl td.mis-k-us{background:#F3F9F9}
.post_content .mis-k .mis-k-tbl+*{margin-top:0}
.post_content .mis-k .mis-k-total{margin-top:18px;background:#fff;border-left:4px solid var(--mk-accent);padding:16px 20px;border-radius:0 8px 8px 0}
.post_content .mis-k .mis-k-total b{font-size:20px;font-weight:500;color:var(--mk-ink)}
.post_content .mis-k .mis-k-total+.mis-k-note{margin-top:12px}
.post_content .mis-k .mis-k-note+.wp-block-buttons{margin-top:32px}

/* 対応する補助金 */
.post_content .mis-k .mis-k-chips{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:0}
.post_content .mis-k .mis-k-chips li{list-style:none;margin:0;padding:0}
.post_content .mis-k .mis-k-chips li:before{display:none}
.post_content .mis-k .mis-k-chips a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--mk-accent);border-radius:999px;background:#fff;font-size:15px}

/* よくある質問（標準の「詳細」ブロック） */
.post_content .mis-k .mis-k-faq{background:#fff;border:1px solid var(--mk-line-soft);border-radius:10px;margin:0 0 12px}
.post_content .mis-k .mis-k-faq summary{cursor:pointer;list-style:none;padding:18px 52px 18px 20px;font-weight:500;color:var(--mk-ink);position:relative;min-height:44px}
.post_content .mis-k .mis-k-faq summary::-webkit-details-marker{display:none}
.post_content .mis-k .mis-k-faq summary:after{content:"▼";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--mk-accent)}
.post_content .mis-k .mis-k-faq[open] summary:after{content:"▲"}
.post_content .mis-k .mis-k-faq summary b{color:var(--mk-accent);margin-right:8px;font-weight:500}
.post_content .mis-k .mis-k-faq p{padding:0 20px 18px;margin:0}
.post_content .mis-k h2+.mis-k-faq,.post_content .mis-k h2+.mis-k-cases{margin-top:20px!important}

/* ---- スマホ ---- */
@media (max-width:768px){
  .post_content .mis-k{padding:48px 0}
  .post_content .mis-k>.wp-block-group__inner-container{padding:0 16px}
  .post_content .mis-k h2{font-size:23px}
  .post_content .mis-k .mis-k-lead{margin-bottom:24px}
  .post_content .mis-k-mv{padding:32px 0 40px}
  .post_content .mis-k-mv-cols{grid-template-columns:1fr;gap:24px!important}
  .post_content .mis-k .mis-k-mv-title{font-size:24px}
  .post_content .mis-k .mis-k-mv-lead{font-size:16px;margin-bottom:20px}
  .post_content .mis-k-mv .mis-k-photo-43{aspect-ratio:16/9}
  .post_content .mis-k .wp-block-buttons{flex-direction:column;align-items:stretch}
  .post_content .mis-k .wp-block-button,.post_content .mis-k .wp-block-button__link{width:100%}
  .post_content .mis-k-reasons,.post_content .mis-k-cases,.post_content .mis-k-svc-groups,.post_content .mis-k-lists{grid-template-columns:1fr;gap:16px!important}
  .post_content .mis-k-figures{grid-template-columns:1fr;padding:8px 0}
  .post_content .mis-k-fig{padding:12px}
  .post_content .mis-k-fig+.mis-k-fig{border-left:0;border-top:1px solid var(--mk-line-soft)}
  .post_content .mis-k .mis-k-fig-val{font-size:30px}
  .post_content .mis-k-svc-main{grid-template-columns:1fr}
  .post_content .mis-k-svc-main .mis-k-photo{min-height:170px}
  .post_content .mis-k-svc-body{padding:22px}
  .post_content .mis-k .mis-k-flow{grid-template-columns:1fr;gap:8px}
  .post_content .mis-k .mis-k-flow li{display:grid;grid-template-columns:30px 1fr;gap:12px;text-align:left;align-items:center;padding:12px 14px}
  .post_content .mis-k .mis-k-flow li:before{margin:0}
  .post_content .mis-k .mis-k-flow li small{grid-column:2;margin-top:-6px}
  .post_content .mis-k-rep{grid-template-columns:1fr;gap:18px!important}
  .post_content .mis-k-rep .mis-k-photo{width:160px;margin:0 auto}
  .post_content .mis-k-cta{padding:40px 0}
  .post_content .mis-k-cta h2{font-size:21px}
  .post_content .mis-k-pagehead{padding:24px 0 32px}
  .post_content .mis-k .mis-k-big{font-size:16px}
  .post_content .mis-k-feat{grid-template-columns:1fr;gap:14px!important;padding:18px}
  .post_content .mis-k-feat .mis-k-photo-43{aspect-ratio:16/9}
  .post_content .mis-k-feat h3{font-size:19px}
  /* 表はスマホで縦に積む（横に流さない） */
  .post_content .mis-k .mis-k-stack thead{display:none}
  .post_content .mis-k .mis-k-stack,.post_content .mis-k .mis-k-stack tbody,.post_content .mis-k .mis-k-stack tr,.post_content .mis-k .mis-k-stack th,.post_content .mis-k .mis-k-stack td{display:block;width:100%;box-sizing:border-box}
  .post_content .mis-k .mis-k-stack tr{margin-bottom:14px;border:1px solid var(--mk-line);border-radius:8px;overflow:hidden}
  .post_content .mis-k .mis-k-stack th,.post_content .mis-k .mis-k-stack td{border:0;border-top:1px solid var(--mk-line)}
  .post_content .mis-k .mis-k-stack tbody th{border-top:0;background:var(--mk-accent);color:#fff;width:100%}
  .post_content .mis-k .mis-k-stack td:before{content:attr(data-h);display:block;font-size:13px;color:var(--mk-sub)}
}

/* 直し 1回目（手元の試しの画面から）: 一覧の小さな写真・日付と道しるべの字の大きさ・スマホの下の帯の押す所の高さ */
.post_content .mis-k .mis-k-plist .-type-list .p-postList__link{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:14px 0;align-items:start}
.post_content .mis-k .mis-k-plist .-type-list .p-postList__thumb{width:120px;margin:0}
.post_content .mis-k .mis-k-plist .-type-list .p-postList__body{width:auto;padding:0}
.post_content .mis-k .mis-k-plist .p-postList__meta,.post_content .mis-k .mis-k-plist time{font-size:13px!important;color:var(--mk-sub)}
.post_content .mis-k .mis-k-plist .-type-simple .p-postList__link{padding:14px 0;display:block}
.p-breadcrumb__text,.p-breadcrumb__item{font-size:12px}
.c-postTimes{font-size:12px}
#fix_bottom_menu .menu_list>.menu-item>a,#fix_bottom_menu .menu_list>.menu-item{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center}
#fix_bottom_menu .menu_list>.menu-item span{font-size:12px}
.mis-k-page .l-article{max-width:1168px!important}
.l-footer__nav a,.c-taxList__link{font-size:12px}
.c-gnav>.menu-item.mis-nav-cta{display:flex;align-items:center;height:auto;align-self:stretch}
.c-gnav .mis-nav-cta>a{height:44px!important;line-height:1}
.p-pnLinks__title,.c-postThumb__cat,.p-articleHead .c-postTimes__posted,.p-articleHead .__y{font-size:12px}

/* ===== 7. 残りのページの見本の形（企業支援事業・6サービス・会社概要・Web集客サポート・よくある質問） ===== */
.post_content .mis-k-head-cols{display:grid!important;grid-template-columns:1.45fr .55fr;gap:40px!important;align-items:center}
.post_content .mis-k-head-cols .wp-block-column{flex-basis:auto!important}
.post_content .mis-k-pagehead-s{padding:28px 0 36px}
.post_content .mis-k .mis-k-left{text-align:left}
.post_content .mis-k .mis-k-mt-s{margin-top:24px}
.post_content .mis-k .mis-k-sub{font-size:14px;color:var(--mk-sub)}
.post_content .mis-k .mis-k-card-line{border:1px solid var(--mk-line-soft)}
.post_content .mis-k-card-line h3{font-size:18px}
.post_content .mis-k-four{display:grid!important;grid-template-columns:repeat(4,1fr)}
/* できること */
.post_content .mis-k-cans{display:grid!important;grid-template-columns:repeat(3,1fr);gap:20px}
.post_content .mis-k-cans>.wp-block-group__inner-container{display:contents}
.post_content .mis-k-cans-2{grid-template-columns:repeat(2,1fr)}
.post_content .mis-k-can{background:#fff;border-radius:10px;padding:24px;margin:0!important}
.post_content .mis-k-can h3{font-size:18px}
.post_content .mis-k-can p:last-child{margin-bottom:0}
.post_content .mis-k .mis-k-h3-sec{font-size:20px}
.post_content .mis-k-cases-2{grid-template-columns:repeat(2,1fr)!important}
.post_content .mis-k-green .mis-k-case{background:#fff}
.post_content .mis-k .mis-k-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;list-style:none;padding:0;margin:12px 0 0;counter-reset:m}
.post_content .mis-k .mis-k-menu li{list-style:none;background:#fff;border-radius:10px;padding:14px 16px 14px 52px;position:relative;margin:0;line-height:1.5}
.post_content .mis-k .mis-k-menu li:before{counter-increment:m;content:counter(m);position:absolute;left:14px;top:14px;width:26px;height:26px;border-radius:50%;background:var(--mk-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;border:0}
.post_content .mis-k .mis-k-menu li small{display:block;font-size:13px;color:var(--mk-sub);margin-top:4px}
/* 進め方: 段の数で並べ、強める段を選ぶ（6 の「3番目を強める」は消す） */
.post_content .mis-k .mis-k-flow-n4{grid-template-columns:repeat(4,1fr)}
.post_content .mis-k .mis-k-flow-n5{grid-template-columns:repeat(5,1fr)}
.post_content .mis-k .mis-k-flow-n6{grid-template-columns:repeat(6,1fr)}
.post_content .mis-k .mis-k-flow[class*="mis-k-flow-n"] li:nth-child(3){outline:0}
.post_content .mis-k .mis-k-flow.mis-k-flow-hl1 li:nth-child(1),.post_content .mis-k .mis-k-flow.mis-k-flow-hl3 li:nth-child(3){outline:2px solid var(--mk-accent)}
.post_content .mis-k:not(.mis-k-green) .mis-k-flow li{background:var(--mk-main)}
/* 料金の表 */
.post_content .mis-k .mis-k-price tbody th{width:32%}
.post_content .mis-k .mis-k-price td b{font-weight:500;font-size:17px;color:var(--mk-ink)}
.post_content .mis-k .mis-k-plan td{text-align:center}
.post_content .mis-k .mis-k-plan tbody th{width:40%}
.post_content .mis-k .mis-k-plan-price td{font-weight:500;color:var(--mk-ink)}
.post_content .mis-k .mis-k-tbl~.mis-k-note{margin-top:12px}
/* 会社概要 */
.post_content .mis-k .mis-k-info tbody th{width:180px}
.post_content .mis-k-rep-top0{margin-top:0!important}
.post_content .mis-k-access{display:grid!important;grid-template-columns:1fr 1fr;gap:32px!important;align-items:start}
.post_content .mis-k-access .wp-block-column{flex-basis:auto!important}
.post_content .mis-k-access h3{font-size:18px}
/* よくある質問の行き先 */
.post_content .mis-k .mis-k-chips-jump{margin-top:20px}
.post_content .mis-k .mis-k-chips-jump a{text-decoration:none}
.post_content .mis-k-faq-band h2{scroll-margin-top:90px}
.post_content .mis-k-faq-band h2+.mis-k-faq{margin-top:20px!important}

/* ===== 8. お問い合わせ（Contact Form 7） ===== */
.post_content .mis-k-contact-cols{display:grid!important;grid-template-columns:1.6fr 1fr;gap:40px!important;align-items:start}
.post_content .mis-k-contact-cols .wp-block-column{flex-basis:auto!important}
.post_content .mis-k-side-box{background:var(--mk-main);border-radius:12px;padding:24px;margin:0 0 20px!important}
.post_content .mis-k-side-box h3{font-size:18px}
.post_content .mis-k .mis-k-flow-side{grid-template-columns:1fr!important;gap:8px}
.post_content .mis-k .mis-k-flow-side li{display:grid;grid-template-columns:30px 1fr;gap:12px;text-align:left;align-items:center;padding:12px 14px;outline:0!important;background:#fff!important}
.post_content .mis-k .mis-k-flow-side li:before{margin:0}
.post_content .mis-k .mis-k-flow-side li small{grid-column:2;margin-top:-4px}
.post_content .mis-k-form .mis-k-field{margin:0 0 22px}
.post_content .mis-k-form label,.post_content .mis-k-form .mis-k-label{display:block;font-weight:500;color:var(--mk-ink);margin-bottom:8px;font-size:16px}
.post_content .mis-k-form .mis-k-req,.post_content .mis-k-form .mis-k-opt{display:inline-block;font-size:12px;font-weight:400;border-radius:4px;padding:1px 8px;margin-left:10px;vertical-align:2px;line-height:1.6}
.post_content .mis-k-form .mis-k-req{background:var(--mk-accent);color:#fff}
.post_content .mis-k-form .mis-k-opt{background:var(--mk-face);color:var(--mk-sub);border:1px solid var(--mk-line)}
.post_content .mis-k-form input[type=text],.post_content .mis-k-form input[type=email],.post_content .mis-k-form input[type=tel],.post_content .mis-k-form textarea{width:100%;box-sizing:border-box;min-height:50px;border:1px solid #9AA3A8;border-radius:8px;padding:10px 14px;font-size:16px;background:#fff;color:var(--mk-ink)}
.post_content .mis-k-form textarea{min-height:150px;line-height:1.6}
.post_content .mis-k-form input:focus,.post_content .mis-k-form textarea:focus{outline:3px solid #F2B705;outline-offset:1px;border-color:var(--mk-accent)}
.post_content .mis-k-form ::placeholder{color:#7A848A}
.post_content .mis-k-form .wpcf7-radio,.post_content .mis-k-form .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:10px}
.post_content .mis-k-form .wpcf7-list-item{margin:0}
.post_content .mis-k-form .wpcf7-radio label,.post_content .mis-k-form .wpcf7-checkbox label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--mk-line);border-radius:999px;background:#fff;font-weight:400;font-size:15px;margin:0;cursor:pointer}
.post_content .mis-k-form .wpcf7-radio label:has(input:checked),.post_content .mis-k-form .wpcf7-checkbox label:has(input:checked){border-color:var(--mk-accent);background:var(--mk-main);color:var(--mk-accent-dark)}
.post_content .mis-k-form .wpcf7-radio input,.post_content .mis-k-form .wpcf7-checkbox input,.post_content .mis-k-form .mis-k-agree input{width:20px;height:20px;accent-color:var(--mk-accent);margin:0}
.post_content .mis-k-form .mis-k-agree label{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:400;flex-wrap:wrap}
.post_content .mis-k-form .mis-k-agree .wpcf7-list-item-label{display:inline}
.post_content .mis-k-form .mis-k-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.post_content .mis-k-form .wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;min-height:56px;width:100%;max-width:420px;padding:0 28px;border:0;border-radius:8px;background:var(--mk-accent);color:#fff;font-size:18px;font-weight:500;box-shadow:0 3px 8px rgba(15,124,128,.30);cursor:pointer}
.post_content .mis-k-form .wpcf7-submit:hover{background:var(--mk-accent-dark)}
.post_content .mis-k-form .wpcf7-submit:disabled{opacity:.6}
.post_content .mis-k-form .mis-k-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.post_content .mis-k-form .wpcf7-not-valid-tip{color:#B32D2E;font-size:14px;margin-top:6px}
.post_content .mis-k-form .wpcf7-not-valid{border-color:#B32D2E!important}
.post_content .mis-k .wpcf7 form .wpcf7-response-output{margin:16px 0 0;padding:12px 16px;border-radius:8px;font-size:15px}
.post_content .mis-k-thanks{padding:56px 0}

@media (max-width:960px){
  .post_content .mis-k-four{grid-template-columns:repeat(2,1fr)}
  .post_content .mis-k .mis-k-flow-n6{grid-template-columns:repeat(3,1fr)}
  .post_content .mis-k .mis-k-menu{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  .post_content .mis-k-head-cols{grid-template-columns:1fr;gap:24px!important}
  .post_content .mis-k-head-cols .mis-k-head-photo{display:none}
  .post_content .mis-k-four,.post_content .mis-k-cans,.post_content .mis-k-cans-2,.post_content .mis-k-cases-2,.post_content .mis-k-access,.post_content .mis-k-contact-cols{grid-template-columns:1fr!important;gap:16px!important}
  .post_content .mis-k .mis-k-menu{grid-template-columns:1fr}
  .post_content .mis-k-can{padding:20px}
  .post_content .mis-k .mis-k-flow-n4,.post_content .mis-k .mis-k-flow-n5,.post_content .mis-k .mis-k-flow-n6{grid-template-columns:1fr}
  .post_content .mis-k .mis-k-price th,.post_content .mis-k .mis-k-price td{display:block;width:100%!important;box-sizing:border-box}
  .post_content .mis-k .mis-k-price td{border-top:0}
  .post_content .mis-k .mis-k-price,.post_content .mis-k .mis-k-price tbody,.post_content .mis-k .mis-k-price tr{display:block;width:100%}
  .post_content .mis-k .mis-k-info tbody th{width:30%}
  .post_content .mis-k .mis-k-price th,.post_content .mis-k .mis-k-price td,.post_content .mis-k .mis-k-info th,.post_content .mis-k .mis-k-info td{padding:12px}
  .post_content .mis-k .mis-k-stack-inline td{display:flex!important;justify-content:space-between;align-items:center;gap:12px;text-align:right}
  .post_content .mis-k .mis-k-stack-inline td:before{display:inline!important;text-align:left;font-size:14px!important}
  .post_content .mis-k .mis-k-plan tbody th{width:100%}
  .post_content .mis-k-side-box{padding:20px}
  .post_content .mis-k-form .wpcf7-submit{max-width:none}
}

.post_content .mis-k-form .mis-k-subnote{font-size:13px;color:var(--mk-sub)}
.post_content .mis-k-form .wpcf7-submit:not(:disabled)~.mis-k-subnote{display:none}
.post_content .mis-k-form .mis-k-agree label{flex-wrap:nowrap;align-items:flex-start;padding-top:10px}
.post_content .mis-k-form .mis-k-agree input{flex:none;margin-top:3px}
.post_content .mis-k-form .mis-k-agree .wpcf7-list-item-label{flex:1}
.post_content .mis-k-form .mis-k-subnote{display:block;width:100%}
.post_content .mis-k .mis-k-plan td{vertical-align:middle}

/* 9. 写真（灰色の枠を置き換えた画像。縦横比と切り抜きはブロックの設定、ここでは幅と角だけ） */
.post_content .mis-k-img{margin:0!important;border-radius:10px;overflow:hidden;line-height:0}
.post_content .mis-k-img img{display:block;width:100%!important;height:auto;border-radius:10px;object-fit:cover}
.post_content .mis-k-pos-top img{object-position:50% 25%}
.post_content .mis-k-pos-right img{object-position:72% 50%}
.post_content .mis-k-svc-main .mis-k-img,.post_content .mis-k-svc-main .mis-k-img img{border-radius:0;height:100%!important}
.post_content .mis-k-svc-main .mis-k-img img{min-height:260px;aspect-ratio:auto!important}
.post_content .mis-k-rep .mis-k-img img{border-radius:10px}
@media (max-width:768px){
  .post_content .mis-k-mv .mis-k-img-43 img,.post_content .mis-k-feat .mis-k-img-43 img{aspect-ratio:16/9!important}
  .post_content .mis-k-svc-main .mis-k-img img{min-height:0;aspect-ratio:16/9!important;height:auto!important}
  .post_content .mis-k-svc-main .mis-k-img{height:auto!important}
  .post_content .mis-k-rep .mis-k-img{width:160px;margin:0 auto!important}
}
