/* ページヒーロー */
.page-hero {
  background: linear-gradient(to bottom right, #4F9DA6, #7CBAC4);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  margin-top: 70px;
}
.page-hero h1 {
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.page-hero p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ベース */
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #444;
  background-color: #F7F4E9;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.container p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.company-photo {
  display: block;        /* 中央寄せのために必要 */
  margin: 20px auto 0;   /* auto で左右中央揃え */
  width: 100%;           /* レスポンシブ対応 */
  max-width: 600px;      /* 大きすぎないように制限 */
  border-radius: 12px;   /* デザイン統一 */
  border: 1px solid #e5e0d0;
}


/* ヘッダー */
header {
  background-color: rgba(247, 244, 233, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e0dccf;
}
.logomark img {
  width: 200px;
  height: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
nav li a {
  padding: 4px 10px;
  border-radius: 999px;
}
nav li a:hover {
  background-color: #4F9DA6;
  color: #fff;
  transition: 0.2s;
}

/* セクション */
section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #2F4F4F;
}
.section-title span {
  font-size: 0.8rem;
  display: block;
  color: #7C8A8A;
  margin-bottom: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 会社概要テーブル */
.outline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e0d0;
}
.outline-table th,
.outline-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee4d5;
}
.outline-table th {
  width: 30%;
  background-color: #F7F4E9;
  text-align: left;
  color: #555;
}
.outline-table tr:last-child th,
.outline-table tr:last-child td {
  border-bottom: none;
}

/* フッター */
footer {
  background-color: #2F4F4F;
  color: #f7f4e9;
  padding: 30px 0 18px;
  font-size: 0.85rem;
}
.footer-bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 0.75rem;
  color: #dcd7c7;
}

/* レスポンシブ */
@media (max-width: 640px) {

  /* ヘッダーは縦並びにするが、ヒーローを押し下げないように調整 */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  /* ヒーローエリアの高さ問題を解決 */
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-text {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* セクションの余白は少し控えめに */
  section {
    padding: 32px 0;
  }
}