/* 既存CSSの後に読み込みます。社員紹介の範囲だけに適用します。 */
#interview.toa-interviews { --ti-blue: #003f98; clear: both; color: #243448; line-height: 1.8; }
#interview *, #interview *::before, #interview *::after { box-sizing: border-box; }
#interview [hidden] { display: none !important; }
#interview .ti-lead { padding: 0; margin: 16px 0 28px; }
#interview .ti-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 24px; padding: 0; margin: 0; list-style: none; }
#interview .ti-grid > li { display: flex; min-width: 0; margin: 0; padding: 0; background: none; }
#interview .ti-card { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border: 1px solid #d9e2ec; border-radius: 8px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 3px 12px #1532530d; }
#interview .ti-card:hover { border-color: var(--ti-blue); }
#interview .ti-card > img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: #eef4fb; }
#interview .ti-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
#interview .ti-dept { font-size: 14px; }
#interview .ti-name { display: block; margin: 6px 0 14px; color: var(--ti-blue); font-size: 24px; }
#interview .ti-catch { display: block; flex: 1; margin-bottom: 24px; font-weight: 700; }
#interview .ti-cta { display: flex; justify-content: space-between; gap: 8px; color: var(--ti-blue); font-weight: 700; font-size: 14px; }
#interview :is(a,button,[tabindex]):focus-visible { outline: 3px solid #bd5900; outline-offset: 4px; }
#interview button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ti-blue); border-radius: 5px; background: #fff; color: var(--ti-blue); font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
#interview button:hover { background: #eef4fb; }
#interview .ti-detail { padding: 32px 0; overflow-wrap: anywhere; scroll-margin-top: 24px; }
#interview .ti-details > .ti-detail { margin-top: 48px; border-top: 2px solid #d9e2ec; }
#interview .ti-dialog { width: min(1000px,calc(100% - 48px)); max-width: none; height: min(900px,calc(100vh - 48px)); height: min(900px,calc(100dvh - 48px)); max-height: none; padding: 0; margin: auto; border: 0; border-radius: 10px; background: #fff; color: #243448; overflow: hidden; }
#interview .ti-dialog:not([open]) { display: none; }
#interview .ti-dialog::backdrop { background: rgb(9 23 43 / 72%); }
#interview .ti-dialog-shell { height: 100%; display: flex; flex-direction: column; }
#interview .ti-toolbar { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px; border-bottom: 1px solid #d9e2ec; background: #f5f8fc; font-weight: 700; }
#interview .ti-close { flex-shrink: 0; }
#interview .ti-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; padding: 0 36px 28px; scrollbar-gutter: stable; }
#interview .recruit-profile { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
#interview .recruit-profile-text { margin-bottom: 0; min-width: 0; }
#interview .recruit-profile h3 { margin: 0 0 12px; padding: 0; border: 0; color: var(--ti-blue); font-size: 23px; line-height: 1.6; }
#interview .recruit-profile h3::first-letter { border: 0; padding: 0; }
#interview .recruit-profile h3::before, #interview .recruit-profile h3::after { content: none; }
#interview .ti-detail p { padding: 0; margin: 0 0 16px; line-height: 1.9; }
#interview .ti-detail figure { margin: 0 0 24px; }
#interview .ti-detail img { display: block; max-width: 100%; width: 100%; height: auto; border-radius: 4px; }
#interview .recruit-catch { margin: 24px 0; padding: 18px 24px; background: #f5f8fc; border-left: 6px solid var(--ti-blue); }
#interview .recruit-catch h4 { margin: 0; padding: 0; border: 0; background: none; font-size: 24px; color: var(--ti-blue); line-height: 1.6; }
#interview .recruit-story { column-count: 1; }
#interview .recruit-block { display: block; margin-bottom: 24px; width: 100%; }
#interview .recruit-block h4 { margin: 0 0 12px; padding: 8px 14px; font-size: 19px; color: var(--ti-blue); background: #eef4fb; border-left: 5px solid var(--ti-blue); }
#interview .recruit-photo-sub { display: block; max-width: 640px; margin-inline: auto; }
#interview .dayflow { margin: 24px 0 0; padding: 24px; background: #f8fafc; border: 1px solid #dfe7f1; border-radius: 6px; }
#interview .dayflow h3 { margin: 0 0 24px; color: var(--ti-blue); font-size: 22px; }
#interview .dayflow-list { list-style: none; margin: 0; padding: 0; }
#interview .dayflow-list li { display: flex; gap: 16px; padding: 0 0 14px; margin: 0; }
#interview .dayflow-list li::after { display: none; }
#interview .dayflow-time { width: 64px; flex: 0 0 64px; padding-top: 12px; color: var(--ti-blue); font-weight: 700; text-align: right; }
#interview .dayflow-body { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid #dfe7f1; background: #fff; border-radius: 6px; }
/* 時刻と文章で意味が伝わるため、アイコンフォントへの依存をなくします。 */
#interview .dayflow-icon { display: none; }
#interview .dayflow-text strong { display: block; color: var(--ti-blue); }
#interview .dayflow-text p { margin: 0; }
#interview .ti-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid #d9e2ec; }
#interview .ti-count { white-space: nowrap; }
@media (max-width: 800px) {
 #interview .ti-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
 #interview .ti-card-body { padding: 16px; }
 #interview .ti-dialog { width: calc(100% - 16px); height: calc(100vh - 16px); height: calc(100dvh - 16px); border-radius: 6px; }
 #interview .ti-toolbar { padding: 10px 14px; }
 #interview .ti-scroll { padding: 0 18px max(24px,env(safe-area-inset-bottom)); }
 #interview .recruit-profile { grid-template-columns: 1fr; gap: 12px; }
 #interview .recruit-catch { padding: 14px 16px; }
 #interview .recruit-catch h4 { font-size: 21px; }
 #interview .dayflow { padding: 16px 10px; }
 #interview .dayflow-list li { gap: 8px; }
 #interview .dayflow-time { width: 46px; flex-basis: 46px; font-size: 14px; }
 #interview .dayflow-body { padding: 10px; }
 #interview .ti-pagination button { padding: 10px; font-size: 14px; }
}
@media (max-width: 480px) {
 #interview .ti-grid { grid-template-columns: minmax(0,1fr); }
}
