@charset "UTF-8";

/* =========================================================
   株式会社一歩企画 — デザイントークン
   色・文字・余白はここを変えればサイト全体に反映されます
   ========================================================= */
:root {
  /* ブランドカラー（ロゴの足跡の赤） */
  --red: #d7261f;
  --red-deep: #b01b15;
  --red-soft: #fcebe9;

  /* ベース */
  --ink: #1d1d1f;          /* 見出し */
  --text: #34302d;         /* 本文 */
  --muted: #78716b;        /* 補足 */
  --paper: #faf7f2;        /* 色紙のような生成り */
  --line: #e9e3da;
  --white: #ffffff;
  --night: #161515;        /* 濃色セクション */

  /* 文字 */
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-en: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.3rem, 1.2rem + 4.6vw, 4.8rem);
  --fs-h1: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);

  /* レイアウト */
  --w-max: 1160px;
  --w-narrow: 820px;
  --pad-x: clamp(1.15rem, 4.5vw, 2.25rem);
  --sec-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 18px 40px -18px rgba(29, 29, 31, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   ベース
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-ja); font-size: 16px; line-height: 1.95;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
h1, h2, h3, h4 { word-break: auto-phrase; margin: 0 0 .6em; color: var(--ink); line-height: 1.45; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1.3em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: var(--w-narrow); }
.section { padding-block: var(--sec-y); position: relative; }
.section--paper { background: var(--paper); }
.section--soft { background: var(--red-soft); }
.section--night { background: var(--night); color: rgba(255, 255, 255, .78); }
.section--night h2, .section--night h3 { color: #fff; }
.center { text-align: center; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 0; color: #fff; }

/* 日本語を文節単位で折り返す（対応ブラウザのみ。1文字だけ次行に落ちるのを防ぐ） */
.hero__lead, .page-hero__lead, .pains li, .pains-answer, .mindset__item p, .mvv__text, .offer h3, .feature h3, .creed__note { word-break: auto-phrase; }

/* スマホのみ改行 */
.sp { display: none; }
@media (max-width: 700px) { .sp { display: inline; } .pc { display: none; } }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .3); }
.header__inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name strong { font-size: 1.05rem; letter-spacing: .06em; }
.brand__name small { font-family: var(--font-en); font-size: .62rem; letter-spacing: .24em; color: var(--red); text-transform: uppercase; }

.nav__list { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__list a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; padding: .4rem 0; }
.nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:not(.btn):hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--red); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav.is-open { max-height: 85vh; overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .3); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--pad-x) 1.6rem; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__list a:not(.btn) { display: block; padding: 1rem .2rem; font-size: 1rem; }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__list .btn { display: block; text-align: center; margin-top: 1.2rem; }
}
@media (max-width: 420px) {
  .brand img { width: 40px; height: 40px; }
  .brand__name strong { font-size: .95rem; }
}

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 2.1em; border-radius: 999px; border: 2px solid transparent;
  font-family: inherit; font-weight: 700; font-size: .96rem; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--lg { padding: 1.1em 2.6em; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-more { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-more::after { content: "→"; color: var(--red); transition: transform .25s var(--ease); }
.link-more:hover { color: var(--red); }
.link-more:hover::after { transform: translateX(4px); }

/* =========================================================
   見出し
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1rem;
  font-family: var(--font-en); font-size: .78rem; font-weight: 600; letter-spacing: .26em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec-head { max-width: 760px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec-head h2 { font-size: var(--fs-h2); margin-bottom: .45em; }
.sec-head p { color: var(--muted); margin: 0; }
.section--night .sec-head p { color: rgba(255, 255, 255, .62); }

/* =========================================================
   足跡モチーフ
   ========================================================= */
.foot { width: 1em; height: 1.6em; fill: currentColor; }
.foot--left { transform: scaleX(-1); }

/* =========================================================
   ヒーロー（ホーム）
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero__inner {
  position: relative; z-index: 1; display: grid; align-items: center; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  padding-block: clamp(4rem, 10vw, 8.5rem) clamp(4.5rem, 10vw, 8rem);
}
.hero__title { font-size: var(--fs-display); font-weight: 900; line-height: 1.28; letter-spacing: .03em; margin-bottom: .55em; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__lead { font-size: clamp(1rem, .92rem + .45vw, 1.18rem); max-width: 36em; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__mark { position: relative; justify-self: center; width: min(100%, 380px); }
.hero__mark img { width: 100%; filter: drop-shadow(0 30px 40px rgba(215, 38, 31, .18)); }

/* 背景に浮かぶ足跡の道 */
.trail { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--red); }
.trail .foot {
  position: absolute; width: 26px; height: 42px; opacity: 0;
  animation: step 9s var(--ease) infinite;
}
@keyframes step {
  0% { opacity: 0; } 6% { opacity: .13; } 60% { opacity: .13; } 75%, 100% { opacity: 0; }
}

.hero__services {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6);
}
.hero__services a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem clamp(1rem, 3vw, 2rem); text-decoration: none; color: var(--ink); font-weight: 700;
  border-right: 1px solid var(--line); transition: background .25s, color .25s;
}
.hero__services a:last-child { border-right: 0; }
.hero__services a span { font-family: var(--font-en); font-size: .74rem; letter-spacing: .2em; color: var(--red); font-weight: 600; }
.hero__services a:hover { background: #fff; color: var(--red); }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__mark { width: 180px; justify-self: start; order: -1; }
  .hero__services { grid-template-columns: 1fr; }
  .hero__services a { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   下層ページのヒーロー
   ========================================================= */
.page-hero { position: relative; overflow: hidden; background: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 900; margin-bottom: .5em; }
.page-hero__lead { font-size: clamp(1rem, .94rem + .35vw, 1.15rem); max-width: 48em; margin-bottom: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.page-hero__icon {
  position: absolute; right: clamp(-40px, 4vw, 80px); top: 50%; transform: translateY(-50%);
  width: clamp(160px, 26vw, 320px); color: var(--red); opacity: .09; pointer-events: none;
}
.page-hero--simple { padding-block: clamp(3rem, 6vw, 4.5rem); }

.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; margin: 0; padding: 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li + li::before { content: "／"; margin-right: .5em; color: var(--line); }

/* =========================================================
   サービスカード（ホーム）
   ========================================================= */
.services { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }
.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.6rem); text-decoration: none; color: var(--text);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.svc-card__no { font-family: var(--font-en); font-size: .78rem; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.svc-card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin: 1.2rem 0 1.4rem; transition: background .3s, color .3s;
}
.svc-card__icon svg { width: 32px; height: 32px; }
.svc-card:hover .svc-card__icon { background: var(--red); color: #fff; }
.svc-card h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); margin-bottom: .2em; }
.svc-card__en { font-family: var(--font-en); font-size: .78rem; letter-spacing: .16em; color: var(--red); margin-bottom: 1.1rem; }
.svc-card p { font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.tags li { font-size: .76rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .2em .9em; color: var(--text); }
.svc-card .link-more { margin-top: auto; }

/* =========================================================
   理念体系
   ========================================================= */
.creed { text-align: center; max-width: 900px; margin-inline: auto; }
.creed__label {
  display: inline-block; padding: .4em 1.6em .4em 1.9em; margin-bottom: 1.6rem; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .32em;
}
.creed__text { font-size: clamp(2rem, 1.15rem + 3.6vw, 3.8rem); font-weight: 900; color: var(--ink); line-height: 1.38; letter-spacing: .03em; margin: 0 0 1.1rem; }
.creed__text em { font-style: normal; color: var(--red); }
.creed__note { color: var(--muted); margin: 0; }

.flow-line { width: 2px; height: clamp(36px, 5vw, 60px); margin: clamp(2rem, 4vw, 3rem) auto; background: linear-gradient(var(--red), transparent); opacity: .5; }

.mvv { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .mvv { grid-template-columns: 1fr; } }
.mvv__item {
  background: #fff; border-radius: var(--radius); padding: clamp(1.8rem, 3.5vw, 2.6rem) 1.4rem;
  text-align: center; box-shadow: var(--shadow);
}
.mvv__label { font-family: var(--font-en); font-size: .8rem; font-weight: 600; letter-spacing: .28em; color: var(--red); text-transform: uppercase; }
.mvv__label::after { content: ""; display: block; width: 26px; height: 2px; margin: .8rem auto 1.3rem; background: var(--red); }
.mvv__text { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); font-weight: 700; color: var(--ink); line-height: 1.55; margin: 0 0 .6rem; }
.mvv__note { font-size: .82rem; color: var(--muted); margin: 0; }

.mindset { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
@media (max-width: 560px) { .mindset { grid-template-columns: 1fr; } }
.mindset__item {
  display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.3rem 1.5rem;
}
.mindset__item .foot { flex: none; width: 18px; height: 29px; color: var(--red); }
.mindset__item:nth-child(odd) .foot { transform: scaleX(-1) rotate(-8deg); }
.mindset__item:nth-child(even) .foot { transform: rotate(8deg); }
.mindset__item p { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.55; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }

/* 心得の詳細（会社情報） */
.values { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 4vw, 3.5rem); grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.value__mark { width: 52px; height: 52px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.value__mark .foot { width: 16px; height: 26px; }
.value h3 { font-size: var(--fs-h3); margin-bottom: .4em; }
.value p { margin: 0; color: var(--muted); }

/* =========================================================
   数字
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; gap: 2rem; } }
.stats dt { font-size: .85rem; color: var(--muted); order: 2; }
.stats div { display: flex; flex-direction: column; }
.stats dd { margin: 0; font-family: var(--font-en); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1.15; color: var(--red); }
.stats dd small { font-family: var(--font-ja); font-size: .36em; color: var(--ink); margin-left: .2em; font-weight: 700; }

/* =========================================================
   代表メッセージ
   ========================================================= */
.message { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; }
.message--nophoto { grid-template-columns: 1fr; max-width: var(--w-narrow); margin-inline: auto; }
@media (max-width: 820px) { .message { grid-template-columns: 1fr; } }
.message__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.message__photo img { border-radius: var(--radius); width: 100%; }
.message__photo figcaption { font-size: .82rem; color: var(--muted); margin-top: .7rem; }
.message__lead { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; color: var(--ink); line-height: 1.55; margin-bottom: 1.6em; }
.message__body p { font-size: 1.02rem; }
.message__quote { border-left: 3px solid var(--red); padding-left: 1.2rem; margin: 0 0 1.4em; color: var(--ink); font-weight: 500; }
.message__quote p { margin: 0 0 .2em; }
.message__sign { text-align: right; font-weight: 700; color: var(--ink); margin-top: 2rem; }
.message__sign span { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

/* =========================================================
   サービスページ部品
   ========================================================= */
/* お悩み */
.pains { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }
.pains li {
  display: flex; gap: .9rem; align-items: flex-start; background: #fff; border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem; border: 1px solid var(--line); font-weight: 500; color: var(--ink); line-height: 1.7;
}
.pains li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 6px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.pains-answer { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 700; color: var(--ink); }
.pains-answer em { font-style: normal; color: var(--red); background: linear-gradient(transparent 68%, rgba(215, 38, 31, .15) 68%); }

/* 提供内容 */
.offers { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .offers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .offers { grid-template-columns: 1fr; } }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.offer__no { font-family: var(--font-en); font-size: 2rem; font-weight: 600; color: var(--red); line-height: 1; opacity: .9; }
.offer h3 { font-size: 1.12rem; margin: .9rem 0 .5rem; }
.offer p { font-size: .93rem; color: var(--muted); margin: 0; }

/* 特徴 */
.features { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start;
  padding-bottom: clamp(1.2rem, 3vw, 2rem); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature__no { font-family: var(--font-en); font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); font-weight: 600; line-height: 1; color: var(--red); }
.feature h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); margin-bottom: .45em; }
.feature p { margin: 0; }

/* 進め方（足跡のステップ） */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 780px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; position: relative; padding-bottom: 2rem; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step__mark {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--red);
  display: grid; place-items: center; color: var(--red); position: relative; z-index: 1;
}
.step__mark .foot { width: 17px; height: 28px; }
.step:nth-child(odd) .step__mark .foot { transform: scaleX(-1); }
.step__body { padding-top: .5rem; }
.step__no { font-family: var(--font-en); font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--red); }
.step h3 { font-size: 1.12rem; margin: .1rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* 制作ジャンル */
.genres { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 0; }
.genres li { background: #fff; border-radius: var(--radius-sm); padding: 1.3rem 1.4rem; border-left: 4px solid var(--red); box-shadow: var(--shadow); }
.genres strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: .2rem; }
.genres span { font-size: .86rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 1.4rem 3.2rem 1.4rem 2.6rem;
  font-weight: 700; color: var(--ink); line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: .2rem; top: 1.3rem; font-family: var(--font-en); font-size: 1.25rem; font-weight: 600; color: var(--red); }
.faq summary::after {
  content: ""; position: absolute; right: 1rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-75%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq__a { position: relative; padding: 0 1rem 1.6rem 2.6rem; color: var(--text); }
.faq__a::before { content: "A"; position: absolute; left: .25rem; top: -.15rem; font-family: var(--font-en); font-size: 1.25rem; font-weight: 600; color: var(--muted); }
.faq__a p:last-child { margin-bottom: 0; }

/* 他のサービス */
.others { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .others { grid-template-columns: 1fr; } }
.other {
  display: flex; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.6rem; text-decoration: none; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.other:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.other .svc-card__icon { margin: 0; width: 56px; height: 56px; flex: none; }
.other strong { display: block; font-size: 1.1rem; }
.other span { font-size: .85rem; color: var(--muted); }
.other::after { content: "→"; margin-left: auto; color: var(--red); font-weight: 700; }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; background: var(--red); color: rgba(255, 255, 255, .9); text-align: center; }
.cta h2 { color: #fff; font-size: var(--fs-h2); }
.cta p { margin-bottom: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.cta .btn--white { background: #fff; color: var(--red); }
.cta .btn--white:hover { background: var(--ink); color: #fff; }
.cta .trail { color: #fff; }

.split { display: grid; gap: clamp(1.4rem, 3vw, 2rem); grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split__item { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); }
.split__item p { color: rgba(255, 255, 255, .72); }

/* =========================================================
   会社概要・地図
   ========================================================= */
.info { margin: 0; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 1.3rem .2rem; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--ink); }
.info dd { margin: 0; }
.info dd ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 600px) { .info div { grid-template-columns: 1fr; gap: .2rem; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map iframe { width: 100%; height: clamp(280px, 42vw, 440px); border: 0; }

/* =========================================================
   フォーム
   ========================================================= */
.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.4rem; }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); margin-bottom: .5rem; padding: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.req, .opt { display: inline-block; font-size: .68rem; padding: .15em .65em; border-radius: 4px; margin-left: .6em; vertical-align: .15em; font-weight: 700; }
.req { background: var(--red); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; font: inherit; color: inherit; background: #fff;
  border: 1px solid #d6cfc5; border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 38, 31, .12); }
.field textarea { min-height: 200px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--muted); margin: .45rem 0 0; }
.choices { display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: .8rem 1rem; border: 1px solid #d6cfc5; border-radius: 10px; background: #fff;
  cursor: pointer; font-size: .92rem; transition: border-color .2s, background .2s, color .2s;
}
.choice input:checked + span { border-color: var(--red); background: var(--red-soft); color: var(--red-deep); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.consent { display: flex; gap: .8rem; align-items: flex-start; background: var(--paper); padding: 1.1rem 1.2rem; border-radius: 10px; }
.consent input { width: 20px; height: 20px; margin-top: .4rem; flex: none; accent-color: var(--red); }
.consent label { margin: 0; font-weight: 500; }
.aside-card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card h3 { font-size: 1.05rem; }
.aside-card ul { margin: 0; padding-left: 1.2em; }
.aside-card li { margin-bottom: .4em; }

/* =========================================================
   文章ページ（規約など）
   ========================================================= */
.prose { max-width: var(--w-narrow); margin-inline: auto; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.6em; padding-left: .8em; border-left: 4px solid var(--red); }
.prose h2:first-child { margin-top: 0; }
.note { font-size: .84rem; color: var(--muted); }

/* =========================================================
   フッター
   ========================================================= */
.footer { background: var(--night); color: rgba(255, 255, 255, .66); font-size: .9rem; padding-block: clamp(3.5rem, 7vw, 5rem) 1.6rem; }
.footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 2.4rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; color: #fff; }
.footer__brand img { width: 52px; height: 52px; background: #fff; border-radius: 12px; padding: 4px; }
.footer__brand strong { font-size: 1.05rem; letter-spacing: .06em; }
.footer__creed { color: rgba(255, 255, 255, .85); font-weight: 700; margin-bottom: .6rem; }
.footer h2 { font-family: var(--font-en); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6em; }
.footer__sns { display: inline-flex; align-items: center; gap: .55rem; margin-top: .6rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--font-en); font-size: .74rem; letter-spacing: .12em; text-align: center; }

/* スマホ下部の固定ボタン */
.sticky-cta { display: none; }
@media (max-width: 960px) {
  body.has-sticky { padding-bottom: 68px; }
  .sticky-cta {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 90; padding: .7rem var(--pad-x);
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta .btn { width: 100%; padding: .85em 1em; }
}

/* =========================================================
   スクロール演出
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-group > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .trail .foot { animation: none; opacity: .08; }
  .btn:hover, .svc-card:hover, .other:hover { transform: none; }
}

/* =========================================================
   SEO強化で追加した部品
   ========================================================= */
.page-hero { border-bottom: 1px solid var(--line); }
.h1-sub { display: block; margin-top: .45em; font-size: .46em; font-weight: 700; color: var(--muted); letter-spacing: .04em; line-height: 1.6; }
.updated { margin: 1.4rem 0 0; font-size: .85rem; color: var(--muted); }
.nav__list a[aria-current="true"] { color: var(--red); }
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }

/* 対応エリア */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3em 1em; font-size: .88rem; color: var(--ink); }
.section--paper .areas li { background: #fff; }
.area-band { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2rem); background: var(--paper); border-radius: var(--radius); text-align: center; }
.area-band__title { font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.area-band .areas { justify-content: center; margin-top: 1rem; }
.footer__area { font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ホームのAI関連リンク */
.subpages { margin-top: clamp(2rem, 4vw, 3rem); }
.subpages__title { font-weight: 700; color: var(--ink); margin-bottom: 1rem; }

/* 表 */
.table-wrap { overflow-x: auto; margin: 1.4rem 0; -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .93rem; background: #fff; }
.table th, .table td { border: 1px solid var(--line); padding: .9rem 1rem; text-align: left; vertical-align: top; line-height: 1.7; }
.table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.table tbody th { background: var(--paper); color: var(--ink); width: 34%; }
.table small { font-weight: 400; color: var(--muted); }

/* 記事ページ */
.toc { background: var(--paper); border-radius: var(--radius); padding: 1.5rem 1.8rem; margin-bottom: 3rem; }
.toc__title { font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: .35em; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }
.prose h3 { font-size: 1.08rem; margin-top: 1.8em; }
.callout { border: 2px solid var(--red); background: var(--red-soft); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 1.6rem 0; }
.callout__title { font-weight: 700; color: var(--red-deep); margin-bottom: .5rem; }
.callout p:last-child { margin-bottom: 0; }
.sources li { margin-bottom: .4em; }

/* =========================================================
   グラフィック強化で追加した部品
   ========================================================= */
.art, .diagram { width: 100%; height: auto; display: block; }

/* 下層ページのヒーロー：文章＋イラスト */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero__art { max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { max-width: 340px; justify-self: center; order: 2; }
}

/* ホームのサービスカードのイラスト */
.svc-card__art { display: block; margin: -.4rem -.4rem 1.2rem; border-radius: var(--radius-sm); background: var(--paper); padding: .6rem; transition: transform .5s var(--ease); }
.svc-card:hover .svc-card__art { transform: scale(1.03); }
.svc-card__no { margin-bottom: .6rem; display: block; }

/* 関連カードの並び */
.others--3 { grid-template-columns: repeat(3, 1fr); }
.others--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .others--3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .others--4 { grid-template-columns: 1fr; } }
.genres a { color: inherit; text-decoration-color: var(--red); }

/* AI導入支援：2本柱 */
.pillars { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(.8rem, 2vw, 1.4rem); align-items: stretch; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); text-decoration: none; color: var(--text);
  transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.pillar:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); color: var(--text); }
.pillar__art { display: block; background: var(--paper); border-radius: var(--radius-sm); padding: .6rem; margin-bottom: 1.4rem; }
.pillar__label { font-family: var(--font-en); font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--red); }
.pillar h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin: .3rem 0 .6rem; }
.pillar__list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .45rem; }
.pillar__list li { position: relative; padding-left: 1.5rem; font-weight: 500; color: var(--ink); font-size: .95rem; }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--red-soft); box-shadow: inset 0 0 0 3px var(--red); }
.pillar .link-more { margin-top: auto; }
.pillars__plus { align-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.6rem; font-weight: 700; justify-self: center; }
.pillars__result { text-align: center; margin-top: 1.4rem; }
.pillars__arrow { display: block; width: 2px; height: 48px; margin: 0 auto 1rem; background: linear-gradient(var(--line), var(--red)); position: relative; }
.pillars__arrow::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateX(-50%) rotate(45deg); }
.pillars__result p { display: inline-block; margin: 0; padding: 1.1rem 2rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: clamp(1rem, .9rem + .5vw, 1.2rem); }

/* ビフォー・アフター */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } .ba__arrow { transform: rotate(180deg); } }
.ba__col { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); height: 100%; }
.ba__col--before { background: var(--paper); border: 2px dashed var(--line); }
.ba__col--after { background: #fff; border: 2px solid var(--red); box-shadow: var(--shadow); }
.ba__label { font-family: var(--font-en); font-weight: 600; letter-spacing: .2em; font-size: .8rem; color: var(--muted); margin-bottom: .3rem; }
.ba__col--after .ba__label { color: var(--red); }
.ba__col h3 { font-size: 1.2rem; }
.ba__flow { list-style: none; counter-reset: ba; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ba__flow li { counter-increment: ba; display: flex; gap: .7rem; align-items: center; background: #fff; border-radius: 10px; padding: .7rem .9rem; font-size: .93rem; color: var(--ink); }
.ba__col--after .ba__flow li { background: var(--red-soft); }
.ba__flow li::before { content: counter(ba); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-size: .8rem; font-weight: 600; background: var(--line); color: var(--ink); }
.ba__col--after .ba__flow li::before { background: var(--red); color: #fff; }
.ba__arrow { color: var(--red); justify-self: center; }
.ba__arrow .foot { width: 26px; height: 42px; transform: rotate(90deg); }
@media (max-width: 760px) { .ba__arrow .foot { transform: rotate(-180deg); } }

/* YouTube：目的別 */
.purposes { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .purposes { grid-template-columns: 1fr; } }
.purpose { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); text-decoration: none; color: var(--text); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.purpose:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.purpose__icon { display: block; background: var(--paper); border-radius: var(--radius-sm); padding: .5rem; margin-bottom: 1.2rem; }
.purpose h3 { font-size: 1.35rem; }
.purpose p { font-size: .95rem; }
.purpose .link-more { margin-top: auto; }

/* 文章＋図 */
.split-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split-media { grid-template-columns: 1fr; } }
.split-media__title { font-size: var(--fs-h2); margin-bottom: .8em; }
.split-media__figure { margin: 0; background: #fff; border-radius: var(--radius); padding: clamp(.8rem, 2vw, 1.4rem); box-shadow: var(--shadow); }

/* 比較表 */
.table--compare { min-width: 560px; }
.table--compare thead th:first-child { background: transparent; border-color: transparent; }
.table--compare thead th.is-us { background: var(--red); }
.table--compare td.is-us { background: var(--red-soft); color: var(--ink); font-weight: 700; }
.table--compare tbody th { width: 22%; }

/* 費用の決まり方 */
.cost-factors { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .cost-factors { grid-template-columns: 1fr; } }
.cost-factors li { background: var(--paper); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; border-left: 4px solid var(--red); }
.cost-factors strong { display: block; color: var(--ink); }
.cost-factors span { font-size: .88rem; color: var(--muted); }

/* 採用YouTube：応募から定着までの流れ */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: j; }
@media (max-width: 900px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .journey { grid-template-columns: 1fr; } }
.journey__step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem; }
.journey__step:not(:last-child)::after {
  content: ""; position: absolute; right: -14px; top: 50%; width: 14px; height: 14px; z-index: 1;
  border-top: 3px solid var(--red); border-right: 3px solid var(--red); transform: translate(-30%, -50%) rotate(45deg);
}
@media (max-width: 900px) { .journey__step::after { display: none; } }
.journey__no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-en); font-weight: 600; margin-bottom: .9rem; }
.journey__step:nth-child(2) .journey__no { background: #e25248; }
.journey__step:nth-child(3) .journey__no { background: #ea7b72; }
.journey__step:nth-child(4) .journey__no { background: var(--ink); }
.journey h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.journey p { font-size: .9rem; color: var(--muted); margin: 0; }

/* 会社情報：理念のピラミッド図 */
.pyramid { margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; max-width: 860px; display: grid; gap: .5rem; justify-items: center; }
.pyramid__tier { text-align: center; padding: 1.1rem 1.4rem; border-radius: 12px; display: flex; flex-direction: column; gap: .2rem; }
.pyramid__tier strong { line-height: 1.6; }
.pyramid__label { font-family: var(--font-en); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.pyramid__tier--1 { width: min(100%, 440px); background: var(--red); color: #fff; }
.pyramid__tier--1 strong { font-size: 1.15rem; }
.pyramid__tier--2 { width: min(100%, 660px); background: var(--red-soft); color: var(--ink); }
.pyramid__tier--2 .pyramid__label { color: var(--red); }
.pyramid__tier--3 { width: 100%; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.pyramid__tier--3 .pyramid__label { color: var(--muted); }
.pyramid__tier--2 strong, .pyramid__tier--3 strong { font-size: .98rem; }
.pyramid figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }

/* グローバルナビの子メニュー */
.has-sub { position: relative; }
@media (min-width: 961px) {
  .has-sub > a { padding-right: .9rem !important; }
  .has-sub > a::before {
    content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg);
  }
  .subnav {
    position: absolute; top: calc(100% + 10px); left: -1rem; min-width: 210px; list-style: none; margin: 0; padding: .5rem;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
  .subnav a { display: block; padding: .6rem .8rem !important; border-radius: 8px; font-size: .9rem; }
  .subnav a::after { display: none; }
  .subnav a:hover, .subnav a[aria-current="page"] { background: var(--paper); color: var(--red); }
}
@media (max-width: 960px) {
  .subnav { list-style: none; margin: -.4rem 0 .6rem; padding: 0 0 0 1rem; border-left: 2px solid var(--red-soft); }
  .subnav li { border-bottom: 0 !important; }
  .nav__list .subnav a:not(.btn) { padding: .55rem .2rem; font-size: .92rem; color: var(--muted); }
  .nav__list .subnav a[aria-current="page"] { color: var(--red); }
}
.nav__list .subnav a::after { display: none; }
@media (max-width: 600px) { .diagram__sub { display: none; } }

/* =========================================================
   コラム・AEO
   ========================================================= */
/* 結論ボックス（AIの回答に引用されやすいよう、冒頭で答えを示す） */
.answer-box { border-radius: var(--radius); background: var(--red-soft); border-left: 5px solid var(--red); padding: 1.3rem 1.5rem; margin: 0 0 2rem; }
.answer-box__label { font-size: .8rem; font-weight: 700; color: var(--red-deep); letter-spacing: .12em; margin: 0 0 .4rem !important; }
.answer-box p:last-child { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.9; }
.summary-band { background: #fff; padding-top: clamp(2rem, 4vw, 3rem); }
.answer-box--band { margin: 0; }

/* 一覧 */
.col-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.col-tabs a { display: inline-block; padding: .55em 1.3em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.col-tabs a:hover { border-color: var(--red); color: var(--red); }
.col-group + .col-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.col-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-bottom: 1.4rem; padding-bottom: .8rem; border-bottom: 2px solid var(--ink); }
.col-group__head h2 { font-size: var(--fs-h3); margin: 0; }
.col-group__head p { margin: 0; color: var(--muted); font-size: .9rem; }
.col-grid { display: grid; gap: clamp(1rem, 2vw, 1.4rem); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .col-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .col-grid { grid-template-columns: 1fr; } }
.col-card {
  display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; text-decoration: none; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.col-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.col-card__cat { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 700; padding: .25em .9em; border-radius: 999px; background: var(--red-soft); color: var(--red-deep); }
.col-card__cat--youtube { background: #fdf0d5; color: #8a5a00; }
.col-card__cat--video { background: #ece9e5; color: var(--ink); }
.col-card__title { font-size: 1.05rem; line-height: 1.6; margin: 0; }
.col-card:hover .col-card__title { color: var(--red); }
.col-card__desc { font-size: .86rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.col-card__date { margin-top: auto; font-size: .76rem; color: var(--muted); font-family: var(--font-en); }

/* 記事 */
.article-hero .col-card__cat { margin-bottom: 1rem; }
.article-title { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem); font-weight: 900; line-height: 1.5; }
.article-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .84rem; color: var(--muted); margin: 0; }
.article-section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.article { max-width: none; }
.article h2 { scroll-margin-top: calc(var(--header-h) + 20px); }
.article p, .article li { font-size: 1.02rem; line-height: 2; }
.article ul, .article ol { margin-bottom: 1.6em; }
.article li { margin-bottom: .35em; }
.article .table { min-width: 480px; }
.article .faq { margin-top: 1rem; }
.article .faq__a p { font-size: .98rem; }
.article-cta { margin: 2.6rem 0; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--paper); border: 2px solid var(--line); }
.article-cta__title { font-weight: 900; color: var(--ink); font-size: 1.15rem; margin-bottom: .4rem !important; }
.article-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin: 1rem 0 0 !important; }
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.author-box img { flex: none; width: 64px; height: 64px; border-radius: 14px; background: var(--paper); padding: 4px; }
.author-box__name { font-weight: 700; color: var(--ink); margin-bottom: .3rem !important; }
.author-box p { font-size: .9rem; margin: 0 0 .4rem; }
