/*2026-1110-リライトに伴うCSSの追加　iso*/
.pd-l-1rem{
  padding-left: 1rem;
}
.mt-5{
  margin-top:5rem;
}
.pict-scale{
  text-align: center;
  margin-top: 3rem;
}
.pict-scale img{
  max-width:800px;
  width:100%;
}
.f-size-13{
  font-size:1.3rem;
}
@media (min-width:769px){
.sp-img{
  display:none;
}
}
@media (max-width:768px){
.sp-none{
display:none;
}
.sp-img{
  display:block;
}
}

/*Card*/
.card-wrapper{
  gap:2rem;
  padding: 0 6rem;
}
.card {
  display: flex;
  flex-direction: column;
  width: 50%;
  align-items: center;
  border:1px solid #0070C0;
  border-radius: 15px;
  padding: 0 2rem 0.5rem 2rem;
}
.t-under{
  border-bottom: 1px solid #0070C0; 
  padding-bottom: 4px;
  width:100%;
}
.t-under h4{
  font-size:1.3rem;
  text-align: center;
  margin-bottom: 0px;
}
.card img{
  width:40%;
}

.card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.card-text {
  flex-grow: 1; 
}
.cat-link a{
  color:#0070C0;
}
.cat-link a::before {
    content: '\f054';
    margin: 0 12px 0 0;
    color: var(--site-link-ui-color1);
    font-family: var(--icon-font-fa);
    font-size: calc(12 / var(--root-font-size) * 1rem);
    font-weight: 900;
    line-height: 1;
    transform: translate(0, 1px);
}
ul.list-tp{
  list-style-type: square; list-style-position: outside; padding-left: 20px;
  text-indent: -6px;;
}
ul.list-tp2{
  list-style-type:none !important; list-style-position: outside; padding-left: 20px;
  text-indent: -6px;;
}
.card-pict{
    flex-grow: 1;
    align-content: center;
    margin: 2.5rem 0;
}
@media (max-width:768px){
  .card-wrapper{
  gap:2rem;
  padding: 0rem;
}
.card {
  width: 100%;
  padding: 0 1rem 1rem 1rem;
  margin-bottom: 1.5rem;
  }
.t-under h4 {
    font-size: 1.1rem;
    margin-top: 0.8rem;
  }
  .card-columns{
    margin-top:-15px;
  }
.card-pict{
    margin: 0rem 0;
}

}
/*Card*/
/*タブパネル設定*/
  /* 全体のコンテナ（ブラウザ幅に合わせてレスポンシブ） */
  .tab-container {
    width: 100%;
    max-width: 1280px; /* 必要に応じて最大幅を調整、全幅にする場合は削除 */
    margin: 0 auto;
    background-color: #f2f5f9;
    padding: 1.2rem;
  }

  /* タブボタンのバー（白い角丸の枠） */
  .tab-list {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
    gap: 8px;
  }

  /* 各タブボタン */
  .tab-button {
    flex: 1;
    appearance: none;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    padding: 12px 8px;
    font-size: 16px;
    font-weight: bold;
    color: #111111;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    text-align: center;
    line-height: 1.3;
  }

  /* １）選択中 ＆ ２）マウスオーバー時：濃いブルー1色に白文字 */
  .tab-button.is-active,
  .tab-button:hover {
    background-color: #00549e;
    color: #ffffff;
  }

  /* タブパネル（コンテンツエリア） */
  .tab-panel {
    display: none;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  }

  /* 表示中のパネル */
  .tab-panel.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* パネル内のレイアウト（PC版：左に画像、右にテキスト） */
  .panel-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
  }

  .panel-image {
    width: 42%;
    flex-shrink: 0;
  }

  .panel-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
  }

  .panel-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.85;
  }

  .panel-text p {
    margin-bottom: 24px;
  }

  /* 関連ページリンク部分 */
  .related-section-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
    color: #222222;
  }
  /* =========================================
     ４）SP版（スマートフォン表示：768px以下）
     ========================================= */
  @media (max-width: 768px) {
    .tab-container {
      padding:0px;
    }
    .tab-list {
      padding: 6px;
      gap: 4px;
      /* 画面幅が極端に狭い場合は横スクロール可能にする場合以下を有効化 */
      /* overflow-x: auto; */
    }

    .tab-button {
      font-size: 12px;
      padding: 10px 4px;
      word-break: keep-all;
    }

    .tab-panel {
      padding: 20px 16px;
    }

    /* SP版では画像を上、テキストを下で表示 */
    .panel-inner {
      flex-direction: column;
      gap: 20px;
    }

    .panel-image {
      width: 100%;
    }

    .panel-text {
      font-size: 14px;
      line-height: 1.75;
    }
  }
/*/タブパネル設定*/
/*他の記事はこちらの4カラム（SP2カラム）*/
  .card-section {
    width: 100%;
    max-width: 1280px;
    margin: 3rem auto 6rem;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 28px;
    row-gap: 40px;
  }

  .card-item {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }

  /* 画像の大きさを高さ統一 */
  .card-image {
    width: 100%;
    aspect-ratio: 16 / 10; /* 必要に応じて高さを固定したい場合は height: 160px; などに変更可 */
    overflow: hidden;
    margin-bottom: 16px;
  }

  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .card-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.45;
    color: #111111;
    margin-bottom: 10px;
  }

  .card-text {
    font-size: 14px;
    line-height: 1.75;
    color: #333333;
    margin-bottom: 10px;
    text-align: left;
  }

  .card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #00549e;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 24px;
    border-radius: 4px;
    transition: background-color 0.25s ease, opacity 0.25s ease;
    white-space: nowrap;
  }

  .card-button:hover {
    background-color: #003d75;
  }

  /* =========================================
     ６）SP版（スマートフォン表示：768px以下）
     ========================================= */
  @media (max-width: 768px) {
    body {
      padding: 24px 16px;
    }

    .card-grid {
      grid-template-columns: repeat(2, 1fr);
      column-gap: 16px;
      row-gap: 32px;
    }

    .card-image {
      margin-bottom: 12px;
    }

    .card-title {
      font-size: 15px;
      margin-bottom: 8px;
    }

    .card-text {
      font-size: 13px;
      line-height: 1.65;
      margin-bottom: 0px;
    }

    .card-button {
      width: 100%;
      padding: 10px 12px;
      font-size: 13px;
    }
  }
/*/他の記事はこちらの4カラム（SP2カラム）*/
/*Tableの作成*/
 /* 全体コンテナ */
  .table-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }

  /* スクロール案内バッジを配置するための外枠 */
  .table-wrapper {
    position: relative;
    width: 100%;
  }

  /* 横スクロール領域 */
  .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* テーブル本体 */
  .spec-table {
    width: 100%;
    min-width: 760px; /* SP版で横スクロールさせるための最小幅 */
    border-collapse: collapse;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid #d9dee5;
  }

  /* ヘッダー行（濃いブルーに白文字） */
  .spec-table thead th {
    background-color: #004a99;
    color: #ffffff;
    font-weight: bold;
    padding: 14px 12px;
    border: 1px solid #d9dee5;
    vertical-align: middle;
  }

  /* 列幅のバランス調整（1列目22%、残り3列を均等割り） */
  .spec-table th:first-child,
  .spec-table td:first-child {
    width: 22%;
  }

  .spec-table th:not(:first-child),
  .spec-table td:not(:first-child) {
    width: 26%;
  }

  /* ボディセル */
  .spec-table tbody th,
  .spec-table tbody td {
    padding: 14px 12px;
    border: 1px solid #d9dee5;
    vertical-align: middle;
    font-weight: bold;
    color: #222222;
  }
  .txt-bno tbody td{
    font-weight: 100;
    text-align: left;
  }
  .txt-center{
    text-align: center !important;
  }

  /* 交互の背景色（奇数行：白、偶数行：薄いグレー） */
  .spec-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
  }

  .spec-table tbody tr:nth-child(even) {
    background-color: #f4f6f9;
  }

  /* 外観イメージ行のセルと画像サイズ調整 */
  .spec-table .image-row td {
    padding: 20px 12px;
  }

  .spec-table .image-row img {
    max-width: 150px;
    max-height: 130px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }

  /* ２）「横スクロールできます」の案内バッジ（PC版は非表示） */
  .scroll-hint {
    display: none;
  }

  /* =========================================
     SP版（スマートフォン表示：768px以下）
     ========================================= */
  @media (max-width: 768px) {
    body {
      padding: 24px 16px;
    }

    .spec-table {
      font-size: 13px;
    }

    .spec-table thead th,
    .spec-table tbody th,
    .spec-table tbody td {
      padding: 12px 10px;
    }

    .spec-table .image-row img {
      max-width: 110px;
      max-height: 100px;
    }

    /* SP版のみ案内バッジを表示 */
    .scroll-hint {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(0, 0, 0, 0.72);
      color: #ffffff;
      font-size: 13px;
      font-weight: bold;
      padding: 10px 18px;
      border-radius: 999px;
      white-space: nowrap;
      pointer-events: none; /* タッチ操作を邪魔せず下のテーブルをスクロール可能にする */
      z-index: 10;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    /* スクロールされたら非表示にするクラス */
    .scroll-hint.is-hidden {
      opacity: 0;
      visibility: hidden;
    }
  }
/*/Tableの作成*/

.box-50{
  width:50%
}
.pict-45{
  width:45%;
}
.pict-65{
  max-width: 65%;
}
.txt-r{
  text-align: right;
}
@media (max-width:768px){
.pict-65{
  max-width: 100%;
}
.mdlImageColumns .item.image {
  margin: 0 auto;
}
.box-50,
.pict-45{
  width:80%;
}
}