.farewell-page{margin:0;background:#fffefa;color:#253b50;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;line-height:1.8;overflow-x:clip}
.farewell-header{max-width:940px;margin:auto;padding:28px 28px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.farewell-brand{display:flex;align-items:center;padding:16px 0;flex-shrink:1;min-width:0}
.farewell-brand img{display:block;width:min(230px,100%);height:auto}
.farewell-old-link{flex-shrink:0;padding:9px 16px;border:1px solid #cddce7;border-radius:999px;background:white;font-size:14px;font-weight:600;color:#34658c;text-decoration:none;white-space:nowrap}
.farewell-main{max-width:820px;margin:auto;padding:0 28px}
.farewell-hero{text-align:center;padding:48px 0 38px}
.farewell-period{margin:0 0 22px;color:#788ea0;font-size:13px;letter-spacing:.12em}
.farewell-hero h1{margin:0;color:#286dad;font-size:clamp(40px,7.2vw,70px);font-weight:900;letter-spacing:-.05em;line-height:1.35;word-break:keep-all;overflow-wrap:normal}
.farewell-hero h1 span{display:inline-block}
.farewell-closed{margin:24px auto 0;max-width:36em;font-size:16px;line-height:1.9;color:#61788b}
.farewell-closed span{display:inline-block}
.farewell-letter{max-width:620px;margin:0 auto 48px;font-size:17px;line-height:2.05;color:#536b7f}
.farewell-letter p+p{margin-top:22px}
.farewell-wish{color:#34658c}
.farewell-signature{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:30px;text-align:left}
.farewell-signature img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:0 0 64px}
.farewell-signature>span{display:flex;flex-direction:column;line-height:1.7}
.farewell-signature strong{font-size:17px;color:#253b50}
.farewell-signature small{font-size:12px;color:#728596}
.farewell-signature>span>span{font-size:13px;color:#728596}
.farewell-thanks{margin:26px 0 0;text-align:center;font-size:clamp(16px,2.4vw,19px);line-height:2;color:#536b7f}
.farewell-thanks span{display:inline-block}
.farewell-stats{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:12px;padding:26px 0 32px;margin-bottom:48px;border-top:1px solid #e2e8e9;border-bottom:1px solid #e2e8e9;text-align:center}
.farewell-stats strong{display:block;color:#286dad;font-size:clamp(28px,5vw,44px);font-weight:750;font-variant-numeric:tabular-nums;line-height:1.35;letter-spacing:-.04em}
.farewell-stats span{font-size:13px;white-space:nowrap;color:#61788b}
.farewell-history{max-width:640px;margin:auto}
.farewell-history h2{font-size:21px;color:#3d576d;margin:0 0 32px;font-weight:700;letter-spacing:.06em}
.farewell-timeline{list-style:none;padding:0;margin:0}
.farewell-timeline li{position:relative;display:grid;grid-template-columns:105px minmax(0,1fr);gap:28px;padding:0 0 38px}
.farewell-timeline li:before{content:"";position:absolute;left:118px;top:13px;bottom:-13px;width:1px;background:#d8e3e9}
.farewell-timeline li:after{content:"";position:absolute;left:114px;top:9px;width:9px;height:9px;border-radius:50%;background:#8eb9d9;box-shadow:0 0 0 5px #fffefa}
.farewell-timeline li:last-child:before{display:none}
.farewell-timeline time{font-size:17px;font-weight:650;font-variant-numeric:tabular-nums;color:#34658c;white-space:nowrap}
.farewell-timeline time span{font-size:11px;font-weight:500;margin-left:6px;color:#7c90a0}
.farewell-timeline p{margin:0;font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.farewell-timeline a{color:#286dad;text-underline-offset:4px;font-size:13px}
.farewell-first-stream{margin:18px 0 0;max-width:310px;border:1px solid #d9e3e9;border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #284b7010;background:white}
.farewell-first-stream img{display:block;width:100%;height:auto}
.farewell-return p{font-size:22px;font-weight:800;color:#286dad}
.farewell-return:after{background:#edb85e!important}
.farewell-footer{margin:28px 0 0;padding:36px 0 56px;border-top:1px solid #e2e8e9;text-align:center}
.farewell-footer img{max-width:144px;height:auto}
.farewell-footer p{font-size:14px;color:#728596;margin:16px auto;max-width:29em}
.farewell-footer>a:last-child{font-size:14px;color:#34658c;text-underline-offset:4px}
.retired-top-note{max-width:820px;margin:12px auto 0;padding:10px 18px;background:#edf5fc;color:#34658c;text-align:center;font-size:14px;border-radius:8px}
.retired-top-note a{color:inherit;text-underline-offset:3px}
@media(max-width:520px){.farewell-header{padding:16px 20px;gap:18px}.farewell-brand img{width:166px}.farewell-old-link{font-size:12px;padding:8px 12px}.farewell-main{padding:0 22px}.farewell-hero{padding:36px 0 30px}.farewell-hero h1{font-size:clamp(35px,10vw,50px)}.farewell-thanks{font-size:16px}.farewell-stats{gap:5px;margin-bottom:36px}.farewell-stats span{font-size:11px}.farewell-timeline li{grid-template-columns:80px minmax(0,1fr);gap:24px;padding-bottom:30px}.farewell-timeline li:before{left:91px}.farewell-timeline li:after{left:87px}.farewell-timeline time{font-size:15px}.farewell-timeline time span{margin-left:4px}.farewell-timeline p{font-size:15px}.farewell-return p{font-size:21px}.farewell-timeline a{font-size:12px}.farewell-first-stream{border-radius:8px}.farewell-history h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.farewell-page *{scroll-behavior:auto!important}}
