/* ============================================================
   n.studio トップページ（1.3.0 / 案A''）
   front-page.php でだけ読み込む
   ============================================================ */
:root {
  --a2-accent: #0f7f75;          /* 差し色 */
  --a2-ink:    #0c635b;          /* 差し色を文字に使うとき（少し濃く） */
  --a2-bg:     #ececea;
  --a2-text:   #252525;
  --a2-sub:    #3d413d;
  --a2-muted:  #555a55;
  --a2-line:   rgba(37,37,37,0.12);
  --a2-en:     'Be Vietnam Pro', 'Noto Sans JP', sans-serif;
  --a2-radius: 40px;
  --a2-gap:    24px;
}

body { background: var(--a2-bg); color: var(--a2-text); }
.p-top { line-height: 1.85; overflow-x: clip; }
.p-top a { color: inherit; }

/* カードの4色 */
.is-tone1 { --tone-bg: #e2f1ee; --tone-ink: #0f7f75; }
.is-tone2 { --tone-bg: #e4ecf8; --tone-ink: #1f5fbf; }
.is-tone3 { --tone-bg: #fbefd9; --tone-ink: #9a5b00; }
.is-tone4 { --tone-bg: #f9e6e3; --tone-ink: #b4483f; }

/* 表示の出し分け */
.u-sp, .u-sp-flex { display: none !important; }
.u-pc-flex { display: inline-flex; }
.u-pc-block { display: block; }


/* ─── 共通パーツ ─── */
.c-a2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.4;
  text-decoration: none;
}
.c-a2-btn--accent { background: var(--a2-accent); color: #fff !important; font-weight: 700; padding: 0 12px 0 28px; min-height: 54px; }
.c-a2-btn--accent > span {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; color: var(--a2-ink); align-items: center; justify-content: center; font-size: 13px;
}
.c-a2-btn--line { border: 1px solid var(--a2-text); background: rgba(255,255,255,0.5); color: var(--a2-text); }
.c-a2-btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; gap: 10px; }
.c-a2-btn--block { display: flex; width: 100%; min-height: 48px; margin-top: 18px; font-size: 14px; }
.c-a2-btn--white { background: #fff; color: var(--a2-ink) !important; font-weight: 700; font-size: 16px; min-height: 58px; padding: 0 12px 0 32px; }
.c-a2-btn--white > span {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--a2-accent); color: #fff; align-items: center; justify-content: center; font-size: 13px;
}
.c-a2-btn:focus-visible, .p-top a:focus-visible { outline: 2px solid var(--a2-ink); outline-offset: 3px; }

.c-a2-pill {
  font-family: var(--a2-en); font-weight: 600; font-size: 11px; letter-spacing: .3px;
  border: 1px solid var(--a2-text); padding: 0 10px; border-radius: 999px; line-height: 1.7;
}

/* 見出し：大きい英字＋日本語の h2 */
.c-a2-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.c-a2-head--split { justify-content: space-between; margin-bottom: 40px; }
.c-a2-head__group { display: flex; align-items: flex-end; gap: 20px; }
.c-a2-head__num { font-family: var(--a2-en); font-size: 13px; font-weight: 600; color: var(--a2-muted); }
.c-a2-head__en {
  font-family: var(--a2-en); font-size: 68px; font-weight: 300;
  line-height: 1; letter-spacing: -2.5px; margin: 0;
}
.c-a2-head__ja { margin: 8px 0 0; font-size: 16px; font-weight: 700; letter-spacing: 0; }

/* 白い角丸パネル */
.p-top-panel { background: #fff; border-radius: var(--a2-radius); margin: var(--a2-gap) 20px 0; }
.p-top-panel__inner { max-width: 1180px; margin: 0 auto; padding: 96px 32px 88px; }
.p-top-empty { color: var(--a2-muted); font-size: 15px; }


/* ─── Hero ─── */
.p-top-hero { position: relative; overflow: hidden; }
.p-top-hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.p-top-hero__inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  padding: 148px 32px 112px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center;
}
.p-top-hero__main { display: flex; flex-direction: column; gap: 26px; }
.p-top-hero__badge {
  margin: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.55);
  border: 1px solid rgba(28,28,28,0.18); padding: 6px 16px; border-radius: 999px;
}
.p-top-hero__badge > span { width: 8px; height: 8px; border-radius: 50%; background: var(--a2-accent); }
.p-top-hero__en { margin: 0 0 -6px; font-family: var(--a2-en); font-size: 22px; font-weight: 300; letter-spacing: -.5px; color: var(--a2-muted); }
.p-top-hero__title { margin: 0; font-size: 62px; font-weight: 900; line-height: 1.2; letter-spacing: -2px; }
.p-top-hero__title strong { color: var(--a2-ink); font-weight: 900; }
.p-top-hero__desc { margin: 0; font-size: 16px; line-height: 2; color: var(--a2-sub); }
.p-top-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.p-top-hero__meta { margin: 6px 0 0; display: flex; gap: 12px 32px; flex-wrap: wrap; }
.p-top-hero__meta dt { font-family: var(--a2-en); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--a2-muted); }
.p-top-hero__meta dd { margin: 0; font-size: 14px; }

/* ターミナル風の自己紹介 */
.p-top-hero__visual { min-width: 0; }
.p-top-term {
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(28,28,28,0.14); border-radius: 18px;
  box-shadow: 0 20px 50px rgba(28,28,28,0.08); overflow: hidden;
}
.p-top-term__bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid rgba(28,28,28,0.08); }
.p-top-term__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9ccc8; }
.p-top-term__bar span { margin-left: 6px; font-family: var(--mono); font-size: 12px; color: var(--a2-muted); }
.p-top-term__body { padding: 22px 24px 26px; font-family: var(--mono); font-size: 14px; line-height: 2; white-space: nowrap; }
.p-top-term__body b { color: var(--a2-ink); font-weight: 500; }
.p-top-term__body .is-sub { color: var(--a2-muted); }
.p-top-term__cursor { display: inline-block; width: 9px; height: 17px; background: var(--a2-accent); vertical-align: -3px; animation: a2Blink 1.1s steps(1) infinite; }


/* ─── 数字の帯 ─── */
.p-top-stats { background: color-mix(in srgb, var(--a2-accent) 11%, #fff); border-radius: var(--a2-radius); margin: 0 20px; }
.p-top-stats__list { list-style: none; max-width: 1180px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-top-stats__list li { padding: 30px 24px; border-right: 1px solid rgba(28,28,28,0.1); display: flex; flex-direction: column; gap: 8px; }
.p-top-stats__list li:first-child { padding-left: 8px; }
.p-top-stats__list li:last-child { border-right: 0; }
.p-top-stats__num { font-size: 48px; font-weight: 500; line-height: 1; letter-spacing: -.5px; font-variant-numeric: tabular-nums; color: var(--a2-ink); }
.p-top-stats__num small { font-size: 18px; font-weight: 500; margin-left: 4px; }
.p-top-stats__label { font-size: 13px; color: var(--a2-muted); }


/* ─── 01 できること ─── */
.p-top-skills { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.p-top-skill { background: var(--tone-bg); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.p-top-skill__head { display: flex; align-items: center; justify-content: space-between; }
.p-top-skill__key { font-family: var(--mono); font-size: 12px; color: var(--tone-ink); }
.p-top-skill__icon { display: inline-flex; width: 88px; height: 88px; border-radius: 50%; background: #fff; align-items: center; justify-content: center; }
.p-top-skill__svg { width: 46px; height: 46px; }
.p-top-skill__name { margin: 0; font-size: 20px; font-weight: 700; }
.p-top-skill__desc { margin: 0; font-size: 15px; color: var(--a2-sub); }
.p-top-skill__tags { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--a2-en); font-size: 12px; font-weight: 500; }
.p-top-skill__tags li { background: #fff; padding: 2px 12px; border-radius: 999px; }


/* ─── 02 制作実績 ─── */
.p-top-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.p-top-work { display: flex; flex-direction: column; gap: 12px; text-decoration: none; border-radius: 16px; }
.p-top-work__thumb {
  aspect-ratio: 2 / 1; background: var(--tone-bg); border-radius: 16px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.p-top-work__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-top-work__noimg { font-family: var(--mono); font-size: 12px; color: var(--tone-ink); }
.p-top-work__meta { display: flex; align-items: center; gap: 10px; }
.p-top-work__num { font-family: var(--a2-en); font-size: 12px; font-weight: 600; color: var(--a2-muted); }
.p-top-work__cat {
  font-family: var(--a2-en); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px;
  background: var(--tone-bg); color: var(--tone-ink); padding: 2px 10px; border-radius: 999px;
}
.p-top-work__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.6; }
.p-top-work__desc { margin: 0; font-size: 14px; color: var(--a2-sub); }
.p-top-work__tags { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--a2-en); font-size: 11px; font-weight: 500; color: var(--a2-sub); }
.p-top-work__tags li { border: 1px solid var(--a2-line); padding: 0 10px; border-radius: 999px; }


/* ─── ご依頼の流れ ─── */
.p-top-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-top-flow__item { background: #f3f4f2; border-radius: 18px; padding: 20px 20px 24px; }
.p-top-flow__illust { height: 140px; margin-bottom: 12px; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.p-top-flow__svg { width: 100%; max-width: 240px; height: 140px; }
.p-top-flow__step { margin: 0; font-family: var(--a2-en); font-size: 13px; font-weight: 600; color: var(--tone-ink); }
.p-top-flow__title { margin: 8px 0 0; font-size: 17px; font-weight: 700; }
.p-top-flow__desc { margin: 6px 0 0; font-size: 14px; color: var(--a2-sub); }
.p-top-flow__hint { display: none; }


/* ─── 03 コラム・ブログ ─── */
.p-top-blog + .p-top-blog { margin-top: 56px; }
.p-top-blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.p-top-blog__title { margin: 0; font-size: 18px; font-weight: 700; }
.p-top-blog__intro { margin: 4px 0 0; font-size: 14px; color: var(--a2-sub); }
.p-top-blog__intro a { color: var(--a2-ink); text-decoration: underline; text-underline-offset: 3px; }

.p-top-columns { display: flex; flex-direction: column; gap: 14px; }
.p-top-column {
  display: flex; gap: 28px; align-items: center; padding: 18px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--a2-line); border-radius: 18px; text-decoration: none;
}
.p-top-column__thumb {
  flex: 0 0 300px; aspect-ratio: 300 / 158; border-radius: 12px; overflow: hidden;
  background: color-mix(in srgb, var(--a2-accent) 14%, #fff);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--a2-muted);
}
.p-top-column__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-top-column__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.p-top-column__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--a2-en); font-size: 12px; }
.p-top-column__cat { font-family: var(--sans); color: var(--a2-muted); }
.p-top-column__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.6; }
.p-top-column__desc {
  margin: 0; font-size: 14px; color: var(--a2-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.p-top-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.p-top-note { display: flex; flex-direction: column; gap: 10px; text-decoration: none; border-radius: 14px; }
.p-top-note__thumb { aspect-ratio: 16 / 9; background: var(--tone-bg); border-radius: 14px; overflow: hidden; }
.p-top-note__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-top-note__meta { display: flex; align-items: center; gap: 10px; font-family: var(--a2-en); font-size: 12px; }
.p-top-note__title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.7; }
.p-top-note__desc {
  margin: 0; font-size: 13px; color: var(--a2-sub);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}


/* ─── Contact ─── */
.p-top-contact {
  position: relative; overflow: hidden; background: var(--a2-accent); color: #fff;
  border-radius: var(--a2-radius); margin: var(--a2-gap) 20px 20px;
}
.p-top-contact__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.p-top-contact__inner {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 104px 32px;
  display: flex; gap: 56px; flex-wrap: wrap; align-items: flex-start;
}
.p-top-contact__main { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.p-top-contact__title { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.p-top-contact__text { margin: 0; }
.p-top-contact__sns { flex: 1 1 380px; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.45); }
.p-top-contact__sns a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.45); color: #fff; text-decoration: none;
}
.p-top-contact__sns a > span { font-weight: 600; }
.p-top-contact__sns em { font-style: normal; font-family: var(--a2-en); font-size: 13px; overflow-wrap: anywhere; text-align: right; }
.p-top-contact__sns a:hover em { text-decoration: underline; text-underline-offset: 3px; }
.p-top-contact a:focus-visible { outline-color: #fff; }

/* 下に浮くContact */
.p-top-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  background: var(--a2-text); color: #fff !important; font-family: var(--a2-en); font-weight: 600; font-size: 14px;
  text-decoration: none; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.p-top-float > span:first-child { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

/* フッター（トップだけ背景に合わせる） */
.site-footer { border-top-color: var(--a2-line); margin-top: 20px; }


/* ============================================================
   動き（.a2m の中だけ）
   ============================================================ */
@keyframes a2Up     { to { opacity: 1; transform: none; } }
@keyframes a2Draw   { to { stroke-dashoffset: 0; } }
@keyframes a2Fade   { to { opacity: 1; } }
@keyframes a2Float  { from { transform: translate(0,0); } to { transform: translate(-22px,12px); } }
@keyframes a2Spin   { to { transform: rotate(360deg); } }
@keyframes a2Typing { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes a2Reveal { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes a2Blink  { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.a2m .a2-up    { opacity: 0; transform: translateY(20px); animation: a2Up .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
.a2m .a2-draw  { stroke-dasharray: 1; stroke-dashoffset: 1; animation: a2Draw 2.4s cubic-bezier(.6,0,.2,1) forwards; animation-delay: var(--d, 0s); }
.a2m .a2-fade  { opacity: 0; animation: a2Fade 1.8s ease forwards; animation-delay: var(--d, 0s); }
.a2m .a2-float { animation: a2Float 10s ease-in-out infinite alternate; }
.a2m .a2-spin  { transform-box: fill-box; transform-origin: center; animation: a2Spin 80s linear infinite; }
.a2m .a2-type  { clip-path: inset(0 100% 0 0); animation: a2Typing .8s steps(30, end) forwards; animation-delay: var(--d, 0s); }

/* スクロールで下からふわっと（対応ブラウザだけ。非対応ならそのまま表示） */
@supports (animation-timeline: view()) {
  .a2m .a2-reveal { animation: a2Reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}

.a2-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
a.a2-card:hover, li.a2-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.a2-btn { transition: filter .25s; }
.a2-btn:hover { filter: brightness(1.08); }
.a2-btn > span { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.a2-btn:hover > span { transform: translateX(4px); }

/* 動きを減らす設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
  .a2m .a2-up, .a2m .a2-draw, .a2m .a2-fade, .a2m .a2-float, .a2m .a2-spin, .a2m .a2-type, .a2m .a2-reveal {
    animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important;
  }
  .p-top-term__cursor { animation: none; }
  .a2-card, .a2-btn > span { transition: none; }
}


/* ============================================================
   タブレット・スマホ
   ============================================================ */
@media (max-width: 1080px) {
  .p-top-hero__title { font-size: 52px; }
  .p-top-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --a2-radius: 28px; --a2-gap: 16px; }
  .u-pc, .u-pc-flex, .u-pc-block { display: none !important; }
  .u-sp { display: inline !important; }
  .u-sp-flex { display: flex !important; }

  .c-a2-head { margin-bottom: 24px; gap: 12px; }
  .c-a2-head--split { margin-bottom: 24px; }
  .c-a2-head__group { gap: 12px; }
  .c-a2-head__en { font-size: 48px; letter-spacing: -2px; }
  .c-a2-head__ja { margin-top: 6px; font-size: 15px; }

  .p-top-panel { margin: var(--a2-gap) 12px 0; }
  .p-top-panel__inner { padding: 48px 18px 36px; }

  /* Hero */
  .p-top-hero__inner { grid-template-columns: 1fr; gap: 28px; padding: 100px 20px 48px; }
  .p-top-hero__main { gap: 18px; }
  .p-top-hero__badge { font-size: 12px; padding: 4px 12px; gap: 8px; }
  .p-top-hero__en { font-size: 17px; margin-bottom: -8px; }
  .p-top-hero__title { font-size: clamp(28px, 8.8vw, 38px); line-height: 1.25; letter-spacing: -1.5px; }
  .p-top-hero__desc { font-size: 14px; line-height: 1.95; }
  .p-top-hero__actions { flex-direction: column; gap: 10px; }
  .p-top-hero__actions .c-a2-btn { width: 100%; }
  .p-top-hero__actions .c-a2-btn--accent { justify-content: space-between; padding: 0 10px 0 24px; }
  .p-top-hero__meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
  .p-top-hero__meta > div { display: contents; }
  .p-top-hero__meta dt { padding-top: 2px; }
  .p-top-hero__meta dd { font-size: 13px; }
  .p-top-term { border-radius: 16px; }
  .p-top-term__bar { padding: 10px 14px; }
  .p-top-term__body { font-size: 11.5px; line-height: 1.9; padding: 14px 16px 16px; }

  /* 数字の帯 */
  .p-top-stats { margin: 0 12px; }
  .p-top-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 12px; }
  .p-top-stats__list li { padding: 20px 10px; border-right: 0; }
  .p-top-stats__list li:first-child { padding-left: 10px; }
  .p-top-stats__list li:nth-child(odd) { border-right: 1px solid rgba(28,28,28,0.1); }
  .p-top-stats__list li:nth-child(-n+2) { border-bottom: 1px solid rgba(28,28,28,0.1); }
  .p-top-stats__num { font-size: 38px; }
  .p-top-stats__num small { font-size: 15px; }
  .p-top-stats__label { font-size: 12px; }

  /* できること */
  .p-top-skills { grid-template-columns: 1fr; gap: 12px; }
  .p-top-skill { padding: 20px; gap: 8px; }
  .p-top-skill__key { font-size: 11px; }
  .p-top-skill__icon { width: 68px; height: 68px; }
  .p-top-skill__svg { width: 36px; height: 36px; }
  .p-top-skill__name { font-size: 18px; }
  .p-top-skill__desc { font-size: 14px; }
  .p-top-skill__tags { font-size: 11px; }
  .p-top-skill__tags li { padding: 1px 10px; }

  /* 制作実績 */
  .p-top-works { grid-template-columns: 1fr; gap: 32px; }
  .p-top-work__title { font-size: 17px; }
  .p-top-work__desc { font-size: 13px; }

  /* ご依頼の流れ：横にスライド */
  .p-top-flow-sec { timeline-scope: --a2flow; }
  .p-top-flow {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -18px; padding: 0 18px 4px; scroll-padding-inline: 18px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    scroll-timeline: --a2flow x;
  }
  .p-top-flow::-webkit-scrollbar { display: none; }
  .p-top-flow__item { flex: 0 0 80%; scroll-snap-align: start; padding: 14px 14px 18px; }
  .p-top-flow__illust { margin-bottom: 8px; }
  .p-top-flow__step { font-size: 12px; }
  .p-top-flow__title { margin-top: 4px; font-size: 16px; }
  .p-top-flow__desc { font-size: 13px; }
  .p-top-flow__hint { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-family: var(--a2-en); font-size: 11px; font-weight: 600; color: var(--a2-muted); white-space: nowrap; }
  .p-top-flow__bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: #e4e6e3; overflow: hidden; }
  .p-top-flow__bar i { position: absolute; inset: 0; width: 25%; border-radius: 3px; background: var(--a2-ink); }
  @supports (animation-timeline: scroll()) {
    .p-top-flow__bar i { width: 100%; transform-origin: left; animation: a2FlowGrow linear both; animation-timeline: --a2flow; }
  }

  /* コラム・note */
  .p-top-blog + .p-top-blog { margin-top: 40px; }
  .p-top-blog__head { margin-bottom: 14px; }
  .p-top-blog__title { font-size: 16px; }
  .p-top-blog__intro { font-size: 13px; }
  .p-top-column { flex-direction: column; align-items: stretch; gap: 14px; padding: 12px 12px 16px; border-radius: 16px; }
  .p-top-column__thumb { flex: none; width: 100%; aspect-ratio: 16 / 9; }
  .p-top-column__title { font-size: 16px; }
  .p-top-notes { grid-template-columns: 1fr; gap: 0; }
  .p-top-note { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-content: center; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--a2-line); border-radius: 0; }
  .p-top-note:first-child { border-top: 1px solid var(--a2-line); }
  a.p-top-note:hover { transform: none; box-shadow: none; }
  .p-top-note__thumb { grid-row: 1 / span 2; align-self: center; aspect-ratio: 3 / 2; border-radius: 10px; }
  .p-top-note__title { font-size: 14px; line-height: 1.6; }
  .p-top-note__desc { display: none; }

  /* Contact */
  .p-top-contact { margin: var(--a2-gap) 12px 0; }
  .p-top-contact__inner { padding: 48px 20px 40px; gap: 32px; }
  .p-top-contact__main { flex-basis: 100%; gap: 14px; }
  .p-top-contact__title { font-size: 24px; }
  .p-top-contact__text { font-size: 14px; }
  .p-top-contact .c-a2-btn--white { width: 100%; justify-content: space-between; font-size: 15px; min-height: 54px; padding: 0 10px 0 24px; }
  .p-top-contact__sns { flex-basis: 100%; }
  .p-top-contact__sns a { min-height: 52px; }
  .p-top-contact__sns em { font-size: 12px; }

  /* 下に浮くContact：横いっぱいのバー */
  .p-top-float { left: 20px; right: 20px; bottom: 18px; justify-content: center; min-height: 50px; }
  .site-footer { padding-bottom: 76px; margin-top: 16px; }
}

@keyframes a2FlowGrow { from { transform: scaleX(.25); } to { transform: scaleX(1); } }

@media (max-width: 380px) {
  .c-a2-head__en { font-size: 42px; }
}
