/* ===================================
   RESET & CSS CUSTOM PROPERTIES
=================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── カラー（ライト・エンワールド系） ── */
  --color-bg:            #ffffff;
  --color-bg-alt:        #f5f4f2;
  --color-bg-card:       #ffffff;
  --color-accent:        #e8641e;        /* オレンジ */
  --color-accent-dark:   #c4510e;
  --color-accent-dim:    rgba(232, 100, 30, 0.08);
  --color-accent-border: rgba(232, 100, 30, 0.22);
  --color-text:          #1c2b3a;        /* ダークネイビー */
  --color-text-sub:      #596070;
  --color-text-muted:    #9aa5b4;
  --color-border:        rgba(28, 43, 58, 0.1);
  --color-error:         #c0392b;

  /* ── 帯セクション ── */
  --color-band-bg:       #1c2b3a;        /* 濃紺（統計帯） */
  --color-band-text:     #ffffff;
  --color-cta-bg:        #e8641e;        /* オレンジ（CTAバンド） */
  --color-cta-text:      #ffffff;

  /* ── タイポグラフィ ── */
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* ── レイアウト ── */
  --section-py:    120px;
  --band-py:       80px;
  --band-skew:     60px;
  --container-max: 1100px;
  --container-px:  40px;

  /* ── トランジション ── */
  --tr: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===================================
   UTILITIES
=================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── スクロールフェードイン ── */
.fade-in {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
  /* opacity/transform のみ → コンポジタースレッドで処理（メインスレッド負荷なし） */
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto; /* アニメーション完了後に解放 */
}

/* ── ディレイ ── */
.pain__card:nth-child(2)       { transition-delay: 0.15s; }
.pain__card:nth-child(3)       { transition-delay: 0.30s; }
.pain__card:nth-child(4)       { transition-delay: 0.45s; }

.stats-band__item:nth-child(2) { transition-delay: 0.10s; }
.stats-band__item:nth-child(3) { transition-delay: 0.20s; }
.stats-band__item:nth-child(4) { transition-delay: 0.30s; }
.stats-band__item:nth-child(5) { transition-delay: 0.40s; }


.portfolio__item:nth-child(2)  { transition-delay: 0.08s; }
.portfolio__item:nth-child(3)  { transition-delay: 0.16s; }
.portfolio__item:nth-child(4)  { transition-delay: 0.24s; }
.portfolio__item:nth-child(5)  { transition-delay: 0.32s; }
.portfolio__item:nth-child(6)  { transition-delay: 0.40s; }

/* ===================================
   ANIMATION OVERRIDES
   各要素の性格に合わせた個別演出
=================================== */

/* Pain cards：左からスライド（メッセージが届く感覚） */
.pain__card.fade-in {
  transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.pain__card.fade-in.visible {
  transform: translateX(0);
}

/* Stats items：スケール+フェード（数値の重みを強調） */
.stats-band__item.fade-in {
  transform: translateY(24px) scale(0.92);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.stats-band__item.fade-in.visible {
  transform: translateY(0) scale(1);
}

/* Portfolio items：スケール+フェード（カードが広がる感覚） */
.portfolio__item.fade-in {
  transform: translateY(32px) scale(0.96);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio__item.fade-in.visible {
  transform: translateY(0) scale(1);
}

/* Services items：Workflow品質の多段アニメーション */

/* ── Services：01→06 テンポよくスケールイン ── */

/* カード：scale(0.72)→scale(1) ポップイン */
@keyframes svcCardPop {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes svcCardPopMobile {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* アイコン：シンプルなスケールイン */
@keyframes svcIconPop {
  from { opacity: 0;    transform: scale(0.3); }
  to   { opacity: 0.85; transform: scale(1); }
}

.services--reveal .services__item {
  animation: svcCardPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.services--reveal .services__icon {
  animation: svcIconPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.services--reveal .services__num,
.services--reveal .services__item h3,
.services--reveal .services__item p {
  opacity: 1;
}

/* Workflow：独自の順次アニメーション（fade-in クラスは使わない） */

/* ステップ番号：スケール+回転でポップイン */
@keyframes stepNumPop {
  0%   { transform: scale(0) rotate(-15deg); opacity: 0; }
  65%  { transform: scale(1.18) rotate(3deg); opacity: 1; }
  100% { transform: scale(1)    rotate(0deg); opacity: 1; }
}
.workflow__step-num {
  transform: scale(0) rotate(-15deg);
  opacity: 0;
}
.workflow--reveal .workflow__step-num {
  animation: stepNumPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ステップ本文：右からスライドイン */
.workflow__step-body {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.workflow--reveal .workflow__step-body {
  opacity: 1;
  transform: translateX(0);
}

/* コネクターライン：上から伸びる */
.workflow__connector-line {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.workflow--reveal .workflow__connector-line {
  transform: scaleY(1);
}

/* 矢印：バウンスしながら出現 */
@keyframes arrowDrop {
  0%   { opacity: 0; transform: translateY(-8px); }
  55%  { opacity: 1; transform: translateY(4px); }
  80%  { transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}
.workflow__connector-arrow {
  opacity: 0;
}
.workflow--reveal .workflow__connector-arrow {
  animation: arrowDrop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── セクション共通タイポグラフィ ── */
.section-title {
  font-family: var(--font-ja);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.section-sub {
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ── セクション番号（大きなゴースト数字） ── */
.section-num {
  font-family: var(--font-en);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.85;
  color: var(--color-text);
  opacity: 0.06;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* ── セクションヘッダー共通 ── */
.pain__header,
.services__header,
.workflow__header,
.portfolio__header,
.profile__header,
.contact__header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color var(--tr), transform var(--tr), box-shadow var(--tr);
}

.btn--primary {
  background-color: var(--color-accent);
  color: #ffffff;
}
.btn--primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 100, 30, 0.3);
}

.btn--white {
  background-color: #ffffff;
  color: var(--color-accent);
  border: 2px solid #ffffff;
}
.btn--white:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===================================
   NAVIGATION
=================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background-color: rgba(10, 18, 32, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background-color: #ffffff;
  border-bottom-color: rgba(28, 43, 58, 0.1);
  box-shadow: 0 2px 16px rgba(28, 43, 58, 0.07);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #ffffff;
  transition: color 0.4s ease;
}
.nav.scrolled .nav__logo {
  color: var(--color-text);
}

.nav__cta {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #ffffff;
  background-color: var(--color-accent);
  padding: 9px 24px;
  border-radius: 2px;
  border: none;
  transition: background-color var(--tr), transform var(--tr);
}
.nav__cta:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

/* ===================================
   HERO
=================================== */
/* ── ヒーローフェードイン ── */
.fade-hero-1, .fade-hero-2, .fade-hero-3,
.fade-hero-4, .fade-hero-5, .fade-hero-6 {
  opacity: 0;
  transform: translateY(44px);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-duration: 1.1s;
  animation-name: fadeUp;
}
.fade-hero-1 { animation-delay: 0.15s; }
.fade-hero-2 { animation-delay: 0.35s; }
.fade-hero-3 { animation-delay: 0.55s; }
.fade-hero-4 { animation-delay: 0.75s; }
.fade-hero-5 { animation-delay: 0.95s; }
.fade-hero-6 { animation-delay: 1.4s; }

.hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  margin-top: 64px; /* nav分 */
  background-color: #0d1a2e;
}

/* ── 背景2分割（エンワールド方式） ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 左：チーム作業写真 ＋ 濃紺オーバーレイ */
.hero__bg-left {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 35%;
}
/* 濃紺オーバーレイ */
.hero__bg-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 28, 50, 0.74);
}

/* 右：動画編集タイムライン写真（対角カット） */
.hero__bg-right {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=1200&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center left;
  /* 対角カット：左上から左下への斜め */
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
/* 右側の薄いオーバーレイ */
.hero__bg-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.2);
}

.hero .container { position: relative; z-index: 2; }

.hero__inner { max-width: 640px; }

.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 0;
}

/* ── ヒーロー各ライン（白テキスト、座布団なし） ── */
.hero__line {
  display: block;
  font-family: var(--font-ja);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero__line--xl {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero__line--accent {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 800;
  color: var(--color-accent);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero__foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  max-width: 480px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

/* ── Scroll インジケーター ── */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: var(--container-px);
  display: flex;
  align-items: center;
}

.hero__scroll-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__scroll-inner span {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.hero__scroll-inner::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.25), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { width: 0; opacity: 0; }
  40%  { width: 48px; opacity: 1; }
  80%  { width: 48px; opacity: 0.2; }
  100% { width: 0; opacity: 0; }
}

/* ===================================
   PAIN（チャット形式）
=================================== */
.pain {
  padding: var(--section-py) 0;
  background-color: var(--color-bg-alt);
}

/* ── チャットコンテナ ── */
.pain__chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}

/* ── ディレイ ── */
.pain__card:nth-child(2) { transition-delay: 0.15s; }
.pain__card:nth-child(3) { transition-delay: 0.30s; }
.pain__card:nth-child(4) { transition-delay: 0.45s; }

/* ── カード ── */
.pain__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 22px 28px;
  box-shadow: 0 2px 12px rgba(28, 43, 58, 0.06);
}

/* ── アバター ── */
.pain__msg-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--avatar-color, #888);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  margin-top: 2px;
}

/* ── 吹き出し ── */
.pain__msg-bubble {
  background-color: #f5f4f2;
  border-radius: 4px 14px 14px 14px;
  padding: 16px 22px;
  position: relative;
  flex: 1;
}

.pain__msg-bubble::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -8px;
  border-width: 6px 10px 6px 0;
  border-style: solid;
  border-color: transparent #f5f4f2 transparent transparent;
}

.pain__msg-bubble p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text);
  margin: 0;
  font-weight: 500;
}

/* ── 解決宣言（セクション外・フルワイド） ── */
.pain__resolve {
  background-color: #1c2b3a;
  padding: 60px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 左端オレンジ縦ライン */
.pain__resolve::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 8px;
  height: 100%;
  background: var(--color-accent);
  z-index: 1;
}

/* 背景透かし文字 */
.pain__resolve::after {
  content: 'SOLUTION';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.pain__resolve p {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  margin: 0;
}

/* ── まとめて解決：カーテンリビール ── */
.pain__resolve .resolve-em {
  font-style: normal;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

/* テキスト本体：背景色と同色で不可視状態からスタート */
.pain__resolve .resolve-em__text {
  display: inline-block;
  color: #1c2b3a;
  transition: color 0s 0.9s;
}

.pain__resolve.visible .resolve-em__text {
  color: var(--color-accent);
}

/* カーテン本体：オレンジの帯が左から来て、右へ抜ける */
.pain__resolve .resolve-em::after {
  content: '';
  position: absolute;
  inset: -4px 0;
  background: var(--color-accent);
  transform: translateX(-105%);
}

.pain__resolve.visible .resolve-em::after {
  animation: curtain-slide 1.1s 0.4s cubic-bezier(0.77, 0, 0.18, 1) both;
}

@keyframes curtain-slide {
  0%   { transform: translateX(-105%); }
  42%  { transform: translateX(0%);    }
  58%  { transform: translateX(0%);    }
  100% { transform: translateX(105%);  }
}

/* ===================================
   STATS BAND（斜めカット濃紺バンド）
=================================== */
.stats-band { position: relative; }

.stats-band__inner {
  background-color: var(--color-band-bg);
  clip-path: polygon(
    0 var(--band-skew),
    100% 0,
    100% calc(100% - var(--band-skew)),
    0 100%
  );
  padding: calc(var(--band-py) + var(--band-skew)) 0;
}

/* ── 見出し ── */
.stats-band__head {
  text-align: center;
  margin-bottom: 48px;
}

.stats-band__head-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.85;
}

.stats-band__head-title {
  font-family: var(--font-ja);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.stats-band__item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stats-band__item:last-child { border-right: none; }
.stats-band__item:last-child {
  align-items: center;
  padding-left: 40px;
}
.stats-band__item:last-child .stats-num { font-size: clamp(22px, 2.4vw, 34px); }

/* 数字エリア：全アイテム同一高さで揃える */
.stats-num {
  font-family: var(--font-en);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 「月4,400万円+」は文字数が多いので少しだけ小さめ・同色 */
.stats-num--sm {
  font-size: clamp(16px, 1.7vw, 24px);
  color: var(--color-accent);
}


/* カウント完了時に一瞬スケールアップして止まる */
@keyframes statsPop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.28); }
  100% { transform: scale(1); }
}
.stats-num--done {
  animation: statsPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ラベル：全アイテム1行で揃える */
.stats-label {
  font-family: var(--font-ja);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1;
  white-space: nowrap;
  margin-top: 12px;
}

.stats-note {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.28);
  margin-top: 6px;
  line-height: 1.4;
  white-space: nowrap;
}


/* ===================================
   SERVICES
=================================== */
.services {
  padding: var(--section-py) 0;
  background-color: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.services__item {
  background-color: var(--color-bg-alt);
  border-radius: 4px;
  padding: 36px 28px 32px;
  border-bottom: 3px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
  opacity: 0;
}
.services__item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(28, 43, 58, 0.08);
  transform: translateY(-4px);
}

/* SVGアイコン */
.services__icon {
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0) rotate(-20deg);
}

.services__num {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.55;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__item h3 small {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-left: 6px;
  vertical-align: middle;
}

.services__item p {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.9;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ===================================
   PORTFOLIO
=================================== */
.portfolio {
  padding: var(--section-py) 0;
  background-color: var(--color-bg-alt);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* カード本体 */
.portfolio__item {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(28, 43, 58, 0.08);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}
.portfolio__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(28,43,58,0.12);
}

/* サムネイル部分 */
.portfolio__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #d0cec9;
}
.portfolio__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.portfolio__item:hover .portfolio__thumb img { transform: scale(1.04); }

/* 再生ボタンオーバーレイ */
.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 58, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio__item:hover .portfolio__overlay { opacity: 1; }

.portfolio__play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  padding-left: 4px;
  background: rgba(232, 100, 30, 0.85);
  backdrop-filter: blur(4px);
}

/* テキスト情報エリア */
.portfolio__info {
  padding: 18px 20px 20px;
}

.portfolio__genre {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ジャンル別カラー */
.portfolio__item[data-genre="ビジネス"] .portfolio__genre {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}
.portfolio__item[data-genre="インタビュー"] .portfolio__genre {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
}
.portfolio__item[data-genre="エンタメ"] .portfolio__genre {
  color: #e8641e;
  background: rgba(232, 100, 30, 0.1);
}
.portfolio__item[data-genre="スポーツ"] .portfolio__genre {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.portfolio__point-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.portfolio__point-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.portfolio__point {
  font-size: 12px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0;
}

/* ===================================
   WORKFLOW
=================================== */
.workflow {
  padding: var(--section-py) 0;
  background-color: var(--color-bg);
}

.workflow__track {
  max-width: 680px;
  margin: 0 auto;
}

.workflow__step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background-color: var(--color-bg-alt);
  border-radius: 4px;
  padding: 28px 32px;
  border-left: 3px solid var(--color-accent);
  transition: box-shadow var(--tr);
}
.workflow__step:hover {
  box-shadow: 0 4px 16px rgba(28, 43, 58, 0.08);
}

.workflow__step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.workflow__step-body { flex: 1; }

.workflow__step-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.workflow__step-body p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.85;
  margin: 0;
}

/* ── ステップ間コネクター ── */
.workflow__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 4px 0;
}

.workflow__connector-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, var(--color-accent), rgba(232, 100, 30, 0.3));
}

.workflow__connector-arrow {
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

/* ===================================
   PROFILE（自己紹介）
=================================== */
.profile {
  padding: var(--section-py) 0;
  background-color: var(--color-bg-alt);
}

/* ── アバター + 名前 横並びブロック ── */
.profile__body { max-width: 780px; }

.profile__ident {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}

/* 丸アバター */
.profile__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 240px;
}

/* SVGリング（::before を廃止してSVGに移行） */
.profile__ring-svg {
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 2;
  pointer-events: none;
}

/* 弧：スクロール前は非表示 */
.profile__ring-arc {
  stroke-dasharray: 0 761;
}

/* 一周描いてそのまま残る */
@keyframes ringDraw {
  from { stroke-dasharray:   0 761; }
  to   { stroke-dasharray: 761 761; }
}
.profile--visible .profile__ring-arc {
  animation: ringDraw 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.profile__avatar {
  display: block;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
  position: relative;
  z-index: 1;
  /* 写真とリングの間に2pxの白いギャップ */
  outline: 4px solid var(--color-bg-alt);
  /* レイヤードシャドウで奥行き感 */
  box-shadow:
    0 2px 4px  rgba(28, 43, 58, 0.10),
    0 4px 8px  rgba(28, 43, 58, 0.10),
    0 8px 16px rgba(28, 43, 58, 0.10),
    0 16px 32px rgba(28, 43, 58, 0.08);
}

.profile__ident-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

/* ===================================
   PROFILE アニメーション
   .profile--visible が付いたときに順番に表示
=================================== */

/* アイコン本体：シンプルフェードイン（リングが主役） */
.profile__avatar {
  opacity: 0;
}
.profile--visible .profile__avatar {
  opacity: 1;
  transition: opacity 0.8s ease 0.15s;
}

/* 役職：左からスライド */
.profile__role {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease 0.55s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.55s;
}
.profile--visible .profile__role {
  opacity: 1;
  transform: translateX(0);
}

/* 名前：左からスライド */
.profile__name-val {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease 0.75s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.75s;
}
.profile--visible .profile__name-val {
  opacity: 1;
  transform: translateX(0);
}

/* SKILLS ラベル */
.profile__skills-label {
  opacity: 0;
  transition: opacity 0.5s ease 1.0s;
}
.profile--visible .profile__skills-label {
  opacity: 1;
}

/* タグ：1個ずつゆっくり下からフェードイン */
.profile__tags .tag {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.profile--visible .profile__tags .tag:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 1.10s; }
.profile--visible .profile__tags .tag:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 1.24s; }
.profile--visible .profile__tags .tag:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 1.38s; }
.profile--visible .profile__tags .tag:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 1.52s; }
.profile--visible .profile__tags .tag:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 1.66s; }
.profile--visible .profile__tags .tag:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 1.80s; }
.profile--visible .profile__tags .tag:nth-child(7) { opacity:1; transform:translateY(0); transition-delay: 1.94s; }

/* テキスト：クロップイン（薄い膜を通した後にスッと出てくる） */
@keyframes blurFadeIn {
  0%   { opacity: 0; filter: blur(10px); transform: translateY(6px); }
  100% { opacity: 1; filter: blur(0px); transform: translateY(0); }
}
.profile__text p {
  opacity: 0;
}
.profile--visible .profile__text p {
  animation: blurFadeIn 1.0s cubic-bezier(0.25, 0, 0.2, 1) both;
}
.profile--visible .profile__text p:nth-child(1) { animation-delay: 0.3s; }
.profile--visible .profile__text p:nth-child(2) { animation-delay: 0.75s; }
.profile--visible .profile__text p:nth-child(3) { animation-delay: 1.2s; }

/* ── stats数値：transform アニメーションをGPUで処理 ── */
.stats-num {
  will-change: transform;
}
.stats-num--done {
  will-change: auto;
}


.profile__name-val {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile__name-ja {
  font-family: var(--font-ja);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.profile__name-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

.profile__role {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.profile__text p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}
.profile__text p:last-of-type { margin-bottom: 0; }

.profile__skills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.profile__skills-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-ja);
  font-size: 11px;
  color: var(--color-text-sub);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 2px;
  background-color: var(--color-bg-card);
  letter-spacing: 0.04em;
  transition: border-color var(--tr), color var(--tr);
}
.tag:hover {
  border-color: var(--color-accent-border);
  color: var(--color-accent);
}

/* ===================================
   CTA BAND（斜めカット・オレンジ）
=================================== */
.cta-band { position: relative; }

.cta-band__inner {
  background-color: var(--color-cta-bg);
  clip-path: polygon(
    0 var(--band-skew),
    100% 0,
    100% calc(100% - var(--band-skew)),
    0 100%
  );
  padding: calc(var(--band-py) + var(--band-skew)) 0;
}

.cta-band__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.cta-band__copy {
  font-family: var(--font-ja);
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  text-align: center;
}

/* ===================================
   CONTACT（オレンジアクセント）
=================================== */
.contact {
  padding: var(--section-py) 0;
  background-color: var(--color-bg);
}

/* オレンジ上部ライン */
.contact__header {
  border-bottom-color: var(--color-accent);
}

.contact__form {
  max-width: 640px;
  margin: 0 auto;
}

/* 2カラム行 */
.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.form__group { margin-bottom: 24px; }

.form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form__req {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  background-color: var(--color-accent-dim);
  padding: 2px 6px;
  border-radius: 2px;
}

.form__input,
.form__textarea {
  width: 100%;
  background-color: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--tr), background-color var(--tr);
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--color-text-muted); }

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(232, 100, 30, 0.08);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.form__note {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* 送信完了 */
.contact__success {
  max-width: 560px;
  text-align: center;
  padding: 72px 40px;
  border: 1.5px solid var(--color-accent-border);
  border-radius: 4px;
  background-color: var(--color-accent-dim);
}

.contact__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.contact__success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.contact__success p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ===================================
   FOOTER
=================================== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--color-text-sub);
}

.footer__copy {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ===================================
   KEYFRAME ANIMATIONS
=================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===================================
   RESPONSIVE: タブレット (768px)
=================================== */
@media (max-width: 768px) {
  :root {
    --section-py:    80px;
    --band-py:       56px;
    --band-skew:     40px;
    --container-px:  24px;
  }

  /* Nav */
  .nav__logo { color: #ffffff; }

  /* Hero */
  .hero { height: 460px; }
  .hero__bg-right { width: 42%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%); }
  .hero__foot { gap: 20px; margin-top: 24px; }

  /* Pain */
  .pain__card { padding: 18px 20px; }
  .pain__msg-bubble p { font-size: 14px; }

  /* Pain resolve */
  .pain__resolve { padding: 48px 24px; }

  /* Stats band */
  .stats-band__grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band__item:nth-child(3) { border-right: none; }
  .stats-band__item:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.08); }

  /* Profile */
  .profile__ident {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .profile__avatar-wrap { width: 180px; height: 180px; }
  .profile__avatar { width: 180px; height: 180px; }
  .profile__ring-svg { width: 192px; height: 192px; }
  .profile__ident-text { padding-top: 0; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Workflow */
  .workflow__step { padding: 24px 20px; }

  /* CTA band */
  .cta-band__body {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  /* Contact */
  .form__row { grid-template-columns: 1fr; }
  .form__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Footer */
  .footer .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* セクションヘッダー下マージン縮小 */
  .pain__header,
  .services__header,
  .workflow__header,
  .portfolio__header,
  .profile__header,
  .contact__header {
    margin-bottom: 40px;
  }
}

/* ===================================
   RESPONSIVE: スマートフォン (480px)
=================================== */
@media (max-width: 480px) {
  :root {
    --section-py: 60px;
    --band-py:    44px;
    --band-skew:  28px;
  }

  /* 横スクロール完全防止（iOS Safari対応） */
  html { overflow-x: hidden; }
  .sp-hide { display: none; }

  /* ===== HERO ===== */
  .hero {
    height: auto;
    min-height: 440px;
    padding-top: 80px;
    padding-bottom: 56px;
  }
  .hero__bg-right { display: none; }
  .hero__line { font-size: clamp(20px, 6vw, 30px); }
  .hero__line--xl,
  .hero__line--accent { font-size: clamp(24px, 7.5vw, 38px); }
  .hero__sub { font-size: 13px; }
  .hero .btn--primary { width: 100%; justify-content: center; }

  /* ===== PAIN ===== */
  .pain__card { padding: 16px 16px; gap: 12px; }
  .pain__msg-bubble p {
    overflow-wrap: break-word;
    font-size: 14px;
  }

  /* ===== PAIN RESOLVE ===== */
  .pain__resolve { padding: 44px 24px; }
  .pain__resolve::after { display: none; }
  .resolve-pre {
    display: block;
    font-size: 0.68em;
    opacity: 0.72;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
  }
  .pain__resolve p {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.4;
  }

  /* ===== STATS BAND ===== */
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__item { padding: 20px 8px; }
  .stats-band__item:nth-child(2n) { border-right: none; }
  .stats-band__item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stats-band__item:nth-child(5) { grid-column: 1 / -1; border-right: none; align-items: center; padding-right: 16px; }
  .stats-band__item:nth-child(5) .stats-label { text-align: center; }
  .stats-num { font-size: clamp(26px, 6.5vw, 40px); height: 42px; }
  .stats-num--sm { font-size: clamp(20px, 5vw, 28px); }
  .stats-label { white-space: normal; font-size: 10px; line-height: 1.5; margin-top: 8px; }
  .stats-band__head { margin-bottom: 36px; }
  .stats-band__head-title { font-size: 18px; }

  /* ===== SERVICES ===== */
  .services { background-color: var(--color-bg-alt); }
  .services__grid { grid-template-columns: 1fr; gap: 10px; }
  /* モバイル：スケール量を抑える */
  .services--reveal .services__item {
    animation-name: svcCardPopMobile;
    animation-duration: 0.38s;
  }
  .services__item {
    background-color: #ffffff;
    border-top: 2px solid var(--color-accent);
    border-bottom: none;
    padding: 24px 20px 20px;
    box-shadow: 0 2px 10px rgba(28, 43, 58, 0.07);
  }
  .section-sub br { display: none; }
  .services__item p br { display: none; }
  .services__item p { overflow-wrap: break-word; }
  .services__header .section-num { font-size: 40px; }

  /* ===== PORTFOLIO ===== */
  .portfolio__grid { grid-template-columns: 1fr; }

  /* ===== WORKFLOW ===== */
  .workflow__step { gap: 16px; padding: 20px 16px; }
  .workflow__step-body h3 { font-size: 15px; }
  .workflow__step-body p {
    font-size: 13px;
    overflow-wrap: break-word;
  }

  /* ===== PROFILE ===== */
  .profile__ident { align-items: center; }
  .profile__avatar-wrap { width: 160px; height: 160px; }
  .profile__avatar { width: 160px; height: 160px; }
  .profile__ring-svg { width: 172px; height: 172px; }
  .profile__text br { display: none; }
  .profile__text p { font-size: 14px; line-height: 2.0; }
  .profile__skills { margin-top: 12px; padding-top: 12px; }
  .profile__text { margin-top: 24px; }
  /* タグ: パディング縮小でAfter Effectsまで1行目に収める */
  .profile__tags { gap: 6px; }
  .profile__tags .tag { padding: 5px 8px; font-size: 10.5px; }

  /* ===== SERVICES: モバイルdelayはJS側でbase=0に制御 ===== */

  /* ===== PROFILE: アニメーションタイミング遅め（モバイルはセクションが縦長なので） ===== */
  .profile--visible .profile__ring-arc { animation-delay: 0.4s; }
  .profile--visible .profile__avatar { transition-delay: 0.5s; }
  .profile--visible .profile__role { transition-delay: 0.8s; }
  .profile--visible .profile__name-val { transition-delay: 1.0s; }
  .profile--visible .profile__skills-label { transition-delay: 1.3s; }
  .profile--visible .profile__tags .tag:nth-child(1) { transition-delay: 1.50s; }
  .profile--visible .profile__tags .tag:nth-child(2) { transition-delay: 1.65s; }
  .profile--visible .profile__tags .tag:nth-child(3) { transition-delay: 1.80s; }
  .profile--visible .profile__tags .tag:nth-child(4) { transition-delay: 1.95s; }
  .profile--visible .profile__tags .tag:nth-child(5) { transition-delay: 2.10s; }
  .profile--visible .profile__tags .tag:nth-child(6) { transition-delay: 2.25s; }
  .profile--visible .profile__tags .tag:nth-child(7) { transition-delay: 2.40s; }
  .profile--visible .profile__text p:nth-child(1) { animation-delay: 0.3s; }
  .profile--visible .profile__text p:nth-child(2) { animation-delay: 0.55s; }
  .profile--visible .profile__text p:nth-child(3) { animation-delay: 0.8s; }

  /* ===== SECTION HEADERS ===== */
  .section-num { font-size: clamp(48px, 12vw, 72px); }
  .contact__header .section-num { font-size: 40px; }
  .pain__header,
  .services__header,
  .workflow__header,
  .portfolio__header,
  .profile__header,
  .contact__header { margin-bottom: 32px; }
}
