
/* jpnhist.com SWELL trial — version 1.0
   Apply only within a Group with class jpnhist-home-v2.
   The current Hokusai header, theme header/footer and all article pages remain untouched.
   In production use SWELL Full-wide blocks for the background bands.
*/
.jpnhist-home-v2 {
  --j-ink:#242D32; --j-indigo:#183D60; --j-night:#102A43;
  --j-cream:#F6F4EE; --j-warm:#EAE4D9; --j-copper:#B58E64;
  --j-pale:#DCE4E5; --j-slate:#586874; --j-line:#D9D4C9;
  font-family:"Noto Sans CJK JP","Noto Sans JP",sans-serif;
  color:var(--j-ink); background:var(--j-cream);
  font-size:16px; line-height:1.85; letter-spacing:.02em;
  overflow:hidden; isolation:isolate;
}
.jpnhist-home-v2 *, .jpnhist-home-v2 *::before, .jpnhist-home-v2 *::after {box-sizing:border-box;}
.jpnhist-home-v2 h2, .jpnhist-home-v2 h3, .jpnhist-home-v2 h4,
.jpnhist-home-v2 .j-serif {font-family:"Noto Serif CJK JP","Noto Serif JP",serif; font-weight:600; letter-spacing:.07em;}
.jpnhist-home-v2 h2,.jpnhist-home-v2 h3,.jpnhist-home-v2 h4,
.jpnhist-home-v2 p { margin:0; }
.jpnhist-home-v2 a {color:inherit; text-decoration:none; transition:opacity .2s ease,transform .2s ease, color .2s ease;}
.jpnhist-home-v2 a:hover {opacity:.82;}
.jpnhist-home-v2 a:focus-visible {outline:2px solid var(--j-copper);outline-offset:4px;}
.jpnhist-home-v2 .j-wrap {width:min(1160px, calc(100% - 76px));margin-inline:auto;}
.jpnhist-home-v2 .j-section {padding:88px 0 96px;position:relative;}
.jpnhist-home-v2 .j-kicker {font-size:11px;letter-spacing:.2em;font-weight:600;line-height:1.4;color:var(--j-copper);text-transform:uppercase;margin-bottom:13px;}
.jpnhist-home-v2 .j-title {font-size:clamp(30px,3.25vw,45px);line-height:1.45; margin:0 0 19px;}
.jpnhist-home-v2 .j-copy {color:#4F5E67;line-height:2;max-width:62ch;font-size:15px;}
.jpnhist-home-v2 .j-link {display:inline-flex;align-items:center;gap:18px;border-bottom:1px solid currentColor;padding-bottom:6px;font-size:13px;letter-spacing:.07em;}
.jpnhist-home-v2 .j-link::after{content:"↗";font-size:18px;font-weight:300;}
.jpnhist-home-v2 .j-link:hover{transform:translateX(3px);}
.jpnhist-home-v2 .j-sectionhead {display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:30px;}
.jpnhist-home-v2 .j-sectionhead .j-title{margin:0;}
/* cream introduction */
.jpnhist-home-v2 .j-intro {background:var(--j-cream);padding:88px 0 92px;}
.jpnhist-home-v2 .j-intro-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.7fr);gap:70px;align-items:center;}
.jpnhist-home-v2 .j-intro .j-title{font-size:clamp(34px,3.1vw,44px);}
.jpnhist-home-v2 .j-intro-art {position:relative;min-height:234px;display:flex;flex-direction:column;justify-content:end;padding:20px 10px 15px 45px;background-position:center;background-size:cover;background-repeat:no-repeat;}
.jpnhist-home-v2 .j-intro-art::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg, var(--j-cream) 0%, rgba(246,244,238,.35) 35%, rgba(246,244,238,.05) 100%);}
.jpnhist-home-v2 .j-intro-art p{position:relative;font-family:"Noto Serif CJK JP",serif;font-size:20px;letter-spacing:.2em;line-height:2;color:var(--j-indigo);}
/* FEATURE */
.jpnhist-home-v2 .j-feature {background:var(--j-night);color:white;}
.jpnhist-home-v2 .j-feature::before{content:"";position:absolute;inset:0;opacity:.22;pointer-events:none;background-image:repeating-linear-gradient(140deg,transparent 0 45px,rgba(167,198,211,.13) 46px,transparent 47px);mask-image:linear-gradient(180deg,black,transparent 85%);}
.jpnhist-home-v2 .j-feature .j-wrap{position:relative;}
.jpnhist-home-v2 .j-feature .j-kicker{color:#C9A47A;}
.jpnhist-home-v2 .j-feature .j-copy {color:#CDD9DE;max-width:49ch;font-size:14px;}
.jpnhist-home-v2 .j-feature .j-title{font-size:clamp(30px,3.6vw,47px);}
.jpnhist-home-v2 .j-storygrid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.jpnhist-home-v2 .j-story{border:1px solid #8193A4;background:#123047;min-width:0;}
.jpnhist-home-v2 .j-story-photo{position:relative;min-height:325px;display:flex;align-items:flex-start;overflow:hidden;background:#2F4C61;}
.jpnhist-home-v2 .j-story-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.78) saturate(.82);}
.jpnhist-home-v2 .j-story-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,24,39,.78) 0%,rgba(6,24,39,.29) 60%,rgba(6,24,39,.92) 100%);}
.jpnhist-home-v2 .j-story-copy{position:relative;z-index:1;padding:28px 28px 46px;}
.jpnhist-home-v2 .j-story-label{font-size:11px;letter-spacing:.16em;opacity:.8;}
.jpnhist-home-v2 .j-story-title{font-size:clamp(22px,2.2vw,32px);line-height:1.45;margin:16px 0 13px;}
.jpnhist-home-v2 .j-story-description{font-size:13px;line-height:1.9;color:#E0E8E9;max-width:45ch;}
.jpnhist-home-v2 .j-story-links{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#5B7483;border-top:1px solid #5B7483;}
.jpnhist-home-v2 .j-story-links a{min-height:103px;background:#F3F2ED;color:#1B2D3A;padding:19px;display:flex;flex-direction:column;justify-content:space-between;line-height:1.6;gap:8px;font-size:13px;}
.jpnhist-home-v2 .j-story-links a span{font-family:"Noto Serif CJK JP",serif;font-weight:600;}
.jpnhist-home-v2 .j-story-links a::after{content:"⟶";text-align:right;color:#647E90;font-size:18px;line-height:1;}
.jpnhist-home-v2 .j-intersection{position:relative;margin-top:25px;padding:34px 36px;min-height:142px;display:grid;grid-template-columns:minmax(200px,.75fr) minmax(0,1.6fr);align-items:center;gap:28px;border:1px solid #8398AA;background:#112D46;overflow:hidden;}
.jpnhist-home-v2 .j-intersection img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%;z-index:0;opacity:.66;}
.jpnhist-home-v2 .j-intersection::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,33,53,.92),rgba(8,33,53,.79) 50%,rgba(8,33,53,.48));z-index:0;}
.jpnhist-home-v2 .j-intersection>*:not(img){position:relative;z-index:1;}
.jpnhist-home-v2 .j-intersection h3{font-size:clamp(22px,2.2vw,30px);white-space:nowrap;margin:0;color:#F6F4EE;}
.jpnhist-home-v2 .j-intersection p{font-size:14px;line-height:1.9;color:#EBF0F0;max-width:57ch;margin:0;}

/* MAPS */
.jpnhist-home-v2 .j-maps{background:var(--j-cream);}
.jpnhist-home-v2 .j-mapgrid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.jpnhist-home-v2 .j-mapcard{background:#F8F7F3;border:1px solid var(--j-line);display:block;overflow:hidden;}
.jpnhist-home-v2 .j-mapcard img{width:100%;aspect-ratio:1.95;object-fit:cover;display:block;filter:saturate(.8);transition:transform .4s ease;}
.jpnhist-home-v2 .j-mapcard:hover img{transform:scale(1.04);}
.jpnhist-home-v2 .j-mapcard-content{padding:19px 20px 22px;position:relative;}
.jpnhist-home-v2 .j-mapcard h3{font-size:24px;line-height:1.4;margin-bottom:12px;}
.jpnhist-home-v2 .j-mapcard p{font-size:13px;line-height:1.8;color:#53616A;padding-right:20px;}
.jpnhist-home-v2 .j-mapcard-content::after{content:"⟶";position:absolute;right:18px;bottom:18px;color:#2C4E68;font-size:20px;}
/* THEMES */
.jpnhist-home-v2 .j-themes {background:#EAE4D9;padding:80px 0 88px;}
.jpnhist-home-v2 .j-themegrid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.jpnhist-home-v2 .j-theme{min-height:203px;position:relative;overflow:hidden;display:flex;align-items:end;color:#fff;background:#344557;}
.jpnhist-home-v2 .j-theme img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.78);transition:transform .4s ease;}
.jpnhist-home-v2 .j-theme:hover img{transform:scale(1.04);}
.jpnhist-home-v2 .j-theme::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,#0B2336 100%);}
.jpnhist-home-v2 .j-theme span{position:relative;z-index:1;padding:16px 18px;display:flex;align-items:end;justify-content:space-between;width:100%;font:600 21px/1.4 "Noto Serif CJK JP",serif;}
.jpnhist-home-v2 .j-theme span::after{content:"⟶";font:400 15px/1 sans-serif;}
/* LATEST */
.jpnhist-home-v2 .j-latest{background:var(--j-cream);padding:82px 0 100px;}
.jpnhist-home-v2 .j-bottomgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.85fr);gap:46px;}
.jpnhist-home-v2 .j-bottomhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid var(--j-line);padding-bottom:18px;margin-bottom:24px;}
.jpnhist-home-v2 .j-bottomhead h2{font-size:28px;}
.jpnhist-home-v2 .j-bottomhead small{font-size:10px;letter-spacing:.13em;color:#75828A;font-weight:600;}
.jpnhist-home-v2 .j-bottomhead a{font-size:12px;text-decoration:underline;text-underline-offset:4px;}
.jpnhist-home-v2 .j-newsgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.jpnhist-home-v2 .j-newsgrid img{display:block;width:100%;aspect-ratio:1.55;object-fit:cover;filter:saturate(.83);margin-bottom:13px;}
.jpnhist-home-v2 .j-newsgrid a{display:block;font-size:13px;line-height:1.7;font-weight:600;}
.jpnhist-home-v2 .j-newsgrid .j-date{font-size:11px;margin-top:12px;color:#7A8386;}
.jpnhist-home-v2 .j-popular{list-style:none;margin:0;padding:0;counter-reset:pop;}
.jpnhist-home-v2 .j-popular li{counter-increment:pop;border-bottom:1px solid var(--j-line);}
.jpnhist-home-v2 .j-popular a{display:flex;gap:16px;align-items:baseline;padding:13px 2px;font-size:13px;line-height:1.6;}
.jpnhist-home-v2 .j-popular a::before{content:counter(pop,decimal-leading-zero);font-family:Georgia,serif;font-size:18px;color:var(--j-indigo);}
.jpnhist-home-v2 .j-about{margin-top:50px;border-top:1px solid var(--j-line);padding-top:30px;display:flex;align-items:center;justify-content:space-between;gap:25px;}
.jpnhist-home-v2 .j-about p{color:#637078;font-size:13px;}
/* Photo slots for SWELL blocks: assign this class to cover images as appropriate */
.jpnhist-home-v2 .j-media-placeholder {background:linear-gradient(130deg,#7897a3,#1c3d59);min-height:240px;}
@media (max-width:900px) {
  .jpnhist-home-v2 .j-wrap{width:min(100% - 40px,760px);}
  .jpnhist-home-v2 .j-intro-grid{grid-template-columns:1fr;gap:12px;}
  .jpnhist-home-v2 .j-intro-art{min-height:160px;max-width:550px;margin-left:auto;width:85%;}
  .jpnhist-home-v2 .j-storygrid{gap:16px;}
  .jpnhist-home-v2 .j-story-photo{min-height:290px;}
  .jpnhist-home-v2 .j-story-copy{padding:25px 22px;}
  .jpnhist-home-v2 .j-story-links a{padding:15px 13px;font-size:12px;}
  .jpnhist-home-v2 .j-themegrid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .jpnhist-home-v2 .j-bottomgrid{grid-template-columns:1fr;gap:48px;}
}
@media (max-width:640px) {
  .jpnhist-home-v2{font-size:15px;}
  .jpnhist-home-v2 .j-wrap{width:calc(100% - 38px);}
  .jpnhist-home-v2 .j-section,.jpnhist-home-v2 .j-themes,.jpnhist-home-v2 .j-latest{padding:58px 0 62px;}
  .jpnhist-home-v2 .j-intro{padding:58px 0 53px;}
  .jpnhist-home-v2 .j-intro .j-title{font-size:clamp(31px,7.6vw,38px);}
  .jpnhist-home-v2 .j-intro-art{width:100%;min-height:140px;}
  .jpnhist-home-v2 .j-intro-art p{font-size:16px;}
  .jpnhist-home-v2 .j-title{font-size:31px;}
  .jpnhist-home-v2 .j-copy{font-size:14px;}
  .jpnhist-home-v2 .j-sectionhead{align-items:start;flex-direction:column;gap:13px;}
  .jpnhist-home-v2 .j-storygrid,.jpnhist-home-v2 .j-mapgrid{grid-template-columns:1fr;gap:20px;}
  .jpnhist-home-v2 .j-story-photo{min-height:315px;}
  .jpnhist-home-v2 .j-story-links a{min-height:95px;}
  .jpnhist-home-v2 .j-intersection{padding:30px 22px;min-height:172px;grid-template-columns:minmax(0,1fr);gap:12px;}
  .jpnhist-home-v2 .j-intersection h3{white-space:normal;}
  .jpnhist-home-v2 .j-mapcard img{aspect-ratio:2.4;}
  .jpnhist-home-v2 .j-themegrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .jpnhist-home-v2 .j-theme{min-height:155px;}
  .jpnhist-home-v2 .j-theme span{font-size:19px;padding:14px;}
  .jpnhist-home-v2 .j-newsgrid{grid-template-columns:1fr 1fr;gap:18px;}
  .jpnhist-home-v2 .j-bottomhead h2{font-size:23px;}
  .jpnhist-home-v2 .j-about{flex-direction:column;align-items:flex-start;}
}
@media(prefers-reduced-motion: reduce){.jpnhist-home-v2 *{transition:none!important;scroll-behavior:auto!important;}}


/* v2: turnkey custom-HTML layout, scoped to this exact block only */
.jpnhist-home-v2 { width:100vw !important; max-width:none !important; position:relative; left:50%; margin-left:-50vw!important; padding:0!important; background:#F6F4EE; color:#242D32; box-shadow:none; border:0; }
.jpnhist-home-v2 .j-intro { padding:74px 0 86px; }
.jpnhist-home-v2 .j-intro-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.95fr); gap:clamp(34px,5vw,86px); align-items:center; }
.jpnhist-home-v2 .j-intro-copy{align-self:center; min-width:0; }
.jpnhist-home-v2 .j-intro-copy .j-kicker{ font-size:12px; font-weight:600; margin:0 0 22px!important; line-height:1.5; letter-spacing:.2em; color:#B58E64; }
.jpnhist-home-v2 .j-intro-copy h2.j-title { display:block; font-family:'Noto Serif JP','Yu Mincho','Hiragino Mincho ProN',serif; font-weight:500!important; line-height:1.48!important; font-size:clamp(30px,3.1vw,47px)!important; margin:0 0 21px!important; letter-spacing:.065em; padding:0!important; color:#242D32!important; background:none!important; border:0!important; border-left:0!important; box-shadow:none!important; text-align:left!important; }
.jpnhist-home-v2 h2.j-title::before,.jpnhist-home-v2 h2.j-title::after,.jpnhist-home-v2 h3::before,.jpnhist-home-v2 h3::after { content:none!important; display:none!important; }
.jpnhist-home-v2 .j-intro-copy .j-hairline{height:1px; background:#B58E64; width:min(100%,460px); margin-bottom:26px; opacity:.75;}
.jpnhist-home-v2 .j-intro-copy .j-copy { margin:0 0 17px!important; max-width:55ch; color:#54636A; font-size:clamp(14px,1.15vw,16px); line-height:2!important; letter-spacing:.025em; }
.jpnhist-home-v2 .j-intro-figure{margin:0!important; min-width:0;}
.jpnhist-home-v2 .j-intro-figure .j-intro-image{display:block; width:100%; height:490px; object-fit:cover; object-position:center 45%; border-radius:4px; border:1px solid rgba(40,59,72,.09);}
.jpnhist-home-v2 .j-intro-figure figcaption{font-size:13px!important; text-align:right; margin-top:12px!important; color:#7E8D94; letter-spacing:.05em;}
/* Header & footer belong to SWELL, never changed by this snippet. */
.jpnhist-home-v2 .j-sectionhead .j-title,
.jpnhist-home-v2 .j-bottomhead h2 {padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:inherit!important;}
.jpnhist-home-v2 .j-feature .j-sectionhead h2{color:#F6F4EE!important;}
.jpnhist-home-v2 .j-mapcard,.jpnhist-home-v2 .j-story { border-radius:0; }
.jpnhist-home-v2 figure {margin:0;}
.jpnhist-home-v2 a:hover {text-decoration:none;}
/* When the site uses a white content background, this new fixed page gets neutralized without touching posts. */
body:has(.jpnhist-home-v2) .l-mainContent__inner,
body:has(.jpnhist-home-v2) .l-mainContent,
body:has(.jpnhist-home-v2) .post_content {background:transparent!important;box-shadow:none!important;}
body:has(.jpnhist-home-v2) .l-mainContent__inner {padding:0!important;}
body:has(.jpnhist-home-v2) .c-pageTitle,
body:has(.jpnhist-home-v2) .p-articleHead {display:none!important;}
@media(max-width:960px){
 .jpnhist-home-v2 .j-intro-grid{grid-template-columns:1fr 1fr;gap:28px;}
 .jpnhist-home-v2 .j-intro-figure .j-intro-image{height:400px;}
}
@media(max-width:700px){
 .jpnhist-home-v2 .j-intro {padding:55px 0 60px;}
 .jpnhist-home-v2 .j-intro-grid {grid-template-columns:1fr;gap:26px;}
 .jpnhist-home-v2 .j-intro-copy h2.j-title{font-size:32px!important;}
 .jpnhist-home-v2 .j-intro-copy .j-copy {font-size:14px;}
 .jpnhist-home-v2 .j-intro-figure .j-intro-image {height:290px; width:100%; object-position:center 55%;}
 .jpnhist-home-v2 .j-intro-figure figcaption {font-size:11px!important;}
 .jpnhist-home-v2 .j-feature .j-sectionhead h2.j-title {font-size:27px!important;letter-spacing:.035em!important;}
}


/* v3: refined image card balance: photography clear, labels readable */
.jpnhist-home-v2 .j-theme img{image-rendering:auto;filter:saturate(.90) contrast(1.035);object-position:center center;}
.jpnhist-home-v2 .j-theme::after{background:linear-gradient(180deg, rgba(5,22,35,0) 20%, rgba(5,24,40,.25) 57%,rgba(3,22,38,.82) 100%);}

/* v4: real published article images for Maps & Latest; crop without enlargement of baked-in mockups */
.jpnhist-home-v2 .j-mapcard img,
.jpnhist-home-v2 .j-latest img {
  object-fit: cover;
  image-rendering: auto;
}
.jpnhist-home-v2 .j-mapcard:first-child img { object-position:center 68%; }

/* v5: clean mobile latest stories and responsive editor preview */
.jpnhist-home-v2 .j-newsgrid > div { min-width:0; }
.jpnhist-home-v2 .j-newsgrid .j-thumb-link { display:block; margin:0 0 13px; }
.jpnhist-home-v2 .j-newsgrid .j-thumb-link img { margin-bottom:0; }
/* On an actual phone, use a single column; no orphaned third card. */
@media (max-width:700px) {
  .jpnhist-home-v2 .j-newsgrid { grid-template-columns:minmax(0,1fr)!important;gap:32px; }
  .jpnhist-home-v2 .j-newsgrid img { aspect-ratio:16/9; }
}



/* v6: Breakpoints based on actual browser viewport, not Gutenberg editor width. */
.jpnhist-home-v2 .j-newsgrid, .jpnhist-home-v2 .j-themegrid {display:grid!important; min-width:0;}
@media (min-width: 981px) {
  .jpnhist-home-v2 .j-newsgrid {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .jpnhist-home-v2 .j-themegrid {grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
@media (min-width:701px) and (max-width:980px) {
  .jpnhist-home-v2 .j-newsgrid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .jpnhist-home-v2 .j-themegrid {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:700px) {
  .jpnhist-home-v2 .j-newsgrid {grid-template-columns:minmax(0,1fr)!important;gap:30px!important;}
  .jpnhist-home-v2 .j-themegrid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
}
.jpnhist-home-v2 .j-theme-type {
  position:absolute;top:11px;left:11px;z-index:2;
  border:1px solid rgba(255,255,255,.55);padding:3px 7px;
  background:rgba(6,29,45,.63);color:#fff;font:500 10px/1.35 sans-serif;
  letter-spacing:.04em;pointer-events:none;
}
.jpnhist-home-v2 .j-theme:focus-visible {outline:3px solid #B58E64;outline-offset:3px;}
/* Prevent full-width WordPress image styling from disturbing 3-up cards. */
.jpnhist-home-v2 .j-newsgrid > div {min-width:0; width:auto;}
.jpnhist-home-v2 .j-newsgrid img {max-width:100%;}


/* v9: background behind latest cards stays transparent; images come from WordPress media. */
.jpnhist-home-v2 .j-newsgrid .j-news-card { min-width:0; }
.jpnhist-home-v2 .j-newsgrid .j-thumb-link img { aspect-ratio: 16 / 10; width:100%; object-fit:cover; }
.jpnhist-home-v2 .j-visually-hidden {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}


/* v10 — Less space after Hokusai, without flattening the editorial layout. */
.jpnhist-home-v2.j-home-v10 .j-intro {padding-top:38px!important;padding-bottom:60px!important;}
.jpnhist-home-v2.j-home-v10 .j-intro-figure .j-intro-image {height:425px;}
.jpnhist-home-v2.j-home-v10 .j-intro-grid {gap:clamp(30px,4.5vw,78px);}

/* Hand-picked evergreen archive — uses real WP post thumbnails. */
.jpnhist-home-v2 .j-evergreen {background:#F2EFE8;padding:83px 0 96px;}
.jpnhist-home-v2 .j-evergreen .j-sectionhead {margin-bottom:33px;}
.jpnhist-home-v2 .j-evergreen-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 19px;}
.jpnhist-home-v2 .j-evergreen-card {min-width:0;background:#F9F7F2;border:1px solid #DED8CE;overflow:hidden;}
.jpnhist-home-v2 a.j-evergreen-anchor {display:flex;flex-direction:column;height:100%;color:#242D32;}
.jpnhist-home-v2 .j-evergreen-media {display:block;position:relative;aspect-ratio:1.85;background:#DCE4E5;overflow:hidden;}
.jpnhist-home-v2 .j-evergreen-media img {display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.82);transition:transform .35s ease;}
.jpnhist-home-v2 .j-evergreen-card:hover .j-evergreen-media img{transform:scale(1.035);}
.jpnhist-home-v2 .j-evergreen-placeholder {display:flex;align-items:center;justify-content:center;height:100%;background:linear-gradient(130deg,#8D9CA4,#183D60);color:#F6F4EE;letter-spacing:.2em;font-size:12px;}
.jpnhist-home-v2 .j-evergreen-info {display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:10px;padding:20px 20px 18px;}
.jpnhist-home-v2 .j-evergreen-category {font-size:11px;font-weight:650;letter-spacing:.1em;color:#94714F;}
.jpnhist-home-v2 .j-evergreen-title {display:block;font-family:'Noto Serif JP','Yu Mincho',serif;font-size:18px;font-weight:600;line-height:1.5;letter-spacing:.015em;}
.jpnhist-home-v2 .j-evergreen-description {display:block;color:#596971;font-size:13px;line-height:1.8;}
.jpnhist-home-v2 .j-evergreen-arrow {margin-top:auto;align-self:flex-end;font-size:20px;color:#183D60;line-height:1.1;}
@media (min-width:701px) and (max-width:980px) {
  .jpnhist-home-v2 .j-evergreen-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .jpnhist-home-v2.j-home-v10 .j-intro {padding-top:28px!important;padding-bottom:47px!important;}
  .jpnhist-home-v2.j-home-v10 .j-intro-figure .j-intro-image{height:285px;}
  .jpnhist-home-v2 .j-evergreen {padding:57px 0 64px;}
  .jpnhist-home-v2 .j-evergreen-grid{grid-template-columns:minmax(0,1fr);gap:14px;}
  .jpnhist-home-v2 .j-evergreen-info{padding:16px 17px;gap:8px;}
  .jpnhist-home-v2 .j-evergreen-title{font-size:17px;}
}
