It took Marta a week to accustom herself to the night shift.
マルタが夜勤に慣れるまで1週間かかりました。
/ʌkˈʌstʌm/アカスタム
人や自分を新しい状況に慣らす。accustom oneself toで定着。
It took Marta a week to accustom herself to the night shift.
マルタが夜勤に慣れるまで1週間かかりました。

accustomは、人や自分を新しい状況・習慣に「慣らす」という動詞です。反復や時間を通じ、その状況を普通に感じられるようにすることを表します。
動詞として「人や自分を新しい状況に慣らす」の意味で使います。accustom oneself to、become accustomed to、gradually accustomが自然な組み合わせです。
toは前置詞なので、後ろに動作を置く場合は動名詞にします。be accustomed toの形が特に一般的です。
accustom oneself to + 名詞・動名詞、またはbecome/be accustomed toの形が一般的です。toの後ろに動詞を置く場合は-ing形にします。
基本例文に加えて、用途の異なる3つの場面で使い方を確認します。
It took Marta a week to accustom herself to the night shift.
マルタが夜勤に慣れるまで1週間かかりました。
Nina gradually accustomed herself to conducting meetings in English.
ニナは英語で会議を進めることに徐々に慣れました。
Short practice sessions accustom trainees to the controls before live operation.
短い練習で研修生を本番前に操作装置へ慣らします。
Employees soon became accustomed to the earlier train schedule.
従業員はほどなく早まった電車時刻に慣れました。