html { scroll-behavior: smooth; }
body.hashiba-blog-front, body.hashiba-blog-archive { margin: 0; background: #fafafa; color: #1e2a38; font-family: "Oswald", "Noto Sans JP", sans-serif; }
.hashiba-blog-front *, .hashiba-blog-archive * { box-sizing: border-box; }
.hashiba-blog-front a, .hashiba-blog-archive a { color: inherit; text-decoration: none; }
.hb-site { min-height: 100vh; }
.hb-site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 clamp(24px, 5vw, 72px); background: rgba(30,42,56,.97); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.admin-bar .hb-site-header { top: 32px; }
.hb-logo { display: flex; align-items: baseline; gap: 14px; font-size: 1.35rem; line-height: 1.2; letter-spacing: .08em; font-weight: 500; white-space: nowrap; }
.hb-logo small { color: #aeb9c5; font-size: .64rem; letter-spacing: .15em; }
.hb-nav { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 30px); }
.hb-nav a, .hb-nav button { position: relative; padding: 28px 0 25px; border: 0; background: transparent; color: #fff; font: inherit; font-size: .95rem; letter-spacing: .055em; cursor: pointer; white-space: nowrap; }
.hb-nav a::after, .hb-nav button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 1px; background: #fff; transition: right .2s ease; }
.hb-nav a:hover::after, .hb-nav a[aria-current="page"]::after, .hb-nav button:hover::after { right: 0; }
.hb-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.6); background: transparent; color: #fff; padding: 8px 12px; font: inherit; letter-spacing: .06em; }
.hb-main { min-width: 0; }
.hb-search-panel { padding: 18px clamp(24px, 7vw, 84px); background: #edf0f3; border-bottom: 1px solid #cbd2d9; }
.hb-search-panel form { display: flex; max-width: 620px; margin: 0 auto; }
.hb-search-panel input[type="search"] { flex: 1; min-width: 0; padding: 13px 15px; border: 1px solid #1e2a38; background: #fff; font: inherit; }
.hb-search-panel button, .hb-search-panel input[type="submit"] { padding: 13px 20px; border: 1px solid #1e2a38; background: #1e2a38; color: #fff; font: inherit; }
.hb-hero { min-height: 650px; position: relative; display: flex; align-items: end; padding: 0 clamp(34px, 9vw, 116px) 88px; overflow: hidden; background-color: #536879; background-image: linear-gradient(180deg, rgba(27,45,64,.1), rgba(17,30,42,.52)), linear-gradient(180deg,#829bb8 0%,#c4cbc9 47%,#87918d 48%,#273746 100%); background-size: cover; background-position: center; }
.hb-hero::before { content: ""; position: absolute; inset: 42% -10% 0; background: linear-gradient(145deg, transparent 34%, rgba(52,67,79,.78) 35% 47%, transparent 48%), linear-gradient(215deg, transparent 30%, rgba(30,45,57,.8) 31% 54%, transparent 55%); }
.hb-hero-panel { position: relative; z-index: 2; width: min(650px, 88%); padding: 36px 50px 40px; border-left: 34px solid rgba(255,255,255,.36); background: rgba(255,255,255,.86); }
.hb-hero-panel::after { content: ""; position: absolute; width: 34px; height: 34px; right: -34px; top: 0; background: #1e2a38; box-shadow: 34px 34px 0 rgba(255,255,255,.86); }
.hb-eyebrow { margin: 0; color: #697480; letter-spacing: .14em; }
.hb-hero h1 { margin: 8px 0 18px; font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; line-height: 1.03; letter-spacing: .055em; }
.hb-hero-panel > p:last-child { margin: 0; font-family: "Noto Sans JP", sans-serif; line-height: 1.9; }
.hb-content { padding: 82px clamp(34px, 7vw, 92px) 100px; }
.hb-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.hb-section-head h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: .055em; }
.hb-section-head h2 span { font-family: "Noto Sans JP", sans-serif; font-size: .9rem; letter-spacing: 0; }
.hb-section-head > a, .hb-read-more, .hb-about > a { border-bottom: 1px solid #1e2a38; letter-spacing: .05em; }
.hb-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.hb-categories a { padding: 9px 17px; border: 1px solid #1e2a38; }
.hb-categories a[aria-current="page"], .hb-categories a:hover { background: #1e2a38; color: #fff; }
.hb-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 42px 30px; }
.hb-post-card { min-width: 0; margin: 0; background: #fff; border-bottom: 2px solid #1e2a38; }
.hb-post-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#273c50,#597895); color: #fff; }
.hb-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hb-post-card:hover .hb-post-thumb img { transform: scale(1.035); }
.hb-post-category { position: absolute; z-index: 2; left: 0; top: 0; padding: 7px 14px; background: #1e2a38; color: #fff; font-size: .78rem; letter-spacing: .05em; }
.hb-placeholder { letter-spacing: .12em; }
.hb-post-body { padding: 21px 19px 24px; }
.hb-post-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: #697480; font-size: .82rem; }
.hb-post-card h3 { min-height: 3.3em; margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: 1.05rem; font-weight: 500; line-height: 1.65; }
.hb-post-card h2 { min-height: 3.3em; margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: 1.05rem; font-weight: 500; line-height: 1.65; }
.hb-read-more { display: inline-block; margin-top: 20px; }
.hb-archive-content { min-height: 70vh; padding-top: clamp(58px, 8vw, 100px); }
.hb-archive-heading { margin-bottom: 38px; padding-bottom: 28px; border-bottom: 1px solid #cbd2d9; }
.hb-archive-heading > p { margin: 0 0 8px; color: #697480; letter-spacing: .14em; text-transform: uppercase; }
.hb-archive-heading h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; line-height: 1.12; letter-spacing: .04em; }
.hb-archive-description { max-width: 720px; margin-top: 18px; color: #697480; font-family: "Noto Sans JP", sans-serif; line-height: 1.8; }
.hb-archive-description p { margin: 0; }
.hb-pagination { margin-top: 54px; }
.hb-pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.hb-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 7px 12px; border: 1px solid #1e2a38; }
.hb-pagination .page-numbers.current, .hb-pagination a.page-numbers:hover { background: #1e2a38; color: #fff; }
.hb-about { display: grid; grid-template-columns: 90px 1fr auto; gap: 26px; align-items: center; margin-top: 82px; padding: 38px 42px; border-left: 10px solid #1e2a38; background: #edf0f3; }
.hb-avatar { display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; background: #1e2a38; color: #fff; font-size: 1.5rem; }
.hb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hb-about h2 { margin: 0; font-size: 1.45rem; font-weight: 400; letter-spacing: .05em; }
.hb-about p { margin: 8px 0 0; color: #697480; font-family: "Noto Sans JP", sans-serif; font-size: .92rem; line-height: 1.8; }
.hb-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(34px, 7vw, 92px); background: #1e2a38; color: #c6ced7; font-size: .82rem; letter-spacing: .06em; }
@media (max-width: 900px) {
  .hb-site-header { min-height: 70px; padding: 0 22px; }
  .hb-logo { font-size: 1.1rem; }
  .hb-logo small { display: none; }
  .hb-menu-toggle { display: block; }
  .hb-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 22px 18px; background: rgba(30,42,56,.98); border-top: 1px solid rgba(255,255,255,.12); }
  .hb-nav.is-open { display: grid; }
  .hb-nav a, .hb-nav button { padding: 12px 4px; text-align: left; }
  .hb-nav a::after, .hb-nav button::after { bottom: 7px; }
  .hb-hero { min-height: 520px; padding-bottom: 58px; }
}
@media (max-width: 600px) {
  #wpadminbar { position: fixed; }
  .admin-bar .hb-site-header { top: 46px; }
  .hb-hero { min-height: 440px; padding: 0 22px 42px; }
  .hb-hero-panel { width: 92%; padding: 25px 25px 28px; border-left-width: 16px; }
  .hb-hero-panel::after { width: 22px; height: 22px; right: -22px; box-shadow: 22px 22px 0 rgba(255,255,255,.86); }
  .hb-content { padding: 58px 22px 70px; }
  .hb-section-head { align-items: start; flex-direction: column; }
  .hb-post-grid { grid-template-columns: 1fr; }
  .hb-about { grid-template-columns: 72px 1fr; padding: 28px 22px; }
  .hb-about > a { grid-column: 2; justify-self: start; }
  .hb-footer { flex-direction: column; padding: 25px 22px; }
}
