/* ===== 色と文字（ここを変えると全ページに反映） ===== */
:root {
  --bg: #EEF0F0;
  --surface: #FFFFFF;
  --panel: #E4E8E8;
  --ink: #2B2F31;
  --sub: #6E7578;
  --muted: #959C9E;
  --line: #DDE1E1;
  --tf: #81D8D0;
  --tf-deep: #1E8C86;
  --tf-soft: #DDF3F0;
  --on-tf: #0F3D3A;
  --or: #EE6433;
  --on-or: #FFFFFF;
  --logo-plate: transparent;
  --paper: #F5F5EF;
  --sans: "Plus Jakarta Sans", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15191A; --surface: #1D2223; --panel: #252B2C; --ink: #E7ECEC; --sub: #9FA8AA; --muted: #7A8386;
    --line: #2E3537; --tf: #6CCBC2; --tf-deep: #7FD8CF; --tf-soft: #1C3331; --on-tf: #0B2B29; --or: #F2743F; --on-or: #FFFFFF; --logo-plate: #F5F5EF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15191A; --surface: #1D2223; --panel: #252B2C; --ink: #E7ECEC; --sub: #9FA8AA; --muted: #7A8386;
  --line: #2E3537; --tf: #6CCBC2; --tf-deep: #7FD8CF; --tf-soft: #1C3331; --on-tf: #0B2B29; --or: #F2743F; --on-or: #FFFFFF; --logo-plate: #F5F5EF;
  color-scheme: dark;
}

/* ===== 土台 ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .03em;
  padding-inline: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tf-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

/* 言語の切り替え */
html:not([data-lang="en"]) .en { display: none !important; }
html[data-lang="en"] .ja { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding-block: 0 48px; }

/* ===== 上のバー ===== */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px; }
.brand { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.back .i { width: 18px; height: 18px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lang button {
  border: 0; background: none; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 4px 12px; border-radius: 999px; color: var(--sub);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* アイコン */
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===== 見出し・札 ===== */
.sec { display: flex; flex-direction: column; gap: 14px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--sub); }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1; padding: 6px 11px; border-radius: 999px; }
.tag-or { background: var(--or); color: var(--on-or); }
.tag-gray { background: var(--surface); color: var(--sub); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; line-height: 1.4; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.chip-key { background: var(--tf-soft); border-color: transparent; color: var(--ink); font-weight: 700; }
.chip-empty { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.chip-sm { font-size: 12px; padding: 6px 12px; background: var(--panel); border: 0; color: var(--sub); }

/* ===== トップ：名刺カード ===== */
.top { display: grid; gap: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; display: flex; flex-direction: column; gap: 20px;
}
.logos { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; min-height: 28px; }
.logos { background: var(--logo-plate); border-radius: 12px; padding: 4px 6px; margin: -4px -6px; }
.logos img { width: auto; max-width: 100%; }
.logos img[src*="inging"] { height: 52px; }
.wm { color: var(--ink); line-height: 1; white-space: nowrap; }
.wm-inging { font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .02em; display: inline-flex; flex-direction: column; }
.wm-inging small { font-size: 8px; letter-spacing: .12em; margin-top: 2px; }

.id { display: flex; align-items: flex-end; gap: 18px; }
.id .photo { width: 112px; }
.photo {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; overflow: hidden;
  background: var(--panel); display: grid; place-items: center;
}
.photo span { font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--muted); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-bottom: 4px; }
.name { font-size: 26px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; }
.roman { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--sub); }
.org { padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--sub); }
.org b { color: var(--ink); font-weight: 700; }

.flow { display: flex; flex-direction: column; gap: 36px; min-width: 0; }

/* ===== 役割のカード ===== */
.role {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  text-decoration: none; border-radius: 20px; transition: transform .2s ease;
}
.role:hover { transform: translateY(-2px); }
.role-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.role .ttl { font-weight: 700; letter-spacing: .1em; line-height: 1.35; }
.role .desc { font-size: 13px; line-height: 1.6; }
.role .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.role .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.role .arrow .i { width: 20px; height: 20px; }

.role-main { background: var(--tf); color: var(--on-tf); padding: 28px 22px; }
.role-main .ttl { font-size: 24px; }
.role-main .ico { background: rgba(255, 255, 255, .45); }
.role-main .arrow { background: var(--or); color: var(--on-or); }

.role-sub { background: var(--panel); border: 1px solid var(--tf); color: var(--ink); padding: 16px 18px; }
.role-sub .ttl { font-size: 16px; }
.role-sub .desc { color: var(--sub); }
.role-sub .ico { width: 40px; height: 40px; background: var(--surface); color: var(--tf-deep); }
.role-sub .arrow { color: var(--tf-deep); }
.role.compact { padding: 16px 18px; }
.role.compact .ttl { font-size: 16px; }
.role.compact .ico { width: 40px; height: 40px; }

/* ===== 連絡先 ===== */
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 20px;
  border-radius: 999px; border: 0; font: inherit; font-weight: 700; letter-spacing: .08em; text-decoration: none; cursor: pointer;
}
.btn-or { background: var(--or); color: var(--on-or); font-size: 15px; }
.btn-or:hover { filter: brightness(1.05); }
.btn-line { background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 13px; min-height: 46px; padding: 0 12px; letter-spacing: .03em; gap: 8px; }
.btn-line:hover { border-color: var(--muted); }
.btn .i { width: 20px; height: 20px; }
.btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.addr { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--sub); }
.addr span { user-select: all; overflow-wrap: anywhere; }
.tiny { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--tf-deep); cursor: pointer; padding: 2px 4px; letter-spacing: .06em; }
.telnum { text-align: center; font-size: 14px; color: var(--sub); user-select: all; }

.foot { padding-block: 40px 8px; text-align: center; font-size: 11px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }

/* ===== 役割のページ ===== */
.rhero { border-radius: 24px; padding: 32px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.rhero-main { background: var(--tf); color: var(--on-tf); }
.rhero-sub { background: var(--panel); border: 1px solid var(--tf); }
.rhero h1 { font-size: clamp(34px, 8vw, 54px); font-weight: 700; letter-spacing: .1em; line-height: 1.25; }
.rhero .kicker { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; }
.rhero .post { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.rhero .lead { font-size: 16px; line-height: 1.85; max-width: 34em; }
.rhero-sub .lead, .rhero-sub .post { color: var(--ink); }
.rhero-sub .note { font-size: 13px; color: var(--sub); }

.rgrid { display: grid; gap: 36px; margin-top: 36px; }
.rcol { display: flex; flex-direction: column; gap: 36px; min-width: 0; }

.box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 18px; }

/* 担当する範囲 */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; position: relative; }
.stages::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 7px; height: 2px; background: var(--tf); }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.45; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--tf-deep); }
.band { margin-top: 18px; border-radius: 999px; background: var(--tf); color: var(--on-tf); text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; padding: 7px 12px; }

/* 頼めること */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.help { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.help .i { width: 26px; height: 26px; color: var(--tf-deep); }
.help h3 { font-size: 14px; font-weight: 700; letter-spacing: .05em; line-height: 1.5; }
.help p { font-size: 12px; line-height: 1.65; color: var(--sub); }

/* 伴走の進め方 */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--tf); }
.step .no {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  border: 2px solid var(--tf-deep); color: var(--tf-deep); font-size: 13px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 16px; font-weight: 700; letter-spacing: .08em; margin-top: 8px; }
.step p { font-size: 13px; color: var(--sub); }

/* 実績の数字 */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 48px; font-weight: 800; line-height: 1.05; color: var(--or); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--sub); font-weight: 600; }
.caption { font-size: 12px; color: var(--muted); }

/* ===== パソコン幅 ===== */
@media (min-width: 880px) {
  body { font-size: 15.5px; }
  .top { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
  .card { position: sticky; top: 24px; }
  .id { flex-direction: column; align-items: stretch; }
  .id .photo { width: 100%; }
  .photo span { font-size: 11px; letter-spacing: .34em; }
  .name { font-size: 30px; }
  .rhero { padding: 48px 44px; }
  .rgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .box { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .role-main:not(.compact) .ico { display: none; }
  .role-main:not(.compact) { padding: 24px 20px; }
}
@media (max-width: 360px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .role-main .ttl { font-size: 21px; }
}

/* ===== 開いたときの動き（控えめ） ===== */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 80ms); }
  @keyframes rise { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .role { transition: none; }
}

/* 最後の連絡先が1つだけ余るときは横いっぱいに */
@media (min-width: 880px) {
  .rgrid > .contact:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ===== バーの右側（QR・言語） ===== */
.bar-end { display: flex; align-items: center; gap: 8px; }
.iconbtn {
  width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.iconbtn .i { width: 18px; height: 18px; }
.iconbtn:hover { border-color: var(--muted); }
.role:active { transform: scale(.99); }

/* ===== 役割の切り替え（海外展開 ⇄ AIリボーン） ===== */
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 999px; background: var(--panel); }
.switch a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 999px;
  text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--sub); text-align: center; line-height: 1.3;
}
.switch a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 30, 32, .08); }
.sw { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sw-main { background: var(--tf); }
.sw-sub { background: var(--panel); border: 2px solid var(--tf); }
.switch a[aria-current="page"] .sw-sub { background: var(--surface); }

/* ===== つなぐ役の図（海外展開） ===== */
.hub {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(16px, .55fr) auto minmax(16px, .55fr) minmax(0, 1fr);
}
.node { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.node .spot { height: 64px; display: grid; place-items: center; }
.node .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--sub); }
.node b { font-size: 13px; letter-spacing: .04em; line-height: 1.4; }
.node small { font-size: 11px; color: var(--sub); line-height: 1.4; }
.node.me .ico { width: 64px; height: 64px; background: var(--tf); color: var(--on-tf); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.wire { position: relative; height: 2px; margin-top: 31px; background: var(--tf); }
.wire span {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--tf-deep);
}
.hub-note { margin-top: 18px; text-align: center; font-size: 12px; color: var(--sub); }

/* ===== AIリボーンのしくみ ===== */
.flow3 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 6px; width: 100%; max-width: 420px; }
.fnode { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.4; min-width: 0; }
.fnode .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--tf-deep); }
.fnode.core .ico { background: var(--tf); color: var(--on-tf); }
.farrow { margin-top: 13px; color: var(--tf-deep); }
.farrow .i { width: 18px; height: 18px; }

/* ===== QRの画面 ===== */
dialog.qr {
  border: 0; border-radius: 24px; padding: 22px; width: min(360px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 64px rgba(10, 20, 22, .28);
}
dialog.qr::backdrop { background: rgba(16, 22, 24, .5); }
.qr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qr-head p { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.qr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-top: 14px; border-radius: 999px; background: var(--panel); }
.qr-tabs button {
  border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--sub);
  min-height: 36px; border-radius: 999px; cursor: pointer; line-height: 1.2;
}
.qr-tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 30, 32, .08); }
.qr-box { margin-top: 16px; padding: 18px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; }
.qr-box svg { width: 100%; height: auto; display: block; }
.qr-box p { color: #6E7578; font-size: 12px; text-align: center; }
.qr-url { margin-top: 10px; font-size: 11px; color: var(--sub); text-align: center; overflow-wrap: anywhere; user-select: all; }
.qr-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }

/* ===== 卜部グループ（ロゴだけを置く。暗い画面のときだけ紙の色を敷く） ===== */
.group-plate { background: var(--logo-plate); border-radius: 20px; padding: 22px 16px; display: flex; flex-direction: column; gap: 18px; }
.gmark { display: flex; justify-content: center; margin-bottom: 10px; }
.gmark img { width: 210px; max-width: 70%; height: auto; }
.glogos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.glogos img { width: auto; max-width: 100%; }
.group-plate hr { width: 40%; margin: 2px auto; border: 0; height: 1px; background: #B9BCBC; }

/* ===== 連絡先の一覧 ===== */
.clist { list-style: none; margin: 0; padding: 0; }
.crow { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); }
.crow:first-child { border-top: 0; padding-top: 4px; }
.cico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tf-soft); color: var(--tf-deep); }
.cico .i { width: 18px; height: 18px; }
.cval { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.cval small { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.cval a { font-size: 15px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; letter-spacing: .02em; }
.cval a:hover { color: var(--tf-deep); }

/* ===== AIリボーンのページ（箱を減らし、線と文字で見せる） ===== */
.ai { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 52px; }
.ai-hero { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--tf-deep); }
.ai-hero h1 { font-size: clamp(36px, 9.5vw, 60px); font-weight: 700; letter-spacing: .08em; line-height: 1.22; }
.ai-hero .lead { font-size: 15px; line-height: 1.95; color: var(--sub); max-width: 34em; }

.line3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 8px 4px; }
.line3::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 36px; height: 1px; background: var(--tf-deep); opacity: .55; }
.n3 { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.n3 .spot { height: 56px; display: grid; place-items: center; margin-bottom: 6px; }
.n3 .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--tf-deep); }
.n3.core .dot { width: 56px; height: 56px; border: 0; background: var(--tf); color: var(--on-tf); display: grid; place-items: center; }
.n3.core .dot .i { width: 24px; height: 24px; }
.n3 b { font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.n3 small { font-size: 11px; color: var(--sub); letter-spacing: .04em; }

.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.phase { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--tf); }
.phase .no { font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--tf-deep); font-variant-numeric: tabular-nums; }
.phase h3 { font-size: 19px; font-weight: 700; letter-spacing: .1em; }
.phase p { font-size: 12.5px; line-height: 1.75; color: var(--sub); }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fig { display: flex; flex-direction: column; gap: 6px; }
.fig + .fig { border-left: 1px solid var(--line); padding-left: 24px; }
.fig b { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--or); font-variant-numeric: tabular-nums; }
.fig span { font-size: 13px; font-weight: 600; color: var(--sub); }

/* ページどうしのつなぎ */
.next {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none;
  padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.next small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.next b { font-size: 18px; letter-spacing: .1em; }
.next .arrow { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tf); color: var(--on-tf); transition: transform .2s ease; }
.next:hover .arrow { transform: translateX(3px); }
.rgrid > .next, .rgrid > .contact { grid-column: 1 / -1; }

@media (min-width: 880px) {
  .ai { gap: 64px; }
  .phases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fig b { font-size: 72px; }
}

/* 日本語の文を、意味の切れ目で折り返す */
.nw { display: inline-block; }
.lead, .phase p, .help p { word-break: auto-phrase; }

@media (min-width: 880px) { .gmark img { width: 240px; } }

/* 人となり：仕事／人柄・プライベート */
.chipgroup { display: flex; flex-direction: column; gap: 8px; }
.chiplabel { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.chip-soft { background: transparent; border-color: var(--tf); }

/* 写真なしのとき：名前を主役にする */
.id.no-photo { display: block; padding-block: 8px 2px; }
.id.no-photo .name { font-size: 34px; }
@media (min-width: 880px) { .id.no-photo .name { font-size: 38px; } }

/* ===== AIリボーンの紹介 ===== */
.n3.core .dot { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.n3 .tag { margin-top: 6px; }
.product { display: grid; gap: 28px; }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.demo-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sub); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.demo-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tf); color: var(--on-tf); }
.demo-ico .i { width: 15px; height: 15px; }
.bubble { max-width: 86%; font-size: 14px; line-height: 1.65; padding: 10px 14px; border-radius: 16px; }
.bubble.q { align-self: flex-end; background: var(--panel); border-bottom-right-radius: 4px; }
.bubble.a { align-self: flex-start; background: var(--tf-soft); border-bottom-left-radius: 4px; display: flex; flex-direction: column; gap: 8px; }
.bubble .src { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--tf-deep); background: var(--surface); border-radius: 999px; padding: 3px 10px 3px 7px; }
.bubble .src .i { width: 14px; height: 14px; }
.demo-note { font-size: 10px; letter-spacing: .12em; color: var(--muted); text-align: right; }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.feats li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.feats h3 { font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.feats p { font-size: 13px; line-height: 1.75; color: var(--sub); word-break: auto-phrase; }
.fit { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 880px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
}
.bubble { word-break: auto-phrase; }
.fit { margin-top: 16px; }

/* ===== プロフィールのイラスト ===== */
.card-top {
  display: grid; align-items: end; column-gap: 12px; row-gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "logos avatar" "who avatar";
}
.card-top .logos { grid-area: logos; align-self: start; }
.card-top .who { grid-area: who; padding-bottom: 4px; }
.card-top .name { font-size: 28px; }
.avatar { grid-area: avatar; position: relative; isolation: isolate; width: 116px; aspect-ratio: 2 / 3; --px: 0; --py: 0; --lift: 0px; }
/* 奥の細い輪：丸の後ろにずらして重ね、奥行きを出す */
.avatar-ring {
  position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  border: 1.5px solid var(--tf-deep); opacity: .35;
  transform: translate(calc(9px + var(--px) * -4px), calc(-7px + var(--py) * -3px));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* 丸：左上から光が当たったように、下に影を落として浮かせる */
.avatar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 1; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 30% 26%, color-mix(in srgb, var(--tf) 55%, #FFFFFF) 0%, var(--tf) 48%, color-mix(in srgb, var(--tf) 80%, #0F3D3A) 100%);
  box-shadow: 0 16px 22px -14px rgba(15, 61, 58, .5), inset 0 -8px 16px rgba(15, 61, 58, .14);
}
.avatar::after {
  content: ""; position: absolute; z-index: 3; width: 10px; height: 10px; border-radius: 50%; background: var(--or);
  left: 3%; bottom: 7%; box-shadow: 0 3px 6px rgba(238, 100, 51, .35);
  transform: translate(calc(var(--px) * 7px), calc(var(--py) * 6px));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* 体は丸の下側で切り、頭は丸の上に自由に出す（上に余白をとって頭が切れないように） */
.avatar-clip {
  position: absolute; left: -15%; right: -15%; bottom: 0; top: -24%; z-index: 2; display: block;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 73.1% no-repeat, radial-gradient(closest-side, #000 calc(100% - 1px), transparent) bottom center / 76.9% 53.8% no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% 73.1% no-repeat, radial-gradient(closest-side, #000 calc(100% - 1px), transparent) bottom center / 76.9% 53.8% no-repeat;
}
.avatar img {
  position: absolute; left: 10%; bottom: -3.2%; width: 80%; height: auto; max-width: none;
  filter: drop-shadow(0 7px 8px rgba(15, 40, 40, .26));
  transform: translate3d(calc(var(--px) * 5px), calc(var(--py) * 4px + var(--lift)), 0);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .avatar img { animation: bob 5.5s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
  .card:hover .avatar { --lift: -5px; }
}
@media (min-width: 880px) {
  .card-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logos" "avatar" "who"; }
  .avatar { width: 200px; justify-self: center; margin-block: 6px 2px; }
  .card-top .name { font-size: 36px; }
}
.role .desc { word-break: auto-phrase; }

/* QRのダミー表示 */
.qr-box { position: relative; }
.qr-box img { width: 100%; height: auto; display: block; }
.qr-dummy {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78%;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: #FFFFFF; border: 1.5px dashed #9AA3A5; border-radius: 14px; padding: 14px 12px;
  font-size: 12px; line-height: 1.6; color: #5E6568; word-break: auto-phrase;
}
.qr-dummy b { font-size: 11px; font-weight: 800; letter-spacing: .2em; color: #FFFFFF; background: #EE6433; border-radius: 999px; padding: 3px 12px; }
.qr-what { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .06em; }

/* 拠点・本社 */
.place { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.place li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--panel); color: var(--sub); }
.place li .i { width: 18px; height: 18px; color: var(--muted); }
.place li > span { display: flex; align-items: baseline; gap: 6px; line-height: 1.3; }
.place small { font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.place b { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.place .place-main { background: var(--tf-soft); }
.place .place-main .i { color: var(--tf-deep); }

/* ===== 仕事の2枚：同じ形にそろえ、違いは色だけ ===== */
.role, .role-main, .role-sub { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 22px 20px 22px 22px; }
.role .ttl, .role-main .ttl, .role-sub .ttl { font-size: 22px; }
.role .arrow { width: 44px; height: 44px; }
.role-sub .arrow { background: var(--surface); color: var(--tf-deep); }
.role-main:not(.compact) { padding: 22px 20px 22px 22px; }

/* ===== 海外パートナー ===== */
.partners { display: flex; flex-direction: column; gap: 8px; }
.partners-label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.partners-label .i { width: 15px; height: 15px; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 5px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.ptag b { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--tf-deep); background: var(--tf-soft); border-radius: 999px; padding: 3px 7px; }

/* ===== 人となり：札は1種類にそろえ、見出しと細い線で区切る ===== */
.callme { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.callme b { color: var(--tf-deep); }
.traits { margin: 4px 0 0; display: flex; flex-direction: column; }
.trait { display: grid; gap: 10px; padding-block: 16px; border-top: 1px solid var(--line); }
.trait:last-child { padding-bottom: 0; }
.trait dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.trait dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; padding: 6px 12px; border-radius: 999px; background: var(--surface); }
.tchip .cc { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--tf-deep); }
@media (min-width: 560px) {
  .trait { grid-template-columns: 9.5em minmax(0, 1fr); align-items: baseline; gap: 16px; }
  .trait dt { padding-top: 7px; }
}

/* ===== INGINGのロゴを大きく ===== */
.card-top .logos { margin: -6px 0 0 -4px; padding: 0; min-height: 0; }
.logos img[src*="inging"] { height: 68px; width: auto; }
@media (min-width: 880px) {
  .card-top .logos { justify-self: center; margin: -4px 0 0; }
  .logos img[src*="inging"] { height: 78px; }
}

/* 国旗（絵文字）：文字と高さをそろえる */
.flag { font-size: 16px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.ptag:has(.flag) { padding-left: 10px; }

/* ===== うちの2匹（名刺カードの上のふちから顔を出す） ===== */
.card { position: relative; }
.pups {
  position: absolute; bottom: 100%; left: calc(50% - 58px); width: 92px; height: 84px;
  overflow: hidden; pointer-events: none; z-index: 1;
}
.pup {
  position: absolute; bottom: -30px; width: 50px; display: block; pointer-events: auto; cursor: pointer;
  transform: translateY(105%); transform-origin: 50% 100%;
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1);
  -webkit-tap-highlight-color: transparent;
}
.pup img { width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 2px rgba(15, 40, 40, .12)); }
.pup-w { left: 0; }
.pup-a { left: 40px; width: 51px; transition-delay: .16s; }
.pups.in .pup { transform: translateY(0); }
/* 跳ねたときの「！」 */
.pup .marks { position: absolute; top: -12px; left: 58%; width: 16px; height: 12px; opacity: 0; }
.pup .marks i { position: absolute; bottom: 0; width: 2px; height: 9px; border-radius: 2px; background: var(--or); }
.pup .marks i:first-child { left: 0; transform: rotate(-22deg); }
.pup .marks i:last-child { left: 9px; transform: rotate(18deg); height: 11px; }
.pup.hop { animation: pup-hop .9s ease; }
.pup.hop .marks { animation: pup-marks .9s ease; }
.pup.tilt { animation: pup-tilt 1.4s ease-in-out; }
.pup.duck { animation: pup-duck 1.6s ease-in-out; }
@keyframes pup-hop { 0% { transform: translateY(0); } 28% { transform: translateY(-14px); } 52% { transform: translateY(0); } 70% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
@keyframes pup-marks { 0% { opacity: 0; transform: translateY(4px); } 25%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pup-tilt { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 60% { transform: rotate(7deg); } }
@keyframes pup-duck { 0%, 100% { transform: translateY(0); } 35%, 62% { transform: translateY(80%); } }
.tchip-dog { cursor: pointer; }
.tchip-dog:hover { background: var(--tf-soft); }
@media (max-width: 879px) { .top { padding-top: 8px; } }
@media (prefers-reduced-motion: reduce) {
  .pup { transition: none; transform: none; }
  .pup.hop, .pup.tilt, .pup.duck, .pup.hop .marks { animation: none; }
}
/* 2匹の大きさと間隔（顔がしっかり見えるように） */
.pups { left: calc(50% - 92px); width: 128px; height: 96px; }
.pup { width: 62px; bottom: -34px; }
.pup-w { left: 0; }
.pup-a { left: 64px; width: 63px; }
@media (max-width: 879px) { .top { padding-top: 20px; } }
@media (min-width: 880px) { .pups { left: calc(50% - 64px); } }

/* バターとピーナッツ：体まで描かれた絵に差し替え。上ははみ出してよく、下（カードの中）だけ隠す */
.pups { overflow: visible; clip-path: inset(-80px -40px 0 -40px); height: 96px; }
.pup, .pup-w, .pup-a { width: 64px; bottom: -32px; }
.pup-a { left: 66px; }
.pup .pname {
  position: absolute; left: 50%; top: -24px; transform: translate(-50%, 4px); opacity: 0; pointer-events: none; white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--tf-deep);
  background: var(--surface); border-radius: 999px; padding: 3px 9px; box-shadow: 0 2px 6px rgba(15, 40, 40, .12);
  transition: opacity .25s ease, transform .25s ease;
}
.pup.say .pname { opacity: 1; transform: translate(-50%, 0); }
.pup .marks { top: -8px; left: 76%; }
/* 顔を口元まで見せる／名前の札は横に出す（上のバーと重ならないように） */
.pup, .pup-w, .pup-a { bottom: -24px; }
.pup .pname { top: 10px; transform: translateY(4px); }
.pup-w .pname { left: auto; right: calc(100% - 6px); }
.pup-a .pname { left: calc(100% - 6px); }
.pup.say .pname { transform: none; }
.pups { clip-path: inset(-80px -100px 0 -100px); }

/* ===== 仕事のカードの絵（地球儀・ロボット）：2枚とも右に同じ大きさ、矢印は右下に小さく ===== */
.art-wrap { position: relative; width: 62px; height: 62px; flex: none; }
.art { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.art svg { width: 54px; height: 54px; overflow: visible; }
.art-wrap .arrow, .role .art-wrap .arrow { position: absolute; right: -5px; bottom: -5px; width: 26px; height: 26px; border: 2px solid var(--surface); }
.art-wrap .arrow .i, .role .art-wrap .arrow .i { width: 14px; height: 14px; }
.role-sub .art-wrap .arrow { background: var(--tf-deep); color: var(--surface); }
.role-main .art { background: rgba(255, 255, 255, .6); }
/* 地球儀 */
.g-body { fill: var(--tf-soft); stroke: var(--tf-deep); stroke-width: 2; }
.g-line { fill: none; stroke: var(--tf-deep); stroke-width: 1.6; stroke-linecap: round; opacity: .75; }
.g-plane { fill: var(--or); }
.g-orbit { transform-origin: 32px 32px; }
/* ロボット */
.r-stroke { stroke: var(--tf-deep); stroke-width: 2; stroke-linecap: round; }
.r-ball, .r-heart { fill: var(--or); }
.r-ear { fill: var(--tf-deep); }
.r-head { fill: var(--tf-soft); stroke: var(--tf-deep); stroke-width: 2; }
.r-face { fill: var(--ink); }
.r-eye { fill: var(--tf); }
.r-smile { fill: none; stroke: var(--tf); stroke-width: 1.6; stroke-linecap: round; }
.r-body { fill: var(--tf-soft); stroke: var(--tf-deep); stroke-width: 2; }
.r-eyes, .r-ant { transform-box: fill-box; transform-origin: 50% 50%; }
.r-ant { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .g-orbit { animation: orbit 9s linear infinite; }
  .r-ant { animation: antenna 2.8s ease-in-out infinite; }
  .r-eyes { animation: blink 4.5s ease-in-out infinite; }
  .role:hover .g-orbit { animation-duration: 3s; }
  .role:hover .r-ant { animation-duration: 1s; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes antenna { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
.role .ttl { letter-spacing: .06em; }

/* ===== Kimiの名前札（押すと浮いて名前が出る） ===== */
.avatar[data-kimi] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kname {
  position: absolute; z-index: 4; left: -8px; top: 8%; transform: translate(-100%, 4px); opacity: 0; pointer-events: none;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--tf-deep); white-space: nowrap;
  background: var(--surface); border-radius: 999px; padding: 3px 10px; box-shadow: 0 2px 6px rgba(15, 40, 40, .14);
  transition: opacity .25s ease, transform .25s ease;
}
.avatar.say .kname { opacity: 1; transform: translate(-100%, 0); }
.avatar.say { --lift: -9px; }
/* Kimiの名前札は丸の下に名札のように */
.kname { left: 50%; top: auto; bottom: -10px; transform: translate(-50%, 4px); }
.avatar.say .kname { transform: translate(-50%, 0); }

/* ===== LINEで友だち追加（名前のすぐ下） ===== */
.line-add {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: #06C755; color: #FFFFFF;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgba(6, 199, 85, .55); transition: transform .2s ease, box-shadow .2s ease;
}
.line-add svg { width: 20px; height: 20px; color: #FFFFFF; flex: none; }
.line-add:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -4px rgba(6, 199, 85, .6); }
.line-add:active { transform: scale(.98); }
@media (max-width: 360px) { .line-add { font-size: 12px; padding: 7px 12px 7px 8px; } }

/* ===== 連絡先をスマホに保存（LINEのすぐ下） ===== */
.save-add {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 8px;
  padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.save-add .i { width: 17px; height: 17px; color: var(--tf-deep); }
.save-add:hover { border-color: var(--muted); transform: translateY(-1px); }
.save-add:active { transform: scale(.98); }

/* ===== 名刺カードをすっきり：ボタンは横1列、拠点などは3列の表 ===== */
.card-actions { display: flex; gap: 8px; margin-top: -4px; }
.card-actions .line-add { flex: 1; justify-content: center; margin: 0; padding: 11px 14px; font-size: 14px; box-shadow: none; }
.card-actions .save-add { margin: 0; padding: 0 16px; font-size: 13px; }
.org { border-top: 1px solid var(--line); padding-top: 18px; }
.meta { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meta > div { display: flex; flex-direction: column; gap: 3px; padding-left: 14px; border-left: 1px solid var(--line); min-width: 0; }
.meta > div:first-child { padding-left: 0; border-left: 0; }
.meta dt { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.meta dd { margin: 0; display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.meta .flag { font-size: 15px; }
.card-actions > * { align-self: stretch; }

/* LINEと保存を同じ大きさに（LINEは主張しすぎない淡い緑） */
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions .line-add, .card-actions .save-add {
  justify-content: center; gap: 6px; min-height: 40px; padding: 0 10px; margin: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; border-radius: 999px; box-shadow: none; transform: none;
}
.card-actions .line-add { background: #EAF8EF; color: #05A04A; border: 1px solid #CDEFD9; }
.card-actions .line-add:hover { background: #DFF5E7; }
.card-actions .line-add svg { width: 18px; height: 18px; }
.card-actions .save-add .i { width: 16px; height: 16px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-actions .line-add { background: #16301F; color: #5FD68F; border-color: #1F4A2F; } }
:root[data-theme="dark"] .card-actions .line-add { background: #16301F; color: #5FD68F; border-color: #1F4A2F; }

/* 「動きを減らす」設定でも、小さくやさしい動きは出す（2匹・名前の札・地球儀・ロボット） */
@media (prefers-reduced-motion: reduce) {
  .pup { transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); transform: translateY(105%); }
  .pups.in .pup { transform: translateY(0); }
  .pup.hop { animation: pup-hop .9s ease; }
  .pup.hop .marks { animation: pup-marks .9s ease; }
  .pup.tilt { animation: pup-tilt 1.4s ease-in-out; }
  .pup.duck { animation: pup-duck 1.6s ease-in-out; }
  .g-orbit { animation: orbit 14s linear infinite; }
  .r-ant { animation: antenna 3.2s ease-in-out infinite; }
  .r-eyes { animation: blink 4.5s ease-in-out infinite; }
  .avatar img { transition: transform .5s ease; }
}
/* スマホでは自動でずれるので、なめらかに追いかけすぎないように */
@media (hover: none) { .avatar img, .avatar-ring, .avatar::after { transition: none; } }

/* QRは2つ（このサイト・LINE） */
.qr-tabs.qr-tabs-2 { grid-template-columns: repeat(2, 1fr); }
.qr-what { margin-top: 12px; }
.qr-url { margin-top: 4px; }
