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

html {
  font-family: "Noto Sans JP", sans-serif;
  /*font-family: "Roboto", sans-serif;*/
}
body {
  margin: 0;
  padding: 0;
  color: #D9D9D9;
  line-height: 1.6;
}

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 60px; /* ロゴの高さを調整 */
  width: auto;  /* 横比率は自動 */
  display: block;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  padding: 20px 50px;
}

/* ナビゲーションの基本 */
header nav {
  display: flex;
  gap: 20px;
}

.hero {
  position: relative;
  background: url("https://images.unsplash.com/photo-1573497491208-6b1acb260507") center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.8;
}

section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
}

section h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: #b30000;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-card {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

.members {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.member {
  flex: 1;
  display: flex;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

.member img {
  width: 120px;
  height: 120px;
  background: #ccc;
  margin-right: 20px;
  border-radius: 8px;
}

.company-profile table {
  width: 100%;
  border-collapse: collapse;
}

.company-profile th, .company-profile td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }
  .members {
    flex-direction: column;
  }
}






/* モバイル用：ナビゲーションを非表示 */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}

/* スマホ画面以下のスタイル */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 10px 0;
  }

  header nav a {
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  header nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  /* サービスカード1列表示 */
  .services {
    grid-template-columns: 1fr;
  }

  /* メンバー縦並び */
  .members {
    flex-direction: column;
  }

  .member {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .member img {
    margin: 0 0 15px 0;
  }

  /* 見出しサイズを小さく */
  .hero-content h1 {
    font-size: 18px;
    line-height: 1.6;
  }
}
