.tenmon-hub{
  --th-navy:#0a1733;
  --th-deep:#071226;
  --th-gold:#d6b25e;
  --th-gold-soft:#f0d998;
  --th-ivory:#f7f1e4;
  --th-ink:#172033;
  --th-muted:#667085;
  --th-line:rgba(10,23,51,.12);
  color:var(--th-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.8;
  margin:0 auto;
}
.tenmon-hub *, .tenmon-hub *::before, .tenmon-hub *::after{box-sizing:border-box}
.tenmon-hub a{text-decoration:none}
.tenmon-hub-hero{background:linear-gradient(145deg,var(--th-deep),var(--th-navy));color:#fff;border-radius:22px;padding:clamp(32px,6vw,72px);overflow:hidden;position:relative}
.tenmon-hub-hero::after{content:"";position:absolute;width:300px;height:300px;border:1px solid rgba(214,178,94,.25);border-radius:50%;right:-90px;top:-120px;box-shadow:0 0 0 60px rgba(214,178,94,.04),0 0 0 120px rgba(214,178,94,.025)}
.tenmon-hub-kicker,.tenmon-hub-eyebrow,.tenmon-hub-principles-label,.tenmon-hub-feature-tag{font-size:.76rem;letter-spacing:.18em;font-weight:700;color:var(--th-gold);text-transform:uppercase}
.tenmon-hub-display{font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,serif;font-size:clamp(2rem,5vw,4rem);line-height:1.35;letter-spacing:.03em;margin:.4em 0 .5em;max-width:16ch;font-weight:700}
.tenmon-hub-lead{font-size:clamp(1rem,1.8vw,1.18rem);max-width:42rem;color:rgba(255,255,255,.82)}
.tenmon-hub-hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.75fr);gap:clamp(28px,5vw,64px);align-items:end;position:relative;z-index:1}
.tenmon-hub-principles{border:1px solid rgba(214,178,94,.28);background:rgba(255,255,255,.06);padding:24px;border-radius:16px;backdrop-filter:blur(8px)}
.tenmon-hub-principles p{margin:.8em 0;color:rgba(255,255,255,.82);font-size:.95rem}
.tenmon-hub-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.tenmon-hub-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border:1px solid rgba(214,178,94,.55);border-radius:999px;color:#fff!important;font-weight:700;transition:.2s ease}
.tenmon-hub-btn:hover{transform:translateY(-1px);border-color:var(--th-gold-soft)}
.tenmon-hub-btn-primary{background:var(--th-gold);border-color:var(--th-gold);color:var(--th-deep)!important}
.tenmon-hub-localnav{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:18px;margin:18px 0 0;border-bottom:1px solid var(--th-line)}
.tenmon-hub-localnav a{color:var(--th-navy)!important;font-weight:700;padding:8px 14px;border-radius:999px}
.tenmon-hub-localnav a:hover{background:rgba(10,23,51,.06)}
.tenmon-hub-section{padding:clamp(52px,7vw,92px) 0}
.tenmon-hub-section-soft{background:linear-gradient(180deg,rgba(247,241,228,.55),rgba(247,241,228,.18));padding-left:clamp(18px,4vw,48px);padding-right:clamp(18px,4vw,48px);border-radius:22px}
.tenmon-hub-section-head{max-width:720px;margin-bottom:32px}
.tenmon-hub-section h2{font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,serif;color:var(--th-navy);font-size:clamp(1.7rem,3.2vw,2.5rem);line-height:1.4;margin:.25em 0 .5em}
.tenmon-hub-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tenmon-hub-card{display:flex;flex-direction:column;min-height:210px;padding:24px;border:1px solid var(--th-line);border-radius:16px;background:#fff;color:var(--th-ink)!important;transition:.2s ease;box-shadow:0 7px 28px rgba(10,23,51,.045)}
.tenmon-hub-card:hover{transform:translateY(-3px);border-color:rgba(214,178,94,.65);box-shadow:0 14px 34px rgba(10,23,51,.08)}
.tenmon-hub-card-title{font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,serif;color:var(--th-navy);font-weight:700;font-size:1.2rem;margin-bottom:10px}
.tenmon-hub-card-desc{color:var(--th-muted);font-size:.94rem}
.tenmon-hub-card-link{color:#84661f;font-weight:700;margin-top:auto;padding-top:18px;font-size:.9rem}
.tenmon-hub-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tenmon-hub-post-card{background:#fff;border:1px solid var(--th-line);border-radius:16px;overflow:hidden;box-shadow:0 7px 24px rgba(10,23,51,.04)}
.tenmon-hub-post-link{display:block;color:var(--th-ink)!important;height:100%}
.tenmon-hub-post-thumb{display:block;aspect-ratio:16/9;background:#e7e7e7;overflow:hidden}
.tenmon-hub-post-thumb img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.tenmon-hub-post-body{display:flex;flex-direction:column;padding:18px;min-height:170px}
.tenmon-hub-post-date{font-size:.78rem;color:var(--th-muted)}
.tenmon-hub-post-title{font-weight:700;color:var(--th-navy);line-height:1.55;margin:8px 0}
.tenmon-hub-post-more{margin-top:auto;color:#84661f;font-size:.88rem;font-weight:700}
.tenmon-hub-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tenmon-hub-feature{border-left:3px solid var(--th-gold);padding:8px 0 8px 22px}
.tenmon-hub-feature h3{font-size:1.3rem;color:var(--th-navy);margin:.3em 0 .5em}
.tenmon-hub-feature a{color:#84661f!important;font-weight:700}
.tenmon-hub-profile{background:var(--th-navy);color:#fff;border-radius:22px;padding-left:clamp(24px,5vw,60px);padding-right:clamp(24px,5vw,60px)}
.tenmon-hub-profile h2{color:#fff}
.tenmon-hub-profile-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(28px,5vw,60px)}
.tenmon-hub-profile-lead{color:rgba(255,255,255,.8)}
.tenmon-hub-profile-list{display:grid;gap:12px}
.tenmon-hub-profile-list>div{display:grid;grid-template-columns:90px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.tenmon-hub-profile-list strong{color:var(--th-gold-soft)}
.tenmon-hub-profile-list span{color:rgba(255,255,255,.8)}
.tenmon-hub-closing{text-align:center;max-width:760px;margin:0 auto}
.tenmon-hub-actions-center{justify-content:center}
.tenmon-hub-closing .tenmon-hub-btn{color:var(--th-navy)!important;border-color:rgba(10,23,51,.25)}
.tenmon-hub-closing .tenmon-hub-btn-primary{color:var(--th-deep)!important;border-color:var(--th-gold)}
.tenmon-hub-empty{color:var(--th-muted)}
@media (max-width:920px){
  .tenmon-hub-hero-grid,.tenmon-hub-profile-grid{grid-template-columns:1fr}
  .tenmon-hub-card-grid,.tenmon-hub-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .tenmon-hub-hero{border-radius:16px;padding:28px 20px}
  .tenmon-hub-card-grid,.tenmon-hub-latest-grid,.tenmon-hub-feature-grid{grid-template-columns:1fr}
  .tenmon-hub-localnav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}
  .tenmon-hub-localnav a{white-space:nowrap}
  .tenmon-hub-profile-list>div{grid-template-columns:1fr;gap:2px}
  .tenmon-hub-section-soft,.tenmon-hub-profile{border-radius:16px}
}

/* v1.0.1: dedicated Hub page shell. The normal JIN article/sidebar template is bypassed in PHP. */
.tenmon-hub-page #tenmon-hub-main.tenmon-hub-shell{
  width:min(1280px,calc(100% - 48px));
  max-width:1280px;
  margin:clamp(28px,4vw,56px) auto 72px;
  padding:0;
}
.tenmon-hub-page .tenmon-hub{
  width:100%;
  max-width:none;
}
.tenmon-hub-page .tenmon-hub-hero{
  min-height:520px;
  display:flex;
  align-items:center;
  box-shadow:0 24px 70px rgba(7,18,38,.12);
}
.tenmon-hub-page .tenmon-hub-localnav{
  position:sticky;
  top:0;
  z-index:20;
  margin:18px 0 0;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.tenmon-hub-page .tenmon-hub-section-head{max-width:800px}
.tenmon-hub-page .tenmon-hub-card{min-height:230px}
.tenmon-hub-page .tenmon-hub-path-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.tenmon-hub-page .tenmon-hub-path{
  display:flex;
  min-height:150px;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;
  padding:24px;
  border:1px solid var(--th-line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,rgba(247,241,228,.45));
  color:var(--th-ink)!important;
  box-shadow:0 7px 24px rgba(10,23,51,.035);
  transition:.2s ease;
}
.tenmon-hub-page .tenmon-hub-path:hover{
  transform:translateY(-3px);
  border-color:rgba(214,178,94,.65);
  box-shadow:0 14px 34px rgba(10,23,51,.07);
}
.tenmon-hub-page .tenmon-hub-path strong{
  color:var(--th-navy);
  font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,serif;
  font-size:1.22rem;
}
.tenmon-hub-page .tenmon-hub-path span{color:var(--th-muted);font-size:.92rem}
@media (max-width:980px){
  .tenmon-hub-page #tenmon-hub-main.tenmon-hub-shell{width:min(100% - 32px,1280px)}
  .tenmon-hub-page .tenmon-hub-path-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tenmon-hub-page .tenmon-hub-hero{min-height:auto}
}
@media (max-width:620px){
  .tenmon-hub-page #tenmon-hub-main.tenmon-hub-shell{width:min(100% - 20px,1280px);margin:18px auto 48px}
  .tenmon-hub-page .tenmon-hub-path-grid{grid-template-columns:1fr}
  .tenmon-hub-page .tenmon-hub-localnav{top:0;padding:10px 4px}
}

/* v1.0.2: on the dedicated Hub page only, suppress JIN's legacy top-page promo shell.
   JIN core files and the same elements on ordinary posts/pages remain untouched. */
.tenmon-hub-page .cps-info-bar,
.tenmon-hub-page #main-image,
.tenmon-hub-page .pickup-contents-box,
.tenmon-hub-page .pickup-contents-box-post-type{
  display:none!important;
}
