/* 外部システム連携配下専用。asoview-ds.css の後に読み込む。 */
:root {
  --ink: #0b214d;
  --ink-weak: #666666;
  --blue: #133373;
  --red: #133373; /* 既存部品のテキストリンク用。CTA色とは分離する */
  --red-shadow: #bb4e00;
  --ticket-orange: #ff6b00;
  --cyan: #00b5e2;
  --teal: #00a693;
  --cream: #fbfbfb;
  --radius-s: 8px;
  --radius-m: 8px;
  --radius-l: 16px;
  --shadow-card: 0 2px 8px rgba(0,0,0,.16);
  --container: 1072px;
  --container-narrow: 928px;
}
body { font-weight: 400; overflow-wrap: anywhere; padding-bottom: 0; }
h1, h2, h3, h4, strong, b,
.page-title, .section-title, .card-title, .cta__title,
body .rellinks__name { font-weight: 700; }
.section { padding: 64px 0; }
.page-title { font-size: 36px; line-height: 1.55; }
.section-title { font-size: 30px; line-height: 1.6; margin-bottom: 32px; }
.section-lead { max-width: 840px; margin-bottom: 32px; }
.hero { background: #fff; padding: 28px 0 48px; }
.hero__body .lead { max-width: 52em; font-size: 16px; }
.breadcrumb { margin-bottom: 36px; line-height: 1.9; }
.hero + .section { padding-top: 32px; }
.ticket-header .site-header__inner { max-width: 1328px; justify-content: space-between; gap: 24px; padding: 16px 24px; }
.ticket-header .site-header__logo { flex: 0 1 320px; min-width: 0; }
.ticket-header .site-header__logo img { width: 100%; height: auto; }
.ticket-header .btn { display: inline-flex; }
.btn, .cta .btn {
  background: var(--ticket-orange); color: #fff; border-radius: 8px;
  box-shadow: 0 4px 0 #bb4e00; letter-spacing: .02em;
}
.btn:hover, .cta .btn:hover { translate: none; box-shadow: 0 4px 0 #bb4e00; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.section--navy, .cta { background: #133373; color: #fff; }
.section--navy .section-lead { color: #fff; }
.section--navy .grid .card { background: #fff; color: var(--ink); border-radius: 8px; box-shadow: var(--shadow-card); }
.section--navy .note a { color: #fff !important; }
.section--navy a:focus-visible, .cta a:focus-visible { outline-color: #fff; }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid .card { padding: 28px; }
.grid .card p, .ticket-about { color: #333333; }
.ticket-about { line-height: 2; }
.cta { padding: 56px 24px; }
.cta__title { max-width: 960px; margin: 0 auto 16px; }
.cta__desc { max-width: 840px; margin: 0 auto 28px; }
/* 一覧は罫線で区切る。ロゴ紹介・機能カードと形を分ける。 */
body .tax { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
body .tax a { border: 0; border-bottom: 1px solid var(--line-weak); border-radius: 0; padding: 28px 0; }
body .tax a:hover { box-shadow: none; }
body .tax a:hover .tax__name { text-decoration: underline; }
body .tax__desc { font-size: 14px; }
/* ロゴを小さく整え、説明文の長さで隣のカードに大きな空白が生じないようにする。 */
body .pcards { grid-template-columns: minmax(0, 1fr); gap: 0; }
body .pcard { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 12px 40px; border: 0; border-bottom: 1px solid var(--line-weak); border-radius: 0; padding: 32px 0; background: transparent; }
body .pcard > :not(.pcard__fig) { grid-column: 2; }
body .pcard__fig { grid-column: 1; grid-row: 1 / span 3; background: #fff; border-radius: 8px; }
body .pcard__fig img, body .ipartner__fig img { object-fit: contain; }
body .pcard a { margin-top: 0; }
body .pcard h3, body .ipartner h3 { font-size: 18px; }
body .icases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
body .icase { padding: 28px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-weak); border-radius: 0; }
body .icase:hover h3 { text-decoration: underline; }
body .icase__meta span, body .ispec__tags span { background: transparent; padding: 0; line-height: 1.8; }
body .icase__meta, body .ispec__tags { gap: 4px 16px; }
/* 2026-09-25 細部チェック: 連携事例の本文段落で単語途中改行が起きないように。長い英数字URLは overflow-wrap で維持 */
body .icase__lead { display: block; overflow: visible; color: #333333; word-break: auto-phrase; overflow-wrap: anywhere; }
body .ispec { gap: 0; }
body .ispec__row { display: grid; grid-template-columns: 180px minmax(0, 1fr); border: 0; border-bottom: 1px solid var(--line-weak); border-radius: 0; padding: 20px 0; }
body .ispec__label { min-width: 0; }
body .ipartner { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 32px; border: 0; border-radius: 0; padding: 0; }
body .ipartner__fig { background: #fff; }
body .rellinks { gap: 0; }
body .rellinks a { border-radius: 0; border-bottom: 1px solid var(--line-weak); background: transparent; padding: 20px 0; }
body .rellinks a:hover { box-shadow: none; }
body .rellinks a:hover .rellinks__name { text-decoration: underline; }
.site-footer { color: var(--ink); }
@media (max-width: 700px) {
  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }
  .page-title { font-size: 28px; }
  .hero { padding: 24px 0 32px; }
  .breadcrumb { margin-bottom: 24px; }
  .grid, .grid--2, body .tax, body .icases { grid-template-columns: minmax(0, 1fr); }
  body .pcard, body .ipartner { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body .pcard > :not(.pcard__fig), body .pcard__fig { grid-column: 1; grid-row: auto; }
  body .pcard__fig, body .ipartner__fig { width: 100%; max-width: 280px; }
  body .ispec__row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ticket-header .site-header__inner { gap: 16px; padding: 12px 16px; }
  .ticket-header .site-header__logo { flex-basis: 220px; }
  .ticket-header .btn { padding: 0 12px; font-size: 13px; min-height: 44px; }
  .cta { padding: 40px 16px; }
}
