/* Footer navigation, same as the home page. */
.m-page > .apple-style-footer, .apple-style-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)) !important; }
.apple-style-footer {
  margin: 0 !important;
  padding: 26px 20px calc(32px + env(safe-area-inset-bottom)) !important;
  background: #f5f5f7 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #6e6e73 !important;
}

.apple-style-footer .app-footer-logo,
.apple-style-footer .app-footer-lead,
.apple-style-footer .app-footer-nav {
  display: none !important;
}

.app-footer-note {
  margin: 0 0 24px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid #d2d2d7 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.app-footer-accordion {
  border-top: 1px solid #d2d2d7 !important;
}

.app-footer-accordion details {
  border-bottom: 1px solid #d2d2d7 !important;
}

.app-footer-accordion summary {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: #1d1d1f !important;
  cursor: pointer !important;
  list-style: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  user-select: none !important;
}

.app-footer-accordion summary::-webkit-details-marker {
  display: none !important;
}

.app-footer-accordion summary::after {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid #1d1d1f !important;
  border-bottom: 2px solid #1d1d1f !important;
  transform: rotate(45deg) translateY(-2px) !important;
  transition: transform .18s ease !important;
  opacity: .9 !important;
}

.app-footer-accordion details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px) !important;
}

.app-footer-panel {
  display: grid !important;
  gap: 0 !important;
  padding: 0 0 12px 14px !important;
}

.app-footer-panel a {
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  color: #424245 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

.app-footer-panel a:active {
  color: #06c !important;
}

.app-footer-contact-line {
  margin: 24px 0 0 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.app-footer-contact-line a,
.apple-style-footer .app-footer-legal a {
  color: #06c !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.apple-style-footer .app-footer-legal {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 9px !important;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.apple-style-footer .app-footer-legal span {
  color: #86868b !important;
}

.apple-style-footer .app-footer-copy {
  margin: 16px 0 0 !important;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}


.app-footer-note {
  margin-bottom: 0 !important;
}

.app-footer-home {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  color: #1d1d1f !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}

.apple-style-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)) !important; }
/* Footer legal links: same grey as other text, no underline, single line. */
.apple-style-footer .app-footer-legal {
  flex-wrap: nowrap !important;
  gap: 0 8px !important;
  white-space: nowrap !important;
  font-size: 11px !important;
}
.apple-style-footer .app-footer-legal a,
.apple-style-footer .app-footer-legal span {
  font-size: 11px !important;
  letter-spacing: 0 !important;
}
.apple-style-footer .app-footer-legal a {
  color: #6e6e73 !important;
  text-decoration: none !important;
}


/* ページ側の a / button 共通スタイルに負けないよう、フッター内のリンクを明示する。 */
html body .apple-style-footer.apple-style-footer.apple-style-footer a { font-weight: 400 !important; }
html body .apple-style-footer.apple-style-footer.apple-style-footer .app-footer-home { color: #1d1d1f !important; }
html body .apple-style-footer.apple-style-footer.apple-style-footer .app-footer-panel a { color: #424245 !important; }
html body .apple-style-footer.apple-style-footer.apple-style-footer .app-footer-contact-line a { color: #06c !important; text-decoration: underline !important; }
html body .apple-style-footer.apple-style-footer.apple-style-footer .app-footer-legal a { color: #6e6e73 !important; text-decoration: none !important; }
html body .apple-style-footer.apple-style-footer.apple-style-footer, html body .apple-style-footer.apple-style-footer.apple-style-footer * { font-weight: 400 !important; }

/* 2026-10-21: 1行表示の法的リンクは幅380px以下の端末で画面からはみ出し、ページ全体が横にずれていた
   （320pxで最大42px）。狭い画面だけ折り返す。リンク1つ1つは途中で改行しない。 */
@media (max-width: 380px) {
  .apple-style-footer .app-footer-legal {
    flex-wrap: wrap !important;
    white-space: normal !important;
    row-gap: 4px !important;
  }
  .apple-style-footer .app-footer-legal a { white-space: nowrap !important; }
}

/* fx-photo-2026-11-10: real photos for the shared processing illustrations (.fx-art by aria-label).
   Items without a photo keep the CSS illustration. Magnetic stripes: narrow and near the top like bank cards. */
html body .fx-art[aria-label="サインパネル（白）"] .fx-card,html body .fx-art[aria-label="サインパネル（透明）"] .fx-card,html body .fx-art[aria-label="可変バーコード印字"] .fx-card,html body .fx-art[aria-label="可変QRコード印字"] .fx-card,html body .fx-art[aria-label="穴あけ加工（丸穴）"] .fx-card,html body .fx-art[aria-label="穴あけ加工（長穴）"] .fx-card,html body .fx-art[aria-label="穴あけ加工（2穴）"] .fx-card,html body .fx-art[aria-label^="マット仕上げ"] .fx-card,html body .fx-art[aria-label^="梨地仕上げ"] .fx-card,html body .fx-art[aria-label="ナンバリング印字（黒）"] .fx-card,html body .fx-art[aria-label="エンボス（金）"] .fx-card,html body .fx-art[aria-label="エンボス（銀）"] .fx-card,html body .fx-art[aria-label="箔押し印刷（金）"] .fx-card{background-color:transparent!important;background-repeat:no-repeat!important;background-position:center!important;border:0!important;overflow:visible!important}
html body .fx-art[aria-label="サインパネル（白）"] .fx-card>*,html body .fx-art[aria-label="サインパネル（透明）"] .fx-card>*,html body .fx-art[aria-label="可変バーコード印字"] .fx-card>*,html body .fx-art[aria-label="可変QRコード印字"] .fx-card>*,html body .fx-art[aria-label="穴あけ加工（丸穴）"] .fx-card>*,html body .fx-art[aria-label="穴あけ加工（長穴）"] .fx-card>*,html body .fx-art[aria-label="穴あけ加工（2穴）"] .fx-card>*,html body .fx-art[aria-label^="マット仕上げ"] .fx-card>*,html body .fx-art[aria-label^="梨地仕上げ"] .fx-card>*,html body .fx-art[aria-label="ナンバリング印字（黒）"] .fx-card>*,html body .fx-art[aria-label="エンボス（金）"] .fx-card>*,html body .fx-art[aria-label="エンボス（銀）"] .fx-card>*,html body .fx-art[aria-label="箔押し印刷（金）"] .fx-card>*{display:none!important}
html body .fx-art[aria-label="サインパネル（白）"] .fx-card{background-image:url(/id-card/shared/image/processing/sign-panel-white-v2.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="サインパネル（透明）"] .fx-card{background-image:url(/id-card/shared/image/processing/sign-panel-clear.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="可変バーコード印字"] .fx-card{background-image:url(/id-card/shared/image/processing/barcode-variable.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="可変QRコード印字"] .fx-card{background-image:url(/id-card/shared/image/processing/qr-variable.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="穴あけ加工（丸穴）"] .fx-card{background-image:url(/id-card/shared/image/processing/hole-round.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="穴あけ加工（長穴）"] .fx-card{background-image:url(/id-card/shared/image/processing/hole-slot.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="穴あけ加工（2穴）"] .fx-card{background-image:url(/id-card/shared/image/processing/hole-two.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label^="マット仕上げ"] .fx-card{background-image:url(/id-card/shared/image/processing/finish-matte.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label^="梨地仕上げ"] .fx-card{background-image:url(/id-card/shared/image/processing/finish-grain.webp)!important;background-size:contain!important;box-shadow:none!important;border-radius:0!important;filter:drop-shadow(0 4px 8px rgba(20,30,50,.18))}
html body .fx-art[aria-label="ナンバリング印字（黒）"] .fx-card{background-image:url(/id-card/shared/image/processing/numbering-black.webp)!important;background-size:cover!important;border-radius:8px!important;overflow:hidden!important}
html body .fx-art[aria-label="エンボス（金）"] .fx-card{background-image:url(/id-card/shared/image/processing/emboss-gold.webp)!important;background-size:cover!important;border-radius:8px!important;overflow:hidden!important}
html body .fx-art[aria-label="エンボス（銀）"] .fx-card{background-image:url(/id-card/shared/image/processing/emboss-silver.webp)!important;background-size:cover!important;border-radius:8px!important;overflow:hidden!important}
html body .fx-art[aria-label="箔押し印刷（金）"] .fx-card{background-image:url(/id-card/shared/image/processing/foil-gold.webp)!important;background-size:cover!important;border-radius:8px!important;overflow:hidden!important}
html body .fx-art[aria-label^="磁気テープ"] .fx-card .fx-tape,html body .fx-art[aria-label="磁気エンコード"] .fx-card .fx-tape{top:10%!important;height:12%!important}
