@charset "UTF-8";
:root {
  --FIXED-HEADER-HEIGHT: 78.5px;
}

@media (max-width: 60.5625em) {
  :root {
    --FIXED-HEADER-HEIGHT: 54.5px;
  }
}

[data-page-category="connection_guide"] {
  overflow: hidden;
}

[data-page-category="connection_guide"]:has(.table-fixed-line) {
  overflow: visible;
}

.prd-utility-heading-2 {
  padding: 1px 10px 7px;
  background-color: #696969;
  color: #fff;
}

@media (max-width: 60.5625em) {
  .prd-utility-heading-2 {
    padding: 3px 10px 5px;
  }
}

.prd-utility-heading-3 {
  padding: 0 5px 3px 15px;
  border-left: 5px solid #696969;
}

.prd-utility-heading-4 {
  padding-left: 1.5em;
  position: relative;
}

.prd-utility-heading-4::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-color: #696969;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 3px;
  left: 0;
}

.cg-flow-heading {
  margin-left: -100px;
  padding-left: 100px;
  border-left: none;
  position: relative;
}

@media (max-width: 60.5625em) {
  .cg-flow-heading {
    margin-left: -60px;
    padding-left: 60px;
  }
}

.cg-flow-heading::before {
  content: none;
}

.cg-flow-heading-number {
  min-width: 80px;
  padding: 3px 0 5px 5px;
  background-color: #696969;
  color: #fff;
  line-height: 1;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 60.5625em) {
  .cg-flow-heading-number {
    min-width: 40px;
  }
}

.cg-flow-heading-number::after {
  content: "";
  width: 10px;
  height: 100%;
  background-color: #696969;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  top: 0;
  left: 100%;
}

@media (max-width: 60.5625em) {
  section.prd-slate.of-narrow .prd-utility-heading-3 + p em {
    font-size: 1.8rem;
  }
}
@media (min-width: 60.625em) {
  section.prd-slate.of-narrow .prd-utility-heading-3 + p em {
    font-size: 2.6rem;
  }
}

.prd-utility-marginLeft-9 {
  margin-left: 7.2rem;
}

.prd-utility-color-red {
  color: #DC002F;
}

.prd-utility-font-weight-bold {
  font-weight: 700;
}

.prd-utility-inline-block {
  display: inline-block;
}

.show-kv-8000 {
  display: none;
}

.show-kv-x {
  display: none;
}

.kv-8000 .show-kv-8000 {
  display: block;
}

.kv-x .show-kv-x {
  display: block;
}

.prd-utility-color-red {
  color: #DC002F;
}

.prd-utility-backgroundColor-gray {
  background-color: #DCDCDC;
}

.prd-utility-backgroundColor-blue {
  background-color: #80D3EE;
}

.prd-utility-backgroundColor-lightblue {
  background-color: #ABE1FA;
}

.prd-utility-backgroundColor-yellow {
  background-color: #FFF685;
}

.prd-utility-backgroundColor-pink {
  background-color: #F89D9F;
}

.prd-utility-backgroundColor-green {
  background-color: #9FDAA6;
}

.prd-utility-backgroundColor-purple {
  background-color: #CAABE3;
}

.prd-utility-backgroundColor-lightpink {
  background-color: #F3BDD4;
}

.prd-utility-backgroundColor-orange {
  background-color: #FCBE9D;
}

.prd-utility-backgroundColor-lightorange {
  background-color: #FCDEA3;
}

.print-show {
  display: none;
}

.prd-table td,
.prd-table th {
  border: 1px solid #666a6b;
}

.prd-table th {
  background: #e7e7e7;
}

.prd-table td {
  background: #ffffff;
}

.prd-table-compact {
  font-size: 1.3rem;
}

.prd-table-compact td,
.prd-table-compact th {
  padding: .8rem;
}

@media (max-width: 60.5625em) {
  .prd-table:has(.table-fixed-line) {
    max-height: calc(100vh - var(--FIXED-HEADER-HEIGHT) - 80px); /* 画面の高さから固定ヘッダーの高さと余白を引いた値 */
  }
}

.table-fixed-line {
  position: sticky;
  top: var(--FIXED-HEADER-HEIGHT);
  z-index: 1;
}

@media (max-width: 60.5625em) {
  .table-fixed-line {
    top: 0;
  }
}

@media (max-width: 60.5625em) {
  .prd-table:has(.table-fixed-line) tbody {
    position: relative;
    bottom: 1px; /* 下罫線が消える対策 */
  }
}

.table-fixed-line th {
  position: relative;
  z-index: 0;
}

.table-fixed-line th::after {
  content: "";
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 1px solid #666a6b;
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: -1;
}

.table-fixed-line th {
  border-bottom: none;
}

.cg-variable-table thead,
.cg-variable-table tbody {
  border-bottom: 1px solid #666a6b;
}

.cg-variable-table th:first-child,
.cg-variable-table td:first-child,
.cg-variable-table .table-fixed-line th:first-child::after {
  border-left: none;
}

.cg-variable-table th:first-child:not([colspan]),
.cg-variable-table td:first-child:not([colspan]) {
  border-top: none;
  border-bottom: none;
}

.cg-variable-table th[colspan],
.cg-variable-table td[colspan] {
  border-bottom: none;
}

.cg-variable-table th:last-child,
.cg-variable-table td:last-child,
.cg-variable-table .table-fixed-line th:last-child::after {
  border-right: none;
}

.only-nq {
  display: none;
}

.nq .only-nq {
  display: block;
}

section:has(> .cg-flow-heading) {
  padding-left: 100px;
}

@media (max-width: 60.5625em) {
  section:has(> .cg-flow-heading) {
    padding-left: 60px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }
  
  @page :first {
    size: A4;
    margin: 0;
  }

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  
  html {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  body {
    margin: 0;
    padding: 0;
  }

  html.is-firefox,
  html.is-safari,
  html.is-ie,
  .is-firefox body,
  .is-safari body,
  .is-ie body {
    height: 100% !important;
  }
    
  .is-safari body {
    width: 210mm !important;
    min-width: 100% !important;
  }
  
  /* すべてのコンテナー要素の余白を除去 */
  .kv-8000,
  .kv-x {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  header,
  footer,
  .prd-seriesHeader.of-secondary {
    display: none;
  }
  .print-show {
    display: block;
  }
  .print-hide {
    display: none;
  }
  .print-breakInside-avoid {
    break-inside: avoid;
  }
  .prd-layout-grid.print-column-2 {
    margin-inline: -1rem;
  }
  .prd-layout-grid.print-column-2 > * {
    width: 50%;
    padding-inline: 1rem;
  }
  .prd-layout-grid.print-column-2:has(.print-column-2-width-l) > * {
    width: 45%;
  }
  .prd-layout-grid.print-column-2:has(.print-column-2-width-l) > .print-column-2-width-l {
    width: 55%;
    font-size: 1.4rem;
  }
  img {
    max-width: 70%;
  }
  .print-full-width,
  .prd-layout-grid.print-column-2 img {
    max-width: 100%;
  }

  .prd-table table {
    white-space: normal;
    width: 100%;
    font-size: calc(15 / 1280 * 100vw);
  }

  .prd-table table th,
  .prd-table table td{
    padding: calc(8 / 1280 * 100vw) calc(16 / 1280 * 100vw);
  }

  .prd-table:has(.table-fixed-line) {
    max-height: none;
  }

  section:has(> h2) {
    break-inside: avoid;
  }

  .prd-layout-container + .prd-smallScreen-marginBottom-9.prd-largeScreen-marginBottom-12 {
    margin-bottom: 0;
  }

  /* Cover for printing - A4 size optimized */
  h1.prd-utility-heading-1,
  script[type="application/ld+json"] + .prd-smallScreen-marginBottom-8.prd-largeScreen-marginBottom-6,
  .prd-breadcrumb {
    display: none;
  }
  
  .print-cover {
    width: 100% !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 56px;
    page-break-before: auto;
    page-break-after: always;
    page-break-inside: avoid;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 0;
    
    /* 余白を強制的に除去 */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .is-firefox .print-cover,
  .is-safari .print-cover,
  .is-ie .print-cover {
    height: 297mm !important;
  }

  .is-safari .print-cover {
    max-height: 100% !important;
  }

  .print-cover + * {
    margin-top: 100vh !important;
  }

  .is-firefox .print-cover + *,
  .is-safari .print-cover + *,
  .is-ie .print-cover + * {
    margin-top: 297mm !important;
  }
  
  /* Cover title styling */
  .print-cover__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    margin-bottom: 0;
    color: #FFF;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .print-cover__title-main {
    font-size: 54px;
    text-shadow: 1px 1px 8px rgba(18, 36, 68, 0.50);
  }

  .print-cover__title-main + .print-cover__title-main {
    margin-top: -15px;
  }
  
  .print-cover__title-sub {
    font-size: 36px;
    text-shadow: 1px 1px 8px rgba(18, 36, 68, 0.50);
  }
  
  .print-cover__image {
    width: min(771px, 100%);
    max-width: none;
    position: relative;
    z-index: 1;
  }
  
  .print-cover__caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: -10px;
    margin-bottom: 0;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    text-shadow: 1px 1px 8px rgba(18, 36, 68, 0.50);
    position: relative;
    z-index: 1;
  }

  .print-cover__caption-main {
    font-size: 36px;
    text-shadow: 1px 1px 8px rgba(18, 36, 68, 0.50);
  }

  .print-cover__caption-sub {
    font-size: 27px;
    text-shadow: 1px 1px 8px rgba(18, 36, 68, 0.50);
  }

  .print-cover__bg {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
  }

  .print-cover__eng-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  }
}
