/* =========================================================================
   ASUZAC P&D  雪センサ AKS-130  業界別PRページ 共通スタイル
   namespace: .aszs-   (asz-snow / 雨センサ .asz- とは衝突しない)
   WordPress 固定ページ カスタムHTMLブロック貼付用
   ------------------------------------------------------------------------
   テーマ配色（分野ごとに body直下のラッパに .aszs-theme-xxx を付与）
     road     道路・交通インフラ … ネイビー基調
     building 建築・住宅         … スカイブルー基調
     telecom  通信・電力インフラ … ディープブルー基調
     meteo    気象・観測         … アイスブルー基調
     facility 施設・産業設備     … ストーングレー基調
   ========================================================================= */

/* ---- wpautop 対策 -------------------------------------------------------
   WordPress が自動挿入する <p> / <br> を名前空間内で無効化。
   <a> タグ内にブロック要素を置けないため HTML 側ではカード等のリンクを
   <a class="aszs-..."> 直下に <span> を並べる構造にしてある。       */
.aszs-root > p,
.aszs-root > br,
.aszs-root p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.aszs-root a > p,
.aszs-root a > br { display: none !important; }

/* ---- ルート / リセット -------------------------------------------------- */
.aszs-root {
  --aszs-navy:    #0b2545;
  --aszs-deep:    #13315c;
  --aszs-blue:    #1d6fb8;
  --aszs-sky:     #3aa0e3;
  --aszs-ice:     #9fd3ef;
  --aszs-icepale: #e8f4fb;
  --aszs-stone:   #5c6b7a;
  --aszs-stonepl: #eef1f4;
  --aszs-ink:     #16242f;
  --aszs-sub:     #5a6b78;
  --aszs-line:    #d7e3ec;
  --aszs-bg:      #f4f9fc;
  --aszs-white:   #ffffff;
  --aszs-accent:  #1d6fb8;
  --aszs-accent-d:#13315c;
  --aszs-grad:    linear-gradient(135deg, #0b2545 0%, #13315c 45%, #1d6fb8 100%);

  box-sizing: border-box;
  color: var(--aszs-ink);
  background: var(--aszs-bg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
               "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.aszs-root *,
.aszs-root *::before,
.aszs-root *::after { box-sizing: border-box; }

.aszs-root img { max-width: 100%; height: auto; display: block; }
.aszs-root a { color: inherit; text-decoration: none; }

/* ---- 分野別テーマ ------------------------------------------------------- */
.aszs-theme-road {
  --aszs-accent: #1b3a6b; --aszs-accent-d: #0b2545;
  --aszs-grad: linear-gradient(135deg,#06182f 0%,#0b2545 50%,#1b4f86 100%);
}
.aszs-theme-building {
  --aszs-accent: #2487c9; --aszs-accent-d: #14507e;
  --aszs-grad: linear-gradient(135deg,#0f3a5c 0%,#1d6fb8 55%,#5cb3ea 100%);
}
.aszs-theme-telecom {
  --aszs-accent: #155e9c; --aszs-accent-d: #0a2c4d;
  --aszs-grad: linear-gradient(135deg,#071a30 0%,#0e3a63 50%,#1f6fad 100%);
}
.aszs-theme-meteo {
  --aszs-accent: #3a8fc4; --aszs-accent-d: #1c5a82;
  --aszs-grad: linear-gradient(135deg,#15506f 0%,#2f86bb 50%,#9fd3ef 100%);
}
.aszs-theme-facility {
  --aszs-accent: #4a6577; --aszs-accent-d: #2c3e4b;
  --aszs-grad: linear-gradient(135deg,#26333d 0%,#46606f 50%,#7d96a6 100%);
}

/* ---- 中央ラッパ --------------------------------------------------------- */
.aszs-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* =========================================================================
   1. ヒーロー
   ========================================================================= */
.aszs-hero {
  position: relative;
  background: var(--aszs-grad);
  color: var(--aszs-white);
  padding: 72px 20px 84px;
  overflow: hidden;
}
.aszs-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 38%, rgba(255,255,255,.14) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 78%, rgba(255,255,255,.12) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 70%, rgba(255,255,255,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 14%, rgba(255,255,255,.10) 0 2px, transparent 3px);
  background-size: 340px 340px, 280px 280px, 320px 320px, 300px 300px, 260px 260px;
  opacity: .9;
  pointer-events: none;
}
.aszs-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 64px;
  background: var(--aszs-bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 62%);
}
.aszs-hero-inner { position: relative; max-width: 1080px; margin: 0 auto; z-index: 2; }
.aszs-hero-badge {
  display: inline-block;
  font-size: 13px; letter-spacing: .14em; font-weight: 700;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
.aszs-hero-title {
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 800; line-height: 1.3; margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.aszs-hero-title .aszs-em {
  color: var(--aszs-ice);
  display: inline-block;
}
.aszs-hero-lead {
  font-size: clamp(15px, 1.9vw, 19px);
  max-width: 760px; margin: 0 0 28px; color: rgba(255,255,255,.94);
}
.aszs-hero-model {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,.12); border-radius: 10px;
  padding: 10px 18px;
}
.aszs-hero-model b { font-size: 22px; color: var(--aszs-ice); letter-spacing: .04em; }

.aszs-hero-photo {
  margin: 30px 0 0; max-width: 520px;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.aszs-hero-photo img { width: 100%; height: auto; display: block; }

/* =========================================================================
   2. クイックリンク
   ========================================================================= */
.aszs-quick { margin: -34px auto 0; position: relative; z-index: 5; }
.aszs-quick-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  align-items: stretch;
}
.aszs-quick-grid > p { display: contents; }
.aszs-quick-grid > br { display: none; }
.aszs-quick-card {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; height: 100%;
  background: var(--aszs-white);
  border: 1px solid var(--aszs-line);
  border-radius: 14px; padding: 18px 16px 16px;
  box-shadow: 0 10px 30px rgba(11,37,69,.10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.aszs-quick-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,37,69,.18); }
.aszs-quick-card > p,
.aszs-quick-card > br,
.aszs-quick-card p:empty { display: none !important; margin: 0 !important; }
.aszs-quick-card .aszs-qnum {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--aszs-accent);
}
.aszs-quick-card .aszs-qttl { font-size: 15px; font-weight: 700; }
.aszs-quick-card .aszs-qarrow { margin-top: 6px; font-size: 13px; color: var(--aszs-sub); }

/* =========================================================================
   セクション共通
   ========================================================================= */
.aszs-section { padding: 64px 0; }
.aszs-section.aszs-alt { background: var(--aszs-white); }
.aszs-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; color: var(--aszs-accent); margin-bottom: 10px;
}
.aszs-h2 {
  font-size: clamp(22px, 3vw, 31px); font-weight: 800;
  line-height: 1.35; margin: 0 0 16px; color: var(--aszs-accent-d);
}
.aszs-h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: var(--aszs-accent); margin-top: 14px;
}
.aszs-lead { font-size: 16px; color: var(--aszs-sub); max-width: 760px; margin: 0 0 8px; }

/* =========================================================================
   3. 課題と解決
   ========================================================================= */
.aszs-ps-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px;
}
.aszs-ps-col {
  border-radius: 16px; padding: 30px 28px;
  border: 1px solid var(--aszs-line);
}
.aszs-ps-problem { background: var(--aszs-stonepl); }
.aszs-ps-solution {
  background: var(--aszs-icepale);
  border-color: color-mix(in srgb, var(--aszs-accent) 22%, white);
}
.aszs-ps-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.aszs-ps-problem .aszs-ps-label { background: #d8dee4; color: #43525e; }
.aszs-ps-solution .aszs-ps-label { background: var(--aszs-accent); color: #fff; }
.aszs-ps-list { list-style: none; margin: 0; padding: 0; }
.aszs-ps-list li {
  position: relative; padding: 10px 0 10px 30px; font-size: 15px;
  border-bottom: 1px dashed var(--aszs-line);
}
.aszs-ps-list li:last-child { border-bottom: 0; }
.aszs-ps-problem .aszs-ps-list li::before {
  content: "!"; position: absolute; left: 0; top: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #b0bcc6; color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.aszs-ps-solution .aszs-ps-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--aszs-accent); color: #fff; font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================================
   4. 5つの特長
   ========================================================================= */
.aszs-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px;
  align-items: start;
}
.aszs-feat-grid > p { display: contents; }
.aszs-feat-grid > br { display: none; }
.aszs-feat-card {
  background: var(--aszs-white); border: 1px solid var(--aszs-line);
  border-radius: 16px; padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aszs-feat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(11,37,69,.14); }
.aszs-feat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--aszs-accent);
}
.aszs-feat-num {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--aszs-accent); margin-bottom: 10px;
}
.aszs-feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--aszs-icepale); color: var(--aszs-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.aszs-feat-icon svg { width: 28px; height: 28px; }
.aszs-feat-ttl { font-size: 17px; font-weight: 800; margin: 0 0 8px; color: var(--aszs-accent-d); }
.aszs-feat-desc { font-size: 14px; color: var(--aszs-sub); margin: 0; }

/* span 化されたカード内テキスト（wpautop 対策）を段落のように見せる */
.aszs-feat-desc span,
.aszs-ps-list span,
.aszs-scene-cap span { display: block; }

/* =========================================================================
   5. 活用シーン（4枚）
   ========================================================================= */
.aszs-scene-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px;
  align-items: start;
}
.aszs-scene-grid > p { display: contents; }
.aszs-scene-grid > br { display: none; }
.aszs-scene-card {
  background: var(--aszs-white); border: 1px solid var(--aszs-line);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aszs-scene-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,37,69,.16); }
.aszs-scene-fig {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: var(--aszs-grad);
}
.aszs-scene-fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aszs-scene-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aszs-scene-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: rgba(255,255,255,.92); color: var(--aszs-accent-d);
  padding: 4px 10px; border-radius: 999px;
}
.aszs-scene-body { padding: 16px 16px 18px; }
.aszs-scene-ttl { font-size: 15px; font-weight: 800; margin: 0 0 6px; color: var(--aszs-accent-d); }
.aszs-scene-cap { font-size: 13px; color: var(--aszs-sub); margin: 0; }

/* =========================================================================
   6. 製品仕様
   ========================================================================= */
.aszs-spec-wrap { margin-top: 34px; display: flex; flex-direction: column; gap: 28px; }
.aszs-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--aszs-white); }
.aszs-spec-table caption {
  text-align: left; font-weight: 800; color: var(--aszs-accent-d);
  padding-bottom: 10px; font-size: 15px;
}
.aszs-spec-table th, .aszs-spec-table td {
  border: 1px solid var(--aszs-line); padding: 11px 14px; text-align: left; vertical-align: top;
}
.aszs-spec-table th {
  background: var(--aszs-icepale); color: var(--aszs-accent-d);
  font-weight: 700; white-space: nowrap; width: 38%;
}
.aszs-spec-note { font-size: 12px; color: var(--aszs-sub); margin: 10px 0 0; }

.aszs-spec-figure {
  margin-top: 22px; background: var(--aszs-white);
  border: 1px solid var(--aszs-line); border-radius: 12px;
  padding: 18px; text-align: center;
}
.aszs-spec-figure img { display: inline-block; max-width: 100%; width: auto; max-height: 320px; height: auto; }
.aszs-spec-figure figcaption { font-size: 12px; color: var(--aszs-sub); margin-top: 10px; }

.aszs-spec-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aszs-spec-highlights > p { display: contents; }
.aszs-spec-highlights > br { display: none; }
.aszs-spec-pill {
  background: var(--aszs-white); border: 1px solid var(--aszs-line);
  border-left: 5px solid var(--aszs-accent);
  border-radius: 10px; padding: 16px 18px;
}
.aszs-spec-pill .aszs-spk { font-size: 12px; color: var(--aszs-sub); font-weight: 700; letter-spacing: .04em; }
.aszs-spec-pill .aszs-spv { font-size: 18px; font-weight: 800; color: var(--aszs-accent-d); }
.aszs-spec-pill .aszs-spv small { font-size: 12px; font-weight: 600; color: var(--aszs-sub); }

/* =========================================================================
   7. CTA
   ========================================================================= */
.aszs-cta {
  background: var(--aszs-grad); color: #fff; border-radius: 22px;
  padding: 48px 40px; margin: 60px auto; max-width: 1080px;
  position: relative; overflow: hidden;
}
.aszs-cta::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.aszs-cta-inner { position: relative; z-index: 2; }
.aszs-cta h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; margin: 0 0 10px; }
.aszs-cta p { margin: 0 0 26px; font-size: 15px; color: rgba(255,255,255,.92); }
.aszs-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.aszs-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 15px; border-radius: 999px;
  padding: 14px 28px; transition: transform .15s ease, box-shadow .15s ease;
}
.aszs-btn svg { width: 18px; height: 18px; }
.aszs-btn-primary { background: #fff; color: var(--aszs-accent-d) !important; }
.aszs-btn-primary svg { color: var(--aszs-accent-d); }
.aszs-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.aszs-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.aszs-btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.aszs-cta-tel {
  margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.9);
}
.aszs-cta-tel b { font-size: 20px; color: #fff; letter-spacing: .04em; }

/* =========================================================================
   8. 関連リンクカード
   ========================================================================= */
.aszs-rel { padding-bottom: 72px; }
.aszs-rel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: start; gap: 18px; margin-top: 30px;
}
/* wpautop がグリッド内に生成する p がカードを包んでも、p を透過させて
   中のカードを直接グリッドアイテムとして扱わせる（ジグザグ崩れ防止） */
.aszs-rel-grid > p { display: contents; }
.aszs-rel-grid > br { display: none; }
.aszs-rel-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  background: var(--aszs-white); border: 1px solid var(--aszs-line);
  border-radius: 14px; padding: 22px 22px 20px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* wpautop がカードリンク内に挿入する p / br を確実に無効化 */
.aszs-rel-card > p,
.aszs-rel-card > br,
.aszs-rel-card p:empty { display: none !important; margin: 0 !important; }
.aszs-rel-card:hover {
  transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11,37,69,.14);
  border-color: var(--aszs-accent);
}
.aszs-rel-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--aszs-icepale); color: var(--aszs-accent);
  display: flex; align-items: center; justify-content: center;
}
.aszs-rel-ic svg { width: 24px; height: 24px; }
.aszs-rel-ttl { font-size: 15px; font-weight: 800; color: var(--aszs-accent-d); }
.aszs-rel-desc { font-size: 13px; color: var(--aszs-sub); }
.aszs-rel-go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--aszs-accent); }

/* =========================================================================
   業界ナビ（他分野ページへの相互リンク）
   ========================================================================= */
.aszs-navsec { background: var(--aszs-white); padding: 50px 0 64px; }
.aszs-nav-grid { display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; gap: 12px; margin-top: 24px; }
.aszs-nav-grid > p { display: contents; }
.aszs-nav-grid > br { display: none; }
.aszs-nav-card {
  display: flex; flex-direction: column; gap: 6px; text-align: center;
  justify-content: center; height: 100%;
  border: 1px solid var(--aszs-line); border-radius: 12px; padding: 18px 12px;
  font-size: 13px; font-weight: 700; color: var(--aszs-accent-d);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.aszs-nav-card:hover { background: var(--aszs-accent); color: #fff; transform: translateY(-3px); }
.aszs-nav-card > p,
.aszs-nav-card > br,
.aszs-nav-card p:empty { display: none !important; margin: 0 !important; }
.aszs-nav-card .aszs-nav-ic { font-size: 22px; }
.aszs-nav-card.aszs-current {
  background: var(--aszs-accent-d); color: #fff; pointer-events: none;
}

/* =========================================================================
   レスポンシブ
   ========================================================================= */
@media (max-width: 900px) {
  .aszs-feat-grid  { grid-template-columns: repeat(2, 1fr); }
  .aszs-scene-grid { grid-template-columns: repeat(2, 1fr); }
  .aszs-ps-grid    { grid-template-columns: 1fr; }
  .aszs-spec-highlights { grid-template-columns: repeat(2, 1fr); }
  .aszs-rel-grid   { grid-template-columns: 1fr 1fr; }
  .aszs-nav-grid   { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .aszs-root { font-size: 15px; }
  .aszs-section { padding: 48px 0; }
  .aszs-quick-grid { grid-template-columns: 1fr; }
  .aszs-feat-grid  { grid-template-columns: 1fr; }
  .aszs-scene-grid { grid-template-columns: 1fr; }
  .aszs-rel-grid   { grid-template-columns: 1fr; }
  .aszs-nav-grid   { grid-template-columns: repeat(2, 1fr); }
  .aszs-cta { padding: 36px 24px; border-radius: 16px; }
  .aszs-hero { padding: 56px 18px 72px; }
}
