/* style.css */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  background-color: #fff;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333; /* フッターと同じ黒系 */
  color: white;
  padding: 20px 40px;
  font-size: 1.1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 少し立体感を追加 */
}

.header-left {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.3rem;

}
.logo {
  height: 2.5rem; /* ← .header-left の font-size に合わせる */
  margin-right: 8px;
  vertical-align: middle;
}

.header-nav a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.header-left a {
  color: white !important;
  text-decoration: none;
  font-weight: bold;
}

.header-left a:visited {
  color: white;
}
.header-left a:hover {
  color: #bbb; /* ナビゲーションと同じホバー効果 */
}

.header-nav a:hover {
  color: #bbb; /* フッターの雰囲気に合わせた控えめな変化 */
}

.hero {
  position: relative;
  background: url('backscreen.png') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 60px;
  text-align: center;
  color: #fff;
  border-radius: 8px;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.overlay p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #0078D4;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005a9e;
}

.services {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.service {
  background-color: #fff;
  padding: 30px;
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  font-weight: bold;
}

.service-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-nav a {
  background-color: #0078D4;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.service-nav a:hover {
  background-color: #005a9e;
}

.service-detail {
  padding: 60px 20px;
  background-color: #fdfdfd;
  border-top: 1px solid #eee;
  text-align: center;
}

.service-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.service-detail p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

.service-image-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.service-image {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: #fdfdfd;
  border-top: 1px solid #eee;
}

.two-column {
  padding: 60px 20px;
  background-color: #fdfdfd;
  border-top: 1px solid #eee;
}

.two-column-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.column-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.column-text {
  flex: 1;
  min-width: 300px;
}

.service-image {
  max-width: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.column-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.heading-wrap {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.section-heading {
  text-align: center;
  font-size: 1.8rem;
  color: #333;
  font-weight: bold;
  margin: 0 auto;
}

/* two-column-inner を中央寄せ＆間隔調整 */
.two-column-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;  /* ← 画像とテキストの間隔を狭くする */
}

/* 文字の左揃えを強調 */
.column-text {
  text-align: left;       /* ← 明確な左揃え */
  max-width: 600px;       /* ← 長文に対して読みやすい幅制限 */
}

/*会社概要用*/
.company-profile {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.company-profile {
  padding: 60px 20px;
  max-width: 1200px; /* ← 800px → 1000px に拡張 */
  margin: 0 auto;
  text-align: center;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 1rem;
}

.company-table th,
.company-table td {
  padding: 16px 24px; /* ← 余白を少し拡大 */
  border: 1px solid #ccc;
  text-align: left;
}

.company-table th {
  background-color: #f2f2f2;
  width: 35%;
  font-weight: bold;
  color: #333;
}

.company-table td {
  background-color: #fff;
  color: #555;
}

/*代表挨拶用*/
.greeting-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.greeting-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.greeting-message p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #555;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.greeting-gallery img {
  width: 200px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.greeting-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* 上段：3枚の並び */
.gallery-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap; /* ← ここを明示して1行に固定する */
}

/* 下段：1枚だけ中央寄せで別ブロックに */
.gallery-single {
  width: 100%;
  display: flex;
  justify-content: center;
}

.gallery-single img {
  width: 600px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
  .gallery-single img {
    width: 90%;
  }
}

.career-patents-section {
  display: block; /* 横並び → 縦並びに変更 */
  padding: 60px 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.career-left,
.patents-right {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;   /* ← これでテーブル全体の配置を中央寄せ */
}

.career-table,
.patent-table {
  margin: 0 auto;        /* ← テーブル本体を中央に配置 */
  width: 100%;
  max-width: 1200px;
}


/* ヘッダー＆セルの枠線と余白 */
.career-table th,
.career-table td,
.patent-table th,
.patent-table td {
  border: 1px solid #aaa;  /* 枠線をグレーで強調 */
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

/* ヘッダー行の背景色・太字 */
.career-table thead th,
.patent-table thead th {
  background-color: #f2f2f2;
  font-weight: bold;
  color: #333;
}

/* テーブル内テキスト色調整 */
.career-table td,
.patent-table td {
  background-color: #fff;
  color: #444;
}
/*共通フッター*/
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}
.footer-extended {
  background-color: #333;
  color: white;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo img {
  width: 5vw;
  height: auto;
  margin-bottom: 10px;
  vertical-align: middle;
}

.footer-logo p {
  font-weight: bold;
  margin: 0;
}

.footer-info p,
.footer-links a {
  margin: 6px 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #bbb;
}