:root {
  --dock-height: 120px;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(92, 199, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #04111d 0%, #071a26 55%, #08131d 100%);
  color:#fff;
  line-height:1.7;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
  position:relative;
  z-index:2;
}

/* 背景アニメーション */
.bg-animation{
  position:fixed;
  inset:0;
  overflow:hidden;
  z-index:0;
  pointer-events:none;
}

.orb{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.45;
  animation:floatOrb 14s ease-in-out infinite;
}

.orb-1{
  width:300px;
  height:300px;
  background:#4fd0ff;
  top:8%;
  left:5%;
}

.orb-2{
  width:380px;
  height:380px;
  background:#1a7dff;
  top:45%;
  right:8%;
  animation-delay:-4s;
}

.orb-3{
  width:240px;
  height:240px;
  background:#86e1ff;
  bottom:6%;
  left:22%;
  animation-delay:-8s;
}

.grid-light{
  position:absolute;
  inset:-20%;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size:60px 60px;
  transform:perspective(1000px) rotateX(70deg);
  opacity:.08;
  animation:gridMove 18s linear infinite;
}

@keyframes floatOrb{
  0%,100%{ transform:translate3d(0,0,0) scale(1); }
  50%{ transform:translate3d(20px,-35px,0) scale(1.08); }
}

@keyframes gridMove{
  from{ transform:perspective(1000px) rotateX(70deg) translateY(0); }
  to{ transform:perspective(1000px) rotateX(70deg) translateY(60px); }
}

/* ヘッダー */
.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:50;
  background:rgba(3, 12, 20, 0.28);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.header-inner{
  min-height:82px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.logo{
  height:56px;
  width:auto;
}

.nav{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:14px;
  color:#c6e8f8;
}

.nav a{
  transition:.25s ease;
}

.nav a:hover{
  color:#6ed6ff;
}

/* ボタン */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border-radius:999px;
  background:linear-gradient(135deg, #80e0ff, #45c3ff);
  color:#032033;
  font-weight:700;
  box-shadow:0 10px 30px rgba(69,195,255,.28);
  transition:.25s ease;
  border:none;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(69,195,255,.36);
}

.btn-outline{
  background:transparent;
  color:#dff6ff;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:none;
}

.btn-outline:hover{
  background:rgba(255,255,255,0.08);
}

.btn-sm{
  min-height:42px;
  padding:0 18px;
}

/* ヒーロー */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:140px 0 90px;
  position:relative;
}

.hero-inner{
  max-width:780px;
}

.hero-label{
  color:#7fddff;
  font-size:14px;
  letter-spacing:.15em;
  margin-bottom:18px;
  text-transform:uppercase;
}

.hero-title{
  font-size:clamp(42px, 7vw, 76px);
  line-height:1.1;
  letter-spacing:-0.03em;
  margin-bottom:22px;
  text-shadow:0 8px 30px rgba(0,0,0,.25);
}

.hero-text{
  font-size:18px;
  color:#c6e8f8;
  max-width:700px;
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:34px;
}

/* ページ表示時アニメーション */
.hero-animate{
  opacity:0;
  transform:translateY(28px);
  animation:heroFade .9s ease forwards;
}

.delay-1{ animation-delay:.15s; }
.delay-2{ animation-delay:.35s; }
.delay-3{ animation-delay:.55s; }
.delay-4{ animation-delay:.75s; }

@keyframes heroFade{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* セクション */
.section{
  padding:110px 0;
  position:relative;
  z-index:2;
}

.section-dark{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter:blur(6px);
}

.section-head{
  margin-bottom:44px;
  max-width:760px;
}

.section-label{
  font-size:13px;
  color:#74d8ff;
  letter-spacing:.14em;
  margin-bottom:12px;
}

.section-head h2{
  font-size:clamp(30px, 5vw, 48px);
  margin-bottom:14px;
  line-height:1.2;
}

.section-head p{
  color:#bfdceb;
}

/* カード */
.card-grid,
.work-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.card,
.work-card,
.company-box,
.contact-card,
.contact-form{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 16px 40px rgba(0,0,0,.22);
  backdrop-filter:blur(10px);
}

.card{
  padding:28px;
  border-radius:24px;
  transition:.3s ease;
}

.card:hover,
.work-card:hover{
  transform:translateY(-8px);
}

.icon-circle{
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  background:linear-gradient(135deg, #89e4ff, #3bbfff);
  color:#042134;
  font-weight:800;
}

.card h3{
  margin-bottom:12px;
  font-size:24px;
}

.card p{
  color:#c6e8f8;
}

/* 実績 */
.work-card{
  border-radius:24px;
  overflow:hidden;
  transition:.3s ease;
}

.work-thumb{
  position:relative;
  width:100%;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(126, 224, 255, .22), rgba(17, 95, 175, .22)),
    linear-gradient(135deg, #13374d, #0a1d2b);
}

.work-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.work-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255,255,255,.20) 50%, transparent 80%);
  transform:translateX(-120%);
  animation:shine 4.8s ease-in-out infinite;
  pointer-events:none;
}

.work-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,.18) 100%
  );
  pointer-events:none;
}

@keyframes shine{
  0%{ transform:translateX(-120%); }
  45%{ transform:translateX(120%); }
  100%{ transform:translateX(120%); }
}

.work-body{
  padding:22px;
}

.work-body h3{
  margin:0 0 10px;
  font-size:22px;
}

.work-body p{
  margin:0;
  color:#c6e8f8;
}

/* 会社概要 */
.company-box{
  border-radius:24px;
  overflow:hidden;
}

.company-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:20px;
  padding:20px 24px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.company-row:last-child{
  border-bottom:none;
}

.company-row span:first-child{
  color:#85ddff;
  font-weight:700;
}

/* お問い合わせ */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:24px;
}

.contact-info{
  display:grid;
  gap:20px;
}

.contact-card{
  border-radius:24px;
  padding:26px;
}

.contact-label{
  color:#7fddff;
  font-size:13px;
  margin-bottom:8px;
  letter-spacing:.12em;
}

.contact-main{
  font-size:32px;
  font-weight:800;
}

.contact-form{
  border-radius:24px;
  padding:28px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  margin-bottom:14px;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.05);
  color:#fff;
  outline:none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color:#9dc8dd;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#66d6ff;
  box-shadow:0 0 0 4px rgba(102,214,255,.12);
}

/* フッター */
.site-footer{
  padding:30px 0 calc(var(--dock-height) + 40px);
  text-align:center;
  color:#9dc8dd;
  position:relative;
  z-index:2;
}

/* スクロール表示アニメーション */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:opacity .9s ease, transform .9s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* レスポンシブ */
@media (max-width: 900px){
  .card-grid,
  .work-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .company-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .nav{
    gap:14px;
    font-size:13px;
  }
}

@media (max-width: 640px){
  .header-inner{
    flex-direction:column;
    justify-content:center;
    padding:14px 0;
  }

  .nav{
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero{
    padding-top:170px;
  }

  .hero-title{
    font-size:42px;
  }

  .hero-text{
    font-size:16px;
  }

  .section{
    padding:90px 0;
  }

  .logo{
    height:48px;
  }
}
.hero-visual{
  position:relative;
  overflow:hidden;
}

/* 背景画像レイヤー */
.hero-visual::before{
  content:"";
  position:absolute;
  inset:0;

  background:url("/img/hero-bg.jpg") center/cover no-repeat;

  opacity:0.25; /* ←ここで馴染ませる */
  z-index:0;
}

/* 上からグラデで馴染ませる */
.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    180deg,
    rgba(4,17,29,0.6),
    rgba(4,17,29,0.9)
  );

  z-index:1;
}

/* テキストを前面に */
.hero-visual .container{
  position:relative;
  z-index:2;
}