/* TOP の視覚化（2026-10-14 本人「TOPに文字が多すぎる。もっと視覚で意識できるように」）。index.html だけが youth.css のあとに読む。
   文字を減らし、写真・物の図・大きな数字・短い見出しで見せる。会社色（ミント・青緑・オレンジ）と背景の英字はそのまま。
   人物の絵は使わない。図は装置・箱・画面・家・地図のピンなど物だけ。動きは表示時の出現だけで、動きを減らす設定では止める。 */

/* 冒頭のすぐ下の1行（限定正社員の採用サイト・入社時の契約・求人への入口） */
.tv-strip { background: var(--c-deeper); color: #fff; }
.tv-strip p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; width: min(var(--w-main), 100%); margin: 0 auto; padding: 12px 20px; font-size: 15px; line-height: 1.6; }
.tv-strip b { color: var(--c-main); }
.tv-strip a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tv-strip a::after { content: " →"; }

/* 章の見出し（英字の小札＋大きな見出し） */
.tv-sec { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.tv-sec--tint { background: var(--c-tint); }
.tv-head { margin-bottom: 28px; }
.tv-en { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--f-en); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--c-orange-d); }
.tv-en::before { content: ""; width: 28px; height: 3px; background: var(--c-orange); }
.tv-head h2 { margin: 0; font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; line-height: 1.25; letter-spacing: 0; color: var(--yh-ink); }
.tv-lead { margin: 12px 0 0; font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; color: var(--c-deeper); }

/* 会社が関わる3つの分野 */
.tv-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.tv-fields li { display: flex; flex-direction: column; gap: 6px; }
.tv-media { position: relative; margin: 0 0 10px; aspect-ratio: 4 / 3; border-radius: var(--yh-r); overflow: hidden; background: #e9eef0; }
.tv-media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 40%); transition: transform 0.6s var(--ease); }
.tv-fields li:hover .tv-media img { transform: scale(1.03); }
.tv-fields h3 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; color: var(--yh-ink); line-height: 1.2; }
.tv-fields h3 .tv-en { order: 2; margin: 0; font-size: 12px; letter-spacing: 0.16em; color: var(--c-deep); }
.tv-fields h3 .tv-en::before { display: none; }
.tv-fields p { margin: 0; font-size: 15.5px; line-height: 1.7; }
.tv-fields a { font-weight: 700; }
.tv-fields a::after { content: " →"; }
.tv-fields .tv-sub { align-self: flex-start; margin-top: 4px; padding: 3px 12px; border: 1px solid var(--yh-line); border-radius: 999px; font-size: 13.5px; color: var(--c-deeper); text-decoration: none; background: #fff; }
.tv-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 26px 0 0; padding: 14px 18px; border-left: 4px solid var(--c-orange); border-radius: 0 10px 10px 0; background: var(--c-tint); font-size: 15px; line-height: 1.7; }
.tv-note b { color: var(--yh-ink); }
.tv-note a { font-weight: 700; white-space: nowrap; }

/* 学び：大きな写真＋3段の図 */
.tv-learn { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.tv-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tv-steps li { position: relative; display: grid; justify-items: start; gap: 4px; padding: 16px 14px 18px; border-radius: var(--yh-r); background: #fff; border: 1px solid var(--yh-line); }
.tv-steps li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 38px; z-index: 1; width: 10px; height: 10px; border-top: 3px solid var(--c-orange); border-right: 3px solid var(--c-orange); transform: rotate(45deg); }
.tv-steps svg { width: 48px; height: 48px; }
.tv-steps b { font-size: 19px; font-weight: 800; color: var(--yh-ink); }
.tv-steps span { font-size: 14px; line-height: 1.6; color: var(--c-ink2); }
.tv-small { margin: 14px 0 0; font-size: 14px; color: var(--c-ink2); }
.tv-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.tv-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border: 1px solid var(--c-main); border-radius: 10px; background: #fff; font-weight: 700; color: var(--c-deep); text-decoration: none; }
.tv-links a::after { content: " →"; margin-left: 4px; }

/* 働き方・待遇：流れの図と4つの項目 */
.tv-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 22px; padding: 0; list-style: none; }
.tv-flow li { position: relative; display: grid; gap: 4px; padding: 20px 26px 20px 22px; background: var(--c-tint); }
.tv-flow li:first-child { border-radius: var(--yh-r) 0 0 var(--yh-r); }
.tv-flow li:last-child { border-radius: 0 var(--yh-r) var(--yh-r) 0; background: var(--c-deeper); color: #fff; }
.tv-flow li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; z-index: 1; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--c-orange); }
.tv-flow li:not(:last-child)::before { content: ""; position: absolute; right: -5px; top: 50%; z-index: 2; width: 7px; height: 7px; margin-top: -4px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); }
.tv-big { font-family: var(--f-num); font-size: clamp(40px, 4.6vw, 60px); font-weight: 700; line-height: 1; color: var(--c-deeper); }
.tv-big small { margin-left: 2px; font-family: var(--f-jp, inherit); font-size: 0.4em; font-weight: 800; }
.tv-big--ja { font-family: inherit; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; }
.tv-flow li:last-child .tv-big { color: var(--c-main); }
.tv-flow b { font-size: 17px; }
.tv-flow span:not(.tv-big) { font-size: 14px; line-height: 1.6; }
.tv-flow li:not(:last-child) span:not(.tv-big) { color: var(--c-ink2); }
.tv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--yh-ink); }
.tv-facts li { display: grid; align-content: start; gap: 6px; padding: 18px 18px 20px; border-right: 1px solid var(--yh-line); border-bottom: 1px solid var(--yh-line); background: #fff; }
.tv-facts li:last-child { border-right: 0; }
.tv-facts svg { width: 46px; height: 46px; }
.tv-facts .tv-big { font-size: clamp(36px, 3.6vw, 46px); }
.tv-facts b { font-size: 17px; font-weight: 800; color: var(--yh-ink); }
.tv-facts span:not(.tv-big) { font-size: 14px; line-height: 1.6; color: var(--c-ink2); }
.tv-facts a { font-weight: 700; font-size: 14.5px; }
.tv-facts a::after { content: " →"; }

/* Mission：写真と大きな言葉 */
.tv-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--c-deeper); color: #fff; }
.tv-mission__photo { position: relative; margin: 0; min-height: 360px; }
.tv-mission__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 35%; }
.tv-mission__text { display: grid; align-content: center; justify-items: start; gap: 10px; padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 72px); }
.tv-mission .tv-en { color: var(--c-main); }
.tv-mission__h { margin: 0; font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; line-height: 1.1; letter-spacing: 0; color: #fff; word-break: keep-all; }
.tv-mission__v { margin: 0 0 8px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; line-height: 1.7; color: #d6f1f1; }
.tv-mission .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.tv-mission .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* いま応募できる求人（1件） */
.tv-job { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); border: 1px solid var(--yh-line); border-radius: var(--yh-r); overflow: hidden; background: #fff; }
.tv-job__media { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; margin: 0; padding: 24px; background: radial-gradient(circle at 80% 20%, rgba(120, 205, 207, 0.45) 0 22%, transparent 23%), var(--c-deeper); color: #fff; }
.tv-job__media svg { width: min(100%, 320px); height: auto; }
.tv-job__media span { font-weight: 800; font-size: 18px; letter-spacing: 0.04em; }
.tv-job__body { display: grid; align-content: start; gap: 8px; padding: 24px 26px 26px; }
.tv-job__area { margin: 0; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; line-height: 1.2; color: var(--yh-ink); }
.tv-job__area small { font-size: 0.5em; }
.tv-job__what { margin: 0; font-size: 18px; font-weight: 700; }
.tv-job__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 0; }
.tv-job__facts div { padding: 10px 12px; border-radius: 10px; background: var(--c-tint); }
.tv-job__facts dt { font-size: 12.5px; font-weight: 700; color: var(--c-deeper); }
.tv-job__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.tv-job__note { margin: 4px 0 0; font-size: 14px; color: var(--c-ink2); }
.tv-job__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.tv-other { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 0; font-size: 15px; }
.tv-faq { margin: 18px 0 0; text-align: center; }
.tv-faq a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 表示時の出現（図へ視線を導く）。動きを減らす設定では止める */
.js [data-reveal] .tv-fields > li, .js [data-reveal].tv-fields > li, .js [data-reveal].tv-flow > li, .js [data-reveal] .tv-steps > li { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--n, 0) * 140ms + 100ms); }
.js [data-reveal].is-in.tv-fields > li, .js [data-reveal].is-in.tv-flow > li, .js [data-reveal].is-in .tv-steps > li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal].tv-fields > li, .js [data-reveal].tv-flow > li, .js [data-reveal] .tv-steps > li { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tv-media img { transition: none; }
  .tv-fields li:hover .tv-media img { transform: none; }
}

/* 画面幅 */
@media (max-width: 1100px) {
  .tv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-facts li:nth-child(2) { border-right: 0; }
}
@media (max-width: 960px) {
  .tv-learn { grid-template-columns: 1fr; }
  .tv-mission { grid-template-columns: 1fr; }
  .tv-mission__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .tv-job { grid-template-columns: 1fr; }
  .tv-job__media { padding: 18px; }
  .tv-job__media svg { width: min(70%, 260px); }
}
@media (max-width: 760px) {
  .tv-strip p { justify-content: flex-start; font-size: 14px; }
  .tv-fields { grid-template-columns: 1fr; gap: 30px; }
  .tv-steps { grid-template-columns: 1fr; gap: 10px; }
  .tv-steps li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .tv-steps svg { grid-row: 1 / 3; }
  .tv-steps li:not(:last-child)::after { right: auto; left: 30px; top: auto; bottom: -9px; transform: rotate(135deg); }
  .tv-flow { grid-template-columns: 1fr; }
  .tv-flow li { padding: 16px 18px 22px; }
  .tv-flow li:first-child { border-radius: var(--yh-r) var(--yh-r) 0 0; }
  .tv-flow li:last-child { border-radius: 0 0 var(--yh-r) var(--yh-r); padding-top: 22px; }
  .tv-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -14px; margin: 0 0 0 -14px; }
  .tv-flow li:not(:last-child)::before { right: auto; left: 50%; top: auto; bottom: -5px; margin: 0 0 0 -4px; transform: rotate(135deg); }
  .tv-facts { grid-template-columns: 1fr; }
  .tv-facts li { border-right: 0; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .tv-facts li > svg, .tv-facts li > .tv-big { grid-row: 1 / 4; }
  .tv-facts li > :not(svg):not(.tv-big) { grid-column: 2; }
  .tv-facts .tv-big { font-size: 30px; }
  .tv-job__facts { grid-template-columns: 1fr; }
  .tv-job__acts .btn { width: 100%; }
  .tv-job__acts .apply-slot { width: 100%; }
}

/* 求人カードの写真（2026-10-14 装置の図から写真へ） */
.tv-job__media--photo { display: block; min-height: 300px; padding: 0; background: #e9eef0; }
.tv-job__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 40%); }
@media (max-width: 960px) {
  .tv-job__media--photo { min-height: 0; aspect-ratio: 3 / 2; padding: 0; }
}

/* 動画の場面の札（13場面・2026-10-14）。長い札は2行までで折り返す。スマホでは止めるボタンの下の段に横いっぱいで置き、ボタンと重ねない */
.v7-scene__t { word-break: auto-phrase; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .v7-scene { top: calc(var(--h-header) + 58px); left: 12px; right: 12px; max-width: none; align-items: flex-start; }
  .v7-scene__no { padding-top: 1px; }
  .v7-scene__t { font-size: 13px; line-height: 1.45; }
}

/* 入社の流れの2つ目（2026-10-14 本人「審査が硬い」）。言葉の見出しは数字より一回り小さく、2まとまりで折り返す */
.tv-big--step { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; }
/* 見出しの2まとまり（yh-chunk の span）が、上の「.tv-flow span:not(.tv-big)」（14px・灰色）に負けていたので、見出しの大きさ・太さ・行間・色を受け継がせる */
.tv-flow li .tv-big.tv-big--step > span:not(.tv-big) { font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; }
