/* ==========================================================
   セカンドキャリアを構築する — night to dawn, light & airy type
   ========================================================== */
.page-next {
  --night: #0E1530; --night-2: #18224A; --dawn: #F29D52; --dawn-2: #F6C17A; --sky: #9FB4E0;
  --text: rgba(255,255,255,.92); --text-soft: rgba(255,255,255,.7); --hair: rgba(255,255,255,.18);
  background: var(--night); color: var(--text);
}
.page-next .site-header { color: #fff; }
.page-next .site-header.is-scrolled { background: rgba(14,21,48,.82); box-shadow: 0 1px 0 var(--hair); }
.page-next .brand { color: #fff; }
.page-next .gnav a::after { background: var(--dawn); }
.page-next .btn-brand { background: var(--dawn); color: var(--night); box-shadow: 0 10px 30px -14px rgba(242,157,82,.8); }
.page-next .btn-brand::after { background: #fff; }
.page-next .btn-brand:hover { color: var(--night); }
.page-next .menu-toggle { background: #fff; }
.page-next .menu-toggle span { background: var(--night); }
.page-next .site-footer { background: #080D20; }

.nx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.nx-kicker, .nx-label { font-family: var(--font-en); font-weight: 300; font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: var(--dawn-2); margin-bottom: 24px; }
.nx-h2, .nx-title { font-weight: 300; letter-spacing: .06em; font-feature-settings: "palt" 1; }
.page-next h2, .page-next h1, .page-next h3 { font-family: var(--font-jp); }
.nx-h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.45; color: #fff; font-weight: 300 !important; }
.nx-h2 .nb, .nx-title .nb { display: block; white-space: nowrap; }
.nx-prose { margin-top: 36px; max-width: 38em; }
.nx-prose p { color: var(--text); }
.nx-prose p + p { margin-top: 1.2em; }
.nx-prose strong { color: var(--dawn-2); font-weight: 700; }

/* Hero */
.nx-hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.nx-hero-media { position: absolute; inset: -10% 0; }
.nx-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.nx-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,21,48,.75) 0%, rgba(14,21,48,.35) 45%, rgba(14,21,48,.85) 100%); }
.nx-hero-inner { position: relative; padding: calc(var(--header-h) + 40px) var(--gutter) 100px; max-width: 980px; }
.nx-voices { display: grid; gap: 6px; margin-bottom: 36px; }
.nx-voices li { font-weight: 300; font-size: clamp(1rem, 1.8vw, 1.3rem); letter-spacing: .12em; color: var(--text-soft); opacity: 0; animation: nxUp 1.4s var(--ease) forwards; }
.nx-voices li:nth-child(2) { animation-delay: .5s; }
.nx-title { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1.3; color: #fff; font-weight: 300 !important; opacity: 0; animation: nxUp 1.6s var(--ease) 1s forwards; }
.nx-lead { margin-top: 28px; font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: .1em; color: var(--dawn-2); opacity: 0; animation: nxUp 1.4s var(--ease) 1.5s forwards; }
.nx-hero .nx-btn { margin-top: 40px; opacity: 0; animation: nxUp 1.4s var(--ease) 1.8s forwards; }
@keyframes nxUp { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.nx-btn { background: linear-gradient(90deg, var(--dawn), var(--dawn-2)); color: var(--night); font-weight: 700; }
.nx-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(242,157,82,.9); }
.nx-btn-line { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.nx-btn-line:hover { background: #fff; color: var(--night); }

/* Time axis */
.nx-time { padding: clamp(110px, 14vw, 190px) 0; background: linear-gradient(180deg, var(--night), var(--night-2)); }
.nx-axis { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.nx-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.15), var(--dawn)); }
.nx-axis li { position: relative; padding-top: 44px; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: .1em; color: #fff; }
.nx-axis li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--night); border: 1px solid rgba(255,255,255,.5); }
.nx-axis li span { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 6px; }
.nx-axis li small { display: block; font-size: 13px; letter-spacing: .04em; color: var(--text-soft); margin-top: 6px; }
.nx-axis .past { opacity: .4; text-decoration: line-through; text-decoration-thickness: 1px; }
.nx-axis .future { color: var(--dawn-2); }
.nx-axis .future::before { background: var(--dawn); border-color: var(--dawn); box-shadow: 0 0 0 8px rgba(242,157,82,.18), 0 0 30px rgba(242,157,82,.8); }
.nx-axis .future small { color: var(--dawn-2); }

/* Timeline */
.nx-line { padding: clamp(110px, 14vw, 190px) 0; background: var(--night-2); }
.nx-timeline { margin: 56px 0 8px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--hair); border-radius: 24px; background: rgba(255,255,255,.03); }
.nx-age-input { display: grid; grid-template-columns: auto auto 1fr; gap: 18px; align-items: center; }
.nx-age-input label { font-size: 14px; letter-spacing: .1em; color: var(--text-soft); }
.nx-age-input output { font-family: var(--font-en); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; min-width: 3.4em; }
.nx-age-input input { width: 100%; accent-color: var(--dawn); }
.nx-bar { position: relative; margin: 48px 0 56px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.12); }
.nx-bar-prep { position: absolute; left: 36.8%; width: 19.1%; top: 0; bottom: 0; background: linear-gradient(90deg, var(--sky), var(--dawn)); border-radius: 10px 0 0 10px; opacity: .85; }
.nx-bar-after { position: absolute; left: 55.9%; right: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--dawn), var(--dawn-2)); border-radius: 0 10px 10px 0; }
.nx-bar-now { --now: 26%; position: absolute; z-index: 2; left: var(--now); top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 0 24px rgba(255,255,255,.6); transition: left .25s var(--ease); }
.nx-tick { position: absolute; left: var(--at); top: 22px; transform: translateX(-50%); font-family: var(--font-en); font-size: 13px; color: var(--text-soft); }
.nx-tick-prep { color: var(--sky); }
.nx-tick-ret { color: var(--dawn-2); font-weight: 600; }
.nx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; }
.nx-stats > div { background: var(--night-2); padding: 20px 22px; }
.nx-stats dt { font-size: 13px; color: var(--text-soft); letter-spacing: .04em; }
.nx-stats dd { margin: 6px 0 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; color: #fff; letter-spacing: .06em; }
.nx-stats > div:last-child dd { color: var(--dawn-2); }
.nx-tl-note { margin-top: 14px; font-size: 12px; color: var(--text-soft); }
@media (max-width: 720px) { .nx-stats { grid-template-columns: 1fr; } .nx-age-input { grid-template-columns: auto 1fr; } .nx-age-input input { grid-column: 1 / -1; } }

/* Declines */
.nx-change { padding: clamp(110px, 14vw, 190px) 0; background: linear-gradient(180deg, var(--night-2), #2B2F5C); }
.nx-cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.nx-card { padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--hair); background: rgba(255,255,255,.04); backdrop-filter: blur(4px); }
.nx-card:nth-child(2) { --d: .12s; } .nx-card:nth-child(3) { --d: .24s; }
.nx-card-no { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-soft); }
.nx-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: .06em; color: #fff; margin: 12px 0 16px; }
.nx-card h3 small { display: block; font-size: .6em; color: var(--dawn-2); margin-top: 4px; letter-spacing: .1em; }
.nx-card p:not(.nx-card-no) { font-size: 14px; line-height: 1.95; color: var(--text); }
.nx-card p + p { margin-top: 1em; }
.nx-card-key { border-color: rgba(242,157,82,.6); background: linear-gradient(160deg, rgba(242,157,82,.16), rgba(255,255,255,.03)); }
@media (max-width: 960px) { .nx-cards { grid-template-columns: 1fr; } }

/* Maybe */
.nx-maybe { padding: clamp(110px, 14vw, 190px) 0; background: linear-gradient(180deg, #2B2F5C, #5A4469 55%, #B9746A); }
.nx-maybe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }
.nx-maybe .nx-prose { margin-top: 0; }
@media (max-width: 900px) { .nx-maybe-grid { grid-template-columns: 1fr; } .nx-maybe .nx-prose { margin-top: 12px; } }

/* Proposal (dawn) */
.nx-proposal { padding: clamp(110px, 14vw, 190px) 0; background: linear-gradient(180deg, #B9746A 0%, #F2B37A 30%, #FBE7CF 70%, #FFF8EE 100%); color: #2A2340; }
.nx-proposal .nx-label { color: #fff; }
.nx-proposal .nx-h2 { color: #fff; text-shadow: 0 2px 30px rgba(120,60,40,.25); }
.nx-prop-lead { margin-top: 28px; max-width: 34em; color: #fff; font-weight: 500; }
.nx-props { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nx-prop { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(80,40,30,.5); padding-bottom: 28px; }
.nx-prop:nth-child(2) { --d: .12s; } .nx-prop:nth-child(3) { --d: .24s; }
.nx-prop figure { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 22px; }
.nx-prop img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.nx-prop:hover img { transform: scale(1.05); }
.nx-prop-no { padding: 0 26px; font-family: var(--font-en); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--dawn); }
.nx-prop h3 { padding: 0 26px; margin-top: 10px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: .06em; color: #2A2340; }
.nx-prop-time figure { display: grid; place-items: center; background: linear-gradient(160deg, var(--night), #3B3F78); }
.nx-clock { position: relative; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); }
.nx-clock i { position: absolute; left: 50%; bottom: 50%; width: 2px; background: var(--dawn-2); transform-origin: bottom center; border-radius: 2px; }
.nx-clock i:first-child { height: 34px; margin-left: -1px; animation: spinH 12s linear infinite; }
.nx-clock i:last-child { height: 48px; margin-left: -1px; background: #fff; animation: spinH 3s linear infinite; }
@keyframes spinH { to { transform: rotate(360deg); } }
.nx-prop-foot { margin-top: 48px; text-align: center; font-weight: 700; color: #2A2340; }
.nx-proposal .nx-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.nx-proposal .nx-btn { background: #2A2340; color: #fff; }
.nx-proposal .nx-btn-line { border-color: #2A2340; color: #2A2340; }
.nx-proposal .nx-btn-line:hover { background: #2A2340; color: #fff; }
.nx-next { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(42,35,64,.2); }
.nx-next a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 56px 26px 0; text-decoration: none; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: .06em; color: #2A2340; border-bottom: 1px solid rgba(42,35,64,.2); }
.nx-next a + a { padding-left: 24px; border-left: 1px solid rgba(42,35,64,.2); }
.nx-next a span { font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #B9746A; }
.nx-next a b { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.nx-next a:hover { color: #B9746A; }
@media (max-width: 900px) { .nx-props { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .nx-next { grid-template-columns: 1fr; } .nx-next a + a { padding-left: 0; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .nx-voices li, .nx-title, .nx-lead, .nx-hero .nx-btn { opacity: 1; animation: none; } .nx-clock i { animation: none; } }
/* "あなたは、違うのかもしれない。": heading column fits its text; the prose moves right */
@media (min-width: 901px) { .nx-maybe-grid { grid-template-columns: max-content minmax(0, 1fr); } }
