/*
 * for
 *  /product-security_top_jp
 *  /product-security_top_en
 *  /adovisory-list_jp
 *  /adovisory-list_en
*/

.pagenavi__container {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #403d33;
  left: 0;
  height: 60px;
  display: flex;
  align-items: center;
}

.pagenavi__wrapper {
  display: flex;
  height: 60px;
  width: 1200px;
  margin: 0 auto;
}

.pagenavi__item.-title {
  line-height: 1;
  font-weight: 700;
}

.pagenavi__wrapper h1 {
  display: flex;
  align-items: center;
  height: 100%;
  color: #fff;
  text-decoration: none;
  padding: 0 1em;
  position: relative;
  z-index: 52;
  font-size: 28px;
}

@media only screen and (max-width: 768px) {
  .pagenavi__wrapper h1 {
    font-size: 17px; 
  }
}

.language-section {
  text-align: right;
  margin: 10px;
}

.language-switch {
  font-size: 14px;
}

.language-link {
  text-decoration: none;
  transition: color 0.3s;
}

/* .language-link:hover {
  color: #6363ff; 
} */

.custom-nav {
  list-style-type: none;
  padding: 0;
  margin: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: nowrap; /* 改行を防ぐ */
  background-color: #f0f0f0;
  font-size: 14px;
}

.nav-item {
  display: flex;
  flex: 1;
  align-items: center; /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.nav-item.active {
  border-bottom: 3px solid;
  border-color: #403d33;
}

.nav-link {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  text-align: center;
  color: #333;
}

.nav-link:hover {
  color: #403d33; /* ホバー時の色 */
}

/* お知らせ欄 */
.top-div {
  padding: 10px;
  margin: 10px;
  /* background-color: #f9f9f9; */
  /* border: 1px solid #ddd; */
  /* border-radius: 8px; */
}

.top-content {
  margin-bottom: 20px;
}

/* .news-section {
  border-top: 1px solid #000000;
  padding-top: 10px;
} */

.link-ptag {
  margin-left: 10px;
}

.news-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0px;
  font-size: 0.9em;
}

.date-header, .message-header {
  background-color: transparent; /* 背景色を透明に */
  color: black; /* 文字色を黒に */
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #ddd; /* 下に境界線を追加 */
}

.news-item {
  border-bottom: 1px solid #ddd;
}

.date, .message {
  padding: 10px;
  text-align: left;
}

.date {
  width: 150px; /* 固定幅を設定 */
  font-weight: bold;
}

.message {
  color: #333;
}

.news-item:hover {
  background-color: #f1f1f1; /* ホバー時に背景色を変更 */
}

/* アドバイザリのリスト */
ul.advisory-list {
  list-style: none;
}

.revised-date {
  display: block;
  padding: 0;
  text-align: right;
  border-bottom: 1px solid #ccc;
  font-size: 0.9em;
}

.advisory-item {
  display: flex;
  flex-direction: row;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  align-items: center;
}

.advisory-item:hover {
  background-color: #f1f1f1; /* ホバー時に背景色を変更 */
}

.advisory-item .date {
  font-size: 0.9em;
  color: #777;
  width: 25%;
}

.advisory-item .advisory-title {
  width: 75%;
}

.advisory-item .advisory-title-a-tug {
  font-size: 0.9em;
  font-weight: bold;
  text-decoration: none;
}

/* .advisory-item .advisory-title-a-tug:hover {
  color: #007BFF; /* 色を少し薄くする 
} */

/* スマートフォンなど画面が狭い場合のスタイル */
@media only screen and (max-width: 768px) {
  .advisory-item {
    flex-direction: column; /* 縦に並べる */
  }

  .advisory-item .date {
    width: 100%; /* 幅を100%にして、タイトルと重ならないようにする */
    margin-right: 0; /* 右マージンをリセット */
    padding-left: 0;
    margin-bottom: 5px; /* 日付とタイトルの間にスペースを追加 */
  }

  .advisory-item .advisory-title {
    width: 100%; /* 幅を100%に */
    white-space: normal; /* 改行を許可 */
    padding-left: 0; /* パディングのリセット */
  }
  .advisory-item .advisory-title-a-tug {
    font-weight: bold;
  }
}

/* パンくずリスト */
#breadcrumb {
  background-color: #ffffff; /* 背景色 */
  padding: 11px; /* パディング */
  line-height: 1.5;
  margin: 0 auto;
  max-width: 1200px;
  align-items: center;
  position: relative;
}

.breadcrumb-container {
  display: flex; /* フレックスボックスレイアウト */
  align-items: center; /* 垂直方向に中央揃え */
}

.breadcrumb-text {
  font-size: 12px; /* フォントサイズ（調整可能） */
  color: #444; /* フォントカラー */
}

.breadcrumb-link {
  color: #007bff; /* リンクカラー */
  text-decoration: none; /* 下線を消す */
  transition: color 0.3s, transform 0.3s; /* ホバー時のトランジション効果 */
  padding: 5px 10px; /* リンクのパディング */
  border-radius: 4px; /* リンクの角を丸める */
}

@media only screen and (max-width: 768px) {
  .breadcrumb-text{
    font-size: 11px;
  }

  .breadcrumb-link{
    padding: 11px 0px;
  }
}

.breadcrumb-link:hover {
  color: #0056b3; /* ホバー時のカラー */
  transform: scale(1.1); /* ホバー時の拡大 */
}

.breadcrumb-arrow {
  margin: 0 8px; /* 矢印のマージン */
  color: #666; /* 矢印のカラー */
  font-size: 14px; /* 矢印のサイズ */
}

.par-list3 {
  margin-left: 3em;
  text-indent: -3em;
}