
/* ===== 2026-10-29 ブラッシュアップ案：問い合わせまでを近くする（誰向け・相談の流れ・よくあるご質問・Q-AGENT） ===== */
.btn-white{background:#fff;color:var(--red)}
.btn-white:hover{background:#FFF1F2;transform:translateY(-2px)}
.hero-a .hero-note{color:rgba(255,255,255,.9)}
.who{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.04em;padding:3px 12px;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;margin:16px 0 0}
.who--light{background:var(--bg-alt);color:var(--accent);margin:0 0 12px}
.biz2-who{font-size:13px;font-weight:700;letter-spacing:.04em;color:rgba(255,255,255,.85);margin:0 0 6px}
.two-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.two-btns .btn{margin-top:0}
.hero-a .who{margin-bottom:12px}
.hero-a .two-btns{margin-top:24px}
.hero-split .hs-body{max-width:34em}
.hero-split .hs-body .lead{max-width:none}
.hs-btns{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}
.hs-note{font-size:13px;color:var(--ink-2)}
.sec-lead{color:var(--ink-2);margin:-8px 0 24px;max-width:48em}
.faq-title{margin-top:56px}
.top-flow{margin:64px 0 48px}

/* 相談の流れ：することと、返る物 */
.steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.steps3 li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 22px 20px}
.steps3 .n{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:14px;margin-bottom:10px}
.steps3 h3{font-size:17px;margin:0 0 8px}
.steps3 .do{font-size:14.5px;color:var(--ink-2);margin:0 0 12px;line-height:1.8}
.steps3 .get{font-size:14.5px;margin:0;padding-top:12px;border-top:1px dashed var(--line);line-height:1.8}
.steps3 .get b{display:block;font-size:12px;color:var(--accent);letter-spacing:.06em;margin-bottom:2px}
html.theme-top .steps3 .n{background:var(--ink)}
html.theme-top .steps3 .get b{color:var(--red)}
.flow .get{color:var(--ink);font-weight:500;margin-top:6px}

/* よくあるご質問 */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:18px 44px 18px 34px;position:relative;font-weight:700;font-size:16px;line-height:1.65}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"Q";position:absolute;left:2px;top:17px;color:var(--accent);font-weight:900;font-size:18px;line-height:1.5}
.faq summary::after{content:"+";position:absolute;right:10px;top:13px;font-size:24px;color:var(--ink-2);font-weight:400}
.faq details[open] summary::after{content:"\2212"}
.faq .a{padding:0 8px 20px 34px;font-size:15px;color:var(--ink-2);position:relative}
.faq .a::before{content:"A";position:absolute;left:3px;top:0;font-weight:900;color:var(--ink-2)}
.faq .a p{margin:0 0 .6em}
.faq .a p:last-child{margin:0}
html.theme-top .faq summary::before{color:var(--red)}

/* お問い合わせの頭：送った後の流れ */
.mini-flow{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;font-size:14px}
.mini-flow li{display:flex;align-items:center;gap:8px;background:var(--bg-alt);border-radius:999px;padding:6px 14px 6px 6px;color:var(--ink)}
.mini-flow b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;font-size:12px}

/* Q-AGENT の段（/ai） */
.qa{background:var(--navy);color:#fff;border-radius:var(--radius);padding:44px 44px 40px;margin-top:56px}
.qa .eyebrow{color:var(--gold)}
.qa h2{font-size:clamp(22px,3vw,32px);margin:6px 0 16px;color:#fff}
.qa-lead p{color:rgba(255,255,255,.9);font-size:15.5px;max-width:52em}
.qa-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0}
.qa-steps h3{font-size:16px;margin:0 0 6px;color:#fff}
.qa-steps p{font-size:13.5px;color:rgba(255,255,255,.82);margin:0;line-height:1.75}
.qa-note{background:#fff;color:var(--ink);border-radius:8px;padding:22px 24px;margin:0 0 22px}
.qa-note h3{font-size:16px;margin:0 0 8px}
.qa-note li{font-size:14px;color:var(--ink-2);padding-left:1.1em;position:relative;line-height:1.8;margin-bottom:4px}
.qa-note li::before{content:"・";position:absolute;left:0}

@media (max-width:820px){
  .steps3,.qa-steps{grid-template-columns:1fr}
  .qa{padding:30px 20px 28px;margin-top:40px}
  .two-btns .btn,.hs-btns .btn{width:100%;text-align:center}
  .faq-title{margin-top:40px}
  .top-flow{margin:48px 0 36px}
  .mini-flow li{border-radius:10px}
}
/* v2（2026-10-29 03:1x）：Q-AGENT の段を短く・流れと質問は畳む */
.qa-steps li{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);border-radius:8px;padding:16px 16px;display:flex;gap:10px;align-items:flex-start}
.qa-steps .n{flex:0 0 auto;color:var(--gold);font-weight:900;font-size:20px;line-height:1.2}
.qa-roi{border:1px dashed rgba(255,255,255,.45);border-radius:8px;padding:16px 20px;margin:0 0 22px;color:rgba(255,255,255,.88)}
.qa-roi p{font-size:14px;margin:0;color:rgba(255,255,255,.88)}
.qa-roi .qa-roi-h{font-weight:700;color:#fff}
.qa-roi strong{display:block;font-size:clamp(24px,3.4vw,32px);color:var(--gold);margin:2px 0 4px;line-height:1.4}
.qa-roi small{display:block;font-size:12px;color:rgba(255,255,255,.7);line-height:1.7;margin-top:6px}
.more-list{border-top:1px solid var(--line)}
.more{border-bottom:1px solid var(--line)}
.more summary{list-style:none;cursor:pointer;padding:18px 44px 18px 4px;position:relative;font-weight:700;font-size:16px;color:var(--accent)}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"+";position:absolute;right:10px;top:13px;font-size:24px;font-weight:400;color:var(--ink-2)}
.more[open] summary::after{content:"\2212"}
.more .when-open{display:none}
.more[open] .when-open{display:inline}
.more[open] .when-closed{display:none}
.more > .sec-lead{margin:0 0 4px}
.more > .flow,.more > .faq-plain{margin-bottom:24px}
.faq-plain dt{font-weight:700;font-size:15.5px;padding:16px 0 4px 30px;position:relative;border-top:1px solid var(--line)}
.faq-plain dt:first-child{border-top:0}
.faq-plain dt::before{content:"Q";position:absolute;left:2px;top:16px;color:var(--accent);font-weight:900}
.faq-plain dd{margin:0;padding:0 0 16px 30px;font-size:14.5px;color:var(--ink-2);line-height:1.85}
@media (max-width:820px){
  .qa-steps{gap:8px;margin:20px 0}
  .qa-steps li{padding:12px 14px}
  .qa-steps p{font-size:13px}
  .qa-lead p{font-size:14.5px}
  .qa-note{padding:18px 18px}
  /* 前からの不具合の直し：縦並びの時、タッチCEOの紺の箱が 560px の高さに伸びて下が空いていた（flex-basis 560px が高さに効く） */
  .touch2-box{flex:none}
}

/* v3（2026-10-31）：システム開発・Q-AGENT・セキュリティ診断を前に。本番の規則は変えず、足すだけ */
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.6);padding:13px 30px}
.btn-ghost:hover{border-color:#fff;transform:translateY(-2px)}
.ai-hero .two-btns{position:relative;margin-top:8px}
.ai-hero .two-btns .btn{margin-top:0}
.nb{white-space:nowrap}
#system,#q-agent,#mamori,#jisha,#small,#clients{scroll-margin-top:72px}
.sec-tight{padding:40px 0}
.section>.wrap>.qa:first-child{margin-top:0}
.steps3 .do:last-child{margin-bottom:0}

/* トップ：AI事業の 3 つ */
.biz2-list{margin:0 0 22px;border-top:1px solid rgba(255,255,255,.35)}
.biz2-list li{padding:9px 0;border-bottom:1px solid rgba(255,255,255,.35);font-size:14.5px;font-weight:700;line-height:1.6}
.biz2-three{margin:0 0 22px;border-top:1px solid rgba(255,255,255,.28)}
.biz2-three li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.28)}
.biz2-three h4{font-size:16px;font-weight:700;margin:0 0 2px;line-height:1.5}
.biz2-panel .biz2-three p{font-size:13.5px;margin:0;line-height:1.65;color:rgba(255,255,255,.88)}
.btn-mini{flex:none;padding:7px 15px;font-size:13px;background:transparent;color:var(--gold);border:1.5px solid var(--gold);white-space:nowrap}
.btn-mini:hover{transform:translateY(-1px)}
.btn-mini.btn-gold{background:var(--gold);color:var(--navy-deep)}
.top-genba{margin:56px 0 0;padding:30px 34px;background:var(--bg-alt);border-radius:var(--radius)}
.top-genba .h2-plain{margin-bottom:10px}
.top-genba p{color:var(--ink-2);max-width:48em;margin:0}
.top-links{display:flex;flex-wrap:wrap;gap:0 32px}
.top-flow{margin:56px 0 0}

/* /ai：3 つの段の入口と見出し */
.kz-name{font-size:17px;font-weight:700;color:var(--navy);margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid var(--gold);line-height:1.5}
.kz-card{display:flex;flex-direction:column}
.kz-card .arrow{margin-top:auto;padding-top:16px;font-size:14px}
.shigoto-panel h2{font-size:clamp(24px,2.8vw,30px);font-weight:700;margin:0 0 14px;color:#fff}
.shigoto-panel .svc-sub--main{font-size:18px;font-weight:700;color:var(--gold);line-height:1.5}
.menu2--btn .btn{margin-top:14px;padding:11px 24px;font-size:14px}
.menu2--btn .arrow{margin-top:12px;font-size:14px}
.menu2 li.own-score{grid-column:1/-1;border-top:0;padding-top:0}
.menu2 li.own-score p{font-size:13px}
.sys-right .demo-cta{margin-top:28px;padding:18px 22px}
.more-list--flow{margin-top:28px}
.jisha-touch{margin-top:48px}
.more--in{border:0;margin-top:4px}
.more--in summary{padding:6px 34px 6px 0;font-size:14px}
.more--in summary::after{top:0;right:0;font-size:20px}
html.theme-ai .section-alt .touch2-big{color:var(--navy)}
.small-start{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;padding:24px 28px;border:1px solid var(--line);border-radius:var(--radius)}
.small-start h2{font-size:18px;font-weight:700;margin:0 0 4px}
.small-start p{font-size:14.5px;color:var(--ink-2);margin:0}
.small-start .arrow{flex:none;margin-top:0;font-size:14px}

/* /concert：お取引先への 1 行 */
.clients-link{margin:22px 0 0}
.clients-link .arrow{margin-top:0}

/* /shigoto：小さな作業 */
.small-list li{padding:14px 0;border-bottom:1px solid var(--line)}
.small-list li:first-child{padding-top:0}
.small-list h3{font-size:15.5px;margin:0 0 2px}
.small-list p{font-size:14px;color:var(--ink-2);margin:0;line-height:1.75}

@media (max-width:820px){
  .sec-tight{padding:30px 0}
  .kz-card{padding:18px 20px 20px}
  .kz-card .kz-label,.kz-card .kz-arrow{display:none}
  .kz-card .kz-before{margin-bottom:6px;font-size:14.5px}
  .kz-card .kz-after{font-size:15px}
  .kz-card .kz-after::before{content:"→ ";color:var(--gold)}
  .kz-card .arrow{padding-top:10px}
  .jisha-touch{margin-top:36px}
  .steps3{gap:10px}
  .steps3 li{display:grid;grid-template-columns:30px 1fr;column-gap:12px;padding:16px 16px 14px}
  .steps3 .n{grid-row:1/span 3;margin:0}
  .steps3 h3{font-size:16px;margin:2px 0 4px}
  .steps3 .do{font-size:14px;line-height:1.75}
  .steps3 .get{margin-top:8px;padding-top:8px;font-size:14px}
  .top-genba{margin-top:36px;padding:24px 22px}
  .top-flow{margin-top:36px}
  .biz2-three li{gap:10px}
  .small-start{flex-direction:column;align-items:flex-start;padding:20px 22px}
  .ai-hero .two-btns .btn{text-align:center}
}

/* v4（2026-11-11）：/ai の並べ替え。v3 の部品を使い、間と表の並びだけ足す */
.qa-steps p+p,.menu2 p+p{margin-top:8px}
.menu2 li.menu2-wide{grid-column:1/-1}
.menu2 .more--in summary{color:var(--accent)}
.qa>h3{font-size:18px;color:#fff;margin:26px 0 8px}
.more-body{padding:0 4px 22px}
.sys-right>.kaizen{margin:0 0 30px}
.kaizen--vs td{font-size:14.5px}
#system>.wrap>.small-start{margin-top:36px}
#q-agent>.wrap>.two-btns{margin-top:28px}
@media (max-width:820px){
  .kaizen--vs{display:table;width:100%}
  .kaizen--vs thead{display:table-header-group}
  .kaizen--vs tbody{display:table-row-group}
  .kaizen--vs tr{display:table-row}
  .kaizen--vs th,.kaizen--vs td{display:table-cell;padding:10px 6px;font-size:13px;border-bottom:1px solid var(--line)}
  .kaizen--vs tbody th{white-space:nowrap}
}

/* v5（2026-11-11）：/ai に図とデモ画面の写しを足す。色は紺・黄・白、字はページの字だけ */
/* 3 つのサービスの印 */
.kz-name{display:flex;align-items:center;gap:10px}
.kz-ico{width:30px;height:30px;flex:none;fill:none;stroke:var(--navy);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.kz-ico .g{stroke:var(--gold)}
.kz-ico .dot{fill:var(--gold);stroke:none}
/* シゴト整備室：複数の表 → 一元管理 */
.ichigen{display:grid;grid-template-columns:1fr 26px 1fr;align-items:center;gap:0 6px;margin:22px 0 4px}
.ichigen ul{list-style:none;margin:0;padding:0}
.ichigen .ichigen-h{font-size:12px;font-weight:700;letter-spacing:.04em;margin:0 0 6px;line-height:1.4}
.ichigen-before .ichigen-h{color:rgba(255,255,255,.8)}
.ichigen-after .ichigen-h{color:var(--gold)}
.ichigen-before li{font-size:12.5px;line-height:1.4;padding:7px 8px 7px 10px;margin:0 0 7px;border:1px dashed rgba(255,255,255,.55);border-radius:4px;color:#fff;background:rgba(255,255,255,.06)}
.ichigen-before li:nth-child(2){margin-left:6px}
.ichigen-before li:nth-child(3){margin-left:12px;margin-bottom:0}
.ichigen-after ul{border:2px solid var(--gold);border-radius:6px;background:rgba(240,184,40,.14);overflow:hidden}
.ichigen-after li{font-size:12.5px;font-weight:700;line-height:1.4;padding:8px 10px;color:#fff}
.ichigen-after li+li{border-top:1px solid rgba(240,184,40,.5)}
.ichigen-arrow{display:block;width:12px;height:12px;border-top:3px solid var(--gold);border-right:3px solid var(--gold);transform:rotate(45deg);margin:18px auto 0}
/* 開発例：デモ画面の写し */
.menu2 li.dev-ex{padding-top:16px}
.shot-set{display:grid;grid-template-columns:100%;margin:16px 0 0}
.shot-set .shot-pc{grid-area:1/1;align-self:start;justify-self:start;display:block;width:80%;border:1px solid var(--line);border-radius:6px;overflow:hidden;box-shadow:0 6px 18px rgba(8,40,96,.12)}
.shot-set .shot-sp{grid-area:1/1;align-self:start;justify-self:end;position:relative;z-index:1;display:block;margin-top:28px;width:25%;border:5px solid var(--navy-deep);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(8,40,96,.22)}
.shot-set .shot-sp img{aspect-ratio:9/17;object-fit:cover;object-position:top;width:100%;height:auto}
.shot-set figcaption,.shot-one figcaption,.shot-phones figcaption{font-size:12px;color:var(--ink-2);margin-top:8px;line-height:1.5;flex-basis:100%}
.shot-one{margin:14px 0 22px}
.shot-one a{display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.shot-phones{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0 18px}
.shot-phone{display:block;width:200px;max-width:calc(50% - 7px);border:5px solid var(--navy-deep);border-radius:18px;overflow:hidden;background:#fff}
.shot-phone img{aspect-ratio:9/17;object-fit:cover;object-position:top;width:100%;height:auto}
.dev-detail{padding:6px 0 4px}
.dev-detail h5{font-size:14.5px;font-weight:700;color:var(--navy);margin:16px 0 6px;padding-left:10px;border-left:3px solid var(--gold);line-height:1.5}
.dev-detail h5:first-child{margin-top:4px}
.dev-detail p{margin:0 0 6px}
/* Q-AGENT と ご相談の流れ：番号のカードを矢印でつなぐ */
.qa-steps--flow{gap:30px}
.qa-steps--flow li,.steps3--flow li{position:relative}
.qa-steps--flow li:not(:last-child)::after,.steps3--flow li:not(:last-child)::after{content:"";position:absolute;top:50%;right:-21px;width:11px;height:11px;border-top:3px solid var(--gold);border-right:3px solid var(--gold);transform:translateY(-50%) rotate(45deg)}
.steps3--flow{gap:34px}
.steps3--flow li:not(:last-child)::after{right:-23px}
/* Q-AGENT：AI と 人 */
.ai-hito{display:grid;grid-template-columns:1fr 34px 1fr;grid-template-rows:auto auto auto;align-items:stretch;margin:12px 0 18px}
.ah-col{border-radius:8px;padding:12px 14px}
.ah-col p{margin:0;font-size:13.5px;line-height:1.65}
.ah-h{font-size:12px!important;font-weight:900;letter-spacing:.08em;margin:0 0 4px!important}
.ah-ai{background:var(--bg-alt);border:1px solid var(--line);color:var(--ink)}
.ah-ai .ah-h{color:var(--ink-2)}
.ah-hito{background:var(--navy);color:#fff;grid-column:3}
.ah-hito .ah-h{color:var(--gold)}
.ah-big{font-size:18px!important;font-weight:700}
.ah-arrow{align-self:center;justify-self:center;width:11px;height:11px;border-top:3px solid var(--gold);border-right:3px solid var(--gold);transform:rotate(45deg);margin-right:4px}
.ah-down{grid-column:3;grid-row:2;justify-self:center;width:11px;height:11px;border-top:3px solid var(--gold);border-right:3px solid var(--gold);transform:rotate(135deg);margin:8px 0 10px}
.ah-run{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:10px;border:2px solid var(--navy);border-radius:8px;padding:10px 14px;font-size:13.5px;font-weight:700;color:var(--navy);line-height:1.6}
.ah-tag{flex:none;background:var(--gold);color:var(--navy-deep);font-size:12px;font-weight:900;border-radius:4px;padding:2px 8px}
@media (max-width:820px){
  .qa-steps--flow{gap:26px}
  .steps3--flow{gap:26px}
  .qa-steps--flow li:not(:last-child)::after,.steps3--flow li:not(:last-child)::after{top:auto;right:auto;left:50%;bottom:-19px;transform:translateX(-50%) rotate(135deg)}
  .shot-set .shot-pc{width:78%}
  .shot-set .shot-sp{width:28%;margin-top:14px;border-width:4px;border-radius:12px}
  .shot-phone{border-width:4px;border-radius:14px}
  .ai-hito{grid-template-columns:1fr 26px 1fr}
  .ah-col{padding:10px 12px}
  .ah-col p{font-size:13px}
  .ah-run{font-size:13px;padding:10px 12px}
}
.shot-phone--auto img{aspect-ratio:auto}
