*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: #ffffff;         /* ページ全体の背景色 */
  color: #000000;              /* 基本テキストの色 */
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   NAV（ナビゲーション）
━━━━━━━━━━━━━━━━━━━━━━━━ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(185, 185, 185, 0.177);  /* ナビ背景色 */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.1);  /* ナビ下線の色 */
}
.nav-logo {
  display: flex; align-items: baseline; gap: 0.6rem;
}
.nav-logo-kanji {
  font-size: 1.5rem; font-weight: 900;
  color: #000000;              /* ロゴ（漢字）の色 */
  letter-spacing: 0.05em;
}
.nav-logo-en {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 0.95rem;
  color: #000000;              /* ロゴ（英字）の色 */
  letter-spacing: 0.2em;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  text-decoration: none;
  color: #000000;              /* ナビリンクの色 */
  font-size: 0.8rem; letter-spacing: 0.12em; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #555555;              /* ナビリンクのホバー色 */
}
.nav-cta {
  background: #000000;         /* 「電話する」ボタンの背景色 */
  color: #ffffff;              /* 「電話する」ボタンの文字色 */
  padding: 0.55rem 1.4rem;
  border: none; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s;
}
.nav-cta:hover {
  background: #333333;         /* 「電話する」ボタンのホバー色 */
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   HERO（トップ画面）
━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  /* background-image を以下のように書き換えます */
  background-image: linear-gradient(rgba(255, 255, 255, 0.816), rgba(154, 154, 154, 0.871)), url('IMG_2808.jpeg');
  min-height: 100vh;
  display: flex; 
  flex-direction: column; 
  justify-content: flex-end;
  padding: 0 3rem 5rem;
  position: relative; 
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff; /* 文字を白にすると、暗い背景に映えます */
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(200,168,75,0.06) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg, transparent, transparent 40px,
      rgba(200,168,75,0.015) 40px, rgba(200,168,75,0.015) 41px
    );
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,168,75,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,168,75,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 70%, transparent 100%);
}
.hero-crane-silhouette {
  position: absolute; right: -2rem; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(to right, #ffffff 0%, transparent 20%);  /* クレーンシルエット左側のフェード色（ヒーロー背景と合わせる） */
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-crane-svg {
  width: 100%; height: 100%; opacity: 0.12;
  fill: #000000;               /* クレーンシルエットの色 */
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.3);  /* タグの枠線色 */
  padding: 0.35rem 1rem;
  font-size: 0.7rem; letter-spacing: 0.25em;
  color: #000000;              /* タグの文字色 */
  font-weight: 500; margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.hero-tag::before {
  content: ''; width: 20px; height: 1px;
  background: #000000;         /* タグ左の線の色 */
}
.hero-title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(4.5rem, 10vw, 9rem);
  line-height: 0.92; letter-spacing: 0.02em;
  color: #000000;              /* メインタイトル（SHIMOBO）の色 */
  margin-bottom: 0.2rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-title .accent {
  color: #000000;              /* メインタイトル（CRANE）のアクセント色 */
}
.hero-subtitle-jp {
  font-size: 1.1rem; font-weight: 300;
  color: #000000;              /* 「下防クレーン」サブタイトルの色 */
  letter-spacing: 0.3em; margin-bottom: 2rem;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-desc {
  font-size: 0.9rem; line-height: 1.9;
  color: #000000;              /* ヒーロー説明文の色 */
  max-width: 480px; margin-bottom: 3rem;
  border-left: 2px solid #7a6530;  /* 説明文の左ボーダー色 */
  padding-left: 1.2rem;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  animation: fadeUp 0.6s 0.4s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #000000;         /* メインボタンの背景色 */
  color: #ffffff;              /* メインボタンの文字色 */
  padding: 0.9rem 2.5rem;
  text-decoration: none; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.12em;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: #333333;         /* メインボタンのホバー色 */
  transform: translateX(4px);
}
.btn-primary .arrow { font-size: 1.1rem; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: #000000;              /* ゴーストボタンの文字色 */
  text-decoration: none; font-size: 0.8rem; letter-spacing: 0.12em;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.2);  /* ゴーストボタンの枠線色 */
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: #555555;              /* ゴーストボタンのホバー文字色 */
  border-color: #555555;       /* ゴーストボタンのホバー枠線色 */
}
.hero-stats {
  position: absolute; right: 3rem; bottom: 5rem;
  display: flex; gap: 3rem;
  animation: fadeUp 0.6s 0.5s ease both; z-index: 2;
}
.stat { text-align: right; }
.stat-num {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 3rem;
  color: #000000;              /* 統計数字の色 */
  line-height: 1;
}
.stat-unit {
  font-size: 1rem;
  color: #000000;              /* 統計単位の色 */
}
.stat-label {
  font-size: 0.7rem;
  color: #000000;              /* 統計ラベルの色 */
  letter-spacing: 0.15em; margin-top: 0.2rem;
}
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: #000000;              /* SCROLLインジケーターの色 */
  font-size: 0.65rem; letter-spacing: 0.2em;
  animation: pulse 2s infinite; z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, #7a6530, transparent);  /* スクロールラインの色 */
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   TICKER（流れるテキスト帯）
━━━━━━━━━━━━━━━━━━━━━━━━ */
.ticker {
  background-image: url('ticker.jpg');  /* ティッカー帯の背景画像ファイル名 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000000;            /* 画像が読み込まれる前の背景色 */
  padding: 0.7rem 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 4rem;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 0.9rem; letter-spacing: 0.2em;
  color: #ffffff;              /* ティッカーのテキスト色 */
  display: inline-flex; align-items: center; gap: 1rem;
}
.ticker-item::after {
  content: '◆'; font-size: 0.5rem;
  color: rgba(255,255,255,0.4);  /* ティッカーの区切り記号の色 */
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 共通
━━━━━━━━━━━━━━━━━━━━━━━━ */
section { padding: 6rem 3rem; }
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.3em;
  color: #000000;              /* セクションラベル（Services等）の色 */
  font-weight: 500; margin-bottom: 1rem; text-transform: uppercase;
}
.section-label::before {
  content: ''; width: 28px; height: 1px;
  background: #000000;         /* セクションラベル左の線の色 */
}
.section-title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1; letter-spacing: 0.03em;
  color: #000000;              /* セクション大見出しの色 */
  margin-bottom: 1.5rem;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   SERVICES（サービス）
━━━━━━━━━━━━━━━━━━━━━━━━ */
.services {
  background-image: linear-gradient(rgba(255, 255, 255, 0.816), rgba(154, 154, 154, 0.871)),url('IMG_2877.jpeg');  /* サービスセクションの背景画像ファイル名 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;              /* 画像が読み込まれる前の背景色 */
}
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-bottom: 4rem; align-items: end;
}
.services-intro {
  font-size: 0.9rem; line-height: 1.9;
  color: #000000;              /* サービス説明文の色 */
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.1);  /* カード間の仕切り線の色 */
}
.service-card {
  background: #ffffff;         /* サービスカードの背景色 */
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: background 0.3s; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: #000000;         /* カードホバー時の左ボーダー色 */
  transition: height 0.4s ease;
}
.service-card:hover {
  background: #22d090;         /* カードホバー時の背景色 */
}
.service-card:hover::before { height: 100%; }
.service-num {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 4rem;
  color: rgba(0,0,0,0.06);     /* カード番号（薄い）の色 */
  position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1; pointer-events: none; transition: color 0.3s;
}
.service-card:hover .service-num {
  color: rgba(0,0,0,0.12);     /* カードホバー時の番号色 */
}
.service-icon {
  width: 48px; height: 48px; margin-bottom: 1.5rem;
  background: rgba(0,0,0,0.06);  /* アイコン背景色 */
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.service-icon svg {
  width: 24px; height: 24px;
  fill: #000000;               /* アイコンの色 */
}
.service-name {
  font-size: 1.1rem; font-weight: 700;
  color: #000000;              /* サービス名の色 */
  margin-bottom: 0.8rem; letter-spacing: 0.05em;
}
.service-desc {
  font-size: 0.82rem; line-height: 1.8;
  color: #000000;              /* サービス説明文の色 */
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT / ABOUT（会社概要）
━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-section {
  background-image: linear-gradient(rgba(255, 255, 255, 0.816), rgba(154, 154, 154, 0.871)),url('IMG_2833.jpeg');  /* 会社概要セクションの背景画像ファイル名 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;             /* 画像が読み込まれる前の背景色 */
  padding: 6rem 3rem;
}
.contact-info h2 {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #000000;              /* 「会社概要」見出しの色 */
  margin-bottom: 1rem; line-height: 1;
}
.contact-info p {
  font-size: 0.88rem; line-height: 1.9;
  color: #000000;              /* 会社概要説明文の色 */
  margin-bottom: 2.5rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-row {
  display: flex; align-items: center; gap: 1rem; font-size: 0.85rem;
}
.contact-row-label {
  width: 80px; font-size: 0.7rem; letter-spacing: 0.15em;
  color: #000000;              /* 「所在地」「FAX」などラベルの色 */
  text-transform: uppercase;
  font-weight: bold;
}
.contact-row-val {
  color: #000000;              /* 住所・電話番号などの値の色 */
}
.tel-big {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 2.5rem;
  color: #000000;              /* 大きな電話番号の色 */
  letter-spacing: 0.05em; line-height: 1; margin-top: 1.5rem;
}
.tel-note {
  font-size: 0.75rem;
  color: #000000;              /* 電話番号の注記テキストの色 */
  letter-spacing: 0.1em; margin-top: 0.3rem;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER（フッター）
━━━━━━━━━━━━━━━━━━━━━━━━ */
footer {
  background: #7a7a7a20;         /* フッターの背景色 */
  padding: 3rem 3rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.15);  /* フッター上線の色 */
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2.5rem;
}
.footer-logo-kanji {
  font-size: 1.8rem; font-weight: 900;
  color: #000000;              /* フッターロゴ（漢字）の色 */
  letter-spacing: 0.05em;
}
.footer-logo-en {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: #000000;              /* フッターロゴ（英字）の色 */
  letter-spacing: 0.2em; margin-top: 0.2rem;
}
.footer-links { display: flex; gap: 4rem; }
.footer-links-col h4 {
  font-size: 0.72rem; letter-spacing: 0.2em;
  color: #7a6530;              /* フッターリンク見出しの色 */
  text-transform: uppercase; margin-bottom: 1rem;
}
.footer-links-col a {
  display: block; text-decoration: none;
  color: #000000;              /* フッターリンクの色 */
  font-size: 0.82rem; margin-bottom: 0.6rem; transition: color 0.2s;
}
.footer-links-col a:hover {
  color: #555555;              /* フッターリンクのホバー色 */
}
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);  /* フッター下部の仕切り線色 */
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.35);     /* コピーライトの色 */
  letter-spacing: 0.1em;
}
.cert-badge {
  background: rgba(0,0,0,0.04);  /* 協会バッジの背景色 */
  border: 1px solid rgba(0,0,0,0.15);  /* 協会バッジの枠線色 */
  padding: 0.3rem 0.8rem;
  font-size: 0.68rem;
  color: #7a6530;              /* 協会バッジの文字色 */
  letter-spacing: 0.12em;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━
   アニメーション
━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* スクロールで表示するアニメーション */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: none;
}