/* === リセット & ベース === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === ベース === */
body {
  font-family: "Inter", Helvetica, sans-serif;
  color: #333;
  background: url("../img/backgroundimage-1.png") no-repeat center center / cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-attachment: fixed;
  line-height: 1.5; /* 全体の行間を広めに */
}

/* === ヘッダー === */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-bottom: 1px solid #ececec;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* === ナビ === */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s;
}

.site-nav a:hover {
  background: rgba(0,0,0,0.05);
}

.site-nav a.active {
  background: #969292;
  color: #fff;
}

.site-nav .btn-contact {
  background: #2dbbe6;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
}

.site-nav .btn-contact:hover {
  opacity: 0.9;
}

/* === ハンバーガー === */
.menubar {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menubar .bar {
  width: 100%;
  height: 3px;
  background-color: #605f5f;
}

/* === メインコンテンツ === */
.page-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px; /* セクション間の余白を広めに */
  text-align: center; /* 全体を中央揃え */
}

.content-box {
  background-color: rgba(254, 254, 254, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  padding: 30px;
}

.content-box h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-box p {
  margin-bottom: 20px;
  line-height: 1.9; /* 段落の行間を広めに */
}

.ceo-name {
  font-weight: 500;
  letter-spacing: 3.9px;
  margin-bottom: 16px;
}

.ceo-tagline {
  font-size: 22px;
  letter-spacing: 8px;
  margin-top: 25px;
}

/* 会社概要 表組み風 */
.overview-table {
  display: inline-grid;
  gap: 8px 20px; /* 行間・列間の余白 */
  text-align: left;
}

.overview-table .label {
  white-space: nowrap; /* 折り返さないで揃える */
}

.overview-table .value a {
  color: #2dbbe6;
  text-decoration: none;
}

.overview-table .value a:hover {
  text-decoration: underline;
}

/* === フッター === */
.site-footer {
  text-align: center;
  font-size: 12px;
  padding: 15px 0;
  background-color: rgba(255,255,255,0.7);
}

/* === スマホ表示 === */
@media (max-width: 768px) {

  /* 背景をスマホ向けに調整 */
  body {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: scroll;
    background-color: #fff;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    border-top: 1px solid #ddd;
    z-index: 999;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
  }

  .menubar {
    display: flex;
  }

  .site-nav.open {
    display: block;
  }

  .form-container {
    width: 100%;
    padding: 20px;
  }

  /* スマホでは段落の行間を詰める */
  .content-box p {
    line-height: 1.4;
  }
}
