/* hotto-carlife.com リデザイン モック（UI検討Bot・2026-11-28）
   方針: Web フォント・外部 CDN・JS なし。system-ui。Genesis の構造（site-header / nav-primary / site-inner / content / sidebar / site-footer）に寄せたクラス名。 */

:root{
  --green:#3a6b1c;      /* 現サイトのロゴの緑を濃くした色（白地 6.6:1） */
  --lime:#c3d825;       /* 現サイトのアクセント（線・帯だけに使い、文字色には使わない） */
  --yellow:#fdd000;     /* 現サイトの h3 の左線 */
  --ink:#333;
  --muted:#5c5c5c;
  --line:#dddddd;
  --bg:#f7f7f7;
  --nav:#555555;        /* 白字で 7.5:1 */
  --link:#1d5ca8;
  --em:#c00000;         /* リデザイン案 5-2: #ff0000 → #c00000 */
  --soft:#f4f8e6;       /* 結論ボックス */
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.hotto-redesign{margin:0;background:var(--bg) !important;color:var(--ink);
  font-family:system-ui,-apple-system,"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Meiryo","Noto Sans CJK JP",sans-serif;
  font-size:17px !important;line-height:1.8;}
a{color:var(--link)}
a:hover{text-decoration:none}
img{max-width:100%;height:auto}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}

/* ヘッダー（ロゴは文字。画像を使わない＝LCP 対策） */
.site-header{background:#fff;border-top:5px solid var(--green);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.site-title{margin:0;font-size:21.6px;font-weight:800;line-height:1.3;letter-spacing:.02em}
.site-title a{color:var(--green);text-decoration:none}

/* PC のメニュー */
.nav-primary{background:var(--nav)}
.nav-primary ul{list-style:none;margin:0 auto;padding:0 20px;max-width:1160px;display:flex;flex-wrap:wrap}
.nav-primary a{display:block;color:#fff;text-decoration:none;padding:12px 18px;font-size:14.72px;border-right:1px solid #6a6a6a}
.nav-primary li:first-child a{border-left:1px solid #6a6a6a}
.nav-primary a:hover,.nav-primary a[aria-current]{background:#444}

/* スマホのメニュー（details 要素。JS なし） */
.sp-menu{display:none;flex-shrink:0}
.sp-menu summary{white-space:nowrap;flex-shrink:0;list-style:none;cursor:pointer;background:var(--green);color:#fff;font-weight:700;font-size:14.4px;padding:8px 14px;border-radius:4px;min-height:40px;display:flex;align-items:center}
.sp-menu summary::-webkit-details-marker{display:none}
.sp-menu summary::after{content:"＋";margin-left:.4em}
.sp-menu[open] summary::after{content:"－"}
.sp-menu .sp-panel{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:3px solid var(--green);box-shadow:0 6px 12px rgba(0,0,0,.12);padding:8px 20px 16px;z-index:10}
.sp-menu .sp-panel ul{list-style:none;margin:0;padding:0}
.sp-menu .sp-panel li a{display:block;padding:12px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.sp-menu .sp-about{font-size:14.4px;margin-top:12px}

/* 本体 */
.site-inner{padding:28px 0 40px}
.content{background:#fff;border:1px solid var(--line);border-radius:4px;padding:32px 40px}

.breadcrumb{font-size:13.12px;color:var(--muted);margin:0 0 12px}
.breadcrumb a{color:var(--muted)}
.entry-title{font-size:26.4px;line-height:1.45;margin:0 0 14px;padding-bottom:12px;border-bottom:4px solid var(--lime)}
.pr-notice{font-size:16px;margin:0 0 10px;padding:6px 12px;background:#fff7d6;border-left:4px solid #b58900;color:#3d3200}
.entry-meta{font-size:13.6px;color:var(--muted);margin:0 0 24px;display:flex;flex-wrap:wrap;gap:4px 16px}
.entry-content p{margin:0 0 1.2em}
.entry-content h2{font-size:21.6px;line-height:1.5;margin:2.2em 0 .9em;padding:10px 14px;background:#f2f5ea;border-left:6px solid var(--green)}
.entry-content h3{font-size:18.4px;line-height:1.5;margin:1.8em 0 .7em;padding:2px 0 2px 12px;border-left:5px solid var(--yellow)}
.entry-content ul{padding-left:1.4em;margin:0 0 1.2em}
.entry-content li{margin-bottom:.4em}
.entry-content strong.em,.em{color:var(--em)}
.marker{background:linear-gradient(transparent 60%,#fff2a8 60%);font-weight:700}

/* 結論ボックス（リデザイン案 5-2） */
.conclusion{background:var(--soft);border:1px solid #cfdc9a;border-radius:6px;padding:16px 18px 4px;margin:0 0 1.4em}
.conclusion .label{display:inline-block;font-size:13.12px;font-weight:700;color:#fff;background:var(--green);padding:1px 10px;border-radius:3px;margin-bottom:6px}

/* 図 */
figure.zu{margin:1.8em 0}
figure.zu img{display:block;margin:0 auto;border:1px solid #e6e6e6;border-radius:4px;background:#fff}
figure.zu figcaption{font-size:13.12px;color:var(--muted);line-height:1.6;margin-top:.6em;overflow-wrap:anywhere}

figure.zu a.zu-link{display:block}
.zu-hint{display:none;font-size:12.8px;color:var(--muted);text-align:right;margin:.3em 0 0}
/* プロフィールの見出し（■ は原文のまま。色だけ付ける） */
.profile-text h2{background:none;border-left:0;border-bottom:2px solid #e3e9d2;padding:0 0 6px}
.profile-text h2 .sq{color:var(--green)}

/* 表（スマホで横スクロール・1列目固定） */
.table-wrap{overflow-x:auto;margin:0 0 1.4em;-webkit-overflow-scrolling:touch}
.table-wrap table{border-collapse:collapse;min-width:560px;width:100%;font-size:14.72px;line-height:1.6}
.table-wrap th,.table-wrap td{border:1px solid #cfcfcf;padding:8px 10px;vertical-align:top;text-align:left;background:#fff}
.table-wrap thead th{background:#eef3e2}
.table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;background:#f8faf3;min-width:7.5em;font-weight:700}
.table-wrap thead th:first-child{background:#e4ecd0}

/* 記事末の広告案内（D案） */
body.hotto-redesign .content .ad-guide{
  margin: 2.2em 0 0;
  padding: 20px 22px 18px;
  border: 1px solid #c5d0a8;
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: #f4f8e6;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-label{
  margin: 0 0 .35em;
  padding: 0;
  border: 0;
  background: none;
  font-size: 16.8px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--green);
  letter-spacing: .04em;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-note{
  margin: 0 0 .7em;
  color: var(--muted);
  font-size: 16px;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-advertiser{
  margin: 0 0 1em;
  font-size: 14.72px;
  color: var(--ink);
  word-break: keep-all;
  line-break: strict;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-nowrap{white-space: nowrap;}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-ask{
  margin: 0 0 1em;
  padding: 0;
  border: 0;
  background: none;
  font-size: 19.2px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-facts{
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-facts li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 .7em;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-icon{
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: .15em;
  color: var(--green);
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-icon svg{
  display: block;
  width: 28px;
  height: 28px;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-fact{
  flex: 1;
  min-width: 0;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-fact-src{
  display: block;
  font-size: 13.6px;
  color: var(--muted);
  font-weight: 400;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-actions{
  margin: 1.1em 0 .7em;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 17.92px;
  line-height: 1.4;
  box-sizing: border-box;
  max-width: 100%;
  color: #fff;
  background: var(--green);
  border: 2px solid var(--green);
  line-break: strict;
  word-break: keep-all;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-btn[href]:hover{background: #2f5816; border-color: #2f5816;}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-btn .ad-mark{white-space: nowrap;}
@media (max-width: 640px){
  body.hotto-redesign .content .ad-guide{padding: 16px 14px 14px;}
  body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-btn{
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 16.8px;
    padding: 12px 16px;
  }
  body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-btn .ad-mark{
    font-size: .85em;
  }
  body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-ask{font-size: 17.92px;}
}

body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-lead{
  margin: 0 0 .7em;
  font-size: 16px;
  color: var(--ink);
}
body.hotto-redesign :is(#wrapper,.site-container) .content .ad-guide .ad-guide-cite-note{
  display: block;
  margin-top: .3em;
  font-size: 13.6px;
  font-weight: 400;
  color: var(--muted);
}

/* 関連記事・書いた人 */
.related{margin-top:2.4em}
body.hotto-redesign :is(#wrapper,.site-container) .content .related > h2,
.author-box h2{
  color:var(--ink);font-size:17.6px;font-weight:700;line-height:1.8;
  margin:0 0 .8em;padding:0 0 6px;background:transparent;
  border:0;border-bottom:3px solid var(--lime);
}
.post-list{list-style:none;margin:0;padding:0}
.post-list li{border-bottom:1px solid var(--line)}
.post-list a{display:block;padding:12px 2px;text-decoration:none;color:var(--ink);line-height:1.6}
.post-list a:hover .t{text-decoration:underline}
.post-list .d{display:block;font-size:12.8px;color:var(--muted)}
.author-box{margin-top:2.4em;border:1px solid var(--line);border-radius:6px;padding:18px 20px;background:#fafafa}
.author-box p{margin:0 0 .4em;font-size:15.2px}

/* サイドバー */
.sidebar{position:sticky;top:16px}
.sidebar .widget{background:#fff;border:1px solid var(--line);border-radius:4px;margin-bottom:24px}
.widget-title{margin:0;font-size:15.2px;padding:9px 14px;background:var(--green);color:#fff;border-bottom:3px solid var(--lime);border-radius:4px 4px 0 0}
.widget .body{padding:12px 14px;font-size:14.4px;line-height:1.75}
.widget ul{list-style:none;margin:0;padding:0}
.widget li a{display:block;padding:8px 0;border-bottom:1px dotted var(--line);text-decoration:none;color:var(--ink)}
.widget li a::before{content:"›";color:var(--green);font-weight:700;margin-right:.5em}

/* プロフィール */
.profile-text p{margin:0 0 1.1em}
.profile-text h2{font-size:19.2px}

/* フッター */
.site-footer{background:#3b3b3b;color:#eee;font-size:13.6px;padding:24px 0 30px}
.site-footer small{color:#ccc}

/* ===== スマホ（〜767px） ===== */
@media (max-width:767px){
  body.hotto-redesign{font-size:16px !important}
  .wrap{padding:0 14px}
  .site-header{position:relative}
  .site-header .wrap{min-height:58px}
  .site-title{font-size:16.32px}
  .nav-primary{display:none}
  .sp-menu{display:block}
  .site-inner{padding:14px 0 28px}
  .content{padding:18px 16px;border-left:0;border-right:0;border-radius:0;margin:0 -14px}
  .entry-title{font-size:20.8px}
  .entry-content h2{font-size:18.4px;padding:8px 10px}
  .entry-content h3{font-size:16.8px}
  .sidebar{margin-top:24px}
  .author-box{padding:14px 14px}
  .zu-hint{display:block}
  .sidebar{position:static}
}


/* トップ v4 の共通規則とレスポンシブ調整 */
body.hotto-redesign.hotto-redesign-v4{background:#eef2e8 !important}
body.hotto-redesign-v4 .site-header{border-top-width:6px}
body.hotto-redesign-v4 .home-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(160deg,#244816 0%,#3a6b1c 55%,#2f5a18 100%);
  color:#fff;border:0;border-radius:0;margin:0 0 36px;padding:0;
}
body.hotto-redesign-v4 .home-hero .hero-inner{
  max-width:1160px;margin:0 auto;padding:40px 20px 44px;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);
  gap:28px;align-items:center;position:relative;z-index:1;
}
body.hotto-redesign-v4 .home-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(30deg,rgba(255,255,255,.05) 12%,transparent 12.5%,transparent 50%,rgba(255,255,255,.05) 50.5%,rgba(255,255,255,.05) 62%,transparent 62.5%),
    linear-gradient(150deg,rgba(195,216,37,.12) 10%,transparent 10.5%);
  background-size:48px 48px, 80px 80px;
}
body.hotto-redesign-v4 .home-hero h1{color:#fff;font-size:32px;line-height:1.35;margin:0 0 16px;letter-spacing:.04em}
body.hotto-redesign-v4 .home-hero p{margin:0 0 1em;color:#f3f6ea;font-size:16.32px}
body.hotto-redesign-v4 .home-hero p:last-child{margin-bottom:0}
body.hotto-redesign-v4 .home-hero a{color:#e7f08a;text-decoration:underline;text-underline-offset:3px}
body.hotto-redesign-v4 .home-hero a:hover{color:#fff}
body.hotto-redesign-v4 .hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}

body.hotto-redesign-v4 .site-inner{padding-top:0}
body.hotto-redesign-v4 .home-section{margin:0 0 40px}
body.hotto-redesign-v4 .home-section-title{
  font-size:21.6px;margin:0 0 18px;padding:0 0 10px;
  border-bottom:none;position:relative;display:flex;align-items:baseline;gap:12px;
}
body.hotto-redesign-v4 .home-section-title::after{
  content:"";flex:1;height:3px;background:linear-gradient(90deg,var(--lime),transparent);border-radius:2px;
}

body.hotto-redesign-v4 .cat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
body.hotto-redesign-v4 .cat-card{grid-column:span 2;background:#fff;border:1px solid #d5ddc6;border-radius:10px;padding:0;overflow:hidden;box-shadow:0 2px 8px rgba(36,72,22,.06);display:flex;flex-direction:column;height:100%}
body.hotto-redesign-v4 .cat-card:nth-child(4),body.hotto-redesign-v4 .cat-card:nth-child(5){grid-column:span 3}
body.hotto-redesign-v4 .cat-head{display:flex;align-items:center;gap:10px;padding:12px 16px 10px;color:#fff}
body.hotto-redesign-v4 .cat-card.c1 .cat-head{background:#3a6b1c}
body.hotto-redesign-v4 .cat-card.c2 .cat-head{background:#8a4b1f}
body.hotto-redesign-v4 .cat-card.c3 .cat-head{background:#1f6a6a}
body.hotto-redesign-v4 .cat-card.c4 .cat-head{background:#4a5c16}
body.hotto-redesign-v4 .cat-card.c5 .cat-head{background:#2b4c73}
body.hotto-redesign-v4 .cat-head svg{flex:0 0 28px;width:28px;height:28px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.hotto-redesign-v4 .cat-head h3{margin:0;font-size:16.8px;line-height:1.35;color:#fff;padding:0;border:0;font-weight:700}
body.hotto-redesign-v4 .cat-card ul{list-style:none;margin:0;padding:6px 8px 10px;flex:1}
body.hotto-redesign-v4 .cat-card li :is(a, span){
  display:block;padding:10px 10px;border-top:1px solid #e6ebd9;text-decoration:none;color:var(--ink);
  font-size:14.72px;line-height:1.55;border-radius:6px;
}
body.hotto-redesign-v4 .cat-card li:first-child :is(a, span){border-top:0}
body.hotto-redesign-v4 .cat-card li a:hover{background:#f4f8e6;color:var(--green)}

body.hotto-redesign-v4 .post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.hotto-redesign-v4 .post-card{background:#fff;border:1px solid #d5ddc6;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 8px rgba(36,72,22,.06);transition:transform .15s ease,box-shadow .15s ease}
body.hotto-redesign-v4 .post-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(36,72,22,.12)}
body.hotto-redesign-v4 .post-card .card-link{color:inherit;text-decoration:none;display:flex;flex-direction:column;flex:1}
body.hotto-redesign-v4 .thumb{display:block;aspect-ratio:16/9;background:#e8eee0;overflow:hidden}
body.hotto-redesign-v4 .thumb img{width:100%;height:100%;object-fit:cover;object-position:center 15%;display:block}
body.hotto-redesign-v4 .post-body{padding:12px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
body.hotto-redesign-v4 .badge{align-self:flex-start;font-size:11.52px;font-weight:700;letter-spacing:.04em;padding:2px 8px;border-radius:999px;color:#fff;background:#3a6b1c}
body.hotto-redesign-v4 .post-card.c2 .badge{background:#8a4b1f}
body.hotto-redesign-v4 .post-card.c3 .badge{background:#1f6a6a}
body.hotto-redesign-v4 .post-card.c4 .badge{background:#4a5c16}
body.hotto-redesign-v4 .post-card.c5 .badge{background:#2b4c73}
body.hotto-redesign-v4 .post-body h3{margin:0;font-size:16.32px;line-height:1.5;color:var(--ink);font-weight:700;padding:0;border:0}
body.hotto-redesign-v4 .post-card:hover .post-body h3{color:var(--green)}
body.hotto-redesign-v4 .post-card .post-body > p{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;
  max-height:4.95em;overflow:hidden;margin:0;font-size:13.6px;line-height:1.65;color:var(--muted);
}

body.hotto-redesign-v4 .about-band{background:#fff;border:1px solid #d5ddc6;border-radius:10px;padding:0;overflow:hidden;box-shadow:0 2px 8px rgba(36,72,22,.06)}
body.hotto-redesign-v4 .about-band .cat-head{background:#3a6b1c}
body.hotto-redesign-v4 .about-band .cat-head h2{margin:0;font-size:17.6px;color:#fff;padding:0;border:0}
body.hotto-redesign-v4 .about-band .body{padding:18px 20px 20px;font-size:15.68px}
body.hotto-redesign-v4 .about-band .links{margin:.8em 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px 20px}

@media (max-width:1023px){
  body.hotto-redesign-v4 .cat-grid{grid-template-columns:1fr 1fr}
  body.hotto-redesign-v4 .cat-card,body.hotto-redesign-v4 .cat-card:nth-child(4),body.hotto-redesign-v4 .cat-card:nth-child(5){grid-column:span 1}
  body.hotto-redesign-v4 .post-grid{grid-template-columns:1fr 1fr}
  body.hotto-redesign-v4 .home-hero .hero-inner{grid-template-columns:1fr;padding:28px 20px 32px}
}
@media (max-width:767px){
  body.hotto-redesign-v4 .home-hero{margin:0 0 22px}
  body.hotto-redesign-v4 .home-hero .hero-inner{padding:22px 16px 24px;gap:16px}
  body.hotto-redesign-v4 .home-hero h1{font-size:22.4px}
  body.hotto-redesign-v4 .home-hero p{font-size:16px}
  body.hotto-redesign-v4 .home-section{margin:0 0 26px}
  body.hotto-redesign-v4 .home-section-title{font-size:18.4px}
  body.hotto-redesign-v4 .cat-grid,body.hotto-redesign-v4 .post-grid{grid-template-columns:1fr;gap:12px}
  body.hotto-redesign-v4 .post-card:hover{transform:none;box-shadow:0 2px 8px rgba(36,72,22,.06)}
}

body.hotto-redesign-v4 .hero-chips a{
  display:inline-flex;
  align-items:center;
  gap:.2em;
  padding:5px 14px;
  border:1px solid rgba(231,240,138,.8);
  border-radius:999px;
  font-size:13.12px;
  letter-spacing:.04em;
  color:#e7f08a;
  background:rgba(0,0,0,.18);
  text-decoration:underline;
  text-underline-offset:3px;
}
body.hotto-redesign-v4 .hero-chips a::after{
  content:"";
  display:inline-block;
  width:0;height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:5px solid currentColor;
  margin-left:2px;
  transform:translateY(1px);
}
body.hotto-redesign-v4 .hero-chips a:hover,
body.hotto-redesign-v4 .hero-chips a:focus-visible{
  color:#244816;
  background:#e7f08a;
  text-decoration:none;
  outline:2px solid #fff;
  outline-offset:2px;
}
body.hotto-redesign-v4 #nayami,
body.hotto-redesign-v4 [id^="nayami-"]{scroll-margin-top:16px}

body.hotto-redesign-v4 .hero-photo{
  justify-self:center;
  width:100%;
  background:transparent;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  max-width:560px;
}
body.hotto-redesign-v4 .hero-photo img{
  display:block;
  width:100%;
  height:auto;
  background:transparent;
}
@media (max-width:1023px){
  body.hotto-redesign-v4 .hero-photo{max-width:400px}
}
@media (max-width:767px){
  body.hotto-redesign-v4 .hero-photo{max-width:320px;margin:4px auto 0}
}


/* モックの文字サイズは 16px 基準で換算済み。既存 CSS のルート文字サイズは維持する。 */
/* Genesis / Dynamik の固定幅と旧ヘッダーを新デザインの寸法に合わせる。 */
body.hotto-redesign .site-inner{background:transparent}
body.hotto-redesign .site-inner{width:auto;max-width:none;overflow:visible}
/* Simple Hooks の旧ヘッダー枠は新しいヘッダーとナビの入れ物として使う。 */
body.hotto-redesign #wrapper :is(.headline_bg,.headline){
  display:block !important;float:none !important;width:auto !important;
  min-width:0 !important;max-width:none !important;
  margin:0 !important;padding:0 !important;background:none !important;
}
body.hotto-redesign .hotto-header{
  width:auto;margin:0;min-height:0;background:#fff !important;
}
body.hotto-redesign .hotto-header .wrap{width:auto;overflow:visible;padding:0 20px}
.hotto-redesign .hotto-header .site-title a,
.hotto-redesign .hotto-header .site-title a:visited{color:var(--green)}
.hotto-redesign .hotto-nav{width:auto;max-width:none;margin:0;padding:0}
.hotto-redesign :is(#sp_header,.header_img,.post-top-widget,.share){display:none}
.hotto-redesign .site-container::before,
.hotto-redesign .site-container::after,
.hotto-redesign .site-header::before,
.hotto-redesign .site-header::after,
.hotto-redesign :is(.hotto-header .wrap,.content-sidebar-wrap)::before,
.hotto-redesign :is(.hotto-header .wrap,.content-sidebar-wrap)::after{content:none}
/* Simple Hooks が .wrap2 を挟む場合も、同じ幅の中に同じグリッドを置く。 */
body.hotto-redesign .site-inner > .content-sidebar-wrap{
  float:none;width:auto;max-width:1160px;margin:0 auto;padding:0 20px;
}
body.hotto-redesign :is(#wrapper,.site-container) :is(.content-sidebar-wrap:not(:has(> .wrap2)),.content-sidebar-wrap > .wrap2){
  display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px;align-items:start;
}
body.hotto-redesign :is(#wrapper,.site-container) .content-sidebar-wrap > .wrap2{
  float:none;width:auto !important;max-width:none;margin:0 !important;padding:0 !important;
}
body.hotto-redesign .content{float:none;width:auto;min-width:0;overflow-wrap:anywhere}
body.hotto-redesign .content .entry{margin:0}
body.hotto-redesign :is(#wrapper,.site-container) .content h1.entry-title{
  font-size:26.4px !important;line-height:1.45;font-weight:700;
  margin:0 0 14px !important;padding:0 0 12px !important;
  background:transparent !important;border-bottom:4px solid var(--lime) !important;
}
body.hotto-redesign .content .entry-header{margin:0;padding:0;background:none;border:0}
.hotto-redesign .content .entry-content a,
.hotto-redesign .content .entry-content a:visited{color:var(--link)}
.hotto-redesign .content .entry-content a[href]{text-decoration:underline}
.hotto-redesign .content .entry-content a:hover{text-decoration:none}
.hotto-redesign .content .entry-content :is(h2,h3,h4){font-weight:700;line-height:1.5}
body.hotto-redesign :is(#wrapper,.site-container) .content .entry-content h2{
  font-size:21.6px;margin:2.2em 0 .9em;padding:10px 14px;
  border-left:6px solid var(--green);background:#f2f5ea;
}
body.hotto-redesign :is(#wrapper,.site-container) .content .entry-content h3{
  font-size:18.4px;margin:1.8em 0 .7em;padding:2px 0 2px 12px;border-left:5px solid var(--yellow);
}
body.hotto-redesign :is(#wrapper,.site-container) .content .entry-content h4{font-size:16.8px}
body.hotto-redesign.hotto-profile :is(#wrapper,.site-container) .content .entry-content h2{
  font-size:19.2px;background:none;border-left:0;border-bottom:2px solid #e3e9d2;padding:0 0 6px;
}
.hotto-redesign .entry-content > p:last-child{margin-bottom:0}
.hotto-redesign .related li > span{display:block;padding:12px 2px;line-height:1.6}
.hotto-redesign .hotto-entry-meta{margin:0 0 24px}
.hotto-redesign .entry-content img{max-width:100%;height:auto}
.hotto-redesign .entry-content a:not([href]){color:inherit}
body.hotto-redesign :is(#wrapper,.site-container) .content-sidebar-wrap .hotto-sidebar{
  float:none !important;width:auto !important;min-width:0;
  padding:0 !important;margin:0 !important;line-height:1.8;
}
.hotto-redesign .hotto-sidebar .widget{padding:0}
body.hotto-redesign :is(#wrapper,.site-container) .hotto-sidebar .widget-title{
  background:var(--green) !important;color:#fff !important;font-size:15.2px !important;font-weight:700;
  margin:0 !important;padding:9px 14px !important;border-bottom:3px solid var(--lime);
  border-radius:4px 4px 0 0 !important;
}
.hotto-redesign .table-wrap,.hotto-redesign .wp-block-table{max-width:100%;overflow-x:auto}
body.hotto-redesign :is(#wrapper,.site-container) .entry-content :is(.table-wrap,.wp-block-table) table{
  min-width:560px;margin:0;table-layout:auto;line-height:1.6;text-align:left;
}
body.hotto-redesign :is(#wrapper,.site-container) .entry-content :is(.table-wrap,.wp-block-table) :is(th,td){
  padding:8px 10px;vertical-align:top;text-align:left;border:1px solid #cfcfcf;font-size:inherit;background:#fff;
}
body.hotto-redesign :is(#wrapper,.site-container) .entry-content :is(.table-wrap,.wp-block-table) thead th{background:#eef3e2}
body.hotto-redesign :is(#wrapper,.site-container) .entry-content :is(.table-wrap,.wp-block-table) :is(th,td):first-child{
  position:sticky;left:0;min-width:7.5em;background:#f8faf3;
}
body.hotto-redesign :is(#wrapper,.site-container) .entry-content :is(.table-wrap,.wp-block-table) thead th:first-child{background:#e4ecd0}
.hotto-redesign .entry-content .liquid-speech-balloon-wrap{max-width:100%;overflow-wrap:anywhere}

/* TOC+ の番号と開閉操作を使い、折りたたみ枠の見た目をモックに合わせる。 */
.hotto-redesign .entry-content #toc_container{
  box-sizing:border-box;display:block;width:100%;max-width:100%;
  border:1px solid var(--line);border-radius:6px;margin:0 0 2em;
  padding:0 16px;background:#fafafa;font-size:16px;
}
.hotto-redesign .entry-content #toc_container .toc_title{
  color:var(--ink);font-size:inherit;font-weight:700;text-align:left;margin:0;
  min-height:44px;display:flex;align-items:center;gap:8px;
}
.hotto-redesign #toc_container .toc_toggle :is(button,a){
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding:0 10px;
}
.hotto-redesign #toc_container .toc_title + .toc_list{margin:0;padding:0 0 14px}
.hotto-redesign #toc_container .toc_list li{margin:0}
.hotto-redesign .entry-content #toc_container .toc_list a{
  display:block;min-height:32px;padding:6px 0;font-size:inherit;line-height:1.5;
}
.hotto-redesign #toc_container .toc_list ul{margin-left:1.2em;font-size:.92em}
.hotto-redesign #toc_container .toc_number{color:var(--ink);font-variant-numeric:tabular-nums}
.hotto-redesign .hotto-card-date{font-size:13.12px;color:var(--muted)}
body.hotto-redesign .site-footer{
  width:auto;margin:0;padding:24px 0 30px !important;border:0 !important;
  background:#3b3b3b !important;color:#eee !important;font-size:13.6px !important;
}
body.hotto-redesign :is(#wrapper,.site-container) .site-footer .wrap > ul{
  display:flex;flex-wrap:wrap;gap:4px 22px;
  list-style:none;margin:0 0 10px;padding:0;
}
body.hotto-redesign :is(#wrapper,.site-container) .site-footer .wrap > ul > li{
  margin:0;padding:0;list-style:none;
}
body.hotto-redesign :is(#wrapper,.site-container) .site-footer .wrap > ul > li > a{
  display:inline-flex;align-items:center;padding:4px 0;
  color:#fff !important;text-decoration:underline !important;line-height:1.8;
}
body.hotto-redesign .site-footer p{color:inherit;font-size:inherit}
body.hotto-redesign .site-footer .wrap{width:auto;max-width:1160px;margin:0 auto;padding:0 20px;text-align:left}
.hotto-redesign-v4 .post-card .post-body h3{font-weight:700}

@media (max-width:1023px){
  body.hotto-redesign :is(#wrapper,.site-container) :is(.content-sidebar-wrap:not(:has(> .wrap2)),.content-sidebar-wrap > .wrap2){
    grid-template-columns:minmax(0,1fr);
  }
  .hotto-redesign .hotto-sidebar{position:static}
}
@media (max-width:767px){
  body.hotto-redesign .site-inner > .content-sidebar-wrap{padding:0 14px}
  body.hotto-redesign :is(#wrapper,.site-container) :is(.content-sidebar-wrap:not(:has(> .wrap2)),.content-sidebar-wrap > .wrap2){
    display:block;
  }
  body.hotto-redesign :is(#wrapper,.site-container) .content h1.entry-title{font-size:20.8px !important}
  body.hotto-redesign :is(#wrapper,.site-container) .content .entry-content h2{font-size:18.4px;padding:8px 10px}
  body.hotto-redesign.hotto-profile :is(#wrapper,.site-container) .content .entry-content h2{padding:0 0 6px}
  body.hotto-redesign :is(#wrapper,.site-container) .content .entry-content h3{font-size:16.8px}
  body.hotto-redesign :is(#wrapper,.site-container) .content-sidebar-wrap .hotto-sidebar{margin-top:24px !important}
}

/* 取得した Dynamik CSS の固定寸法と !important 指定を、対象の枠だけで上書きする。 */
body.hotto-redesign #wrapper{padding:0 !important;background:transparent}
body.hotto-redesign .site-container,
body.hotto-redesign .content-sidebar-wrap{background:transparent !important}
body.hotto-redesign :is(#wrapper,.site-container) :is(.hotto-header,.site-inner,.site-footer) > .wrap{
  width:auto !important;max-width:1160px;margin:0 auto !important;padding:0 20px !important;
}
body.hotto-redesign .hotto-header :is(.title-area,.site-title,.site-title a){
  width:auto !important;height:auto !important;margin:0;padding:0;
  float:none;display:block;text-indent:0;overflow:visible;background:none;
}
body.hotto-redesign .hotto-header .site-title a{display:inline}
body.hotto-redesign #sp_header{display:none !important}
body.hotto-redesign .hotto-nav{
  background:var(--nav) !important;border:0 !important;margin:0 !important;line-height:inherit !important;
}
.hotto-redesign .hotto-nav li > span{display:block;padding:12px 18px;font-size:14.72px;color:#fff}
.hotto-redesign .sp-menu .sp-panel li > span{display:block;padding:12px 4px;border-bottom:1px solid var(--line)}
body.hotto-redesign :is(#wrapper,.site-container) .content{
  width:auto !important;float:none !important;margin:0 !important;padding:32px 40px !important;
  border:1px solid var(--line) !important;
}
body.hotto-redesign .entry-content{text-align:left}
.hotto-redesign .content .entry-content p,
.hotto-redesign .content .entry-content a{font-size:inherit}
.hotto-redesign .content .entry-content p.zu-hint{font-size:12.8px}
.hotto-redesign .content .pr-notice{font-size:16px;background:#fff7d6;border-left:4px solid #b58900}
body.hotto-redesign .content .breadcrumb{
  margin:0 0 12px;background:transparent;border:0;padding:0;font-size:13.12px;color:var(--muted);
}
body.hotto-redesign .content .breadcrumb a{font-size:inherit;color:inherit}
.hotto-redesign .hotto-sidebar .widget:last-child{margin-bottom:0}
.hotto-redesign .hotto-sidebar .widget .body > a{text-decoration:underline}
.hotto-redesign .hotto-sidebar .widget li a,
.hotto-redesign .hotto-sidebar .widget li a:visited{text-decoration:none;color:var(--ink)}
.hotto-redesign .site-footer .wrap::before,
.hotto-redesign .site-footer .wrap::after{content:none}

@media (min-width:768px){
  body.hotto-redesign .hotto-nav{display:block !important}
}
@media (max-width:767px){
  /* 旧 CSS の #wrapper .wrap の左右 0px と下 50px を対象の枠で上書きする。 */
  body.hotto-redesign :is(#wrapper,.site-container) :is(.hotto-header,.site-inner,.site-footer) > .wrap{
    padding:0 14px !important;
  }
  body.hotto-redesign :is(#wrapper,.site-container) .content{
    margin:0 -14px !important;padding:18px 16px !important;
    border-left:0 !important;border-right:0 !important;
  }
  body.hotto-redesign :is(#wrapper,.site-container) .site-footer .wrap > ul > li > a{
    min-height:44px;
  }
  body.hotto-redesign .post-card .thumb img{width:100% !important;height:100% !important}
}
