/* cases/digital-01/digital-01.css */

/* PAGE HERO */
.page-hero { background:linear-gradient(135deg,#0F1E38 0%,#1B2A4A 100%); padding:56px var(--gutter) 60px; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:url('/images/oyakuni_top.jpg') center/cover no-repeat; opacity:.07; }
.page-hero-inner { max-width:var(--max-width); margin:0 auto; position:relative; z-index:1; }
.page-hero .breadcrumb { padding:0; margin-bottom:18px; color:rgba(255,255,255,0.38); }
.page-hero .breadcrumb a { color:rgba(255,255,255,0.38); }
.page-hero .breadcrumb a:hover { color:rgba(255,255,255,0.7); }
.art-meta { display:flex; align-items:center; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.art-cat { display:inline-block; background:rgba(26,111,232,0.4); color:#93C5FD; font-size:11px; font-weight:700; padding:4px 12px; border-radius:100px; letter-spacing:.05em; }
.art-tag { font-size:11px; color:rgba(255,255,255,0.5); background:rgba(255,255,255,0.1); padding:3px 10px; border-radius:6px; }
.page-hero h1 { font-size:clamp(21px,3vw,36px); font-weight:900; color:var(--white); line-height:1.3; letter-spacing:-.02em; margin-bottom:16px; }
.art-who { display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,0.6); }
.art-who-icon { width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:13px; }

.art-main { max-width:var(--max-width); margin:0 auto; padding:40px var(--gutter) 80px; }

.q-box { background:linear-gradient(135deg,#F0F7FF,#EAF2FF); border:1px solid var(--blue-md); border-radius:var(--radius); padding:26px 30px; margin-bottom:24px; }
.q-box-label { font-size:11px; font-weight:700; color:var(--blue); letter-spacing:.1em; margin-bottom:12px; }
.q-box ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.q-box li { font-size:14px; color:var(--navy); padding-left:22px; position:relative; line-height:1.7; }
.q-box li::before { content:''; position:absolute; left:0; top:7px; width:12px; height:12px; border-radius:50%; background:var(--blue-md); border:2px solid var(--blue); }
.q-box-note { margin-top:14px; font-size:13px; color:var(--gray-600); padding-top:12px; border-top:1px solid var(--blue-md); }

.art-block { background:var(--white); border-radius:var(--radius); padding:36px 40px; margin-bottom:24px; box-shadow:var(--shadow); }
.art-block h2 { font-size:18px; font-weight:900; color:var(--navy); margin-bottom:20px; padding-bottom:14px; border-bottom:2px solid var(--gray-100); display:flex; align-items:center; gap:10px; }
.art-block h2 .h2-icon { font-size:20px; }
.art-block p { font-size:14px; color:var(--gray-600); line-height:1.9; margin-bottom:14px; }
.art-block p:last-child { margin-bottom:0; }
.point-box { background:var(--blue-lt); border-left:4px solid var(--blue); border-radius:0 8px 8px 0; padding:14px 18px; margin:20px 0; font-size:13.5px; color:var(--navy); font-weight:500; line-height:1.75; }

/* ===== 購買プロセス図 ===== */
.process-diagram { background:var(--gray-50); border-radius:12px; padding:24px; margin:20px 0; overflow-x:auto; }
.pd-row { display:flex; align-items:flex-start; gap:8px; margin-bottom:14px; }
.pd-role-label { font-size:11px; font-weight:700; color:var(--white); padding:8px 10px; border-radius:8px; white-space:nowrap; writing-mode:vertical-rl; text-align:center; min-height:60px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pd-buyer .pd-role-label { background:#5B8DB8; }
.pd-seller .pd-role-label { background:#2D6E3E; }
.pd-stages { display:flex; align-items:center; gap:6px; flex-wrap:nowrap; overflow-x:auto; }
.pd-stage { font-size:11px; font-weight:600; padding:8px 10px; border-radius:6px; text-align:center; line-height:1.4; min-width:80px; flex-shrink:0; }
.pd-stage-group { display:flex; flex-direction:column; gap:4px; }
.ps-light { background:#DBEAFE; color:#1B2A4A; }
.ps-mid   { background:#3B82F6; color:white; }
.ps-dark  { background:#1B2A4A; color:white; }
.ss-s1 { background:#6EE7B7; color:#064E3B; }
.ss-s2 { background:#34D399; color:#064E3B; }
.ss-s3 { background:#059669; color:white; }
.ss-s4 { background:#065F46; color:white; }
.pd-arrow-sm { font-size:16px; color:var(--gray-400); flex-shrink:0; }

.pd-activities { margin-top:16px; background:var(--blue-lt); border-radius:8px; padding:14px 16px; display:flex; gap:16px; align-items:flex-start; }
.pd-act-label { font-size:11px; font-weight:700; color:var(--gray-600); white-space:nowrap; padding-top:4px; }
.pd-act-cols { display:flex; gap:24px; flex-wrap:wrap; }
.pd-act-col { display:flex; flex-direction:column; gap:6px; }
.pd-act-item { font-size:12px; color:var(--navy); padding-left:12px; position:relative; line-height:1.5; }
.pd-act-item::before { content:'•'; position:absolute; left:0; color:var(--blue); }

.purpose-box { display:flex; align-items:stretch; gap:0; background:var(--navy); border-radius:10px; margin-top:20px; overflow:hidden; }
.pb-left,.pb-right { flex:1; padding:18px 22px; }
.pb-left  { background:#1B3A6A; }
.pb-right { background:#1B4A5A; }
.pb-label { font-size:11px; font-weight:700; color:rgba(255,255,255,0.6); margin-bottom:10px; letter-spacing:.06em; }
.pb-item  { font-size:13px; font-weight:600; color:var(--white); line-height:1.6; margin-bottom:6px; }
.pb-arrow { display:flex; align-items:center; font-size:28px; color:var(--white); padding:0 16px; flex-shrink:0; background:#1B2A4A; }

/* ===== ファネル図 ===== */
.funnel-wrap { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:20px 0; align-items:start; }
.funnel-title { font-size:13px; font-weight:700; color:var(--navy); text-align:center; margin-bottom:8px; }
.funnel-svg-wrap { width:100%; }
.fd-left,.fd-right { flex:1; text-align:center; font-size:11px; font-weight:700; color:var(--gray-400); padding:4px 0; }
.fd-left  { border-right:1px solid var(--gray-200); color:#1B7AAA; }
.fd-right { color:#0D9488; }

.matrix-title { font-size:13px; font-weight:700; color:var(--navy); text-align:center; margin-bottom:12px; }
.matrix { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.mx-cell { border-radius:8px; padding:14px 12px; text-align:center; }
.mx-imasugu  { background:#1B4A7A; color:white; }
.mx-sonouchi { background:#5B8DB8; color:white; }
.mx-onaymi   { background:#6EE7B7; color:#064E3B; }
.mx-madamada { background:#DBEAFE; color:#1B2A4A; }
.mx-name { font-size:13px; font-weight:700; margin-bottom:4px; }
.mx-sub  { font-size:10px; opacity:.8; margin-bottom:4px; }
.mx-pct  { font-size:11px; font-weight:700; }
.matrix-note { font-size:11.5px; color:var(--gray-600); text-align:center; margin-top:10px; line-height:1.6; }

/* ===== メール種類 ===== */
.mail-types { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:20px 0; }
.mail-type-col { display:flex; flex-direction:column; }
.mt-header { font-size:12px; font-weight:700; color:var(--white); padding:8px 12px; border-radius:6px; text-align:center; }
.mt-all      { background:#1B4A7A; }
.mt-event    { background:#2563EB; }
.mt-product  { background:#0891B2; }
.mt-productb { background:#0D9488; }
.mt-exhibition { background:#1B6A9A; }
.mt-step     { background:#7C3AED; }
.mt-items { list-style:none; padding:10px 12px; margin:0; display:flex; flex-direction:column; gap:5px; background:var(--gray-50); border:1px solid var(--gray-200); border-top:none; border-radius:0 0 6px 6px; }
.mt-items li { font-size:12px; color:var(--navy); padding-left:14px; position:relative; line-height:1.5; }
.mt-items li::before { content:'・'; position:absolute; left:0; color:var(--blue); }
.mt-arrow-down { text-align:center; font-size:20px; color:var(--gray-400); margin:4px 0; }
.mt-comment { background:#FFF7ED; border:1px solid #FED7AA; border-radius:8px; padding:10px 12px; font-size:11.5px; color:#92400E; line-height:1.6; margin-top:10px; }
.mt-step-wrap { display:flex; flex-direction:column; }

/* ===== つなげるフロー ===== */
.connect-flow { display:flex; align-items:stretch; gap:0; margin:20px 0; overflow-x:auto; }
.conn-item { flex:1; min-width:100px; background:var(--gray-50); border:1px solid var(--gray-200); border-radius:10px; padding:16px 12px; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
.conn-item-hl { background:var(--blue-lt); border-color:var(--blue-md); }
.conn-arrow { display:flex; align-items:center; font-size:18px; color:var(--gray-400); padding:0 6px; flex-shrink:0; }
.conn-icon  { font-size:22px; line-height:1; }
.conn-title { font-size:12px; font-weight:700; color:var(--navy); }
.conn-desc  { font-size:11px; color:var(--gray-600); line-height:1.5; }

.art-cta { background:linear-gradient(135deg,#0F1E38,#1B2A4A); border-radius:var(--radius); padding:40px; text-align:center; margin-top:24px; }
.art-cta h3 { font-size:18px; font-weight:900; color:var(--white); margin-bottom:10px; line-height:1.4; }
.art-cta p  { font-size:14px; color:rgba(255,255,255,0.58); margin-bottom:24px; line-height:1.75; }

@media(max-width:860px){
  .funnel-wrap  { grid-template-columns:1fr; }
  .mail-types   { grid-template-columns:1fr; }
  .connect-flow { flex-direction:column; }
  .conn-arrow   { transform:rotate(90deg); align-self:center; }
  .purpose-box  { flex-direction:column; }
  .pb-arrow     { transform:rotate(90deg); align-self:center; padding:8px 0; }
  .art-block    { padding:24px 20px; }
}
