body {
  font-family: 'Helvetica Neue', sans-serif; 
  margin: 0;
  padding: 0;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ヘッダー */
.header {
  background-color: white;
  color: black;
  display: flex;
  align-items: center;
  justify-content: space-between; /* ← 左と右に要素を分ける */
  height: 50px;
  padding: 0 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}


.logo {
  height: 120px;
  margin-left: 0;
  margin-right: auto; /* ← ロゴを左寄せ */
  object-fit: contain;
}
.logo-text {
  display: flex;
  align-items: center;
}


/* メニュー */
.menu {
  display: flex;
  gap: 16px;
}

.menu a {
  color: black;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: color 0.3s;
}

.menu a:hover {
  color: black;
  text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px;
  }

  .logo {
    margin-bottom: 8px;
    height: 35px;
  }

  .menu {
    display: none;
   }
 

  /*.menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .menu a {
    font-size: 16px;
    padding: 5px 0;
  }*/

}

/* その他の要素 */
h2, h3 {
  text-align: center;
  margin-top: 2rem;
}

.symbol-image {
  width: 100%;         /* 横幅いっぱいに */
  height: auto;        /* 高さは自動調整（アスペクト比保持） */
  display: block;      /* 画像下の余白防止 */
}

.main-title {
  font-size: 2.5rem;   /* お好みに応じて 3rem や 40px にもできます */
  font-weight: bold;
  text-align: center;
  margin-top: 1.5rem;
  color: #222;
}


section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.center {
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}


.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.timeline {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.timeline td {
  border: 1px solid #999;
  padding: 0.5rem;
}

#news {
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  /*border-top: 1px solid #ccc;*/
}

.news-item {
  margin-bottom: 1.5rem;
}

.news-item h3 {
  margin: 0;
  font-size: 16px;
  color: #444;
}

.news-item p {
  margin: 0.3rem 0 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}
.business-overview {
  background-color: white;
  padding: 2rem;
  margin-bottom: 2rem;
}


/* カード全体のラッパー */
.business-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 2rem;
}

/* 各カード */
.business-cards {
  display: flex;
  flex-wrap: wrap;         /* 折り返しOKに */
  gap: 24px;
  margin-top: 2rem;
  justify-content: center;
  padding-bottom: 1rem;
}

.business-card {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;

  width: calc((100% - 48px) / 3); /* 3つ並ぶ幅を計算（gap 24px × 2 = 48px） */
  flex-shrink: 0;
}

/* スマホなど狭い画面 */
@media (max-width: 767px) {
  .business-cards {
    flex-direction: column; /* 縦並び */
    gap: 16px;
  }
  .business-card {
    width: 100%;           /* 幅いっぱい */
    flex-shrink: 1;
  }
}



/* 画像と動画をカード幅に合わせる */
.business-card img,{
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.business-card iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* タイトル */
.business-card h4 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
}

/* メディアクエリ：画面幅が狭い場合（スマホ）に縦並び */
@media (max-width: 768px) {
  .business-cards {
    flex-direction: column;
    align-items: center;
  }
}

.product {
  background-color: white;
  padding: 2rem;
  margin-bottom: 2rem;
}


/* カード全体のラッパー */
.product-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.product-cards .business-card {
  flex: 1 1 calc(50% - 12px); /* 2列にするため幅を50%からgap分を引いたサイズに */
  min-width: 300px; /* 必要に応じて最小幅を調整 */
  box-sizing: border-box;
}


/* スマホ対応: 2列 */
@media (max-width: 767px) {
  .product-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 180px;
  }
}

/* スマホ対応: 1列 */
@media (max-width: 480px) {
  .product-card {
    flex: 1 1 100%;
    min-width: 100%;
  }
}



.company-info {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}



.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.info-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
  /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);*/
}

.info-icon {
  font-size: 1.8rem;
  color: #4a90e2;
}

.info-content strong {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.info-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
#patents {
  /*background-color: #ffffff;*/
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 2rem auto;
  /*border-radius: 12px;*/
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
}

.patentmap {
  border-radius: 12px; /* お好みの数値に調整可 */
}


#patents h3 {
  text-align: center;
  font-size: 2rem;
  color: #222;
  margin-bottom: 2rem;
}

.patent-category {
  margin-bottom: 2rem;
}

.patent-category h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
  border-left: 4px solid #1976d2;
  padding-left: 0.6rem;
}

.patent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.patent-card {
  background-color: white;
  padding: 10px 15px;
  border-radius: 8px;
  /*border: 1px solid #ddd;*/
  font-size: 0.95rem;
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
}


.patent-card h5 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: #333;
}

.patent-card p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: #555;
}

.patent-meta {
  font-style: italic;
  color: #888;
}



.timeline-modern {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.timeline-modern::after {
  content: '';
  position: absolute;
  width: 2px; /* 細くする */
  background-color: #ccc;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  
}

.timeline-event {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 0.5rem 1rem; /* 上下の余白を減らす */
  font-size: 0.9rem;
  line-height: 1.4;
}

.timeline-event.left {
  left: 0;
  text-align: left;
}

.timeline-event.right {
  left: 50%;
  text-align: left;
}

.timeline-event .content {
  background: #fff;
  padding: 0.5rem 1rem; /* padding縮小 */
  border-radius: 6px;
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
  /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);*/
}

.timeline-event::before {
  content: '';
  position: absolute;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border: 2px solid #666;
  border-radius: 50%;
  z-index: 1;
}

.timeline-event.left::before {
  right: -10px;
}

.timeline-event.right::before {
  left: -10px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .timeline-modern::after {
    left: 16px;
  }

  .timeline-event {
    width: 100%;
    padding-left: 36px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-event.left, .timeline-event.right {
    left: 0;
  }

  .timeline-event::before {
    left: 6px;
  }
}

#contact {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

#contact h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
}

#contact img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

#contact p {
  font-size: 1.1rem;
  color: #333;
  margin-top: 0;
}

#contact a {
  color: #2e86de;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  text-decoration: underline;
}


.rounded-image {
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}


.image-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.image-author,
.image-background {
  font-size: 1em;
  margin-bottom: 0.3em;
  text-align: center;

}

