@charset "UTF-8";
/* ===========================
   共通スタイル — yamashita-fruit.com 風 × 青白テーマ
=========================== */

:root {
  --white:       #ffffff;
  --off-white:   #f8faff;
  --blue-ghost:  #eff6ff;
  --blue-pale:   #dbeafe;
  --blue-light:  #93c5fd;
  --blue-mid:    #3b82f6;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --navy:        #1e3a5f;
  --gold:        #c8a84b;        /* ヘッダーロゴアクセント */
  --text:        #1a1a1a;
  --text-sub:    #6b7280;
  --text-light:  #9ca3af;
  --border:      #e2e8f0;
  --radius-card: 40px;
  --radius-hero: 64px;
  --transition:  all 0.38s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===========================
   ヘッダー — suv-kaitori.com 風ダークスタイル
=========================== */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 40%, var(--blue-pale) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* index.html のみ: スクロール前は完全透明 */
body:not(.page-top) header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

header.scrolled {
  background: rgba(17, 17, 17, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

header.scrolled::after {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  height: 96px;
  transition: height 0.4s ease;
}

header.scrolled .header-inner {
  height: 72px;
}

/* ロゴ (左寄せ) */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-emblem {
  width: 52px;
  height: 52px;
  background: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: width 0.4s ease, height 0.4s ease, opacity 0.3s;
}

header.scrolled .logo-emblem {
  width: 44px;
  height: 44px;
}

.logo:hover .logo-emblem { opacity: 0.85; }

.logo-emblem svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-emblem img {
  width: 52px;
  height: 52px;
  display: block;
  transition: width 0.4s ease, height 0.4s ease;
}

header.scrolled .logo-emblem img {
  width: 44px;
  height: 44px;
}

.logo-name {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text);
  white-space: nowrap;
}

/* ロゴテキスト */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  transition: font-size 0.4s ease, letter-spacing 0.4s ease;
}

header.scrolled .logo-name {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.logo-sub {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: font-size 0.4s ease, opacity 0.4s ease;
}

header.scrolled .logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
}

/* ナビゲーション (右寄せ) */
.header-nav {
  display: flex;
  align-items: center;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-nav ul li a {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 13px;
  transition: color 0.3s;
}

.header-nav ul li a:hover,
.header-nav ul li a.active {
  color: var(--white);
}

.header-nav ul li.nav-cta a {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 3px;
  margin-left: 8px;
  padding: 8px 16px;
}

.header-nav ul li.nav-cta a:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* モバイルナビ */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(13, 13, 13, 0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 48px 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  display: block;
  padding: 13px 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.3s, padding-left 0.3s;
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--white); padding-left: 6px; }

/* ===========================
   ページトップ余白
=========================== */
.page-top { padding-top: 96px; }

/* ===========================
   ページバナー
=========================== */
.page-banner {
  background: var(--off-white);
  padding: 64px 64px 48px;
  border-bottom: 1px solid var(--border);
}

.page-banner-eyebrow {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--blue-mid);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-banner h1 {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', 'Noto Serif JP', serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-sub);
  letter-spacing: 0.08em;
}

/* ===========================
   共通セクション見出しパターン
   (「こだわり  サブテキスト右」スタイル)
=========================== */
section { padding: 96px 64px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 横並び見出し: 大見出し左 + サブ右 */
.sec-title-row {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.sec-serif {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', 'Noto Serif JP', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.sec-title-right {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-sub);
  line-height: 1.9;
  padding-bottom: 6px;
}

/* 中央揃え見出し */
.sec-center {
  text-align: center;
  margin-bottom: 56px;
}

.sec-center .sec-serif { font-size: 40px; margin-bottom: 8px; display: block; }

.sec-sub-en {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--text-light);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

/* ===========================
   ピル型ボタン (楕円アウトライン)
=========================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  border: 1.5px solid var(--text);
  border-radius: 100px;
  padding: 14px 20px 14px 36px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  text-decoration: none;
}

.btn-pill:hover {
  background: var(--text);
  color: var(--white);
}

.btn-pill-arrow {
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.btn-pill:hover .btn-pill-arrow { transform: translateX(4px); }

.btn-pill.blue {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-pill.blue:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===========================
   ドットパターン背景
   (yamashita のフルーツ散布風)
=========================== */
.dot-bg {
  background-color: var(--white);
  background-image:
    radial-gradient(circle, rgba(147,197,253,0.65) 3px,   transparent 0),
    radial-gradient(circle, rgba(96,165,250,0.45)  2.5px, transparent 0),
    radial-gradient(circle, rgba(191,219,254,0.75) 3.5px, transparent 0),
    radial-gradient(circle, rgba(59,130,246,0.35)  2px,   transparent 0),
    radial-gradient(circle, rgba(219,234,254,0.9)  4px,   transparent 0),
    radial-gradient(circle, rgba(147,197,253,0.5)  2.5px, transparent 0);
  background-size:
    105px 85px,
    78px 115px,
    130px 68px,
    68px 105px,
    145px 82px,
    90px 130px;
  background-position:
    8px  14px,
    52px 52px,
    28px 68px,
    82px 22px,
    44px 40px,
    16px 90px;
}

/* ===========================
   大きい角丸カード
=========================== */
.rounded-card {
  background: var(--blue-ghost);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rounded-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(37, 99, 235, 0.12);
}

/* ===========================
   フッター
=========================== */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 64px 32px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer-logo .logo-emblem {
  background: transparent;
}

.footer-logo .logo-emblem svg { stroke: rgba(255,255,255,0.7); }

.footer-logo .logo-name { color: rgba(255,255,255,0.8); }

.footer-brand-text {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 2;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul li a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-col .info-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-bottom {
  text-align: center;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
}

/* ===========================
   スクロールアニメーション
=========================== */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 文字分割スクロール演出（短い見出し向け） */
.split-text-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.split-text.visible .split-text-char {
  opacity: 1;
  transform: translateY(0);
}

/* カーテンワイプ見出し演出（ページタイトル向け）
   ※ clip-path を直接付けた要素は IntersectionObserver から
   「常に交差率0」と判定されるため、観測は親(.curtain-wrap)で行い
   実際のclip-pathは子(.curtain-text)に適用する */
.curtain-wrap .curtain-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.65,0,0.35,1);
}
.curtain-wrap.visible .curtain-text {
  clip-path: inset(0 0% 0 0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   ④ グラデーションテキスト
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gradient-text,
.gradient-text .split-text-char {
  background: linear-gradient(
    105deg,
    #1d4ed8 0%,
    #2563eb 30%,
    #60a5fa 55%,
    #3b82f6 75%,
    #1d4ed8 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0%   { background-position: 0%   center; }
  100% { background-position: 250% center; }
}

/* 数字はより鮮やかに */
.stat-num.gradient-text,
.case-stat-num.gradient-text,
.r-stat-num.gradient-text {
  background: linear-gradient(105deg, #1d4ed8 0%, #3b82f6 40%, #60a5fa 60%, #2563eb 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s linear infinite;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━
   ③ 3D カードシャイン
━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* カードのはみ出し防止 */
.service-card,
.stat-block,
.voice-card,
.case-stat,
.workplace-card,
.price-card {
  position: relative;
  overflow: hidden;
}

/* ===========================
   フォーム共通
=========================== */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--blue);
  margin-left: 4px;
  font-size: 11px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.input-error { border-color: #ef4444 !important; }

.error-msg {
  display: block;
  color: #ef4444;
  font-size: 11px;
  margin-top: 5px;
}

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 1024px) {
  section { padding: 80px 40px; }
  .page-banner { padding: 56px 40px 40px; }
  footer { padding: 56px 40px 28px; }
  .header-inner { padding: 0 24px; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  section { padding: 64px 24px; }
  .page-banner { padding: 48px 24px 32px; }
  .page-banner h1 { font-size: 32px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 48px 24px 24px; }

  .sec-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sec-serif { font-size: 36px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .mobile-nav { padding: 12px 20px 20px; }
}

/* ===========================
   Custom Cursor (desktop only)
=========================== */
body.has-custom-cursor { cursor: none; }
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor select,
body.has-custom-cursor textarea { cursor: none; }

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-dot.is-hover { width: 14px; height: 14px; background: #c8a84b; }
.cursor-ring.is-hover { width: 56px; height: 56px; border-color: rgba(200, 168, 75, 0.5); }
.cursor-dot.is-click { transform: translate(-50%, -50%) scale(0.6); }
.cursor-ring.is-click { transform: translate(-50%, -50%) scale(0.85); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTAポップアップ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 8000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}
.cta-float > * { pointer-events: auto; }

.cta-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px 28px 24px;
  width: 268px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.4s cubic-bezier(0.22,1,0.36,1), transform 0.4s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.cta-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cta-card-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cta-card-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.cta-card-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.cta-card-lead {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
  line-height: 1.5;
}
.cta-card-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.cta-card-tel:hover { color: var(--blue-light); }
.cta-card-hours {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.cta-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}
.cta-card-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

.cta-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.45);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.cta-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,99,235,0.6);
  animation: none;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,99,235,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,99,235,0.7), 0 0 0 8px rgba(37,99,235,0.12); }
}

@media (max-width: 640px) {
  /* ボトムシート型に変更 */
  .cta-float {
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0;
  }
  .cta-card {
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    opacity: 1;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
  }
  .cta-card.visible {
    transform: translateY(0);
    opacity: 1;
  }
  .cta-card-close {
    top: 16px;
    right: 16px;
  }
  .cta-card-tel { font-size: 22px; }
  /* トリガーボタンを右下固定 */
  .cta-trigger {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    width: 48px;
    height: 48px;
  }
}
