/* 「AI開発ってなに？」ページ専用 (.aiwrap の中だけに効く) */
.aiwrap { --navy-950: #1c2e4c; --navy-900: #22375a; --navy-800: #2a4470; --blue-700: var(--brand); --blue-600: var(--brand); --blue-500: var(--steel); --cyan-400: var(--steel);
  --good: #2f8a5b; --warn: #b7791f; --bad: #c24132; --ink: #1f2a3a; --ink-soft: #55657b; --ink-faint: #8a97a6; --paper: #fff; --paper-soft: var(--sky); --line: #dbe5ef; --radius: 20px; --font-jp: var(--font-body); }
.aiwrap section { padding-block: 80px; }
.aiwrap section.alt { background: var(--paper); border-radius: 48px; }
.aiwrap section.summary { background: var(--navy); color: #fff; border-radius: 48px; position: relative; overflow: hidden; }
.aiwrap .sec-title { font-family: var(--font-display); font-weight: 900; color: var(--brand); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.5; }
.aiwrap .summary .sec-title { color: #fff; }
.aiwrap .sec-lead { margin-top: 14px; color: var(--ink-soft); }
.aiwrap .card { border-radius: 22px; }
.aiwrap ul { list-style: none; padding: 0; }
.aiwrap h3, .aiwrap h4 { font-family: var(--font-display); }
.aiwrap .badge { position: static; transform: none; box-shadow: none; top: auto; right: auto; color: var(--brand); font: inherit; }
.aiwrap .compare { display: table; margin-top: 0; }
.aiwrap .faq-list details { background: #fff; color: var(--ink); border-radius: 14px; }
.aiwrap .faq-list summary::before, .aiwrap .faq-list summary::after { content: none; }
.aiwrap .sec-label{
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: .24em; color: var(--blue-600); margin-bottom: 14px;
  }
.aiwrap .sec-label.warn-label{ color: var(--warn); }
.aiwrap .sec-title{ font-size: clamp(23px, 3.2vw, 32px); font-weight: 800; line-height: 1.5; letter-spacing: .02em; }
.aiwrap .sec-lead{ margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.aiwrap .sec-lead strong, .aiwrap .card p strong, .aiwrap .callout strong, .aiwrap .check strong{ color: var(--ink); }
.aiwrap .card{
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px 28px;
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
  }
.aiwrap .card + .card{ margin-top: 16px; }
.aiwrap .card h3{ font-size: 16.5px; font-weight: 800; line-height: 1.5; margin-bottom: 8px; word-break: keep-all; overflow-wrap: break-word; }
.aiwrap .card p{ font-size: 14px; color: var(--ink-soft); }
.aiwrap .grid2{ margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aiwrap .grid2 .card{ margin-top: 0; }
@media (max-width: 720px){.aiwrap .grid2{ grid-template-columns: 1fr; }
}
.aiwrap .callout{
    margin-top: 36px;
    background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(34,211,238,.08));
    border: 1px solid rgba(37,99,235,.25);
    border-radius: var(--radius);
    padding: 26px 30px; font-size: 14.5px; line-height: 2;
  }
.aiwrap .callout b, .aiwrap .callout strong{ color: var(--blue-700); }
.aiwrap .callout.warn{
    background: linear-gradient(135deg, rgba(217,119,6,.06), rgba(217,119,6,.1));
    border-color: rgba(217,119,6,.3);
  }
.aiwrap .callout.warn b, .aiwrap .callout.warn strong{ color: var(--warn); }
@media (max-width: 560px){.aiwrap .callout{ padding: 20px 20px; }
}
.aiwrap .check{ display: grid; gap: 10px; margin-top: 14px; }
.aiwrap .check li{
    position: relative; padding-left: 30px;
    font-size: 14.5px; color: var(--ink-soft);
  }
.aiwrap .check li::before{
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 21px; height: 21px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
    color: #fff; font-size: 12px; font-weight: 800;
    display: grid; place-items: center; margin-top: 4px;
  }
.aiwrap .table-scroll{ margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.aiwrap .compare{
    width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0;
    background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
    font-size: 13.5px;
  }
.aiwrap .compare th, .aiwrap .compare td{
    padding: 16px 18px; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--line); line-height: 1.7;
  }
.aiwrap .compare tr:last-child th, .aiwrap .compare tr:last-child td{ border-bottom: none; }
.aiwrap .compare thead th{
    background: #fafbfe; font-size: 12.5px; font-weight: 700; color: var(--ink);
    border-bottom: 2px solid var(--line);
  }
.aiwrap .compare tbody th{ width: 21%; background: #fafbfe; color: var(--ink-faint); font-weight: 600; white-space: nowrap; }
.aiwrap .compare td.col-fear{ background: rgba(225,29,72,.045); color: #9f1239; }
.aiwrap .compare td.col-ours{ background: rgba(5,150,105,.05); color: #065f46; font-weight: 600; }
.aiwrap .compare td u{ text-decoration-color: rgba(5,150,105,.5); text-underline-offset: 3px; }
.aiwrap .boxflow{ margin-top: 36px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.aiwrap .boxstep{
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 24px; text-align: center;
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
  }
.aiwrap .boxstep .boxnum{ font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: var(--blue-600); }
.aiwrap .boxstep .boxico{ font-size: 38px; margin: 12px 0 8px; }
.aiwrap .boxstep h4{ font-size: 16.5px; font-weight: 800; }
.aiwrap .boxstep p{ margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.aiwrap .boxpill{
    display: inline-block; margin-top: 14px;
    font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  }
.aiwrap .boxpill.empty{ color: var(--ink-faint); background: rgba(148,163,184,.15); border: 1px dashed var(--ink-faint); }
.aiwrap .boxpill.data{ color: var(--good); background: rgba(5,150,105,.08); border: 1px solid rgba(5,150,105,.35); }
.aiwrap .boxarrow{ align-self: center; font-size: 22px; color: var(--blue-500); }
@media (max-width: 720px){.aiwrap .boxflow{ grid-template-columns: 1fr; }
.aiwrap .boxarrow{ transform: rotate(90deg); text-align: center; }
}
.aiwrap .tools{ margin-top: 36px; display: grid; gap: 16px; }
.aiwrap .tool{
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px 26px;
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
  }
.aiwrap .tool .badge{
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(34,211,238,.12));
    display: grid; place-items: center; font-size: 25px;
  }
.aiwrap .tool .what{ font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--blue-600); }
.aiwrap .tool h4{ font-size: 16px; font-weight: 800; margin: 2px 0 6px; }
.aiwrap .tool p{ font-size: 13.5px; color: var(--ink-soft); }
.aiwrap .hflow{ margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.aiwrap .hflow.cols3{ grid-template-columns: repeat(3, 1fr); }
.aiwrap .hstep{
    position: relative;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: 14px; padding: 20px 16px; text-align: center;
    box-shadow: 0 4px 20px rgba(15,23,42,.05);
  }
.aiwrap .hstep .ico{ font-size: 28px; }
.aiwrap .hstep .name{ font-weight: 800; font-size: 14px; margin-top: 8px; }
.aiwrap .hstep .role{ font-size: 12px; color: var(--ink-soft); margin-top: 4px; line-height: 1.7; }
.aiwrap .hstep:not(:last-child)::after{
    content: "▶"; position: absolute; right: -13px; top: 50%;
    transform: translateY(-50%); font-size: 10px; color: var(--blue-500); z-index: 1;
  }
@media (max-width: 720px){.aiwrap .hflow, .aiwrap .hflow.cols3{ grid-template-columns: 1fr; }
.aiwrap .hstep:not(:last-child)::after{
      content: "▼"; right: auto; left: 50%; top: auto; bottom: -21px;
      transform: translateX(-50%);
    }
}
.aiwrap .risk{
    display: inline-block; font-size: 11.5px; font-weight: 700;
    padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
  }
.aiwrap .risk.mid{ color: var(--warn); background: rgba(217,119,6,.09); }
.aiwrap .risk.bad{ color: var(--bad); background: rgba(225,29,72,.08); }
.aiwrap .risk.ok{ color: var(--good); background: rgba(5,150,105,.09); }
.aiwrap .boxico{ color: var(--blue-600); }
.aiwrap .hstep .ico{ color: var(--blue-600); }
.aiwrap .boxico svg{ width: 40px; height: 40px; }
.aiwrap .tool .badge svg{ width: 26px; height: 26px; color: var(--blue-600); }
.aiwrap .hstep .ico svg{ width: 30px; height: 30px; }
.aiwrap h3 .lni svg{ width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .32em; color: var(--blue-600); }
.aiwrap .risk .lni svg{ width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .2em; }
.aiwrap .boxico svg, .aiwrap .tool .badge svg, .aiwrap .hstep .ico svg, .aiwrap .lni svg{ fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aiwrap .card.edge-warn{ border-left: 5px solid var(--warn); }
.aiwrap .card.edge-good{ border-left: 5px solid var(--good); }
.aiwrap .phase-tag{ font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--ink-faint); }
.aiwrap .phase-tag.now{ color: var(--good); }
.aiwrap .faq-list{ margin-top: 36px; display: grid; gap: 14px; }
.aiwrap .faq-item{
    background: #fff; border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden;
    transition: box-shadow .25s;
  }
.aiwrap .faq-item[open]{ box-shadow: 0 8px 24px rgba(15,23,42,.07); }
.aiwrap .faq-item summary{
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 14px;
    padding: 19px 22px; font-weight: 700; font-size: 14.5px; line-height: 1.6;
  }
.aiwrap .faq-item summary::-webkit-details-marker{ display: none; }
.aiwrap .faq-q{
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
    color: #fff; display: grid; place-items: center;
    font-size: 13px; font-weight: 800;
  }
.aiwrap .faq-item summary .toggle{ margin-left: auto; color: var(--ink-faint); font-size: 18px; transition: transform .25s; flex-shrink: 0; }
.aiwrap .faq-item[open] summary .toggle{ transform: rotate(45deg); }
.aiwrap .faq-a{ padding: 0 22px 20px 66px; font-size: 14px; color: var(--ink-soft); }
.aiwrap .faq-a .table-scroll{ margin-top: 14px; }
@media (max-width: 560px){.aiwrap .faq-a{ padding-left: 22px; }
}
.aiwrap .note{ margin-top: 16px; font-size: 12.5px; color: var(--ink-faint); }
.aiwrap .summary{ background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.aiwrap .summary::before{
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(800px 400px at 90% 10%, rgba(37,99,235,.25), transparent 60%);
  }
.aiwrap .summary .sec-label{ color: var(--cyan-400); }
.aiwrap .summary .card{
    background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12);
    box-shadow: none; margin-top: 36px;
  }
.aiwrap .summary .check li{ color: rgba(255,255,255,.75); font-size: 15px; }
.aiwrap .summary .check strong{ color: #fff; }
.aiwrap .summary .sec-lead{ color: rgba(255,255,255,.6); }
.aiwrap .btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 999px;
    font-size: 15px; font-weight: 700; letter-spacing: .02em;
    transition: transform .2s, box-shadow .2s, background .2s;
  }
.aiwrap .btn-primary{
    background: linear-gradient(135deg, var(--blue-600), #3b76f6);
    color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,.4);
  }
.aiwrap .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,99,235,.5); }
.aiwrap .btn-ghost{ border: 1px solid rgba(255,255,255,.35); color: #fff; }
.aiwrap .btn-ghost:hover{ background: rgba(255,255,255,.08); transform: translateY(-2px); }
.aiwrap .cta-actions{ margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.aiwrap .card, .aiwrap .tool, .aiwrap .hstep, .aiwrap .boxstep, .aiwrap .strength, .aiwrap .step{ min-width: 0; }
.aiwrap .card-grid > *, .aiwrap .grid2 > *, .aiwrap .tools > *, .aiwrap .hflow > *, .aiwrap .flow-steps > *, .aiwrap .strength-grid > *{ min-width: 0; }
@media (max-width: 380px){.aiwrap .card{ padding: 24px 20px; }
.aiwrap .callout{ padding: 20px 18px; }
}
.aiwrap .card, .aiwrap .tool, .aiwrap .hstep, .aiwrap .boxstep, .aiwrap .strength{ transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.aiwrap .card:hover, .aiwrap .tool:hover, .aiwrap .hstep:hover, .aiwrap .boxstep:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,.11); }
.aiwrap .card-icon, .aiwrap .strength-head .ic, .aiwrap .tool .badge, .aiwrap .explain-icon{ transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.aiwrap .card:hover .card-icon, .aiwrap .tool:hover .badge{ transform: scale(1.12) rotate(-5deg); }
.aiwrap .explain-icon{ animation: floaty 4.5s ease-in-out infinite; }
.aiwrap .btn{ will-change: transform; }
@media (prefers-reduced-motion: reduce){.aiwrap .explain-icon{ animation: none !important; }
}
