/* =================================
共通カラー
===================================== */
:root {

 /* ===== Brand Blue ===== */
    --color-blue-bright: #0064cb;
    /* 明るいブルー */
    --color-blue-light: #2881d7;
    /* 少し明るいブルー */
    --color-navy: #1262a8;
    /* 普通のネイビー */
  --color-navy-dark: #023d6e;
    /* 濃いネイビー */

      --color-blue-sky: #6eaee8;
    /* 薄いブルー */

  /* ===== Accent ===== */
    --color-accent: #ff5e65;
    /* ピンク（アクセント） */
    --color-accent-yellow: #ffff00;
    /* ピンク（アクセント） */

  /* ===== Neutral ===== */
    --color-gray-dark: #464659;
    /* 濃いグレー */
    --color-white: #fff;
    --color-bg: #e3eefa;
    /* 背景用（今まで使用してるなら） */
    --color-cream: #fbf3df;
}

/* ================= 共通 ================= */

html {
  font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 1.6rem;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--color-gray-dark);
 }

 /* footerの下の余白（CTA分空ける） */
 @media (max-width: 500px) {
  body {
    padding-bottom: 170px;
  }
}

/* 空の背景 */
.skyBg{
  background: url(../../images/droneconstruction/fv/fv_bgSky.png) center / cover no-repeat;
}

/* =========================
   Header
========================= */

.header {
  position: relative;
  z-index: 30;
  width: 100%;
  padding-top: clamp(12px, 2vw, 24px);
}

.header__inner {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96vw;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;}

.header__logo {
  display: block;
  width: clamp(180px, 19vw, 300px);
  flex-shrink: 0;
}

.header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 右の「人物＋雲＋ボタン」 */
.header__menuVisual {
  position: relative;
  width: clamp(160px, 14vw, 220px);
  flex-shrink: 0;
}

.header__menuVisual img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-4px);
}

/* 丸ボタンを画像の上に重ねる */
.header__btn {
  position: absolute;
  top: 6%;
  right: 8%;
  width: clamp(52px, 4.8vw, 76px);
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: #3b66c9;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
  cursor: pointer;
  z-index: 2;
}

/* 吹き出しのしっぽ */
.header__btn::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: 12%;
  width: 26%;
  height: 20%;
  background: #3b66c9;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  transform: rotate(-25deg);
}

.header__btn span {
  position: absolute;
  left: 50%;
  width: 45%;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
}

.header__btn span:nth-child(1) { top: 34%; }
.header__btn span:nth-child(2) { top: 48%; }
.header__btn span:nth-child(3) { top: 62%; }

/* =========================
   Drawer
========================= */
.drawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s ease;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 90vw);
  height: 100dvh;
  background: linear-gradient(180deg, #1e8ed8 0%, #30b7ea 100%);
  padding: 24px 20px 40px;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer__logo {
  width: 180px;
}

.drawer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.drawer__close {
  position: relative;
  width: 52px;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  background: #2d63c8;
  border-radius: 999px;
}

.drawer__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer__list {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.drawer__item a {
  display: block;
  padding: 16px 18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* 開いた時 */
body.is-drawer-open {
  overflow: hidden;
}

body.is-drawer-open .drawer {
  pointer-events: auto;
}

body.is-drawer-open .drawer__overlay {
  opacity: 1;
}

body.is-drawer-open .drawer__panel {
  transform: translateX(0);
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .header {
    padding-top: 10px;
  }

  .header__inner {
    width: calc(100% - 20px);
    align-items: flex-start;
  }

  .header__logo {
    width: min(42vw, 180px);
  }

  .header__menuVisual {
    width: min(34vw, 150px);
  }

  .header__btn {
    width: 54px;
    top: 4%;
    right: 6%;
  }

  .drawer__panel {
    width: min(88vw, 420px);
  }
}
