@charset "UTF-8";
/* Front page sections rebuilt in template-parts (see jsax_home_* filters in functions.php). */

/* マスターブレインとは */
.hd-section{padding-block:clamp(72px,9vw,120px);background:#fff;color:#061a3a}
.hd-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(32px,5vw,72px);align-items:center}
.hd-copy h2{margin:0 0 14px;max-width:none;color:#0b4f96;font-size:16px;letter-spacing:.08em}
.hd-copy .hd-lead{margin:0 0 22px;color:#061a3a;font-size:clamp(26px,3vw,40px);font-weight:800;line-height:1.5;letter-spacing:.01em}
.hd-copy>p:not(.hd-lead){margin:0 0 28px;color:#2d3c50;font-size:15px;line-height:2}
.hd-points{display:grid;gap:12px;margin:0 0 32px;padding:0;list-style:none}
.hd-points li{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border:1px solid #dfe7f0;border-radius:16px;background:#f7faff}
.hd-points span{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#0a5cc7;color:#fff;font-size:14px;font-weight:800}
.hd-points b{display:block;margin-bottom:2px;color:#061a3a;font-size:17px}
.hd-points p{margin:0;color:#2d3c50;font-size:14px;line-height:1.75}
.hd-btn{display:inline-flex;align-items:center;gap:20px;min-height:58px;padding:0 28px;border:1px solid #0a5cc7;border-radius:100px;background:#fff;color:#0a4a9e;font-size:15px;font-weight:700;text-decoration:none;transition:background .25s,color .25s,transform .25s}
.hd-btn:hover{background:#0a5cc7;color:#fff;transform:translateY(-2px)}
.hd-btn span{font-size:18px}
.hd-visual{margin:0;padding:24px 18px 10px;border:1px solid #e1eaf4;border-radius:24px;background:linear-gradient(180deg,#eef6ff,#f8fbff)}
.hd-visual svg{display:block;width:100%;height:auto;font-family:inherit;letter-spacing:0}
.hd-flow{animation:hdDash 1.6s linear infinite}
.hd-spin{transform-box:fill-box;transform-origin:center;animation:hdSpin 16s linear infinite}
.hd-out{animation:hdOut 6s ease-in-out infinite;animation-delay:var(--d,0s)}
@keyframes hdDash{to{stroke-dashoffset:-20}}
@keyframes hdSpin{to{transform:rotate(360deg)}}
@keyframes hdOut{0%,100%{opacity:.75}12%,30%{opacity:1}}

/* 販売代理店募集 (template-parts/home-partner.php): white, compact, after the final CTA band */
.hp-section{padding-block:clamp(56px,7vw,96px);background:#f5f8fc}
.hp-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(22px,3vw,40px);border:1px solid #dfe7f0;border-radius:28px;background:#fff;box-shadow:0 24px 60px #0a2a5212}
.hp-visual{margin:0;overflow:hidden;border-radius:22px;box-shadow:0 18px 40px #0a2a5218}
.hp-visual img{display:block;width:100%;height:auto;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.hp-card:hover .hp-visual img{transform:scale(1.03)}
.hp-copy h2{display:inline-block;margin:0 0 14px;max-width:none;padding:6px 16px;border-radius:100px;background:#eaf3ff;color:#0a4a9e;font-size:14px;letter-spacing:.08em}
.hp-lead{margin:0 0 16px;color:#061a3a;font-size:clamp(26px,2.8vw,38px);font-weight:800;line-height:1.45}
.hp-copy>p:not(.hp-lead){margin:0 0 20px;color:#2d3c50;font-size:15px;line-height:1.95}
.hp-points{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px;padding:0;list-style:none}
.hp-points li{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 9px;border:1px solid #cfe0f4;border-radius:100px;background:#f7faff;color:#061a3a;font-size:14px;font-weight:700}
.hp-points svg{width:20px;height:20px;padding:3px;border-radius:50%;background:#0a5cc7;color:#fff}
.hp-actions{display:flex;flex-wrap:wrap;gap:12px}
.hp-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding:0 26px;border-radius:100px;font-size:15px;font-weight:700;text-decoration:none;transition:transform .25s,background .25s,color .25s}
.hp-btn span{font-size:18px}
.hp-btn:hover{transform:translateY(-2px)}
.hp-btn:focus-visible{outline:3px solid #8fc8ff;outline-offset:3px}
.hp-btn.primary{color:#fff;background:linear-gradient(100deg,#0a6cff,#1d8fff 45%,#22c3ff);box-shadow:0 10px 26px #1784ff40}
.hp-btn.outline{border:1px solid #0a5cc7;background:#fff;color:#0a4a9e}
.hp-btn.outline:hover{background:#0a5cc7;color:#fff}
.hp-flow{animation:hdDash 1.6s linear infinite}
.hp-pop{animation:hpPulse 4.5s var(--d,0s) ease-in-out infinite}
@keyframes hpPulse{0%,40%,100%{opacity:1}20%{opacity:.7}}

/* AI活用・業務効率化コラム heading */
.home .section-head .column-lead{margin:0 auto 14px;color:#d7e3f1;font-size:15px;line-height:1.9}

/* Column grid: 6 latest posts in 3 columns (2 on tablet, 1 on phone) */
.home .article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home .article-grid .card-visual img{aspect-ratio:16/10;height:auto;object-fit:cover}
.home .article-grid .card-text h3{font-size:17px;line-height:1.6}
@media(max-width:1000px){.home .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.home .article-grid{grid-template-columns:minmax(0,1fr)}}

@media(max-width:900px){.hp-card{grid-template-columns:minmax(0,1fr)}.hp-visual{max-width:520px;width:100%;margin-inline:auto}.hd-inner{grid-template-columns:minmax(0,1fr)}.hd-visual{max-width:620px;width:100%;margin-inline:auto}}
@media(max-width:760px){.hp-actions{flex-direction:column}.hp-btn{width:100%}.hd-btn{width:100%;justify-content:space-between}.hd-points li{padding:14px}.hd-visual{padding:14px 6px 4px}}
@media(prefers-reduced-motion:reduce){.hd-section *,.hp-section *{animation:none!important}}
