/* =========================================================
   WEBシステム構築 LP（necfru 既存サイトに馴染ませる版）
   scope: main.websys
   ========================================================= */

main.websys{
  --bg:#ffffff;
  --panel:#ffffff;
  --panel2:#f6f8ff;
  --text:#0b1020;
  --muted:#475569;
  --line:rgba(11,16,32,.12);
  --accent:#004DF4;
  --accent2:#FFF500;
  --warn:#b45309;
  --shadow: 0 18px 40px rgba(15,23,42,.10);
  --radius:16px;
  --radius2:22px;
  color:var(--text);
}



/* 基本 */
main.websys *{box-sizing:border-box;}


main.websys a{text-underline-offset:4px;}


main.websys a:hover{opacity:.92;}


main.websys .lead,
main.websys p,
main.websys li{letter-spacing:.02em;}



/* Hero */
main.websys .hero{
  padding:72px 0 56px;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(0,77,244,.12), transparent 55%),
    radial-gradient(800px 450px at 95% 20%, rgba(255,245,0,.14), transparent 50%),
    linear-gradient(180deg, rgba(0,77,244,.06), rgba(255,255,255,0) 70%);
  border-bottom:1px solid var(--line);
}



main.websys .hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:32px;
  align-items:start;
}

@media (max-width: 900px) {
main.websys .hero{padding:56px 0 44px;}

  main.websys .hero__grid{grid-template-columns:1fr; gap:22px;}
}



main.websys .badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,77,244,.18);
  background:rgba(0,77,244,.06);
  color:var(--text);
  font-weight:700;
  font-size:13px;
}



main.websys .badge b{color:var(--accent);}



main.websys .h1{
  font-size:42px;
  line-height:1.18;
  margin:16px 0 12px;
  font-weight:800;
  letter-spacing:-.02em;
  color: var(--c-headings);;
}

@media (max-width: 520px) {
main.websys .h1{font-size:32px;}
}



main.websys .lead{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.9;
  font-size:16px;
}



main.websys .tagrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 10px;
}



main.websys .tag{
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  color:var(--muted);
}



main.websys .tag strong{color:var(--text); font-weight:800;}



main.websys .hero__cta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:14px;
}



main.websys .hero__dl{
  font-size:13px;
  color:var(--muted);
  text-decoration:underline;
}



main.websys .btn--ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(0,77,244,.35);
  color:var(--accent);
  background:transparent;
  font-weight:800;
  text-decoration:none;
}


main.websys .btn--ghost:hover{background:rgba(0,77,244,.06);}



/* Side card in hero */
main.websys .card{
  border:1px solid rgba(0,77,244,.18);
  background:linear-gradient(180deg, rgba(0,77,244,.06), rgba(255,255,255,.92));
  border-radius:var(--radius2);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
  overflow:hidden;
}



main.websys .card__in{padding:20px 20px 12px;}


main.websys .card__title{
  margin:0 0 10px;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.01em;
}


main.websys .card__p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}



main.websys .callout{
  margin-top:14px;
  border-top:1px dashed rgba(0,77,244,.25);
  padding-top:14px;
}


main.websys .callout__t{
  font-size:13px;
  font-weight:900;
  margin:0 0 6px;
  color:var(--text);
}


main.websys .callout__p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.85;
}



main.websys .ctaBox{
  padding:14px 20px 18px;
  background:rgba(255,255,255,.75);
  border-top:1px solid rgba(0,77,244,.14);
}


main.websys .ctaBox__row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:10px;
}


main.websys .ctaBox__note{
  margin:0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.75;
}


main.websys .pill{
  display:inline-flex;
  margin-top:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}


main.websys .pill:hover{background:rgba(0,77,244,.04);}



/* Sections */
main.websys .section{padding:64px 0;}


main.websys .section:nth-of-type(even){background:linear-gradient(180deg, rgba(246,248,255,.9), rgba(255,255,255,0));}



main.websys .section__head{margin-bottom:22px;}


main.websys .h2{
  margin:0 0 8px;
  font-size:26px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.01em;
}


main.websys .sub{
  margin:0;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}



/* Cards grids */
main.websys .grid,
main.websys .grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

@media (max-width: 920px) {
main.websys .grid,
  main.websys .grid3{grid-template-columns:1fr; gap:12px;}
}


main.websys .two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

@media (max-width: 920px) {
main.websys .two{grid-template-columns:1fr;}
}



main.websys .box{
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}


main.websys .box h3{
  margin:0 0 8px;
  font-size:16px;
  font-weight:900;
}


main.websys .box p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}



/* Split（テキストだらけ回避のための“非フル幅”ビジュアル挿入） */
main.websys .splitRow{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:start;
}


main.websys .splitRow--flip{ grid-template-columns: .85fr 1.15fr; }

@media (max-width: 980px) {
main.websys .splitRow,
  main.websys .splitRow--flip{ grid-template-columns:1fr; }
}


main.websys .mediaCard{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  overflow:hidden;
  background:linear-gradient(180deg, rgba(246,248,255,.9), rgba(255,255,255,.95));
  box-shadow:0 14px 28px rgba(15,23,42,.08);
}


main.websys .mediaCard img{
  display:block;
  width:100%;
  height:auto;
}


main.websys .mediaCard__cap{
  margin:0;
  padding:10px 12px;
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  border-top:1px solid rgba(11,16,32,.10);
  background:rgba(255,255,255,.88);
}



/* Range split 内では KPI を読みやすい 2 列へ */
main.websys .rangeSplit .kpi{ grid-template-columns: repeat(2, 1fr); }

@media (max-width: 520px) {
main.websys .rangeSplit .kpi{ grid-template-columns: 1fr; }
}



/* KPI */
main.websys .kpi{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:12px;
}

@media (max-width: 1080px) {
main.websys .kpi{grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 520px) {
main.websys .kpi{grid-template-columns:1fr;}
}


main.websys .kpi__item{
  border:1px solid var(--line);
  background:var(--panel2);
  border-radius:var(--radius);
  padding:14px;
}


main.websys .kpi__label{
  margin:0;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}


main.websys .kpi__value{
  margin:8px 0 0;
  font-size:18px;
  font-weight:900;
  color:var(--text);
  letter-spacing:-.01em;
}


main.websys .kpi__hint{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.65;
}



/* Flow */
main.websys .flow{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top:14px;
}

@media (max-width: 920px) {
main.websys .flow{grid-template-columns:1fr;}
}


main.websys .flow__item{
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius);
  padding:14px;
  position:relative;
}


main.websys .flow__item:before{
  content:"";
  position:absolute; inset:0;
  border-radius:var(--radius);
  pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(0,77,244,.05);
}


main.websys .flow__t{
  margin:0 0 6px;
  font-weight:900;
  font-size:14px;
}


main.websys .flow__p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.75;
}



/* List */
main.websys .list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}


main.websys .li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
}


main.websys .dot{
  width:10px;
  height:10px;
  margin-top:7px;
  border-radius:50%;
  background:var(--accent);
  flex:0 0 auto;
}



/* FAQ */
main.websys .faq{padding-bottom:80px;}


main.websys .faq details{
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:14px 16px;
  margin:12px 0 0;
}


main.websys .faq summary{
  cursor:pointer;
  font-weight:900;
  font-size:15px;
  list-style:none;
}


main.websys .faq summary::-webkit-details-marker{display:none;}


main.websys .faq details p{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
}


main.websys .faq details[open]{
  box-shadow:0 14px 28px rgba(15,23,42,.06);
}



/* Small polish */
main.websys b{font-weight:900;}


main.websys .section a{font-weight:800;}



  

/* =========================================================
   P0 追記（可読性＋最低限の視覚要素）
   - 文字だけ感を減らしつつ、necfruのトーンは崩さない
   ========================================================= */


/* P0: 見出しにアクセント（左バー） */
main.websys .h2{
  position:relative;
  padding-left:14px;
}


main.websys .h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.25em;
  width:5px;
  height:1.05em;
  border-radius:999px;
  background:linear-gradient(180deg, var(--accent), rgba(0,77,244,.25));
}



/* P0: ページ内ナビ（目次） */
main.websys{ --stickyTop: 64px; }


main.websys section[id]{ scroll-margin-top: calc(var(--stickyTop) + 24px); }


main.websys .websysSubnav{
  position:sticky;
  top:var(--stickyTop);
  z-index:30;
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}


main.websys .websysSubnav__in{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 0;
}


main.websys .websysSubnav__label{
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
  color:var(--muted);
  text-transform:uppercase;
  white-space:nowrap;
}


main.websys .websysSubnav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}


main.websys .websysSubnav__link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(0,77,244,.18);
  background:rgba(0,77,244,.04);
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  color:var(--text);
}


main.websys .websysSubnav__link:hover{ background:rgba(0,77,244,.08); }


main.websys .miniDot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(0,77,244,.10);
}

@media (max-width: 900px) {
main.websys{ --stickyTop: 66px; }

  main.websys .websysSubnav__label{ display:none; }

  main.websys .websysSubnav__in{ padding:10px 0; }
}



/* P0: 小見出し（このページ専用） */
main.websys .h3{
  margin:0 0 6px;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.01em;
}


main.websys .note{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
}



/* P0: 技術セクションのカードにアイコン（#tech のみ） */
main.websys #tech .box h3{
  display:flex;
  align-items:center;
  gap:10px;
}


main.websys #tech .box h3::before{
  content:"";
  width:36px;
  height:36px;
  border-radius:12px;
  flex:0 0 auto;
  background-color: rgba(0,77,244,.08);
  border:1px solid rgba(0,77,244,.14);
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px;
}


main.websys #tech .grid3 .box:nth-child(1) h3::before{ background-image:url("/assets/images/products/website/icon-server.svg"); }


main.websys #tech .grid3 .box:nth-child(2) h3::before{ background-image:url("/assets/images/products/website/icon-security.svg"); }


main.websys #tech .grid3 .box:nth-child(3) h3::before{ background-image:url("/assets/images/products/website/icon-meter.svg"); }


main.websys #tech .two .box:nth-child(1) h3::before{ background-image:url("/assets/images/products/website/icon-user.svg"); }


main.websys #tech .two .box:nth-child(2) h3::before{ background-image:url("/assets/images/products/website/icon-s.svg"); }



/* P0: 実績KPIにアイコン（#range のみ） */
main.websys #range .kpi__item{
  position:relative;
  padding:14px 14px 14px 56px;
}


main.websys #range .kpi__item::before{
  content:"";
  position:absolute;
  left:14px;
  top:14px;
  width:32px;
  height:32px;
  border-radius:12px;
  background-color: rgba(0,77,244,.08);
  border:1px solid rgba(0,77,244,.14);
  background-repeat:no-repeat;
  background-position:center;
  background-size:18px 18px;
}


main.websys #range .kpi__item:nth-child(1)::before{ background-image:url("/assets/images/products/website/icon-user.svg"); }


main.websys #range .kpi__item:nth-child(2)::before{ background-image:url("/assets/images/products/website/icon-meter.svg"); }


main.websys #range .kpi__item:nth-child(3)::before{ background-image:url("/assets/images/products/website/icon-circle.svg"); }


main.websys #range .kpi__item:nth-child(4)::before{ background-image:url("/assets/images/products/website/icon-windows.svg"); }



/* P0: 代表的な構築領域（case cards） */
main.websys .casegridWrap{
  margin:16px 0 0;
  padding:18px 18px 16px;
  border-radius:var(--radius2);
  border:1px solid rgba(0,77,244,.16);
  background:linear-gradient(180deg, rgba(0,77,244,.06), rgba(255,255,255,.92));
}


main.websys .casegrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin-top:12px;
}

@media (max-width: 900px) {
main.websys .casegrid{ grid-template-columns:1fr; }
}


main.websys .case{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 14px 12px;
  box-shadow:0 10px 20px rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}


main.websys .case:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 32px rgba(15,23,42,.10);
}


main.websys .case__icon{
  width:40px;
  height:40px;
  border-radius:14px;
  background-color: rgba(0,77,244,.08);
  border:1px solid rgba(0,77,244,.14);
  background-repeat:no-repeat;
  background-position:center;
  background-size:20px 20px;
  margin-bottom:10px;
}


main.websys .case__icon[data-ico="users"]{ background-image:url("/assets/images/products/website/icon-user.svg"); }


main.websys .case__icon[data-ico="layout"]{ background-image:url("/assets/images/products/website/icon-windows.svg"); }


main.websys .case__icon[data-ico="db"]{ background-image:url("/assets/images/products/website/icon-circle.svg"); }


main.websys .case__icon[data-ico="workflow"]{ background-image:url("/assets/images/products/website/icon-block.svg"); }


main.websys .case__icon[data-ico="link"]{ background-image:url("/assets/images/products/website/icon-s.svg"); }


main.websys .case__icon[data-ico="spark"]{ background-image:url("/assets/images/products/website/icon-thunder.svg"); }


main.websys .case__ttl{
  margin:0 0 6px;
  font-size:14px;
  font-weight:900;
  line-height:1.35;
}


main.websys .case__p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.75;
}





/* P0+: 実績レンジ内の「構成イメージ図」（SVG） */
main.websys .archCard{
  margin:16px auto 0;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius2);
  padding:14px 14px 12px;
  box-shadow:0 12px 24px rgba(15,23,42,.06);
}


main.websys .archCard__cap{
  margin:0 0 10px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
}


main.websys .archCard__cap::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:4px;
  background:rgba(0,77,244,.12);
  border:1px solid rgba(0,77,244,.22);
}


main.websys .archSvg{
  display:block;
  width:100%;
  height:auto;
}


main.websys .archCard__grid{
  display:grid;
  grid-template-columns: 1.22fr .78fr;
  gap:14px;
  align-items:start;
}

@media (max-width: 980px) {
main.websys .archCard__grid{ grid-template-columns:1fr; }
}


main.websys .archAside{
  border:1px solid rgba(0,77,244,.16);
  background:linear-gradient(180deg, rgba(0,77,244,.04), rgba(255,255,255,.96));
  border-radius:18px;
  padding:12px;
}


main.websys .archAside__label{
  margin:0 0 10px;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
}


main.websys .archAside__label::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:4px;
  background:rgba(0,77,244,.12);
  border:1px solid rgba(0,77,244,.22);
}


main.websys .archAside__img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
  border:1px solid rgba(11,16,32,.12);
  background:#fff;
}


main.websys .archAside__note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.75;
}


main.websys .archCard__note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.75;
}



/* P0: 進行イメージ（steps） */
main.websys .stepsWrap{
  margin:16px 0 18px;
  padding:18px 18px 16px;
  border-radius:var(--radius2);
  border:1px solid rgba(0,77,244,.16);
  background: rgba(255,245,0,.12);
}


main.websys .steps{
  list-style:none;
  margin:12px 0 0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

@media (max-width: 900px) {
main.websys .steps{ grid-template-columns:1fr; }
}


main.websys .step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 20px rgba(15,23,42,.06);
}


main.websys .step__n{
  width:34px;
  height:34px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:var(--accent);
  background:rgba(0,77,244,.10);
  border:1px solid rgba(0,77,244,.16);
  flex:0 0 auto;
}


main.websys .step__t{
  font-weight:900;
  font-size:13px;
  margin:0;
}


main.websys .step__p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}



/* P0: 進めやすいポイントの「点」をチェックに変更（#delivery のみ） */
main.websys #delivery .dot{
  width:22px;
  height:22px;
  margin-top:2px;
  border-radius:999px;
  background-color: rgba(0,77,244,.08);
  border:1px solid rgba(0,77,244,.16);
  background-image:url("/assets/images/products/website/icon-check.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:14px 14px;
}


main.websys #delivery .li{ border-left:3px solid rgba(0,77,244,.14); }



/* P0: FAQの開閉アイコン（+ / -） */
main.websys #faq summary{
  list-style:none;
  position:relative;
  padding-right:44px;
}


main.websys #faq summary::-webkit-details-marker{ display:none; }


main.websys #faq summary::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:12px;
  background-color: rgba(0,77,244,.08);
  border:1px solid rgba(0,77,244,.16);
  background-image:url("/assets/images/products/website/icon-plus.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:16px 16px;
}


main.websys #faq details[open] summary::after{
  background-image:url("/assets/images/products/website/icon-minus.svg");
}



/* アクセシビリティ: モーション控えめ（OS設定尊重） */
@media (prefers-reduced-motion: reduce){
  main.websys *{ transition:none !important; scroll-behavior:auto !important; }
}
