/*
Theme Name: KURUMO Editorial
Theme URI: https://kurumo.xyz/
Author: CLASS
Description: KURUMO専用 自動車メディアWordPressテーマ
Version: 5.1
Text Domain: kurumo
*/
:root{--navy:#061a2d;--navy2:#0b2a44;--blue:#164f7c;--sky:#edf3f7;--line:#dce5eb;--ink:#101820;--muted:#6d7a84;--white:#fff;--gold:#e9b128;--shell:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;background:#fff;line-height:1.7}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.shell{width:min(var(--shell),calc(100% - 48px));margin:auto}
.site-header{height:68px;background:rgba(255,255,255,.985);position:sticky;top:0;z-index:50;border-bottom:1px solid #edf1f4}.header-inner{height:68px;display:flex;align-items:center;gap:38px}.brand{display:flex;flex-direction:column;line-height:1;min-width:245px}.brand span{font-weight:950;font-size:27px;letter-spacing:.12em;color:var(--navy)}.brand span::after{content:"";display:inline-block;width:8px;height:8px;background:#527b9a;border-radius:50%;margin-left:3px}.brand small{font-size:9px;font-weight:800;letter-spacing:.06em;margin-top:5px}.desktop-nav{display:flex;align-items:center;gap:29px;margin-left:auto;font-size:12px;font-weight:800;white-space:nowrap}.desktop-nav a{position:relative;padding:24px 0}.desktop-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:15px;height:2px;background:var(--navy);transition:.22s}.desktop-nav a:hover:after{right:0}.header-actions{display:flex;align-items:center;gap:16px}.search-toggle{font-size:25px;line-height:1}.header-cta{background:var(--navy);color:white;padding:12px 18px;border-radius:5px;font-size:11px;font-weight:800;box-shadow:0 4px 12px rgba(6,26,45,.12)}.header-cta span{font-size:17px;margin-left:7px}.menu-toggle,.mobile-panel{display:none}
.hero{height:440px;position:relative;background-image:url('assets/images/hero.jpg');background-size:cover;background-position:center 52%;color:#fff;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,18,31,.88) 0%,rgba(4,18,31,.65) 39%,rgba(4,18,31,.18) 67%,rgba(4,18,31,.02) 100%)}.hero-inner{height:100%;position:relative;display:flex;align-items:center}.hero-copy{width:680px;padding-top:5px}.hero-kicker{font-size:10px!important;letter-spacing:.24em!important;margin-bottom:8px!important;opacity:.7}.hero h1{font-size:47px;line-height:1.24;margin:0 0 12px;letter-spacing:.035em;font-weight:900}.hero p{font-size:16px;font-weight:650;margin:0 0 20px;letter-spacing:.02em}.hero-search{display:flex;align-items:center;width:625px;background:#fff;border-radius:34px;padding:5px 6px 5px 18px;box-shadow:0 7px 28px rgba(0,0,0,.22)}.hero-search>span{color:#788792;font-size:21px;margin-right:8px}.hero-search input{flex:1;border:0;outline:0;font-size:12px;min-width:0}.hero-search button{border:0;background:var(--navy);color:#fff;border-radius:28px;width:105px;height:38px;font-weight:800}.tags{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:10px}.tags b{margin-right:4px}.tags a{border:1px solid rgba(255,255,255,.62);padding:4px 11px;border-radius:18px;transition:.2s}.tags a:hover{background:#fff;color:var(--navy)}.hero-note{position:absolute;right:25px;top:47px;text-align:center;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:22px;font-style:italic;font-weight:700;transform:rotate(-5deg);letter-spacing:.08em;text-shadow:0 2px 9px rgba(0,0,0,.25)}.hero-note small{display:block;font-size:9px;margin-top:7px;letter-spacing:.06em}
.quick{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;padding:22px 0 25px}.quick-card{height:112px;padding:16px 17px;position:relative;color:white;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;border-radius:4px;background-position:center;background-size:cover;isolation:isolate;transition:transform .25s,box-shadow .25s}.quick-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,15,26,.88),rgba(3,15,26,.18));z-index:-1}.q01{background-image:url('assets/images/quick-1.jpg')}.q02{background-image:url('assets/images/quick-2.jpg')}.q03{background-image:url('assets/images/quick-3.jpg')}.q04{background-image:url('assets/images/quick-4.jpg')}.q05{background-image:url('assets/images/quick-5.jpg')}.quick-card:hover{transform:translateY(-3px);box-shadow:0 9px 20px rgba(8,29,47,.15)}.quick-card strong{font-size:15px}.quick-card small{font-size:9px;opacity:.82}.quick-card i{position:absolute;right:14px;bottom:12px;font-style:normal;font-size:18px}.quick-num{position:absolute;top:10px;left:16px;font-size:10px;font-weight:800;letter-spacing:.12em;opacity:.72}
.content-zone{background:#f2f6f9;padding:20px 0 32px}.main-grid{display:grid;grid-template-columns:2.15fr 1fr;gap:20px;align-items:start}.feature-area,.ranking{background:#fff;padding:21px 22px}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:17px}.section-title>span{width:33px;height:2px;background:var(--blue)}.section-title h2{font-size:18px;margin:0;letter-spacing:.04em}.section-title a{margin-left:auto;color:var(--blue);font-size:10px;font-weight:700}.feature-grid{display:grid;grid-template-columns:1.22fr 1fr;gap:14px}.feature-main{min-height:315px;background:url('assets/images/feature-main.jpg') center/cover;position:relative;border-radius:3px;overflow:hidden}.feature-main .overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,15,25,.88),transparent 66%)}.feature-text{position:absolute;left:21px;right:21px;bottom:18px;color:#fff}.feature-text em,.feature-list em{font-style:normal;background:var(--navy);color:#fff;font-size:9px;padding:3px 7px}.feature-text h3{font-size:19px;margin:8px 0 2px}.feature-text p{font-size:10px;margin:0;max-width:88%}.feature-text b{position:absolute;right:0;bottom:0;border:1px solid white;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;font-size:21px;font-weight:400}.feature-list{display:grid}.feature-list a{display:grid;grid-template-columns:103px 1fr;gap:11px;padding:9px 0;border-bottom:1px solid var(--line);transition:.2s}.feature-list a:hover{opacity:.72}.feature-list img{width:103px;height:65px;object-fit:cover}.feature-list h3{font-size:12px;margin:4px 0 0;line-height:1.45}.feature-list p{font-size:9px;margin:2px 0;color:var(--muted)}.ranking{min-width:0}.rank-item{display:grid;grid-template-columns:29px 74px 1fr;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line);transition:.2s}.rank-item:hover{opacity:.7}.rank-item b{width:25px;height:25px;display:grid;place-items:center;background:#e6ebef;font-size:11px}.rank-item:first-of-type b{background:#f0c23c}.rank-item:nth-of-type(3) b{background:#d9dee2}.rank-item img,.rank-fallback{width:74px;height:47px;object-fit:cover;background:linear-gradient(135deg,#cbd7df,#8ca1b0);display:block}.rank-item span:last-child{font-size:10px;font-weight:750;line-height:1.5}
.latest{padding:27px 0 40px}.latest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.latest article a{display:block}.latest-img{overflow:hidden;border-radius:3px}.latest article img{width:100%;aspect-ratio:1.72;object-fit:cover;transition:transform .35s}.latest article a:hover img{transform:scale(1.035)}.article-meta{display:flex;align-items:center;gap:9px;margin-top:8px}.latest article small{display:inline-block;background:#3677a7;color:#fff;padding:2px 7px;font-size:8px}.latest article time{font-size:9px;color:#8a969e}.latest article h3{font-size:12px;line-height:1.55;margin:5px 0;font-weight:750}.brand-message{background:var(--navy);color:#fff;padding:52px 0}.brand-message-inner{display:grid;grid-template-columns:1fr 1.25fr;gap:90px;align-items:center}.brand-script{font-family:"Yu Mincho",serif;font-size:30px;font-style:italic;transform:rotate(-4deg);text-align:center;opacity:.86}.brand-message span{font-size:10px;letter-spacing:.12em;color:#a9bdcb}.brand-message h2{font-size:27px;line-height:1.55;margin:7px 0 10px}.brand-message div>p{font-size:12px;color:#b9c8d2;max-width:560px}.site-footer{background:#03111f;color:#dbe5ec;padding:42px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:70px}.footer-brand span{color:#fff}.footer-grid p{font-size:11px;color:#9fb0bc}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:7px;font-size:11px}.footer-grid strong{color:#fff;margin-bottom:5px}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:14px;font-size:9px;color:#8094a2}
.archive-page,.single-wrap{padding:55px 0 80px}.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-grid article{border:1px solid var(--line);padding:15px}.post-grid h2{font-size:18px}.single-article{max-width:820px;margin:auto}.single-article>h1{font-size:36px;line-height:1.45}.breadcrumb,.single-meta{font-size:12px;color:var(--muted)}.single-thumb{margin:25px 0}.entry-content{font-size:16px}.entry-content h2{margin-top:2.4em;border-left:4px solid var(--blue);padding-left:14px}.entry-content h3{margin-top:2em}.entry-content img{border-radius:5px}
@media(max-width:1000px){.desktop-nav{gap:18px}.brand{min-width:210px}.desktop-nav a{font-size:11px}.header-cta{display:none}}
@media(max-width:820px){.shell{width:min(100% - 30px,var(--shell))}.desktop-nav,.header-actions{display:none}.header-inner,.site-header{height:62px}.brand{min-width:0}.brand span{font-size:23px}.menu-toggle{display:flex;margin-left:auto;width:34px;height:30px;border:0;background:none;flex-direction:column;justify-content:center;gap:5px}.menu-toggle span{display:block;height:2px;background:var(--navy);width:25px;transition:.25s}.menu-open .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}.menu-open .menu-toggle span:nth-child(2){opacity:0}.menu-open .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.mobile-panel{position:fixed;inset:62px 0 0;background:#fff;padding:26px 28px;z-index:45;flex-direction:column}.menu-open .mobile-panel{display:flex}.mobile-panel a{padding:17px 4px;border-bottom:1px solid var(--line);font-weight:800}.hero{height:570px;background-position:65% center}.hero-shade{background:linear-gradient(0deg,rgba(3,17,29,.94) 0%,rgba(3,17,29,.5) 48%,rgba(3,17,29,.05) 85%)}.hero-inner{align-items:flex-end;padding-bottom:34px}.hero-copy{width:100%}.hero h1{font-size:36px}.hero p{font-size:14px}.hero-search{width:100%}.hero-search input{font-size:11px}.tags{overflow-x:auto;white-space:nowrap;padding-bottom:2px}.tags b{display:none}.hero-note{top:30px;right:15px;font-size:16px}.quick{grid-template-columns:repeat(2,1fr)}.quick-card:last-child{grid-column:1/-1}.main-grid{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr}.latest-grid{grid-template-columns:repeat(2,1fr)}.brand-message-inner{grid-template-columns:1fr;gap:15px}.brand-script{text-align:left}.footer-grid{grid-template-columns:1fr;gap:25px}.post-grid{grid-template-columns:1fr}.single-article>h1{font-size:28px}}
@media(max-width:520px){.hero{height:535px}.hero-kicker{display:none}.hero h1{font-size:31px}.hero-search{padding-left:13px}.hero-search button{width:72px}.quick{gap:8px;padding:14px 0}.quick-card{height:100px}.feature-area,.ranking{padding:16px}.feature-main{min-height:295px}.feature-list a{grid-template-columns:90px 1fr}.latest-grid{grid-template-columns:1fr 1fr;gap:11px}.latest article h3{font-size:11px}.brand-message{padding:40px 0}.brand-message h2{font-size:23px}.single-wrap{padding-top:30px}.entry-content{font-size:15px}}

/* v3.0 reference-fidelity pass */
.hero-note{display:none}
.hero{height:356px;background-position:center center}
.hero-inner{align-items:center}
.hero-copy{padding-top:0}
.hero h1{font-size:45px;line-height:1.2;margin-bottom:12px}
.hero-search{width:620px}
.quick{padding:22px 0 27px}
.quick-card{height:118px}
.content-zone{padding-top:22px}
.feature-area,.ranking{border:1px solid #edf1f4}
.feature-main{background-image:url('assets/images/feature-main.jpg')}
.site-header{box-shadow:0 1px 0 rgba(6,26,45,.03)}
@media(max-width:820px){.hero{height:560px;background-position:58% center}.hero-note{display:none}.quick-card{height:112px}}

/* v4.0 editorial article design */
.kurumo-article-page{background:#fff}.article-hero{background:#f2f6f9;border-bottom:1px solid #e4ebf0;padding:28px 0 46px}.article-breadcrumb{display:flex;gap:8px;align-items:center;color:#82909a;font-size:10px;white-space:nowrap;overflow:hidden}.article-breadcrumb span:last-child{overflow:hidden;text-overflow:ellipsis}.article-heading{max-width:900px;margin-top:30px}.article-category{display:inline-block;background:var(--navy);color:#fff;font-size:10px;font-weight:800;padding:5px 10px;margin-bottom:14px}.article-heading h1{font-size:38px;line-height:1.45;letter-spacing:.025em;margin:0;color:var(--navy)}.article-lead{max-width:760px;margin:16px 0 0;color:#52616c;font-size:14px;line-height:1.9}.article-meta{display:flex;gap:18px;margin-top:20px;font-size:10px;color:#7c8b96}.article-layout{display:grid;grid-template-columns:minmax(0,800px) 270px;gap:70px;align-items:start;padding-top:42px;padding-bottom:70px}.article-eyecatch{margin:0 0 30px}.article-eyecatch img{width:100%;max-height:500px;object-fit:cover}.article-editor-note{border-top:2px solid var(--navy);border-bottom:1px solid var(--line);padding:17px 0;margin:0 0 38px;display:grid;grid-template-columns:130px 1fr;gap:20px}.article-editor-note strong{font-size:12px;color:var(--navy)}.article-editor-note p{font-size:12px;color:#64737e;margin:0}.kurumo-article .entry-content{font-size:16px;line-height:2;color:#26343d}.kurumo-article .entry-content>p{margin:0 0 1.65em}.kurumo-article .entry-content h2{font-size:26px;line-height:1.55;color:var(--navy);border:0;border-top:1px solid #cbd7df;padding:27px 0 0;margin:3.1em 0 1em}.kurumo-article .entry-content h2:before{content:"";display:block;width:42px;height:3px;background:var(--blue);margin-top:-30px;margin-bottom:22px}.kurumo-article .entry-content h3{font-size:20px;color:var(--navy);border-left:3px solid var(--blue);padding-left:13px;margin:2.4em 0 .9em}.kurumo-article .entry-content h4{font-size:17px;margin:2em 0 .7em}.kurumo-article .entry-content ul,.kurumo-article .entry-content ol{background:#f5f8fa;padding:20px 24px 20px 43px;margin:25px 0}.kurumo-article .entry-content li+li{margin-top:8px}.kurumo-article .entry-content blockquote{margin:30px 0;padding:23px 28px;background:#f2f6f9;border-left:3px solid var(--blue);color:#52616c}.kurumo-article .entry-content table{width:100%;border-collapse:collapse;margin:28px 0;font-size:13px}.kurumo-article .entry-content th,.kurumo-article .entry-content td{border:1px solid #dce5eb;padding:12px 14px;text-align:left}.kurumo-article .entry-content th{background:#edf3f7;color:var(--navy)}.kurumo-article .entry-content a{color:#125b91;text-decoration:underline;text-underline-offset:3px}.article-tags{border-top:1px solid var(--line);margin-top:50px;padding-top:20px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.article-tags strong{font-size:11px;margin-right:6px}.article-tags a{font-size:10px;border:1px solid var(--line);padding:5px 10px}.article-side{position:sticky;top:95px;display:grid;gap:20px}.side-card{border:1px solid var(--line);padding:22px}.side-about>span{font-size:11px;letter-spacing:.16em;font-weight:900;color:var(--blue)}.side-about h2{font-size:20px;line-height:1.55;color:var(--navy);margin:8px 0}.side-about p{font-size:11px;color:#6a7882}.side-about>a{display:inline-block;margin-top:8px;font-size:10px;font-weight:800;color:var(--blue)}.side-latest>h2{font-size:15px;margin:0 0 12px;color:var(--navy)}.side-latest>a{display:grid;grid-template-columns:70px 1fr;gap:10px;align-items:center;border-top:1px solid var(--line);padding:10px 0;font-size:10px;font-weight:700;line-height:1.45}.side-latest img,.side-thumb{width:70px;height:45px;object-fit:cover;background:#dce5eb}.article-related{background:#f2f6f9;padding:38px 0 55px}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.related-grid article{background:#fff}.related-grid article a{display:block;padding-bottom:16px}.related-img{overflow:hidden}.related-img img{width:100%;aspect-ratio:1.7;object-fit:cover;transition:.3s}.related-grid a:hover img{transform:scale(1.03)}.related-grid time{display:block;font-size:9px;color:#84929c;margin:12px 15px 2px}.related-grid h3{font-size:13px;line-height:1.6;margin:0 15px;color:var(--navy)}
@media(max-width:900px){.article-layout{grid-template-columns:1fr;gap:35px}.article-side{position:static;grid-template-columns:1fr 1fr}.article-heading h1{font-size:32px}}
@media(max-width:620px){.article-hero{padding:20px 0 30px}.article-heading{margin-top:22px}.article-heading h1{font-size:27px;line-height:1.5}.article-lead{font-size:13px}.article-meta{gap:10px;flex-wrap:wrap}.article-layout{padding-top:24px;padding-bottom:45px}.article-editor-note{grid-template-columns:1fr;gap:5px;margin-bottom:30px}.kurumo-article .entry-content{font-size:15px;line-height:1.95}.kurumo-article .entry-content h2{font-size:22px}.kurumo-article .entry-content h3{font-size:18px}.kurumo-article .entry-content table{display:block;overflow-x:auto;white-space:nowrap}.article-side{grid-template-columns:1fr}.related-grid{grid-template-columns:1fr 1fr;gap:12px}.related-grid h3{font-size:11px;margin:0 10px}.related-grid time{margin-left:10px}}


/* v4.1 selectable menus + restrained yellow marker */
.desktop-nav .menu-item,.mobile-panel .menu-item,.site-footer .menu-item{list-style:none}
.kurumo-article .entry-content mark,
.kurumo-article .entry-content .kurumo-yellow-marker{
  background:linear-gradient(transparent 58%,rgba(255,225,92,.62) 58%);
  color:inherit;
  padding:0 .08em;
  border-radius:1px;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
.kurumo-article .entry-content strong.kurumo-yellow-marker{font-weight:800}


/* v4.4 search / archive cards with featured images */
.archive-heading{margin:0 0 34px}.archive-heading>span{display:block;color:var(--blue);font-size:10px;font-weight:900;letter-spacing:.18em;margin-bottom:5px}.archive-heading h1{font-size:32px;line-height:1.45;margin:0;color:var(--navy);letter-spacing:.02em}.post-grid{align-items:stretch}.post-grid .post-card{border:1px solid var(--line);padding:0;background:#fff;overflow:hidden;transition:transform .22s,box-shadow .22s,border-color .22s}.post-grid .post-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(6,26,45,.08);border-color:#c9d7e1}.post-grid .post-card>a{display:flex;flex-direction:column;height:100%}.post-card-thumb{position:relative;overflow:hidden;background:#edf3f7;aspect-ratio:1.68}.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.post-card:hover .post-card-thumb img{transform:scale(1.035)}.post-card-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#e7eef3,#cbd8e1);color:#708596;position:relative}.post-card-fallback:before{content:"";position:absolute;inset:14px;border:1px solid rgba(6,26,45,.09)}.post-card-fallback span{font-weight:950;letter-spacing:.22em;font-size:17px;color:#637f94}.post-card-body{padding:17px 18px 18px;display:flex;flex:1;flex-direction:column}.post-card-meta{display:flex;align-items:center;gap:9px;margin-bottom:8px}.post-card-meta span{background:#edf3f7;color:var(--blue);padding:3px 8px;font-size:9px;font-weight:800}.post-card-meta time{font-size:9px;color:#8a969e}.post-grid .post-card h2{font-size:17px;line-height:1.55;margin:0 0 9px;color:var(--navy)}.post-grid .post-card p{font-size:12px;line-height:1.8;color:#5f6e79;margin:0 0 15px}.post-card-more{display:flex;align-items:center;gap:7px;margin-top:auto;color:var(--blue);font-size:10px;font-weight:800}.post-card-more i{font-style:normal;font-size:17px;line-height:1}.navigation.pagination{margin-top:36px}.nav-links{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.nav-links .page-numbers{min-width:36px;height:36px;padding:0 9px;border:1px solid var(--line);display:grid;place-items:center;font-size:11px;font-weight:700}.nav-links .current,.nav-links .page-numbers:hover{background:var(--navy);border-color:var(--navy);color:#fff}@media(max-width:820px){.archive-heading{margin-bottom:24px}.archive-heading h1{font-size:27px}.post-grid .post-card h2{font-size:16px}}@media(max-width:520px){.archive-page{padding-top:36px}.archive-heading h1{font-size:24px}.post-card-body{padding:14px 14px 16px}.post-grid .post-card p{font-size:11px}}


/* v4.5 compact latest cards + full eyecatch visibility */
.latest{padding:18px 0 24px}
.latest .section-title{margin-bottom:12px}
.latest-grid{gap:16px}
.latest article{min-width:0}
.latest article a{display:block;height:auto}
.latest-img{width:100%;height:165px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:4px;background:#f4f7f9}
.latest article .latest-img img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;margin:0}
.latest .article-meta{margin-top:7px}
.latest article h3{font-size:12px;line-height:1.45;margin:4px 0 0}
@media(max-width:820px){.latest{padding:16px 0 22px}.latest-grid{gap:12px}.latest-img{height:125px}}
@media(max-width:520px){.latest{padding:14px 0 20px}.latest-grid{gap:10px}.latest-img{height:96px}.latest article h3{font-size:10.5px;line-height:1.45}.latest .article-meta{gap:5px}.latest article small,.latest article time{font-size:7.5px}}


/* v4.9 article-only mobile fit. Intentionally scoped so the front page is unchanged. */
.kurumo-article-page{max-width:100%;overflow-x:hidden}
.kurumo-article-page .article-hero,
.kurumo-article-page .article-layout,
.kurumo-article-page .kurumo-article,
.kurumo-article-page .entry-content{min-width:0;max-width:100%}
.kurumo-article-page .kurumo-article .entry-content p,
.kurumo-article-page .kurumo-article .entry-content li,
.kurumo-article-page .kurumo-article .entry-content h2,
.kurumo-article-page .kurumo-article .entry-content h3,
.kurumo-article-page .kurumo-article .entry-content h4{
  overflow-wrap:anywhere;
  word-break:normal;
  max-width:100%;
}
.kurumo-article-page .kurumo-article .entry-content .table-scroll{
  display:block;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.kurumo-article-page .kurumo-article .entry-content .table-scroll table{min-width:620px;margin:0}

@media(max-width:620px){
  .kurumo-article-page .article-hero .shell,
  .kurumo-article-page .article-layout,
  .kurumo-article-page .article-related .shell{
    width:calc(100% - 32px);
    max-width:100%;
    margin-left:16px;
    margin-right:16px;
  }
  .kurumo-article-page .article-heading{max-width:100%;margin-top:18px}
  .kurumo-article-page .article-heading h1{font-size:24px;line-height:1.48;letter-spacing:0;overflow-wrap:anywhere}
  .kurumo-article-page .article-meta{margin-top:14px;font-size:10px;gap:8px 12px}
  .kurumo-article-page .article-layout{display:block;padding-top:22px;padding-bottom:40px}
  .kurumo-article-page .kurumo-article{width:100%;max-width:100%;overflow:hidden}
  .kurumo-article-page .article-editor-note{width:100%;padding:14px 0;margin-bottom:26px}
  .kurumo-article-page .article-editor-note p{font-size:11.5px;line-height:1.8}
  .kurumo-article-page .kurumo-article .entry-content{width:100%;max-width:100%;font-size:14.5px;line-height:1.9}
  .kurumo-article-page .kurumo-article .entry-content>p{margin-bottom:1.45em}
  .kurumo-article-page .kurumo-article .entry-content h2{font-size:20px;line-height:1.55;margin-top:2.7em}
  .kurumo-article-page .kurumo-article .entry-content h3{font-size:17px;line-height:1.55}
  .kurumo-article-page .kurumo-article .entry-content ul,
  .kurumo-article-page .kurumo-article .entry-content ol{padding:16px 16px 16px 34px;margin:20px 0}
  .kurumo-article-page .kurumo-article .entry-content blockquote{padding:18px;margin:24px 0}
  .kurumo-article-page .kurumo-article .entry-content table{font-size:12px}
  .kurumo-article-page .kurumo-article .entry-content th,
  .kurumo-article-page .kurumo-article .entry-content td{padding:10px 11px}
  .kurumo-article-page .article-side{margin-top:32px}
}

@media(max-width:380px){
  .kurumo-article-page .article-hero .shell,
  .kurumo-article-page .article-layout,
  .kurumo-article-page .article-related .shell{
    width:calc(100% - 24px);
    margin-left:12px;
    margin-right:12px;
  }
  .kurumo-article-page .article-heading h1{font-size:22px}
  .kurumo-article-page .kurumo-article .entry-content{font-size:14px}
}

/* v5.0 mobile home hero fit: keep search inside viewport and wrap keyword chips */
@media(max-width:820px){
  body.home .hero .hero-copy{
    width:100%;
    max-width:100%;
    min-width:0;
  }
  body.home .hero .hero-search{
    width:100%;
    max-width:100%;
    min-width:0;
    margin-left:0;
    margin-right:0;
    padding:5px 6px 5px 14px;
  }
  body.home .hero .hero-search>span{
    flex:0 0 auto;
    margin-right:8px;
  }
  body.home .hero .hero-search input{
    width:0;
    min-width:0;
    max-width:100%;
    flex:1 1 auto;
    font-size:11px;
  }
  body.home .hero .hero-search button{
    flex:0 0 68px;
    width:68px;
    min-width:68px;
  }
  body.home .hero .tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 10px;
    width:100%;
    max-width:100%;
    overflow:visible;
    white-space:normal;
    padding:0;
    margin-top:14px;
  }
  body.home .hero .tags b{display:none}
  body.home .hero .tags a{
    flex:0 0 auto;
    white-space:nowrap;
    margin:0;
  }
}
@media(max-width:520px){
  body.home .hero .hero-search{
    padding-left:12px;
  }
  body.home .hero .hero-search input{
    font-size:10.5px;
  }
  body.home .hero .hero-search button{
    flex-basis:58px;
    width:58px;
    min-width:58px;
    font-size:11px;
  }
  body.home .hero .tags{
    gap:8px;
  }
  body.home .hero .tags a{
    padding:4px 10px;
  }
}



/* v5.1 featured-image fit fix: always show the complete 16:9 Canva artwork */
.article-eyecatch{
  width:100%;
  overflow:hidden;
  background:#fff;
}
.article-eyecatch img{
  display:block;
  width:100%;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}

.related-img,
.post-card-thumb,
.latest-img{
  background:#fff;
}
.related-img{
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
}
.related-img img,
.post-card-thumb img,
.latest article .latest-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
.related-grid a:hover img,
.post-card:hover .post-card-thumb img,
.latest article a:hover img{
  transform:none!important;
}

/* Home-page feature/ranking thumbnails: do not crop text-based eyecatches. */
.feature-main{
  background-size:contain!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-color:#fff!important;
}
.feature-list img,
.rank-item img,
.side-latest img{
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}

@media(max-width:820px){
  .article-eyecatch{margin-bottom:24px}
  .related-img{aspect-ratio:16/9}
}
