/* ==========================================================================
   辰真総業株式会社 コーポレートサイト — 最終完成版（100点）
   Design: 白ベース / ネイビー基調 / オレンジアクセント / 堅実ゴシック
   ========================================================================== */

/* ── CSS Variables ── */
:root {
  --nav-height: 72px;

  /* 色 */
  --c-navy: #0d1b2a;
  --c-navy-mid: #1b2d45;
  --c-steel: #1c3a5f;
  --c-orange: #e07a20;
  --c-orange-light: #f59d42;
  --c-orange-glow: rgba(224, 122, 32, 0.15);
  --c-white: #ffffff;
  --c-bg: #f7f8fa;
  --c-bg-warm: #f5f3f0;
  --c-text: #2c2c2c;
  --c-text-muted: #5f6b7a;
  --c-text-light: #dce3ec;
  --c-border: #e2e6ec;

  /* フォント */
  --font-en: 'Oswald', sans-serif;
  /* 和文はOS標準ゴシックを優先（Webフォント読込を回避し表示を高速化） */
  --font-jp: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
             "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;

  /* 余白（+10〜15%拡張） */
  --section-gap: 115px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, p, ul, li, figure, table, th, td { margin: 0; padding: 0; }

body {
  font-family: var(--font-jp);
  font-size: 17px;
  color: var(--c-text);
  line-height: 1.85;
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
table { border-collapse: collapse; }
button { border: none; background: none; cursor: pointer; font: inherit; }

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── ユーティリティ ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: var(--section-gap) 0;
}
.section-light {
  background: var(--c-bg);
}
.section-dark {
  background: var(--c-navy);
  color: var(--c-text-light);
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.03em;
}
.btn-primary {
  background: var(--c-orange);
  color: var(--c-white);
  border-color: var(--c-orange);
}
.btn-primary:hover {
  background: var(--c-orange-light);
  border-color: var(--c-orange-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 122, 32, 0.4);
}
.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
  transform: translateY(-3px);
}
.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* ══════════════════════════════════════════════
   セクション見出し
   ══════════════════════════════════════════════ */
.sec-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.sec-heading-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-orange);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.sec-heading-jp {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: 0.05em;
}
.sec-heading-en--light { color: var(--c-orange-light); }
.sec-heading-jp--light { color: var(--c-white); }


/* ══════════════════════════════════════════════
   ヘッダー
   ══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: height 0.3s, box-shadow 0.3s, background 0.3s;
}
.header.scrolled {
  height: 60px;
  background: rgba(13, 27, 42, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.04em;
  line-height: 1;
  display: block;
}
.logo .logo-sub {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  letter-spacing: 0.08em;
  font-family: var(--font-jp);
}
.nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--c-orange); }
.nav .nav-cta {
  background: var(--c-orange);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background 0.25s, transform 0.25s;
}
.nav .nav-cta:hover {
  background: var(--c-orange-light);
  color: #fff;
  transform: translateY(-1px);
}

/* ── ハンバーガー ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); }


/* ══════════════════════════════════════════════
   ① ファーストビュー — 4枚カルーセル
   ══════════════════════════════════════════════ */
.firstview {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-navy);
}

/* スライダー本体 */
.firstview-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.firstview-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.firstview-slide.active {
  opacity: 1;
}
.firstview-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左右ナビゲーション矢印 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0;
}
.slider-arrow svg {
  width: 22px;
  height: 22px;
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow--prev {
  left: 24px;
}
.slider-arrow--next {
  right: 24px;
}

/* オーバーレイ */
.firstview-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.88) 0%,
    rgba(13, 27, 42, 0.72) 40%,
    rgba(13, 27, 42, 0.55) 100%
  );
}

/* コンテンツ */
.firstview-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  max-width: 720px;
}
.firstview-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--c-orange);
  letter-spacing: 0.25em;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

/* スライドごとのタイトル切り替え */
.firstview-titles {
  position: relative;
  min-height: 4.5em;
  margin-bottom: 1.5rem;
}
.firstview-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.firstview-title.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.firstview-catch {
  font-size: 1.05rem;
  color: var(--c-orange-light);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.firstview-sub {
  font-size: 1.05rem;
  color: var(--c-white);
  font-weight: 500;
  margin-bottom: 2.5rem;
  opacity: 0.85;
  line-height: 1.7;
}
.firstview-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════
   ② 私たちについて
   ══════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-lead {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.about-desc {
  font-size: 0.98rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
  line-height: 1.95;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-img-main {
  grid-column: 1 / -1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.about-img-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.about-img-sub {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.about-img-sub img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}


/* ══════════════════════════════════════════════
   ③ 事業内容
   ══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.srv-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.srv-icon-wrap {
  aspect-ratio: 3 / 4;   /* business_01.jpg（1108×1477＝3:4）の縦長比に合わせる */
  overflow: hidden;
  position: relative;
}
.srv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.srv-card:hover .srv-img {
  transform: scale(1.05);
}
.srv-body {
  padding: 1.8rem;
}
.srv-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(28, 58, 95, 0.1);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.srv-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 0.8rem;
}
.srv-desc {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.85;
}


/* ══════════════════════════════════════════════
   ④ 強み
   ══════════════════════════════════════════════ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.str-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.str-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.str-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(224, 122, 32, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.str-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1rem;
}
.str-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}


/* ══════════════════════════════════════════════
   ⑤ 数字で見る会社（ストーリー化）
   ══════════════════════════════════════════════ */
.numbers-lead {
  text-align: center;
  font-size: 1.02rem;
  color: var(--c-text-muted);
  margin-bottom: 3rem;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* 通常カード */
.num-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-orange);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.num-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.num-value {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.num-big {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1;
}
.num-unit {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  font-weight: 500;
}
.num-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-steel);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}
.num-note {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.55;
}




/* ══════════════════════════════════════════════
   ⑥ 保有設備（実写写真版）
   ══════════════════════════════════════════════ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.equip-category {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.equip-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* 実写写真 */
.equip-photo {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.equip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.equip-category:hover .equip-photo img {
  transform: scale(1.05);
}

.equip-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  padding: 1.2rem 1.5rem 0.5rem;
  border-bottom: 2px solid var(--c-orange);
  margin: 0 1.5rem;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 1rem;
}
.equip-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 1.5rem 1.5rem;
}
.equip-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--c-text);
}
.equip-dot {
  width: 6px;
  height: 6px;
  background: var(--c-orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.equipment-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-top: 2.5rem;
  font-weight: 500;
  line-height: 1.7;
}


/* ══════════════════════════════════════════════
   ⑦ 代表メッセージ
   ══════════════════════════════════════════════ */
.message-layout {
  max-width: 780px;
  margin: 0 auto;
}
.message-content {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.message-content::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 5rem;
  color: rgba(224, 122, 32, 0.12);
  line-height: 1;
  pointer-events: none;
}
.message-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid var(--c-orange);
}
.message-body p {
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 2;
  margin-bottom: 1.2rem;
}
.message-body p:last-child {
  margin-bottom: 0;
}
.message-sign {
  margin-top: 2.5rem;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.message-position {
  font-size: 0.82rem;
  color: var(--c-text-muted);
}
.message-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: 0.1em;
}


/* ══════════════════════════════════════════════
   ⑧ 会社概要
   ══════════════════════════════════════════════ */
.company-table-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.company-table {
  width: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.company-table th,
.company-table td {
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}
.company-table th {
  width: 160px;
  font-weight: 700;
  color: var(--c-steel);
  background: rgba(28, 58, 95, 0.04);
  white-space: nowrap;
}
.company-table td {
  color: var(--c-text);
  line-height: 1.7;
}

/* アクセスマップ */
.company-map {
  max-width: 800px;
  margin: 4rem auto 0;            /* 会社概要表との間に明確な余白 */
  aspect-ratio: 16 / 10;          /* 幅800pxのとき高さ500px。画面幅に応じて比率を維持 */
  height: auto;
  min-height: 400px;              /* 狭い画面でも操作しやすい高さを確保 */
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.company-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}


/* ══════════════════════════════════════════════
   ⑨ SNS導線（改善）
   ══════════════════════════════════════════════ */
.sns-section {
  padding: 90px 0;
}
.sns-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.sns-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--c-white);
  margin-bottom: 0.8rem;
}
.sns-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #f09433, #e6683c 40%, #dc2743 70%, #cc2366);
  color: #fff;
  padding: 0.95rem 2.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  white-space: nowrap;
}
.sns-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.4);
  color: #fff;
}
.sns-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.sns-btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.sns-btn:hover .sns-btn-arrow {
  transform: translateX(5px);
}


/* ══════════════════════════════════════════════
   ⑩ フッター（最終強化）
   ══════════════════════════════════════════════ */
.footer {
  background: #060e18;
  color: rgba(255,255,255,0.5);
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  text-align: center;
}
.footer-logo {
  margin-bottom: 1.2rem;
}
.footer-logo-en {
  display: block;
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  font-weight: 700;
}
.footer-logo-jp {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}
.footer-info {
  margin-bottom: 1.5rem;
}
.footer-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.3rem;
}
.footer-mail {
  color: var(--c-orange-light);
  transition: color 0.25s;
}
.footer-mail:hover {
  color: var(--c-orange);
  text-decoration: underline;
}
.footer-inquiry {
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-inquiry-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}
.footer-sales-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}


/* ══════════════════════════════════════════════
   ⑪ フローティングInstagramボタン
   ══════════════════════════════════════════════ */
.floating-ig-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}
.floating-ig-wrap.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.floating-ig-close {
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
  margin-right: -4px;
}
.floating-ig-close svg {
  width: 14px;
  height: 14px;
}
.floating-ig-close:hover {
  background: rgba(0,0,0,0.7);
}
.floating-instagram {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c 30%, #dc2743 60%, #cc2366 80%, #bc1888);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.4);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.floating-instagram:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(220, 39, 67, 0.55);
}
.floating-instagram svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}


/* ══════════════════════════════════════════════
   レスポンシブ
   ══════════════════════════════════════════════ */

/* ── タブレット (992px以下) ── */
@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .firstview-title {
    font-size: 2.2rem;
  }
  .nav ul {
    gap: 1rem;
  }
  .nav a {
    font-size: 0.76rem;
  }
  .sns-inner {
    flex-direction: column;
    text-align: center;
  }
  .slider-arrow {
    width: 44px;
    height: 44px;
  }
  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }
  .slider-arrow--prev { left: 12px; }
  .slider-arrow--next { right: 12px; }
}

/* ── スマートフォン (768px以下) ── */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --section-gap: 72px;
  }

  body {
    font-size: 16px;
  }

  /* ヘッダー */
  .hamburger {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--c-navy);
    padding: 80px 2rem 2rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  }
  .nav.open {
    right: 0;
  }
  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
  }
  .nav .nav-cta {
    display: inline-block;
    margin-top: 0.5rem;
  }

  /* ファーストビュー */
  .firstview-content {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }
  .firstview-title {
    font-size: 1.65rem;
    white-space: normal;
  }
  .firstview-titles {
    min-height: 3.5em;
  }
  .firstview-catch {
    font-size: 0.92rem;
  }
  .firstview-sub {
    font-size: 0.95rem;
  }
  .firstview-actions {
    flex-direction: column;
  }
  .firstview-actions .btn {
    width: 100%;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }
  .slider-arrow--prev { left: 8px; }
  .slider-arrow--next { right: 8px; }

  /* 見出し */
  .sec-heading-jp {
    font-size: 1.5rem;
  }

  /* About画像 */
  .about-images {
    grid-template-columns: 1fr;
  }
  .about-img-main img { height: 200px; }
  .about-img-sub img { height: 150px; }
  .about-lead { font-size: 1.2rem; }

  /* 事業内容 */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* 数字 */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .num-big { font-size: 2.2rem; }
  .num-card { padding: 1.5rem 1rem; }

  /* 保有設備 */
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* 代表メッセージ */
  .message-content {
    padding: 2rem 1.5rem;
  }
  .message-title {
    font-size: 1.1rem;
  }

  /* 会社概要 */
  .company-table th {
    display: block;
    width: 100%;
    padding-bottom: 0.3rem;
    border-bottom: none;
  }
  .company-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 1rem;
  }
  .company-map {
    height: 440px;                /* スマホでは縦長にして地図操作をしやすく */
    min-height: 0;
    aspect-ratio: auto;
    margin-top: 3rem;
  }

  /* SNS */
  .sns-title { font-size: 1.3rem; }
  .sns-desc br { display: none; }

  /* ボタン */
  .btn {
    width: 100%;
  }

  /* フローティングボタン */
  .floating-ig-wrap {
    bottom: 20px;
    right: 20px;
  }
  .floating-instagram {
    width: 50px;
    height: 50px;
  }
  .floating-instagram svg {
    width: 22px;
    height: 22px;
  }
}

/* ── 小型スマホ (480px以下) ── */
@media (max-width: 480px) {
  .firstview-title {
    font-size: 1.4rem;
  }
  .firstview-titles {
    min-height: 3em;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  .num-big { font-size: 2.5rem; }
  .str-card { padding: 2rem 1.5rem; }
}
