@charset "utf-8";
/* CSS Document */

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

body {
  font-family: 'Noto Serif JP', serif;
  background: #f6f3ed;
  color: #2b2b2b;
  line-height: 1.9;
}

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

section {
  padding: 120px 0;
}

/* ================= h2 ================= */
h2 {
  position: relative;
  font-weight: 500;
  font-size: 3.6em;
  padding-bottom: 20px; /* ラインとの余白 */
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: #c5a880;
  margin-top: 20px;
}

h2.animate-left {
  opacity: 1;
  transform: translateX(0);
}

/* 特定セクション中央寄せ */
#contact h2 {
  text-align: center;
}

#contact h2::after {
  margin: 20px auto 0;
}

/* ================= pタグ ================= */
p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

p.animate-up {
  opacity: 1;
  transform: translateY(0);
}

/* ================= header ================= */
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(20, 20, 20, 0.95);
  padding: 20px 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.logo {
  color: #fff;
  font-size: 2em;
}

/* PC nav */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  border: 1px solid #c5a880;
  padding: 10px 24px;
  color: #fff;
  text-decoration: none;
}

/* ================= ハンバーガー ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ================= モバイルナビ ================= */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #111;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  transition: 0.4s;
  z-index: 200;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: #fff;
  padding: 16px 30px;
  text-decoration: none;
  border-bottom: 1px solid #333;
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
}

/* ================= overlay ================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 150;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================= FV ================= */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: url('https://via.placeholder.com/1600x900') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.fv-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.fv-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.fv h1 {
  font-size: 40px;
  letter-spacing: 4px;
}

/* セクション共通 */
section {
  padding: 120px 0;
  background: #ffffff; /* ベース色 */
}

/* 会社紹介 */
#about {
  background: #ffffff; /* 白ベース */
}

/* 取扱製品 */
#products {
  background: #f9f9f9; /* 少しグレー寄り */
}

/* 強み */
#strength {
  background: #ffffff; /* 白ベース */
}

/* CTA */
#contact {
  background: #f2f2f2; /* 優しいグレー */
  text-align: center;
}

/* FVは動画背景なので別扱い */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000; /* ダミー背景、動画がある場合は不要 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

/* ================= レスポンシブ ================= */
@media (max-width: 768px) {
  h2 {
    transform: translateX(-30px);
    font-size: 2.4em;
  }

  p {
    transform: translateY(20px);
  }

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 80px 0;
  }

  .fv {
    height: 70vh;
  }

  .fv h1 {
    font-size: 24px;
    line-height: 1.4;
  }
}
