/* ===== 会社ホームページ 共通スタイル ===== */
:root {
    --c-primary: #0b4f8a;      /* メインの青 */
    --c-primary-dark: #083a66;
    --c-primary-light: #e8f1fa;
    --c-accent: #e8742a;       /* お問い合わせなどの強調(オレンジ) */
    --c-accent-dark: #c95f1b;
    --c-text: #23303d;
    --c-muted: #5f6b77;
    --c-line: #dde3ea;
    --c-bg: #ffffff;
    --c-bg-soft: #f4f7fa;
    --radius: 10px;
    --shadow: 0 6px 20px rgba(11, 40, 70, .08);
    --container: 1120px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.8;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
a { color: var(--c-primary); }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }

/* ----- ヘッダー ----- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--c-line);
    backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-primary); }
.logo-mark { display: block; height: 48px; width: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-weight: 700; font-size: 1.15rem; color: var(--c-text); }
.logo-sub { font-size: .7rem; letter-spacing: .08em; color: var(--c-muted); }

.global-nav { display: flex; align-items: center; gap: 20px; }
.global-nav ul { list-style: none; display: flex; gap: 4px; }
.global-nav a { display: block; padding: 8px 14px; border-radius: 6px; text-decoration: none; color: var(--c-text); font-weight: 500; font-size: .95rem; }
.global-nav a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.global-nav a.is-current { color: var(--c-primary); box-shadow: inset 0 -3px 0 var(--c-primary); border-radius: 0; }
.global-nav a.nav-cta { background: var(--c-accent); color: #fff; border-radius: 6px; box-shadow: none; }
.global-nav a.nav-cta:hover, .global-nav a.nav-cta.is-current { background: var(--c-accent-dark); color: #fff; }
.nav-tel { font-weight: 700; color: var(--c-primary); text-decoration: none; white-space: nowrap; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: 8px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--c-text); transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ----- ボタン ----- */
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 28px; border-radius: 8px; border: 2px solid transparent; text-decoration: none; font-weight: 700; cursor: pointer; font-size: 1rem; line-height: 1.4; transition: background .15s, color .15s, transform .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn-outline:hover { background: var(--c-primary-light); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { background: var(--c-accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover { color: var(--c-primary-dark); }
.btn-small { font-size: .75rem; font-weight: 500; opacity: .9; }
.btn-big { font-size: 1.15rem; }

/* ----- トップ：メインビジュアル ----- */
.hero { background: linear-gradient(135deg, #0b4f8a 0%, #0a6aa8 55%, #1189b8 100%); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-label { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); padding: 4px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; margin-bottom: 18px; letter-spacing: .02em; }
.hero p { font-size: 1.05rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.12); }
.hero-visual svg { width: 100%; height: auto; display: block; }

/* ----- セクション共通 ----- */
.section { padding: 80px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .en { display: block; color: var(--c-primary); font-size: .8rem; letter-spacing: .2em; font-weight: 700; margin-bottom: 6px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.section-head p { color: var(--c-muted); max-width: 720px; margin: 0 auto; }

/* 下層ページの見出し帯 */
.page-hero { background: linear-gradient(135deg, #0b4f8a, #1189b8); color: #fff; padding: 56px 0 48px; }
.page-hero .en { display: block; font-size: .8rem; letter-spacing: .2em; opacity: .85; margin-bottom: 6px; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0; }
.breadcrumb { font-size: .8rem; margin-top: 12px; opacity: .9; }
.breadcrumb a { color: #fff; }

/* ----- カード ----- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--c-primary-light); color: var(--c-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--c-muted); font-size: .95rem; margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: .9rem; text-decoration: none; }

/* 選ばれる理由 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: reason; }
.reason { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--c-primary); box-shadow: var(--shadow); }
.reason::before { counter-increment: reason; content: "0" counter(reason); display: block; font-size: 2rem; font-weight: 700; color: var(--c-primary); opacity: .25; line-height: 1; margin-bottom: 10px; }
.reason h3 { font-size: 1.1rem; }
.reason p { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* お知らせ */
.news-list { list-style: none; border-top: 1px solid var(--c-line); max-width: 860px; margin: 0 auto; }
.news-list li { display: flex; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--c-line); }
.news-list time { color: var(--c-primary); font-weight: 700; white-space: nowrap; font-size: .95rem; }
.news-list a { color: var(--c-text); text-decoration: none; }
.news-list a:hover { color: var(--c-primary); text-decoration: underline; }
.news-item { padding: 28px 0; border-bottom: 1px solid var(--c-line); scroll-margin-top: calc(var(--header-h) + 16px); }
.news-item:first-child { padding-top: 0; }
.news-item time { color: var(--c-primary); font-weight: 700; font-size: .9rem; }
.news-item h2 { font-size: 1.2rem; margin: 4px 0 10px; }
.news-body { color: var(--c-text); }

/* ----- 事業紹介 ----- */
.service { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--c-line); align-items: start; }
.service:last-child { border-bottom: none; }
.service-visual { background: var(--c-primary-light); border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--c-primary); }
.service-visual svg { width: 45%; height: auto; }
.service h2 { font-size: 1.45rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.service h2 .num { color: var(--c-accent); font-size: .9rem; letter-spacing: .1em; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag-list li { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: 999px; padding: 2px 14px; font-size: .85rem; }
.check-list { list-style: none; margin: 12px 0 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 3px solid var(--c-accent); border-bottom: 3px solid var(--c-accent); transform: rotate(-45deg); }

.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow li { background: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; box-shadow: var(--shadow); position: relative; }
.flow li::before { counter-increment: flow; content: "STEP " counter(flow); display: block; font-size: .75rem; font-weight: 700; color: var(--c-accent); letter-spacing: .1em; margin-bottom: 6px; }
.flow h3 { font-size: 1rem; margin-bottom: 6px; }
.flow p { font-size: .85rem; color: var(--c-muted); margin: 0; }

/* ----- 企業情報・採用：表 ----- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; }
.info-table th, .info-table td { border-bottom: 1px solid var(--c-line); padding: 16px 20px; text-align: left; vertical-align: top; }
.info-table th { width: 200px; background: var(--c-bg-soft); font-weight: 700; color: var(--c-primary-dark); white-space: nowrap; }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 2px solid var(--c-primary); }

.message { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; }
.message-sign { text-align: right; font-weight: 700; margin-top: 20px; }
.message-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--c-primary-light); overflow: hidden; box-shadow: var(--shadow); }
.message-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.message.message-no-photo { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }

.history { list-style: none; border-left: 3px solid var(--c-primary-light); margin-left: 8px; }
.history li { position: relative; padding: 0 0 22px 28px; }
.history li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); }
.history .year { font-weight: 700; color: var(--c-primary); display: block; }

.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 16 / 7; background: var(--c-bg-soft); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 採用 */
.job { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; margin-bottom: 28px; }
.job-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.job-head h3 { font-size: 1.3rem; margin: 0; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; border-radius: 4px; padding: 2px 10px; background: var(--c-primary-light); color: var(--c-primary); }
.badge-accent { background: #fdeee3; color: var(--c-accent-dark); }

/* ----- フォーム ----- */
.form-box { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.steps { list-style: none; display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.steps li { flex: 1; max-width: 180px; text-align: center; padding: 8px; border-radius: 6px; background: var(--c-bg-soft); color: var(--c-muted); font-size: .9rem; font-weight: 700; }
.steps li.is-active { background: var(--c-primary); color: #fff; }
.form-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.form-row:first-of-type { border-top: 1px solid var(--c-line); }
.form-label { font-weight: 700; padding-top: 8px; }
.req, .opt { display: inline-block; font-size: .72rem; border-radius: 3px; padding: 0 6px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.req { background: var(--c-accent); color: #fff; }
.opt { background: var(--c-line); color: var(--c-muted); }
.form-control { width: 100%; padding: 10px 12px; border: 1px solid #c4ced8; border-radius: 6px; font: inherit; background: #fff; }
.form-control:focus { outline: 3px solid rgba(11, 79, 138, .2); border-color: var(--c-primary); }
textarea.form-control { min-height: 180px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 8px; }
.radio-group label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.form-note { font-size: .82rem; color: var(--c-muted); margin: 6px 0 0; }
.form-error { color: #c62828; font-size: .88rem; margin: 6px 0 0; font-weight: 700; }
.has-error .form-control { border-color: #c62828; background: #fff7f7; }
.alert { border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; }
.alert-error { background: #fdecec; color: #8e1c1c; border: 1px solid #f3c2c2; }
.alert-ok { background: #e9f6ef; color: #17613a; border: 1px solid #b8e0c8; }
.agree { text-align: center; margin: 28px 0 8px; }
.form-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.form-actions .btn { min-width: 200px; }
.confirm-value { padding-top: 8px; white-space: pre-wrap; word-break: break-word; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* 迷惑送信対策(人には見えない欄) */

/* ----- お問い合わせの帯・フッター ----- */
.cta-band { background: var(--c-primary-dark); color: #fff; padding: 48px 0 28px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-title { font-size: 1.4rem; margin-bottom: 6px; }
.cta-text { margin: 0; opacity: .9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-hours { font-size: .85rem; opacity: .8; margin-top: 18px; margin-bottom: 0; }
.site-footer { background: #0a2540; color: #c9d4df; padding: 40px 0 20px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-company p { margin: 0 0 4px; }
.footer-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.footer-nav { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 6px 28px; }
.footer-nav a { color: #c9d4df; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.copyright { text-align: center; font-size: .78rem; margin: 28px 0 0; opacity: .7; }

/* 本文用 */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.2rem; border-left: 5px solid var(--c-primary); padding-left: 12px; margin-top: 2em; }
.prose ol, .prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.lead { font-size: 1.05rem; }

/* ----- スマートフォン・タブレット ----- */
@media (max-width: 960px) {
    .card-grid, .reasons { grid-template-columns: repeat(2, 1fr); }
    .flow, .flow.flow-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .nav-tel { display: none; }
}
@media (max-width: 820px) {
    .nav-toggle { display: inline-block; }
    .global-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 8px; box-shadow: var(--shadow); }
    .nav-open .global-nav { display: flex; }
    .global-nav ul { flex-direction: column; }
    .global-nav a { padding: 12px; }
    .global-nav a.is-current { box-shadow: inset 4px 0 0 var(--c-primary); }
    .nav-tel { display: block; text-align: center; padding: 10px; }
    .service { grid-template-columns: 1fr; gap: 20px; }
    .service-visual { aspect-ratio: 16 / 7; }
    .message { grid-template-columns: 1fr; }
    .message-photo { max-width: 220px; margin: 0 auto; }
    .form-row { grid-template-columns: 1fr; gap: 6px; }
    .form-label { padding-top: 0; }
}
@media (max-width: 600px) {
    body { font-size: 15px; }
    .section { padding: 56px 0; }
    .card-grid, .reasons, .flow, .flow.flow-4 { grid-template-columns: 1fr; }
    .info-table th, .info-table td { display: block; width: 100%; }
    .info-table th { border-bottom: none; padding-bottom: 6px; }
    .info-table tr:first-child td { border-top: none; }
    .news-list li { flex-direction: column; gap: 2px; }
    .form-box { padding: 24px 16px; }
    .footer-nav { grid-template-columns: repeat(2, auto); }
    .logo-sub { display: none; }
    .logo-name { font-size: 1rem; }
    .map-box { aspect-ratio: 4 / 3; }
    .cta-actions .btn { width: 100%; }
}
/* ===== トップページの動き ===== */
/* メインビジュアル：背景の光がゆっくり動く */
.page-home .hero { position: relative; }
.page-home .hero::before, .page-home .hero::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px);
}
.page-home .hero::before { width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); animation: hpGlow1 14s ease-in-out infinite alternate; }
.page-home .hero::after  { width: 360px; height: 360px; left: -100px; bottom: -160px; background: radial-gradient(circle, rgba(255,210,168,.22), transparent 70%); animation: hpGlow2 18s ease-in-out infinite alternate; }
.page-home .hero-inner { position: relative; z-index: 1; }
@keyframes hpGlow1 { to { transform: translate(-120px, 60px) scale(1.15); } }
@keyframes hpGlow2 { to { transform: translate(140px, -40px) scale(1.1); } }

/* 見出し・説明・ボタンが、下から順にふわっと現れる */
.page-home .hero-inner > div:first-child > * { animation: hpFadeUp .8s cubic-bezier(.2,.7,.2,1) both; }
.page-home .hero-inner > div:first-child > :nth-child(1) { animation-delay: .05s; }
.page-home .hero-inner > div:first-child > :nth-child(2) { animation-delay: .2s; }
.page-home .hero-inner > div:first-child > :nth-child(3) { animation-delay: .4s; }
.page-home .hero-inner > div:first-child > :nth-child(4) { animation-delay: .6s; }
.page-home .hero-visual { animation: hpFadeIn 1.2s .3s ease both; }
@keyframes hpFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hpFadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* イラスト：グラフの線を描く・ランプの点滅・タブレットの浮き沈み・データの流れ・光る点 */
.hv-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: hvDraw 2.2s .9s ease-out forwards, hvRedraw 9s 3.5s ease-in-out infinite; }
@keyframes hvDraw { to { stroke-dashoffset: 0; } }
@keyframes hvRedraw { 0%, 70% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 0; } }
.hv-led { animation: hvBlink 1.6s steps(2, jump-none) infinite; }
.hv-led-2 { animation-delay: .4s; animation-duration: 2.1s; }
.hv-led-3 { animation-delay: .9s; animation-duration: 1.3s; }
@keyframes hvBlink { 0% { opacity: 1; } 50% { opacity: .25; } 100% { opacity: 1; } }
.hv-float { animation: hvFloat 4s ease-in-out infinite; transform-box: fill-box; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hv-server { animation: hvFloat 5s 1s ease-in-out infinite; transform-box: fill-box; }
.hv-flow { animation: hvFlow 1.2s linear infinite; }
@keyframes hvFlow { to { stroke-dashoffset: -28; } }
.hv-pulse { transform-box: fill-box; transform-origin: center; animation: hvPulse 2.4s ease-in-out infinite; }
.hv-pulse-2 { animation-delay: 1.2s; }
@keyframes hvPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .7; } }

/* スクロールして画面に入ったら、ふわっと現れる(main.js が .reveal / .is-visible を付ける。JavaScript が動かない場合は最初から表示) */
.js .page-home .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0s); }
.js .page-home .reveal.is-visible { opacity: 1; transform: none; }

/* カード：マウスを乗せると少し浮き上がる */
.page-home .card, .page-home .reason { transition: transform .25s ease, box-shadow .25s ease, opacity .7s ease; }
.page-home .card:hover, .page-home .reason:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11, 40, 70, .14); }
.page-home .card .card-icon { transition: transform .3s ease, background .3s ease, color .3s ease; }
.page-home .card:hover .card-icon { transform: rotate(-6deg) scale(1.08); background: var(--c-primary); color: #fff; }

/* 「視差効果を減らす(動きを減らす)」設定の方には、動きを止めて表示する */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .page-home .hero::before, .page-home .hero::after,
    .page-home .hero-inner > div:first-child > *, .page-home .hero-visual,
    .hv-line, .hv-led, .hv-float, .hv-server, .hv-flow, .hv-pulse { animation: none !important; }
    .hv-line { stroke-dashoffset: 0; }
    .js .page-home .reveal { opacity: 1; transform: none; transition: none; }
    .page-home .card:hover, .page-home .reason:hover, .page-home .card:hover .card-icon { transform: none; }
}
