


body.work { background: var(--paper); }
body.work #contents { background: var(--bg-lines) repeat 0 0 / 520px auto; }


.work .mv_under .text_wrap { align-items: flex-start; gap: 6%; }
.work .mv_under .text_wrap h3 { color: var(--ink); }
.work .mv_under .text_wrap h3 .red_sy { color: var(--red); background: linear-gradient(transparent 72%, rgba(232, 64, 42, .14) 72%); }
.work .mv_under .text_wrap .lead_sy { line-height: 2.2; }


.work .content_wrap .content_box .sec_textarea h3 { color: var(--ink); }
.work .content_wrap .content_box .sec_textarea .lead { font-size: 16px; line-height: 2.1; letter-spacing: .08em; color: var(--ink); }
.work .content_wrap .content_box .content_img > img { display: none; }


.nb-relaycol { position: relative; width: 100%; aspect-ratio: 1000 / 780; }
.nb-relaycol__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nb-relaycol__line path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; transition: stroke-dashoffset 2.4s cubic-bezier(.5, 0, .2, 1); }
.nb-relaycol__line path.b { stroke: #f2b9a4; stroke-width: 4; transition-delay: .4s; }
.nb-relaycol__line.on path { stroke-dashoffset: 0; }
.nb-relaycol .f { position: absolute; margin: 0; z-index: 1; }
.nb-relaycol .f .ph { border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.nb-relaycol .f figcaption { position: absolute; left: -10px; bottom: -14px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .12em; padding: 7px 12px 7px 10px; border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 8px; line-height: 1; }
.nb-relaycol .f figcaption b { font-family: "Barlow", sans-serif; color: var(--red); font-size: 14px; letter-spacing: .04em; }
.nb-relaycol .f1 { left: 0; top: 5%; width: 22%; }
.nb-relaycol .f1 .ph { --ar: 4 / 5; }
.nb-relaycol .f2 { left: 27%; top: 15%; width: 21%; }
.nb-relaycol .f2 .ph { --ar: 1 / 1; }
.nb-relaycol .f3 { left: 55%; top: 0; width: 31%; }
.nb-relaycol .f3 .ph { --ar: 4 / 5; border-radius: 18px 110px 18px 18px; }
.nb-relaycol .f3 figcaption { left: auto; right: -14px; bottom: 18px; font-size: 16px; padding: 9px 14px 9px 12px; }
.nb-relaycol .f4 { left: 3%; top: 56%; width: 25%; }
.nb-relaycol .f4 .ph { --ar: 4 / 3; }
.nb-relaycol .f5 { left: 34%; top: 61%; width: 21%; }
.nb-relaycol .f5 .ph { --ar: 1 / 1; }
.nb-relaycol .f6 { left: 63%; top: 57%; width: 27%; }
.nb-relaycol .f6 .ph { --ar: 1 / 1; }
.nb-relaycol__note { position: absolute; left: 2%; bottom: 0; color: var(--red); font-size: 30px; line-height: 1; transform: rotate(-6deg); margin: 0; }


.nb-field { position: relative; padding: 0 0 7% 0; }
.nb-field__main { width: 88%; margin-left: auto; }
.nb-field__main .ph { --ar: 4 / 3; border-radius: 18px 120px 18px 18px; }
.nb-field__sub { position: absolute; left: 0; bottom: 0; width: 36%; border: 8px solid var(--paper); border-radius: 26px; background: var(--paper); }
.nb-field__sub .ph { --ar: 1 / 1; border-radius: 18px; }
.nb-field__badge { position: absolute; left: 0; top: -7%; z-index: 2; width: 116px; padding: 12px 10px 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--ink); text-align: center; }
.nb-field__ear { display: block; width: 40px !important; height: 60px !important; margin: 0 auto 6px; }
.nb-field__mark b { display: block; font-family: "Noto Serif JP", serif; font-weight: 600; font-size: 24px; letter-spacing: .12em; line-height: 1.2; color: var(--ink); padding-left: .12em; }
.nb-field__mark span { display: block; margin-top: 4px; font-family: "Barlow", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; color: var(--red); text-transform: uppercase; }
.nb-field__tag { position: absolute; right: 3%; bottom: 2%; background: var(--ink); color: #fff; border-radius: 10px; padding: 14px 20px 15px; transform: rotate(-3deg); box-shadow: 5px 5px 0 var(--red); line-height: 1.4; }
.nb-field__tag span { display: block; font-size: 13px; letter-spacing: .14em; color: #fff; }
.nb-field__tag b { display: block; font-size: 18px; letter-spacing: .12em; }
@media (prefers-reduced-motion: reduce) { .nb-relaycol__line path { transition: none; stroke-dashoffset: 0; } }

@media screen and (max-width: 896px) {
  .work .mv_under .text_wrap h3 { }
  .work .content_wrap .content_box .sec_textarea, .work .content_wrap .content_box:nth-child(even) .sec_textarea { text-align: left; width: 100%; margin-left: 0; padding-right: 0; }
  .work .content_wrap .content_box .sec_textarea .lead { margin: 22px 0 0; font-size: 14px; }
  .work .content_wrap .content_box .sec_textarea .sy_link { margin: 28px 0 0; }
  .nb-relaycol { margin-bottom: 10px; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .nb-relaycol__line { display: none; }
  .nb-relaycol .f, .nb-relaycol .f1, .nb-relaycol .f2, .nb-relaycol .f3, .nb-relaycol .f4, .nb-relaycol .f5, .nb-relaycol .f6 { position: relative; left: auto; top: auto; width: auto; }
  .nb-relaycol .f .ph, .nb-relaycol .f1 .ph, .nb-relaycol .f2 .ph, .nb-relaycol .f3 .ph, .nb-relaycol .f4 .ph, .nb-relaycol .f5 .ph, .nb-relaycol .f6 .ph { --ar: 1 / 1; border-radius: 12px; }
  .nb-relaycol .f3 .ph { border-radius: 12px 48px 12px 12px; }
  .nb-relaycol .f figcaption, .nb-relaycol .f3 figcaption { font-size: 13px; padding: 6px 10px 6px 8px; gap: 6px; left: -6px; right: auto; bottom: -12px; box-shadow: 2px 2px 0 var(--ink); border-radius: 6px; letter-spacing: .06em; }
  .nb-relaycol .f figcaption b { font-size: 13px; }
  .nb-relaycol__note { position: static; grid-column: 1 / -1; justify-self: end; margin-top: 4px; font-size: 22px; }
  .nb-field { padding-bottom: 10%; margin-top: 20px; }
  .nb-field__main .ph { border-radius: 10px 64px 10px 10px; }
  .nb-field__sub { border-width: 5px; border-radius: 16px; width: 38%; }
  .nb-field__sub .ph { border-radius: 11px; }
  .nb-field__badge { width: 86px; padding: 8px 6px 9px; top: -9%; box-shadow: 4px 4px 0 var(--ink); }
  .nb-field__ear { width: 28px !important; height: 42px !important; margin-bottom: 4px; }
  .nb-field__mark b { font-size: 18px; }
  .nb-field__mark span { font-size: 12px; letter-spacing: .02em; }
  .nb-field__tag { padding: 9px 12px 10px; right: 0; bottom: 0; box-shadow: 3px 3px 0 var(--red); }
  .nb-field__tag span { font-size: 12px; }
  .nb-field__tag b { font-size: 13px; }
}


body.saiyou.work #contents :is(p, li, h4, h5, dt, dd, figcaption, .text, .lead) { word-break: keep-all; text-wrap: pretty; }
:where(body.saiyou.work #contents) p, :where(body.saiyou.work #contents) .lead { text-align: start; }
