/* 50周年について：チラシ（白い紙・縦組みの題字・Next 50 のリボンのロゴ）に合わせた専用の見た目。
   番号付きの札やカードの並びはやめ、縦組みの言葉・大きな実写真・カラーバーで見せる。 */
.page-id-134 {
  --ab-paper: #fbfaf7;
  --ab-paper2: #f1eee6;
  --ab-ink: #0d2a5c;
  --ab-navy: #001040;
  --ab-spot: #15a8e2;
  --ab-silver: #9aa3ad;
  --ab-mincho: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
/* テーマの見出し画像・パンくずは使わず、全幅で組む */
.page-id-134 .p-page-header, .page-id-134 .c-breadcrumb { display: none !important; }
.page-id-134 .l-container__inner { max-width: none !important; width: 100% !important; padding: 0 !important; }
.page-id-134 .l-main { width: 100% !important; max-width: none !important; }
.page-id-134 .l-container { background: var(--ab-paper); }
.ts50-ab { color: var(--ab-ink); overflow: hidden; }
.ts50-ab *, .ts50-ab *::before, .ts50-ab *::after { box-sizing: border-box; }
.ts50-ab h1, .ts50-ab h2, .ts50-ab h3 { margin: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; }
.ts50-ab h1::before, .ts50-ab h1::after, .ts50-ab h2::before, .ts50-ab h2::after, .ts50-ab h3::before, .ts50-ab h3::after { display: none; content: none; }
.ts50-ab p { margin: 0; }
.ts50-ab a { color: inherit; text-decoration: none; }

/* ---------- 1. 表紙 ---------- */
.ts50-ab__cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  min-height: min(92vh, 860px);
  padding: 70px 6vw 90px;
  background:
    radial-gradient(60% 50% at 50% 48%, #fff 0%, rgba(255, 255, 255, 0) 70%),
    var(--ab-paper);
}
/* 右：チラシと同じ縦組みの題字 */
.ts50-ab__masthead {
  grid-column: 3; grid-row: 1;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-right: 120px;
  writing-mode: vertical-rl;
  font-family: var(--ab-mincho);
  font-weight: 700;
  color: var(--ab-ink);
}
.ts50-ab__masthead small { font-size: 14px; letter-spacing: .3em; }
.ts50-ab__masthead span { font-size: clamp(22px, 2.1vw, 30px); letter-spacing: .14em; }
/* 中央：ロゴ（3色の版がずれた状態から見当が合う） */
.ts50-ab__logo { grid-column: 2; grid-row: 1; position: relative; width: min(100%, 560px); justify-self: center; }
.ts50-ab__logo img { display: block; width: 100%; height: auto; }
.ts50-ab__plate {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; mix-blend-mode: multiply;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.ts50-ab__plate--c { background: #00a0e9; --gx: -34px; --gy: -18px; }
.ts50-ab__plate--m { background: #e4007f; --gx: 30px; --gy: 14px; }
.ts50-ab__plate--y { background: #ffe100; --gx: -10px; --gy: 28px; }
.ts50-ab-js .ts50-ab__logo img { opacity: 0; transition: opacity .35s ease .95s; }
.ts50-ab-js .ts50-ab__logo.is-in img { opacity: 1; }
.ts50-ab-js .ts50-ab__logo.is-in .ts50-ab__plate { animation: ts50AbRegister 1.3s cubic-bezier(.2, .9, .25, 1) both; }
.ts50-ab-js .ts50-ab__logo.is-in .ts50-ab__plate--m { animation-delay: .08s; }
.ts50-ab-js .ts50-ab__logo.is-in .ts50-ab__plate--y { animation-delay: .16s; }
@keyframes ts50AbRegister { 0% { opacity: .9; transform: translate(var(--gx), var(--gy)); } 65% { opacity: .9; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(0, 0); } }
/* 左：縦組みの言葉 */
.ts50-ab__statement {
  grid-column: 1; grid-row: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  writing-mode: vertical-rl;
  font-family: var(--ab-mincho) !important;
  font-size: clamp(22px, 2.2vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: .16em;
  color: var(--ab-navy) !important;
}
.ts50-ab__statement span { display: block; }
.ts50-ab__statement span:last-child { padding-top: 3.2em; }
.ts50-ab-js .ts50-ab__statement span { clip-path: inset(0 0 100% 0); animation: ts50AbWrite 1.4s cubic-bezier(.65, 0, .35, 1) 1.1s forwards; }
.ts50-ab-js .ts50-ab__statement span:last-child { animation-delay: 1.6s; }
@keyframes ts50AbWrite { to { clip-path: inset(0 0 0 0); } }
.ts50-ab__sub {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  font-family: var(--ab-mincho);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2em;
  white-space: nowrap;
  color: var(--ab-silver);
}
.ts50-ab__scroll { position: absolute; right: 6vw; bottom: 30px; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; color: var(--ab-silver); writing-mode: vertical-rl; }
.ts50-ab__scroll i { position: relative; width: 1px; height: 54px; background: rgba(13, 42, 92, .18); overflow: hidden; }
.ts50-ab__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ab-ink); animation: ts50AbDrip 2s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes ts50AbDrip { to { top: 100%; } }

/* 見出し（明朝の2行） */
.ts50-ab__h { font-family: var(--ab-mincho) !important; font-size: clamp(28px, 3.4vw, 50px) !important; font-weight: 700 !important; line-height: 1.5 !important; letter-spacing: .04em; color: var(--ab-navy) !important; }
.ts50-ab__h span { display: inline-block; }

/* ふわっと出す */
.ts50-ab-js .ts50-ab-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.ts50-ab-js .ts50-ab-reveal.is-in { opacity: 1; transform: none; }

/* ---------- 2. 想い ---------- */
.ts50-ab__intent { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; padding: 40px 0 130px; }
.ts50-ab__intent-photo { position: relative; margin: 0; }
.ts50-ab__intent-photo img { display: block; width: 100%; height: clamp(320px, 46vw, 680px); object-fit: cover; object-position: 50% 30%; }
.ts50-ab__intent-photo figcaption { margin: 12px 0 0 6vw; font-size: 12px; color: #6b7280; }
.ts50-ab__intent-text { position: relative; z-index: 1; margin-left: -9vw; padding: 56px 6vw 56px 56px; background: var(--ab-paper); box-shadow: 0 40px 70px -50px rgba(0, 16, 64, .45); }
.ts50-ab__lead p, .ts50-ab .ts50-ab__lead p { margin: 0 0 26px; font-family: var(--ab-mincho); font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; line-height: 1.9; color: var(--ab-navy); }
.ts50-ab__intent-text > p { font-size: 15px; line-height: 2.15; color: #3c4658; }
.ts50-ab__intent-text > p + p { margin-top: 1.2em; }

/* ---------- 3. つなぐ → NEXT 50 ---------- */
.ts50-ab__relay { padding: 120px 6vw 130px; background: var(--ab-navy); color: #fff; }
.ts50-ab__relay .ts50-ab__h { color: #fff !important; text-align: center; margin-bottom: 64px; }
.ts50-ab__relay .ts50-ab__h span { display: inline-block; }
.ts50-ab__relay-body { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; max-width: 1240px; margin: 0 auto; }
.ts50-ab__then, .ts50-ab__now { margin: 0; }
.ts50-ab__then img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.9); }
.ts50-ab__now-logo { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 9%; background: #fff; }
.ts50-ab__now-logo img { width: 100%; height: auto; }
.ts50-ab__then figcaption, .ts50-ab__now figcaption { display: grid; gap: 4px; margin-top: 20px; font-family: var(--ab-mincho); }
.ts50-ab__then figcaption b, .ts50-ab__now figcaption b { font-size: 15px; letter-spacing: .1em; color: #8edfff; }
.ts50-ab__then figcaption span, .ts50-ab__now figcaption span { font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", Meiryo, sans-serif; font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.ts50-ab__then figcaption strong, .ts50-ab__now figcaption strong { font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; line-height: 1.2; }
.ts50-ab__now figcaption strong small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.ts50-ab__then figcaption > small, .ts50-ab__now figcaption > small { font-size: 15px; color: rgba(255, 255, 255, .8); }
/* バトン：2017から2027へ、光が走る線 */
.ts50-ab__baton { position: relative; height: 2px; margin: 0 18px; background: rgba(255, 255, 255, .2); }
.ts50-ab__baton::after { content: ""; position: absolute; right: -2px; top: -5px; width: 12px; height: 12px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.ts50-ab__baton i { position: absolute; left: 0; top: -1px; width: 30%; height: 4px; background: linear-gradient(90deg, rgba(21, 168, 226, 0), #15a8e2); animation: ts50AbBaton 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes ts50AbBaton { from { left: -30%; } to { left: 100%; } }
.ts50-ab__relay-text { max-width: 44em; margin: 64px auto 0 !important; font-size: 16px; line-height: 2.2; text-align: center; color: rgba(255, 255, 255, .85); }

/* ---------- 4. カラーバー ---------- */
.ts50-ab__bar { padding: 130px 6vw 120px; background: var(--ab-paper2); }
.ts50-ab__bar .ts50-ab__h { margin-bottom: 56px; }
.ts50-ab__patches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid rgba(0, 16, 64, .15); background: #fff; }
.ts50-ab__patches li { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0 0 26px; border-right: 1px solid rgba(0, 16, 64, .12); }
.ts50-ab__patches li:last-child { border-right: 0; }
/* 色の帯：見えたときに、下から刷られる */
.ts50-ab__patches li::before { content: ""; display: block; height: clamp(90px, 11vw, 150px); margin-bottom: 22px; background: var(--patch); transform-origin: bottom; }
.ts50-ab-js .ts50-ab__bar .ts50-ab__patches li::before { transform: scaleY(0); transition: transform .9s cubic-bezier(.65, 0, .35, 1); }
.ts50-ab-js .ts50-ab__bar.is-in .ts50-ab__patches li::before { transform: scaleY(1); }
.ts50-ab-js .ts50-ab__bar.is-in .ts50-ab__patches li:nth-child(2)::before { transition-delay: .12s; }
.ts50-ab-js .ts50-ab__bar.is-in .ts50-ab__patches li:nth-child(3)::before { transition-delay: .24s; }
.ts50-ab-js .ts50-ab__bar.is-in .ts50-ab__patches li:nth-child(4)::before { transition-delay: .36s; }
.ts50-ab-js .ts50-ab__bar.is-in .ts50-ab__patches li:nth-child(5)::before { transition-delay: .48s; }
.ts50-ab__patches .is-c { --patch: #00a0e9; }
.ts50-ab__patches .is-m { --patch: #e4007f; }
.ts50-ab__patches .is-y { --patch: #ffe100; }
.ts50-ab__patches .is-k { --patch: #1b1b1b; }
.ts50-ab__patches .is-s { --patch: linear-gradient(135deg, #0d2a5c, #15a8e2); }
.ts50-ab__ink { position: absolute; top: 10px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: rgba(255, 255, 255, .92); }
.ts50-ab__patches .is-y .ts50-ab__ink { color: rgba(0, 16, 64, .6); }
.ts50-ab__patches b { padding: 0 18px; font-family: var(--ab-mincho); font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1.1; color: var(--ab-navy); }
.ts50-ab__patches em { padding: 6px 18px 0; font-family: var(--ab-mincho); font-style: normal; font-size: 16px; font-weight: 700; color: var(--ab-navy); }
.ts50-ab__patches em span { display: inline-block; white-space: nowrap; }
.ts50-ab__patches small { padding: 4px 18px 0; font-size: 13px; line-height: 1.7; color: #5a6270; }
.ts50-ab__patches .is-s b { color: var(--ab-spot); }
.ts50-ab__links { display: flex; flex-wrap: wrap; gap: 10px 40px; margin-top: 40px !important; }
.ts50-ab__links a, .ts50-ab__work-text a, .ts50-ab__close-link {
  display: inline-flex; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 1px solid currentColor;
  font-size: 15px; font-weight: 600; color: var(--ab-navy);
}
.ts50-ab__links a:hover, .ts50-ab__work-text a:hover { color: #007eaf; }

/* ---------- 5. 記念事業 ---------- */
.ts50-ab__works { padding: 130px 0 90px; }
.ts50-ab__works > .ts50-ab__h { padding: 0 6vw; margin-bottom: 70px; }
.ts50-ab__work { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 0 6vw; margin-bottom: 110px; }
.ts50-ab__work:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.ts50-ab__work:nth-of-type(even) figure { order: 2; }
.ts50-ab__work figure { margin: 0; overflow: hidden; }
.ts50-ab__work figure img { display: block; width: 100%; height: clamp(280px, 34vw, 520px); object-fit: cover; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.ts50-ab__work:hover figure img { transform: scale(1.04); }
.ts50-ab__work-text { padding-right: 6vw; }
.ts50-ab__work:nth-of-type(even) .ts50-ab__work-text { padding: 0 0 0 6vw; }
.ts50-ab__no { font-family: var(--ab-mincho); font-size: clamp(56px, 6vw, 92px); font-weight: 800; line-height: 1; color: var(--ab-spot); }
.ts50-ab__work-text h3 { margin: 14px 0 18px !important; font-family: var(--ab-mincho) !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 700 !important; color: var(--ab-navy) !important; }
.ts50-ab__work-text p:not(.ts50-ab__no) { margin-bottom: 24px; font-size: 15px; line-height: 2.1; color: #3c4658; }

/* ---------- 6. 結び ---------- */
.ts50-ab__close { position: relative; display: grid; place-items: center; min-height: clamp(420px, 56vw, 720px); overflow: hidden; color: #fff; }
.ts50-ab__close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.ts50-ab__close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 16, 64, .15), rgba(0, 16, 64, .72)); }
.ts50-ab__close-inner { position: relative; z-index: 1; padding: 0 24px; text-align: center; }
.ts50-ab__close-date { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .6em; font-family: var(--ab-mincho); font-size: clamp(30px, 4vw, 64px); font-weight: 800; line-height: 1.35; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.ts50-ab__close-date span { white-space: nowrap; }
.ts50-ab__close-text { margin: 18px 0 30px !important; font-family: var(--ab-mincho); font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: .08em; }
.ts50-ab__close-link { color: #fff; border-color: rgba(255, 255, 255, .8); }
.ts50-ab__close-link:hover { color: #8edfff; }
.ts50-ab__links a span, .ts50-ab__work-text a span, .ts50-ab__close-link span { transition: transform .2s ease; }
.ts50-ab a:hover span[aria-hidden] { transform: translateX(4px); }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .ts50-ab__cover { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 34px 18px; min-height: 0; padding: 48px 22px 90px; }
  .ts50-ab__logo { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .ts50-ab__statement { grid-column: 2; grid-row: 1; justify-self: end; font-size: 21px !important; gap: 12px; }
  .ts50-ab__masthead { grid-column: 1; grid-row: 1; justify-self: start; gap: 8px; margin-right: 0; }
  .ts50-ab__masthead small { font-size: 11px; }
  .ts50-ab__masthead span { font-size: 18px; }
  .ts50-ab__sub { bottom: 44px; font-size: 13px; letter-spacing: .12em; }
  .ts50-ab__scroll { display: none; }
  .ts50-ab__intent { grid-template-columns: 1fr; padding: 10px 0 80px; }
  .ts50-ab__intent-text { margin: -60px 16px 0; padding: 32px 24px; }
  .ts50-ab__intent-photo figcaption { margin-left: 16px; }
  .ts50-ab__relay { padding: 80px 22px 90px; }
  .ts50-ab__relay .ts50-ab__h { margin-bottom: 40px; }
  .ts50-ab__relay-body { grid-template-columns: 1fr; gap: 0; }
  .ts50-ab__baton { width: 2px; height: 70px; margin: 26px auto; }
  .ts50-ab__baton::after { right: -5px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .ts50-ab__baton i { width: 4px; height: 30%; left: -1px; top: 0; background: linear-gradient(180deg, rgba(21, 168, 226, 0), #15a8e2); animation-name: ts50AbBatonV; }
  @keyframes ts50AbBatonV { from { top: -30%; } to { top: 100%; } }
  .ts50-ab__relay-text { margin-top: 40px !important; font-size: 15px; text-align: left; }
  .ts50-ab__bar { padding: 80px 16px; }
  .ts50-ab__patches { grid-template-columns: 1fr; }
  .ts50-ab__patches li { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 0; border-right: 0; border-bottom: 1px solid rgba(0, 16, 64, .12); }
  .ts50-ab__patches li::before { grid-row: 1 / 4; height: auto; min-height: 96px; margin: 0; transform-origin: left; }
  .ts50-ab-js .ts50-ab__bar .ts50-ab__patches li::before { transform: scaleX(0); }
  .ts50-ab-js .ts50-ab__bar.is-in .ts50-ab__patches li::before { transform: scaleX(1); }
  .ts50-ab__patches b { padding: 14px 16px 0; font-size: 30px; }
  .ts50-ab__patches em { padding: 2px 16px 0; font-size: 15px; }
  .ts50-ab__patches small { padding: 0 16px 14px; }
  .ts50-ab__works { padding: 80px 0 40px; }
  .ts50-ab__works > .ts50-ab__h { padding: 0 22px; margin-bottom: 40px; }
  .ts50-ab__work, .ts50-ab__work:nth-of-type(even) { grid-template-columns: 1fr; gap: 26px; margin-bottom: 70px; }
  .ts50-ab__work:nth-of-type(even) figure { order: 0; }
  .ts50-ab__work-text, .ts50-ab__work:nth-of-type(even) .ts50-ab__work-text { padding: 0 22px; }
  .ts50-ab__no { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ts50-ab__scroll i::after, .ts50-ab__baton i { animation: none; }
  .ts50-ab__work figure img { transition: none; }
}
