/* お役立ちガイド（2026-10-19 追加） */
.guides{border-top:1px solid var(--line)}
.guide-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.guide-card{display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:3px;padding:28px;transition:border-color .2s,transform .2s}
.guide-card:hover{border-color:var(--lime);transform:translateY(-3px)}
.guide-tag{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.1em;color:var(--lime)}
.guide-card h3{font-size:22px;line-height:1.6;margin:0}
.guide-card p{color:var(--muted);margin:0;font-size:1.0625rem;line-height:1.9}
.guide-more{margin-top:auto;align-self:flex-start;font-size:14px;border-bottom:1px solid var(--lime);padding-bottom:4px}
.foot-guide{font-size:12px;color:var(--muted)}
.foot-guide:hover{color:var(--lime)}
@media(max-width:1050px){.guide-list{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.guide-list{grid-template-columns:1fr}.guide-card{padding:22px}.guide-card h3{font-size:21px}}
@media(prefers-reduced-motion:reduce){.guide-card{transition:none}}
/* できること 04 AIセキュリティへのリンク（2026-10-19 追加） */
.service-more{display:inline-flex;gap:10px;margin-top:22px;font-size:14px;border-bottom:1px solid var(--lime);padding-bottom:4px}
.service-more:hover{color:var(--lime)}
.service-links{display:flex;flex-wrap:wrap;gap:4px 28px}
/* 2026-10-20 できることのリンクをボタン風にしてわかりやすく */
.service-more{align-items:center;gap:12px;margin-top:24px;padding:12px 20px;border:1px solid var(--lime);border-radius:3px;color:var(--lime);font-size:16px;font-weight:700;transition:background .2s,color .2s}
.service-more span{font-size:18px}
.service-more:hover{background:var(--lime);color:var(--ink)}
.service-links{gap:12px 14px}
.service-links .service-more{margin-top:24px}
@media(max-width:720px){.service-links{flex-direction:column}.service-more{justify-content:space-between;width:100%}}
@media(prefers-reduced-motion:reduce){.service-more{transition:none}}
/* 2026-10-20 「私たちにできること ↓」もボタン風にそろえる */
.text-link{gap:16px;padding:14px 22px;border:1px solid var(--lime);border-radius:3px;color:var(--lime);font-size:16px;font-weight:700;transition:background .2s,color .2s}
.text-link span{font-size:18px}
.text-link:hover{background:var(--lime);color:var(--ink)}
.text-link:hover span{color:var(--ink)}
@media(max-width:720px){.text-link{justify-content:space-between;width:100%;gap:16px}}
@media(prefers-reduced-motion:reduce){.text-link{transition:none}}

/* 最新ニュースの帯（2026-10-22 追加）：ヘッダーの下を流れる。動きを減らす設定の人には止めて表示 */
.news-bar{display:flex;align-items:stretch;border-bottom:1px solid var(--line);background:#1d2019;font-size:14px;line-height:1.5;overflow:hidden}
.news-label{flex:none;display:flex;align-items:center;gap:10px;background:var(--lime);color:var(--ink);font-weight:900;letter-spacing:.06em;font-size:14px;white-space:nowrap;padding:12px 16px 12px max(16px,5%)}
.news-dot{width:11px;height:11px;border-radius:50%;background:#e0261b;box-shadow:0 0 0 0 rgba(224,38,27,.7);animation:news-blink 1s ease-in-out infinite}
.news-track{flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.news-flow{display:inline-flex;gap:28px;white-space:nowrap;padding-left:28px;animation:news-scroll 26s linear infinite}
.news-sep{color:var(--lime)}
.news-more{flex:none;display:flex;align-items:center;padding:12px max(16px,5%) 12px 16px;color:var(--lime);font-weight:700;white-space:nowrap;border-left:1px solid var(--line)}
.news-bar:hover .news-flow,.news-bar:focus-visible .news-flow{animation-play-state:paused}
.news-bar:hover .news-more{color:var(--white)}
@keyframes news-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes news-blink{0%{opacity:1;box-shadow:0 0 0 0 rgba(224,38,27,.7)}50%{opacity:.15;box-shadow:0 0 0 6px rgba(224,38,27,0)}100%{opacity:1;box-shadow:0 0 0 0 rgba(224,38,27,0)}}
@media(max-width:720px){.news-bar{font-size:13px}.news-label{padding:10px 12px 10px 6%}.news-more{display:none}}
@media(prefers-reduced-motion:reduce){.news-flow{animation:none}.news-dot{animation:none}.news-track{mask-image:none}.news-flow>span:nth-child(n+5){display:none}}
/* トップのガイド欄：最新ニュースを横いっぱいの大きいカードに */
.guide-card-news{grid-column:1/-1;border-color:var(--lime);background:#1d2019}
.guide-card-news .guide-tag{color:var(--ink);background:var(--lime);align-self:flex-start;padding:3px 10px;border-radius:2px}
.guide-card-news h3{font-size:clamp(22px,2.4vw,30px)}
.guide-card-soon{border-color:var(--lime);background:#1d2019}
.guide-card-soon .guide-tag{color:var(--lime);background:transparent;border:1px solid var(--lime)}
/* WORKS ボタン：2行（2026-10-30） */
.service-more .sm-text{display:flex;flex-direction:column;font-size:16px;line-height:1.35}
.service-more .sm-text small{font-size:12px;font-weight:400;letter-spacing:.04em;opacity:.85;margin-top:3px}
/* ヘッダーのメニュー：折り返さない（2026-10-30 PC安全診断を足したとき）
   タブレット幅（721〜1100px）では字を少し小さくし、ページ内リンク「私たちの姿勢」だけ隠す */
nav > a{white-space:nowrap}
@media (min-width:721px) and (max-width:1100px){
  nav{gap:18px;font-size:13px}
  nav > a[href="#stance"]{display:none}
}

/* ロゴの右の「AIって、なに？」ボタン（2026-11-06 初心者向けページへの入口） */
.header-left{display:flex;align-items:center;gap:22px;min-width:0}
.ai-badge{display:inline-flex;align-items:center;gap:10px;padding:5px 16px 5px 5px;border:1.5px solid var(--lime);border-radius:999px;background:#1d2019;color:var(--white);white-space:nowrap;box-shadow:0 0 0 0 rgba(216,255,54,.45);animation:ai-badge-glow 2.6s ease-in-out infinite;transition:background .2s,color .2s}
.ai-badge-bot{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#efffc2}
.ai-badge-bot svg{width:30px;height:30px;animation:ai-badge-bob 2.6s ease-in-out infinite}
.ai-badge-text{display:flex;flex-direction:column;font-size:15px;font-weight:700;line-height:1.25}
.ai-badge-text small{font-size:11px;font-weight:400;color:var(--lime);letter-spacing:.03em;margin-top:2px}
.ai-badge:hover{background:var(--lime);color:var(--ink)}
.ai-badge:hover small{color:var(--ink)}
@keyframes ai-badge-glow{0%,100%{box-shadow:0 0 0 0 rgba(216,255,54,.4)}50%{box-shadow:0 0 0 7px rgba(216,255,54,0)}}
@keyframes ai-badge-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@media (min-width:721px) and (max-width:1100px){.header-left{gap:14px}.ai-badge-text small{display:none}}
@media(max-width:720px){.header{flex-wrap:wrap;row-gap:12px}.header-left{gap:10px}.ai-badge{padding:3px 12px 3px 3px;gap:7px}.ai-badge-bot{width:32px;height:32px}.ai-badge-bot svg{width:24px;height:24px}.ai-badge-text{font-size:13px}.ai-badge-text small{display:none}}
@media(max-width:400px){.header .logo{font-size:28px}}
@media(prefers-reduced-motion:reduce){.ai-badge,.ai-badge-bot svg{animation:none}}
@media(max-width:720px){.header{padding-left:4%;padding-right:4%}.header .logo{font-size:26px}.header .logo span{font-size:12px}.nav-contact{padding:8px 11px;font-size:12.5px}.nav-contact span{display:none}nav{margin-left:auto}}
@media(max-width:374px){.ai-badge-text{font-size:12px}.header-left{gap:6px}}
/* ボタンとメニューが重ならないように（2026-11-06）：1101〜1300px は小さい文字と「私たちの姿勢」を隠す。721〜980px はスマホと同じく「相談する」だけにする */
@media (min-width:1101px) and (max-width:1300px){.ai-badge-text small{display:none}.header-left{gap:16px}nav > a[href="#stance"]{display:none}}
@media (min-width:721px) and (max-width:980px){nav > a:not(.nav-contact){display:none}}
