/* JAKA 技術資料：一覧と閲覧ページ共通。ナビは他の JAKA ページと同じ pill。 */
* { word-break: auto-phrase; }

.header__navs__main .header__nav__item.--solution::before { content: none; }

@media (min-width: 1201px) {
  .header__navs__sub { display: none; }
  .header__navs { align-items: center; }
  .header__navs__main { display: flex; align-items: center; }
  .header__navs__main .header__nav__list { display: flex; align-items: center; gap: 22px; }
  .header__navs__main .header__nav__item { height: 20px; margin-right: 0; padding-left: 0; white-space: nowrap; }
  .header__navs__main .header__nav__item.--solution { padding-left: 0; margin-right: 0 !important; }
  .header__navs__main .header__nav__item > a { display: inline-flex; align-items: center; line-height: 20px; }
  .header__navs__main .header__nav__item.--contact,
  .header__navs__main .header__nav__item.btn.--contact { margin-right: 0; min-width: 0; margin-left: 4px; }
  .header__navs__main .header__nav__item.--contact a,
  .header__navs__main .header__nav__item.btn.--contact a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    line-height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.78);
    color: #00063b;
    font-family: "Lato", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 1.6rem;
  }
  .header__navs__main .header__nav__item.--contact a::before,
  .header__navs__main .header__nav__item.btn.--contact a::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' stroke='%2300063b' stroke-width='1.6' d='M4 6.2h16c.44 0 .8.36.8.8v10c0 .44-.36.8-.8.8H4c-.44 0-.8-.36-.8-.8V7c0-.44.36-.8.8-.8z'/%3E%3Cpath fill='none' stroke='%2300063b' stroke-width='1.6' d='M4 7l8 6 8-6'/%3E%3C/svg%3E");
  }
  .header__navs__main .header__nav__item.--contact > a:hover,
  .header__navs__main .header__nav__item.btn.--contact > a:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #00063b;
    box-shadow: inset 0 0 0 2px #0066ff;
  }
  .header__navs__main .header__nav__item.--contact a::after,
  .header__navs__main .header__nav__item.btn.--contact a::after,
  .header__navs__main .header__nav__item.--contact a small::after,
  .header__navs__main .header__nav__item.btn.--contact a small::after { content: none; }
}

.breadcrumb { display: block !important; z-index: 2; }
@media (max-width: 1200px) {
  .wrapper > header.block.--header { width: 100%; }
}
.footer__logo img { width: 200%; height: auto; }

/* 一覧カード */
.tech-doc-list { max-width: 920px; margin: 0 auto; }
.tech-doc-list__lead {
  margin: 0 0 28px;
  color: #333;
  font-size: clamp(1.45rem, 1.1vw, 1.7rem);
  font-weight: 600;
  line-height: 1.8;
}
.tech-doc-card {
  display: block;
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid rgba(0, 6, 59, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 6, 59, 0.06);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.tech-doc-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: #d80c1e;
  border-radius: 14px 0 0 14px;
}
.tech-doc-card:hover { box-shadow: 0 12px 28px rgba(0, 6, 59, 0.12); }
/* 一览有多条时，卡片之间留出空隙，避免贴在一起 */
.tech-doc-card + .tech-doc-card { margin-top: 18px; }
.tech-doc-card__kicker {
  margin: 0 0 8px;
  color: #d80c1e;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.tech-doc-card__title {
  margin: 0 0 10px;
  color: #00063b;
  font-size: clamp(1.9rem, 1.5vw, 2.3rem);
  font-weight: 700;
  line-height: 1.4;
}
.tech-doc-card__text {
  margin: 0 0 16px;
  color: #333;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.75;
}
.tech-doc-card__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d80c1e;
  font-weight: 700;
  font-size: 1.5rem;
}
.tech-doc-card__go::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* 閲覧本文 */
.doc-reader { max-width: 920px; margin: 0 auto; }
.doc-reader__title {
  margin: 0 0 12px;
  color: #00063b;
  font-size: clamp(2.2rem, 2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
}
.doc-reader__note {
  margin: 0 0 28px;
  color: #555;
  font-size: 1.4rem;
  line-height: 1.7;
}
.doc-page {
  margin: 0 0 28px;
  padding: 36px 40px 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  /* Word 正文是游明朝 10.5pt，网页按同一套字号和字重显示 */
  font-family: "Yu Mincho", "YuMincho", "游明朝", "Hiragino Mincho ProN", "MS PMincho", serif;
  color: #222;
}
.doc-page__label {
  margin: 0 0 18px;
  color: #d80c1e;
  font-family: "Lato", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.doc-page p {
  margin: 0 0 0.55em;
  color: #222;
  font-weight: 400;
  line-height: 1.75;
}
.doc-page .doc-title {
  margin: 0 0 0.8em;
  font-weight: 700;
  line-height: 1.4;
}
.doc-page .doc-h1,
.doc-page .doc-h2,
.doc-page .doc-strong {
  margin: 0.9em 0 0.45em;
  font-weight: 700;
  line-height: 1.45;
  color: #111;
}
.doc-page .doc-caption,
.doc-page .doc-note {
  margin: 0.2em 0 0.8em;
  line-height: 1.6;
}
.doc-page .doc-caption { text-align: center; }
/* Word 的自动编号不在正文里，这里单独把序号显示出来 */
.doc-page .doc-li {
  display: flex;
  align-items: flex-start;
  gap: 0.45em;
  margin: 0 0 0.4em;
}
.doc-page .doc-li__no {
  flex: 0 0 2.4em;
  font-weight: 700;
}
.doc-page .doc-li__text { flex: 1 1 auto; }
/* PDF 整页图：编号、箭头和图片方向都按 PDF 页面显示 */
.doc-pdf { padding: 12px 12px 20px; }
.doc-pdf__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #fff;
}
.doc-fig { margin: 16px 0 20px; }
.doc-fig img, .doc-page img {
  display: block;
  max-width: 100%;
  height: auto;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 1.4rem;
}
.doc-table td {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 8px 10px;
  vertical-align: top;
}

/* 登録フォーム */
.doc-gate {
  margin: 8px 0 40px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(216, 12, 30, 0.25);
  border-radius: 14px;
}
.doc-gate__title {
  margin: 0 0 10px;
  color: #00063b;
  font-size: 2rem;
  font-weight: 700;
}
.doc-gate__lead {
  margin: 0 0 22px;
  color: #333;
  font-size: 1.45rem;
  line-height: 1.75;
}
.doc-form__row { margin: 0 0 16px; }
.doc-form__row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #111;
  font-size: 1.45rem;
}
.doc-form__row label span { color: #d80c1e; margin-left: 4px; }
.doc-form__row input {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  font-size: 1.5rem;
}
.doc-form__errors {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fff4f4;
  border: 1px solid rgba(216, 12, 30, 0.35);
  border-radius: 8px;
  color: #9d0a16;
  font-size: 1.4rem;
}
.doc-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 2px;
  background: #d80c1e;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
}
.doc-form__submit::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.doc-form__submit:hover { opacity: 0.85; }
.doc-gate__privacy {
  margin: 14px 0 0;
  color: #666;
  font-size: 1.25rem;
  line-height: 1.6;
}
.doc-unlocked {
  margin: 0 0 20px;
  color: #0b6b2a;
  font-weight: 700;
  font-size: 1.4rem;
}
#doc-rest[hidden],
#doc-thanks[hidden],
#doc-form-errors[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .doc-page, .doc-gate, .tech-doc-card { padding: 20px 16px; }
}

/* Page Top：与 JAKA 各页底部一致，文字和图标用红色 #d80c1e */
.page__top__btn {
  color: #d80c1e;
}
.page__top__btn::before {
  background-image: url(../Software/static/image/btn_pagetop_jaka.svg);
}
.page__top__btn:hover {
  color: #d80c1e;
}
.page__top__btn:hover::before {
  background-image: url(../Software/static/image/btn_pagetop_white_jaka.svg);
}
@media (max-width: 980px) {
  .page__top__btn::before {
    background-image: url(../Software/static/image/btn_pagetop_jaka.svg);
  }
  .page__top__btn:hover::before {
    background-image: url(../Software/static/image/btn_pagetop_white_jaka.svg);
  }
}
