/* Reviewed source appearance plus native, project-owned form compatibility. */
.tn-surface [hidden] { display:none !important; }
.tn-form, .tn-form * { box-sizing:border-box; }
.tn-surface .tn-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; }
.tn-form input, .tn-form select, .tn-form textarea { max-width:100%; min-width:0; }
.tn-form legend { float:none; width:auto; font-size:1.1rem; font-weight:700; margin:15px 0 5px; }
.tn-form :is(input,select,textarea,button,a,summary):focus-visible { outline:3px solid #0a326b; outline-offset:3px; }
.tn-form [aria-invalid=true] { outline:2px solid #990000; outline-offset:2px; }
.tn-form .tn-preview-note, .tn-form .tn-status:not(:empty), .tn-form .tn-errors { padding:14px 18px; margin:0 0 25px; border:1px solid #607291; border-radius:5px; background:#fff; line-height:1.6; }
.tn-form .tn-errors { border-color:#990000; color:#990000; }
.tn-form .tn-errors a { color:#990000; text-decoration:underline; }
.tn-form .tn-errors ul { margin-bottom:0; }
.tn-form .tn-help { font-size:.9rem; line-height:1.5; }
.tn-surface #tabslist a:focus-visible { outline:3px solid #0a326b; outline-offset:3px; }
.tn-surface #tabslist a:hover { box-shadow:inset 0 0 0 2px #0a326b; }
#tyonhaku-form .tn-birth { display:flex; flex-wrap:wrap; gap:8px; }
#tyonhaku-form .tn-birth .gap { width:70px; margin:0; }
#tyonhaku-form .tn-birth .gap:last-child { width:100px; }
#tyonhaku-form .tn-birth input { width:100%; text-align:center; padding:10px !important; }
#tyonhaku-form .tn-birth label { font-size:.85rem; }
#tyonhaku-form .tn-choice { display:inline-block; margin-right:20px; }
#tyonhaku-form .tn-choice-group input { width:auto; }
#tyonhaku-form .tn-choice label { margin-left:6px; }
#tyonhaku-form #missa-haluat-tyoskennella .tn-city { display:flex; align-items:baseline; gap:8px; padding-right:8px; }
#tyonhaku-form #missa-haluat-tyoskennella .tn-city input { flex:none; }
#tyonhaku-form #missa-haluat-tyoskennella .tn-city label { overflow-wrap:anywhere; }
#tyonhaku-form #missa-haluat-tyoskennella .letter h3 { font-size:1.5rem; font-weight:700; color:#ff9089; }
#tyonhaku-form .tn-city-count { margin-top:12px; font-size:.9rem; }
#tyonhaku-form .tn-multiselect { margin-top:25px; border:1px solid #607291; border-radius:5px; padding:12px; }
#tyonhaku-form .tn-multiselect summary { cursor:pointer; font-weight:700; }
#tyonhaku-form .tn-multiselect fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 15px; margin-top:10px; }
#tyonhaku-form .tn-multiselect .tn-choice { display:flex; align-items:baseline; gap:6px; margin:0; }
#tyonhaku-form .tn-multiselect input { flex:none; }
#tyonhaku-form .tn-multiselect label { font-size:1rem; font-weight:400; }
#tyonhaku-form form .tn-counter-label { font-size:.85rem; margin-right:10px; font-weight:400; }
#tyonhaku-form form .counter { width:90px; padding:8px !important; text-align:center; }
#tyonhaku-form form .tn-pagination { gap:12px; }
#tyonhaku-form form .tn-pagination button { margin:0; line-height:1.5; white-space:normal; }
#tyonhaku-form form .tn-pagination .tn-submit { border-radius:30px; padding:10px 40px; }
#tyonhaku-form form .tn-pagination button:disabled { cursor:default; opacity:.65; }
#tyonhaku-form #tabslist a { display:inline-block; padding:15px 25px; line-height:1.6; }
.testbox .tn-service .colums > .tn-preview-note { width:100%; }
.testbox .tn-service .questions { display:flex; flex-wrap:wrap; }
.testbox .tn-service .questions .question { width:50%; padding-right:15px; }
.testbox .tn-service fieldset { border:0; margin:0; padding:0; }
.testbox .tn-service legend { font-size:16px; line-height:1.6; font-weight:700; }
.testbox .tn-service .tn-choice { display:block; }
.testbox .tn-service input[type=radio] { display:block; position:absolute; opacity:0; width:1px; height:1px; padding:0; margin:0; }
.testbox .tn-service input[type=radio]:focus-visible + label { outline:3px solid #0a326b; outline-offset:4px; }
.testbox .tn-service label.radio { margin:5px 20px 12px 0; }
.testbox .tn-service .question span { margin-left:0; }
.testbox .tn-service .question label.radio span { margin-left:30px; }
.testbox .tn-service .counter { width:70px; text-align:center; }
.testbox .tn-service .tn-counter-label { font-size:.85rem; font-weight:400; margin-right:10px; }
.testbox .tn-service textarea { width:100%; font-family:"Work Sans",sans-serif; }
.testbox .tn-service .tn-status, .testbox .tn-service .tn-errors { margin-bottom:20px; }
.testbox .tn-service .tn-submit:disabled { opacity:.65; cursor:default; }
.tn-document-page { margin:0 auto 30px; max-width:100%; }
.tn-document-page img { width:100%; height:auto; border:1px solid #ddd; }
.tn-document-text { white-space:pre-wrap; overflow-wrap:anywhere; font-family:inherit; font-size:.95rem; line-height:1.6; }
@media (max-width:640px) {
  #tyonhaku-form .tn-multiselect fieldset { grid-template-columns:1fr; }
  #tyonhaku-form form .headline h2 { font-size:1.75rem; overflow-wrap:anywhere; }
  #tyonhaku-form form .tn-pagination button { width:100%; padding:10px 18px; }
  #tyonhaku-form form .right .gap, #tyonhaku-form form .left .gap { margin-left:0; margin-right:0; }
  #tyonhaku-form form #agreement .checkbox { flex:none; width:25px; }
  #tyonhaku-form form #agreement .description { width:calc(100% - 25px); }
  .testbox .tn-service .questions .question { width:100%; padding:0; }
}

.tn-document.content--section { padding-top:130px; }
.tn-document h1, .tn-document h2 { color:#0a326b !important; }
