/* =============================================================
   Coverme Corporate LP — style.css
   カラーパレット: 温かみのある赤系 × クリーム × 上品なネイビー
   ============================================================= */

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --primary:       #C8334A;
  --primary-dark:  #A0273B;
  --primary-light: #F9E8EB;
  --accent:        #F5A623;
  --navy:          #1A2E4A;
  --navy-light:    #2D4A6E;
  --cream:         #FFF8F0;
  --white:         #FFFFFF;
  --gray-100:      #F7F7F7;
  --gray-200:      #EEEEEE;
  --gray-400:      #AAAAAA;
  --gray-600:      #666666;
  --gray-800:      #333333;
  --text:          #2C2C2C;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.16);
  --transition:    0.3s ease;
  --font-sans:     'Noto Sans JP', sans-serif;
  --font-serif:    'Noto Serif JP', serif;
}

/* ─── Global Background Image ─────────────────────────── */
/*
  全ページ共通固定背景画像。
  position:fixed でスクロールに追従しない固定表示。
  z-indexを指定せず、DOMの先頭に置くことで全セクションの背面に固定。
  各sectionに position:relative を付けることで自動的に前面に来る。
*/
.global-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('images/hero.jpg') center 30% / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  /* z-indexを明示的に0以上に設定し、各section(z-index:1)の小さい層に置く */
  z-index: 0;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #FFF8F4;
  /* overflow-x:hidden をhtml側に置くことでbody内のposition:fixedに影響しない */
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  /* bodyをtransparentにして.global-bg固定背景画像が透けるようにする */
  background: transparent;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
img { max-width: 100%; display: block; }

/* ─── Utility ───────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } }

/* ─── Section Common ────────────────────────────────────── */
/* 各セクションは .global-bg(z:0) の上に重なるよう position:relative + z-index:1 */
/* 背景は rgba() 半透明にして固定背景画像が透けて見えるようにする */
section {
  padding: 96px 0;
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.4;
}
.section-desc {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 2;
}

/* ─── Section CTA buttons ───────────────────────────────── */
.section-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}
/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,51,74,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(200,51,74,.45);
  transform: translateY(-2px);
  opacity: 1;
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  opacity: 1;
}
/* ネイビー背景セクション用：白枠・白文字の上書きバリアント */
.btn-secondary--light {
  color: var(--white);
  border-color: rgba(255,255,255,.8);
}
.btn-secondary--light:hover {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: var(--white);
  opacity: 1;
}

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-logo { flex: 1; }
.logo-main {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.logo-main em { color: var(--primary); font-style: normal; }
.logo-sub {
  display: block;
  font-size: .68rem;
  color: var(--gray-600);
  letter-spacing: .05em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 8px;
}
.header-nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-800);
}
.header-nav a:hover { color: var(--primary); opacity: 1; }
/* ヘッダーボタングループ */
.header-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* アウトラインボタン（資料を請求する）— btn-secondary と同デザイン・小さめサイズ */
.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--navy);
  border: 2px solid var(--navy);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav-outline:hover {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
  transform: translateY(-2px);
}
/* 塗りつぶしボタン（無料でお問合せ）— btn-primary と同デザイン・小さめサイズ */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(200,51,74,.30);
  transition: all var(--transition);
}
.btn-nav:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(200,51,74,.40);
  opacity: 1;
  transform: translateY(-2px);
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px; width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(255,248,240,.92) 0%, rgba(255,232,224,.88) 55%, rgba(255,240,230,.90) 100%);
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* Hero内部の専用背景画像レイヤー（hero.jpgを右側に表示） */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center 30% / cover no-repeat;
  z-index: 0;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255, 248, 240, 0.55) 0%,
    rgba(255, 232, 224, 0.40) 100%
  );
  z-index: 1;
}
.hero-bg-deco { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 3;
}
.hero-text {
  flex: 1;
  padding: 48px 48px 48px 64px;
}
/* Hero右側画像 */
.hero-img-wrap {
  flex: 0 0 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero-img-wrap img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  /* CSSマスクで画像自体の四辺を均等にフェードアウト */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 30%, black 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 30%, black 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-composite: intersect;
}
.hero-label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-catch {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 28px;
}
.hero-catch em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}
.hero-catch em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .6;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: .68rem;
  letter-spacing: .15em;
  z-index: 3;
}
.scroll-bar {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
  animation: scrollBar 2s ease-in-out infinite;
}
@keyframes scrollBar {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── TAGLINE BAND ──────────────────────────────────────── */
.tagline-band {
  background: rgba(26,46,74,.92);
  padding: 28px 0;
  position: relative;
  z-index: 1;
}
.tagline-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.tagline-inner p {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,.85);
  line-height: 1.8;
}
.tagline-inner strong { color: var(--accent); font-weight: 700; }

/* ─── ABOUT ─────────────────────────────────────────────── */
.about { background: rgba(255,255,255,.88); }
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-card {
  background: rgba(255,248,240,.92);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
}
.about-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.about-card p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ─── PROBLEMS ──────────────────────────────────────────── */
.problems { background: rgba(247,247,247,.88); }
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}
.problem-item {
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  gap: 0;
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.problem-img {
  flex: 0 0 220px;
  overflow: hidden;
}
.problem-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.problem-item:hover .problem-img img {
  transform: scale(1.04);
}
.problem-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  min-width: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 8px 32px 24px;
}
.problem-body {
  flex: 1;
  padding: 32px 36px 32px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.problem-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
}
.problem-body p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.9;
}
.problem-solution {
  text-align: center;
}
.solution-arrow {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.solution-text {
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--primary-light);
  border-radius: var(--radius-xl);
  display: inline-block;
  padding: 16px 40px;
  line-height: 1.8;
}
.solution-text strong { color: var(--primary); font-size: 1.2rem; }

/* ─── VOICE ─────────────────────────────────────────────── */
.voice { background: rgba(255,255,255,.88); }
.voice-disclaimer {
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 4px;
}
.voice-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 22px;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
  text-decoration: none;
}
.voice-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  opacity: 1;
  transform: translateX(4px);
}
.voice-link .fa-file-alt {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.voice-link-icon {
  font-size: .72rem;
  color: var(--gray-400);
  margin-left: auto;
  flex-shrink: 0;
}
/* Voice: 1カラムレイアウト — 画像(横長)→キャプション→テキストの順に縦積み */
.voice-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}
.voice-img-wrap {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.voice-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.voice-img-caption {
  background: rgba(26,46,74,.08);
  color: var(--gray-600);
  font-size: .78rem;
  text-align: center;
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-top: none;
  letter-spacing: .05em;
  margin-bottom: 40px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.voice-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.voice-quote-mark {
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--primary-light);
  line-height: .6;
  height: 40px;
}
.voice-quote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.voice-quote p {
  font-size: 1.05rem;
  color: var(--gray-800);
  line-height: 2;
}
.voice-quote strong { color: var(--primary); }

/* ─── FLOW ──────────────────────────────────────────────── */
.flow { background: rgba(255,255,255,.88); }
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.flow-step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,248,240,.92);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.flow-step-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .1em;
  margin-bottom: 12px;
  display: block;
}
.flow-step-num span {
  font-size: 1.8rem;
  font-family: var(--font-serif);
  display: block;
  line-height: 1;
  color: var(--navy);
}
.flow-step-icon {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.flow-step h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.flow-step p {
  font-size: .86rem;
  color: var(--gray-600);
  line-height: 1.9;
}
.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin-top: 80px;
  color: var(--primary);
  font-size: 1.2rem;
  flex: 0 0 auto;
}

/* ─── MERIT ─────────────────────────────────────────────── */
.merit { background: rgba(26,46,74,.92); }
.merit .section-label { color: var(--accent); }
.merit .section-title { color: var(--white); }
.merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.merit-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.merit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.merit-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.9;
}

/* ─── COMPANY ───────────────────────────────────────────── */
.company { background: rgba(255,248,240,.88); }
.company-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.company-table { display: flex; flex-direction: column; gap: 0; }
.company-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}
.company-row dt {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
}
.company-row dd {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.8;
}
.company-row dd a { color: var(--primary); text-decoration: underline; }
.company-about-text {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.9;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}
.company-story { display: flex; flex-direction: column; gap: 24px; }
.story-card {
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}
.story-img-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.story-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.story-card:hover .story-img {
  transform: scale(1.03);
}
.story-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.story-card p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.9;
}
.story-card a { color: var(--primary); text-decoration: underline; }

/* ─── CTA SECTION ───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #E8506A 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cta-bg-deco { position: absolute; inset: 0; pointer-events: none; }
.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-circle.c1 { width: 500px; height: 500px; right: -150px; top: -150px; }
.cta-circle.c2 { width: 300px; height: 300px; left: -80px; bottom: -80px; }
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.4;
}
.cta-desc {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 48px;
}
.cta-contacts {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-tel, .cta-web {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  color: var(--white);
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.cta-tel:hover, .cta-web:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
  opacity: 1;
}
.cta-tel i, .cta-web i {
  font-size: 2rem;
  opacity: .8;
}
.cta-tel div, .cta-web div {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}
.tel-label, .web-label {
  font-size: .72rem;
  opacity: .75;
  letter-spacing: .05em;
}
.tel-num {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .05em;
}
.tel-person {
  font-size: .82rem;
  opacity: .85;
}
.web-url {
  font-size: 1rem;
  font-weight: 700;
}
.cta-address {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: rgba(26,46,74,.96);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-inner .logo-main { font-size: 1.4rem; color: var(--white); }
.footer-inner .logo-sub { color: rgba(255,255,255,.5); font-size: .72rem; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 20px;
}
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}
.footer-nav a:hover { color: var(--white); opacity: 1; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-links a {
  font-size: .82rem;
  color: var(--primary-light);
  opacity: .8;
  text-decoration: underline;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}

/* ─── SCROLL-TO-TOP ─────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 99;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ─── Fade-in animations ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .flow-steps { flex-wrap: wrap; gap: 16px; }
  .flow-connector { display: none; }
  .flow-step { flex: 0 0 calc(50% - 8px); }
}

@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-btns { display: none; }
  .hamburger { display: flex; }
  .hero-content { flex-direction: column; }
  .hero-text { padding: 36px 28px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-bg-img { opacity: 0.15; }
  .hero-img-wrap {
    flex: none;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 24px 40px;
  }
  .about-cards { grid-template-columns: 1fr; gap: 20px; }
  .merit-grid { grid-template-columns: 1fr; }
  .company-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 100px 16px 64px; }
  .hero-text { padding: 28px 20px; }
  .problem-item { flex-direction: column; }
  .problem-img { flex: 0 0 180px; width: 100%; height: 180px; }
  .problem-num { padding: 20px 24px 8px; justify-content: flex-start; font-size: 2rem; min-width: auto; }
  .problem-body { padding: 0 24px 24px; }
  .flow-step { flex: 0 0 100%; }
  .cta-contacts { flex-direction: column; }
  .cta-tel, .cta-web { padding: 16px 24px; }
  .tel-num { font-size: 1.3rem; }
  .merit-grid { grid-template-columns: 1fr; }
  .scroll-top { bottom: 20px; right: 20px; }
}
