/* KITASAN AI サービスメニュー（ai.kitasan-vv.app/menu）
   KITASAN シリーズの紹介LPなので黒・金。文字は BIZ UDPゴシック、見出しは Zen Maru Gothic。AIの印は金＋太陽。 */
:root {
  --bk: #000; --bg2: #111114; --line: #2a2a30; --ink: #f4f1ea; --dim: #a7a29a; --gold: #ffd84a; --gold2: #e9b949; --red: #e50914;
  --f-b: 'BIZ UDPGothic', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --f-h: 'Zen Maru Gothic', 'BIZ UDPGothic', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bk); color: var(--ink); font-family: var(--f-b); line-height: 1.7; -webkit-font-smoothing: antialiased; word-break: auto-phrase; overflow-wrap: anywhere; }
h1, h2, h3, p, li { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--f-h); text-wrap: balance; line-height: 1.35; margin: 0; }
a { color: inherit; }
.nw { display: inline-block; }
.ic, .t-go, .pb-ic, .pb-go, .fl-ic, .pt-ic, .ai-sun { fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.top { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font: 700 18px/1 var(--f-h); letter-spacing: .08em; text-decoration: none; }
.brand span { color: var(--gold); }
.top-pass { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: 13px; font-weight: 700; text-decoration: none; }
.top-pass .ic { width: 14px; height: 14px; }

/* ヒーロー */
.hero { display: flex; align-items: center; gap: 14px; padding: 6px 0 12px; }
.face { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; flex: none; }
.kicker { margin: 0 0 2px; color: var(--gold); font: 700 11px/1.4 var(--f-h); letter-spacing: .24em; }
.hero h1 { font-size: clamp(22px, 6vw, 40px); font-weight: 900; }
.lead { margin: 4px 0 0; color: var(--dim); font-size: clamp(13px, 3.4vw, 16px); line-height: 1.5; }

/* 対象と特化型AI */
.spec { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); }
.spec p { margin: 0; }
.spec-for { display: flex; align-items: center; gap: 8px; color: var(--gold); font: 700 clamp(13px, 3.4vw, 15px)/1.45 var(--f-h); }
.sp-ic { width: 18px; height: 18px; fill: currentColor; flex: none; }
.spec-h { margin-top: 2px !important; font: 900 clamp(17px, 4.6vw, 24px)/1.4 var(--f-h); }
.spec-tx { margin-top: 4px !important; color: #cfc9ba; font-size: clamp(12.5px, 3.3vw, 14.5px); line-height: 1.6; }

/* エコルドIDパスの帯（いちばん目立たせる） */
.pass-band { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 14px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(110deg, #2a2208 0%, #3b2f08 45%, #1a1606 100%); border: 1.5px solid var(--gold); box-shadow: 0 0 0 4px rgba(255, 216, 74, .08), 0 8px 30px rgba(255, 216, 74, .12); }
.pb-ic { width: 34px; height: 34px; color: var(--gold); }
.pb-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pb-tx b { font: 900 clamp(15px, 4vw, 20px)/1.35 var(--f-h); }
.pb-tx em { font-style: normal; color: var(--gold); }
.pb-tx small { color: #e8dcb5; font-size: clamp(11.5px, 3vw, 14px); line-height: 1.45; }
.pb-go { width: 16px; height: 16px; color: var(--gold); }

/* サービス */
.sec-h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 700 11.5px/1.5 var(--f-b); letter-spacing: .04em; }
.badge.live { background: var(--red); color: #fff; }
.badge.soon-b { background: #2a2a30; color: var(--gold); border: 1px solid var(--gold2); margin-right: 6px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px 10px 10px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.t-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(140deg, #3a9e8f, #2c8073); color: #fff; flex: none; }
.t-ic .ic { width: 17px; height: 17px; }
.t-tx { display: block; min-width: 0; }
.t-nm { font: 700 14.5px/1.35 var(--f-h); margin-right: 4px; }
.t-tag { display: block; margin-top: 2px; color: var(--dim); font-size: 12px; line-height: 1.45; }
.t-go { position: absolute; right: 10px; top: 14px; width: 12px; height: 12px; color: #5c5850; }
.tile:hover .t-go { color: var(--gold); }
.ai-mark { display: inline-flex; align-items: center; gap: 2px; padding: 0 6px 0 4px; border-radius: 999px; background: var(--gold); color: #1a1406; font: 700 10.5px/1.6 var(--f-b); vertical-align: 2px; white-space: nowrap; }
.ai-sun { width: 10px; height: 10px; }
.free-mark { display: inline-block; padding: 0 7px; border-radius: 999px; border: 1px solid #3a9e8f; color: #7fd6c8; font: 700 10.5px/1.5 var(--f-b); vertical-align: 2px; white-space: nowrap; letter-spacing: .02em; }
/* サービスごとの色（アイコンの台） */
.t-yasumitai .t-ic { background: linear-gradient(140deg, #6b8fd6, #4a6fb8); }
.t-okuritai .t-ic { background: linear-gradient(140deg, #e3a33c, #c98318); }
.t-houkoku .t-ic { background: linear-gradient(140deg, #3a9e8f, #24786b); }
.t-manabi .t-ic { background: linear-gradient(140deg, #3f9c6d, #2a7a52); }
.t-portal .t-ic { background: linear-gradient(140deg, #d46a8a, #b54d6e); }
.t-pay .t-ic { background: linear-gradient(140deg, #f08a4b, #d76a28); }
.t-timer .t-ic { background: linear-gradient(140deg, #8a7bd8, #6a5bbd); }
.t-tegaki .t-ic { background: linear-gradient(140deg, #5aa6c9, #3a86ab); }
/* 近日公開（試験運用中）のタイル */
.menu-soon { margin-top: 16px; }
.tile.soon { border-style: dashed; border-color: #4a4636; background: #0b0b0d; }
.tile.soon .t-ic { opacity: .85; }
.soon-note { margin: 8px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.5; }
/* スマホ：数が奇数のとき、最後の1つは横いっぱい */
.tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
div.tile.soon:hover { border-color: #4a4636; transform: none; }
.t-kitei .t-ic { background: linear-gradient(140deg, #6b8fd6, #4a6fb8); }

/* セキュリティ（エコルドIDパス） */
.pass { margin: 34px 0 0; padding: 26px 18px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0%, #2a2208 0%, #0d0c08 55%, #000 100%); border: 1.5px solid var(--gold2); scroll-margin-top: 12px; }
.pass h2 { font-size: clamp(24px, 6.4vw, 40px); font-weight: 900; }
.pass h2 em, .gold { font-style: normal; color: var(--gold); }
.pass-lead { margin: 12px 0 0; color: #e8e2d2; font-size: clamp(14px, 3.6vw, 16.5px); }
.pass-lead b { color: var(--ink); }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; counter-reset: fl; }
.fl { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px 10px; border-radius: 14px; background: rgba(255, 216, 74, .06); border: 1px solid rgba(255, 216, 74, .35); }
.fl + .fl::before { content: ''; position: absolute; left: -7px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: translateY(-50%) rotate(45deg); }
.fl-n { position: absolute; left: 8px; top: 6px; font: 900 13px/1 var(--f-h); color: var(--gold); }
.fl-ic { width: 30px; height: 30px; color: var(--gold); }
.fl b { font: 700 13.5px/1.35 var(--f-h); }
.fl small { color: var(--dim); font-size: 11.5px; line-height: 1.4; }
.pts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.pts li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #0f0e0b; border: 1px solid #3a3320; }
.pt-ic { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.pts h3 { font-size: 16px; font-weight: 700; }
.pts p { margin: 4px 0 0; color: #cfc9ba; font-size: 14px; }
.vs { display: grid; gap: 8px; margin: 16px 0 0; }
.vs p { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; }
.vs b { display: block; font: 700 12px/1.5 var(--f-h); letter-spacing: .06em; }
.vs-old { background: #18100f; border: 1px solid #4a2522; color: #d9b8b4; }
.vs-old b { color: #ff8a80; }
.vs-new { background: #1d1806; border: 1px solid var(--gold2); color: #f4ead0; }
.vs-new b { color: var(--gold); }

/* プラン */
.plans { margin: 34px 0 0; }
.plans h2 { font-size: clamp(22px, 5.6vw, 34px); font-weight: 900; }
.plan-row { display: grid; gap: 12px; margin: 14px 0 0; }
.plan { position: relative; padding: 18px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.plan h3 { font-size: 20px; font-weight: 900; }
.plan p { margin: 8px 0 0; color: #cfc9ba; font-size: 14px; }
.plan.rec { border: 2px solid var(--gold); background: linear-gradient(160deg, #241d07, #0f0d06 70%); padding-top: 22px; }
.plan.rec h3 { color: var(--gold); }
.rec-b { position: absolute; top: -13px; left: 16px; display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: #1a1406 !important; font: 700 12.5px/1.5 var(--f-h) !important; }
.rec-b .ic { width: 13px; height: 13px; }
.yen { color: var(--ink) !important; font: 900 20px/1.4 var(--f-h) !important; margin-top: 12px !important; }
.yen.sm { font-size: 15px !important; }
.yen a { color: var(--gold); }
.cta-wrap { text-align: center; margin: 20px 0 0; }
.cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; background: var(--gold); color: #1a1406; font: 900 16px/1.3 var(--f-h); text-decoration: none; }
.cta .ic { width: 14px; height: 14px; }
.cta:hover { background: #ffe57e; }

/* コンサルティング */
.plan.consult { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; border-color: #5a4a20; }
.cs-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 216, 74, .12); color: var(--gold); flex: none; }
.cs-ic .ic { width: 22px; height: 22px; }
.plan.consult h3 { font-size: 18px; }

/* フッター */
.foot { max-width: 1120px; margin: 40px auto 0; padding: 18px 16px 28px; border-top: 1px solid var(--line); text-align: center; color: var(--dim); font-size: 13px; }
.foot p { margin: 4px 0; }
.foot .pw { font-size: 12px; letter-spacing: .04em; }

/* タブレット・PC */
@media (min-width: 768px) {
  main { padding: 0 24px; }
  .top { padding: 14px 24px; }
  .face { width: 96px; height: 96px; }
  .hero { gap: 20px; padding: 10px 0 18px; }
  .pass-band { padding: 16px 22px; gap: 16px; }
  .pb-ic { width: 44px; height: 44px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .tile { padding: 14px; gap: 8px; }
  .t-ic { width: 40px; height: 40px; }
  .t-ic .ic { width: 20px; height: 20px; }
  .t-nm { font-size: 16px; }
  .t-tag { font-size: 13px; }
  .pass { padding: 40px 36px; }
  .flow { gap: 16px; }
  .fl { padding: 18px 10px 14px; }
  .fl + .fl::before { left: -11px; width: 8px; height: 8px; }
  .fl-ic { width: 38px; height: 38px; }
  .fl b { font-size: 15.5px; }
  .fl small { font-size: 13px; }
  .pts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .vs { grid-template-columns: 1fr 1fr; }
  .plan-row { grid-template-columns: 3fr 2fr; gap: 18px; }
  .plan.consult { margin-top: 18px; padding: 20px 22px; }
  .spec { padding: 14px 20px; }
  .tiles li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1024px) {
  .tiles.live { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pts li { flex-direction: column; }
}
