/*
Theme Name: Focus4 Media
Author: Focus4
Version: 1.9.7
*/
:root{
  --accent:#111827;
  --accent-dark:#0b1220;
  --line:#e5e7eb;
  --text:#111827;
  --muted:#6a7280;
  --bg:#ffffff;
  --header:#ffffff;
  --white:#fff;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic UI","Noto Sans JP","Segoe UI",sans-serif;
  font-size:14px;
  font-weight:400;
  color:var(--text);
  background:var(--bg);
  line-height:1.68;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
.topline{height:1px;background:#111827}
.site-header{
  background:var(--header);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}
.site-header-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{
  font-size:46px;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1;
}
.brand a{color:#0b1220}
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  flex-shrink:0;
  width:40px;
  height:40px;
  object-fit:contain;
}
.brand--logo .custom-logo-link{
  display:inline-flex;
  align-items:center;
  line-height:0;
}
.brand--logo .custom-logo,
.brand--logo img{
  width:auto;
  max-height:48px;
  max-width:min(240px,70vw);
  height:auto;
  object-fit:contain;
}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:16px;flex-wrap:wrap}
.main-nav a{font-size:13px;color:#1f2937;font-weight:500}
.main-nav a:hover{color:var(--accent)}
.topic-tabs-wrap{background:#fff;border-bottom:1px solid var(--line)}
.topic-tabs{display:flex;gap:0;width:100%;overflow-x:auto;padding:12px 0 0}
.topic-tab{
  appearance:none;
  display:inline-flex;
  flex:1 1 0;
  align-items:center;
  justify-content:center;
  min-width:110px;
  padding:10px 18px;
  border:1px solid var(--line);
  border-bottom-color:#111827;
  background:#fff;
  border-radius:0;
  font:inherit;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
  cursor:pointer;
  text-align:center;
}
.topic-tab + .topic-tab{margin-left:-1px}
.topic-tab:hover{background:#f8fafc}
.topic-tab.is-active{border-color:#111827;border-bottom-color:#fff;background:#fff;position:relative;z-index:1}
.main{padding:16px 0 40px;background:#fff}
.section-title{
  margin:14px 0 14px;
  font-size:18px;
  font-weight:700;
  border-left:0;
  padding-left:0;
  line-height:1.2;
  letter-spacing:.02em;
}
.home-panel{display:none}
.home-panel.is-active{display:block}
.pickup{display:grid;grid-template-columns:220px 1fr;gap:18px;margin-bottom:24px;align-items:start}
.pickup-main,.pickup-sub,.card{background:var(--white);border:1px solid var(--line)}
.pickup-main{max-width:220px}
.pickup-main img{width:100%;height:124px;object-fit:contain;background:#fff}
.pickup-main .content,.pickup-sub .content,.card .content{padding:12px}
.post-title{font-size:22px;font-weight:700;line-height:1.42;margin:6px 0 4px}
.pickup-main .post-title{font-size:15px;line-height:1.5}
.meta{font-size:11px;color:var(--muted)}
.home-block{margin-bottom:20px}
.category-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.category-more{font-size:11px;font-weight:600;color:var(--accent)}
.category-lead{margin:0 0 10px;color:#475569;font-size:12px}
.card-grid{display:grid;grid-template-columns:repeat(3,220px);gap:16px}
.card{max-width:220px}
.card img{width:100%;height:124px;object-fit:contain;background:#fff}
.card .title{display:block;font-size:15px;font-weight:700;line-height:1.5;margin-top:6px}
.pickup-list-item{border-bottom:1px solid #e5e7eb}
.pickup-list-item:last-child{border-bottom:0}
.pickup-list-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:10px 0;
  width:100%;
  color:inherit;
  text-decoration:none;
  border-radius:6px;
}
.pickup-list-card:hover .pickup-list-title{text-decoration:underline;text-underline-offset:2px}
.pickup-list-thumb{
  flex-shrink:0;
  width:88px;
  height:66px;
  border:1px solid var(--line);
  border-radius:4px;
  overflow:hidden;
  background:#f8fafc;
}
.pickup-thumb-img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.pickup-list-body{display:block;min-width:0;flex:1}
.pickup-list-title{
  display:block;
  margin-top:5px;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
  color:var(--text);
}
.empty-box{background:var(--white);border:1px dashed #b9c4d2;padding:14px;color:#64748b}
.single-wrap{max-width:760px;margin:0 auto;background:var(--white);border:1px solid var(--line);padding:20px}
.single-title{font-size:30px;font-weight:700;line-height:1.34;margin:8px 0 12px}
.entry p{margin:0 0 1.1em}
.entry h2{font-size:22px;font-weight:700;border-left:0;padding-left:0}
.entry img,.single-wrap .wp-post-image{width:100%;max-width:420px;margin:18px auto;object-fit:contain}
.page-about-focus4{font-size:15px;line-height:1.82;color:var(--text)}
.footer,.site-footer{border-top:0;background:#0b0b0b;color:#fafafa;margin-top:48px}
.site-footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:20px 16px}
.site-footer-links{display:flex;flex-wrap:wrap;gap:22px;font-size:13px}
.site-footer-links a{color:#fafafa;opacity:.93}
.site-footer-links a:hover{text-decoration:underline;opacity:1}
.site-footer-copy{font-size:12px;color:#9ca3af}
.contact-email-led{margin:0 0 10px}
.contact-email-anchor{font-size:clamp(1.25rem,3.2vw,1.9rem);font-weight:700;color:#111827;text-decoration:underline;text-underline-offset:3px}
.contact-note{color:var(--muted);font-size:13px;margin-bottom:1.75em;max-width:46em}
.contact-form{max-width:520px}
.contact-field{margin-bottom:16px}
.contact-label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}
.contact-form input,.contact-form textarea{width:100%;max-width:100%;border:1px solid #cbd5e1;padding:10px 11px;font:inherit;border-radius:2px;background:#fff;box-sizing:border-box}
.contact-actions{margin:8px 0 0}
.contact-submit{background:#111827;color:#fff;border:0;padding:11px 24px;font:inherit;cursor:pointer;font-weight:600;border-radius:2px}
.contact-submit:hover{opacity:.93}
.honeypot{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.contact-flash{padding:11px 13px;margin:0 0 1.2em;font-size:13px;border:1px solid var(--line)}
.contact-flash-success{border-color:#86efac;background:#f0fdf4;color:#14532d}
.contact-flash-error{border-color:#fca5a5;background:#fef2f2;color:#7f1d1d}
@media (max-width:1100px){.card-grid{grid-template-columns:repeat(2,220px)}.pickup{grid-template-columns:1fr}.pickup-sub{max-width:520px}}
@media (max-width:760px){
  .brand-text{font-size:34px}
  .post-title{font-size:24px}
  .topic-tab{flex:1 0 auto;min-width:96px;padding:9px 14px}
  .pickup-main{max-width:none}
  .card-grid{grid-template-columns:1fr}
  .card{max-width:none}
}
