/* ========================================
   TRIAL PAGE — 試作・小ロット
   Bold Numbers Design

   デザインコンセプト:
   - 明るいホワイト基調 × データドリブン
   - 大きな数字タイポグラフィで実績を訴求
   - 戦略的にダークセクションを配置
   - サイト4サブページ中もっとも明るいトーン
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========================================
   CUSTOM PROPERTIES
   ======================================== */
:root {
  /* Typography */
  --trial-font-en: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --trial-font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* Light palette (primary) */
  --trial-white: #ffffff;
  --trial-offwhite: #f7f8fa;
  --trial-light-bg: #f7f8fa;
  --trial-light-surface: #ffffff;
  --trial-light-text: #1a1f36;
  --trial-light-text-muted: rgba(26, 31, 54, 0.6);
  --trial-light-text-subtle: rgba(26, 31, 54, 0.4);
  --trial-light-border: rgba(26, 31, 54, 0.1);
  --trial-light-border-strong: rgba(26, 31, 54, 0.18);

  /* Dark palette (accent sections) */
  --trial-dark: #141821;
  --trial-dark-surface: #1c2029;
  --trial-dark-text: rgba(255, 255, 255, 0.92);
  --trial-dark-text-muted: rgba(255, 255, 255, 0.55);
  --trial-dark-text-subtle: rgba(255, 255, 255, 0.35);
  --trial-dark-border: rgba(255, 255, 255, 0.08);
  --trial-dark-border-accent: rgba(245, 130, 32, 0.3);
  --trial-silver: #c9d1d9;

  /* Accent */
  --trial-accent: #F58220;
  --trial-accent-bright: #ff9a40;
  --trial-accent-soft: rgba(245, 130, 32, 0.1);
  --trial-accent-glow: rgba(245, 130, 32, 0.15);

  /* Layout */
  --trial-section-py: clamp(80px, 10vw, 140px);
  --trial-container-max: 1200px;
  --trial-gutter: clamp(20px, 4vw, 48px);
}

/* ========================================
   BODY OVERRIDE
   ======================================== */
body.page-template-page-bankin-trial .site-main {
  padding-top: 0;
}

/* ========================================
   SECTION COMMON
   ======================================== */
.trial-section {
  position: relative;
  padding: var(--trial-section-py) 0;
  overflow: hidden;
}

.trial-section__container {
  max-width: var(--trial-container-max);
  margin: 0 auto;
  padding: 0 var(--trial-gutter);
}

/* ========================================
   HEADING COMMON
   ======================================== */
.trial-heading {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 72px);
}

.trial-heading__en {
  display: block;
  font-family: var(--trial-font-en);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--trial-accent);
  margin-bottom: clamp(10px, 2vw, 16px);
}

.trial-heading__title {
  margin: 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--trial-light-text);
}

.trial-heading--dark .trial-heading__title {
  color: var(--trial-dark-text);
}

.trial-heading__lead {
  margin: clamp(16px, 2.5vw, 24px) auto 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2;
  max-width: 700px;
  color: var(--trial-light-text-muted);
}

.trial-heading--dark .trial-heading__lead {
  color: var(--trial-dark-text-muted);
}

/* ========================================
   HERO — 純粋タイポグラフィヒーロー（数字訴求）
   ======================================== */
.trial-hero {
  position: relative;
  background: var(--trial-white);
  overflow: hidden;
}

/* 繊細なグリッドパターン背景 */
.trial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 31, 54, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 31, 54, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* 左上・右下のソフトグラデーション装飾 */
.trial-hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, var(--trial-accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.trial-hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--trial-container-max);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 140px) var(--trial-gutter) clamp(64px, 10vw, 120px);
  text-align: center;
}

.trial-hero__content {
  max-width: 820px;
  margin: 0 auto;
}

.trial-hero__eyebrow {
  display: inline-block;
  margin: 0 0 clamp(16px, 3vw, 28px);
  font-family: var(--trial-font-en);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--trial-accent);
}

.trial-hero__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--trial-font-ja);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--trial-light-text);
}

.trial-hero__lead {
  margin: 0 auto clamp(48px, 7vw, 72px);
  max-width: 640px;
  font-family: var(--trial-font-ja);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
  color: var(--trial-light-text-muted);
}

/* ヒーロー統計カード 4カラム */
.trial-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .trial-hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .trial-hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

.trial-hero__stat {
  padding: clamp(20px, 3vw, 32px) clamp(12px, 2vw, 20px);
  background: var(--trial-white);
  border: 1px solid var(--trial-light-border);
  border-radius: var(--radius-md, 12px);
  text-align: center;
  transition: border-color var(--transition-base, 0.28s ease),
              box-shadow var(--transition-base, 0.28s ease),
              transform var(--transition-base, 0.28s ease);
}

.trial-hero__stat:hover {
  border-color: var(--trial-accent);
  box-shadow: 0 12px 32px rgba(245, 130, 32, 0.1);
  transform: translateY(-4px);
}

.trial-hero__stat-num {
  display: block;
  font-family: var(--trial-font-en);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--trial-accent);
  letter-spacing: -0.02em;
}

.trial-hero__stat-unit {
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 600;
  color: var(--trial-accent-bright);
}

.trial-hero__stat-label {
  display: block;
  margin-top: clamp(8px, 1vw, 12px);
  font-family: var(--trial-font-ja);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  color: var(--trial-light-text-muted);
  letter-spacing: 0.04em;
}

/* ========================================
   PAIN POINTS — お悩みセクション（ライト背景）
   ======================================== */
.trial-section--pain {
  background: var(--trial-offwhite);
}

.trial-pains {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .trial-pains {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .trial-pains {
    grid-template-columns: 1fr;
  }
}

.trial-pain {
  position: relative;
  padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 24px);
  background: var(--trial-white);
  border: 1px solid var(--trial-light-border);
  border-radius: var(--radius-md, 12px);
  text-align: center;
  transition: border-color var(--transition-base, 0.28s ease),
              box-shadow var(--transition-base, 0.28s ease),
              transform var(--transition-base, 0.28s ease);
}

.trial-pain:hover {
  border-color: var(--trial-accent);
  box-shadow: 0 8px 28px rgba(245, 130, 32, 0.08);
  transform: translateY(-3px);
}

/* 吹き出し風のアクセント三角 */
.trial-pain::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--trial-white);
  border-right: 1px solid var(--trial-light-border);
  border-bottom: 1px solid var(--trial-light-border);
  transform: translateX(-50%) rotate(45deg);
  z-index: 1;
}

.trial-pain:hover::after {
  border-color: var(--trial-accent);
}

.trial-pain__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto clamp(12px, 2vw, 16px);
  background: var(--trial-accent-soft);
  border-radius: 50%;
  font-family: var(--trial-font-en);
  font-size: 20px;
  font-weight: 800;
  color: var(--trial-accent);
}

.trial-pain__text {
  margin: 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--trial-light-text);
}

/* 回答テキスト（カードグリッドの下） */
.trial-pain__answer {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(32px, 5vw, 48px) 0 0;
}

.trial-pain__answer p {
  margin: 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.6;
  color: var(--trial-light-text);
}

.trial-pain__answer strong {
  color: var(--trial-accent);
}

/* ========================================
   CAPABILITIES — 技術力セクション（ダーク背景）
   ======================================== */
.trial-section--capability {
  background: var(--trial-dark);
}

.trial-cap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: clamp(32px, 5vw, 56px);
  background: var(--trial-dark-surface);
  border: 1px solid var(--trial-dark-border);
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
}

.trial-cap:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .trial-cap {
    grid-template-columns: 1fr 1fr;
  }

  .trial-cap--reverse {
    direction: rtl;
  }

  .trial-cap--reverse > * {
    direction: ltr;
  }
}

.trial-cap__media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.trial-cap__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trial-cap:hover .trial-cap__media img {
  transform: scale(1.03);
}

.trial-cap__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 56px);
}

.trial-cap__num {
  display: block;
  font-family: var(--trial-font-en);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--trial-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(12px, 2vw, 20px);
  opacity: 0.9;
}

.trial-cap__title {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  font-family: var(--trial-font-ja);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--trial-dark-text);
}

.trial-cap__text {
  margin: 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 2;
  color: var(--trial-dark-text-muted);
}

/* ========================================
   PHOTO PLACEHOLDER（共通）
   ======================================== */
.trial-photo--blank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #e8ebf0;
  border: 2px dashed rgba(26, 31, 54, 0.15);
  min-height: 300px;
  width: 100%;
  height: 100%;
}

.trial-photo__icon {
  color: rgba(26, 31, 54, 0.2);
  opacity: 0.6;
}

.trial-photo__text {
  font-family: var(--trial-font-ja);
  font-size: 13px;
  color: rgba(26, 31, 54, 0.3);
  letter-spacing: 0.1em;
}

/* ========================================
   SPECS TABLE — 仕様テーブル（ライト背景）
   ======================================== */
.trial-section--specs {
  background: var(--trial-white);
}

.trial-specs {
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
}

.trial-specs__table {
  width: 100%;
  border-collapse: collapse;
}

.trial-specs__table th,
.trial-specs__table td {
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2vw, 24px);
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--trial-light-border);
}

.trial-specs__table th {
  width: clamp(120px, 20vw, 180px);
  font-weight: 700;
  color: var(--trial-light-text);
  background: var(--trial-offwhite);
  white-space: nowrap;
}

.trial-specs__table td {
  color: var(--trial-light-text-muted);
}

.trial-specs__table tr:hover td {
  background: rgba(245, 130, 32, 0.03);
}

.trial-specs__table tr:hover th {
  color: var(--trial-accent);
}

.trial-specs__table tr:first-child th,
.trial-specs__table tr:first-child td {
  border-top: 1px solid var(--trial-light-border);
}

/* ========================================
   PRODUCTS — 試作・小ロット製品例
   ======================================== */
.trial-section--products {
  background: var(--trial-light-bg, #f7f8fa);
}

.trial-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 768px) {
  .trial-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trial-product {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md, 12px);
  background: var(--trial-light-surface, #fff);
  border: 1px solid var(--trial-light-border, rgba(26,31,54,0.1));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trial-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.trial-product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trial-product:hover img {
  transform: scale(1.03);
}

.trial-product figcaption {
  padding: clamp(12px, 2vw, 16px);
  font-family: var(--trial-font-ja, "Noto Sans JP", sans-serif);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 600;
  color: var(--trial-light-text, #1a1f36);
  text-align: center;
}

/* ========================================
   FLOW — プロセスフロー（ダーク背景）
   ======================================== */
.trial-section--flow {
  background: var(--trial-dark);
}

.trial-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 100%;
}

.trial-flow__step {
  flex: 1;
  padding: clamp(28px, 3.5vw, 40px) clamp(16px, 2vw, 28px);
  background: var(--trial-dark-surface);
  border: 1px solid var(--trial-dark-border);
  border-radius: var(--radius-md, 12px);
  text-align: center;
  transition: border-color var(--transition-base, 0.28s ease),
              transform var(--transition-base, 0.28s ease);
}

.trial-flow__step:hover {
  border-color: var(--trial-dark-border-accent);
  transform: translateY(-4px);
}

.trial-flow__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto clamp(16px, 2vw, 24px);
  background: var(--trial-accent);
  border-radius: 50%;
  font-family: var(--trial-font-en);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.trial-flow__title {
  margin: 0 0 clamp(8px, 1.5vw, 12px);
  font-family: var(--trial-font-ja);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--trial-dark-text);
}

.trial-flow__text {
  margin: 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.8;
  color: var(--trial-dark-text-muted);
}

.trial-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  font-size: 20px;
  color: var(--trial-accent);
  opacity: 0.7;
}

/* モバイル: 縦スタック */
@media (max-width: 800px) {
  .trial-flow {
    flex-direction: column;
    gap: 0;
  }

  .trial-flow__arrow {
    width: auto;
    height: 36px;
    transform: rotate(90deg);
  }
}

/* ========================================
   INDUSTRIES — 対応業種（ライト背景）
   ======================================== */
.trial-section--industry {
  background: var(--trial-offwhite);
}

.trial-industries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 16px);
  max-width: 900px;
  margin: 0 auto;
}

.trial-industry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 1.5vw, 14px) clamp(20px, 2.5vw, 28px);
  background: var(--trial-white);
  border: 1px solid var(--trial-light-border);
  border-radius: var(--radius-pill, 999px);
  transition: border-color var(--transition-base, 0.28s ease),
              box-shadow var(--transition-base, 0.28s ease),
              transform var(--transition-base, 0.28s ease);
}

.trial-industry:hover {
  border-color: var(--trial-accent);
  box-shadow: 0 6px 20px rgba(245, 130, 32, 0.1);
  transform: translateY(-2px);
}

.trial-industry__icon {
  flex-shrink: 0;
  color: var(--trial-accent);
}

.trial-industry__name {
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 600;
  color: var(--trial-light-text);
}

/* ========================================
   FAQ — よくある質問（ダーク背景）
   ======================================== */
.trial-section--faq {
  background: var(--trial-dark);
}

.trial-faq {
  max-width: 800px;
  margin: 0 auto;
}

.trial-faq__item {
  border-bottom: 1px solid var(--trial-dark-border);
}

.trial-faq__item:first-child {
  border-top: 1px solid var(--trial-dark-border);
}

.trial-faq__question {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  padding: clamp(20px, 3vw, 28px) 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.trial-faq__question::-webkit-details-marker {
  display: none;
}

.trial-faq__question::marker {
  content: '';
}

.trial-faq__q {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--trial-accent);
  border-radius: 50%;
  font-family: var(--trial-font-en);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.trial-faq__question-text {
  flex: 1;
  font-family: var(--trial-font-ja);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  color: var(--trial-dark-text);
  line-height: 1.6;
  text-align: left;
}

.trial-faq__toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.trial-faq__toggle::before,
.trial-faq__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--trial-dark-text-muted);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.trial-faq__toggle::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.trial-faq__toggle::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.trial-faq__item[open] .trial-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.trial-faq__answer {
  padding: 0 0 clamp(20px, 3vw, 32px) 68px;
}

@media (max-width: 600px) {
  .trial-faq__answer {
    padding-left: 48px;
  }
}

.trial-faq__answer p {
  margin: 0;
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 2;
  color: var(--trial-silver);
}

/* FAQ リンク */
.trial-faq__more {
  text-align: center;
  margin-top: clamp(32px, 5vw, 48px);
}

.trial-faq__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--trial-font-ja);
  font-size: clamp(13px, 1.3vw, 14px);
  font-weight: 600;
  color: var(--trial-accent-bright);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}

.trial-faq__more-link:hover {
  color: #fff;
  gap: 14px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
  .trial-hero__content,
  .trial-hero__stat,
  .trial-heading,
  .trial-pain,
  .trial-pain__answer,
  .trial-cap,
  .trial-specs,
  .trial-flow__step,
  .trial-flow__arrow,
  .trial-industry,
  .trial-faq__item {
    opacity: 0;
    transform: translateY(24px);
    animation: trialReveal 0.6s ease-out forwards;
  }

  /* ヒーロー */
  .trial-hero__content { animation-delay: 0.1s; }
  .trial-hero__stat:nth-child(1) { animation-delay: 0.2s; }
  .trial-hero__stat:nth-child(2) { animation-delay: 0.28s; }
  .trial-hero__stat:nth-child(3) { animation-delay: 0.36s; }
  .trial-hero__stat:nth-child(4) { animation-delay: 0.44s; }

  /* セクション見出し */
  .trial-heading { animation-delay: 0.1s; }

  /* お悩みカード */
  .trial-pain:nth-child(1) { animation-delay: 0.1s; }
  .trial-pain:nth-child(2) { animation-delay: 0.16s; }
  .trial-pain:nth-child(3) { animation-delay: 0.22s; }
  .trial-pain:nth-child(4) { animation-delay: 0.28s; }
  .trial-pain__answer { animation-delay: 0.4s; }

  /* 技術力カード */
  .trial-cap:nth-child(1) { animation-delay: 0.1s; }
  .trial-cap:nth-child(2) { animation-delay: 0.2s; }
  .trial-cap:nth-child(3) { animation-delay: 0.3s; }
  .trial-cap:nth-child(4) { animation-delay: 0.4s; }

  /* スペック */
  .trial-specs { animation-delay: 0.15s; }

  /* フロー */
  .trial-flow__step:nth-child(1) { animation-delay: 0.1s; }
  .trial-flow__arrow:nth-child(2) { animation-delay: 0.18s; }
  .trial-flow__step:nth-child(3) { animation-delay: 0.26s; }
  .trial-flow__arrow:nth-child(4) { animation-delay: 0.34s; }
  .trial-flow__step:nth-child(5) { animation-delay: 0.42s; }
  .trial-flow__arrow:nth-child(6) { animation-delay: 0.5s; }
  .trial-flow__step:nth-child(7) { animation-delay: 0.58s; }

  /* 業種タグ */
  .trial-industry:nth-child(1) { animation-delay: 0.05s; }
  .trial-industry:nth-child(2) { animation-delay: 0.1s; }
  .trial-industry:nth-child(3) { animation-delay: 0.15s; }
  .trial-industry:nth-child(4) { animation-delay: 0.2s; }
  .trial-industry:nth-child(5) { animation-delay: 0.25s; }
  .trial-industry:nth-child(6) { animation-delay: 0.3s; }
  .trial-industry:nth-child(7) { animation-delay: 0.35s; }
  .trial-industry:nth-child(8) { animation-delay: 0.4s; }

  /* FAQ */
  .trial-faq__item:nth-child(1) { animation-delay: 0.05s; }
  .trial-faq__item:nth-child(2) { animation-delay: 0.1s; }
  .trial-faq__item:nth-child(3) { animation-delay: 0.15s; }
  .trial-faq__item:nth-child(4) { animation-delay: 0.2s; }
  .trial-faq__item:nth-child(5) { animation-delay: 0.25s; }

  @keyframes trialReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 数字のカウントアップ風アニメーション */
  .trial-hero__stat-num {
    animation: trialNumPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: scale(0.7);
  }

  .trial-hero__stat:nth-child(1) .trial-hero__stat-num { animation-delay: 0.3s; }
  .trial-hero__stat:nth-child(2) .trial-hero__stat-num { animation-delay: 0.4s; }
  .trial-hero__stat:nth-child(3) .trial-hero__stat-num { animation-delay: 0.5s; }
  .trial-hero__stat:nth-child(4) .trial-hero__stat-num { animation-delay: 0.6s; }

  @keyframes trialNumPop {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

/* ========================================
   PRINT
   ======================================== */
@media print {
  .trial-hero {
    min-height: auto;
    background: #fff !important;
    color: #000;
  }

  .trial-hero::before,
  .trial-hero::after {
    display: none;
  }

  .trial-hero__title,
  .trial-hero__lead {
    color: #000;
  }

  .trial-hero__stat {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .trial-hero__stat-num {
    color: #333;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .trial-section--capability,
  .trial-section--flow,
  .trial-section--faq {
    background: #fff !important;
    color: #000;
  }

  .trial-section--capability .trial-cap {
    background: #f5f5f5;
    border: 1px solid #ccc;
  }

  .trial-cap__title,
  .trial-cap__text,
  .trial-cap__num {
    color: #000 !important;
  }

  .trial-heading--dark .trial-heading__title,
  .trial-heading--dark .trial-heading__lead {
    color: #000 !important;
  }

  .trial-flow__step {
    background: #f5f5f5 !important;
    border: 1px solid #ccc;
    color: #000;
  }

  .trial-flow__title,
  .trial-flow__text {
    color: #000 !important;
  }

  .trial-flow__num {
    background: #333 !important;
  }

  .trial-faq__question-text {
    color: #000 !important;
  }

  .trial-faq__answer p {
    color: #333 !important;
  }

  .trial-faq__q {
    background: #333 !important;
  }

  .trial-photo--blank {
    display: none;
  }

  /* アニメーション無効化 */
  * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .trial-section {
    padding: 32px 0;
    page-break-inside: avoid;
  }

  .trial-cap {
    page-break-inside: avoid;
  }
}
