/*
Theme Name: MIEIRO LAB Ver.3
Theme URI: https://example.com/
Author: MIEIRO LAB
Description: みえいろラボ専用テーマ Ver.3。ホームは探すため、記事は読むための設計。旧HTML記事との互換表示を含む。
Version: 3.0.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mieiro-lab
*/

:root{
  --ml-bg:#f7f7f3;
  --ml-paper:#ffffff;
  --ml-ink:#1f2937;
  --ml-heading:#172033;
  --ml-muted:#667085;
  --ml-line:#d9e0e7;
  --ml-blue:#1e5aa8;
  --ml-blue-dark:#164a8a;
  --ml-blue-soft:#eef5fb;
  --ml-amber:#f4b942;
  --ml-amber-soft:#fff4d8;
  --ml-max:1180px;
  --ml-read:720px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--ml-bg);
  color:var(--ml-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{
  color:var(--ml-blue);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
a:hover{color:var(--ml-blue-dark)}
:focus-visible{outline:3px solid var(--ml-amber);outline-offset:3px}
.ml-skip-link{position:absolute;left:-9999px;top:auto}
.ml-skip-link:focus{left:10px;top:10px;z-index:9999;background:#fff;padding:8px 12px}

/* header */
.ml-site-header{
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--ml-line);
  position:sticky;
  top:0;
  z-index:50;
}
.admin-bar .ml-site-header{top:32px}
.ml-header-inner{
  max-width:var(--ml-max);
  margin:auto;
  min-height:68px;
  padding:10px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.ml-brand{
  color:var(--ml-heading);
  text-decoration:none;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.04em;
  white-space:nowrap;
}
.ml-brand small{
  display:block;
  font-size:10px;
  letter-spacing:.15em;
  color:var(--ml-muted);
  margin-top:3px;
}
.ml-main-nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:20px;
  padding:0;
  margin:0;
}
.ml-main-nav a{
  color:#344054;
  text-decoration:none;
  font-size:13px;
}
.ml-main-nav a:hover{text-decoration:underline}
.ml-search-link{
  border:1px solid var(--ml-line);
  background:#fff;
  padding:7px 10px;
  border-radius:8px;
  color:#475467;
  text-decoration:none;
  font-size:12px;
}

/* shared */
.ml-page-wrap{
  max-width:var(--ml-max);
  margin:auto;
  padding:0 24px;
}
.ml-section{
  padding:38px 0;
  border-bottom:1px solid var(--ml-line);
}
.ml-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.ml-section-head h2{
  margin:0;
  color:var(--ml-heading);
  font-size:26px;
  line-height:1.4;
}
.ml-section-head p{
  margin:0;
  font-size:13px;
  color:var(--ml-muted);
}

/* home */
.ml-hero{
  padding:56px 0 38px;
  border-bottom:1px solid var(--ml-line);
}
.ml-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:52px;
  align-items:center;
}
.ml-eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  color:var(--ml-blue-dark);
  margin-bottom:10px;
}
.ml-hero h1{
  margin:0;
  color:var(--ml-heading);
  font-size:clamp(34px,4vw,52px);
  line-height:1.28;
  letter-spacing:-.02em;
}
.ml-hero p{
  max-width:650px;
  margin:18px 0 0;
  color:#475467;
  font-size:16px;
}
.ml-hero-note{
  border-left:4px solid var(--ml-blue);
  background:#fff;
  padding:20px 22px;
}
.ml-hero-note strong{display:block;color:var(--ml-heading);font-size:16px;margin-bottom:7px}
.ml-hero-note p{font-size:14px;margin:0}
.ml-start-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  gap:14px;
}
.ml-start-item{
  background:var(--ml-paper);
  border:1px solid var(--ml-line);
  padding:20px;
  min-height:144px;
}
.ml-start-item.ml-primary{border-top:3px solid var(--ml-blue)}
.ml-start-label{font-size:11px;color:var(--ml-muted);margin-bottom:7px}
.ml-start-item h3{font-size:18px;line-height:1.5;margin:0 0 8px}
.ml-start-item h3 a{color:var(--ml-heading);text-decoration:none}
.ml-start-item h3 a:hover{text-decoration:underline}
.ml-start-item p{font-size:13px;color:#475467;margin:0}
.ml-upcoming{color:var(--ml-heading);font-weight:700}
.ml-trouble-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--ml-line);
  background:#fff;
}
.ml-trouble-item{
  display:block;
  padding:18px;
  border-right:1px solid var(--ml-line);
  color:var(--ml-heading);
  text-decoration:none;
}
.ml-trouble-item:last-child{border-right:0}
.ml-trouble-item:hover{text-decoration:underline}
.ml-trouble-item strong{display:block;font-size:15px;margin-bottom:6px}
.ml-trouble-item span{display:block;font-size:12px;color:var(--ml-muted)}
.ml-review-list{
  display:grid;
  gap:12px;
}
.ml-review-row{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:12px;
  border:1px solid var(--ml-line);
  background:#fff;
}
.ml-review-thumb{
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#f4f6f8;
  text-decoration:none;
}
.ml-review-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  margin:0;
}
.ml-review-thumb__empty{
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  color:#98a2b3;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}
.ml-review-copy{min-width:0}
.ml-review-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px 12px;
  align-items:center;
  margin-bottom:7px;
}
.ml-review-tag,.ml-review-state{
  font-size:11px;
  color:var(--ml-muted);
}
.ml-review-tag{
  padding:2px 7px;
  border:1px solid var(--ml-line);
  border-radius:999px;
}
.ml-review-row h3{
  margin:0;
  font-size:17px;
  line-height:1.55;
}
.ml-review-row h3 a{
  color:var(--ml-heading);
  text-decoration:none;
}
.ml-review-row h3 a:hover{text-decoration:underline}
.ml-category-links{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px 22px;
}
.ml-category-links a{
  display:block;
  padding:12px 0;
  border-bottom:1px solid var(--ml-line);
  color:var(--ml-heading);
  text-decoration:none;
  font-weight:700;
}
.ml-category-links a:hover{text-decoration:underline}
.ml-utility-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.ml-utility{background:#fff;border:1px solid var(--ml-line);padding:22px}
.ml-utility h3{margin:0 0 8px;color:var(--ml-heading);font-size:18px}
.ml-utility p{margin:0 0 8px;color:#475467;font-size:13px}

/* listing */
.ml-listing{max-width:920px;margin:0 auto;padding:34px 24px 70px}
.ml-listing-title{font-size:34px;color:var(--ml-heading);margin:0 0 24px}
.ml-post-list{background:#fff;border-top:1px solid var(--ml-line)}
.ml-post-card{padding:20px 0;border-bottom:1px solid var(--ml-line)}
.ml-post-card h2{font-size:20px;margin:4px 0 6px}
.ml-post-card h2 a{color:var(--ml-heading);text-decoration:none}
.ml-post-card h2 a:hover{text-decoration:underline}
.ml-post-card p{margin:0;color:#475467;font-size:14px}
.ml-post-meta{font-size:11px;color:var(--ml-muted)}

/* single article */
.ml-article-shell{
  max-width:1080px;
  margin:0 auto;
  padding:28px 24px 72px;
}
.ml-breadcrumb{font-size:12px;color:var(--ml-muted);margin-bottom:20px}
.ml-article-layout{
  display:grid;
  grid-template-columns:minmax(0,var(--ml-read)) 230px;
  gap:58px;
  align-items:start;
}
.ml-article-main{min-width:0}
.ml-article-header{
  padding-bottom:22px;
  border-bottom:1px solid var(--ml-line);
}
.ml-article-category{
  font-size:12px;
  color:var(--ml-blue-dark);
  font-weight:700;
  margin-bottom:8px;
}
.ml-article-header h1{
  color:var(--ml-heading);
  font-size:clamp(30px,4vw,44px);
  line-height:1.35;
  margin:0 0 14px;
  letter-spacing:-.015em;
}
.ml-article-lead{
  font-size:17px;
  color:#344054;
  margin:0 0 16px;
}
.ml-article-meta{font-size:12px;color:var(--ml-muted)}
.ml-entry-content section{padding:12px 0 4px}
.ml-entry-content h2{
  position:relative;
  color:var(--ml-heading);
  font-size:27px;
  line-height:1.45;
  margin:42px 0 16px;
  padding:0 0 10px 17px;
  border-bottom:1px solid var(--ml-line);
}
.ml-entry-content h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.17em;
  width:5px;
  height:1.18em;
  border-radius:999px;
  background:var(--ml-blue);
}
.ml-entry-content h3{
  color:var(--ml-heading);
  font-size:19px;
  line-height:1.55;
  margin:28px 0 10px;
  padding:0 0 7px;
  border-bottom:1px solid #e7ebf0;
}
.ml-entry-content p{margin:0 0 15px}
.ml-entry-content ul,.ml-entry-content ol{margin:0 0 18px;padding-left:1.45em}
.ml-entry-content li{margin:4px 0}
.ml-entry-content mark{
  background:linear-gradient(transparent 55%,var(--ml-amber-soft) 55%);
  color:inherit;
  padding:0 .05em;
}
.ml-entry-content .ml-keypoints{
  background:#fff;
  border:1px solid var(--ml-line);
  border-left:4px solid var(--ml-blue);
  padding:16px 20px;
  margin:24px 0;
}
.ml-entry-content .ml-keypoints strong{display:block;color:var(--ml-heading);margin-bottom:4px}
.ml-entry-content .ml-keypoints ul{margin:6px 0 0;padding-left:1.25em}
.ml-inline-note{
  border-left:3px solid #98a2b3;
  padding:7px 0 7px 15px;
  margin:18px 0;
  color:#475467;
  font-size:14px;
}
.ml-figure{
  margin:22px 0 26px;
  border:1px solid var(--ml-line);
  background:#fff;
}
.ml-figure-title{padding:12px 16px;font-size:13px;font-weight:700;border-bottom:1px solid var(--ml-line)}
.ml-figure-body{padding:22px 20px}
.ml-eye-diagram{
  display:grid;
  grid-template-columns:1fr 40px 1fr 40px 1.2fr;
  align-items:center;
  gap:8px;
}
.ml-diagram-node{
  min-height:110px;
  border:1px solid var(--ml-line);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:12px;
  background:#fbfcfd;
}
.ml-diagram-node b{color:var(--ml-heading)}
.ml-diagram-node small{color:var(--ml-muted);margin-top:5px;line-height:1.5}
.ml-arrow{text-align:center;color:#667085;font-size:22px}
.ml-cone-row{display:flex;gap:6px;margin-top:7px}
.ml-cone{border:1px solid #98a2b3;padding:2px 7px;font-size:11px;background:#fff;color:#344054}
.ml-figcaption{border-top:1px solid var(--ml-line);color:var(--ml-muted);font-size:12px;padding:10px 16px}
.ml-experience-list{border-top:1px solid var(--ml-line);margin:18px 0 22px}
.ml-experience-item{padding:16px 0;border-bottom:1px solid var(--ml-line)}
.ml-experience-item h3{margin:0 0 6px}
.ml-experience-item p{margin-bottom:7px}
.ml-source-note{font-size:12px;color:var(--ml-muted);vertical-align:super}
.ml-online-tests{margin:20px 0 24px;padding:18px 20px;border:1px solid var(--ml-line);background:#fff}
.ml-online-tests>strong{display:block;color:var(--ml-heading);margin-bottom:7px}
.ml-online-tests p{font-size:14px;margin-bottom:10px}
.ml-online-tests small{display:block;color:var(--ml-muted);margin-top:2px;font-size:11px}
.ml-test-caution,.ml-future-note{color:#475467;font-size:12px!important}
.ml-future-note{padding-top:9px;border-top:1px solid var(--ml-line);margin-bottom:0!important}
.ml-related-list{border-top:1px solid var(--ml-line)}
.ml-related-item{padding:12px 0;border-bottom:1px solid var(--ml-line)}
.ml-related-item a{font-weight:700}
.ml-reference-list{font-size:13px}
.ml-reference-list li{margin-bottom:10px}

/* article data tables */
.ml-table-wrap{
  width:100%;
  margin:20px 0 24px;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.ml-data-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  background:#fff;
  font-size:14px;
  line-height:1.65;
}
.ml-data-table th,
.ml-data-table td{
  border:1px solid var(--ml-line);
  padding:12px 14px;
  text-align:left;
  vertical-align:top;
  word-break:normal;
  overflow-wrap:break-word;
}
.ml-data-table th{
  background:var(--ml-blue-soft);
  color:var(--ml-heading);
  font-weight:800;
}
.ml-data-table th:first-child,
.ml-data-table td:first-child{
  width:31%;
  min-width:112px;
  color:var(--ml-heading);
  font-weight:700;
}
.ml-data-table tbody tr:nth-child(even){
  background:#fbfcfd;
}
.ml-article-disclaimer{
  font-size:13px;
  color:#475467;
  background:#f0f2f4;
  padding:16px 18px;
  margin-top:28px;
}
.ml-side-toc{
  position:sticky;
  top:96px;
  font-size:12px;
}
.admin-bar .ml-side-toc{top:128px}
.ml-side-toc strong{display:block;color:var(--ml-heading);margin-bottom:9px}
.ml-side-toc ol{margin:0;padding-left:1.25em}
.ml-side-toc li{margin:7px 0;color:#667085}
.ml-side-toc a{color:#475467;text-decoration:none}
.ml-side-toc a:hover{text-decoration:underline}
.ml-side-rule{border-top:1px solid var(--ml-line);margin:18px 0}
.ml-mobile-toc{
  display:none;
  background:#fff;
  border:1px solid var(--ml-line);
  padding:16px 18px;
  margin:20px 0;
  font-size:14px;
}
.ml-mobile-toc strong{display:block;margin-bottom:6px}
.ml-mobile-toc ol{margin:0;padding-left:1.4em}
.ml-mobile-toc a{color:#344054}

/* legacy standalone HTML compatibility:
   old article HTML can stay in DB while theme is switched. */
body.single .ml-legacy-content > .site-header,
body.single .ml-legacy-content .site-header,
body.single .ml-legacy-content > .site-footer,
body.single .ml-legacy-content .site-footer,
body.single .ml-legacy-content > .skip-link{
  display:none!important;
}
body.single .ml-legacy-content .article{
  padding:0!important;
}
body.single .ml-legacy-content .container{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.single .ml-legacy-content .breadcrumb{
  margin-top:0!important;
}
body.single .ml-legacy-content .article-section,
body.single .ml-legacy-content .intro-card,
body.single .ml-legacy-content .purpose-card{
  margin:18px 0!important;
}
body.single .ml-legacy-content .bridge{
  margin:26px auto!important;
  padding:24px 12px!important;
}

/* footer */
.ml-site-footer{background:#172033;color:#d5dbea}
.ml-footer-inner{
  max-width:var(--ml-max);
  margin:auto;
  padding:34px 24px 46px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
}
.ml-site-footer strong{color:#fff}
.ml-site-footer a{color:#e8edf8}
.ml-site-footer small{color:#aab4c6}
.ml-footer-menu ul{list-style:none;margin:0;padding:0;display:flex;gap:14px;flex-wrap:wrap}

/* pagination/search/404 */
.ml-pagination{margin-top:26px}
.ml-pagination .page-numbers{display:inline-block;margin-right:5px}
.ml-search-form{display:flex;gap:8px;max-width:520px}
.ml-search-form input[type="search"]{flex:1;min-width:0;padding:10px;border:1px solid var(--ml-line);border-radius:6px}
.ml-search-form button{padding:10px 15px;border:0;border-radius:6px;background:var(--ml-blue);color:#fff}

@media(max-width:900px){
  .ml-main-nav{display:none}
  .ml-hero-grid{grid-template-columns:1fr;gap:24px}
  .ml-start-grid{grid-template-columns:1fr 1fr}
  .ml-start-item.ml-primary{grid-column:1/-1}
  .ml-trouble-grid{grid-template-columns:1fr 1fr}
  .ml-trouble-item:nth-child(2){border-right:0}
  .ml-trouble-item:nth-child(-n+2){border-bottom:1px solid var(--ml-line)}
  .ml-article-layout{grid-template-columns:1fr;gap:0}
  .ml-side-toc{display:none}
  .ml-mobile-toc{display:block}
}
@media(max-width:782px){
  .admin-bar .ml-site-header{top:46px}
}
@media(max-width:620px){
  .ml-header-inner{padding:9px 16px;min-height:62px}
  .ml-search-link{display:none}
  .ml-page-wrap{padding:0 16px}
  .ml-hero{padding:34px 0 28px}
  .ml-hero h1{font-size:34px}
  .ml-section{padding:28px 0}
  .ml-section-head{align-items:start;flex-direction:column;gap:4px}
  .ml-section-head h2{font-size:23px}
  .ml-start-grid{grid-template-columns:1fr}
  .ml-start-item.ml-primary{grid-column:auto}
  .ml-trouble-grid{grid-template-columns:1fr}
  .ml-trouble-item{border-right:0;border-bottom:1px solid var(--ml-line)}
  .ml-trouble-item:last-child{border-bottom:0}
  .ml-review-list{gap:10px}
  .ml-review-row{
    grid-template-columns:40% minmax(0,1fr);
    gap:11px;
    padding:9px;
    align-items:start;
  }
  .ml-review-meta{
    gap:5px 8px;
    margin-bottom:5px;
  }
  .ml-review-tag,.ml-review-state{font-size:10px}
  .ml-review-tag{padding:1px 6px}
  .ml-review-row h3{
    font-size:14px;
    line-height:1.5;
  }
  .ml-category-links{grid-template-columns:1fr 1fr}
  .ml-utility-grid{grid-template-columns:1fr}
  .ml-footer-inner{grid-template-columns:1fr}
  .ml-article-shell{padding:20px 16px 56px}
  .ml-article-header h1{font-size:30px}
  .ml-article-lead{font-size:16px}
  .ml-entry-content h2{font-size:23px;margin-top:30px}
  .ml-eye-diagram{grid-template-columns:1fr}
  .ml-arrow{transform:rotate(90deg)}
  .ml-data-table{font-size:13px;line-height:1.6}
  .ml-data-table th,.ml-data-table td{padding:10px 9px}
  .ml-data-table th:first-child,.ml-data-table td:first-child{width:34%;min-width:108px}
}



/* Tanaka speech balloon
   Reusable article component: official Tanaka icon + editable HTML text. */
.ml-tanaka-balloon{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:24px 0;
}
.ml-tanaka-balloon__avatar{
  flex:0 0 78px;
  width:78px;
}
.ml-tanaka-balloon__avatar img{
  display:block;
  width:78px;
  height:78px;
  object-fit:contain;
}
.ml-tanaka-balloon__body{
  position:relative;
  flex:1;
  min-width:0;
  background:#fff;
  border:1.5px solid #b8cbe1;
  border-radius:14px;
  padding:14px 16px 15px;
  color:var(--ml-ink);
  box-shadow:0 2px 8px rgba(23,32,51,.04);
}
.ml-tanaka-balloon__body::before,
.ml-tanaka-balloon__body::after{
  content:"";
  position:absolute;
  top:25px;
  width:0;
  height:0;
  border-style:solid;
}
.ml-tanaka-balloon__body::before{
  left:-12px;
  border-width:9px 12px 9px 0;
  border-color:transparent #b8cbe1 transparent transparent;
}
.ml-tanaka-balloon__body::after{
  left:-10px;
  border-width:8px 11px 8px 0;
  border-color:transparent #fff transparent transparent;
  top:26px;
}

.ml-tanaka-balloon__label{
  display:block;
  margin-top:5px;
  text-align:center;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
  color:#475467;
  letter-spacing:.03em;
}

.ml-tanaka-balloon__body p{
  margin:0;
  font-size:15.5px;
  line-height:1.75;
  font-weight:600;
}
@media(max-width:620px){
  .ml-tanaka-balloon{
    gap:10px;
    margin:20px 0;
  }
  .ml-tanaka-balloon__avatar{
    flex-basis:58px;
    width:58px;
  }
  .ml-tanaka-balloon__avatar img{
    width:58px;
    height:58px;
  }
  .ml-tanaka-balloon__body{
    padding:12px 13px 13px;
    border-radius:12px;
  }
  .ml-tanaka-balloon__body::before{top:18px}
  .ml-tanaka-balloon__body::after{top:19px}
  .ml-tanaka-balloon__body p{
    font-size:14.5px;
    line-height:1.7;
  }
}


/* Ver.3.0.3: article heading hierarchy + robust author balloon */
.ml-entry-content .ml-tanaka-balloon{
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  align-items:start !important;
  column-gap:14px !important;
  margin:26px 0 !important;
}
.ml-entry-content .ml-tanaka-balloon__avatar{
  width:72px !important;
  max-width:72px !important;
  min-width:72px !important;
  flex:none !important;
}
.ml-entry-content .ml-tanaka-balloon__avatar img{
  display:block !important;
  width:72px !important;
  height:72px !important;
  max-width:72px !important;
  max-height:72px !important;
  min-width:72px !important;
  object-fit:contain !important;
  margin:0 !important;
}
.ml-entry-content .ml-tanaka-balloon__label{
  display:block !important;
  width:72px !important;
  margin:5px 0 0 !important;
  text-align:center !important;
  font-size:12px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
  color:#475467 !important;
}
.ml-entry-content .ml-tanaka-balloon__body{
  position:relative !important;
  display:block !important;
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  background:#fff !important;
  border:1.5px solid #b8cbe1 !important;
  border-radius:14px !important;
  padding:13px 15px 14px !important;
  box-shadow:0 2px 8px rgba(23,32,51,.04) !important;
}
.ml-entry-content .ml-tanaka-balloon__body p{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.75 !important;
  font-weight:600 !important;
}
@media(max-width:620px){
  .ml-entry-content h2{
    font-size:24px;
    margin-top:38px;
    padding-left:15px;
    padding-bottom:9px;
  }
  .ml-entry-content h2::before{
    width:4px;
    height:1.15em;
  }
  .ml-entry-content h3{
    font-size:18px;
    margin-top:25px;
  }
  .ml-entry-content .ml-tanaka-balloon{
    grid-template-columns:64px minmax(0,1fr) !important;
    column-gap:10px !important;
    margin:22px 0 !important;
  }
  .ml-entry-content .ml-tanaka-balloon__avatar,
  .ml-entry-content .ml-tanaka-balloon__avatar img{
    width:64px !important;
    height:64px !important;
    max-width:64px !important;
    max-height:64px !important;
    min-width:64px !important;
  }
  .ml-entry-content .ml-tanaka-balloon__label{
    width:64px !important;
    font-size:11px !important;
  }
  .ml-entry-content .ml-tanaka-balloon__body{
    border-radius:12px !important;
    padding:11px 12px 12px !important;
  }
  .ml-entry-content .ml-tanaka-balloon__body p{
    font-size:14px !important;
    line-height:1.7 !important;
  }
}


/* Ver.3.0.4: compact author introduction on HOME */
.ml-author-intro{
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  gap:20px;
  align-items:center;
  padding:22px 24px;
  background:#fff;
  border:1px solid var(--ml-line);
  border-radius:12px;
}
.ml-author-intro__figure{
  margin:0;
  text-align:center;
}
.ml-author-intro__figure img{
  display:block;
  width:82px;
  height:82px;
  max-width:82px;
  margin:0 auto;
  object-fit:contain;
}
.ml-author-intro__figure figcaption{
  margin-top:5px;
  color:var(--ml-muted);
  font-size:11px;
  line-height:1.3;
  font-weight:700;
}
.ml-author-intro__body h2{
  margin:0 0 8px;
  color:var(--ml-heading);
  font-size:20px;
  line-height:1.45;
}
.ml-author-intro__body p{
  max-width:760px;
  margin:0;
  color:#475467;
  font-size:14px;
  line-height:1.85;
}
.ml-author-intro__link{
  display:inline-block;
  margin-top:10px;
  color:var(--ml-blue-dark);
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.ml-author-intro__link:hover{text-decoration:underline}
@media(max-width:620px){
  .ml-author-intro{
    grid-template-columns:70px minmax(0,1fr);
    gap:13px;
    padding:17px 16px;
    border-radius:10px;
  }
  .ml-author-intro__figure img{
    width:64px;
    height:64px;
    max-width:64px;
  }
  .ml-author-intro__figure figcaption{font-size:10px}
  .ml-author-intro__body h2{font-size:18px;margin-bottom:6px}
  .ml-author-intro__body p{font-size:13px;line-height:1.75}
  .ml-author-intro__link{font-size:12px;margin-top:8px}
}
