/* =========================
   Base & Typography
========================= */
body {
  margin: 0;
  font-family: "Noto Sans JP", "Helvetica Neue" Arial, sans-serif;
  line-height: 1.8;
  color: #1f2933; /* 本文文字の色 */
  background: #f6f7f5; /* オフホワイト */
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll; /* ← スクロールバー対策だが任意 */
}

a {
  color: inherit;
}

/* =========================
   Header （より透明感のあるデザインへ）
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0; /* ← widthを使わない（スクロールバー対策） */
  height: 72px;
  background: rgba(11,47,42,0.95);
  backdrop-filter: blur(8px); /* 背景をぼかす */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-sizing: border-box; /* ← 超重要（スクロールバー対策） */
  z-index: 1000;
}

.company-name {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* PCナビ */
.pc-nav {
  display: none;
}

.pc-nav a {
  margin-left: 32px;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.pc-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #c9a24d; /* 金色（控えめゴールド）のラインで高級感UP */
  transition: width 0.3s;
}

.pc-nav a:hover::after {
  width: 100%;
}

/* =========================
   Menu Button
========================= */
.menu-btn,
.close-btn {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* =========================
   Overlay
========================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   Slide Menu
========================= */
.menu {
  position: fixed;
  top: 0;
  right: 0; /* スクロールバー対策 */
  width: 280px;
  height: calc(100vh - 32px);
  margin-top: 16px;
  background: #111827;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
  z-index: 2000;
}

.menu.open {
  transform: translateX(0);
  opacity: 1;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  font-weight: bold;
  letter-spacing: 0.05em;
}

.menu ul {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  text-align: center;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  font-size: 18px;
  text-decoration: none;
  color: #e5e7eb;
  transition: color 0.3s;
}

.menu a:hover {
  color: #c9a24d;
}

/* =========================
   Hero
========================= */
.hero {
  max-width: none; /* ヒーローエリアの横幅制限を解除 */
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-image: url("../images/business.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  background-attachment: fixed; /* パララックス効果 */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 47, 42, 0.85) 0%, rgba(11, 47, 42, 0.5) 100%);
}

/* ↑ ヒーローエリアの画像を暗くして文字を読みやすくするもの。 */

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 24px 140px;
  color: #fff;
}

.hero,
.hero * {
  box-sizing: border-box;
}

.hero-subtitle {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #c9a24d;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-shadow: none; /* モダンなデザインでは影を消すか薄くする */
}

.hero p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
  color: #e5e7eb;
}

.hero h1,
.hero p {
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #c9a24d;
  color: #0b2f2a; /* 深いグリーン */
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px;
  transition: background 0.3s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.4);
  background: #b8923f;
}

/* =========================
   Main
========================= */
main {
  padding-top: 80px;
}

/* セクション共通 */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px;
}

section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #c9a24d;
  margin-top: 8px;
}

section p {
  font-size: 16px;
  color: #444;
}

/* =========================
   Mission / Vision (カードデザインの強化)
========================= */
.mv-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mv-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.mv-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.mv-content {
  padding: 32px;
}

.mv-content h2 {
  margin: 0 0 16px;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #0b2f2a;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.mv-content p {
  margin: 0;
  line-height: 1.8;
  color: #555;
}


/* =========================
   Service（事業紹介）（グリッドと装飾）
========================= */

#service {
  background: #f8f9fb;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f1f5f9;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.15rem;
  margin: 20px 20px 8px;
  color: #0b1c3d;
  font-weight: 700;
  border-left: 4px solid #c9a24d;
  padding-left: 12px;
  margin-left: 20px;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin: 0 20px 24px;
}

/* Coming Soon状態 */
.service-card.coming-soon {
  position: relative;
  pointer-events: none; /* クリック不可 */
}

.service-card.coming-soon img,
.service-card.coming-soon h3,
.service-card.coming-soon p {
  filter: grayscale(100%);
  opacity: 0.5;
}

/* オーバーレイ表示 */
.coming-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px); /* ぼかしが入る */
}

/* =========================
   PC表示：2×2レイアウト（←2×4レイアウトも7そのままでいける？）
========================= */

@media (min-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .service-card img {
    height: 220px;
  }
}

/* =========================
   Products（取り扱い商品）
========================= */

#products {
  background: #ffffff;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.product-card {
  background: #f8f9fb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card h3 {
  margin: 20px 20px 8px;
}

.product-card p {
  margin: 0 20px 24px;
  line-height: 1.7;
  color: #555;
}

/* PC 3列 */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* =========================
   Company Table（モダンなリスト形式へ）
========================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border-top: 2px solid #0f172a;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

th {
  width: 30%;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  text-align: left;
  border-right: 1px solid #e2e8f0;
}

td {
  padding-left: 24px;
}

/* =========================
   Map
========================= */
.map {
  margin-top: 32px;
  border-radius: 12px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-button {
  text-align: center;
  margin-top: 16px;
}

.map-button a {
  display: inline-block;
  padding: 12px 32px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.map-button a:hover {
  background: #444;
  transform: translateY(-2px);
}

/* =========================
   Footer
========================= */
.footer {
  background: #0b2f2a;
  color: #e5e7eb;
  text-align: center;
  padding: 32px 16px;
  font-size: 14px;
}

/* =========================
   Mobile
========================= */
@media (max-width: 480px) {
  section {
    padding: 72px 16px;
  }

  section h2 {
    font-size: 24px;
  }

  .menu {
    width: 85%;
  }

  .hero-inner {
    padding: 120px 16px 100px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* =========================
   PC
========================= */
@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }

  .pc-nav {
    display: block;
  }

  .menu,
  .overlay {
    display: none;
  }
  
  .mv-section {
    flex-direction: row;
    gap: 48px;
  }

  .mv-card {
    flex: 1;
  }

  .mv-image img {
    height: 300px;
  }
}


/* =========================
   Animations
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner {
  animation: fadeInUp 1s ease-out;
}