/* ロコリーチMEDIA */
:root{--primary:#14171A;--brand-accent:#0A7D5A;--bg:#F7F8F9;--gray:#5B6472;
--light-gray:#9AA1AC;--border:#E5E7EA;--white:#FFFFFF;
--accent:#0A7D5A;--radius:14px;--maxw:1080px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Hiragino Kaku Gothic ProN','Hiragino Sans','Noto Sans JP','Yu Gothic Medium','Meiryo',sans-serif;color:var(--primary);background:var(--white);
line-height:1.85;font-size:16px;letter-spacing:.01em}
img{max-width:100%;height:auto}
a{color:var(--primary)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.narrow{max-width:720px}
.section{padding:44px 0}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:var(--primary);color:#fff;padding:8px 14px;z-index:99;border-radius:8px}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);
backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:20px;height:62px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;flex:none}
.brand-mark{width:11px;height:22px;border-radius:3px;background:linear-gradient(160deg,var(--brand-accent),#12A074)}
.brand-name{font-weight:800;font-size:16px;letter-spacing:.02em}
.nav{display:flex;gap:16px;overflow-x:auto;flex:1;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{color:var(--gray);text-decoration:none;font-size:13.5px;font-weight:600;white-space:nowrap;padding:4px 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--primary);border-bottom-color:var(--brand-accent)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
padding:12px 22px;border-radius:999px;font-weight:700;font-size:14.5px;
text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:.16s;white-space:nowrap}
.btn-cta{background:var(--brand-accent);color:#fff}
.btn-cta:hover{background:#cf4508;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--primary);border-color:var(--border)}
.btn-ghost:hover{border-color:var(--primary)}
.btn-sm{padding:8px 16px;font-size:13px;flex:none}
.btn-lg{width:100%;padding:16px 24px;font-size:16px}

.hero{background:linear-gradient(150deg,var(--primary) 0%,#2C3138 100%);color:#fff;padding:64px 0 60px}
.hero-eyebrow{margin:0 0 10px;font-size:12.5px;letter-spacing:.14em;color:#9FB2CE;font-weight:700}
.hero-title{margin:0 0 14px;font-size:clamp(27px,5.2vw,42px);line-height:1.35;font-weight:800;letter-spacing:.01em}
.hero-lead{margin:0 0 26px;max-width:62ch;color:#D3DCEA;font-size:15px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero .btn-ghost{color:#fff;border-color:rgba(255,255,255,.35)}
.hero .btn-ghost:hover{border-color:#fff}

.section-title{font-size:19px;font-weight:800;margin:0 0 20px;padding-left:12px;border-left:4px solid var(--brand-accent)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:16px}
.card{border:1px solid var(--border);border-radius:var(--radius);background:#fff;transition:.16s;overflow:hidden}
.card:hover{border-color:var(--light-gray);box-shadow:0 8px 22px rgba(27,42,74,.09);transform:translateY(-2px)}
.card-link{display:block;padding:20px;text-decoration:none;height:100%}
.chip{display:inline-block;font-size:11.5px;font-weight:800;color:var(--accent);
background:color-mix(in srgb,var(--accent) 11%,transparent);padding:3px 10px;border-radius:999px;letter-spacing:.04em}
.card-title{margin:11px 0 8px;font-size:16.5px;line-height:1.55;font-weight:700}
.card-desc{margin:0 0 12px;font-size:13.5px;color:var(--gray);line-height:1.75;
display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card-meta{margin:0;font-size:12px;color:var(--light-gray)}
.empty{color:var(--gray)}

.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.cat-card{display:block;padding:18px;border:1px solid var(--border);border-radius:var(--radius);
text-decoration:none;border-left:4px solid var(--accent);transition:.16s;background:#fff}
.cat-card:hover{background:var(--bg)}
.cat-name{display:block;font-weight:700;font-size:15px;margin-bottom:6px}
.cat-desc{display:block;font-size:12.5px;color:var(--gray);line-height:1.7}
.cat-count{display:block;margin-top:9px;font-size:11.5px;color:var(--light-gray);font-weight:700}

.breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12.5px;
color:var(--gray);padding:18px 0 4px}
.breadcrumb a{color:var(--gray)}
.breadcrumb span:last-child{color:var(--light-gray)}

.page-head{padding:20px 0 30px;border-bottom:1px solid var(--border);margin-bottom:30px}
.page-title{margin:0 0 10px;font-size:clamp(23px,4.4vw,32px);line-height:1.45;font-weight:800}
.page-desc{margin:0;color:var(--gray);font-size:15px;max-width:66ch}

.post{max-width:760px;margin:0 auto;padding:14px 0 8px}
.post-head{padding-bottom:26px;border-bottom:1px solid var(--border);margin-bottom:32px}
.post-title{margin:12px 0 14px;font-size:clamp(24px,4.6vw,34px);line-height:1.48;font-weight:800;letter-spacing:.005em}
.post-lead{margin:0 0 14px;color:var(--gray);font-size:15.5px;line-height:1.85}
.post-meta{margin:0;font-size:12.5px;color:var(--light-gray)}
.post-body{font-size:16.5px;line-height:2.0}
.post-body h2{margin:52px 0 18px;font-size:21px;font-weight:800;padding:11px 0 11px 15px;
border-left:5px solid var(--accent);background:var(--bg);border-radius:0 8px 8px 0;line-height:1.55}
.post-body h3{margin:38px 0 14px;font-size:17.5px;font-weight:700;line-height:1.6;
padding-bottom:8px;border-bottom:1px dashed var(--border)}
.post-body h4{margin:28px 0 10px;font-size:16px;font-weight:700}
.post-body p{margin:0 0 22px}
.post-body ul,.post-body ol{margin:0 0 24px;padding-left:1.4em}
.post-body li{margin-bottom:9px}
.post-body a{color:#1F5FA8;text-underline-offset:3px}
.post-body strong{background:linear-gradient(transparent 62%,color-mix(in srgb,var(--brand-accent) 24%,transparent) 62%);font-weight:700}
.post-body blockquote{margin:0 0 24px;padding:16px 20px;background:var(--bg);
border-left:4px solid var(--light-gray);border-radius:0 8px 8px 0;color:var(--gray)}
.post-body blockquote p:last-child{margin:0}
.post-body table{width:100%;border-collapse:collapse;margin:0 0 26px;font-size:14.5px;display:block;overflow-x:auto}
.post-body th,.post-body td{border:1px solid var(--border);padding:11px 13px;text-align:left;vertical-align:top}
.post-body th{background:var(--primary);color:#fff;font-weight:700;white-space:nowrap}
.post-body tbody tr:nth-child(even){background:var(--bg)}
.post-body code{background:var(--bg);padding:2px 6px;border-radius:5px;font-size:.9em}
.post-body hr{border:0;border-top:1px solid var(--border);margin:40px 0}

.sources{margin:44px 0 0;padding:20px 22px;background:var(--bg);border-radius:var(--radius)}
.sources h2{margin:0 0 10px;font-size:14.5px;font-weight:800}
.sources ul{margin:0;padding-left:1.2em}
.sources li{font-size:13px;margin-bottom:7px;word-break:break-all}
.sources a{color:#1F5FA8}
.disclaimer{margin:22px 0 0;font-size:12.5px;color:var(--light-gray);line-height:1.85}

.cta{margin:52px 0;border-radius:18px;background:linear-gradient(150deg,var(--primary),#2C3138);color:#fff;overflow:hidden}
.cta-inner{padding:38px 32px}
.cta-compact .cta-inner{padding:28px 26px}
.cta-eyebrow{display:inline-block;margin:0 0 12px;font-size:11.5px;font-weight:800;letter-spacing:.12em;
background:var(--brand-accent);padding:4px 12px;border-radius:999px}
.cta-title{margin:0 0 10px;font-size:clamp(19px,3.4vw,25px);line-height:1.55;font-weight:800}
.cta-sub{margin:0 0 22px;color:#CBD6E6;font-size:14.5px}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.cta .btn-ghost{color:#fff;border-color:rgba(255,255,255,.4)}
.cta .btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}

.form{margin:8px 0 40px}
.field{margin-bottom:22px}
.field label{display:block;font-weight:700;font-size:14.5px;margin-bottom:7px}
.req{font-size:11px;color:#fff;background:var(--brand-accent);padding:2px 8px;border-radius:4px;margin-left:6px;font-weight:700}
.opt{font-size:11px;color:var(--gray);background:var(--bg);border:1px solid var(--border);padding:1px 8px;border-radius:4px;margin-left:6px;font-weight:700}
.field input,.field textarea{width:100%;padding:13px 14px;border:1.5px solid var(--border);
border-radius:10px;font-size:16px;font-family:inherit;color:var(--primary);background:#fff}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--brand-accent);box-shadow:0 0 0 3px rgba(10,125,90,.12)}
.hint{margin:7px 0 0;font-size:12.5px;color:var(--gray)}
.check label{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:14px}
.check input{width:auto;margin-top:5px;flex:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-note{margin:14px 0 0;font-size:12.5px;color:var(--gray);text-align:center}
.form-alt{margin:18px 0 0;font-size:13.5px;text-align:center;color:var(--gray)}
.form-result{margin:20px 0 48px;padding:26px;border-radius:var(--radius);border:1.5px solid var(--border)}
.form-result.ok{border-color:#2F9E6B;background:#F2FBF7}
.form-result.ng{border-color:#E53E3E;background:#FEF3F3;color:#9B2C2C}
.form-result h2{margin:0 0 8px;font-size:18px}
.form-result p{margin:0;font-size:14.5px;color:var(--gray)}

.site-footer{margin-top:60px;background:var(--primary);color:#C4D0E2;padding:46px 0 26px;font-size:13.5px}
.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:36px}
.footer-brand{font-weight:800;font-size:16px;color:#fff;margin-bottom:12px}
.footer-desc{margin:0 0 14px;line-height:1.85;color:#9FB2CE;font-size:13px}
.footer-note{margin:0;font-size:12.5px;color:#9FB2CE;line-height:1.9}
.footer-h{margin:0 0 12px;font-size:12.5px;letter-spacing:.1em;color:#fff;font-weight:800}
.footer-list{list-style:none;margin:0;padding:0}
.footer-list li{margin-bottom:9px}
.site-footer a{color:#C4D0E2;text-decoration:none}
.site-footer a:hover{color:#fff;text-decoration:underline}
.copyright{margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);
font-size:12px;color:#8296B4}

@media(max-width:860px){
  .footer-grid{grid-template-columns:1fr;gap:26px}
  .header-inner{height:auto;padding:10px 0;flex-wrap:wrap}
  .nav{order:3;width:100%;padding-bottom:2px}
  .brand{flex:1}
  .hero{padding:44px 0 42px}
  .cta-inner{padding:28px 22px}
  .post-body{font-size:16px;line-height:1.95}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
