/* abc サポートセンター — ブランドガイドライン準拠
   Primary: Black #000000 / White #FFFFFF ・ Accent: Electric Blue #004098 (Pantone 293C)
   Font: Inter + Noto Sans JP ・ リンク=hoverで下線 ・ 本文16px ・ 高コントラスト/余白重視 */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #004098;
  --ink: #16181d;
  --sub: #5c6470;
  --line: #e2e5ea;
  --bg: #f4f5f8;
  --hero1: #05070d;
  --hero2: #0a1322;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.9; font-size: 16px;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--black); text-decoration: none; }
a:hover { text-decoration: underline; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-row { width: 16px; height: 16px; color: var(--accent); }
.ic-chev { width: 15px; height: 15px; color: #b0b6c0; margin-left: auto; }
.ic-big { width: 34px; height: 34px; color: var(--accent); }

/* ---- トップナビ（黒） ---- */
.topnav { background: var(--black); color: var(--white); }
.nwrap {
  max-width: 1080px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.badge { display: inline-flex; align-items: center; }
.badge img.logo { height: 22px; display: block; }
.badge .logo-divider { width: 1px; height: 18px; background: rgba(255,255,255,.35); margin: 0 14px; }
.badge .logo-sub { color: var(--white); font-size: 12.5px; letter-spacing: .16em; font-weight: 500; }
.badge:hover { text-decoration: none; }
.navlinks { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.navlinks a { color: rgba(255,255,255,.88); font-size: 13px; font-weight: 500; white-space: nowrap; }
.navlinks a:hover { color: var(--white); }
.nav-ext {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 7px; padding: 7px 15px; white-space: nowrap;
}
.nav-ext:hover { background: rgba(255,255,255,.1); text-decoration: none; }

/* ---- ヒーロー（ダーク＋テクスチャ） ---- */
.hero {
  position: relative; color: var(--white); padding: 64px 24px 72px; text-align: center;
  background:
    linear-gradient(rgba(2,4,12,.5), rgba(2,4,12,.25)),
    url("hero_wave.jpg") center / cover no-repeat,
    linear-gradient(150deg, var(--hero1), var(--hero2));
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 640px; margin: 0 auto; }
.hero h1 { font-size: 30px; font-weight: 700; letter-spacing: .12em; }
.hero-sub { font-size: 13.5px; color: rgba(255,255,255,.75); margin: 12px 0 26px; letter-spacing: .05em; }

.searchbox { position: relative; max-width: 560px; margin: 0 auto; }
.search-ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #98a0ab; }
.searchbox input {
  width: 100%; padding: 15px 22px 15px 48px; font-size: 15px; font-family: inherit;
  border: none; border-radius: 10px; outline: none; background: var(--white); color: var(--ink);
}
.searchbox input:focus { box-shadow: 0 0 0 3px rgba(0,64,152,.55); }
.hits {
  position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: 10px; text-align: left;
  box-shadow: 0 12px 34px rgba(0,0,0,.28); overflow: hidden; z-index: 30;
}
.hits a { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.hits a:last-child { border-bottom: none; }
.hits a:hover { background: #f0f3f8; text-decoration: none; }
.hits a:hover b { text-decoration: underline; }
.hits b { color: var(--black); display: block; font-size: 14px; font-weight: 600; }
.hits span { color: var(--sub); font-size: 11px; letter-spacing: .05em; }
.hits small { color: var(--sub); font-size: 12px; display: block; }
.nohit { padding: 16px 18px; color: var(--sub); font-size: 13px; }

.chips { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 12.5px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.05);
  border-radius: 8px; padding: 8px 16px; white-space: nowrap;
}
.chip:hover { background: rgba(255,255,255,.14); text-decoration: none; }

/* ---- カード共通 ---- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15,25,45,.05);
}
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin-top: -34px; position: relative; z-index: 2;
}
.card-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 10px; }
.card-head .ic { color: var(--accent); }
.card-head h2 { font-size: 15.5px; font-weight: 700; letter-spacing: .04em; }
.seeall {
  margin-left: auto; display: inline-flex; align-items: center; gap: 2px;
  font-size: 12px; color: var(--accent); font-weight: 500; white-space: nowrap;
}
.seeall .ic-chev { color: var(--accent); }

.rows { list-style: none; padding: 4px 10px 14px; }
.rows li a {
  display: flex; align-items: center; gap: 9px; padding: 10.5px 10px;
  border-top: 1px solid #f0f1f4; font-size: 13.5px; border-radius: 6px;
}
.rows li:first-child a { border-top: none; }
.rows li a:hover { background: #f4f7fb; text-decoration: none; }
.rows li a:hover .row-t { text-decoration: underline; }
.row-t { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.row-date { color: #98a0ab; font-size: 11.5px; margin-left: auto; flex: none; }
.rows-lg li a { padding: 14px 12px; font-size: 14.5px; }
.rows-lg .row-date { margin-left: auto; margin-right: 4px; }
.rows-lg li a .ic-chev { margin-left: 0; }
.tag {
  flex: none; background: var(--accent); color: var(--white);
  font-size: 10.5px; font-weight: 600; padding: 1px 9px; border-radius: 4px; letter-spacing: .06em;
}

.callout {
  margin: 4px 16px 18px; display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #f7f9fc;
}
.callout:hover { background: #eef3fa; text-decoration: none; }
.callout .ic-sm { color: var(--accent); }
.callout b { display: block; font-size: 12.5px; }
.callout small { color: var(--sub); font-size: 11px; line-height: 1.5; display: block; }
.card-btn {
  margin: 4px 16px 18px; width: calc(100% - 32px);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink);
  background: var(--white); border: 1px solid #cdd3dc; border-radius: 8px; padding: 10px; cursor: pointer;
  transition: opacity .12s;
}
.card-btn:hover { background: #f4f7fb; }
.card-btn:active { transform: translateY(1px); }

/* ---- カテゴリタイル ---- */
.cat-title { font-size: 17px; font-weight: 700; letter-spacing: .05em; margin: 40px 0 16px; }
.tile-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 14px; padding-bottom: 52px;
}
.tile {
  display: flex; align-items: center; gap: 11px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px;
  box-shadow: 0 1px 3px rgba(15,25,45,.05);
}
.tile:hover { border-color: #b9c4d4; text-decoration: none; }
.tile:hover b { text-decoration: underline; }
.tile .ic { color: var(--accent); }
.tile-t { min-width: 0; }
.tile-t b { display: block; font-size: 13px; }
.tile-t small { display: block; color: var(--sub); font-size: 10.5px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- セクションページ ---- */
.crumb { color: var(--sub); font-size: 13px; letter-spacing: .04em; margin: 26px 0 16px; }
.crumb a { color: var(--sub); }
.section-page { padding-bottom: 48px; }
.sec-hero { display: flex; align-items: center; gap: 16px; padding: 24px 28px; margin-bottom: 16px; }
.sec-hero h1 { font-size: 20px; font-weight: 700; }
.sec-hero small { color: var(--sub); font-size: 12.5px; }

/* ---- 記事ページ ---- */
.article-wrap { padding-bottom: 40px; }
.article { padding: 40px 48px; }
.article h1 {
  font-size: 25px; font-weight: 700; color: var(--black); letter-spacing: .02em;
  border-bottom: 3px solid var(--black); padding-bottom: 14px; margin-bottom: 8px;
}
.updated { color: var(--sub); font-size: 12.5px; letter-spacing: .04em; margin-bottom: 24px; }
.body { font-size: 16px; }
.body a { text-decoration: underline; text-underline-offset: 3px; }
.body img { max-width: min(100%, 420px); height: auto; border: 1px solid var(--line); border-radius: 6px; margin: 10px 0; }
.body table { border-collapse: collapse; max-width: 100%; font-size: 14px; }
.body table td, .body table th { border: 1px solid #b9bec7; padding: 6px 10px; }
.body h1 { font-size: 21px; border: none; margin: 26px 0 10px; }
.body h2 {
  font-size: 19px; color: var(--black); margin: 26px 0 10px;
  border-left: 4px solid var(--black); padding-left: 12px;
}
.body h3 { font-size: 17px; margin: 20px 0 8px; }
.body ul, .body ol { padding-left: 28px; }
.body hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }
.pn-nav { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 10px; }
.pn { font-size: 13.5px; max-width: 46%; }
.backline { font-size: 13px; color: var(--sub); margin-bottom: 8px; }
.backline a { color: var(--sub); }

/* ---- フッター ---- */
.foot { background: #eceef3; border-top: 1px solid var(--line); margin-top: 8px; }
.fwrap {
  max-width: 1080px; margin: 0 auto; padding: 40px 24px 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 24px;
}
.fcol h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }
.fcol a { display: block; color: var(--sub); font-size: 12.5px; margin: 7px 0; }
.fnote { color: var(--sub); font-size: 11.5px; line-height: 1.7; margin-bottom: 12px; }
.fcontact {
  display: inline-flex !important; align-items: center; gap: 8px;
  border: 1px solid #b9c4d4; border-radius: 8px; padding: 9px 16px;
  background: var(--white); color: var(--ink) !important; font-size: 12.5px !important; font-weight: 500;
}
.fcontact:hover { background: #f4f7fb; text-decoration: none; }
.fcontact .ic-sm { color: var(--accent); }
.fbottom {
  max-width: 1080px; margin: 0 auto; padding: 0 24px 30px;
  color: #98a0ab; font-size: 11px; letter-spacing: .08em;
}

/* ---- 汎用ボタン（ピル型・ブランド指定） ---- */
.button {
  display: inline-block; background: var(--black); color: var(--white); text-align: center;
  font-family: inherit; font-size: 14px; padding: 9px 28px; border: none; border-radius: 999px;
  cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,.25); transition: opacity .12s;
}
.button:hover { opacity: .75; text-decoration: none; }
.button:active { box-shadow: none; transform: translateY(1px); }
.button.accent { background: var(--accent); }

@media (max-width: 720px) {
  .article { padding: 26px 22px; }
  .hero { padding: 44px 18px 56px; }
  .feat-grid { margin-top: -28px; }
}

/* ---- 言語スイッチャー ---- */
.lang-sw { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 5px 14px; }
.lang-sw a { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 500; white-space: nowrap; }
.lang-sw a.on { color: var(--white); font-weight: 700; pointer-events: none; }
.lang-sw a:hover { color: var(--white); text-decoration: none; }
.lang-sw i { width: 1px; height: 12px; background: rgba(255,255,255,.35); }
