/* ============================================================
   株式会社High High コーポレートサイト
   色を変えたいときは下の :root の変数を編集
============================================================ */
:root {
  --ink: #101223;          /* 基本の文字色(濃紺) */
  --ink-soft: #4b4f63;     /* 補足テキスト */
  --accent: #66c5d6;       /* アクセントカラー(水色・現サイト踏襲) */
  --accent-dark: #2a92b7;  /* 濃い水色(ボタン・小さめ文字用) */
  --bg: #ffffff;
  --bg-tint: #f6f6f9;      /* 薄いグレー背景 */
  --bg-dark: #101223;      /* 濃色セクション背景 */
  --line: #e4e5ec;
  --radius: 16px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Outfit", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }
.pc-only { display: inline; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-en); font-weight: 800; font-size: 22px;
  text-decoration: none; letter-spacing: -.02em;
}
.logo span { color: var(--accent); }
.logo-img { height: 22px; width: auto; display: block; }
.footer-logo-img { height: 92px; width: auto; align-self: center; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--accent-dark); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 10px 22px; border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  padding: 160px 24px 100px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(102,197,214,.22), transparent),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(16,18,35,.06), transparent);
}
/* 水色のドットパターン(右上からふわっと消える) */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,146,183,.20) 1.6px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 85% 15%, #000, transparent 60%);
  mask-image: radial-gradient(ellipse 75% 90% at 85% 15%, #000, transparent 60%);
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
/* ---------- ヒーロービジュアル(CSSのみで描画) ---------- */
.hero-visual {
  position: relative; width: 100%; max-width: 440px; height: 400px;
  justify-self: end;
}
.hv-blob {
  position: absolute; inset: 10% 6%;
  background: linear-gradient(135deg, rgba(102,197,214,.55), rgba(42,146,183,.30));
  animation: hv-morph 9s ease-in-out infinite;
}
@keyframes hv-morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; transform: rotate(0deg) scale(1); }
  33%      { border-radius: 45% 55% 40% 60% / 60% 40% 62% 38%; transform: rotate(6deg) scale(1.05); }
  66%      { border-radius: 52% 48% 62% 38% / 40% 55% 45% 60%; transform: rotate(-4deg) scale(.97); }
}
.hv-ring {
  position: absolute; right: 3%; top: 8%; width: 120px; height: 120px;
  border: 2px dashed rgba(42,146,183,.45); border-radius: 50%;
  animation: hv-spin 20s linear infinite;
}
@keyframes hv-spin { to { transform: rotate(360deg); } }
/* 回転リングの中心に鎮座するAIコア(パルスが波紋のように広がる) */
.hv-ai {
  position: absolute; z-index: 2; right: calc(3% + 36px); top: calc(8% + 36px);
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--ink));
  box-shadow: 0 12px 28px rgba(16,18,35,.25);
}
.hv-ai::before, .hv-ai::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px;
  border: 2px solid rgba(42,146,183,.55);
  animation: hv-pulse 2.8s ease-out infinite;
}
.hv-ai::after { animation-delay: 1.4s; }
@keyframes hv-pulse {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(2); opacity: 0; }
}
.hv-card {
  position: absolute; left: 8%; top: 27%; width: 205px;
  background: #fff; border-radius: 16px; padding: 18px 18px 16px;
  box-shadow: 0 18px 44px rgba(16,18,35,.16);
  animation: hv-float-card 6s ease-in-out infinite;
}
@keyframes hv-float-card {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-4deg) translateY(-10px); }
}
.hv-title {
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; color: var(--ink-soft); margin-bottom: 10px;
}
.hv-bars { display: flex; align-items: flex-end; gap: 8px; height: 78px; }
.hv-bars i {
  flex: 1; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent-dark), var(--accent));
  transform-origin: bottom;
  animation: hv-bar 3.4s ease-in-out infinite;
}
.hv-bars i:nth-child(1) { height: 26%; animation-delay: 0s; }
.hv-bars i:nth-child(2) { height: 40%; animation-delay: .18s; }
.hv-bars i:nth-child(3) { height: 55%; animation-delay: .36s; }
.hv-bars i:nth-child(4) { height: 74%; animation-delay: .54s; }
.hv-bars i:nth-child(5) { height: 100%; animation-delay: .72s; }
@keyframes hv-bar { 0%, 100% { transform: scaleY(.78); } 50% { transform: scaleY(1); } }
.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 7px;
  background: #fff; border-radius: 999px; padding: 9px 16px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(16,18,35,.14);
  animation: hv-float 5s ease-in-out infinite;
}
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hv-ico {
  width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-dark); color: #fff; font-size: 10px;
}
.hv-chip1 { top: 6%; left: 2%; animation-delay: .5s; }
.hv-chip2 { bottom: 12%; right: 4%; animation-delay: 1.1s; }
.hv-chip3 { bottom: 4%; left: 6%; animation-delay: 1.7s; }
.hv-dot { position: absolute; border-radius: 50%; background: var(--accent); animation: hv-float 4.5s ease-in-out infinite; }
.hv-dot1 { width: 12px; height: 12px; top: 20%; right: 30%; animation-delay: .3s; }
.hv-dot2 { width: 8px; height: 8px; top: 58%; right: 8%; animation-delay: 1.4s; opacity: .7; }
.hv-dot3 { width: 10px; height: 10px; bottom: 24%; left: 0; animation-delay: 2.2s; opacity: .5; }
@media (prefers-reduced-motion: reduce) {
  .hv-blob, .hv-ring, .hv-card, .hv-bars i, .hv-chip, .hv-dot,
  .hv-ai::before, .hv-ai::after, #value::after,
  .hv2-phone, .hv2-app, .hv2-progress i, .hv2-heart { animation: none; }
  .reveal .chart-bar { transform: scaleY(1); transition: none; }
  .reveal .chart-bubble { opacity: 1; transform: none; transition: none; }
}
.hero-eyebrow {
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  letter-spacing: .18em; color: var(--accent-dark); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 900; line-height: 1.4; letter-spacing: .01em;
}
/* 文節単位でしか折り返さない(変な位置での改行防止) */
.hero h1 span, .about-copy span, .milestone-num span, .milestone-num strong {
  display: inline-block;
}
.hero-lead { margin-top: 28px; font-size: 17px; color: var(--ink-soft); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
/* 受賞カード内のバッジ */
.stat-badges { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.stat-badges img {
  height: 68px; width: auto; border-radius: 8px;
  box-shadow: 0 6px 18px rgba(16,18,35,.10);
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 15px 36px; border-radius: 999px; transition: all .2s;
}
.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: #1f7e9e; transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- セクション共通 ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-label {
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900;
  margin: 8px 0 48px; letter-spacing: .02em;
}
/* セクション見出しは「英語大きく・日本語小さく」(現サイトのValueと同じスタイル)
   ※ .cta-card や .page-hero 内のラベルは従来どおり小さいまま */
.section > .container > .section-label {
  font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: .02em;
  line-height: 1.15; color: inherit;
}
.section > .container > .section-title {
  font-size: 15.5px; font-weight: 700; letter-spacing: .06em;
  margin: 10px 0 56px; opacity: .72;
}
.section > .container > .section-title::before { content: "— "; }

/* ふわっと表示 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-copy { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.7; }
.about-text p + p { margin-top: 18px; }
.about-text { color: var(--ink-soft); }

/* ---------- Business ---------- */
.business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.business-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 36px 30px;
}
.business-num {
  font-family: var(--font-en); font-weight: 800; font-size: 15px; color: var(--accent);
}
.business-card h3 { font-size: 21px; margin: 10px 0 4px; }
.business-tag { font-size: 12.5px; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.business-card > p:not(.business-num):not(.business-tag) {
  font-size: 14.5px; color: rgba(255,255,255,.78);
}
.business-links { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.business-links a { color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.business-links a:hover { color: var(--accent-dark); }

/* ---------- Performance ---------- */
.perf-heading {
  font-size: 17px; font-weight: 700; margin: 40px 0 20px;
  padding-left: 14px; border-left: 4px solid var(--accent);
}
.perf-heading:first-of-type { margin-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.stat {
  background: var(--bg-tint); border-radius: var(--radius); padding: 30px 28px;
  position: relative; overflow: hidden;
}
/* カード上端の水色ライン */
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}
.stat-num { font-size: 22px; font-weight: 900; letter-spacing: .01em; }
/* カウントアップする大きな数字 */
.stat-num b.count-up {
  font-family: var(--font-en); font-style: normal; font-weight: 800;
  font-size: 1.9em; color: var(--accent-dark); margin: 0 3px;
  line-height: 1; letter-spacing: -.01em;
}
.stat-num span { color: var(--accent-dark); margin: 0 6px; font-size: 18px; }
.stat-label { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
/* スクロールで順番にポップイン */
.reveal .stat { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible .stat { opacity: 1; transform: none; }
.stats-grid .stat:nth-child(2) { transition-delay: .15s; }
.stats-grid .stat:nth-child(3) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal .stat { opacity: 1; transform: none; transition: none; }
}

/* ---------- Value ---------- */
/* 背景装飾: 左上に水色ドット、右下にゆっくり形を変えるブロブ */
#value { position: relative; overflow: hidden; }
#value::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,146,183,.15) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 10% 6%, #000, transparent 62%);
  mask-image: radial-gradient(ellipse 55% 65% at 10% 6%, #000, transparent 62%);
}
#value::after {
  content: ""; position: absolute; width: 440px; height: 440px;
  right: -150px; bottom: -170px; pointer-events: none;
  background: linear-gradient(135deg, rgba(102,197,214,.28), rgba(42,146,183,.10));
  animation: hv-morph 12s ease-in-out infinite;
}
#value .container { position: relative; }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-item {
  background: #fff; border-radius: var(--radius); padding: 38px 32px 34px;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
/* 数字はカード右上の大きな「ゴーストナンバー」(下に向かって消えるグラデ文字) */
.value-item p.value-num {
  position: absolute; top: 2px; right: 20px; margin: 0;
  font-family: var(--font-en); font-weight: 800; font-size: 108px; line-height: 1;
  background: linear-gradient(180deg, var(--accent-dark) 0%, rgba(102,197,214,.45) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
}
.value-item h3 { font-size: 19px; margin-bottom: 10px; padding-right: 76px; position: relative; }
.value-item p { font-size: 14.5px; color: var(--ink-soft); }
.value-pic {
  margin: 22px auto 0; width: 100%; max-width: 330px; height: auto;
}

/* ---------- Company ---------- */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  text-align: left; padding: 20px 12px; border-bottom: 1px solid var(--line);
  font-size: 15px; vertical-align: top;
}
.company-table th { width: 200px; font-weight: 700; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact-lead { color: rgba(255,255,255,.8); margin-bottom: 44px; }
.contact-form .form-row { margin-bottom: 24px; }
.contact-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.contact-form label em {
  font-style: normal; color: #fff; background: var(--accent-dark);
  font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: inherit;
  border: 1px solid rgba(255,255,255,.25); border-radius: 10px;
  background: rgba(255,255,255,.07); color: #fff;
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent); border-color: transparent;
}
.form-agree label { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.form-agree a { color: var(--accent); }
.btn-submit { width: 100%; border: none; cursor: pointer; font-size: 16px; padding: 18px; font-family: inherit; }

/* ---------- フッター ---------- */
.footer {
  background: #0a0c18; color: #fff; padding: 60px 0 40px;
  position: relative; overflow: hidden;
}
/* 右上の水色ドットパターン */
.footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(102,197,214,.30) 2px, transparent 2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 45% 130% at 100% 0%, #000, transparent 60%);
  mask-image: radial-gradient(ellipse 45% 130% at 100% 0%, #000, transparent 60%);
}
.footer .footer-inner { position: relative; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { font-size: 24px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,.75); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.copyright { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------- プライバシーポリシーページ ---------- */
.policy-body { padding: 140px 0 100px; }
.policy-body h1 { font-size: 32px; margin-bottom: 40px; }
.policy-body h2 { font-size: 20px; margin: 36px 0 12px; }
.policy-body p, .policy-body li { font-size: 15px; color: var(--ink-soft); }
.policy-body ul { padding-left: 24px; }

/* ---------- 下層ページ共通: ページタイトル ---------- */
.page-hero {
  padding: 150px 0 64px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(102,197,214,.18), transparent),
    var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
/* 右側の水色ドットパターン */
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,146,183,.22) 2px, transparent 2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 64% 130% at 100% 38%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 64% 130% at 100% 38%, #000, transparent 72%);
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; margin-top: 6px;
}
.page-hero .page-lead { margin-top: 16px; color: var(--ink-soft); font-size: 15.5px; }
/* 下層ページヒーローにダッシュボードビジュアルを並べるグリッド */
.page-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero-visual-sm { height: 280px; max-width: 360px; }
.hero-visual-sm .hv-card { width: 175px; padding: 14px 14px 12px; }
.hero-visual-sm .hv-bars { height: 60px; }
.hero-visual-sm .hv-chip { font-size: 11.5px; padding: 8px 13px; }
.hero-visual-sm .hv-ring { width: 92px; height: 92px; }
.hero-visual-sm .hv-ai {
  width: 40px; height: 40px; border-radius: 11px; font-size: 14px;
  right: calc(3% + 26px); top: calc(8% + 26px);
}

/* ---------- 下層ページ共通: 採用・お問い合わせ誘導バナー ---------- */
.cta-band { padding: 90px 0; background: var(--bg-tint); position: relative; overflow: hidden; }
/* 左下の水色ドットパターン */
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,146,183,.16) 2px, transparent 2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 40% 110% at 0% 100%, #000, transparent 62%);
  mask-image: radial-gradient(ellipse 40% 110% at 0% 100%, #000, transparent 62%);
}
.cta-band .container { position: relative; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 150px 40px 36px; text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cta-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(16,18,35,.08);
}
/* 右上にうっすら水色ドット */
.cta-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,146,183,.13) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse 55% 90% at 92% 10%, #000, transparent 62%);
  mask-image: radial-gradient(ellipse 55% 90% at 92% 10%, #000, transparent 62%);
}
.cta-card h2 { font-size: 24px; margin: 4px 0 10px; }
.cta-card p { color: var(--ink-soft); font-size: 14px; }
.cta-card .cta-arrow { color: var(--accent-dark); font-weight: 700; font-size: 14px; margin-top: 14px; }
/* 行き先ごとのミニイラスト */
.cta-ico {
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  width: 84px; height: 84px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(102,197,214,.24), rgba(42,146,183,.08));
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .25s;
}
.cta-ico svg { width: 44px; height: 44px; }
.cta-card:hover .cta-ico {
  transform: translateY(-50%) scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(102,197,214,.4), rgba(42,146,183,.16));
}

/* ---------- 実績紹介ページ ---------- */
.milestone-grid {
  display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center;
}
.milestone-cart { width: 100%; height: auto; }
.brand-logos {
  display: flex; gap: 32px; justify-content: center; align-items: center; margin-top: 28px;
}
.brand-logos img { height: 32px; width: auto; }
.award-badge { display: block; margin: 20px auto 0; width: 100%; max-width: 280px; height: auto; }
.milestone { text-align: center; padding: 20px 0 10px; }
.milestone-label { font-weight: 700; font-size: 16px; color: var(--ink-soft); }
.milestone-num {
  font-size: clamp(34px, 6vw, 58px); font-weight: 900; line-height: 1.4; letter-spacing: .01em;
}
.milestone-num strong {
  color: var(--accent-dark); font-weight: 900; will-change: transform;
  text-shadow: 0 4px 14px rgba(42,146,183,.14); /* 静止時のほのかな存在感 */
}
/* 年商6億円を目立たせる: 表示時にポップイン→2回だけパルスして静止 */
.reveal .milestone-num strong { opacity: 0; transform: scale(.7); }
.reveal.visible .milestone-num strong {
  animation: milestone-pop .7s cubic-bezier(.2,1.3,.35,1) forwards,
             milestone-glow 2.6s ease-in-out .9s 2;
}
@keyframes milestone-pop { to { opacity: 1; transform: scale(1); } }
@keyframes milestone-glow {
  0%, 100% { transform: scale(1); text-shadow: 0 4px 14px rgba(42,146,183,.14); }
  50% { transform: scale(1.06); text-shadow: 0 10px 30px rgba(42,146,183,.42); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal .milestone-num strong { opacity: 1; transform: none; }
  .reveal.visible .milestone-num strong { animation: none; }
}

/* 売上推移グラフ(実績紹介ページ) */
.chart-wrap { margin-top: 64px; overflow-x: auto; padding-bottom: 44px; }
.chart-title { font-weight: 700; font-size: 15px; margin-bottom: 56px; text-align: center; }
.chart {
  display: flex; align-items: flex-end; gap: 3.5%;
  height: 340px; padding: 0 12px 0;
  border-bottom: 2px solid var(--line);
  min-width: 460px;
}
.chart-col {
  flex: 1; height: 100%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}
.chart-bubble {
  background: var(--accent); color: var(--ink); font-weight: 900;
  font-size: clamp(15px, 2.4vw, 24px); line-height: 1.2;
  padding: 9px 13px; border-radius: 10px; white-space: nowrap;
  position: relative; margin-bottom: 15px;
}
.chart-bubble small { font-size: .52em; font-weight: 700; margin-left: 2px; }
.chart-bubble::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  border: 9px solid transparent; border-top: 9px solid var(--accent); border-bottom: 0;
}
.chart-start {
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
  text-align: center; line-height: 1.5; margin-bottom: 10px;
}
.chart-bar {
  width: clamp(16px, 3.5vw, 30px); height: var(--h);
  background: linear-gradient(180deg, var(--accent-dark), var(--accent));
  border-radius: 6px 6px 0 0; min-height: 6px;
}
.chart-date {
  position: absolute; top: 100%; margin-top: 10px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
}
/* スクロールで表示されたらバーが下から伸び、吹き出しが順に現れる */
.reveal .chart-bar { transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.22,.75,.3,1); }
.reveal.visible .chart-bar { transform: scaleY(1); }
.reveal .chart-bubble { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible .chart-bubble { opacity: 1; transform: translateY(0); }
.chart-col:nth-child(2) .chart-bar { transition-delay: .12s; }
.chart-col:nth-child(3) .chart-bar { transition-delay: .24s; }
.chart-col:nth-child(4) .chart-bar { transition-delay: .36s; }
.chart-col:nth-child(5) .chart-bar { transition-delay: .48s; }
.chart-col:nth-child(6) .chart-bar { transition-delay: .60s; }
.chart-col:nth-child(2) .chart-bubble { transition-delay: .55s; }
.chart-col:nth-child(3) .chart-bubble { transition-delay: .67s; }
.chart-col:nth-child(4) .chart-bubble { transition-delay: .79s; }
.chart-col:nth-child(5) .chart-bubble { transition-delay: .91s; }
.chart-col:nth-child(6) .chart-bubble { transition-delay: 1.03s; }

.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.step:last-of-type { border-bottom: none; }
.step-num { font-family: var(--font-en); font-weight: 800; font-size: 26px; color: var(--accent-dark); line-height: 1.3; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }
.step ul { padding-left: 20px; font-size: 14.5px; color: var(--ink-soft); }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.platform-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 36px 34px 32px; position: relative; overflow: hidden;
  box-shadow: 0 12px 32px rgba(16,18,35,.05);
}
/* カード上端の水色グラデーションライン */
.platform-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}
.platform-card { text-align: center; }
.platform-head { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-bottom: 24px; }
.platform-logo { width: auto; display: block; }
.platform-logo-rakuten { height: 30px; }
.platform-logo-yahoo { height: 46px; }
/* レビュー数を主役に */
.platform-num {
  font-family: var(--font-en); font-size: clamp(42px, 4.5vw, 54px);
  font-weight: 800; line-height: 1.1; letter-spacing: -.01em;
}
.platform-num small { font-family: var(--font-jp); font-size: .36em; font-weight: 700; margin-left: 4px; }
.platform-num-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
/* 星評価は控えめなピルで(--fillで星の塗り率を指定) */
.rating-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  background: var(--bg-tint); border-radius: 999px; padding: 8px 18px;
}
.rating-pill .stars {
  font-size: 15px; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, #f0a500 var(--fill, 94%), #d9dbe4 var(--fill, 94%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rating-pill b { font-family: var(--font-en); font-size: 16px; font-weight: 800; }
.platform-awards { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.platform-awards p { font-size: 13px; color: var(--ink-soft); }
.platform-awards-title { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.platform-awards .award-badge { margin-top: 14px; }
.platform-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

.case-card {
  background: var(--bg-tint); border-radius: var(--radius); padding: 38px 36px;
  margin-bottom: 24px;
}
.case-tag {
  display: inline-block; background: var(--ink); color: #fff; font-size: 12px;
  font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px;
}
.case-card h3 { font-size: 20px; margin-bottom: 6px; }
.case-growth { font-size: 26px; font-weight: 900; margin: 10px 0 14px; }
.case-growth span { color: var(--accent-dark); margin: 0 8px; }
.case-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 事業内容ページ ---------- */
/* ドット装飾フィールド(再利用可・コーナーからフェード。サイト共通のドット装飾に統一) */
.deco-dots { position: relative; }
.deco-dots > .container { position: relative; z-index: 1; }
.deco-dots::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(42,146,183,.42) 2.6px, transparent 2.6px);
  background-size: 20px 20px;
  /* 本文と被らないよう、下部の余白を横に広く使う低めのクラスターにする */
  -webkit-mask-image: radial-gradient(820px 220px at -4% 106%, #000 0%, #000 36%, transparent 78%);
  mask-image: radial-gradient(820px 220px at -4% 106%, #000 0%, #000 36%, transparent 78%);
}

.service-block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: none; }
/* テキスト+ビジュアルの2カラム(-revで左右反転) */
.service-flex { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.service-flex-rev { grid-template-columns: 400px 1fr; }
.service-flex-rev .service-main { order: 2; }
.service-flex-rev .service-visual { order: 1; }
.service-main .business-num { font-size: 18px; color: var(--accent-dark); }
.service-main h2 { font-size: 26px; margin: 6px 0 2px; }
.service-main .business-tag { color: var(--accent-dark); font-size: 13px; margin-bottom: 6px; }
.service-main > p:not(.business-num):not(.business-tag) { color: var(--ink-soft); font-size: 15px; margin-top: 14px; }
/* 写真ビジュアル: 角丸+右下に水色のオフセットパネル(多重box-shadowで表現) */
.service-visual { margin: 0; }
.service-visual-photo img {
  width: 100%; height: auto; display: block; border-radius: 18px;
  box-shadow: 20px 20px 0 rgba(102,197,214,.30), 0 18px 44px rgba(16,18,35,.14);
}

/* ---------- SNSテーマのダッシュボードビジュアル(事業内容ページ) ---------- */
.hero-visual-sns { height: 300px; max-width: 380px; }
/* ショート動画のスマホ画面 */
.hv2-phone {
  position: absolute; left: 6%; top: 5%; width: 140px; height: 245px;
  background: linear-gradient(165deg, #1c2440, var(--ink));
  border-radius: 24px; padding: 10px;
  box-shadow: 0 18px 44px rgba(16,18,35,.22);
  animation: hv-float-card 6s ease-in-out infinite;
}
.hv2-screen {
  position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(102,197,214,.45), rgba(42,146,183,.15));
}
.hv2-play {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92);
  box-shadow: 0 6px 16px rgba(16,18,35,.18);
}
.hv2-play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-left: 13px solid var(--accent-dark);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.hv2-line {
  position: absolute; left: 10px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.75);
}
.hv2-line1 { bottom: 34px; width: 60%; }
.hv2-line2 { bottom: 22px; width: 40%; opacity: .6; }
.hv2-rail {
  position: absolute; right: 6px; bottom: 44px;
  display: flex; flex-direction: column; gap: 7px;
}
.hv2-rail span {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--accent-dark);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}
.hv2-progress {
  position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px;
  border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden;
}
.hv2-progress i {
  display: block; height: 100%; border-radius: 2px; background: #fff;
  animation: hv2-progress 3.2s ease-in-out infinite;
}
@keyframes hv2-progress { 0% { width: 8%; } 100% { width: 92%; } }
/* ライブ配信のように舞い上がるハート */
.hv2-heart {
  position: absolute; left: 34%; top: 34%;
  color: #ff5b77; font-size: 18px; opacity: 0; pointer-events: none;
  animation: hv2-rise 3s ease-in infinite;
}
.hv2-heart2 { left: 40%; top: 38%; font-size: 14px; animation-delay: 1s; }
.hv2-heart3 { left: 37%; top: 30%; font-size: 12px; animation-delay: 2s; }
@keyframes hv2-rise {
  0%   { transform: translateY(0) scale(.7); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-80px) scale(1.3); opacity: 0; }
}
/* 各SNSのロゴチップ */
.hv2-app {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 11px 15px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(16,18,35,.14);
  animation: hv-float 5s ease-in-out infinite;
}
.hv2-app img { height: 18px; width: auto; display: block; }
.hv2-app-sq { padding: 10px; }
.hv2-app-sq img { height: 24px; }
.hv2-app1 { top: 4%; right: 2%; animation-delay: .3s; }
.hv2-app2 { top: 36%; right: 10%; animation-delay: 1.1s; }
.hv2-app3 { bottom: 24%; right: 0; animation-delay: 1.8s; }
.hv2-app4 { bottom: 2%; right: 28%; animation-delay: 2.5s; }
.hv2-chip-ai { top: -4%; left: 38%; animation-delay: .7s; }

/* SNSロゴの一覧(SNS集客支援事業の本文内): PC4列/スマホ2列の等幅グリッド */
.sns-logos {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-top: 24px; max-width: 640px;
}
.sns-logo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 64px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.sns-logo img { height: 21px; width: auto; display: block; }
.sns-logo .sns-ic { height: 26px; }
.sns-logo b { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* 楽天/Yahoo!公式ショップへのブランドカラーボタン */
.store-buttons { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.store-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-width: 230px; padding: 18px 26px; border-radius: 14px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.store-btn img { height: 26px; width: auto; }
.store-btn span { color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,18,35,.18); opacity: .94; }
.store-btn-rakuten { background: #bf0000; }
.store-btn-yahoo { background: #ff0033; }

/* ---------- 会社情報: トップメッセージ ---------- */
.message-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.message-photo { margin: 0; position: sticky; top: 100px; }
.message-photo img {
  width: 100%; height: auto; display: block; border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16,18,35,.10);
}
.message-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); text-align: right; }
.message-body > p { color: var(--ink-soft); font-size: 15px; }
.message-body > p + p { margin-top: 16px; }
.message-body > p.message-catch {
  color: var(--ink); font-size: clamp(22px, 2.8vw, 30px); font-weight: 900;
  line-height: 1.75; margin-bottom: 28px;
}
.message-body h3 {
  font-size: 19px; margin: 36px 0 14px;
  padding-left: 12px; border-left: 4px solid var(--accent);
}
.message-body > p.message-sign { margin-top: 36px; text-align: right; color: var(--ink); font-size: 14px; }
.message-sign b { font-size: 19px; margin-left: 10px; }

/* ---------- 採用ページ ---------- */
.recruit-copy { font-size: clamp(22px, 3vw, 30px); font-weight: 900; line-height: 1.7; margin-bottom: 24px; }
.recruit-text { color: var(--ink-soft); max-width: 720px; }
.recruit-text p + p { margin-top: 14px; }

/* ---------- スマホ対応 ---------- */
@media (max-width: 820px) {
  .pc-only { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 24px 80px; }
  /* 「売れる仕組みをつくり、」(11文字)が必ず1行に収まるよう画面幅から逆算 */
  .hero h1 { font-size: clamp(20px, calc((100vw - 52px) / 11.4), 64px); }

  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 420px; }
  .nav a { padding: 16px 24px; width: 100%; border-top: 1px solid var(--line); }
  .nav-cta { border-radius: 0; text-align: center; }

  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer;
    align-items: center;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: all .25s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about-grid, .business-grid, .value-grid { grid-template-columns: 1fr; }
  .company-table th { width: 110px; white-space: normal; }

  .page-hero { padding: 110px 0 48px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual-sm, .hero-visual-sns { justify-self: center; height: 260px; max-width: 300px; margin-top: 16px; }
  .hv2-phone { width: 118px; height: 205px; padding: 8px; border-radius: 20px; }
  .hv2-app { padding: 9px 12px; }
  .hv2-app img { height: 15px; }
  .hv2-app-sq { padding: 8px; }
  .hv2-app-sq img { height: 20px; }
  .hv2-chip-ai { top: -6%; left: 30%; }
  .hv2-heart { left: 30%; }
  .hv2-heart2 { left: 36%; }
  .hv2-heart3 { left: 33%; }
  .store-buttons { flex-direction: column; }
  .store-btn { width: 100%; min-width: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { max-width: 330px; height: 300px; justify-self: center; }
  .hv-card { width: 170px; padding: 14px 14px 12px; top: 33%; }
  .hv-bars { height: 62px; }
  .hv-chip { font-size: 11.5px; padding: 8px 13px; }
  .hv-chip1 { top: 0; left: 0; }
  .hv-chip2 { bottom: 19%; right: 0; }
  .hv-chip3 { bottom: 1%; left: 4%; }
  .hv-ring { width: 90px; height: 90px; top: 6%; }
  .hv-ai { width: 38px; height: 38px; border-radius: 11px; font-size: 14px; right: calc(3% + 26px); top: calc(6% + 26px); }
  .value-item p.value-num { font-size: 80px; right: 14px; }
  .value-item h3 { padding-right: 56px; }

  /* 英語の大見出しは画面幅に合わせて縮小(PERFORMANCE等の長い単語対策) */
  .section > .container > .section-label { font-size: clamp(24px, 10.5vw, 44px); overflow-wrap: anywhere; }

  /* スマホは中央揃えで見やすく */
  .hero-actions { justify-content: center; }
  .stat { text-align: center; }
  .stat-num { font-size: 19px; }
  .stat-badges { align-items: center; }
  .stat-badges img { height: 46px; max-width: 100%; }
  .milestone-grid { grid-template-columns: 1fr; gap: 20px; }
  .milestone-cart { max-width: 250px; margin: 0 auto; }
  .brand-logos img { height: 24px; }
  .footer-logo-img { height: 72px; }
  .cta-card { padding: 30px 104px 30px 24px; }
  .cta-ico { width: 62px; height: 62px; border-radius: 18px; right: 20px; }
  .cta-ico svg { width: 34px; height: 34px; }
  .message-grid { grid-template-columns: 1fr; gap: 28px; }
  .message-photo { position: static; order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
  .sns-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .sns-logo { height: 58px; }
  .platform-num { font-size: clamp(30px, 11vw, 48px); }
  .rating-pill { padding: 7px 14px; gap: 7px; }
  .rating-pill .stars { font-size: 13px; letter-spacing: 1px; }
  .chart { height: 240px; gap: 2%; padding: 0 4px; }
  .chart-bubble { padding: 5px 8px; border-radius: 7px; font-size: 14px; }
  .chart-date { font-size: 10.5px; }
  .chart-start { font-size: 10px; }
  .cta-grid, .platform-grid { grid-template-columns: 1fr; }
  .service-flex, .service-flex-rev { grid-template-columns: 1fr; gap: 32px; }
  .service-flex-rev .service-visual { order: 2; }
  .service-visual-photo { margin-right: 14px; }
  .service-visual-photo img { box-shadow: 14px 14px 0 rgba(102,197,214,.30), 0 14px 34px rgba(16,18,35,.14); }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
}

/* ---------- 超狭幅: 見出しの文節が1行に収まるようフォントを画面幅に追従 ---------- */
@media (max-width: 379px) {
  .hero h1 { font-size: clamp(13px, calc((100vw - 64px) / 11.4), 40px); }
  .about-copy { font-size: clamp(16px, 7vw, 26px); }

  /* CTAカードはアイコンを右上に小さく置き、本文は全幅を使う */
  .cta-card { padding: 26px 22px; }
  .cta-card .section-label { display: block; padding-right: 64px; }
  .cta-ico { top: 20px; right: 18px; transform: none; width: 52px; height: 52px; border-radius: 15px; }
  .cta-ico svg { width: 28px; height: 28px; }
  .cta-card:hover .cta-ico { transform: scale(1.08) rotate(-5deg); }
}

/* さらに狭い画面ではInstagramは文字を隠しアイコンのみに */
@media (max-width: 339px) {
  .sns-logo b { display: none; }
  .sns-logo .sns-ic { height: 28px; }
}
