@charset "UTF-8";
/* =========================================
   top.css 2026-10-03 — トップページ（二系統構成）
   スコープ: .ww-top （既存の pz-*／btn-u／content-boxes-v2-o はそのまま利用）
   見た目は機能ページの営業REFS・Aboutのカードに寄せる
   ========================================= */

/* ---- FV ---- */
.ww-top .ww-helo-container h1{font-size:30px;line-height:1.45;font-weight:700;margin:0 0 14px}
.ww-top .ww-top-lead p{font-size:15px;line-height:1.85;margin:0;color:#fff}
.ww-top .ww-top-lead p + p{margin-top:.4em}
.ww-top .ww-top-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:820px;margin:22px 0 4px}
.ww-top .ww-top-entry a{position:relative;display:flex;align-items:center;min-height:56px;padding:12px 40px 12px 16px;background:rgba(255,255,255,.95);border-radius:8px;color:#1f2937;font-size:14.5px;font-weight:600;line-height:1.5;text-decoration:none;transition:.15s}
.ww-top .ww-top-entry a::after{content:"↓";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#F28C00}
.ww-top .ww-top-entry a:hover{background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12)}
@media (max-width:767px){
  .ww-top .ww-helo-container h1{font-size:22px}
  .ww-top .ww-top-lead p{font-size:14px}
  .ww-top .ww-top-entry{grid-template-columns:1fr}
}

/* ---- 章の見出しまわり ---- */
.ww-top .ww-top-kind{display:inline-block;margin:0 0 12px;padding:2px 10px;border-radius:999px;background:#fff6ec;border:1px solid #f5c089;color:#7a3f00;font-size:12px;line-height:1.6}
.ww-top .ww-top-intro p{font-size:15px;line-height:1.8;color:#444;margin:0}
.ww-top .ww-top-intro p + p{margin-top:.45em}

/* ---- 3つの仕事（カード） ---- */
.ww-top .ww-top-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 8px}
.ww-top .ww-top-item{display:flex;flex-direction:column;background:#fff;border-radius:8px;padding:18px 20px}
.ww-top .ww-top-sec:not([style]) .ww-top-item{background:#f7f7f8}
.ww-top .ww-top-item h3{font-size:15px;font-weight:600;line-height:1.55;color:#111;margin:0 0 8px;padding-left:10px;border-left:3px solid #F28C00}
.ww-top .ww-top-item p{font-size:13.5px;line-height:1.75;color:#555;margin:0}
.ww-top .ww-top-item p + p{margin-top:.45em}
.ww-top .ww-top-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}
.ww-top .ww-top-links .btn-u{margin:0}
.ww-top .ww-top-case-note{margin-top:12px !important;padding-top:10px;border-top:1px dashed #e5e7eb;font-size:12.5px !important;color:#555}
.ww-top .ww-top-case-note a{color:#1f2937;text-decoration:underline dotted}
.ww-top .ww-top-case-note a:hover{color:#F28C00}
@media (max-width:991px){ .ww-top .ww-top-items{grid-template-columns:1fr} }

/* ---- Aboutへ／事例 ---- */
.ww-top .ww-top-more{margin:14px 0 0;font-size:14px}
.ww-top .ww-top-more a{color:#1f2937;text-decoration:underline dotted}
.ww-top .ww-top-more a:hover{color:#F28C00}
.ww-top .ww-top-cases{margin-top:28px}
.ww-top .ww-top-cases-l{font-size:12px;color:#888;letter-spacing:.06em;margin:0 0 10px}

/* ---- 2008年・自社開発 ---- */
.ww-top .ww-top-origin{margin:22px 0 0;padding:14px 18px;background:#fff6ec;border-radius:8px;font-size:14px;line-height:1.8;color:#333}

/* ---- 結びの導線 ---- */
.ww-top .ww-top-final{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 10px}
.ww-top .ww-top-final a{display:inline-block;padding:10px 18px;border:1px solid #e5e7eb;border-radius:9999px;background:#fff;color:#1f2937;font-size:14px;text-decoration:none}
.ww-top .ww-top-final a::after{content:" →";color:#F28C00}
.ww-top .ww-top-final a:hover{background:#fff6ec;border-color:#f5c089}

/* ---- 1件だけの事例（CMS側）：写真＋タイトルの横並び。スマホは縦積み（2026-10-04） ---- */
.ww-top .ww-top-case-wide{display:flex;align-items:center;gap:28px;padding:16px;background:#fff;border-radius:8px;color:#1f2937;text-decoration:none;transition:.15s}
.ww-top .ww-top-sec:not([style]) .ww-top-case-wide{background:#f7f7f8}
.ww-top .ww-top-case-wide:hover{box-shadow:0 2px 12px rgba(0,0,0,.08)}
.ww-top .ww-top-case-wide__img{flex:0 0 360px;max-width:360px}
.ww-top .ww-top-case-wide__img img{display:block;width:100%;height:auto;border-radius:6px}
.ww-top .ww-top-case-wide__body{flex:1 1 auto;min-width:0}
.ww-top .ww-top-case-wide__meta{margin:0 0 8px}
.ww-top .ww-top-case-wide__meta small{color:#999;margin-right:6px}
.ww-top .ww-top-case-wide__meta .label{display:inline;font-size:10.5px}
.ww-top .ww-top-case-wide__title{font-size:17px;font-weight:600;line-height:1.6;color:#111}
.ww-top .ww-top-case-wide__more{margin-top:12px;font-size:14px;color:#1f2937;text-decoration:underline dotted}
.ww-top .ww-top-case-wide__more::after{content:" →";color:#F28C00}
.ww-top .ww-top-case-wide:hover .ww-top-case-wide__more{color:#F28C00}
@media (max-width:767px){
  .ww-top .ww-top-case-wide{flex-direction:column;align-items:stretch;gap:12px}
  .ww-top .ww-top-case-wide__img{flex:none;max-width:none}
  .ww-top .ww-top-case-wide__title{font-size:15px}
}

/* ---- 会員サイト側の事例：4列目に「もっと詳しく」の案内タイル（2026-10-05） ---- */
.ww-top .ww-top-case-more{display:flex;flex-direction:column;justify-content:center;gap:10px;height:100%;min-height:200px;padding:20px;border:1px dashed #f5c089;border-radius:8px;background:#fffaf3}
.ww-top .ww-top-case-more__t{margin:0 0 4px;font-size:15px;font-weight:600;line-height:1.5;color:#111}
.ww-top .ww-top-case-more a{color:#1f2937;font-size:14px;text-decoration:underline dotted}
.ww-top .ww-top-case-more a::after{content:" →";color:#F28C00}
.ww-top .ww-top-case-more a:hover{color:#F28C00}
@media (max-width:767px){ .ww-top .ww-top-case-more{min-height:0} }

/* ---- CMS側の事例：人物写真をやめ、規模の数字を前に（2026-10-05 b） ---- */
.ww-top .ww-top-case-wide__stats{flex:0 0 auto;display:flex;gap:12px}
.ww-top .ww-top-stat{display:flex;flex-direction:column;justify-content:center;min-width:150px;padding:14px 18px;border-radius:6px;background:#fff6ec;text-align:center}
.ww-top .ww-top-stat__n{font-size:32px;font-weight:700;line-height:1.2;color:#b45309;letter-spacing:.01em}
.ww-top .ww-top-stat__n small{font-size:15px;font-weight:600;margin:0 2px}
.ww-top .ww-top-stat__l{margin-top:4px;font-size:12.5px;color:#7a3f00}
@media (max-width:767px){
  .ww-top .ww-top-case-wide__stats{gap:8px}
  .ww-top .ww-top-stat{flex:1 1 0;min-width:0;padding:10px}
  .ww-top .ww-top-stat__n{font-size:24px}
}

/* ---- CMS側の事例：数字枠もやめ、タイトル＋「事例を読む」だけの横長枠（2026-10-05 c） ---- */
.ww-top .ww-top-case-wide{justify-content:space-between;padding:18px 22px}
.ww-top .ww-top-case-wide__more{flex:0 0 auto;margin-top:0;white-space:nowrap}
@media (max-width:767px){ .ww-top .ww-top-case-wide__more{margin-top:4px} }

/* ---- カードのボタンを下端にそろえる（2026-10-05 d）：事例の一文を本文側（ボタンの上）へ移した ---- */
.ww-top .ww-top-case-note{margin-top:.6em !important;padding-top:0;border-top:none}
.ww-top .ww-top-links{margin-top:auto;padding-top:14px}

/* ---- 案内タイル：点線の枠と点線の下線を外す（2026-10-05 e） ---- */
.ww-top .ww-top-case-more{border:none}
.ww-top .ww-top-case-more a{text-decoration:none}
.ww-top .ww-top-case-more a:hover{text-decoration:underline}
