@charset "UTF-8";

/* サポート期限ページ専用スタイル */
.support-period-page {
  max-width: 1350px;
  margin: 0 auto;
  padding: 20px;
}

/* Vue v-cloak */
[v-cloak] {
  display: none;
}

/* ページタイトルエリア */
.supportperiod_title_area {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.supportperiod_title_sub_name {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.supportperiod_title {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

.notice-section {
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 30px;
}

.notice-section ul {
  margin: 0;
  padding-left: 20px;
}

.notice-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ========================================
   検索エリア（proaudio_top.cssから移植）
   ======================================== */
#modelnumbersearch_area {
  margin-top: -90px;
  padding-top: 90px;
}

article.modelnumbersearch_area {
  width: 100%;
  margin: 0 auto;
  background-color: #eee;
}

.modelnumbersearch {
  width: calc(60% - 40px);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 6px;
}

/* サポート期限ページ専用：幅100% */
.modelnumbersearch--supportperiod {
  width: 100% !important;
  max-width: 800px;
}

.textframe {
  flex: 1 0;
  position: relative;
  display: flex;
}

.clearbutton {
  position: absolute;
  white-space: nowrap;
  font-size: 1.3rem;
  padding: .5rem;
  background-color: #eee;
  border-radius: 2px;
  font-family: "FP-HiraKakuProN-W6", sans-serif;
  right: 1rem;
  top: 50%;
  color: #999;
  transform: translateY(-50%);
  cursor: pointer;
}

.clearbutton:hover {
  color: #000;
  opacity: 1;
  text-decoration: none;
}

.modelnumbersearch_area input[type="text"] {
  flex: 1 0;
  align-self: stretch;
  padding: 1rem 1rem;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 0;
  transition: all .3s;
}

.modelnumbersearch_area .submit_01:focus {
  border: 1px solid #000;
}

.modelnumbersearch_area .submit_01 {
  align-self: stretch;
  min-width: 60px;
  padding: 0 1rem;
  outline: none;
  color: #fff;
  border: 0px;
  border-radius: 0 3px 3px 0;
  background: url("/pc/images/search_icon_wh.svg") center center / 26px 26px no-repeat #666;
  transition: all .3s;
  cursor: pointer;
}

.modelnumbersearch_area .submit_01:hover {
  background-color: #000;
  color: #fff;
}

/* 検索結果エリア */
.search_resuit_area {
  max-height: 0;
  width: 100%;
  margin: 0px auto 20px auto;
  padding: 0 0 0 0;
  z-index: 25;
  transition: max-height .8s;
  overflow: hidden;
}

.search_resuit_area.av {
  max-height: 80vh;
  overflow-y: scroll;
  background-color: #eee;
  padding: 1rem;
  border-top: #fff 1px solid;
  border-bottom: #ccc 1px solid;
  box-sizing: border-box;
  padding-bottom: 20px;
}

.search_resuit_area::-webkit-scrollbar {
  display: none;
}

.box_a, .box_b, .box_c {
  display: none;
  width: 90%;
  margin: 0px auto 0px auto;
  max-width: 1260px;
}

.box_a.av, .box_b.av, .box_c.av {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.search_resuit_area .box_inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.search_resuit_title {
  display: inline-flex;
  align-items: center;
  font-family: "FP-HiraKakuProN-W6", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.14px;
  margin: 0 1.5rem 2rem 5px;
  padding: .5rem 1rem;
  background-color: #fff;
  border-radius: 3px;
  white-space: nowrap;
}

.search_resuit_title.no_result {
  margin: 8rem 0 8rem 5px;
  background-color: transparent;
}

.result_modelNumber {
  display: flex;
  align-items: center;
  flex: 0 0 calc(100%/5 - 10px);
  font-size: 2rem;
  margin: 0 0 2rem 5px;
  font-family: UniversNextPro-Cond, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.result_modelNumber:after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin: 0px 0px 6px 4px;
  background: url("/pc/images/result_modelNumber_arr.svg") left bottom / 12px 12px no-repeat;
}

.result_modelNumber:hover {
  text-decoration: none;
  opacity: .5;
}

.result_modelNumber:hover:after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin: 0px 0px 6px 8px;
  background: url("/pc/images/result_modelNumber_arr.svg") left bottom / 12px 12px no-repeat;
}

/* ========================================
   グループナビゲーション
   ======================================== */
.group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 4px;
}

.group-nav-item {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.group-nav-item:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* ========================================
   グループセクション
   ======================================== */
.group-section {
  width: 90%;
  margin: 0 auto 50px auto;
}

.group-title {
  font-size: 20px;
  font-weight: bold;
  padding: 15px 0;
  border-bottom: 2px solid #333;
  margin-bottom: 20px;
}

/* ========================================
   PC テーブル
   ======================================== */
.support-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 1.2rem;
  font-family: "FP-ヒラギノ角ゴ ProN W3", sans-serif;
}

/* PC列幅: 全テーブルで統一（SP除外） */
.support-table:not(.support-table-sp) th:nth-child(1) { width: 25%; } /* 製品シリーズ */
.support-table:not(.support-table-sp) th:nth-child(2) { width: 22%; }   /* 型番 */
.support-table:not(.support-table-sp) th:nth-child(3) { width: 12%; }   /* 生産完了 年月 */
.support-table:not(.support-table-sp) th:nth-child(4) { width: 12%; }   /* サポート終了 年月 */

.support-table th,
.support-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.support-table th {
  background: #dcdddd;
  font-weight: bold;
  white-space: nowrap;
  position: sticky;
  top: var(--header-height, 100px);
  z-index: 10;
}

/* tbody: 縦線を非表示・フォントサイズ */
.support-table tbody {
  font-size: 1.3rem;
}

.support-table tbody td {
  border-left: none;
  border-right: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* 製品シリーズ名セルの背景色・幅 */
.support-table .series-name-cell {
  background: #eeeeee;
  width: 300px;
  max-width: 300px;
  overflow-wrap: break-word;
}

/* 型番リンク（アイコン+黒文字） */
.model-link {
  display: inline-flex;
  align-items: center;
  color: #333;
  text-decoration: none;
}

.model-link:hover {
  text-decoration: underline;
}

.link-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

/* テーブル内リンク */
.support-table td a {
  color: #333;
  text-decoration: none;
}

.support-table td a:hover {
  text-decoration: underline;
}

/* ハイライト時はシリーズ名セルを除く（製品シリーズは光らせない） */
.support-table .highlight td:not(.series-name-cell) {
  background: #fff3cd;
  animation: fadeHighlight 3s forwards;
}

@keyframes fadeHighlight {
  0% { background: #fff3cd; }
  100% { background: transparent; }
}

.successor-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.successor-list li {
  margin-bottom: 5px;
}

/* 後継機種2（1つ目との間にマージン） */
.successor-model-2 {
  display: block;
  margin-top: 5px;
}

/* 後継機種備考（小さめのフォント） */
.successor-remarks {
  font-size: 0.7em;
  margin-top: 5px;
  line-height: 1.4;
}

/* ========================================
   SP テーブル（2列ヘッダー横並び）
   ======================================== */
.support-table-wrapper-sp {
  display: none;  /* PC: 非表示 */
}

/* SP専用テーブル（2列ヘッダー横並び） */
.support-table-sp {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 1.2rem;
  font-family: "FP-ヒラギノ角ゴ ProN W3", sans-serif;
  margin-bottom: 20px;  /* 製品間の区切り */
}

/* SP thead: ヘッダー行（製品シリーズ | 型番） */
.support-table-sp thead th {
  background: #dcdddd;
  font-weight: bold;
  padding: 10px;
  border: none;                    /* 縦線・上線なし */
  border-bottom: 1px solid #ddd;   /* 下線のみ */
  text-align: left;
  width: 50%;
}

/* SP tbody: データ行 - 罫線なし */
.support-table-sp tbody td {
  padding: 10px;
  border: none;                    /* 罫線すべて非表示 */
  text-align: left;
  vertical-align: middle;
}

/* ラベルセル（左列：生産完了 年月、サポート終了 年月など） */
.support-table-sp .label-cell {
  background: #f5f5f5;
  white-space: nowrap;
}

/* シリーズ名行のラベルセル：長い名前の折返しを許可 */
.support-table-sp .product-first-row .label-cell {
  white-space: normal;
  overflow-wrap: break-word;
}

/* 製品シリーズ名セル */
.support-table-sp .series-name-cell {
  background: #eeeeee;
}

/* 型番セル */
.support-table-sp .model-number-cell {
}

/* 後継機種の区切り */
.support-table-sp .successor-separator {
  margin: 0 4px;
}

/* 製品間セパレーター（区切り線） */
.support-table-sp .product-separator td {
  border-top: 1px solid #999;
  padding: 0;
  height: 0;
  border-bottom: none;
}

/* SPテーブル：行単位ハイライト（2列目のみ、1列目はハイライトしない） */
.support-table-sp tr.highlight td:not(.label-cell) {
  background: #fff3cd !important;
  animation: fadeHighlight 3s forwards;
}

/* SPテーブル：ハイライト時も1列目（ラベル）は背景色を維持 */
.support-table-sp tr.highlight td.label-cell {
  background: #f5f5f5 !important;
  animation: none !important;
}

.back-to-top {
  display: block;
  text-align: center;
  padding: 15px;
  color: #666;
  text-decoration: none;
  margin-top: 20px;
}

.back-to-top:hover {
  color: #333;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media screen and (max-width: 1205px) {
  #modelnumbersearch_area {
    margin-top: -60px;
    padding-top: 60px;
  }

}

@media screen and (max-width: 767px) {
  .modelnumbersearch {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .modelnumbersearch--supportperiod {
    width: 100% !important;
  }

  .textframe {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    margin-top: 10px;
  }

  .modelnumbersearch_area input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
    padding: 1rem 1rem;
    outline: none;
    border: 1px solid #ccc;
    transition: all .3s;
  }

  .modelnumbersearch_area input[type="submit"] {
    flex: 0 0 60px;
    align-self: stretch;
    width: 60px;
    margin-top: 10px;
    padding: 0 1rem;
    outline: none;
    color: #fff;
    border: 0px;
    border-radius: 0 3px 3px 0;
    background: url("/pc/images/search_icon_wh.svg") center center / 26px 26px no-repeat #666;
    transition: all .3s;
  }

  .search_resuit_area.av {
    max-height: 50vh;
    overflow-y: scroll;
    background-color: #eee;
    padding: 1rem;
    border-top: #fff 1px solid;
    border-bottom: #ccc 1px solid;
    box-sizing: border-box;
    padding-bottom: 10px;
  }

  .box_a, .box_b, .box_c {
    display: none;
    width: 100%;
    margin: 0px auto 0px auto;
  }

  .box_a.av, .box_b.av, .box_c.av {
    flex-direction: column;
  }

  .search_resuit_title {
    display: inline-flex;
    align-items: center;
    font-family: "FP-HiraKakuProN-W6", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.14px;
    margin: 0 0 1rem 5px;
    padding: .5rem 1rem;
    background-color: #fff;
    border-radius: 3px;
    white-space: nowrap;
  }

  .search_resuit_title.no_result {
    margin: 4rem 0 4rem 5px;
    background-color: transparent;
  }

  .result_modelNumber {
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    font-size: 1.4rem;
    margin: 0 .5rem 2rem .5rem;
    font-family: UniversNextPro-Cond, sans-serif;
  }

  .group-section {
    width: 100%;
  }

  .support-table-wrapper {
    display: none;  /* PC版テーブル非表示 */
  }

  .support-table-wrapper-sp {
    display: block;  /* SP版テーブル表示 */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .support-table th {
    position: static;
  }

  .group-nav {
    flex-direction: column;
  }

  .group-nav-item {
    text-align: center;
  }

  .supportperiod_title_area {
    padding: 30px 15px;
    margin-bottom: 0;
  }

  .supportperiod_title {
    font-size: 18px;
  }

  .notice-section {
    font-size: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .notice-section ul {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .group-section {
    width: 100%;
  }

  .support-table-wrapper {
    display: none;  /* PC版テーブル非表示 */
  }

  .support-table-wrapper-sp {
    display: block;  /* SP版テーブル表示 */
  }
}
